Data acquisition method and device, storage medium and electronic equipment
By generating a designated link in the first platform, the target user is triggered to browse content on the second platform client and obtain authorization confirmation information, the problem of inaccurate interaction parameters of the social media platform is solved, and the accurate push of the content of the official account is achieved.
Patent Information
- Application Number
- CN202411298067.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-12-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the interaction parameters of the public account content obtained through the social media platform are not accurate enough, resulting in the business platform being unable to accurately push the public account content to the designated users.
By generating a designated link in the first platform, the target user is triggered to browse the designated content provided by the first platform on the client of the second platform, and obtain its social identity information based on the user's authorization confirmation information, determine user information, and perform tasks To improve the accuracy of content push.
It realizes the acquisition of the user's actual identity information and reading situation under different user identity information, which is used to determine the subsequent content push strategy, and improves the accuracy of content push.
Smart Images

Figure CN119106204A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data acquisition technology, and in particular to a data acquisition method, device, storage medium and electronic device. Background Art
[0002] At present, the method of sharing public account content through various social media platforms to guide traffic and thus expand the influence of business services provided by the business platform, attract user attention and increase user engagement is widely used.
[0003] Normally, the business platform can obtain the user's corresponding interaction parameters (such as click count, page views, number of visitors, etc.) for the shared public account content through the social media platform to determine the dissemination effect, user attention, etc. of the shared public account content, and then push the public account content to the designated user based on the dissemination effect, user attention, etc. of the shared public account content. However, the user's corresponding interaction parameters for the shared public account content obtained through the social media platform are often not accurate enough, resulting in the business platform being unable to accurately push the public account content to the designated user.
[0004] Therefore, how to improve the accuracy of public account content push is an urgent problem to be solved. Summary of the invention
[0005] This specification provides a data collection method, device, storage medium and electronic device to partially solve the above-mentioned problems existing in the prior art.
[0006] This manual adopts the following technical solutions:
[0007] This specification provides a data collection method, which is applied to a first device in a first platform, wherein user information of a target user saved in the first platform is different from social identity information of the target user in a second platform, and the method includes:
[0008] The first device sends a pre-generated designated link to a terminal device used by the target user, wherein the designated link is used to trigger the target user to browse designated content provided by the first platform on a client corresponding to the second platform;
[0009] receiving an access request sent by the terminal device based on the designated link;
[0010] Generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first device according to the authorization confirmation information;
[0011] According to the actual identity information, the user information corresponding to the target user in the first platform is determined as the target user information, and based on the operation record of the target user for the specified content returned by the second device and the target user information, the task is executed for the target user.
[0012] Optionally, generating the designated link specifically includes:
[0013] Acquire an original link generated by the second device for the specified content;
[0014] At least part of the parameters included in the original link are adjusted to generate the designated link.
[0015] Optionally, generate an authorization link, including:
[0016] An authorization link in a specified format is generated according to preset specified link parameters, wherein the specified link parameters include: parameters for characterizing identification information of the first device and configuration parameters required in the process of obtaining authorization confirmation information from the target user.
[0017] Optionally, displaying the authorization page content corresponding to the authorization link to the target user through the terminal device specifically includes:
[0018] Based on the authorization link, a specified request is sent to the second device, so that the second device displays the authorization page content corresponding to the authorization link to the target user through the client corresponding to the second platform installed on the terminal device according to the specified request.
[0019] Optionally, the specified request includes: a callback address;
[0020] Generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first device according to the authorization confirmation information, specifically including:
[0021] Generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device generates a response code according to the authorization confirmation information, and returns the response code to the first device according to the callback address;
[0022] A data collection request carrying the response code is generated, so that the second device returns the actual identity information corresponding to the social identity information of the target user saved in the second platform to the first device according to the data collection request.
[0023] Optionally, based on the target user's operation record for the designated content and the target user information returned by the second device, performing a task on the target user specifically includes:
[0024] The correspondence between the target user information and the designated link is saved, so as to perform a task on the target user based on the operation record of the target user for the designated content returned by the second device and the correspondence.
[0025] Optionally, based on the target user's operation record for the designated content and the target user information returned by the second device, performing a task on the target user specifically includes:
[0026] A user profile of the target user is constructed based on the designated content corresponding to the designated link and the target user's operation record for the designated content, and tasks are performed on the target user based on the user profile. The user profile is used to characterize at least one of the user's demand information for different businesses and the user's behavioral habits.
[0027] This specification provides a data acquisition device, including:
[0028] A sending module, used to send a pre-generated designated link to a terminal device used by the target user, wherein the designated link is used to trigger the target user to browse designated content provided by the first platform on a client corresponding to the second platform;
[0029] A receiving module, configured to receive an access request sent by the terminal device based on the specified link
[0030] a confirmation module, configured to generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first device according to the authorization confirmation information;
[0031] An execution module is used to determine the user information corresponding to the target user in the first platform according to the actual identity information, as the target user information, and to execute the task for the target user based on the operation record of the target user for the specified content returned by the second device and the target user information.
[0032] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:
[0033] In the data collection method provided in the present specification, the first device in the first platform sends a pre-generated designated link for triggering the target user to browse the designated content provided by the first platform on the client corresponding to the second platform to the terminal device used by the target user, and receives an access request sent by the terminal device based on the designated link, generates an authorization link according to the access request, and displays the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first device according to the authorization confirmation information, determines the user information corresponding to the target user in the first platform according to the actual identity information corresponding to the social identity information saved by the target user in the second platform as the target user information, and performs a task on the target user based on the operation record of the target user for the designated content and the target user information returned by the second device.
[0034] It can be seen from the above method that the first device in the first platform can receive an access request sent by the user for requesting to browse the specified content provided by the first platform on the client corresponding to the second platform through the first device of the first platform when the user identity information saved by the target user in the first platform and the social identity information saved in the second platform are different. The access request can then be transferred through the first device to enable the user to browse the specified content provided by the first platform through the client corresponding to the second platform. During the transfer by the first device, the first device can obtain the user's authorization confirmation information, and then obtain the user's actual identity information based on the user's authorization confirmation information, and then determine the subsequent content push strategy for the user based on the user's actual identity information and the user's reading of the specified content, thereby improving the accuracy of content push. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:
[0036] Figure 1 A schematic diagram of the process of users obtaining specified content provided in this manual;
[0037] Figure 2 A flowchart of a data collection method provided in this specification;
[0038] Figure 3 A schematic diagram of the authorization process provided in this specification;
[0039] Figure 4 A schematic diagram of the process of obtaining the actual identity information provided in this manual;
[0040] Figure 5 A schematic diagram of a data acquisition device provided in this specification;
[0041] Figure 6 A method corresponding to the Figure 1 Schematic diagram of electronic equipment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. 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.
[0043] At present, each social media platform has a huge user base and has introduced many additional functions, such as public accounts and posts, so that each business platform can push news updates, product introductions and other content to users through the above-mentioned additional functions. However, since the social identity information saved by users in the social media platform is different from the user information saved in each business platform, although the business platform can send the link of the specified content to multiple users through the social media platform when publishing the specified content, in order to protect the personal privacy data of users, the social media platform will only feed back feedback data on the specified content, such as the reading volume of the specified content, the approximate number of users who have viewed the specified content, and the social identity information used by users in the social media platform (such as online names, virtual identification information, etc.), to the business platform, so that the business platform cannot determine which user in the business platform is reading the content based on the social identity information saved by these users in the social media platform. Specifically, Figure 1 shown.
[0044] Figure 1 A schematic diagram of the process for users to obtain specified content provided in this manual.
[0045] Combination Figure 1 It can be seen that a user can have multiple different accounts on a social media platform, and each account corresponds to a social identity information, such as social identity information with username a, social identity information with username b, etc., while the user name in the user information used by the user in the business platform may be c. Therefore, the social identity information used by the user in the social media platform and the user information saved in the business platform can both be virtual information, and the social identity information saved by the user in the social media platform is not the same as the user information in the business platform. This makes it impossible for the business platform to know which users of its platform have read the specified content based on the feedback data returned by the social media platform for the specified content, and it is also impossible to determine the content to be pushed to the user based on the user's reading of the specified content on the social media platform.
[0046] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.
[0047] Figure 2 A flow chart of a data collection method provided in this specification includes the following steps:
[0048] S201: The first device sends a pre-generated designated link to a terminal device used by the target user, where the designated link is used to trigger the target user to browse designated content provided by the first platform on a client corresponding to the second platform.
[0049] S202: Receive an access request sent by the terminal device based on the designated link.
[0050] In this specification, the first device in the first platform can take each user of the first platform as the target user, so that the first device can send a pre-generated designated link for triggering browsing of designated content on the client corresponding to the second platform to each user of the first platform, and then receive the access request sent by the user based on the designated link, and determine the reading status of each user of the first platform for the designated content corresponding to the designated link, so as to determine the subsequent push strategy for the designated content.
[0051] For example, based on the reading situation of each user of the first platform for the designated link, it is determined which users of the first platform have accessed the designated content, and then designated links corresponding to other designated content similar to the designated content can be pushed to these users who have accessed the designated content.
[0052] The first platform mentioned above may refer to a business platform composed of a series of tools, services, application program interfaces and business logic components for providing business services to users.
[0053] The first device mentioned above may refer to a designated device such as a server set on the first platform, or may refer to a terminal device such as a mobile phone, a laptop computer, a desktop computer, etc.
[0054] The above-mentioned second platform may refer to a social media platform that provides users with user relationship building, information sharing and interactive communication services on the Internet. The above-mentioned second platform also has a second device. The second device here may refer to a designated device such as a server set up on the second platform, or may refer to terminal devices such as mobile phones, laptops, desktop computers, etc.
[0055] The above-mentioned designated content may refer to content generated by the first device and uploaded to the second device, or content written by the operator of the first device through content editing tools provided by the second platform for interaction with users or used as a medium for operation and promotion, such as: public account articles, short videos, etc.
[0056] The above-mentioned designated link may be generated by the second device. Specifically, after the first device generates the designated content through the content editing tool for generating the designated content provided by the second platform, or after the first device uploads the designated content to the second device, it can obtain the link generated by the second device for the designated content for sending an access request to the second device to access the designated content as the original link, and then adjust at least some of the parameters contained in the original link obtained (that is, adjust the values of at least some of the parameter fields contained in the original link so that the user can send an access request to the first device through the designated link, so as to jump through the first device to access the designated content), and generate the designated link.
[0057] In actual operation, there are many ways for the first device to adjust at least some of the parameters included in the original link. For example, the first device can query the original link for a specified tag for defining the jump address (for example, in the original link in HyperText Markup Language (HTML) format, there is a corresponding Label, which is used to define the jump address), so that the value of the parameter in the specified label can be modified (for example: The target address of the link is changed by using the value of the herf attribute in the tag, so that the user can send an access request to the first device through the specified link.
[0058] In addition, the first device can also use JavaScript for dynamic modification, using methods such as document.getElementById() provided by JavaScript to obtain the element used to define the jump address in the original link, and adjust the parameters in the element used to define the jump address in the original link, so that the user can send an access request to the first device through the specified link.
[0059] It should be noted that in actual application scenarios, the parameters adjusted in the specified link obtained by the above method may conflict with the basic parameters of the second device (for example, the parameter name of the subsequently adjusted parameter in the specified link may be the same as the parameter name of the basic parameter of the second platform, thereby causing a call conflict, etc.). In order to avoid the above situation, the first device can also encode the original link adjusted by the above method to obtain the specified link.
[0060] The method for the first platform to encode the adjusted original link may be to encode the adjusted original link using encoding methods such as Base16, Base64, Uniform Resource Locator (URL) encoding, etc.
[0061] It should be noted that there are multiple methods for sending the specified link to the target user, such as: sending the specified link to the target user via text message, sending the specified link to the target user via email, sending the specified link to the target user through the client provided by the second platform, etc. The following describes these three methods in detail.
[0062] When the first device sends the designated link to the target user via SMS, the first device can send a SMS carrying the designated link to each target user based on the mobile phone number of the target user in the user information contained in the first platform, so that the target user can trigger browsing of the designated content provided by the first platform on the client corresponding to the second platform through the SMS carrying the designated link.
[0063] When the first device sends the designated link to the target user via email, the first device can send an email carrying the designated link to each target user according to the email address in the user information of the target user contained in the first platform, so that the target user can trigger browsing of the designated content provided by the first platform on the client corresponding to the second platform through the email carrying the designated link.
[0064] When the first device sends the designated link to the target user through the client provided by the second platform, the first device can send information carrying the designated link to each target user in the second platform who has a designated relationship with the account used by the first device in the second platform through the instant messaging service provided by the client of the second platform, so that the target user can trigger browsing of the designated content provided by the first platform on the client corresponding to the second platform through the information carrying the designated link. The above-mentioned designated relationship may refer to a target user whose account used in the second platform has a friend relationship with the account used by the first device in the second platform. Of course, the above-mentioned designated relationship may also refer to a target user whose account used in the second platform has a follow, favorite, etc. relationship with the account used by the first device in the second platform.
[0065] S203: Generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information of the target user saved in the second platform to the first device according to the authorization confirmation information.
[0066] In this specification, after receiving the designated link, the target user can perform a click operation on the designated link on the terminal device used by the target user, so that the terminal device sends an access request to the first device.
[0067] After receiving the access request sent by the target user, the first device can generate an authorization link according to the access request, so that the authorization page content corresponding to the authorization link can be displayed to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device returns the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first platform.
[0068] It should be noted that the first device displays the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device can obtain the authorization confirmation information sent by the terminal device, and then the second device can return the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first platform based on the authorization confirmation information. Among them, there may be various situations in the process of the second device obtaining the authorization confirmation information sent by the terminal device, and different situations are explained one by one below.
[0069] The first situation is that the first device generates a text message containing an authorization link, and sends the text message to a terminal device used by a target user, so that the terminal device used by the target user responds to a click operation on the authorization link performed by the target user in the terminal device, and displays the authorization page content corresponding to the authorization link to the target user through the client corresponding to the second platform installed in the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device through the client of the second platform installed on the terminal device.
[0070] Of course, the first device can also generate a text message carrying the above page content based on the page information in the authorization page corresponding to the authorization link, and send the text message carrying the above page content to the terminal device used by the target user, so as to display the page content in the authorization page to the target user through the terminal device used by the target user, and enable the target user to send a text message representing the target user's confirmation of the authorization page to the designated number provided by the second device to perform the confirmation operation, so that the second device can obtain the authorization confirmation information sent by the terminal device.
[0071] The second situation is that the first device generates an email containing an authorization link, and sends the email to the terminal device used by the target user, so that the terminal device used by the target user responds to the click operation of the target user on the authorization link performed in the terminal device, and displays the authorization page content corresponding to the authorization link to the target user through the client corresponding to the second platform installed in the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device through the client of the second platform installed on the terminal device.
[0072] Similarly, the first device can also generate an email carrying the content of the above page based on the page information in the authorization page corresponding to the authorization link, and send the email carrying the above page content to the terminal device used by the target user, so that the page content in the authorization page can be displayed to the target user through the terminal device used by the target user, and the target user can send an email to the designated email address provided by the second device to represent the target user's confirmation of the authorization page, so as to perform the confirmation operation, so that the second device can obtain the authorization confirmation information sent by the terminal device.
[0073] In the third case, after generating the authorization link, the first device can perform a 302 jump based on the authorization link to send a specified request to the second device, so that the second device displays the authorization page content corresponding to the authorization link to the target user through the client corresponding to the second platform installed on the terminal device used by the target user according to the specified request. Figure 3 shown.
[0074] Figure 3 A schematic diagram of the authorization process provided in this specification.
[0075] Combination Figure 3 It can be seen that the first device can send a 302 status code (the 302 status code here indicates that a temporary redirection is currently in progress) and an authorization link to the terminal device used by the target user, so that the terminal device can send a specified request to the second device based on the 302 status code and the authorization link, so that the second device responds to the specified request and returns data used to represent the page content of the authorization page corresponding to the authorization link, and enables the client of the second platform installed in the terminal device used by the target user to render based on the data returned by the second device, obtain the authorization page corresponding to the authorization link, and display the authorization page to the target user, and then can generate authorization confirmation information based on the confirmation operation performed by the target user on the authorization page in the terminal device, and send the authorization confirmation information to the second device, so that the second device obtains the authorization confirmation information sent by the terminal device.
[0076] It should be noted that the method for the first device to generate the authorization link may be to generate an authorization link in a specified format according to preset specified link parameters.
[0077] Among them, the above-mentioned specified link parameters include: parameters used to characterize the identification information of the first platform (for example: the identification information of the account used by the first device in the second platform), and the configuration parameters required in the process of obtaining authorization confirmation information from the target user (for example: determining the callback address for redirection after user authorization, response code, authorization type, request status parameters, etc.).
[0078] The above-mentioned designated format may refer to the designated format specified by the user information authorization (snsapi_userinfo), or may be other pre-agreed link formats.
[0079] It should be noted that after the target user agrees to the authorization, the second device will not directly return the authorization confirmation information to the first device after obtaining the authorization confirmation information, but will redirect the callback address set by the first device in the authorization link, and attach a temporary authorization code (i.e., response code) to the access request for the callback address sent by the second device, so that the first device can obtain the response code by parsing the access request for the callback address sent by the second device, and then obtain the actual identity information corresponding to the user information of the target user stored in the second device from the second device according to the response code, as shown in the following figure. Figure 4 shown.
[0080] Figure 4 This is a schematic diagram of the process of obtaining the actual identity information provided in this manual.
[0081] Combination Figure 4 It can be seen that after obtaining the response code, the first device can send a data collection request carrying the response code to the second device, so that the second device returns the actual identity information corresponding to the social identity information of the target user saved in the second platform according to the data collection request.
[0082] Specifically, the first device can obtain the user information document address provided by the second device, and then send a data collection request carrying a response code according to the above user information document address to obtain the actual identity information of the target user from the second platform.
[0083] Among them, the above-mentioned response code can be a temporary, one-time credential used to enable the first device to access part of the user's information from the second device, such as an authorization code. In other words, the above-mentioned response code can be understood as a key to obtain the actual identity information of the target user.
[0084] The above-mentioned user information document address can be understood as the address of the storage space used to store the actual identity information of the target user.
[0085] In the above content, the method for the first device to obtain the user information document address provided by the second device can be to parse the access request for the callback address sent by the second device to obtain the user information document address carried by the second device when sending the access request for the callback address.
[0086] Of course, the method for the first device to obtain the user information document address provided by the second device may also be to obtain a default user information document address preset by the second device.
[0087] It should be noted that, after the first device obtains the actual identity information of the target user, it can enable the second device to display the designated content to the target user through the client of the second platform installed in the terminal device used by the user.
[0088] S204: Determine the user information corresponding to the target user in the first platform according to the actual identity information as the target user information, and perform tasks on the target user based on the operation record of the target user for the specified content returned by the second device and the target user information.
[0089] After obtaining the actual identity information of the target user, the first device can determine the user information corresponding to the actual identity information in the first platform as the target user information, and execute the task according to the target user information and the operation record of the target user for the specified content returned by the second device.
[0090] The above-mentioned operation record may refer to a record of operations such as clicking, dragging, and staying performed by the target user in the interface where the user displays the designated content.
[0091] Specifically, the first device can determine the correspondence between the target user information and the designated link (if the target user clicks on the designated link to send an access request for the designated link, it can be determined that the above-mentioned correspondence exists between the target user information of the target user and the designated link), and save the correspondence between the target user information and the designated link to determine the designated contents browsed by the target user based on the corresponding relationships related to the target user information of the target user, so that accurate content can be pushed to the target user based on the designated contents browsed by the target user.
[0092] Of course, the first device may also construct a user portrait of the target user according to the designated content corresponding to the designated link and the target user's operation record on the designated content, and determine and push the content to be pushed by the target user according to the user portrait.
[0093] The user portrait is used to characterize at least one of the target user's demand information for different services and the target user's behavioral habits.
[0094] It can be seen from the above content that the first device can receive an access request sent by the user for requesting to browse the specified content provided by the first platform on the client corresponding to the second platform through the first device of the first platform when the user identity information saved by the target user in the first platform and the social identity information saved in the second platform are different. The request can then be transferred through the first device to enable the user to browse the specified content provided by the first platform through the client corresponding to the second platform. During the transfer by the first device, the first device can obtain the user's authorization confirmation information, and then obtain the user's actual identity information from the second platform based on the user's authorization confirmation information, and then determine the subsequent content push strategy for the user based on the user's actual identity information and the user's reading of the specified content, thereby improving the accuracy of content push.
[0095] The above are one or more data collection methods implemented in this specification. Based on the same idea, this specification also provides a corresponding data collection device, such as Figure 5 shown.
[0096] Figure 5 A schematic diagram of a data acquisition device provided in this specification includes:
[0097] A sending module 501 is used to send a pre-generated designated link to a terminal device used by the target user, wherein the designated link is used to trigger the target user to browse designated content provided by the first platform on a client corresponding to the second platform;
[0098] The receiving module 502 is used to receive the access request sent by the terminal device based on the specified link.
[0099] A confirmation module 503 is used to generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first device according to the authorization confirmation information;
[0100] The execution module 504 is used to determine the user information corresponding to the target user in the first platform according to the actual identity information, as the target user information, and perform tasks on the target user based on the operation record of the target user for the specified content returned by the second device and the target user information.
[0101] Optionally, the device further includes: a generating module 505;
[0102] The generating module 505 is specifically configured to obtain an original link generated by the second device for the designated content; and adjust at least part of the parameters included in the original link to generate the designated link.
[0103] Optionally, the generation module 505 is specifically used to generate an authorization link in a specified format according to preset specified link parameters, and the specified link parameters include: parameters for characterizing identification information of the first device and configuration parameters required in the process of obtaining authorization confirmation information from the target user.
[0104] Optionally, the confirmation module 503 is specifically used to send a specified request to the second device based on the authorization link, so that the second device displays the authorization page content corresponding to the authorization link to the target user through the client corresponding to the second platform installed on the terminal device according to the specified request.
[0105] Optionally, the authorization link includes a callback address;
[0106] The confirmation module 503 is specifically used to generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device generates a response code according to the authorization confirmation information, and returns the response code to the first device according to the callback address; generate a data collection request carrying the response code, so that the second device returns the actual identity information corresponding to the social identity information of the target user saved in the second platform to the first device according to the data collection request.
[0107] Optionally, the execution module 504 is specifically used to save the correspondence between the target user information and the designated link, so as to perform the task on the target user based on the operation record of the target user for the designated content returned by the second device and the correspondence.
[0108] Optionally, the execution module 504 is specifically used to build a user profile of the target user based on the designated content corresponding to the designated link and the target user's operation record for the designated content, and perform tasks on the target user based on the user profile, wherein the user profile is used to characterize at least one of the user's demand information for different businesses and the user's behavioral habits.
[0109] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 A data collection method is provided.
[0110] This manual also provides Figure 6 The one shown corresponds to Figure 1 A schematic diagram of the electronic device. Figure 6 As mentioned above, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Of course, in addition to the software implementation, this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0111] For the improvement of a technology, it can be clearly distinguished whether it is a hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or a software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0112] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0113] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0114] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0115] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0116] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0117] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0119] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0120] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0121] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0122] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0123] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0124] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0125] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0126] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.
Claims
1. A data collection method, It is characterized in that The method is applied to a first device in a first platform, wherein user information of a target user saved in the first platform is different from social identity information of the target user in a second platform, and the method includes: The first device sends a pre-generated designated link to a terminal device used by the target user, wherein the designated link is used to trigger the target user to browse designated content provided by the first platform on a client corresponding to the second platform; receiving an access request sent by the terminal device based on the designated link; Generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first device according to the authorization confirmation information; According to the actual identity information, the user information corresponding to the target user in the first platform is determined as the target user information, and based on the operation record of the target user for the specified content returned by the second device and the target user information, the task is executed for the target user.
2. The method according to claim 1, It is characterized in that Generating the designated link specifically includes: Acquire an original link generated by the second device for the specified content; At least part of the parameters included in the original link are adjusted to generate the designated link.
3. The method according to claim 1, It is characterized in that Generate an authorization link, including: An authorization link in a specified format is generated according to preset designated link parameters, wherein the designated link parameters include: parameters for characterizing identification information of the first device and configuration parameters required in the process of obtaining authorization confirmation information from the target user.
4. The method according to claim 1, It is characterized in that Displaying the authorization page content corresponding to the authorization link to the target user through the terminal device specifically includes: Based on the authorization link, a specified request is sent to the second device, so that the second device displays the authorization page content corresponding to the authorization link to the target user through the client corresponding to the second platform installed on the terminal device according to the specified request.
5. The method according to claim 4, It is characterized in that The specified request includes: a callback address; Generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information saved by the target user in the second platform to the first device according to the authorization confirmation information, specifically including: Generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device generates a response code according to the authorization confirmation information, and returns the response code to the first device according to the callback address; A data collection request carrying the response code is generated, so that the second device returns the actual identity information corresponding to the social identity information of the target user saved in the second platform to the first device according to the data collection request.
6. The method according to claim 1, It is characterized in that Based on the operation record of the target user for the specified content and the target user information returned by the second device, performing a task on the target user specifically includes: The correspondence between the target user information and the designated link is saved, so as to perform a task on the target user based on the operation record of the target user for the designated content returned by the second device and the correspondence.
7. The method according to claim 1, It is characterized in that Based on the operation record of the target user for the specified content and the target user information returned by the second device, performing a task on the target user specifically includes: A user profile of the target user is constructed based on the designated content corresponding to the designated link and the target user's operation record for the designated content, and tasks are performed on the target user based on the user profile. The user profile is used to characterize at least one of the user's demand information for different businesses and the user's behavioral habits.
8. A data acquisition device, It is characterized in that include: A sending module, used to send a pre-generated designated link to a terminal device used by a target user, wherein the designated link is used to trigger the target user to browse designated content provided by the first platform on a client corresponding to the second platform; A receiving module, configured to receive an access request sent by the terminal device based on the specified link a confirmation module, configured to generate an authorization link according to the access request, and display the authorization page content corresponding to the authorization link to the target user through the terminal device, so that when the target user performs a confirmation operation based on the authorization page, the second device obtains the authorization confirmation information sent by the terminal device, and returns the actual identity information corresponding to the social identity information of the target user saved in the second platform to the first device according to the authorization confirmation information; An execution module is used to determine the user information corresponding to the target user in the first platform according to the actual identity information, as the target user information, and to execute the task for the target user based on the operation record of the target user for the specified content returned by the second device and the target user information.
9. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method for obtaining goods of trade company for free through sharing
CN105956891A
Motor-pumped well irrigation measurement monitoring and controlling system
CN106228693A
Third-party authorized login method and device
CN110830463A
Network service execution method and device
CN111182030A
Application authorization authentication method and system for 5G message chatboot
CN113747437A
