Disclosure of Invention
Therefore, the invention provides an information pushing method, information provider equipment and an information owner terminal, and aims to solve the problems of poor information pushing effect and poor user experience caused by unreasonable information pushing method in the prior art.
In order to achieve the above object, a first aspect of the present invention provides an information pushing method, including:
when a first information watching request sent by a user terminal is received, pushing second information to the user terminal;
when the second information pushing is finished, obtaining keyword information signed by the user terminal from the user terminal;
if the keyword information meets a preset condition, the keyword information is signed and then broadcasted to a block chain network;
and pushing first information corresponding to the first information watching request to the user terminal.
In some embodiments, after the obtaining of the keyword information signed by the user terminal to the user terminal, the method further comprises:
if the keyword information does not meet the preset condition, pushing second information to the user terminal;
and when the second information pushing is finished, obtaining the keyword information signed by the user terminal from the user terminal.
In some embodiments, the keyword information satisfies a preset condition, including:
the keyword information is consistent with the keyword information of the second information recorded in the blockchain network, wherein the keyword information of the second information recorded in the blockchain network is obtained after the second information owner terminal and the device sign respectively.
In order to achieve the above object, a second aspect of the present invention provides an information pushing method, including:
receiving keyword information respectively signed by a user terminal and a first information provider device, which is broadcast by the first information provider device in a blockchain network;
determining the keyword information of the same second information in a preset period, and determining a transaction parameter according to the keyword information of the same second information in the preset period;
the transaction parameter is signed and then sent to the first information provider device, so that the first information provider device broadcasts the transaction parameter to the block chain network after signing;
and after the first information provider equipment signs the transaction parameters and broadcasts the signed transaction parameters to the blockchain network, calculating third information according to the transaction parameters.
In some embodiments, the determining transaction parameters according to the keyword information of the same second information in a preset period includes:
determining the number m of user terminals submitting the keyword information of the same second information;
determining the number q of the keyword information of the same second information;
calculating the average times n of submitting the keyword information by each user terminal according to m and q;
the transaction parameters include m and n.
In some embodiments, after the determining the number q of the keyword information of the same second information and before the calculating the average number n of times each user terminal submits the keyword information according to m and q, the method further includes:
screening the q according to the time when the user terminal submits the keyword information of the same second information and the user terminal submitting the keyword information of the same second information;
the calculating the average times n of submitting the keyword information by each user terminal according to m and q comprises the following steps: and calculating the average times n of submitting the keyword information by each user terminal according to m and the screened q.
In order to achieve the above object, a third aspect of the present invention provides a first information provider apparatus comprising:
the pushing module is used for pushing second information to the user terminal when receiving a first information watching request sent by the user terminal; the first information corresponding to the first information watching request is pushed to the user terminal;
the acquisition module is used for acquiring the keyword information signed by the user terminal from the user terminal when the pushing of the second information is finished;
and the broadcasting module is used for signing the keyword information and then broadcasting the signed keyword information to the block chain network if the keyword information meets the preset condition.
In some embodiments, the pushing module is further configured to push second information to the user terminal if the keyword information does not satisfy a preset condition.
In some embodiments, the keyword information satisfies a preset condition, including:
the keyword information is consistent with the keyword information of the second information recorded in the blockchain network, wherein the keyword information of the second information recorded in the blockchain network is obtained after the second information owner terminal and the device sign respectively.
In order to achieve the above object, a fourth aspect of the present invention provides a second information owner terminal, comprising:
the receiving module is used for receiving keyword information which is broadcasted by first information provider equipment in a blockchain network and respectively signed by a user terminal and the first information provider equipment;
the processing module is used for determining the keyword information of the same second information in a preset period and determining transaction parameters according to the keyword information of the same second information in the preset period;
the sending module is used for sending the signed transaction parameter to the first information provider equipment so that the first information provider equipment broadcasts the signed transaction parameter to the block chain network;
and the calculation module is used for calculating third information according to the transaction parameters after the first information provider equipment signs the transaction parameters and broadcasts the signed transaction parameters to the blockchain network.
The invention has the following advantages:
according to the information pushing method provided by the embodiment of the invention, when a first information viewing request sent by a user terminal is received, second information is pushed to the user terminal, when the pushing of the second information is finished, keyword information signed by the user terminal is obtained from the user terminal, and under the condition that the keyword information meets the preset condition, the signed keyword information is broadcasted to the block chain network and the first information corresponding to the first information viewing request is pushed to the user terminal. Meanwhile, the first information provider device does not need to extend the pushing time of the second information so as to obtain the cost for the second information owner terminal, and the user can spend less time to watch the second information, so that the user experience can be improved.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
An embodiment of the present invention provides an information pushing method, which may be applied to a first information provider device, and as shown in fig. 1, the method may include the following steps:
and 11, when receiving a first information viewing request sent by the user terminal, pushing second information to the user terminal.
For example, the first information may be non-advertising video information, the second information may be advertising information, and the first information provider device may be owned by a video service provider. When the first information provider device receives a video information viewing request sent by the user terminal, the first information provider device can firstly push advertisement information to the user terminal.
It should be noted that the first information and the second information may also be other types of information, such as text, audio, and the like, which is not specifically limited in the embodiment of the present invention, that is, the method may be applied to any scene that needs to ensure the pushing effect of the second information.
And step 12, when the second information pushing is finished, obtaining the keyword information signed by the user terminal from the user terminal.
When the pushing of the advertisement information is completed, the first information provider device may prompt the user terminal to return the keyword information, and the user terminal may prompt the user to input the keyword information in the advertisement information and return the keyword information input by the user to the first information provider device.
And step 13, if the keyword information meets the preset condition, signing the keyword information and then broadcasting the signed keyword information to the block chain network.
The first information provider device can judge whether the keyword information returned by the user terminal meets a preset condition, and when the keyword information meets the preset condition, the keyword information is signed and then broadcasted to the blockchain network.
And step 14, pushing the first information corresponding to the first information watching request to the user terminal.
Because the keyword information returned by the user terminal meets the preset condition, the first information provider equipment can start to push the video information requested to be watched to the user terminal.
As can be seen from steps 11 to 14, in the information push method provided in the embodiment of the present invention, when a first information viewing request sent by a user terminal is received, second information is pushed to the user terminal, when the pushing of the second information is completed, keyword information signed by the user terminal is obtained from the user terminal, and when the keyword information meets a preset condition, the signed keyword information is broadcasted to a block chain network and first information corresponding to the first information viewing request is pushed to the user terminal. Meanwhile, the first information provider device does not need to extend the pushing time of the second information so as to obtain the cost for the second information owner terminal, and the user can spend less time to watch the second information, so that the user experience can be improved.
In some embodiments, after obtaining the keyword information signed by the user terminal from the user terminal (i.e., step 12), as shown in fig. 2, the method may further include the steps of:
and step 15, if the keyword information does not meet the preset condition, pushing second information to the user terminal.
Correspondingly, when the second information pushing is finished, the keyword information signed by the user terminal is acquired from the user terminal. That is, after the step 15 is performed, the step 12 is performed again until the keyword information acquired to the user terminal satisfies the preset condition.
The second information pushed to the user terminal in step 15 may be the same as or different from the second information pushed to the user terminal in step 11; the second information pushed to the user terminal each time step 15 is executed may be the same or different; when the second information is different, the different second information may be provided by the same second information owner terminal or may be provided by different second information owner terminals.
It should be noted that, if the number of times that the keyword information does not satisfy the preset condition exceeds the preset threshold, that is, if the number of times that the first information provider device executes step 15 exceeds the preset threshold, the first information provider device may also push the video information requested to be watched to the user terminal, so as to avoid that the user terminal cannot watch the video information requested by the user terminal all the time, which affects user experience.
As can be seen from steps 11 to 15, in the information push method provided in the embodiment of the present invention, when a first information viewing request sent by a user terminal is received, second information is pushed to the user terminal, when the pushing of the second information is completed, keyword information signed by the user terminal is obtained from the user terminal, and when the keyword information does not satisfy a preset condition, a first information provider device may continuously push the second information to the user terminal until the keyword information obtained from the user terminal satisfies the preset condition. Meanwhile, the first information provider device does not need to extend the pushing time of the second information so as to obtain the cost for the second information owner terminal, and the user can spend less time to watch the second information, so that the user experience can be improved.
In some embodiments, the keyword information satisfies a preset condition, which may include: the keyword information is consistent with the keyword information of the second information recorded in the blockchain network, wherein the keyword information of the second information recorded in the blockchain network is obtained after the second information owner terminal and the device sign respectively.
When the second information owner terminal releases the second information to the first information provider device, the keyword information of the second information can be preset, the keyword information is signed and then sent to the first information provider device, and the first information provider device signs the keyword information and then broadcasts the keyword information to the blockchain network. When the keyword information signed by the user terminal and acquired from the user terminal is consistent with the keyword information which is broadcasted after being respectively signed by the second information owner terminal and the first information provider equipment in the block chain network, the keyword input by the user is correct, and therefore the fact that the user actually watches the second information can be explained.
For example, the second information owner terminal and the first information provider device may be an advertiser S and a video service provider P, respectively, the second information and the second information may be advertisement information and video information, respectively, S puts the advertisement information into P, a keyword sentence is inserted into the advertisement information, S may calculate a hash value H of the keyword sentence, signs H and then sends it to P, and P also signs H and broadcasts it to the blockchain network. The keyword information signed by the user terminal and acquired from the user terminal can be sent after calculating a hash value for a keyword sentence input by the user terminal and signing, and when the keyword hash value returned by the user terminal is consistent with H in the block chain network, the keyword information signed by the user terminal and acquired from the user terminal can be considered to meet a preset condition.
The following uses a piece of pseudo code to briefly describe the above embodiments of S and P. When P receives a video information viewing request sent by a user terminal U, the process that P executes the steps 11-15 is as follows:
in other words, if the keyword information submitted by U for consecutive max times is incorrect, P will not push the advertisement information to U, but push the video information requested to be watched by U. j may be an identifier of advertisement information, and advertisement information corresponding to j 1 and j 2 … … j max may be provided by S, or may be provided by S and another advertiser different from S.
An embodiment of the present invention provides an information pushing method, which may be applied to a second information owner terminal, and as shown in fig. 3, the method may include the following steps:
step 21, receiving keyword information respectively signed by the user terminal and the first information provider device and broadcasted by the first information provider device in the blockchain network.
And step 22, determining the keyword information of the same second information in a preset period, and determining the transaction parameters according to the keyword information of the same second information in the preset period.
The second information owner terminal may collect all keyword information about the same second information in the period at a preset time, and determine a transaction parameter for transacting the second information fee according to the keyword information.
It should be noted that different second information owner terminals may respectively determine the keyword information corresponding to the same second information belonging to the terminal in a preset period, so as to determine the transaction parameters.
And step 23, sending the transaction parameter signature to the first information provider device, so that the first information provider device broadcasts the transaction parameter signature to the blockchain network.
Step 24, after the first information provider device signs the transaction parameter and broadcasts the signature to the blockchain network, third information is calculated according to the transaction parameter.
Since the transaction parameters are signed by the second information owner terminal and then sent to the first information provider device, after the first information provider device also signs and broadcasts the transaction parameters to the blockchain network, the first information provider device recognizes the transaction parameters of the time, the transaction parameters are linked to be effective, the second information owner terminal can calculate third information according to the transaction parameters, and the third information can be any form of fees, such as RMB, dollars, virtual money, reward points and the like.
As can be seen from the foregoing steps 21-24, in the information push method provided in the embodiment of the present invention, the second information owner terminal may determine the keyword information of the same second information in the preset period, determine the transaction parameter according to the keyword information of the same second information in the preset period, and after signing and broadcasting the transaction parameter to the blockchain network, the second information owner terminal may calculate the third information according to the transaction parameter, so as to subsequently pay for playing the second information to the first information provider device. Because the keyword information is broadcasted to the blockchain network by the first information provider device only when the preset condition is met, the transaction parameters determined according to the keyword information of the same second information in the preset period also have fairness, and the benefits of both transaction parties, namely the first information provider device and the second information owner terminal, can be guaranteed at the same time.
In some embodiments, the transaction parameters include m and n, and the determining of the transaction parameters according to the keyword information of the same second information in the preset period (i.e. step 22) may include the following steps, as shown in fig. 4:
step 221, determining the number m of the user terminals submitting the keyword information of the same second information.
The keyword information is acquired by the first information provider equipment from the user terminal and signed by the user terminal, the first information provider equipment determines that the signature meets the preset condition and broadcasts the signature to the block chain network, and the second information owner terminal can determine the number m of the user terminals submitting the keyword information of the same second information according to the signature of the user terminal of the keyword information of the same second information in the preset period.
Step 222, determining the number q of the keyword information of the same second information.
And step 223, calculating the average times n of submitting the keyword information by each user terminal according to m and q.
The second information owner terminal can calculate the average number of times n that each user terminal submits the keyword information according to m and q: n is q/m.
As can be seen from the foregoing steps 221-223, the information pushing method provided in the embodiment of the present invention can determine, according to the keyword information of the same second information in the preset period, the number of users who have actually viewed a certain piece of second information and the average number of times that each user viewed the second information, and can very specifically and intuitively reflect the pushing effect of the second information.
In some embodiments, after determining the number q of keyword information of the same second information (i.e. step 222), and before calculating the average number n of times each user terminal submits the keyword information according to m and q (i.e. step 223), the method further comprises:
and screening the q according to the time when the user terminal submits the keyword information of the same second information and the user terminal submitting the keyword information of the same second information.
Correspondingly, the calculating the average number n of times each user terminal submits the keyword information according to m and q (i.e. step 223) may include: and calculating the average times n of submitting the keyword information by each user terminal according to m and the screened q.
In step 12, the keyword information signed by the user terminal and acquired by the first information provider device to the user terminal may further include time, that is, the user terminal calculates a hash value of the keyword input by the user, and returns the hash value and the current time to the first information provider device. Accordingly, after step 222, since the keyword information of the same second information with the number q may include multiple pieces of keyword information submitted by the same user terminal at the same time, the second information owner terminal may screen q according to the time when the user terminal submits the keyword information of the same second information and the user terminal submitting the keyword information of the same second information, so as to ensure that the multiple pieces of keyword information of the same second information submitted by the same user terminal at the same time are counted only once. And calculating the average number n of times that each user terminal submits the keyword information according to m and the screened q, wherein the obtained n is more accurate, that is, the reflected average number of times that each user watches the second information is more accurate, and compared with the method that q is not screened, the pushing effect of the second information can be better reflected.
In the embodiment of the present invention, when the second information owner terminal releases the second information to the first information provider device, the keyword information and the transaction T of the second information may be preset, and the keyword information and the transaction T are signed and then sent to the first information provider device. Accordingly, after the step 23, when the first information provider device broadcasts the signed transaction parameters m and n to the blockchain network, the first information provider device may also broadcast the signed transaction T to the blockchain network. The transaction T may include a rule for the second information owner terminal to pay the third information to the first information provider device according to the transaction parameters and a condition under which the rule is effective.
Continuing with the above-described embodiment of S and P, transaction T may be T { [ I ]s],[f(m,n)k→P]|[m in-chain,n in-chain,t]In which, [ I ]S]Is the input of transaction T, representing the contents of the transaction [ f (m, n)k→P]The source of funds in (1), i.e., the own funds of S. k is advertisement information, [ f (m, n)k→P]Indicates that the sum of S is f (m, n)kIs paid to P. [ m in-chain, n in-chain, t]Is the content of the transaction [ f (m, n)k→P]Is formed byConditioned, i.e. m and n are both uplinked after time t. Therefore, when the first information provider equipment determines all the keyword information related to the same second information in the period of time at the preset time T, determines the trading parameters for trading the second information fee according to the keyword information, and conducts trading with the trading parameters m and n and the trading T { [ I ]S],[f(m,n)k→P]|[m in-chain,n in-chain,t]When the signature is broadcasted to the blockchain network, the transaction content [ f (m, n) takes effect because m and n are linked upk→P]If true, transaction T will also take effect.
The following briefly describes the above steps 21-24 with the example of S and P above:
s receives P keyword information respectively signed by U and P broadcast in the blockchain network, S determines keyword information about A in a period of time at time t, it is determined from the keyword information that the number of users who submitted the keyword information of the correct article a is 100, i.e., m is 100, 10 of them submitted keyword information of the correct article a three times, the other 90 persons submit the correct keyword information of the article a only once, the number q of the keyword information of the article a is 10 × 3+90 × 1 is 120 (times), since the 30 times of keyword information submitted by 10 persons does not include a plurality of pieces of keyword information submitted by the same person at the same time, the screening of q is not needed, the average number of times n-q/m-120/100-1.2 (times/person) that each user terminal submits the keyword information can be directly calculated. S sends m and n signatures to P, P adds m, n and T signatures and broadcasts to the blockchain network, at this time, S and P reach a transaction T for the advertisement information of the commodity A, because the transaction T includes the transaction content f (m, n)AS will pay P120 dollars of advertising fees.
Based on the same technical concept, an embodiment of the present invention further provides a first information provider device, as shown in fig. 5, which may include:
thepush module 101 is configured to push second information to the user terminal when receiving a first information viewing request sent by the user terminal; and the first information corresponding to the first information watching request is pushed to the user terminal.
The obtainingmodule 102 is configured to obtain, to the user terminal, the keyword information signed by the user terminal when pushing of the second information is completed.
Thebroadcasting module 103 is configured to sign the keyword information and broadcast the signed keyword information to the blockchain network if the keyword information meets a preset condition.
In some embodiments, the pushingmodule 101 is further configured to push the second information to the user terminal if the keyword information does not satisfy the preset condition.
In some embodiments, the keyword information satisfies a preset condition, which may include: the keyword information is consistent with the keyword information of the second information recorded in the blockchain network, wherein the keyword information of the second information recorded in the blockchain network is obtained after the second information owner terminal and the device sign respectively.
Based on the same technical concept, an embodiment of the present invention further provides a second information owner terminal, as shown in fig. 6, which may include:
areceiving module 201, configured to receive keyword information respectively signed by a user terminal and a first information provider device, which is broadcast by the first information provider device in a blockchain network.
Theprocessing module 202 is configured to determine keyword information of the same second information in a preset period, and determine a transaction parameter according to the keyword information of the same second information in the preset period.
The sendingmodule 203 is configured to send the signed transaction parameter to the first information provider device, so that the first information provider device broadcasts the signed transaction parameter to the blockchain network.
The calculatingmodule 204 is configured to calculate the third information according to the transaction parameter after the first information provider device signs the transaction parameter and broadcasts the signed transaction parameter to the blockchain network.
In some embodiments, the transaction parameters include m and n; theprocessing module 202 is specifically configured to:
determining the number m of user terminals submitting the keyword information of the same second information;
determining the number q of the keyword information of the same second information;
and calculating the average times n of submitting the keyword information by each user terminal according to m and q.
In some embodiments, theprocessing module 202 is further configured to filter q according to a time when the user terminal submits the keyword information of the same second information and the user terminal submitting the keyword information of the same second information. And calculating the average times n of submitting the keyword information by each user terminal according to m and the screened q.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.