Data analysis method and management method of short link information, and electronic device

By numbering user identification information and generating short code values, the problem of compressing the number of characters of user identification information in short links is solved, reducing the cost of sending and reducing the risk of user information leakage.

CN115914408BActive Publication Date: 2025-04-25ALIBABA HEALTH TECH (CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211384724.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-07
Publication Date
2025-04-25
Estimated Expiration
2042-11-07

AI Technical Summary

Technical Problem

The prior art is difficult to effectively compress the number of characters of user identification information in short links, while avoiding increasing consumption of link addresses, resulting in high transmission costs and risk of user information leakage.

Method used

By numbering the user's identification information, obtaining the short code value according to the compressed number, and combining the short link conversion rules, short link information with short-number of characters is generated, thereby reducing the transmission cost and reducing the risk of user information leakage.

Benefits of technology

It realizes that while ensuring that the short link information can be associated with user information, the short link information has a short number of characters, reduces the transmission cost, and reduces the risk of user information leakage through de-identification processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115914408B_ABST
    Figure CN115914408B_ABST
Patent Text Reader

Abstract

The present specification provides a data analysis method and management method of short link information, and an electronic device, the data analysis method comprising: receiving a user's access request for short link information, the access request comprising short link information, the short link information being composed of a short link and a short code value; obtaining a link conversion rule, and converting the short link into a long link based on the link conversion rule; obtaining a mapping relationship between the user's identification information and the short code value, converting the short code value into a number based on the mapping relationship, and converting the number into the user's identification information, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits. This method can make the number of characters in the identification information of at least some users greater than the number of digits of the corresponding number, and after compressing the characters based on the number to obtain a short code value, and splicing the short code value to the link, the user information can be associated with the link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a data analysis method and management method for short link information, and an electronic device. Background Art

[0002] With the development of e-commerce, product promotion can be carried out by using links set for products. In addition, based on the needs of statistical user feedback to screen high-quality users, it is necessary to add tags to the links to identify user information.

[0003] Based on the cost of sending link text messages and other considerations, links with tags need shorter characters when sent to customers. However, due to the limitations of current technology, it is difficult to compress the characters occupied by the tags while avoiding increasing the consumption of the link address. Summary of the invention

[0004] The embodiments of the present specification provide a data analysis method for short link information, which screens the actual number of users by numbering the user's identification information, and obtains the corresponding short code value based on the compressed number, thereby obtaining a short code value with fewer characters than the user's identification information. By associating the short code value with the short link, the short link information can be associated with the user information while having a shorter number of characters to reduce the sending cost.

[0005] In a first aspect, the present specification provides a data analysis method for short link information, which is used for a server, and includes: receiving a user's access request for short link information, the access request includes short link information, and the short link information is composed of a short link and a short code value; obtaining a link conversion rule, and converting the short link into a long link based on the link conversion rule; obtaining a mapping relationship between the user's identification information and the short code value, converting the short code value into a number based on the mapping relationship, and converting the number into the user's identification information, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits.

[0006] In the above scheme, the user's identification information is numbered to screen the actual number of users, so that the number of characters in the identification information of at least some users can be greater than the number of digits of the corresponding number. The characters are compressed based on the number to obtain a short code value, and the short code value is concatenated to the link. The user information can be associated with the link, that is, the corresponding user's identification information can be traced back through the short code value to record user behavior.

[0007] In an implementation method of the first aspect of the present specification, the step of converting the short code value into a number based on the mapping relationship, and converting the number into the user's identification information may include: de-identifying the user's identification information based on the mapping relationship, so as to convert the number into the user's identification information based on the mapping relationship.

[0008] In the above scheme, the risk of other external systems outside the service tracing back to the user's identification information based on the short link information can be reduced, thereby avoiding leakage of user information.

[0009] In an implementation of the first aspect of the present specification, before receiving a user's access request for short link information, the data analysis method may also include: obtaining the long link and the user's identification information; converting the number corresponding to the user's identification information into a corresponding short code value according to a mapping relationship, and converting the long link into a corresponding short link according to a link conversion rule; splicing the short link and the short code value to obtain short link information; and sending the short link information to the user's terminal device.

[0010] In the above scheme, the short code value of the traceable user's identification information is directly spliced ​​on the short link, and no additional short links will be consumed when sending short link information to multiple users; in addition, compared with the characters occupied by directly compressing the user identification information, the above short code value occupies fewer bits, thereby reducing the sending cost of the short link information.

[0011] In an implementation of the first aspect of the present specification, the step of converting the number corresponding to the user's identification information into the corresponding short code value according to the mapping relationship may include: sorting the user identification information in an auto-incremental manner to obtain the number corresponding to the identification information of each user; converting the number into the corresponding short code value using a base conversion method, wherein the base used to convert the number is greater than the calculation base of the short code value. For example, a mapping relationship between the short code value corresponding to the same number and the user's identification information may be established and stored through a user identification mapping library.

[0012] In the above scheme, the number of users can be truly counted, and the number of characters in the user's identification information is usually much larger than the number of users, that is, the number of characters in the user's identification information is generally much larger than the number of digits in the corresponding number, and the number can correspond one-to-one with the user's identification information. Compared with directly converting the user's identification information to obtain a short code value, the short code value obtained by converting based on the number can have a shorter number of characters while ensuring a mapping relationship with the user's identification information.

[0013] In an implementation manner of the first aspect of the present specification, the data analysis method may further include: updating the mapping relationship according to a preset rule.

[0014] In an implementation of the first aspect of the present specification, the step of updating the mapping relationship according to preset rules may include: obtaining characteristic parameters representing user historical operation data, updating the sorting of user identification information based on the characteristic parameters, and updating the number corresponding to the user identification information.

[0015] In actual applications, short link information will be selectively pushed to target users (high-quality users), and the target users are only part of all user groups. In the above scheme, the numbers corresponding to the user identification information are updated based on the user's historical operation data, so that the numbers corresponding to the identification information of these target users can have a shorter number of digits, thereby making the short link information sent to these target users have a relatively shorter number of characters, so as to further reduce the sending cost of short link information.

[0016] In an implementation of the first aspect of the present specification, the step of updating the ranking of the user identification information based on the characteristic parameters may include: performing weighted calculation on the characteristic parameters, and ranking the user identification information based on the calculation result.

[0017] In an implementation of the first aspect of the present specification, the user's historical operation data may include at least one of the user's visit times, visit time, actual purchase times and actual purchase amount via short link information, etc.

[0018] In an implementation method of the first aspect of the present specification, the step of updating the sorting of user identification information based on the characteristic parameters and updating the numbers corresponding to the user identification information may include: updating the sorting of the user identification information based on the characteristic parameters at every preset time period, and updating the numbers corresponding to all the user identification information, and the preset time period is not less than the preset feedback time corresponding to the short link information.

[0019] In the above scheme, the number of the user identification information is updated every preset period, which can ensure that the user identification information of the target user corresponds to a number with shorter digits, so as to ensure that the short link information pushed to these target users has a relatively short number of characters, so as to control costs.

[0020] In another implementation of the first aspect of the present specification, the step of updating the sorting of user identification information based on characteristic parameters and updating the numbers corresponding to the user identification information may include: dynamically monitoring user historical operation data to update the sorting of user identification information based on characteristic parameters in real time, and updating the numbers corresponding to all user identification information.

[0021] In the above scheme, the number of the user identification information is updated in real time, which can maximize the guarantee that the user identification information of the target user has the shortest number, so as to ensure that the short link information pushed to these target users has the relatively shortest number of characters, so as to control costs.

[0022] In another implementation of the first aspect of the present specification, the step of updating the sorting of user identification information based on characteristic parameters and updating the numbers corresponding to the user identification information may include: when any user's historical operation data changes, updating the sorting of all user identification information based on the characteristic parameters and updating the numbers corresponding to all user identification information.

[0023] In the above solution, the numbers of all user identification information are updated synchronously to accurately count the number corresponding to each user identification information, thereby avoiding the situation where the same number corresponds to different user identification information.

[0024] In another implementation of the first aspect of the present specification, the step of updating the sorting of user identification information based on characteristic parameters and updating the numbers corresponding to the user identification information may include: when any user's historical operation data changes, determining the number of digits in the corresponding user identification information after the update, wherein if the number of digits in the number of the user identification information after the update remains unchanged, maintaining the current sorting of the user identification information, and if the number of digits in the number of the user identification information after the update changes, updating the sorting of all user identification information based on the characteristic parameters, and updating the numbers corresponding to all user identification information.

[0025] In the above scheme, the number of the user identification information is updated only when the number of digits changes when the user identification information is updated. This can make the short link information pushed to the target user have a relatively short number of characters, reduce the updating frequency of the user identification information number and reduce the background calculation pressure.

[0026] In another implementation of the first aspect of the present specification, the step of updating the sorting of user identification information based on characteristic parameters and updating the numbers corresponding to the user identification information may include: filtering out target user identification information from all user identification information, and establishing a list based on the target user identification information, wherein the target user identification information corresponds to the user to receive the short link information; for the target user identification information located in the list, updating the sorting of the target user identification information in the list based on the characteristic parameters.

[0027] In the above solution, only the serial number corresponding to the user identification information of the target user in the list is updated, so as to reduce the number of updates of the serial number of the user identification information and reduce the background calculation pressure.

[0028] The second aspect of the present specification provides a method for managing short link information, which is used for a server and includes: obtaining a long link and user identification information; obtaining a mapping relationship between the user's identification information and the short code value, and according to the mapping relationship, converting the number corresponding to the user's identification information into a corresponding short code value, and converting the long link into a corresponding short link according to a link conversion rule, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits; splicing the short link and the short code value to obtain short link information; and sending the short link information to the user's terminal device.

[0029] In the above scheme, the user's identification information is numbered to screen the actual number of users, so that the number of characters in the identification information of at least some users can be greater than the number of digits of their corresponding numbers. After the characters are compressed based on the number to obtain a short code value and the short code value is spliced ​​into the link, the user information can be associated with the link, that is, the identification information of the corresponding user can be traced back through the short code value to record the user behavior; in addition, by directly splicing the short code value of the traceable user's identification information on the short link, the number of short links will not be consumed additionally when sending short link information to multiple users; in addition, compared with the characters occupied by directly compressing the user's identification information, the above short code value occupies fewer digits, thereby reducing the cost of sending short link information.

[0030] In an implementation of the second aspect of the present specification, the step of converting the number corresponding to the user's identification information into the corresponding short code value may include: sorting the user identification information in an auto-incremental manner to obtain the number corresponding to each piece of user identification information.

[0031] In the above scheme, the number of users can be truly counted, and the number of characters in the user's identification information is usually much larger than the number of users, that is, the number of characters in the user's identification information is generally much larger than the number of digits in the corresponding number, and the number can correspond one-to-one with the user's identification information. Compared with directly converting the user's identification information to obtain a short code value, the short code value obtained by converting based on the number can have a shorter number of characters while ensuring a mapping relationship with the user's identification information.

[0032] In an implementation method of the second aspect of the present specification, the step of sorting the user identification information in an auto-incremental manner to obtain the numbers corresponding to each piece of user identification information may also include: obtaining characteristic parameters representing the user's historical operation data, updating the sorting of the user identification information based on the characteristic parameters, and updating the numbers corresponding to the user identification information.

[0033] In actual applications, short link information will be selectively pushed to target users (high-quality users), and the target users are only part of all user groups. In the above scheme, the numbers corresponding to the user identification information are updated based on the user's historical operation data, so that the numbers corresponding to the identification information of these target users can have a shorter number of digits, thereby making the short link information sent to these target users have a relatively shorter number of characters, so as to further reduce the sending cost of short link information.

[0034] In an implementation of the second aspect of the present specification, the step of updating the ranking of the user identification information based on the characteristic parameters may include: performing weighted calculation on the characteristic parameters, and ranking the user identification information based on the calculation results.

[0035] In an implementation of the second aspect of the present specification, the user's historical operation data may include at least one of the user's visit times, visit time, actual purchase times and actual purchase amount via short link information, etc.

[0036] In an implementation of the first aspect of the present specification, the step of updating the ranking of user identification information based on characteristic parameters may include: updating the ranking of user identification information based on characteristic parameters at every preset time interval, and updating the number corresponding to the user identification information.

[0037] In the above scheme, the number of the user identification information is updated every preset period, which can ensure that the user identification information of the target user corresponds to a number with shorter digits, so as to ensure that the short link information pushed to these target users has a relatively short number of characters, so as to control costs.

[0038] In an implementation of the second aspect of the present specification, the preset time period is not less than a preset feedback time corresponding to the short link information.

[0039] The third aspect of the present specification provides a device for analyzing short link information, which includes a receiving module, a link conversion library and a user identification mapping library. The receiving module is used to receive a user's access request for short link information, and the access request includes short link information, which is composed of a short link and a short code value. According to the link conversion rules stored in the link conversion library, the short link can be converted into a long link. According to the mapping relationship stored in the user identification mapping library, the short code value can be converted into a number, and the number can be converted into the user's identification information. The number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits.

[0040] In an implementation of the third aspect of the present specification, the device for analyzing short link information may further include a rule base, in which preset rules may be stored, and the mapping relationship stored in the user identification mapping base may be updated according to the preset rules.

[0041] The fourth aspect of the present specification provides a device for managing short link information, which includes an acquisition module, a conversion module, a splicing module and a sending module. The acquisition module is used to obtain the long link and the user's identification information. The conversion module is used to convert the number corresponding to the user's identification information into a corresponding short code value, and convert the long link into a corresponding short link, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits. The splicing module is used to splice the short link and the short code value to obtain the short link information. The sending module is used to send the short link information to the user's terminal device.

[0042] A fifth aspect of the present specification provides an electronic device, which includes at least one processor and at least one memory, wherein the memory stores instructions which, when executed by the processor, are used to execute the steps of the short link information data analysis method in the first aspect and the short link information management method in the second aspect.

[0043] A sixth aspect of the present specification provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor implements the steps of the short link information data analysis method in the first aspect and the short link information management method in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A flowchart of a method for analyzing short link information data provided in one embodiment of this specification.

[0045] Figure 2 A flowchart of another short link information data analysis method provided in an embodiment of this specification.

[0046] Figure 3 A flowchart of another short link information data analysis method provided in an embodiment of this specification.

[0047] Figure 4 A flowchart of another short link information data analysis method provided in an embodiment of this specification.

[0048] Figure 5 A flowchart of another short link information data analysis method provided in an embodiment of this specification.

[0049] Figure 6 A flowchart of another short link information management method provided in an embodiment of this specification.

[0050] Figure 7 A flowchart of another short link information management method provided in an embodiment of this specification.

[0051] Figure 8 A schematic diagram of the structure of a device for performing data analysis on short link information provided in one embodiment of this specification.

[0052] Fig. 9 A schematic diagram of the structure of another device for performing data analysis on short link information provided in an embodiment of this specification.

[0053] Fig.10 A schematic diagram of the structure of another device for performing data analysis on short link information provided in an embodiment of this specification.

[0054] Fig.11 A schematic diagram of the structure of a device for managing short link information provided in an embodiment of this specification.

[0055] Fig.12 A block diagram of an electronic device provided in one embodiment of the present specification for executing the data analysis method and management method of the above embodiments. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0057] With the continuous development of Internet technology, service providers (such as websites, banks, telecom operators, etc.) can release corresponding service promotion information to users through social media (such as social software clients, social networking sites, etc.) or text messages. The service promotion information is usually in the form of a uniform resource locator (URL), so that users can access the corresponding page through the URL to obtain the service content.

[0058] In actual application scenarios, due to the word count limit of social media content or SMS content, service providers usually convert the above URLs into short links to reduce the number of characters in the information pushed to customers, thereby controlling costs. However, after the short link is converted into a long link, there is no user information on the long link, making it difficult to count user behavior. For example, it is difficult to determine whether the user has visited the promoted business through the short link, and it is even more difficult to count the number of visits by the user to the business, making it difficult to determine the high-quality customer group.

[0059] In view of the above situation, one solution is to splice user identification information on the long link, as follows.

[0060] https: / / detail.tmall.com / item.htm?id=592704614137&bc_fl_src=alihealth_crm&user_id=XXX.

[0061] “https: / / detail.tmall.com / item.htm?id=592704614137&bc_fl_src=alihealth_crm&user_id” is a long link; “id=XXX” is user identification information.

[0062] Based on the above, the long link with user identification information is converted into a short link, so that when the user accesses related services through the short link, the user's operation record can be counted. However, this method requires generating different short links for different users, which will greatly consume the number of short link addresses when the user group to be served is too large.

[0063] For the above situation, another solution is to concatenate the user identification information on the short link after converting the long link into a short link, as follows.

[0064] “https: / / detail.tmall.com / item.htm?id=592704614137&bc_fl_src=alihealth_crm” is a long link, which becomes “jk.tb.cn / 4GG” after being converted into a short link. After user information is added to the short link, it becomes “jk.tb.cn / 4GG?uid=XXX”.

[0065] Based on the above short link with user identification information, the user's operation record can also be counted when the user accesses related services through the short link. However, the number of characters in the user identification information is usually long, which makes the short link with user information (the link to be pushed to the user) have a longer number of characters, thereby increasing the cost of information transmission; in addition, because the pushed information (link) directly carries the user's identification information, there is a risk of exposing the user's privacy.

[0066] The embodiment of this specification provides a data analysis method for short link information of a server, which numbers the identification information of users to screen the number of real users, and compresses the characters occupied by the numbers accordingly, so as to ensure that the short link information can be associated with the user information while making the short link information have a shorter number of characters to reduce the sending cost. After the short link information is sent to the user and the user responds to the short link information, such as clicking, the process of data analysis of the short link information can be referred to in Figure 1The following steps S110~S130 are shown.

[0067] S110, receiving a user's access request for short link information, where the access request includes the short link information, and the short link information is composed of a short link and a short code value.

[0068] After data processing (e.g., step S120 described below), the short link can be converted into a corresponding long link. For example, the long link can be a link URL for pushing activities or products, which can include a transmission protocol, a server host address (service and domain name), a port, a path, etc.

[0069] In the embodiments of the present specification, the requesting party that issues an access request to the short link may include a system end device, a terminal device, etc. For example, the terminal device may include various smart phones, tablet computers, personal computers, etc.

[0070] It should be noted that the requester may also request the server to generate short link information.

[0071] S120, obtaining a link conversion rule, and based on the link conversion rule, converting the short link into a long link, so that the access request can jump to the link URL corresponding to the long link.

[0072] S130, obtain the mapping relationship between the user's identification information and the short code value, convert the short code value into a number based on the mapping relationship, and convert the number into the user's identification information, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits.

[0073] For example, the identification information of the user may be the ID address of the user, for example, it may be the ID corresponding to the registered account of the user at the service provider (the service provider that pushes the SMS link information).

[0074] It should be noted that, based on the fact that user IDs will be abandoned, users may register multiple accounts, and new users may register accounts in the future, the number of digits in the user ID is usually set to be much larger than the actual number of registered users. For example, a user ID may be a 13-digit combination, while the number of users who actually use the service provider's services may only be around 5 to 10 digits.

[0075] Based on the above steps S120 and S130, because the user's identification information has been associated with the link URL corresponding to the long link through the short link information, the server can record the user's behavior, that is, for the same user (or the identification information corresponding to the user), when he accesses the short link information, the product corresponding to the long link to be accessed and its identification information will be recorded by the server, so that the user's related operations on the pushed products (such as whether to purchase, purchase quantity, number of visits, etc.) can be recorded.

[0076] In the embodiment of the present disclosure, the above steps S120 and S130 are actually the process of the server parsing the short link information after receiving the access request, and the order in which steps S120 and S130 are executed is not limited.

[0077] For example, the server for parsing the short link information may be or include a domain name system server, and the domain name system server may adopt a distributed cluster architecture to implement the parsing and redirection of the short link included in the short link information.

[0078] It should be noted that in some scenarios, in the process of redirecting the short link in the short link information to the long link, it is necessary to de-identify the user's identification information in the short link information to prevent external malicious attackers from tracing back to the user's identification information based on the short code value of the short link information, thereby exposing the user's privacy.

[0079] "De-identification" can be understood as the process of removing the association between a set of identifiable data (such as short code values) and the data subject (such as the user's identification information). Through this process, data managers can delete or change the identification information in the data set, making it difficult for malicious attackers to use the data set to identify the specific individual subject, so that the data set can be shared within a predetermined range for use.

[0080] In the data analysis method for short link information of a server provided in at least one embodiment of the present specification, the above-mentioned step S130 may include: de-identifying the identification information of the preset rule user based on the preset rule mapping relationship, and converting the preset rule number into the identification information of the preset rule user based on the preset rule mapping relationship.

[0081] In the embodiments of the present description, there is no limitation on the specific method of de-identification. For example, the identification information of the user can be de-identified based on the method of data deformation processing. "Data deformation processing" is a technical mechanism for transforming and modifying sensitive data through given rules or policies when using sensitive data in an untrusted environment. The methods of data deformation processing may include replacement, scrambling, averaging, offset, etc. For example, "replacement" can be: replacing the true value with fictitious data, such as establishing a larger virtual value data table, generating a random seed for each real value record, and performing hash mapping replacement on the original data content; "scrambling" can be: re-randomly distributing the values ​​of the sensitive data column, confusing the connection between the original value and other fields; "averaging" can be: calculating the mean of numerical data, so that the desensitized values ​​are randomly distributed near the mean, thereby keeping the sum of the data unchanged; "offset" can be: changing the digital data by random shifting.

[0082] For example, in the implementation of this specification, in step S130, after obtaining the number corresponding to the user's identification information, the number can be further subjected to data deformation processing to obtain deformed data, and then the deformed data is converted (for example, subsequent base conversion) to obtain a short code value. Thus, in the process of generating and parsing the short link information, the user's identification information can be de-identified.

[0083] It should be noted that in the embodiments of this specification, in the conversion process of the user's identification information and the short code value (for example, converting the user's identification information into the short code value), the user's identification information has been converted into a number by sorting, and the short code value is obtained based on the number. In this process, the user's identification information has actually been subjected to data deformation processing (sorting), thereby de-identifying the user's identification information to a certain extent.

[0084] The data analysis method for short link information of a server provided in at least one embodiment of the present specification may also include a process for generating short link information. The data analysis method for short link information in this case may refer to the following: Figure 2 The following steps S210~S270 are shown, and the process of generating the short link information can refer to steps S210~S240 therein.

[0085] S210, obtaining the long link and the user's identification information.

[0086] For example, the server may perform the above step S210 after receiving a request for generating short link information. For example, the server may be a single server with large capacity, which may include multiple databases; or, the server may be a distributed cluster server, which may include multiple servers, and each server may be used to manage short link information. For example, each server in the above distributed cluster server may include one database, or may include multiple databases.

[0087] S220: According to the mapping relationship, the serial number corresponding to the user's identification information is converted into a corresponding short code value, and the long link is converted into a corresponding short link according to the link conversion rule.

[0088] By numbering the user's identification information, the number of real users can be screened, so that the number of characters in the identification information of at least some users can be greater than the number of digits of the corresponding number. For example, the user's ID can be 13 digits, and the number of users who actually use the service provider's services is currently 9 digits, then the number of digits of the user's ID can be between 1 and 9 digits, that is, the number of digits of the user's ID will be much larger than the number of digits of the corresponding number, for example, the number corresponding to the ID 2201413871593 is 51246. In this case, under the same calculation method for the number of compressed digits (such as the following base calculation), the number of digits of the 9-digit number after conversion will also be less than the number of digits of the 13-digit number (ID) after conversion. For example, the short code value of the number 51246 after conversion (such as base 62 conversion) is dky.

[0089] For example, the long link of “https: / / detail.tmall.com / item.htm?id=592704614137&bc_fl_src=alihealth_crm” is converted to a short link as “jk.tb.cn / 4GG”. In the embodiments of this specification, there is no limitation on the conversion method of the long link to the short link. For example, the conversion method may include MD5 algorithm, sequence mapping, etc.

[0090] S230, concatenate the short link and the short code value to obtain short link information.

[0091] For example, the short link "jk.tb.cn / 4GG" obtained in the above step S220 and the short code value "dky" are concatenated to obtain the short link information "jk.tb.cn / 4GG.dky".

[0092] S240, sending short link information to the user's terminal device.

[0093] The terminal device may be a device carrying a client, which may include a social application (APP) provided by a service provider, or a short message service (SMS) function built into the terminal device operating system. The client may display the service content including the short link information to the user, and accordingly, the user may click on the short link information to access the network. For example, the terminal device may include a mobile terminal (such as a mobile phone), a computer, or a server.

[0094] After the user receives the pushed short link information, he can click on the short link information to access the related products. That is, the user initiates an access request for the short link information. After receiving the access request, the server executes steps S250~S270. The process shown in steps S250~S270 can be referred to the aforementioned steps S110~S130, which will not be repeated here.

[0095] In the above steps S210~S270, by converting the user identification information into a short code value, it is equivalent to associating the user information with the short link information. When the user accesses the short link information, the identification information of the corresponding user can be traced back through the short code value to record the user behavior; in addition, by directly splicing the short code value of the traceable user identification information on the short link, no additional short links will be consumed when sending short link information to multiple users; in addition, compared with the characters occupied by directly compressing the user identification information, the above short code value occupies fewer bits, thereby reducing the sending cost of the short link information.

[0096] In at least one embodiment of this specification, Figure 3 As shown, the above step S220 may include: S221, sorting the user identification information in an auto-incremental manner to obtain the number corresponding to each user identification information. For example, the ID of 2201413871593 is ranked 51246th, and thus corresponds to the number 51246. In this way, the number of users can be truly counted, and the number of characters in the user's identification information is usually much larger than the number of users, that is, the number of characters in the user's identification information is generally much larger than the number of digits in the corresponding number, and the number can correspond to the user's identification information one by one. Compared with directly converting the user's identification information to obtain a short code value, the short code value obtained by converting based on the number can have a shorter number of characters while ensuring that the mapping relationship with the user's identification information is maintained.

[0097] In one implementation of the first aspect of this specification, Figure 3 As shown, the above step S220 may further include:

[0098] S222, convert the number into a corresponding short code value by using base conversion.

[0099] For example, the number 51246 is converted to the short code value dky through base 62 conversion.

[0100] For example, the base used for converting the number is larger than the base used for calculating the short code value, so that the number of digits of some short code values ​​can be reduced as much as possible. For example, when the base of the number is decimal, the base of the number can also be converted into hexadecimal, 32-base, etc.

[0101] Short link information will be selectively pushed to target users (high-quality users), who are only part of all registered user groups, to increase the chance of successful product push and reduce the amount of short link information sent to reduce the sending cost. However, in actual application scenarios, the ID numbers of some target users whose accounts are registered later may be relatively long, while some accounts with low usage frequency or no longer used occupy shorter numbers because of their early registration time. In this way, when pushing short link information to the target user group, the number of characters in the short link information is still long, so it is still difficult to maximize the cost control. In addition, even if the user's identification information has been data deformed by sorting, if the list (mapping relationship) of the correspondence between the user's identification information and the number stored earlier is leaked, or if some users are highly active and have always been the main push objects of short connection information, that is, the numbers corresponding to the identification information of these users and the short code values ​​corresponding to the numbers will always appear, by counting these short link information, some user groups may be locked based on the short code values ​​therein, thereby exposing the information of users in these user groups to a certain extent.

[0102] In view of the above situation, in some embodiments of the present specification, the order of user information may be updated so that the identification information of the target user is ordered first and corresponds to a relatively short number, thereby controlling the sending cost of the short link information.

[0103] For example, in at least one embodiment of this specification, Figure 4 As shown, after executing steps S260 and S270 so that the user's access request jumps to the URL corresponding to the long link and records the user's behavior, the data analysis method for short link information may also include: S280, updating the mapping relationship according to a preset rule. In this way, by updating the number corresponding to the user identification information based on the user's historical operation data, the number corresponding to the identification information of the target users can have a shorter number of digits, so that the short link information sent to the target users has a relatively shorter number of characters, so as to further reduce the sending cost of the short link information.

[0104] In the embodiments of the present specification, based on the above-mentioned step S280, the correspondence between the user's identification information and the number is updated, which is actually further data deformation processing of the user's identification information. The user's identification information may correspond to different numbers in different periods. In this way, even if the number is obtained based on the short code value, because the number corresponds to different user identification information in different activity cycles, it is difficult to trace the user's identification information based on the number, thereby further reducing the risk of user privacy exposure.

[0105] For example, in at least one embodiment of this specification, Figure 5 As shown, the above step S280 may include: S281, obtaining characteristic parameters representing the user's historical operation data, updating the order of the user identification information based on the characteristic parameters, and updating the number corresponding to the user identification information.

[0106] For example, in at least one embodiment of the present specification, the step of updating the ranking of the user identification information based on the characteristic parameters in the above step S281 may include: performing weighted calculation on the characteristic parameters, and ranking the user identification information based on the calculation result. In this way, the potential purchasing power of the user can be comprehensively evaluated based on the user's historical operation data, so that the number of digits of the target user's number can be kept relatively short, so as to further reduce the cost of sending the short link information.

[0107] In an embodiment of the present specification, the user's historical operation data may include the user's visit times, visit time, actual purchase times and actual purchase amount via short link information, etc. The above-mentioned characteristic parameters may measure at least one of these historical operation data.

[0108] The frequency of updating the number (or order) of the user identification information may be real-time update, update at preset intervals, etc. In the following, in different embodiments, the data analysis method of the short link information in these two ways is described.

[0109] In some embodiments of the present specification, the serial number of the user identification information can be updated at preset intervals, that is, the step of updating the order of the user identification information based on the characteristic parameters in the above step S281 can include: updating the order of the user identification information based on the characteristic parameters at every preset time interval, and updating the serial number corresponding to the user identification information. In this way, by updating the serial number of the user identification information at every preset time interval, it can be ensured that the user identification information of the target user corresponds to a serial number with a shorter number of digits, so as to ensure that the short link information pushed to these target users has a relatively short number of characters, so as to control the cost.

[0110] For example, in one application scenario, a service provider pushes products to users at different times. By sorting user identification information at preset time periods, the numbers of the user identification information are relatively short, so that the short link information pushed to users in subsequent periods has relatively fewer characters.

[0111] In the embodiment of the present specification, the preset time period is not less than the preset feedback time corresponding to the short link information.

[0112] For example, in an application scenario, the discount activity time limit of the product corresponding to the short link information is one month, that is, the validity period of the short link information is one month, then the above preset period can be designed as one month, and the number of the user identification information is updated after the discount activity time of the entire product ends. In this process, the user's operation data (such as click-through rate, purchase volume, etc.) of the product has been counted, and the user identification information is re-sorted based on this to filter out the target users, so that the short link information pushed to these target users next time has a relatively small number of characters.

[0113] When the ranking of user identification information is updated based on characteristic parameters at each preset time interval, the user behavior is recorded based on the user identification information corresponding to the short code value included in the short link information (within the preset time period when the short link information is sent) to update the user operation data. For example, in some application scenarios, the time nodes for updating the ranking of user identification information are T1, T2, T3, etc., and these time nodes are divided by preset time periods. If the time when the short link information is pushed to the user is T, T is between T1 and T2, and the number corresponding to the ranking of the user identification information between T1 and T2 is 51246. In the time period from T to T2, the user's access information to the short link information is received, which causes the user's operation data to change, that is, when the ranking of the user identification information is updated at time T2, the number corresponding to the user identification information is assumed to become 54246. In this way, during the time period from T to T2, user behavior can be recorded based on the user identification information corresponding to number 51246 between T1 and T2 to update the operation data corresponding to the user identification information, such as the number of clicks; during the time period from T2 to T3, before pushing the short link information to the user again, convert number 54246 to obtain the short code value, and obtain the short link information to be sent to the user.

[0114] In some embodiments of the present specification, the serial number of the user identification information can be updated in real time, that is, the step of updating the order of the user identification information based on the characteristic parameters in the above step S281 can include: dynamically monitoring the user's historical operation data to update the order of the user identification information based on the characteristic parameters in real time, and updating the serial number corresponding to the user identification information. In this way, the serial number of the user identification information is updated in real time, which can maximize the guarantee that the user identification information of the target user has the shortest serial number, so as to ensure that the short link information pushed to these target users has the relatively shortest number of characters, so as to control the cost.

[0115] For example, in some application scenarios, the service provider will continuously push different products to the user. By sorting the user identification information in real time, the short link information can be pushed to the target user with a relatively small number of characters each time.

[0116] In the case of dynamically monitoring the user's historical operation data to update the ranking of the user identification information based on the feature parameters in real time, the user behavior is recorded based on the user identification information corresponding to the short code value included in the short link information (at the time when the short link information is sent) to update the user operation data. For example, in some application scenarios, the short link information A2 corresponding to the product A1 is pushed to the user at time T1 (the long link A3 corresponding to the product A1 can be parsed), and thereafter, the short link information B2 corresponding to the product B1 is pushed to the user at time T2 (the long link B3 corresponding to the product B1 can be parsed). In this way, if the user's access information to the short link information A2 is received at time T3, the user identification information will be traced back based on the short code value included in the short link information A2 to update the user's operation data. It should be noted that if T3 is between T1 and T2, then when generating the short link information B2, the ranking of the user identification information has been calculated based on the user operation data updated at time T3 to obtain the short code value of the short link information B2.

[0117] In the embodiments of this specification, the ranking of user identification information of all users may be updated according to actual needs, or the ranking of user identification information of only a specific user group may be updated. This is described below through different embodiments.

[0118] In the data analysis method of short link information provided in an embodiment of the present specification, the step of updating the ranking of user identification information based on characteristic parameters in the above step S281 may include: when any user's historical operation data changes, updating the ranking of all user identification information based on the characteristic parameters, and updating the numbers corresponding to all user identification information. In this way, the numbers of all user identification information can be updated synchronously to accurately count the numbers corresponding to each user identification information, avoiding the situation where the same number corresponds to different user identification information.

[0119] In the data analysis method for short link information provided in another embodiment of the present specification, the step of updating the sorting of user identification information based on characteristic parameters in the above step S281 may include: when any user's historical operation data changes, determine the number of digits in the corresponding user identification information after the update; if the number of digits in the number of the user identification information after the update remains unchanged, maintain the sorting of the current user identification information; if the number of digits in the number of the user identification information after the update changes, update the sorting of all user identification information based on the characteristic parameters, and update the numbers corresponding to all user identification information. In this way, the number of the user identification information is updated only when the number of digits changes when the number of the user identification information is updated, so that the short link information pushed to the target user has a relatively short number of characters, and the frequency of updating the number of the user identification information can be reduced to reduce the background calculation pressure.

[0120] For example, in an application scenario, when the short link information is generated at time T1, the number corresponding to the ranking of the user identification information is 51246. At time T2 after T1, if the user's access information to the short link information is received, the user's operation data will be changed. If the short link information needs to be pushed to the user corresponding to the user identification information again at time T3 after T2, the order of the user identification information after the update is calculated according to the user's operation data corresponding to the user identification information at this time. If the number corresponding to the order of the user identification information is changed but the number of digits does not change, for example, the number becomes 54246, then this update is not performed, that is, the number corresponding to the ranking of the user identification information is still maintained at 51246 at time T3; if the number corresponding to the order of the user identification information is changed and the number of digits changes, for example, the number becomes 4246, then the ranking of the user identification information is updated so that its corresponding number is 4246, and the numbers of other user identification information can be updated accordingly.

[0121] In the data analysis method of short link information provided in another embodiment of the present specification, the step of updating the ranking of user identification information based on characteristic parameters in the above step S281 may include: filtering out target user identification information from all user identification information, and establishing a list based on the target user identification information, wherein the target user identification information corresponds to the user to receive the short link information; for the target user identification information in the list, updating the ranking of the target user identification information in the list based on the characteristic parameters. In this way, only the ranking of the user identification information of the target user in the list is updated to update the number corresponding to the user identification information, thereby reducing the number of updates of the user identification information number and reducing the background calculation pressure.

[0122] At least one embodiment of this specification provides a method for managing short link information, such as Figure 6 As shown, the method includes the following steps S610~S640.

[0123] S610, obtaining the long link and user identification information.

[0124] S620, obtain the mapping relationship between the user's identification information and the short code value, convert the number corresponding to the user's identification information into the corresponding short code value according to the mapping relationship, and convert the long link into the corresponding short link according to the link conversion rule. The number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits.

[0125] S630: Concatenate the short link and the short code value to obtain short link information.

[0126] S640: Send short link information to the user's terminal device.

[0127] The above steps S610 to S640 may refer to the above steps S240 to S270, which will not be described in detail here.

[0128] In at least one embodiment of the specification, a method for managing short link information is provided, such as Figure 7 As shown, the method includes: S650, updating the mapping relationship stored in the user identification mapping library according to a preset rule. The step S650 can refer to the aforementioned step S280, which will not be described in detail here.

[0129] The short link information management method provided in the embodiment of the present disclosure may include the relevant steps in the aforementioned embodiment of the short link information data analysis method, which will not be described in detail here.

[0130] At least one embodiment of this specification provides a device for performing data analysis on short link information, such as Figure 8As shown, the device includes a receiving module 810, a link conversion library 820 and a user identification mapping library 830. The receiving module 810 is used to receive a user's access request for short link information, and the access request includes short link information, which is composed of a short link and a short code value. According to the link conversion rule stored in the link conversion library 820, the short link can be converted into a long link. According to the mapping relationship stored in the user identification mapping library 830, the short code value can be converted into a number, and the number can be converted into the user's identification information. The number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits. In this way, by numbering the user's identification information to filter the number of real users, the number of characters of the identification information of at least some users can be greater than the number of digits of the corresponding number, and the characters are compressed based on the number to obtain the short code value, and after the short code value is spliced ​​to the link, the user information can be associated with the link, that is, the identification information of the corresponding user can be traced back through the short code value to record the user behavior.

[0131] In one embodiment, if Fig. 9 As shown, the device for performing data analysis on short link information may also include an acquisition module 840, a conversion module 850, a splicing module 860 and a sending module 870. The acquisition module 840 is used to obtain the long link and the user's identification information. The conversion module 850 is used to convert the number corresponding to the user's identification information into the corresponding short code value, and convert the long link into the corresponding short link, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits. The splicing module 860 is used to splice the short link and the short code value to obtain the short link information. The sending module 870 is used to send the short link information to the user's terminal device.

[0132] In one embodiment, the conversion module 850 is used to sort the user identification information in an auto-incremental manner to obtain the number corresponding to the identification information of each user, and convert the number into the corresponding short code value using a base conversion method. The base used to convert the number is greater than the calculation base of the short code value.

[0133] The user identification mapping library 830 establishes and stores a mapping relationship between the short code value corresponding to the same number and the user's identification information.

[0134] In one embodiment, if Fig.10As shown, the device for performing data analysis on short link information may further include a rule library 880, and the mapping relationship stored in the user identification mapping library 830 may be updated according to the preset rules stored in the rule library 880. For example, when the short code value corresponding to the user's identification information is calculated again by the conversion module 850, the user's identification information has been updated according to the preset rules stored in the rule library 880, so that the short code value corresponding to the user's identification information may change, and the user identification mapping library 830 establishes and stores a new mapping relationship between the short code value corresponding to the same number and the user's identification information after the update.

[0135] In one embodiment, the rule library 880 is used to obtain characteristic parameters representing the user's historical operation data, update the order of the user identification information based on the characteristic parameters, and update the number corresponding to the user identification information in the user identification mapping library.

[0136] In one embodiment, the rule base 880 is used to perform weighted calculation on the feature parameters and sort the user identification information based on the calculation results.

[0137] In one embodiment, the rule base 880 is used to update the sorting of the user identification information based on the characteristic parameters at every preset time interval, and update the numbers corresponding to all the user identification information, and the preset time period is not less than the preset feedback time corresponding to the short link information.

[0138] In one embodiment, the rule library 880 is used to dynamically monitor the user's historical operation data, so as to update the sorting of the user identification information based on the characteristic parameters in real time, and to update the numbers corresponding to all the user identification information.

[0139] In one embodiment, the rule base 880 is used to update the sorting of all user identification information based on the characteristic parameters and update the numbers corresponding to all user identification information when any user's historical operation data changes.

[0140] In one embodiment, the rule base 880 is used to determine the number of digits in the corresponding user identification information after the update when any user's historical operation data changes. If the number of digits in the user identification information after the update remains unchanged, the current sorting of the user identification information is maintained. If the number of digits in the user identification information after the update changes, the sorting of all user identification information is updated based on the characteristic parameters, and the numbers corresponding to all user identification information are updated.

[0141] In one embodiment, the rule base 880 is used to filter out target user identification information from all user identification information, and establish a list based on the target user identification information, where the target user identification information corresponds to the user to receive the short link information; for the target user identification information in the list, the sorting of the target user identification information in the list is updated based on the characteristic parameters.

[0142] At least one embodiment of this specification provides a short link information management device, such as Fig.11 As shown, the management device includes an acquisition module 910, a conversion module 920, a splicing module 930 and a sending module 940. The acquisition module 910 is used to obtain the long link and the user's identification information. The conversion module 820 is used to convert the number corresponding to the user's identification information into a corresponding short code value, and convert the long link into a corresponding short link, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits. The splicing module 930 is used to splice the short link and the short code value to obtain the short link information. The sending module 940 is used to send the short link information to the user's terminal device. In the device, the user's identification information is numbered to screen the actual number of users, so that the number of characters in the identification information of at least some users can be greater than the number of digits of the corresponding number. After the characters are compressed based on the number to obtain a short code value and the short code value is spliced ​​to the link, the user information can be associated with the link, that is, the identification information of the corresponding user can be traced back through the short code value to record the user behavior; in addition, the short code value of the traceable user's identification information is directly spliced ​​on the short link, and the number of short links will not be consumed additionally when sending short link information to multiple users; in addition, compared with the characters occupied by directly compressing the user's identification information, the above-mentioned short code value occupies fewer digits, thereby reducing the cost of sending short link information.

[0143] In at least one embodiment of the present disclosure, the management device may include various modules of the aforementioned device for performing data analysis on short link information, such as a receiving module, a link conversion library, a user identification mapping library, and a rule library, etc. For details, please refer to the relevant description in the aforementioned embodiment, which will not be repeated here.

[0144] At least one embodiment of the present specification provides an electronic device, such as Figure 7 As shown, the electronic device 10 includes at least one processor 11 and at least one memory 12. The memory 12 stores instructions, which, when executed by the processor 11, are used to execute the data analysis method and management method of short link information in any of the above embodiments.

[0145] The electronic device may also include a power supply component configured to perform power management of the electronic device, a wired or wireless network interface configured to connect the electronic device to a network, and an input / output (I / O) interface. The electronic device may be operated based on an operating system stored in the memory 12, such as Windows Server 2003. TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or similar.

[0146] At least one embodiment of the present specification provides a computer-readable storage medium storing a computer program. When the computer program is executed by the processor 11, the processor 11 implements the relevant steps of the above-mentioned data analysis method and management method for short link information.

[0147] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of this specification, and will not be described in detail here.

[0148] Those of ordinary skill in the art will appreciate that the modules and method steps of the various embodiments described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this specification.

[0149] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, equipment and methods can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0150] In the several embodiments provided in this specification, it should be understood that the disclosed devices, equipment and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0151] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0152] In addition, each functional module in each embodiment of the present specification may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0153] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this specification, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program check codes.

[0154] It should be noted that, in the description of this specification, the terms "first", "second", "third", etc. are used for descriptive purposes only and cannot be understood as indicating or implying relative importance. In addition, in the description of this specification, unless otherwise specified, the meaning of "plurality" is two or more.

[0155] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, etc. made within the spirit and principles of this specification should be included in the protection scope of this specification.

Claims

1. A data analysis method for short link information, characterized in that: For a server, the data analysis method comprises: Receiving a user's access request for short link information, the access request including the short link information, the short link information being a concatenation of the short link and a short code value; Acquire a link conversion rule, and convert the short link into a long link based on the link conversion rule; Acquire a mapping relationship between the user's identification information and the short code value, convert the short code value into a number based on the mapping relationship, and convert the number into the user's identification information, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits of the number, The converting the short code value into a number based on the mapping relationship, and converting the number into user identification information includes: The identification information of the user is de-identified based on the mapping relationship, so as to convert the number into the identification information of the user based on the mapping relationship.

2. The data analysis method for short link information according to claim 1, characterized in that: Before receiving the user's access request to the short link information, the data analysis method further includes: Obtaining the long link and identification information of the user; According to the mapping relationship, the number corresponding to the user's identification information is converted into the corresponding short code value, and the long link is converted into the corresponding short link according to the link conversion rule; Concatenate the short link and the short code value to obtain the short link information; and The short link information is sent to the terminal device of the user.

3. The data analysis method for short link information according to claim 2, characterized in that: The converting, according to the mapping relationship, the number corresponding to the identification information of the user into the corresponding short code value comprises: Sort the user identification information in an auto-incremental manner to obtain a number corresponding to the identification information of each user; and The number is converted into a corresponding short code value using a base conversion method, wherein the base used to convert the number is greater than the calculation base of the short code value.

4. The data analysis method for short link information according to claim 2, characterized in that: Also includes: The mapping relationship is updated according to a preset rule.

5. The data analysis method for short link information according to claim 4, characterized in that: The updating of the mapping relationship according to a preset rule includes: Acquire characteristic parameters representing the historical operation data of the user, update the sorting of the user identification information based on the characteristic parameters, and update the number corresponding to the user identification information.

6. The data analysis method for short link information according to claim 5, characterized in that: The updating of the sorting of the user identification information based on the characteristic parameter comprises: The characteristic parameters are weighted and the user identification information is sorted based on the calculation result.

7. The data analysis method for short link information according to claim 5, characterized in that: The updating of the sorting of the user identification information based on the characteristic parameter and updating the number corresponding to the user identification information includes: At intervals of a preset time period, the ranking of the user identification information is updated based on the characteristic parameter, and the numbers corresponding to all the user identification information are updated, and the preset time period is not less than the preset feedback time corresponding to the short link information; or Dynamically monitor the user's historical operation data to update the ranking of the user identification information based on the characteristic parameters in real time, and update the numbers corresponding to all the user identification information; or When any of the historical operation data of the user changes, the order of all the user identification information is updated based on the characteristic parameter, and the numbers corresponding to all the user identification information are updated; or In the case where any of the user historical operation data is changed, determining the number of digits of the serial number of the corresponding user identification information after the update, wherein if the number of digits of the serial number of the user identification information after the update remains unchanged, maintaining the current order of the user identification information; if the number of digits of the serial number of the user identification information after the update changes, updating the order of all the user identification information based on the characteristic parameter, and updating the serial numbers corresponding to all the user identification information; or Filter out target user identification information from all the user identification information, and establish a list based on the target user identification information, wherein the target user identification information corresponds to the user to be received the short link information, and for the target user identification information in the list, update the sorting of the target user identification information in the list based on the characteristic parameters.

8. A method for managing short link information, characterized in that: For a server, the management method comprises: Get the long link and user identification information; Obtain a mapping relationship between the user's identification information and the short code value, convert the number corresponding to the user's identification information into the corresponding short code value according to the mapping relationship, and convert the long link into the corresponding short link according to the link conversion rule, wherein the number of digits of the user's identification information is greater than or equal to the number of digits of the corresponding number, and the number of digits of the short code value is less than or equal to the number of digits of the number; Concatenate the short link and the short code value to obtain the short link information; and The short link information is sent to the terminal device of the user.

9. The method for managing short link information according to claim 8, characterized in that: Also includes: The mapping relationship is updated according to a preset rule.

10. An electronic device, characterized in that: include: at least one processor; and At least one memory having instructions stored thereon, which, when executed by the processor, is used to execute the data analysis method for short link information according to any one of claims 1 to 7 or the management method for short link information according to claim 8 or 9.

Citation Information

Patent Citations

  • Short link generation method, server, storage medium and computer equipment

    CN110851748A

  • Short link processing method and device, terminal and storage medium

    CN112307369A