Information generation method, device, electronic device, medium and program product

By establishing an association relationship and login information between the user terminal and the server, the problem of low information generation efficiency of the object processing service platform in the case of abnormal user account login is solved, a more efficient user relationship is established, and the user experience and server are improved. efficiency.

CN115002183BActive Publication Date: 2024-09-20BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210612539.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-09-20
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

During the object processing process, due to the abnormal situation of the target user, the object processing service platform cannot obtain the user relationship in time, resulting in low efficiency of information generation.

Method used

By determining the first user information when the user terminal responds to obtaining the object processing information, and sending it to the server to establish an association with the device information, detecting user account login and generating login information to establish the second user information and the user of the first user information. If the relationship fails, the user relationship will be re-established through object processing confirmation information.

Benefits of technology

The user operation process is reduced, the user experience is improved, and the device information of the user terminal is used as a medium to ensure that user relationships are successfully generated in abnormal login conditions, and the efficiency of the server in generating user relationships is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115002183B
    Figure CN115002183B
Patent Text Reader

Abstract

The present disclosure provides a method, device, electronic device, medium and program product for generating information, which relates to the field of computer technology. The method for generating information includes: in response to obtaining object processing information, determining first user information corresponding to the object processing information; sending the first user information and device information of the user terminal to a server, so that the server establishes an association relationship between the device information and the first user information; after detecting a user account login operation, generating login information according to second user information and device information, and sending the login information to the server, so that the server establishes a user relationship between the second user information and the first user information according to the login information and the association relationship. The present disclosure improves the efficiency of the server in generating user relationships.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] During the object processing process, the object owner can use some means to attract the target user to establish a relationship with the object. For example, the object owner can establish a contractual relationship with the information publishing user. Based on the contractual relationship, the information publishing user can provide object processing information so that the target user can view the information of the processed object through the object processing information.

[0003] In the related art, the object processing service platform, as the service provider of object processing, needs to obtain the user account information of the information publishing user and the user account information of the target user during the process of the target user viewing the object processing information provided by the information publishing user, so as to establish a user relationship between the two, so as to facilitate the object owner to determine the contract income for the information publishing user.

[0004] However, due to various abnormal situations when the target user views the object processing information, the object processing service platform cannot obtain the user relationship in time, resulting in low efficiency in information generation. Summary of the invention

[0005] The present disclosure provides a method, device and system for generating information, so as to at least solve the problem of low efficiency of generating information in the related art. The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, a method for generating information is provided, the method being applied to a user terminal, the method comprising:

[0007] In response to acquiring the object processing information, determining first user information corresponding to the object processing information, where the first user information is user account information that provides the object processing information;

[0008] Sending the first user information and the device information of the user terminal to a server so that the server establishes an association relationship between the device information and the first user information;

[0009] After detecting a user account login operation, login information is generated based on the second user information and the device information, and the login information is sent to the server, so that the server establishes a user relationship between the second user information and the first user information based on the login information and the association relationship, where the second user information is the user account information for logging into the user terminal.

[0010] Optionally, after sending the login information to the server, the method further includes:

[0011] In response to the object processing confirmation operation of the user account, generating object processing confirmation information according to the second user information and the device information;

[0012] The object processing confirmation information is sent to the server, so that when the server determines that the user relationship establishment fails, the server establishes a user relationship between the second user information and the first user information according to the object processing confirmation information and the association relationship.

[0013] Optionally, after sending the first user information and the device information of the user terminal to the server, the method further includes:

[0014] Displaying user account login prompt information, wherein the user account login prompt information is used to prompt the user to log in to the user account in the user terminal;

[0015] According to a second aspect of an embodiment of the present disclosure, a method for generating information is provided, the method being applied to a server, the method comprising:

[0016] receiving first user information and device information of the user terminal sent by a user terminal, and establishing an association relationship between the device information and the first user information, wherein the first user information and the device information of the user terminal are determined by the user terminal in response to obtaining object processing information, and the first user information is user account information that provides the object processing information;

[0017] Receive the login information sent by the user terminal, and establish a user relationship between the second user information and the first user information based on the login information and the association relationship, wherein the login information is generated based on the second user information and the device information after the user terminal detects a user account login operation, and the second user information is the user account information for logging into the user terminal.

[0018] Optionally, after receiving the login information sent by the user terminal, the method further includes:

[0019] receiving object processing confirmation information sent by the user terminal, where the object processing confirmation information is generated by the user terminal in response to an object processing confirmation operation of the user account and based on the second user information and the device information;

[0020] If it is determined that the user relationship establishment fails, a user relationship between the second user information and the first user information is established according to the object processing confirmation information and the association relationship.

[0021] Optionally, if it is determined that the user relationship establishment fails, establishing a user relationship between the second user information and the first user information according to the object processing confirmation information and the association relationship includes:

[0022] Parsing the object processing confirmation information to obtain the second user information and the device information;

[0023] If the user relationship including the second user information does not exist in the user relationship table, determining that the user relationship establishment fails;

[0024] Acquire first user information associated with the device information in the association relationship table;

[0025] A correspondence between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

[0026] Optionally, establishing a user relationship between the second user information and the first user information according to the login information and the association relationship includes:

[0027] Parsing the login information to obtain the second user information and the device information;

[0028] Acquire first user information associated with the device information in the association relationship table;

[0029] A correspondence between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

[0030] According to a third aspect of an embodiment of the present disclosure, a device for generating information is provided, the device being applied to a user terminal, the device comprising:

[0031] a determination module, configured to, in response to acquiring the object processing information, determine first user information corresponding to the object processing information, wherein the first user information is user account information that provides the object processing information;

[0032] a sending module, configured to send the first user information and the device information of the user terminal to a server, so that the server establishes an association relationship between the device information and the first user information;

[0033] The first processing module is configured to generate login information based on the second user information and the device information after detecting a user account login operation, and send the login information to the server, so that the server establishes a user relationship between the second user information and the first user information based on the login information and the association relationship, wherein the second user information is the user account information for logging into the user terminal.

[0034] Optionally, the device further includes a second processing module configured to:

[0035] In response to the object processing confirmation operation of the user account, generating object processing confirmation information according to the second user information and the device information;

[0036] The object processing confirmation information is sent to the server, so that when the server determines that the user relationship establishment fails, the server establishes a user relationship between the second user information and the first user information according to the object processing confirmation information and the association relationship.

[0037] Optionally, the device further includes a display control module configured to:

[0038] Display user account login prompt information, where the user account login prompt information is used to prompt the user to log in to the user account in the user terminal.

[0039] According to a fourth aspect of an embodiment of the present disclosure, a device for generating information is provided, the device being applied to a server, the device comprising:

[0040] a first receiving module, configured to receive first user information and device information of the user terminal sent by a user terminal, and establish an association relationship between the device information and the first user information, wherein the first user information and the device information of the user terminal are determined by the user terminal in response to obtaining object processing information, and the first user information is user account information that provides the object processing information;

[0041] The second receiving module is configured to receive the login information sent by the user terminal, and establish a user relationship between the second user information and the first user information based on the login information and the association relationship, wherein the login information is generated based on the second user information and the device information after the user terminal detects a user account login operation, and the second user information is the user account information for logging into the user terminal.

[0042] Optionally, the device further includes a third receiving module configured to:

[0043] receiving object processing confirmation information sent by the user terminal, where the object processing confirmation information is generated by the user terminal in response to an object processing confirmation operation of the user account and based on the second user information and the device information;

[0044] If it is determined that the user relationship establishment fails, a user relationship between the second user information and the first user information is established according to the object processing confirmation information and the association relationship.

[0045] Optionally, the third receiving module is configured to:

[0046] Parsing the object processing confirmation information to obtain the second user information and the device information;

[0047] If the user relationship including the second user information does not exist in the user relationship table, determining that the user relationship establishment fails;

[0048] Acquire first user information associated with the device information in the association relationship table;

[0049] A correspondence between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

[0050] Optionally, the second receiving module is configured to:

[0051] Parsing the login information to obtain the second user information and the device information;

[0052] Acquire first user information associated with the device information in the association relationship table;

[0053] A correspondence between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

[0054] According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0055] processor;

[0056] a memory for storing instructions executable by the processor;

[0057] The processor is configured to execute the instructions to implement the method for generating information as described in the first aspect or the second aspect.

[0058] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the method for generating information as described in the first aspect or the second aspect.

[0059] According to a seventh aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method for generating information as described in the first aspect or the second aspect is implemented.

[0060] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0061] The disclosed embodiment provides a method, device, electronic device, medium and program product for generating information. The method for generating information can determine the first user information corresponding to the object processing information in response to obtaining the object processing information; send the first user information and the device information of the user terminal to the server so that the server establishes the association relationship between the device information and the first user information; after detecting the user account login operation, generate login information according to the second user information and the device information, and send the login information to the server so that the server establishes the user relationship between the second user information and the first user information according to the login information and the association relationship. On the one hand, it can solve the problem that in the case of abnormal user account login, the user needs to repeat the operation to enable the server to establish the user relationship between the second user information and the first user information, reduce the user's operation process, and improve the user's experience. On the other hand, the server can use the device information of the user terminal as a medium to determine the user relationship between the second user information and the first user information. Even if the object processing service application of the user terminal is in an abnormal login state, the user relationship between the second user information and the first user information can be successfully generated, thereby improving the efficiency of the server in generating user relationships.

[0062] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0064] Figure 1 is an architecture diagram of an information generation system according to an exemplary embodiment;

[0065] Figure 2 is a flow chart of a method for generating information according to an exemplary embodiment;

[0066] Figure 3 The invention is a flowchart of another method for generating information according to an exemplary embodiment.

[0067] Figure 4 is a schematic diagram of an application scenario of a method for generating information according to an exemplary embodiment;

[0068] Figure 5 is an interactive flow chart of a method for generating information according to an exemplary embodiment;

[0069] Figure 6 is a schematic structural diagram of a device for generating information according to an exemplary embodiment;

[0070] Figure 7 is a schematic structural diagram of another information generating device according to an exemplary embodiment;

[0071] Figure 8 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0072] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0073] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0074] During the object processing process, the information publishing user can establish a contractual relationship with the object owner and publish the object processing information that the object owner needs to process. After the target user obtains the object processing information, it is necessary to run the object processing service application (the application of the object processing service platform) according to the object processing information and view the information of the processed object in the object processing service application; the object processing information usually includes the first user information and the object information. Among them, the object can be a commodity or a product, such as a physical commodity or a virtual commodity, etc., the object processing can be the sale of the object, the issuance of the object or the promotion of the object, etc., the first user information is the user account information of the user who provides the object processing information, and it can be understood that the user account information of the user who provides the object processing information can be the user account information of the information publishing user; the information of the processed object can include the appearance, quantity and price of the processed object; the target user is the potential consumer of the object.

[0075] However, in actual application, the object processing service application in the user terminal may have various abnormal situations, for example, the target user has not used the object processing service application for a long time, or, when the target user is running the object processing service application according to the object processing information, the object processing service application fails to run, resulting in the user account being logged out, or the target user is installing the object processing service application for the first time, etc.; at this time, after the target user runs the object processing service application according to the acquired object processing information, the user terminal cannot determine the target user's account information, and the target user needs to first log in to the user account in the object processing service application, re-acquire the object processing information, and run the logged-in object processing service application according to the object processing information. Only then can the user terminal send the first user information and the second user information to the server of the object processing service platform to establish a user relationship between the second user information and the first user information. In this process, the target user needs to repeatedly obtain the object processing information and repeatedly run the object processing service application according to the object processing information, and the target user has a poor user experience; due to these abnormal situations, the server of the object processing service platform cannot establish a user relationship between the second user information and the first user information, and the efficiency of the server in generating user relationships is low. The second user information is the user account information of the logged-in user terminal. It can be understood that the user account information of the logged-in user terminal can be the user account information of the target user.

[0076] In view of the above problems, an exemplary embodiment of the present disclosure provides a method for generating information, and the application scenarios of the method for generating information include but are not limited to: when the object processing service application in the user terminal is in an abnormal state of user account login, the target user obtains the object processing information, and runs the object processing service application according to the object processing information, the user terminal can respond to the object processing information and determine the first user information corresponding to the object processing information; send the first user information and the device information of the user terminal to the server, so that the server establishes an association relationship between the device information and the first user information; after detecting the user account login operation, generate login information according to the second user information and the device information, and send the login information to the server, so that the server establishes a user relationship between the second user information and the first user information according to the login information and the association relationship.

[0077] In order to implement the above-mentioned method for generating information, an exemplary embodiment of the present disclosure provides a system for generating information. Figure 1 A schematic diagram of the system for generating the information is shown in FIG. Figure 1As shown, the information generation system 100 may include a user terminal 110 and a server 120. The user terminal 110 may be a terminal device used by a target user, and the terminal device may be a smart phone, a personal computer, or a tablet computer. The server 120 may be an application of an object processing service platform that can provide object processing services, such as a short video platform, an e-commerce platform, or a music platform. The user terminal 110 and the server 120 may establish a connection through a network.

[0078] Among them, when the object processing service application in the user terminal 110 is in an abnormal login state, the target user can run the object processing service application according to the object processing information. In response to obtaining the object processing information, the user terminal 110 can determine the first user information corresponding to the object processing information; send the first user information and the device information of the user terminal to the server 120. After the server 120 receives the first user information and the device information of the user terminal, it can establish an association relationship between the device information and the first user information; after detecting the user account login operation, the user terminal 110 generates login information according to the second user information and the device information, and sends the login information to the server 120. After receiving the login information, the server 120 can establish a user relationship between the second user information and the first user information based on the login information and the association relationship.

[0079] Figure 2 is a flow chart of a method for generating information according to an exemplary embodiment. Figure 2 As shown, the information generation method is applied to a user terminal, and the information generation method may include the following steps S201 to S203:

[0080] Step S201, in response to obtaining the object processing information, determining first user information corresponding to the object processing information;

[0081] In the embodiment of the present disclosure, when the object processing service application in the user terminal obtains the object processing information, the user account login is abnormal. The first user information is the user account information that provides the object processing information. For example, the first user information represents the identity information of the information publisher that provides the object processing information.

[0082] Step S202, sending the first user information and the device information of the user terminal to the server, so that the server establishes an association relationship between the device information and the first user information;

[0083] Step S203, after detecting the user account login operation, generate login information according to the second user information and the device information, and send the login information to the server, so that the server establishes a user relationship between the second user information and the first user information according to the login information and the association relationship.

[0084] In the embodiment of the present disclosure, the second user information is the user account information of the user terminal that logs in. By way of example, the second user information is used to represent the identity information of the target user that logs in to the user terminal.

[0085] In summary, the information generation method provided by the embodiment of the present disclosure can determine the first user information corresponding to the object processing information in response to the acquisition of the object processing information; send the first user information and the device information of the user terminal to the server so that the server establishes the association relationship between the device information and the first user information; after detecting the user account login operation, generate login information according to the second user information and the device information, and send the login information to the server so that the server establishes the user relationship between the second user information and the first user information according to the login information and the association relationship. On the one hand, it can solve the problem that in the case of abnormal user account login, the user needs to repeat the operation to enable the server to establish the user relationship between the second user information and the first user information, reduce the user's operation process, and improve the user's experience. On the other hand, the server can use the device information of the user terminal as a medium to determine the user relationship between the second user information and the first user information. Even if the object processing service application of the user terminal is in an abnormal login state, the user relationship between the second user information and the first user information can be successfully generated, which improves the efficiency of the server in generating user relationships.

[0086] In an optional embodiment, in the above step S201, the user terminal determines the first user information corresponding to the object processing information in response to obtaining the object processing information.

[0087] In the embodiment of the present disclosure, the object processing information may be a sharing link, a sharing password or a sharing picture of the object, etc., which is not limited in the embodiment of the present disclosure. The process of the user terminal acquiring the object processing information may include: the user terminal responds to a click operation on the sharing link, runs the object processing service application, and acquires the object processing information; or the user terminal responds to inputting the sharing password in the object processing service application, and acquires the object processing information; or the user terminal responds to loading the shared picture in the object processing service application, and acquires the object processing information.

[0088] It should be noted that, in the embodiment of the present disclosure, the object processing information is published by the information publishing user, and the object processing information published by the information publishing user usually includes object information and first user information.

[0089] In an optional implementation, after acquiring the object processing information, the user terminal may parse the object processing information in response to acquiring the object processing information to obtain the first user information in the object processing information, and determine the first user information corresponding to the object processing information.

[0090] In an optional embodiment, in the above step S202, the user terminal sends the first user information and the device information of the user terminal to the server, so that the server establishes an association relationship between the device information and the first user information.

[0091] In the embodiment of the present disclosure, in the case of abnormal login of a user account, the user terminal cannot determine the second user information of the target user. After obtaining the object processing information, the user terminal can send the device information of the user terminal and the first user information corresponding to the object processing information to the server. After the target user logs in to the user account in the object processing service application, the second user information and the device information of the user terminal can be sent to the server, so that the server uses the terminal device as an intermediate medium to establish a user relationship between the second user information and the first user information. The device information can be the identification information for uniquely identifying the user terminal assigned by the server of the object processing service platform when the target user downloads and installs the object processing service application.

[0092] In an optional implementation, the user terminal may send the first user information and the device information of the user terminal to the server, so that the server establishes an association relationship between the device information and the first user information. It is understandable that the server can usually receive the first user information and the device information of the user terminal sent by different user terminals. In order to facilitate information management, for the first user information and the device information sent by each user terminal, the server may store the first user information and the device information in an association relationship table, and the association relationship table stores the device information of different user terminals and the first user information associated with each device information.

[0093] In an optional embodiment, after the user terminal sends the first user information and the device information of the user terminal to the server, the user terminal may also display user account login prompt information, and the user account login prompt information is used to prompt to log in to the user account of the target user in the user terminal, so that the server can receive the login information sent by the user terminal as soon as possible, and establish a user relationship between the second user information and the first user information based on the login information and the association relationship, thereby further improving the efficiency of the service in generating the user relationship between the second user information and the first user information.

[0094] In an optional embodiment, in the above step S203, after detecting the user account login operation, the user terminal generates login information based on the second user information and device information, and sends the login information to the server, so that the server establishes a user relationship between the second user information and the first user information based on the login information and the association relationship.

[0095] In the embodiment of the present disclosure, in order for the server of the object processing service platform to establish a user relationship between the second user information and the first user information using the device information of the user terminal as a medium, after the user terminal detects a user account login operation in the object processing service application, it is also necessary to send the device information of the user terminal to the server.

[0096] In an optional embodiment, after detecting a user account login operation, the user terminal generates login information based on the second user information and device information, and sends the login information to the server, so that the server establishes a user relationship between the second user information and the first user information based on the login information and the association relationship.

[0097] Among them, the process of the server establishing the user relationship between the second user information and the first user information based on the login information and the association relationship may include: parsing the login information to obtain the second user information and the device information; obtaining the first user information associated with the device information in the association relationship table; establishing the corresponding relationship between the second user information and the first user information associated with the device information to obtain the user relationship between the second user information and the first user information. The server can determine the user relationship between the second user information and the first user information using the device information of the user terminal as a medium, ensuring that the object processing service application of the user terminal generates the user relationship between the second user information and the first user information when the user account login is abnormal, reducing the operation process of the target user, improving the user experience of the target user, and improving the efficiency of the server in generating user relationships.

[0098] For example, assume that the association table includes three groups of associations, the first group of associations is: user terminal A1, and the first user information B1 associated with user terminal A1; the second group of associations is: user terminal A2, and the first user information B2 associated with user terminal A2; the third group of associations is: user terminal A3, and the first user information B3 associated with user terminal A3. If the server receives login information, which includes the second user information C1 and device information A1, the server can search the association table, obtain the first user information B1 associated with device information A1, establish a corresponding relationship between the second user information C1 and the first user information B1, and obtain the user relationship between the second user information and the first user information.

[0099] It is understandable that the server can usually receive the first user information and the device information of the user terminal sent by different user terminals. The server needs to establish the association relationship between the first user information and the device information sent by each user terminal. The server also needs to establish the user relationship between multiple second user information and the first user information. In order to facilitate information management, the first user information and the second user information can be stored in a user relationship table, which stores the second user information logged in by different user terminals and the first user information corresponding to each second user information.

[0100] In the embodiment of the present disclosure, after the user terminal detects the user account login operation, in the process of sending the login information to the server, the device information of the user terminal may be lost, resulting in the server being unable to establish the user relationship between the second user information and the first user information based on the login information and the association relationship. In an optional embodiment, after the user terminal sends the login information to the server, the user terminal can also respond to the object processing confirmation operation of the user account, generate object processing confirmation information based on the second user information and the device information; send the object processing confirmation information to the server, so that when the server determines that the user relationship establishment fails, it establishes the user relationship between the second user information and the first user information based on the object processing confirmation information and the association relationship. Among them, the object processing confirmation operation can be an object purchase operation or an order operation. During the object processing process, the device information of the user terminal can be sent to the server again, so that when the server determines that the user relationship establishment fails, the user relationship between the second user information and the first user information is regenerated, which can improve the reliability of the server generating the user relationship.

[0101] Among them, if the server determines that the user relationship establishment fails, the process of establishing the user relationship between the second user information and the first user information according to the object processing confirmation information and the association relationship may include: parsing the object processing confirmation information to obtain the second user information and the device information; if the user relationship containing the second user information does not exist in the user relationship table, determining that the user relationship establishment fails; obtaining the first user information associated with the device information in the association relationship table; establishing the corresponding relationship between the second user information and the first user information associated with the device information, and obtaining the user relationship between the second user information and the first user information. Based on the user relationship table, it can be quickly determined whether the user relationship between the second user information and the first user information exists. When it is determined that the user relationship establishment fails, the user relationship between the second user information and the first user information is regenerated, which can further improve the efficiency of the server in regenerating the user relationship.

[0102] Figure 3 is a flow chart of a method for generating information according to an exemplary embodiment. Figure 3As shown, the information generation method is applied in the server, and the information generation method may include the following steps S301 to S302:

[0103] Step S301: receiving first user information and device information of the user terminal sent by a user terminal, and establishing an association relationship between the device information and the first user information.

[0104] In the embodiment of the present disclosure, the first user information and the device information of the user terminal are determined by the user terminal in response to obtaining the object processing information. When the object processing service application in the user terminal obtains the object processing information, the user account login is in an abnormal state. The first user information is the user account information that provides the object processing information. For example, the first user information represents the identity information of the information publisher that provides the object processing information.

[0105] Step S302: receiving the login information sent by the user terminal, and establishing a user relationship between the second user information and the first user information according to the login information and the association relationship.

[0106] In the embodiment of the present disclosure, the login information is generated according to the second user information and device information after the user terminal detects the user account login operation. The second user information is the user account information of the user terminal that logs in. For example, the second user information is used to represent the identity information of the target user that logs in to the user terminal.

[0107] In summary, the information generation method provided by the embodiment of the present disclosure can receive the first user information sent by the user terminal and the device information of the user terminal, and establish an association relationship between the device information and the first user information, receive the login information sent by the user terminal, and establish a user relationship between the second user information and the first user information based on the login information and the association relationship. On the one hand, it can solve the problem that when the user account login is abnormal, the user needs to repeat the operation to enable the server to establish the user relationship between the second user information and the first user information, thereby reducing the user's operation process and improving the user's experience. On the other hand, the server can use the device information of the user terminal as a medium to determine the user relationship between the second user information and the first user information. Even if the object processing service application of the user terminal is in an abnormal login state, the user relationship between the second user information and the first user information can be successfully generated, thereby improving the efficiency of the server in generating user relationships.

[0108] In an optional embodiment, in the above step S302, the server receives the login information sent by the user terminal, and establishes a user relationship between the second user information and the first user information according to the login information and the association relationship.

[0109] In an optional implementation, the process of establishing the user relationship between the second user information and the first user information based on the login information and the association relationship may include: the process of establishing the user relationship between the second user information and the first user information based on the login information and the association relationship may include: parsing the login information to obtain the second user information and the device information; obtaining the first user information associated with the device information in the association relationship table; establishing the corresponding relationship between the second user information and the first user information associated with the device information to obtain the user relationship between the second user information and the first user information. The server may determine the user relationship between the second user information and the first user information using the device information of the user terminal as a medium, ensuring that the object processing service application of the user terminal can generate the user relationship between the second user information and the first user information in the abnormal login state, thereby reducing the user's operation process, improving the user's experience, and improving the efficiency of the server in generating user relationships.

[0110] In an optional embodiment, in order to further improve the reliability of the server establishing the user relationship between the second user information and the first user information, after receiving the login information sent by the user terminal, the server may also receive the object processing confirmation information sent by the user terminal; if it is determined that the user relationship establishment fails, the user relationship between the second user information and the first user information is established based on the object processing confirmation information and the association relationship. The object processing confirmation information is generated by the user terminal in response to the object processing confirmation operation of the user account based on the second user information and the device information. During the object processing process, the device information sent again by the user terminal can be received, and when it is determined that the user relationship establishment fails, the user relationship between the second user information and the first user information can be regenerated, which can improve the reliability of the server generating the user relationship.

[0111] Among them, if the server determines that the user relationship establishment fails, the process of establishing the user relationship between the second user information and the first user information according to the object processing confirmation information and the association relationship may include: parsing the object processing confirmation information to obtain the second user information and the device information; if the user relationship containing the second user information does not exist in the user relationship table, determining that the user relationship establishment fails; obtaining the first user information associated with the device information in the association relationship table; establishing the corresponding relationship between the second user information and the first user information associated with the device information, and obtaining the user relationship between the second user information and the first user information. Based on the user relationship table, it can be quickly determined whether the user relationship between the second user information and the first user information exists. When it is determined that the user relationship establishment fails, the user relationship between the second user information and the first user information is regenerated, which can further improve the efficiency of the server in regenerating the user relationship.

[0112] Figure 4 is a schematic diagram of an application scenario of a method for generating information according to an exemplary embodiment. Figure 4 In the application scenario diagram of the information generation method shown, user relationships can be generated through three stages, the first stage is the first user information receiving stage, the second stage is the user login stage. The third stage is the object processing stage. Among them, there are scenarios in which a large number of user terminals send data to the server of the object processing service platform at each stage. In order to realize the specialization of the data processing process at each stage, improve the data processing efficiency at different stages and reduce data congestion, the object processing service platform can obtain data at each stage based on the middle platform technology and Kafka technology; at the same time, each stage may receive different data at the same time or time.

[0113] Among them, in the first stage, the object processing service application of the user terminal 401 obtains object processing information, and the object processing information may include a sharing link 4021, a sharing password 4022 or a sharing picture 4023. The user terminal 401 determines the first user information corresponding to the object processing information, and generates an information data packet according to the first user information and the device information of the user terminal, and sends the information data packet to the sharing middle station 403. The sharing middle station 403 can parse the information data packet to determine the first user information and the device information of the user terminal, and send the first user information and the device information of the user terminal to the first Kafka platform 404. The first Kafka platform 404 can push the first user information and the device information of the user terminal to the server 120 of the object processing service platform in chronological order. The server 120 can establish an association relationship between the first user information and the device information of the user terminal, and store the association relationship in the database of the server 120.

[0114] In the second stage, the object processing service application of the user terminal 401 can respond to the login operation of the target user, generate login information according to the device information of the user terminal and the second user information, and send the login information to the user middle station 406. The user middle station 407 can determine the second user information and the device information of the user terminal in the login information, and send the second user information and the device information of the user terminal to the second Kafka platform 407. The second Kafka platform 407 can push the second user information and the device information of the user terminal to the server 120 of the object processing service platform in chronological order. The server 120 can establish a user relationship between the second user information and the first user information according to the second user information and the device information of the user terminal, as well as the association established in the first stage, and store the user relationship in the database of the server 120.

[0115] In the third stage, the object processing service application of the user terminal 401 can respond to the object processing confirmation operation of the target user, generate object processing confirmation information according to the device information of the user terminal and the second user information, and send the object processing confirmation information to the transaction platform 408. The transaction platform 408 can determine the second user information and the device information of the user terminal in the object processing confirmation information, and push the second user information and the device information of the user terminal to the server 120 of the object processing service platform. When it is determined that the user relationship establishment in the second stage has failed, the server 120 can re-establish the user relationship between the second user information and the first user information according to the second user information and the device information of the user terminal, as well as the association relationship established in the first stage, and store the user relationship in the database of the server 120.

[0116] In an optional implementation, based on the schematic diagram of the application scenario of the method for generating information in the above embodiment, the embodiment of the present disclosure provides an interactive flow chart of the method for generating information, such as Figure 5 As shown, the method for generating the information may include steps S501 to S509:

[0117] Step 501: In response to obtaining the object processing information, the user terminal determines the first user information corresponding to the object processing information, generates an information data packet according to the first user information and the device information of the user terminal, and sends the information data packet to the sharing middle station;

[0118] Step 502, the sharing center parses the information data packet to determine the first user information and the device information of the user terminal, and sends the first user information and the device information of the user terminal to the server of the object processing service platform;

[0119] Step 503: The server of the object processing service platform may establish and store an association relationship between the first user information and the device information of the user terminal;

[0120] Step 504: the user terminal generates login information according to the device information of the user terminal and the second user information in response to the user's login operation, and sends the login information to the user middle station;

[0121] Step 505: the user middle station determines the second user information and the device information of the user terminal in the login information, and sends the second user information and the device information of the user terminal to the server of the object processing service platform;

[0122] Step 506, the server of the object processing service platform establishes a user relationship between the second user information and the first user information according to the second user information and the device information of the user terminal, and the association relationship generated in the above step 503;

[0123] Step 507: the user terminal generates object processing confirmation information according to the device information of the user terminal and the second user information in response to the object processing confirmation operation of the target user, and sends the object processing confirmation information to the transaction platform;

[0124] Step 508, the transaction platform determines the second user information and the device information of the user terminal in the object processing confirmation information, and pushes the second user information and the device information of the user terminal to the server of the object processing service platform;

[0125] Step 509, when the server of the object processing service platform determines that the user relationship establishment in the second stage fails, it re-establishes the user relationship between the second user information and the first user information according to the second user information and the device information of the user terminal, and the association relationship generated in the above step 503.

[0126] Figure 6 is a device for generating information according to an exemplary embodiment, and the device for generating information is applied to a user terminal, such as Figure 6 As shown, the information generating device 600 includes:

[0127] The determination module 601 is configured to, in response to obtaining the object processing information, determine first user information corresponding to the object processing information, where the first user information is user account information that provides the object processing information;

[0128] The sending module 602 is configured to send the first user information and the device information of the user terminal to the server, so that the server establishes an association relationship between the device information and the first user information;

[0129] The first processing module 603 is configured to generate login information based on the second user information and device information after detecting a user account login operation, and send the login information to the server, so that the server establishes a user relationship between the second user information and the first user information based on the login information and the association relationship, and the second user information is the user account information of the login user terminal.

[0130] Optional, such as Figure 6 As shown, the information generating device 600 further includes a second processing module 604 configured to:

[0131] In response to the object processing confirmation operation of the user account, generating object processing confirmation information according to the second user information and the device information;

[0132] The object processing confirmation information is sent to the server, so that when the server determines that the user relationship establishment fails, the server establishes a user relationship between the second user information and the first user information according to the object processing confirmation information and the association relationship.

[0133] Optional, such as Figure 6 As shown, the information generating device 600 further includes a display control module 605, which is configured to:

[0134] Displays user account login prompt information, which is used to prompt the user to log in to the user account in the user terminal.

[0135] Figure 7 is a device for generating information according to an exemplary embodiment, and the device for generating information is applied to a server, such as Figure 7 As shown, the information generating device 700 includes:

[0136] The first receiving module 701 is configured to receive first user information and device information of the user terminal sent by the user terminal, and establish an association relationship between the device information and the first user information, wherein the first user information and the device information of the user terminal are determined by the user terminal in response to obtaining the object processing information, and the first user information is the user account information that provides the object processing information;

[0137] The second receiving module 702 is configured to receive the login information sent by the user terminal, and establish a user relationship between the second user information and the first user information based on the login information and the association relationship. The login information is generated based on the second user information and device information after the user terminal detects the user account login operation. The second user information is the user account information of the logged-in user terminal.

[0138] Optional, such as Figure 7 As shown, the information generating device 700 further includes a third receiving module 703, which is configured to:

[0139] Receiving object processing confirmation information sent by the user terminal, where the object processing confirmation information is generated by the user terminal in response to an object processing confirmation operation of the user account and based on the second user information and the device information;

[0140] If it is determined that the user relationship establishment fails, a user relationship between the second user information and the first user information is established according to the object processing confirmation information and the association relationship.

[0141] Optionally, the third receiving module 703 is configured to:

[0142] Parsing the object to process the confirmation information to obtain the second user information and device information;

[0143] If the user relationship table does not contain the second user information, it is determined that the user relationship establishment fails;

[0144] Acquire first user information associated with the device information in the association relationship table;

[0145] A corresponding relationship between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

[0146] Optionally, the second receiving module 702 is configured to:

[0147] Parsing the login information to obtain the second user information and device information;

[0148] Acquire first user information associated with the device information in the association relationship table;

[0149] A corresponding relationship between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

[0150] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0151] The exemplary embodiment of the present disclosure also provides an electronic device, which may be a user terminal or a database server. Figure 8 The electronic device is described. It should be understood that the following reference Figure 8 The electronic device is described. It should be understood that Figure 8 The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0152] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include but are not limited to: at least one processing unit 810, at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).

[0153] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 performs the steps of various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 810 can perform the following steps: Figure 2 The method steps shown, etc.

[0154] The storage unit 820 may include a volatile storage unit, such as a random access storage unit (RAM) 821 and / or a cache storage unit 822 , and may further include a read-only storage unit (ROM) 823 .

[0155] The storage unit 820 may also include a program / utility 824 having a set (at least one) of program modules 825, such program modules 825 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0156] The bus 830 may include a data bus, an address bus, and a control bus.

[0157] The electronic device 800 may also communicate with one or more external devices 900 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), and such communication may be performed via an input / output (I / O) interface 840. The electronic device 800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 880. As shown, the network adapter 880 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0158] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0159] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or implementations combining hardware and software aspects, which may be collectively referred to herein as "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0160] In addition, the present disclosure also provides a computer-readable storage medium. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the method for generating information provided in the above embodiments.

[0161] In addition, the present disclosure also provides a computer program product, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method for generating information provided in the above embodiments.

[0162] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0163] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for generating information, characterized in that: The method is applied to a user terminal, and the method comprises: In response to acquiring the object processing information, determining first user information corresponding to the object processing information, where the first user information is user account information that provides the object processing information; Sending the first user information and the device information of the user terminal to a server so that the server establishes an association relationship between the device information and the first user information, wherein the device information is identification information assigned by the server of the object processing service platform to the target user during the process of downloading and installing the object processing service application and used to uniquely identify the user terminal; After detecting a user account login operation, generate login information according to the second user information and the device information, and send the login information to the server, so that the server establishes a user relationship between the second user information and the first user information according to the login information and the association relationship, where the second user information is user account information for logging into the user terminal; In response to the object processing confirmation operation, generating object processing confirmation information according to the second user information and the device information; The object processing confirmation information is sent to the server, so that when the server determines that the user relationship establishment fails, the server establishes a user relationship between the second user information in the order information and the first user information according to the object processing confirmation information and the association relationship.

2. The method for generating information according to claim 1, characterized in that: After sending the first user information and the device information of the user terminal to the server, the method further includes: Display user account login prompt information, where the user account login prompt information is used to prompt the user to log in to the user account in the user terminal.

3. A method for generating information, characterized in that: The method is applied to a server, and the method comprises: receiving first user information and device information of the user terminal sent by a user terminal, and establishing an association relationship between the device information and the first user information, wherein the first user information is determined by the user terminal in response to obtaining the object processing information, the first user information is user account information that provides the object processing information, and the device information is identification information that is allocated by a server of an object processing service platform during the process of a target user downloading and installing an object processing service application and is used to uniquely identify the user terminal; receiving login information sent by the user terminal, and establishing a user relationship between the second user information and the first user information according to the login information and the association relationship, wherein the login information is generated according to the second user information and the device information after the user terminal detects a user account login operation, and the second user information is user account information for logging into the user terminal; receiving object processing confirmation information sent by the user terminal, where the object processing confirmation information is generated by the user terminal in response to an object processing confirmation operation of the user account and based on the second user information and the device information; If it is determined that the user relationship establishment fails, a user relationship between the second user information and the first user information is established according to the object processing confirmation information and the association relationship.

4. The method for generating information according to claim 3, characterized in that: If it is determined that the user relationship establishment fails, establishing a user relationship between the second user information and the first user information according to the object processing confirmation information and the association relationship, including: If the user relationship including the second user information does not exist in the user relationship table, determining that the user relationship establishment fails; Acquire first user information associated with the device information in the association relationship table; A correspondence between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

5. The method for generating information according to claim 3, characterized in that: The establishing a user relationship between the second user information and the first user information according to the login information and the association relationship includes: Parsing the login information to obtain the second user information and the device information; Acquire first user information associated with the device information in the association relationship table; A correspondence between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

6. An information generating device, characterized in that: The device is applied to a user terminal, and the device includes: a determination module, configured to, in response to acquiring the object processing information, determine first user information corresponding to the object processing information, wherein the first user information is user account information that provides the object processing information; a sending module, configured to send the first user information and the device information of the user terminal to a server, so that the server establishes an association relationship between the device information and the first user information, wherein the device information is identification information assigned by the server of the object processing service platform to the target user during the process of downloading and installing the object processing service application, and is used to uniquely identify the user terminal; A first processing module is configured to, after detecting a user account login operation, generate login information according to the second user information and the device information, and send the login information to the server, so that the server establishes a user relationship between the second user information and the first user information according to the login information and the association relationship, wherein the second user information is user account information for logging into the user terminal; The second processing module is configured to generate object processing confirmation information according to the second user information and the device information in response to the object processing confirmation operation of the user account; and send the object processing confirmation information to the server so that when the server determines that the user relationship establishment fails, the server establishes a user relationship between the second user information and the first user information according to the object processing confirmation information and the association relationship.

7. The information generating device according to claim 6, characterized in that: The device also includes a display control module configured to: Display user account login prompt information, where the user account login prompt information is used to prompt the user to log in to the user account in the user terminal.

8. An information generating device, characterized in that: The device is applied to a server, and comprises: a first receiving module, configured to receive first user information and device information of the user terminal sent by a user terminal, and establish an association relationship between the device information and the first user information, wherein the first user information and the device information of the user terminal are determined by the user terminal in response to obtaining object processing information, the first user information is user account information that provides the object processing information, and the device information is identification information that is allocated by a server of an object processing service platform during a process of a target user downloading and installing an object processing service application and is used to uniquely identify the user terminal; a second receiving module, configured to receive login information sent by the user terminal, and establish a user relationship between the second user information and the first user information according to the login information and the association relationship, wherein the login information is generated according to the second user information and the device information after the user terminal detects a user account login operation, and the second user information is user account information for logging into the user terminal; The third receiving module is configured to receive object processing confirmation information sent by the user terminal, where the object processing confirmation information is generated by the user terminal in response to the object processing confirmation operation of the user account based on the second user information and the device information; if it is determined that the user relationship establishment fails, then a user relationship between the second user information and the first user information is established based on the object processing confirmation information and the association relationship.

9. The information generating device according to claim 8, characterized in that: The third receiving module is configured as follows: Parsing the object processing confirmation information to obtain the second user information and the device information; If the user relationship including the second user information does not exist in the user relationship table, determining that the user relationship establishment fails; Acquire first user information associated with the device information in the association relationship table; A correspondence between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

10. The information generating device according to claim 8, characterized in that: The second receiving module is configured as follows: Parsing the login information to obtain the second user information and the device information; Acquire first user information associated with the device information in the association relationship table; A correspondence between the second user information and the first user information associated with the device information is established to obtain a user relationship between the second user information and the first user information.

11. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method for generating information as described in any one of claims 1 to 2 or claims 3 to 5.

12. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for generating information as claimed in any one of claims 1 to 2 or claims 3 to 5.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating information according to any one of claims 1 to 2 or claims 3 to 5 is implemented.

Citation Information

Patent Citations

  • Method and device for establishing association relationship and computer readable storage medium

    CN110460578A

  • Account registration and login method and device, electronic equipment and readable storage medium

    CN111444551A

  • Application promotion tracking method and device, server, equipment and medium

    CN113763008A