发明名称 |
Methods and apparatus for realizing short URL service |
摘要 |
Methods and apparatus for realizing a short URL service are provided. According to a long URL, a short URL and long URL information are generated and stored. The long URL information contains the long URL and an information ID, and the information ID corresponds to the short URL via a pre-set corresponding mechanism to provide a corresponding relationship there-between. When a target long URL is acquired based on the short URL, the long URL in the long URL information is obtained as the target long URL according to the corresponding relationship between the short URL and the information ID. The target long URL obtained according to the short URL is updated by updating the long URL in the long URL information. |
申请公布号 |
US9544355(B2) |
申请公布日期 |
2017.01.10 |
申请号 |
US201615142939 |
申请日期 |
2016.04.29 |
申请人 |
TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED |
发明人 |
Cai Xiaopeng;Hu Wu;Lin Jiewen;Zhu Xiongfeng;Ouyang Qunming |
分类号 |
G06F15/173;H04L29/08 |
主分类号 |
G06F15/173 |
代理机构 |
Morgan, Lewis & Bockius LLP |
代理人 |
Morgan, Lewis & Bockius LLP |
主权项 |
1. A method for realizing a short URL service, comprising:
generating and storing a short URL and long URL information from a long URL, wherein the long URL information contains the long URL and an information ID, and the information ID corresponds to the short URL via a pre-set corresponding mechanism to provide a corresponding relationship there-between; when a target long URL is acquired based on the short URL, obtaining the long URL in the long URL information as the target long URL according to the corresponding relationship between the short URL and the information ID; and updating the target long URL obtained according to the short URL by updating the long URL in the long URL information. |
地址 |
Shenzhen, Guangdong Province CN |