CN109118291B - User authentication method and device in advertisement task popularization and computer equipment - Google Patents

User authentication method and device in advertisement task popularization and computer equipment Download PDF

Info

Publication number
CN109118291B
CN109118291B CN201810994496.7A CN201810994496A CN109118291B CN 109118291 B CN109118291 B CN 109118291B CN 201810994496 A CN201810994496 A CN 201810994496A CN 109118291 B CN109118291 B CN 109118291B
Authority
CN
China
Prior art keywords
user
user terminal
parameters
advertisement
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810994496.7A
Other languages
Chinese (zh)
Other versions
CN109118291A (en
Inventor
赖奂升
蔡锐涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Youmi Technology Co ltd
Original Assignee
Youmi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Youmi Technology Co ltd filed Critical Youmi Technology Co ltd
Priority to CN201810994496.7A priority Critical patent/CN109118291B/en
Publication of CN109118291A publication Critical patent/CN109118291A/en
Application granted granted Critical
Publication of CN109118291B publication Critical patent/CN109118291B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0269Targeted advertisements based on user profile or attribute
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos

Abstract

The application relates to a user authentication method and device, computer equipment and a storage medium in advertisement task popularization. The method comprises the following steps: receiving an authentication request sent by a user terminal based on an advertisement display page, wherein the authentication request carries a user identifier, establishing a corresponding relation between the user identifier and each parameter of the advertisement identifier corresponding to the advertisement display page, sending a parameter-carrying two-dimensional code corresponding to the advertisement identifier to the user terminal according to the authentication request, receiving the identified parameter after an instant messaging service application platform receives the identification request of the user terminal for the parameter-carrying two-dimensional code, and passing user authentication when the corresponding relation between the user identifier and the parameter is found according to the parameter. By adopting the method, the identity of the user who completes the advertising task can be authenticated.

Description

User authentication method and device in advertisement task popularization and computer equipment
Technical Field
The application relates to the technical field of computers, in particular to a user authentication method and device for advertisement task popularization and computer equipment.
Background
At present, account operation in an instant messaging service application platform has huge business opportunities, and if the operation account is concerned by a large number of common users, a large amount of traffic resources are inevitably attracted, so how to popularize the operation account is a problem considered by an operator. Due to the existence of the credit wall, the popularization of the operation account number becomes simple, and after the common user finishes the advertising task, the user can obtain the corresponding credit return. However, when the network resource is allocated, it is necessary to determine that the user completes the advertisement task to allocate the network resource to the user, but the credit wall and the instant messaging service application platform are independent servers, so that the identity of the user completing the advertisement task in the instant messaging service application platform cannot be located.
Disclosure of Invention
Therefore, in order to solve the technical problem, a method, a device and a computer device for authenticating a user in an advertisement task promotion, which can solve the problem that the identity of the user in the advertisement task cannot be located and completed, are needed.
A user authentication method in advertising task promotion, the method comprising:
receiving an authentication request sent by a user terminal based on an advertisement display page, wherein the authentication request carries a user identifier;
establishing a corresponding relation between the user identification and each parameter of the advertisement identification corresponding to the advertisement display page;
according to the authentication request, sending the two-dimension code with the parameters corresponding to the advertisement identification to a user terminal;
receiving the parameters identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameters;
and when the corresponding relation between the user identification and the parameter is found according to the parameter, the user authentication is passed.
In one embodiment, the method further comprises the following steps: receiving an authentication request sent by a user terminal triggering an advertisement display page; sending a data acquisition request to a user terminal according to the authentication request; and receiving the user identification sent by the user terminal in response to the data acquisition request.
In one embodiment, the method further comprises the following steps: generating random parameters for the advertisement identification, and selecting one of the parameters to generate a scene serial number; sending a two-dimensional code generation request to the instant messaging service application platform according to a preset access token and the scene serial number; and receiving the two-dimension code with the parameter sent by the instant messaging service application platform responding to the two-dimension code generation request.
In one embodiment, the method further comprises the following steps: detecting whether the access token is invalid or not according to the generation time of the access token and preset valid time; and if so, requesting a new access token from the instant messaging service application platform, and recording the generation time of the new access token.
In one embodiment, the method further comprises the following steps: setting a uniform resource locator in the instant messaging service application platform in advance; receiving the parameters sent by the instant messaging service application platform through accessing the uniform resource locator; the parameter is identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameter.
In one embodiment, the method further comprises the following steps: after confirming that the user authentication passes, confirming the user identification which passes the authentication according to the corresponding relation between the parameters and the user identification; and distributing network resources to the user terminal corresponding to the user identifier.
In one embodiment, the advertisement display page is used for promoting a public account to be promoted, and the public account to be promoted and a user of the user terminal are users of the instant messaging service application platform, and further includes: detecting whether a user open type identity mark of a user terminal is sent when an instant messaging service application platform detects that a user of the user terminal pays attention to the public number to be promoted; the open identity mark is used for authenticating the identity of a user of the user terminal in the instant messaging service application platform; and if so, allocating network resources to the user terminal corresponding to the user identifier.
A user authentication apparatus in advertising task promotion, the apparatus comprising:
the system comprises an authentication request module, a service request module and a service request module, wherein the authentication request module is used for receiving an authentication request sent by a user terminal based on an advertisement display page, and the authentication request carries a user identifier;
the mapping module is used for establishing the corresponding relation between the user identification and each parameter of the advertisement identification corresponding to the advertisement display page;
the sending module is used for sending the two-dimensional code with the parameters corresponding to the advertisement identification to the user terminal according to the authentication request;
the receiving module is used for receiving the parameters identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameters;
and the authentication module is used for passing the user authentication when the corresponding relation between the user identification and the parameters is found according to the parameters.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving an authentication request sent by a user terminal based on an advertisement display page, wherein the authentication request carries a user identifier;
establishing a corresponding relation between the user identification and each parameter of the advertisement identification corresponding to the advertisement display page;
according to the authentication request, sending the two-dimension code with the parameters corresponding to the advertisement identification to a user terminal;
receiving the parameters identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameters;
and when the corresponding relation between the user identification and the parameter is found according to the parameter, the user authentication is passed.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving an authentication request sent by a user terminal based on an advertisement display page, wherein the authentication request carries a user identifier;
establishing a corresponding relation between the user identification and each parameter of the advertisement identification corresponding to the advertisement display page;
according to the authentication request, sending the two-dimension code with the parameters corresponding to the advertisement identification to a user terminal;
receiving the parameters identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameters;
and when the corresponding relation between the user identification and the parameter is found according to the parameter, the user authentication is passed.
The user authentication method, the device, the computer equipment and the storage medium in the advertisement task promotion establish the corresponding relation between the user identification and each parameter of the advertisement identification corresponding to the advertisement display page by receiving the authentication request which is sent by the user terminal based on the advertisement display page and carries the user identification; then, according to the authentication request, sending the two-dimension code with the parameters corresponding to the advertisement identification to the user terminal; and finally, receiving the parameters identified by the instant messaging service application platform after receiving the two-dimensional identification request with the parameters from the user terminal, and when the corresponding relation between the user identification and the parameters is found according to the parameters, the user authentication is passed. In the embodiment of the invention, when the advertisement is promoted, the corresponding relation between the user identification and each parameter in the advertisement identification is established, the instant messaging service application platform is utilized to analyze the two-dimensional code with the parameters to obtain the parameter corresponding to the advertisement identification, and the identity of the user is authenticated, so that the identity of the user who completes the advertisement task can be positioned.
Drawings
FIG. 1 is a diagram illustrating an exemplary scenario for user authentication in advertising mission promotion;
FIG. 2 is a flowchart illustrating a user authentication method for advertisement task promotion in one embodiment;
FIG. 3 is a flowchart illustrating the generating step of generating a two-dimensional code with parameters in one embodiment;
FIG. 4 is a flowchart illustrating a user authentication method for advertisement task promotion in another embodiment;
FIG. 5 is a block diagram showing the structure of a user authentication apparatus in advertisement task promotion according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The user authentication method in the advertisement task popularization provided by the application can be applied to the application environment shown in fig. 1. The terminal 102, the server 104 and the instant messaging service application platform 106 are in communication with each other through a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers, the instant messaging service application platform 106 includes a platform server, and the platform server may include an independent server or a server cluster formed by a plurality of servers, and communicates with the terminal 102 and the server 104 through the platform server.
The instant messaging service application platform may be a social platform, such as a micro blog platform, Tencent instant Messenger (TM or QQ), or a WeChat platform.
The server 104 may be a server of a promotion platform, the promotion platform may be a credit wall, and the like, and the promotion platform may be configured to generate an advertisement display page based on an advertisement demand of a client, and at the same time, the promotion platform may send the advertisement display page to the terminal 102 of the user, and display the advertisement display page on a display interface of the terminal 102, and after the user completes a corresponding advertisement task in the terminal 102, may allocate a corresponding network resource to the user.
When the terminal 102 is a mobile phone, when accessing a specific channel, the terminal can receive the advertisement display page, generate an authentication request by triggering the advertisement display page, and obtain corresponding network resources after completing an advertisement task.
When the terminal 102, the server 104 and the instant messaging application platform 106 communicate, the server 104 generates an advertisement display page according to advertisement requirements, and sends the advertisement display page to the terminal 102 through a channel, the terminal 102 generates an authentication request based on the advertisement display page, and sends the authentication request to the server 104, and when the server 104 receives the authentication request, the server 104 obtains a user identifier according to the authentication request, and establishes a corresponding relationship between the user identifier and each parameter in the advertisement identifier corresponding to the advertisement display page. Then, according to the authentication request, the two-dimensional code with the parameter corresponding to the advertisement identifier is sent to the terminal 102, the terminal 102 sends a two-dimensional code identification request with the parameter to the instant messaging service application platform 106, the instant messaging service application platform 106 identifies the two-dimensional code with the parameter according to the two-dimensional code identification request with the parameter to obtain the parameter, the instant messaging service application platform 106 sends the parameter to the server 104, the server 104 inquires the corresponding relation between the user identifier and each parameter in the advertisement identifier according to the parameter, and if the corresponding relation is inquired, the user authentication is passed.
In one embodiment, as shown in fig. 2, a method for authenticating a user in an advertisement task promotion is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step 202, receiving an authentication request sent by a user terminal based on an advertisement display page.
The advertisement display page is a page for displaying advertisements, and the page can be displayed on an interface of the terminal, and the content of the advertisements can be known through the content of the advertisement page.
The authentication request carries a user identifier, the terminal can generate the authentication request based on the advertisement display page, and the user identifier can be equipment information of the user terminal or account information in a channel.
Step 204, establishing a corresponding relation between the user identifier and each parameter of the advertisement identifier corresponding to the advertisement display page.
The advertisement identification is an identification of the advertisement display page, each advertisement display page corresponds to a unique advertisement identification, and the parameter can be a character string or a serial number. When receiving the advertisement identifier and the user identifier in the authentication request, the parameters in the advertisement identifier and the user identifier may be used to establish a corresponding relationship.
And step 206, sending the two-dimension code with the parameters corresponding to the advertisement identification to the user terminal according to the authentication request.
And sending the two-dimensional code with the parameters corresponding to the advertisement identification to the user terminal corresponding to the user identification according to the user identification in the authentication request.
The two-dimensional code with the parameter is one of the two-dimensional codes, and the content in the two-dimensional code can be obtained by analyzing the two-dimensional code with the parameter, and preset parameters, namely a serial number or a character string, can also be obtained.
And 208, receiving the identified parameters after the instant messaging service application platform receives the identification request of the user terminal for the two-dimension code with the parameters.
The instant messaging service application platform can identify the two-dimension code with the parameter and analyze the two-dimension code with the parameter to obtain the parameter in the two-dimension code with the parameter, and the user terminal can send an identification request of the two-dimension code with the parameter to the instant messaging service application platform when receiving the two-dimension code with the parameter.
And step 210, when the corresponding relation between the user identification and the parameter is found according to the parameter, the user authentication is passed.
The user authentication is to authenticate whether the user completes the advertisement task, that is, whether the corresponding relationship between the parameters and the user identifier is stored in the server, so that when the corresponding relationship between the user identifier and the parameters is inquired by using the parameters, the user authentication is completed.
In the user authentication method for advertisement task promotion, the corresponding relation between the user identification and each parameter of the advertisement identification corresponding to the advertisement display page is established by receiving an authentication request which is sent by a user terminal based on the advertisement display page and carries the user identification; then, according to the authentication request, sending the two-dimension code with the parameters corresponding to the advertisement identification to the user terminal; and finally, receiving the parameters identified by the instant messaging service application platform after receiving the two-dimensional identification request with the parameters from the user terminal, and when the corresponding relation between the user identification and the parameters is found according to the parameters, the user authentication is passed. In the embodiment of the invention, when the advertisement is promoted, the corresponding relation between the user identification and each parameter in the advertisement identification is established, the instant messaging service application platform is utilized to analyze the two-dimensional code with the parameters to obtain the parameter corresponding to the advertisement identification, and the identity of the user is authenticated, so that the identity of the user who completes the advertisement task can be positioned.
In an embodiment, the advertisement presentation page may be implemented by using an SDK (Software Development Kit), and the page including the advertisement is presented on a channel interface by calling an application program interface of the channel, where the channel may be any application program, and the promoted advertisement can be seen on the channel interface when the channel is opened by the user terminal.
In one embodiment, the authentication request sent by the user terminal based on the advertisement presentation page may be received by: and receiving an authentication request sent by a user terminal triggering the advertisement display page, sending a data acquisition request to the user terminal according to the authentication request, and receiving a user identifier sent by the user terminal responding to the data acquisition request. According to the embodiment of the invention, the user identification is obtained in the form of the data obtaining request, and the customized user identification can be obtained, so that the uniqueness of the user identification in the server can be realized, the identification accuracy is improved, and the problem that interference possibly exists between the user identifications when other user identifications are adopted is solved.
In another embodiment, the user identifier may be generated by the device information, that is, the user identifier is generated by acquiring the device information of the user terminal. When the user terminal triggers the advertisement display page, a data acquisition request is sent to the user terminal, and then the user terminal sends device information to the server after receiving the data acquisition request, wherein the device information may include: mac address (physical address), IMEI (International Mobile Equipment Identity), device model, and Mobile phone brand. The user identifier may be generated by a combination of the above device information, for example: and generating the user identification by adopting a mode of combining the IMEI and the equipment model. According to the embodiment of the invention, the user identification is generated by adopting the equipment information, so that the uniqueness of the user identification in the server is realized, and the authentication accuracy is improved.
In another embodiment, the corresponding relationship between the user identifier and each parameter of the advertisement identifier corresponding to the advertisement presentation page may be established as follows: when the device information is obtained, the user identification is generated through the combination of the device information, when the advertisement identification is obtained, the parameter corresponding to the advertisement identification is obtained, and the corresponding relation between the user identification and the parameter is established, wherein the corresponding relation is a mapping relation substantially.
Specifically, a user identifier is composed of an IMEI and an equipment model, the IMEI is 866700036045952, and the equipment model is 1801-a01, so that the user identifier may be 866700036045952/1801-a01, then a parameter corresponding to the advertisement identifier is obtained to be 0001, and then a one-to-one mapping relationship between 866700036045952/1801-a01 and 0001 is established, that is, 0001 can be obtained through query by 866700036045952/1801-a01 or 866700036045952/1801-a01 can be obtained through query by 0001. According to the embodiment of the invention, the query during the authentication is facilitated through the establishment of the mapping relation.
In an embodiment, as shown in fig. 3, a flow diagram of a generating step of generating a two-dimensional code with parameters is provided, which includes the following specific steps:
step 302, generating random parameters for the advertisement identification, and selecting one of the parameters to generate a scene serial number.
And step 304, sending a two-dimension code generation request to the instant messaging service application platform according to the preset access token and the scene serial number.
And step 306, receiving the two-dimension code with the parameter sent by the instant messaging service application platform responding to the two-dimension code generation request.
In the embodiment of the invention, the parameter corresponding to the advertisement identifier and the preset access token can be used for generating the parameter-bearing two-dimensional code corresponding to the advertisement identifier, so that the parameter-bearing two-dimensional code can be automatically triggered and generated when the authentication request is received, and the authentication efficiency is improved.
For step 302, in an embodiment, when the instant messaging application platform is a wechat platform, the scene serial number is a scene value ID, the scene value ID includes an ID in a form of a numeric string (scene _ ID) and an ID in a form of a character string (scene _ str), and the scene serial number is an ID in a form of a character string, so that the step of generating the random parameter has no constraint.
For step 304, a plurality of access tokens may be preset in the server, and each access token is used to perform a request for generating a two-dimensional code with parameters once, so that after a plurality of access tokens are set, the access token may be directly obtained without requesting the instant messaging service application platform to generate a token.
In an embodiment, in the instant messaging service application platform, the valid time of the access token may be set, so that in order to ensure that each access token is valid, the generation time of each access token may be detected, and then, through the valid time, whether the access token is invalid or not is calculated, and if the access token is invalid, a new access token needs to be requested from the instant messaging service application platform. According to the embodiment of the invention, each parameter can be ensured to correspondingly generate a two-dimensional code with parameters by detecting the validity of the access token.
In another embodiment, a script program may be provided in the server, the script program being configured to perform the steps of: recording the generation time of each access token, recording the failure time of each access token, traversing the access tokens, calculating whether the difference value between the current time and the generation time exceeds the failure time, if so, deleting the access token by the script program, and requesting a new access token from the instant messaging service application platform. In addition, the script program can also request the instant messaging service application platform to obtain the two-dimensional code with the parameters according to the parameters and the access token.
In an embodiment, it is further required to set a uniform resource locator in the instant messaging service application platform in advance, and then receive a parameter sent by the instant messaging service application platform by accessing the uniform resource locator, where the parameter is a parameter identified by the instant messaging service application platform after receiving a request for identifying the two-dimensional code with parameters from the user terminal. In this embodiment, the uniform resource locator is an address of a port of the server, and after receiving the parameter, the instant messaging service application platform accesses the port by accessing the uniform resource locator, and then sends the parameter to the port of the server.
In another embodiment, the instant messaging service application platform is a wechat platform, a developer account is registered in the wechat platform, then a uniform resource locator is set in the wechat platform, and if the wechat platform receives parameters related to the developer account, the parameters are sent to the server by accessing the uniform resource locator.
In an embodiment, as shown in fig. 4, another flow chart of a user authentication method for advertisement task promotion is provided, which includes the following specific steps:
step 402, searching whether the corresponding relation between the user identification and the parameter exists according to the parameter, and if so, confirming that the user authentication is passed.
And step 404, after the user identification is confirmed to pass the authentication, confirming the user identification passing the authentication according to the corresponding relation between the parameters and the user identification.
Step 406, allocating network resources to the ue corresponding to the ue identifier.
According to the embodiment of the invention, after the user passes the authentication, the user terminal passing the authentication is inquired through the authentication state, so that the network resources are distributed to the user terminal. When the method is applied and popularized, the efficiency of popularization can be increased through the distribution of network resources.
In an embodiment, the network resource may be a score, the score may be used for shopping or exchanging money, and the score is allocated to a user terminal that completes an advertisement task, so that after user authentication, by querying a corresponding relationship between a user identifier and a parameter, it is possible to know which user identifier completes the advertisement task and which advertisement identifier is promoted, which is convenient for statistics of promotion and issuance of the score.
In an embodiment, the advertisement display page is used for popularizing the to-be-promoted public number, the to-be-promoted public number and a user of the user terminal are users of the instant messaging service application platform, before network resources are allocated, whether the user who receives the instant messaging service application platform and detects that the user of the user terminal pays attention to the to-be-promoted public number needs to be detected, and the sent user open identity of the user terminal is used for authenticating the identity of the user terminal in the instant messaging service application platform, and if the user terminal corresponding to the user identity is allocated with the network resources, the user terminal corresponding to the user identity is identified.
In the embodiment of the invention, the advertisement task is to pay attention to the public number to be promoted, and the advertisement display page is used for promoting the public number to be promoted, so that whether a user of the user terminal pays attention to the public number to be promoted or not needs to be authenticated, if the user pays attention to the public number to be promoted, the instant messaging service application platform can acquire the open identity of the user terminal, and then the open identity is sent to the server by accessing the uniform resource locator. When the server receives the open type identity, the server can determine that the user of the user terminal completes the advertisement task, and then network resources are distributed to the user terminal, so that the effectiveness of resource distribution is improved.
In another embodiment, the instant messaging service application platform further sends the open identity of the user to the server, and in addition, the server can acquire historical information of the public number to be promoted, which is concerned by the user, so that the open identity concerned by the history can be acquired. If the network resources are allocated to the user when the public number to be promoted is concerned for the first time, after the open identity is received, whether the open identity exists in the server can be detected according to the open identity, if so, the promotion task is completed inefficiently, and the network resources do not need to be allocated to the user terminal.
In one embodiment, the instant messaging service application platform is a wechat platform, and the wechat platform includes three sub-platforms, which are respectively: the system comprises a micro-letter open platform, a micro-letter public platform and a micro-letter communication service platform. The server is a user of the micro-telecommunication open platform, the public number to be promoted is a user of the micro-telecommunication public platform, and the user of the user terminal is a user of the micro-telecommunication communication service platform. The server binds the public numbers to be promoted on the WeChat open platform, namely the server can obtain the operation information of the public numbers to be promoted on the WeChat public platform. The public number to be promoted provides life service, information service and the like for users of the user terminal in the micro communication service platform. An advertisement task is that a user of a user terminal pays attention to a public number to be promoted, a server acquires promotion requirements of the public number to be promoted, generates an advertisement display page, generates a plurality of two-dimensional codes with parameters based on the advertisement display page, pushes the advertisement display page to the user terminal through a preselected channel, displays the advertisement display page on an interface of the user terminal, sends an authentication request to the server if the advertisement display page is triggered, the authentication request comprises a user identifier, the promotion task is that the public number to be promoted is concerned through the advertisement identifier corresponding to the advertisement display page, then randomly selects one two-dimensional code with parameters corresponding to the public number to be promoted, establishes a corresponding relation between the parameters corresponding to the two-dimensional code with parameters of the public number to be promoted and the user identifier, then pushes the two-dimensional code with parameters to the user terminal according to the user identifier, and the user terminal stores the two-dimensional code with parameters, the method comprises the steps of analyzing a two-dimensional code with parameters in a user terminal through a WeChat communication service platform, and simultaneously executing two steps in the WeChat communication service platform, wherein one step is skipping to an attention interface of a public number to be promoted, and the other step is sending parameters obtained by analyzing the two-dimensional code with parameters to an account number of a server in a WeChat open platform. When the authentication is carried out, whether the corresponding relation between the parameter matching parameter and the user identification exists or not is firstly judged, then whether the historical concern information of the public number to be promoted exists or not is matched with the user terminal through the open type identity identification, if the corresponding relation is matched and the historical concern information does not exist, the authentication is passed, and the server distributes points to the user terminal.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided an advertisement task promotion user authentication apparatus, including: an authentication request module 502, a mapping module 504, a sending module 506, a receiving module 508, and an authentication module 510, wherein:
an authentication request module 502, configured to receive an authentication request sent by a user terminal based on an advertisement display page, where the authentication request carries a user identifier.
The mapping module 504 is configured to establish a correspondence between the user identifier and each parameter of the advertisement identifier corresponding to the advertisement display page.
And a sending module 506, configured to send the two-dimensional code with parameters corresponding to the advertisement identifier to the user terminal according to the authentication request.
The receiving module 508 is configured to receive a parameter identified by the instant messaging service application platform after receiving a request for identifying the two-dimensional code with parameters from the user terminal.
And the authentication module 510 is configured to pass the user authentication when the corresponding relationship between the user identifier and the parameter is found according to the parameter.
In the user authentication device in the advertisement task promotion, an authentication request carrying a user identifier sent by a user terminal based on an advertisement display page is received through an authentication request module 502, and a mapping module 504 establishes a corresponding relation between the user identifier and each parameter of the advertisement identifier corresponding to the advertisement display page; then the sending module 506 sends the two-dimensional code with parameters corresponding to the advertisement identification to the user terminal according to the authentication request; finally, the receiving module 508 receives the parameters identified by the instant messaging service application platform after receiving the request of the user terminal for identifying the two-dimensional code with the parameters, and the authentication module 510 passes the user authentication when finding the corresponding relationship between the user identifier and the parameters according to the parameters. In the embodiment of the invention, when the advertisement is promoted, the corresponding relation between the user identification and each parameter in the advertisement identification is established, the instant messaging service application platform is utilized to analyze the two-dimensional code with the parameters to obtain the parameter corresponding to the advertisement identification, and the identity of the user is authenticated, so that the identity of the user who completes the advertisement task can be positioned.
In an embodiment, the authentication request module 502 is further configured to receive an authentication request sent by a user terminal triggering an advertisement display page; sending a data acquisition request to the user terminal according to the authentication request; and receiving the user identification sent by the user terminal in response to the data acquisition request.
In an embodiment, the system further includes a parameter-bearing two-dimensional code generation module, configured to generate random parameters for the advertisement identifier, select one of the parameters to generate a scene serial number, send a two-dimensional code generation request to the instant messaging service application platform according to a preset access token and the scene serial number, and receive a parameter-bearing two-dimensional code sent by the instant messaging service application platform in response to the two-dimensional code generation request.
In an embodiment, the system further comprises a token detection module, configured to detect whether the access token is invalid according to the generation time of the access token and a preset valid time; and if so, requesting a new access token from the instant messaging service application platform, and recording the generation time of the new access token.
In an embodiment, the receiving module 508 is further configured to set a uniform resource locator in the instant messaging service application platform in advance, and receive a parameter sent by the instant messaging service application platform by accessing the uniform resource locator; the parameter is identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameter.
In an embodiment, the system further includes a resource allocation module, configured to, after the user authentication is confirmed to pass, confirm the user identifier that passes the authentication according to the correspondence between the parameter and the user identifier, and allocate network resources to the user terminal corresponding to the user identifier.
In one embodiment, the advertisement display page is used for popularizing the to-be-promoted public number, the to-be-promoted public number and a user of the user terminal are users of the instant messaging service application platform, and the advertisement display page further comprises a detection module used for detecting whether a user open identity of the user terminal is sent when the instant messaging service application platform detects that the user of the user terminal pays attention to the to-be-promoted public number; the open identity mark is used for authenticating the identity of a user of the user terminal in the instant messaging service application platform; and if so, distributing network resources to the user terminal corresponding to the user identifier.
For specific limitations of the user authentication device in advertisement task promotion, reference may be made to the above limitations of the user authentication method in advertisement task promotion, and details are not described herein again. All or part of each module in the user authentication device in the advertisement task popularization can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data for user authentication. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of user authentication in advertising mission promotion.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory storing a computer program and a processor implementing the steps of the above-described method embodiments when the processor executes the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the respective method embodiment as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A user authentication method in advertisement task promotion is characterized by comprising the following steps:
receiving an authentication request sent by a user terminal based on an advertisement display page, wherein the authentication request carries a user identifier; the advertisement display page is sent to the user terminal through a promotion platform; the user identification is generated by acquiring equipment information of the user terminal;
establishing a corresponding relation between the user identification and each parameter of the advertisement identification corresponding to the advertisement display page;
generating random parameters for the advertisement identification, and selecting one of the parameters to generate a scene serial number;
sending a two-dimensional code generation request to an instant messaging service application platform according to a preset access token and a scene serial number;
receiving a two-dimension code with a parameter sent by the instant messaging service application platform responding to the two-dimension code generation request;
according to the authentication request, sending the two-dimension code with the parameters corresponding to the advertisement identification to a user terminal;
receiving the parameters identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameters;
and when the corresponding relation between the user identification and the parameter is found according to the parameter, the user authentication is passed.
2. The method according to claim 1, wherein the receiving of the authentication request sent by the user terminal based on the advertisement presentation page comprises:
receiving an authentication request sent by a user terminal triggering an advertisement display page;
sending a data acquisition request to a user terminal according to the authentication request;
and receiving the user identification sent by the user terminal in response to the data acquisition request.
3. The method of claim 1, further comprising:
and requesting the instant messaging service application platform to obtain the two-dimensional code with the parameters according to the parameters and the access token.
4. The method of claim 1, further comprising:
detecting whether the access token is invalid or not according to the generation time of the access token and preset valid time;
and if so, requesting a new access token from the instant messaging service application platform, and recording the generation time of the new access token.
5. The method of claim 1, wherein the receiving of the parameters identified by the instant messaging service application platform after receiving the request for identifying the two-dimensional code with parameters from the user terminal comprises:
setting a uniform resource locator in the instant messaging service application platform in advance;
receiving the parameters sent by the instant messaging service application platform through accessing the uniform resource locator; the parameter is identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameter.
6. The method according to any one of claims 1 to 5, further comprising:
after confirming that the user authentication passes, confirming the user identification which passes the authentication according to the corresponding relation between the parameters and the user identification;
and distributing network resources to the user terminal corresponding to the user identifier.
7. The method of claim 6, wherein the advertisement display page is used for promoting a to-be-promoted public number, the to-be-promoted public number and the user of the user terminal are users of an instant messaging service application platform, and before allocating network resources to the user terminal corresponding to the user identifier, the method further comprises:
detecting whether a user open type identity mark of a user terminal is sent when an instant messaging service application platform detects that a user of the user terminal pays attention to the public number to be promoted; the open identity mark is used for authenticating the identity of a user of the user terminal in the instant messaging service application platform;
and if so, allocating network resources to the user terminal corresponding to the user identifier.
8. A user authentication apparatus, the apparatus comprising:
the system comprises an authentication request module, a service request module and a service request module, wherein the authentication request module is used for receiving an authentication request sent by a user terminal based on an advertisement display page, and the authentication request carries a user identifier; the advertisement display page is sent to the user terminal through a promotion platform; the user identification is generated by acquiring equipment information of the user terminal;
the mapping module is used for establishing the corresponding relation between the user identification and each parameter of the advertisement identification corresponding to the advertisement display page;
the parameter-bearing two-dimensional code generation module is used for generating random parameters for the advertisement identification and selecting one of the parameters to generate a scene serial number; sending a two-dimensional code generation request to an instant messaging service application platform according to a preset access token and the scene serial number; receiving a two-dimension code with parameters sent by an instant messaging service application platform responding to the two-dimension code generation request;
the sending module is used for sending the two-dimensional code with the parameters corresponding to the advertisement identification to the user terminal according to the authentication request;
the receiving module is used for receiving the parameters identified by the instant messaging service application platform after receiving the identification request of the user terminal for the two-dimension code with the parameters;
and the authentication module is used for passing the user authentication when the corresponding relation between the user identification and the parameters is found according to the parameters.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201810994496.7A 2018-08-29 2018-08-29 User authentication method and device in advertisement task popularization and computer equipment Active CN109118291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810994496.7A CN109118291B (en) 2018-08-29 2018-08-29 User authentication method and device in advertisement task popularization and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810994496.7A CN109118291B (en) 2018-08-29 2018-08-29 User authentication method and device in advertisement task popularization and computer equipment

Publications (2)

Publication Number Publication Date
CN109118291A CN109118291A (en) 2019-01-01
CN109118291B true CN109118291B (en) 2020-08-25

Family

ID=64861191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810994496.7A Active CN109118291B (en) 2018-08-29 2018-08-29 User authentication method and device in advertisement task popularization and computer equipment

Country Status (1)

Country Link
CN (1) CN109118291B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519392B (en) * 2019-09-09 2022-05-31 浙江大搜车软件技术有限公司 Resource allocation method, device, equipment, readable storage medium and system
CN113011864B (en) * 2021-03-22 2022-12-16 支付宝(杭州)信息技术有限公司 Two-dimensional code generation and verification method, device, equipment and readable medium
CN113377432A (en) * 2021-06-17 2021-09-10 上海臣星软件技术有限公司 Advertisement running method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279881A (en) * 2013-06-04 2013-09-04 北京百度网讯科技有限公司 Method and system for generating two-dimension code, tracking advertisement and carrying out network interactivity
WO2014156982A1 (en) * 2013-03-27 2014-10-02 株式会社デンソーウェーブ Device and method for generating two-dimensional barcode with image
CN104091277A (en) * 2014-06-10 2014-10-08 北京智云众网络科技有限公司 Association method and apparatus for user identity identifications, and advertisement delivery method and apparatus
CN108038522A (en) * 2017-12-11 2018-05-15 武汉卓讯互动信息科技有限公司 A kind of easily information introduction method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014156982A1 (en) * 2013-03-27 2014-10-02 株式会社デンソーウェーブ Device and method for generating two-dimensional barcode with image
CN103279881A (en) * 2013-06-04 2013-09-04 北京百度网讯科技有限公司 Method and system for generating two-dimension code, tracking advertisement and carrying out network interactivity
CN104091277A (en) * 2014-06-10 2014-10-08 北京智云众网络科技有限公司 Association method and apparatus for user identity identifications, and advertisement delivery method and apparatus
CN108038522A (en) * 2017-12-11 2018-05-15 武汉卓讯互动信息科技有限公司 A kind of easily information introduction method and device

Also Published As

Publication number Publication date
CN109118291A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
JP2021524088A (en) Resource migration data management method and equipment, and computer programs
CN109600408B (en) Resource sharing method and device, storage medium and computer equipment
CN110620812B (en) Interactive information pushing method and device, computer equipment and storage medium
US20170351852A1 (en) Identity authentication method, server, and storage medium
CN105207996A (en) Account merging method and apparatus
CN109118291B (en) User authentication method and device in advertisement task popularization and computer equipment
CN106034134B (en) Method, auxiliary method and device for carrying out identity authentication request in webpage application program
EP3413255A1 (en) Electronic payment service processing method and device, and electronic payment method and device
CN110266656B (en) Secret-free authentication identity identification method and device and computer equipment
CN111507717B (en) Data processing method, device, block node and computer readable storage medium
CN109684873B (en) Data access control method and device, computer equipment and storage medium
CN103475484B (en) USB key authentication methods and system
CN110838010B (en) Service processing method, device, terminal, server and storage medium
CN109547426B (en) Service response method and server
CN105553920A (en) Data interaction method, apparatus, and system
CN112559993A (en) Identity authentication method, device and system and electronic equipment
CN111209113A (en) Resource allocation method, device, equipment and storage medium based on intelligent contract
CN108712439B (en) User information management method, device, server and storage medium
CN114119300A (en) Electronic protocol matching method and device, computer equipment and storage medium
CN112468409A (en) Access control method, device, computer equipment and storage medium
CN107645474B (en) Method and device for logging in open platform
CN103415847A (en) A system and method for accessing a service
CN113411284A (en) Account binding method and device, computer equipment and storage medium
CN111224952A (en) Network resource acquisition method and device for directional flow and storage medium
CN112241544A (en) Business system, access method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant