CN108959642A - Method and apparatus for information to be written - Google Patents
Method and apparatus for information to be written Download PDFInfo
- Publication number
- CN108959642A CN108959642A CN201810845821.3A CN201810845821A CN108959642A CN 108959642 A CN108959642 A CN 108959642A CN 201810845821 A CN201810845821 A CN 201810845821A CN 108959642 A CN108959642 A CN 108959642A
- Authority
- CN
- China
- Prior art keywords
- information
- pushed information
- behavioral data
- click
- pushed
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application discloses the method and apparatus for information to be written.One specific embodiment of this method includes: to click pushed information in response to user, generates the click behavioral data of pushed information;The block that the click behavioral data for storing pushed information is created in block chain, the click behavioral data of pushed information is written in block.The embodiment stores the click behavioral data of pushed information using block chain, it is ensured that the click behavioral data of pushed information can not be distorted.If generating corresponding index based on the click behavioral data stored in block chain, the accuracy of index is helped to improve.
Description
Technical field
The invention relates to field of computer technology, and in particular to the method and apparatus for information to be written.
Background technique
So-called information push, is exactly " Web broadcast ", is passed through on the internet by certain technical standard or agreement
Transmit the information that user needs periodically to reduce a new technology of information overload.Push technology is by automatically delivering information to use
Family, to reduce the time searched on network.It searches for according to the interest of user, filters information, and it is periodically pushed to
User helps user expeditiously to excavate valuable information.
When the user clicks when pushed information, the click behavior number such as the state of click, browsing duration, interest-degree can be generated
According to.It is usually stored in the form of log however, these click behavioral data.However, in log memory block click behavior
Data can be tampered, and be caused based on the corresponding index inaccuracy clicking behavioral data and generating stored in day log.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for information to be written.
In a first aspect, the embodiment of the present application provides a kind of method for information to be written, comprising: clicked in response to user
Pushed information generates the click behavioral data of pushed information;The click behavior for storing pushed information is created in block chain
The click behavioral data of pushed information is written in block by the block of data.
In some embodiments, the block of the click behavioral data for storing pushed information, packet are created in block chain
It includes: in response to calculating the cryptographic Hash for meeting preset condition based on at least partly item in reference information, creating block, wherein
Reference information includes: the cryptographic Hash for the block being newly generated, the random number for clicking behavioral data, generation of pushed information;It will expire
The cryptographic Hash of sufficient preset condition and the click behavioral data of pushed information are written in block.
In some embodiments, the click behavioral data of pushed information include at least one of the following: pushed information mark,
The click state of pushed information, the browsing duration of pushed information, the interest-degree of pushed information, pushed information provider prestige
Degree.
In some embodiments, the click behavioral data of pushed information includes the interest-degree and pushed information of pushed information
The credit worthiness of provider;And the credit worthiness of the provider of pushed information generates as follows: it is corresponding to obtain pushed information
Product information and pushed information provider attribute information;Interest-degree, pushed information based on pushed information are corresponding
The attribute information of the provider of the information and pushed information of product calculates weighted average, the provider's as pushed information
Credit worthiness.
In some embodiments, the click behavioral data of pushed information includes the mark of pushed information;And this method is also
It include: the mark for obtaining target push information;Mark based on target push information inquires block chain, obtains target push information
Click behavioral data set;Click behavioral data set based on target push information, determines the click of target push information
Behavioral indicator;Click behavioral indicator based on target push information pushes target push information.
Second aspect, the embodiment of the present application provide a kind of for the device of information to be written, comprising: generation unit is matched
It is set to and clicks pushed information in response to user, generate the click behavioral data of pushed information;Writing unit is configured in block
The block that the click behavioral data for storing pushed information is created in chain, is written to area for the click behavioral data of pushed information
In block.
In some embodiments, writing unit includes: creation module, be configured in response to based in reference information extremely
Small part item calculates the cryptographic Hash for meeting preset condition, creates block, wherein reference information includes: the block being newly generated
Cryptographic Hash, pushed information click behavioral data, generation random number;Writing module is configured to that preset condition will be met
Cryptographic Hash and the click behavioral data of pushed information be written in block.
In some embodiments, the click behavioral data of pushed information include at least one of the following: pushed information mark,
The click state of pushed information, the browsing duration of pushed information, the interest-degree of pushed information, pushed information provider prestige
Degree.
In some embodiments, the click behavioral data of pushed information includes the interest-degree and pushed information of pushed information
The credit worthiness of provider;And the credit worthiness of the provider of pushed information generates as follows: it is corresponding to obtain pushed information
Product information and pushed information provider attribute information;Interest-degree, pushed information based on pushed information are corresponding
The attribute information of the provider of the information and pushed information of product calculates weighted average, the provider's as pushed information
Credit worthiness.
In some embodiments, the click behavioral data of pushed information includes the mark of pushed information;And the device is also
Include: acquiring unit, is configured to obtain the mark of target push information;Query unit is configured to based on target push letter
The mark of breath inquires block chain, obtains the click behavioral data set of target push information;Determination unit is configured to based on mesh
The click behavioral data set for marking pushed information, determines the click behavioral indicator of target push information;Push unit is configured to
Click behavioral indicator based on target push information pushes target push information.
The third aspect, the embodiment of the present application provide a kind of server, which includes: one or more processors;
Storage device is stored thereon with one or more programs;When one or more programs are executed by one or more processors, so that
One or more processors realize the method as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should
The method as described in implementation any in first aspect is realized when computer program is executed by processor.
Method and apparatus provided by the embodiments of the present application for information to be written are generated when user clicks pushed information
The click behavioral data of pushed information;The block of the click behavioral data for storing pushed information is created in block chain, and
The click behavioral data of pushed information is written in block.Using the click behavioral data of block chain storage pushed information, really
The click behavioral data for having protected pushed information can not be distorted.Accordingly refer to if being generated based on the click behavioral data stored in block chain
Mark, helps to improve the accuracy of index.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architectures therein;
Fig. 2 is the flow chart according to one embodiment of the method for information to be written of the application;
Fig. 3 is the flow chart according to another embodiment of the method for information to be written of the application;
Fig. 4 is provided by Fig. 3 for the schematic diagram of an application scenarios of the method for information to be written;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for information to be written of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the server of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for information to be written of the application or the implementation of the device for information to be written
The exemplary system architecture 100 of example.
As shown in Figure 1, may include terminal device 101,102,103, network 104 and server in system architecture 100
105.Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 102
It may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard
When part, the various electronic equipments of information browse are can be with display screen and supported.Including but not limited to smart phone, plate
Computer, pocket computer on knee and desktop computer etc..When terminal device 101,102,103 is software, can install
In above-mentioned electronic equipment.Multiple softwares or software module may be implemented into it, and single software or software mould also may be implemented into
Block.It is not specifically limited herein.
Server 105 can be to provide the server of various services, such as information write service device.Information write service device
The data such as the click behavioral data of pushed information got from terminal device 101,102,103 can be carried out analyzing etc.
Reason generates processing result (such as block chain of the click behavioral data of write-in pushed information).
It should be noted that server 105 can be hardware, it is also possible to software.It, can when server 105 is hardware
To be implemented as the distributed server cluster that multiple servers form, individual server also may be implemented into.When server 105 is
When software, multiple softwares or software module (such as providing Distributed Services) may be implemented into, also may be implemented into single
Software or software module.It is not specifically limited herein.
It should be noted that the method provided by the embodiment of the present application for information to be written generally is held by server 105
Row, correspondingly, the device for information to be written is generally positioned in server 105.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, it illustrates the processes according to one embodiment of the method for information to be written of the application
200.The method for being used to that information to be written, comprising the following steps:
Step 201, pushed information is clicked in response to user, generates the click behavioral data of pushed information.
In the present embodiment, when user clicks pushed information, the executing subject of the method for information to be written (such as is schemed
Server 105 shown in 1) the click behavioral data of pushed information can be generated.
In practice, when user browses webpage, some pushed informations would generally be shown in the predeterminable area of webpage.For example,
Pushed information is shown in the form of a popup window in the lower right corner of webpage.When user operates the pushed information shown on webpage
When, the terminal device (such as terminal device shown in FIG. 1 101,102,103) of displayed web page will record corresponding data.For example,
When showing pushed information on the webpage of user's browsing, the time point for starting to show pushed information will record.When user's browsing
Do not showing that (i.e. user's click pushed information jumps to the details page of pushed information to pushed information or user closes and pushes away on webpage
Deliver letters breath) when, it will record the time point for no longer showing pushed information.When the user clicks when pushed information, push letter can be jumped to
The details page of breath, so that user checks the detailed content of pushed information.At this point, the state that user clicks pushed information can be generated.
If user closes pushed information, the state that user does not click pushed information can be generated.Interest can be set near pushed information
Scale label, user can select corresponding interest-degree label to the attitude of pushed information according to oneself.When user selects interest-degree
It, can be according to the interest-degree of the interest-degree record pushed information for the interest-degree label instruction that user selects when label.Terminal device can
These data are sent to above-mentioned executing subject.
Here, when the user clicks pushed information when, above-mentioned executing subject can be triggered based on the data obtained from terminal device
Generate the click behavioral data of the pushed information.Wherein, the click behavioral data of pushed information can include but is not limited to following
At least one of: mark, the click state of pushed information, the browsing duration of pushed information, the interest of pushed information of pushed information
Degree, credit worthiness of provider of pushed information etc..The mark of pushed information can be made of letter, number, symbol etc., be used for
Unique identification pushed information.The click state of pushed information may include that the state of user's click pushed information and user do not click on
The state of pushed information.The time point that the browsing duration of pushed information can be equal to no longer displaying pushed information pushes away with displaying is started
Deliver letters breath time point difference.
Here, the interest-degree of the provider of pushed information can be the comprehensive pushed information of above-mentioned executing subject interest-degree,
The information of the corresponding product of pushed information and the attribute information of provider of pushed information etc. calculate generated, generation
Steps are as follows:
Firstly, obtaining the attribute information of the information of the corresponding product of pushed information and the provider of pushed information.
Wherein, if pushed information is to promote the information of certain product, the information of the above-mentioned available product of executing subject,
For example, the category of product, the price of product, quality of product etc..Meanwhile above-mentioned executing subject can also obtain pushed information
Provider (enterprise for promoting the corresponding product of pushed information) attribute information, such as pushed information provider enterprise's property
Matter, scope of the enterprise, assets of enterprise etc..
Then, the provider of the information and pushed information of the corresponding product of the interest-degree based on pushed information, pushed information
Attribute information, calculate weighted average, the credit worthiness of the provider as pushed information.
Wherein, above-mentioned executing subject can be first according to the interest-degree of pushed information, the letter of the corresponding product of pushed information
The attribute information of the provider of breath and pushed information, determines the corresponding product of the score value of the interest-degree of pushed information, pushed information
Score value and pushed information provider score value;Then the weight of the score value of pre-set interest-degree, point of product are obtained
The weight of the score value of the weight and provider of value;Weighted average is finally calculated, the credit worthiness of the provider of pushed information is obtained.
Step 202, the block that the click behavioral data for storing pushed information is created in block chain, by pushed information
Click behavioral data be written in block.
In the present embodiment, above-mentioned executing subject can create the click behavior for storing pushed information in block chain
The click behavioral data of pushed information is written in block by the block of data.Wherein, block chain be Distributed Storage,
The new application mode of the computer technologies such as point-to-point transmission, common recognition mechanism, Encryption Algorithm.Block chain is a kind of decentralization
Database, including multiple nodes, anyone can set up server, and block chain is added, becomes a node.When in block chain
A node in be written new data when, can by common recognition mechanism by the new data that the node is written be synchronized to block chain other
In node, so that the data in the block chain that all nodes save are with uniformity.Wherein, the common recognition algorithm that common recognition mechanism uses
It can include but is not limited to PBTF algorithm, PoW algorithm etc..
In some optional implementations of the present embodiment, block chain is made of block one by one (block).Every time
Data are written, a new block is created exactly behind the block being newly generated.Creation block usually requires to carry out Hash
The calculating and verification of value.Specifically, in response to calculating the Kazakhstan for meeting preset condition based on at least partly item in reference information
Uncommon value, creates block;The click behavioral data of the cryptographic Hash for meeting preset condition and pushed information is written in block.Its
In, reference information may include the cryptographic Hash for the block being newly generated, pushed information click behavioral data, generation it is random
Number.Preset condition can be pre-set various conditions.For example, preset condition can be less than default value.At this point, above-mentioned
Executing subject can obtain the cryptographic Hash for the block being newly generated first;Random number is generated later;It is then based on and is newly generated
The cryptographic Hash of block, the click behavioral data of pushed information and random number generate cryptographic Hash;Finally determine whether cryptographic Hash is less than
Default value;If being less than default value, the cryptographic Hash for being less than default value is written in the block head of block, and will push
The click behavioral data of information is written in the block body of block, wherein clicking behavioral data can be deposited in the form of key-value pair
Storage is in block body;If being not less than default value, continue to generate new random number, generate cryptographic Hash again, is less than until generating
Until the cryptographic Hash of default value.
It should be noted that each user pushed information of every click, will create and clicks life for storing this time
At click behavioral data block.
Method and apparatus provided by the embodiments of the present application for information to be written are generated when user clicks pushed information
The click behavioral data of pushed information;The block of the click behavioral data for storing pushed information is created in block chain, and
The click behavioral data of pushed information is written in block.Using the click behavioral data of block chain storage pushed information, really
The click behavioral data for having protected pushed information can not be distorted.If being generated based on the click behavioral data stored in block chain and clicking row
For index, the accuracy of index is helped to improve.
With further reference to Fig. 3, it illustrates according to another embodiment of the method for information to be written of the application
Process 300.The method for being used to that information to be written, comprising the following steps:
Step 301, pushed information is clicked in response to user, generates the click behavioral data of pushed information.
Step 302, the block that the click behavioral data for storing pushed information is created in block chain, by pushed information
Click behavioral data be written in block.
In the present embodiment, the behaviour of the concrete operations of step 301-302 and step 201-202 in embodiment shown in Fig. 2
Make essentially identical, details are not described herein.
Step 303, the mark of target push information is obtained.
It in the present embodiment, can be with for the executing subject (such as server 105 shown in FIG. 1) of the method for information to be written
Obtain the mark of target push information.Wherein, target push information is specified pushed information.To push certain push letter
Breath, so that it may the pushed information is appointed as target push information, and pass through terminal device (such as terminal device shown in FIG. 1
101, the mark of target push information 102,103) to above-mentioned executing subject is sent.
Step 304, the mark based on target push information inquires block chain, obtains the click behavior number of target push information
According to set.
In the present embodiment, above-mentioned executing subject can inquire block chain based on the mark of target push information, thus
To the click behavioral data set of target push information.Due to being stored with the click behavioral data of pushed information in block chain, push away
Deliver letters breath click behavioral data in include pushed information mark, above-mentioned executing subject can be by the mark of target push information
It is matched one by one with the mark of the pushed information stored in each block in block chain.If the mark of target push information with
The mark of the pushed information stored in a block in block chain is identical, then obtaining the push of its storage from the block
The click behavioral data of information is added to the click of target push information as the click behavioral data of the target push information
In behavioral data set.
Step 305, the click behavioral data set based on target push information, determines the click behavior of target push information
Index.
In the present embodiment, above-mentioned executing subject can the click behavioral data set to target push information count
Analysis, so that it is determined that the click behavioral indicator of target push information.Wherein, clicking behavioral indicator can include but is not limited to target
The clicking rate of pushed information, the average browsing duration of target push information, the average interest degree of target push information, target push
Average credit worthiness of the provider of information etc..
Step 306, the click behavioral indicator based on target push information pushes target push information.
In the present embodiment, above-mentioned executing subject can be pushed using the click behavioral indicator of target push information as foundation
Target push information.For example, if the clicking rate of target push information is higher, target push information average browsing duration is longer,
The average credit worthiness of higher, target push information the provider of the average interest degree of target push information is higher, just to more
User pushes the target push information;If the clicking rate of target push information is lower, the average browsing duration of target push information
The average credit worthiness of lower, target push information the provider of shorter, target push information average interest degree is lower, just to more
Few user pushes the target push information, or even does not push target push information to any user.
It is provided by Fig. 3 for the schematic diagram of an application scenarios of the method for information to be written with continued reference to Fig. 4, Fig. 4.
In the application scenarios of Fig. 4, show there is pushed information 402 on the webpage 401 that the terminal device 410 of user is shown.When user's point
When hitting pushed information 402, the data 403 that terminal device 410 can be generated are sent to server 420.Server 420 can be with
It is primarily based on the click behavioral data 404 that data 403 generate pushed information 402.Then it creates in block chain 430 for storing
The block 431 of the click behavioral data 404 of pushed information 402, and the click behavioral data 404 of pushed information 402 is written to
In block 431.
From figure 3, it can be seen that the method for information to be written compared with the corresponding embodiment of Fig. 2, in the present embodiment
Process 300 increase behavioral data set based on the target push information stored in block chain push target push information
Step.The scheme of the present embodiment description generates push based on the behavioral data set of the pushed information stored in block chain as a result,
The click behavioral indicator of information improves the reliability generated for clicking behavioral indicator.Based on the higher click row of reliability
For index pushed information, realizes and be imbued with pointedly information push.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for letter to be written
One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer
For in various electronic equipments.
As shown in figure 5, the device 500 for information to be written of the present embodiment may include: that generation unit 501 and write-in are single
Member 502.Wherein, generation unit 501 are configured in response to user and click pushed information, generate the click behavior of pushed information
Data;Writing unit 502 is configured to create the block of the click behavioral data for storing pushed information in block chain,
The click behavioral data of pushed information is written in block.
In the present embodiment, for being written in the device 500 of information: the specific place of generation unit 501 and writing unit 502
Reason and its brought technical effect can refer to the related description of step 201 and step 202 in Fig. 2 corresponding embodiment respectively,
Details are not described herein.
In some optional implementations of the present embodiment, writing unit 502 may include: creation module (in figure not
Show), it is configured in response to calculate the cryptographic Hash for meeting preset condition based on at least partly item in reference information, create
Build block, wherein reference information includes: the cryptographic Hash for the block being newly generated, the click behavioral data of pushed information, generation
Random number;Writing module (not shown) is configured to meet the cryptographic Hash of preset condition and the click row of pushed information
It is written in block for data.
In some optional implementations of the present embodiment, the click behavioral data of pushed information may include but unlimited
In at least one of following: mark, the click state of pushed information, browsing duration, the pushed information of pushed information of pushed information
Interest-degree, pushed information provider credit worthiness.
In some optional implementations of the present embodiment, the click behavioral data of pushed information may include push letter
The credit worthiness of the provider of the interest-degree and pushed information of breath;And the credit worthiness of the provider of pushed information can be by as follows
Step generates: obtaining the attribute information of the information of the corresponding product of pushed information and the provider of pushed information;Believed based on push
The attribute information of the provider of the information and pushed information of the corresponding product of the interest-degree of breath, pushed information calculates weighted average
Value, the credit worthiness of the provider as pushed information.
In some optional implementations of the present embodiment, the click behavioral data of pushed information may include push letter
The mark of breath;And the device 500 for information to be written can also include: acquiring unit (not shown), be configured to obtain
Take the mark of target push information;Query unit (not shown) is configured to the mark inquiry based on target push information
Block chain obtains the click behavioral data set of target push information;Determination unit (not shown) is configured to based on mesh
The click behavioral data set for marking pushed information, determines the click behavioral indicator of target push information;Push unit (does not show in figure
Out), it is configured to the click behavioral indicator based on target push information, pushes target push information.
Below with reference to Fig. 6, it illustrates the server for being suitable for being used to realize the embodiment of the present application (such as clothes shown in FIG. 1
Be engaged in device 105) computer system 600 structural schematic diagram.Server shown in Fig. 6 is only an example, should not be to this Shen
Please embodiment function and use scope bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and
Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media
611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes
Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or
Computer-readable medium either the two any combination.Computer-readable medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example of machine readable medium can include but is not limited to: electrical connection, portable meter with one or more conducting wires
Calculation machine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In this application, computer-readable medium, which can be, any includes or storage program has
Shape medium, the program can be commanded execution system, device or device use or in connection.And in the application
In, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, wherein
Carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to electric
Magnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Jie
Any computer-readable medium other than matter, the computer-readable medium can be sent, propagated or transmitted for being held by instruction
Row system, device or device use or program in connection.The program code for including on computer-readable medium
It can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. or above-mentioned any conjunction
Suitable combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof
Machine program code, described program design language include object-oriented programming language-such as Java, Smalltalk, C+
+, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include generation unit and writing unit.Wherein, the title of these units does not constitute the limit to the unit itself under certain conditions
It is fixed, for example, generation unit is also described as " clicking pushed information in response to user, generating the click behavior of pushed information
The unit of data ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in server described in above-described embodiment;It is also possible to individualism, and without in the supplying server.It is above-mentioned
Computer-readable medium carries one or more program, when said one or multiple programs are executed by the server,
So that the server: clicking pushed information in response to user, generate the click behavioral data of pushed information;It is created in block chain
For storing the block of the click behavioral data of pushed information, the click behavioral data of pushed information is written in block.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (12)
1. a kind of method for information to be written, comprising:
Pushed information is clicked in response to user, generates the click behavioral data of the pushed information;
The block that the click behavioral data for storing the pushed information is created in block chain, by the point of the pushed information
Behavioral data is hit to be written in the block.
2. according to the method described in claim 1, wherein, the point created in block chain for storing the pushed information
The click behavioral data of the pushed information is written in the block by the block for hitting behavioral data, comprising:
In response to based on at least partly item in reference information, calculating the cryptographic Hash for meeting preset condition, block is created,
In, the reference information includes: the cryptographic Hash for the block being newly generated, the click behavioral data of the pushed information, generation
Random number;
The click behavioral data of the cryptographic Hash for meeting preset condition and the pushed information is written in the block.
3. according to the method described in claim 1, wherein, the click behavioral data of the pushed information includes following at least one
: the mark of the pushed information, the click state of the pushed information, the browsing duration of the pushed information, the push
The interest-degree of information, the pushed information provider credit worthiness.
4. according to the method described in claim 3, wherein, the click behavioral data of the pushed information includes the pushed information
Interest-degree and the pushed information provider credit worthiness;And
The credit worthiness of the provider of the pushed information generates as follows:
Obtain the attribute information of the information of the corresponding product of the pushed information and the provider of the pushed information;
The offer of the information and the pushed information of interest-degree, the corresponding product of the pushed information based on the pushed information
The attribute information of side calculates weighted average, the credit worthiness of the provider as the pushed information.
5. according to the method described in claim 3, wherein, the click behavioral data of the pushed information includes the pushed information
Mark;And
The method also includes:
Obtain the mark of target push information;
Mark based on the target push information inquires the block chain, obtains the click behavior number of the target push information
According to set;
Click behavioral data set based on the target push information determines that the click behavior of the target push information refers to
Mark;
Click behavioral indicator based on the target push information, pushes the target push information.
6. a kind of for the device of information to be written, comprising:
Generation unit is configured in response to user and clicks pushed information, generates the click behavioral data of the pushed information;
Writing unit is configured to create the block of the click behavioral data for storing the pushed information in block chain,
The click behavioral data of the pushed information is written in the block.
7. device according to claim 6, wherein said write unit includes:
Creation module is configured in response to calculate the Kazakhstan for meeting preset condition based on at least partly item in reference information
Uncommon value, creates block, wherein the reference information includes: the click of the cryptographic Hash, the pushed information for the block being newly generated
Behavioral data, generation random number;
The click behavioral data of writing module, the cryptographic Hash and the pushed information that are configured to that preset condition will be met is written to
In the block.
8. device according to claim 6, wherein the click behavioral data of the pushed information includes following at least one
: the mark of the pushed information, the click state of the pushed information, the browsing duration of the pushed information, the push
The interest-degree of information, the pushed information provider credit worthiness.
9. device according to claim 8, wherein the click behavioral data of the pushed information includes the pushed information
Interest-degree and the pushed information provider credit worthiness;And
The credit worthiness of the provider of the pushed information generates as follows:
Obtain the attribute information of the information of the corresponding product of the pushed information and the provider of the pushed information;
The offer of the information and the pushed information of interest-degree, the corresponding product of the pushed information based on the pushed information
The attribute information of side calculates weighted average, the credit worthiness of the provider as the pushed information.
10. device according to claim 8, wherein the click behavioral data of the pushed information includes the push letter
The mark of breath;And
Described device further include:
Acquiring unit is configured to obtain the mark of target push information;
Query unit is configured to the mark based on the target push information and inquires the block chain, obtains the target and push away
It delivers letters the click behavioral data set of breath;
Determination unit is configured to the click behavioral data set based on the target push information, determines the target push
The click behavioral indicator of information;
Push unit is configured to the click behavioral indicator based on the target push information, pushes the target push information.
11. a kind of server, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, wherein the computer program is held by processor
Such as method as claimed in any one of claims 1 to 5 is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810845821.3A CN108959642A (en) | 2018-07-27 | 2018-07-27 | Method and apparatus for information to be written |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810845821.3A CN108959642A (en) | 2018-07-27 | 2018-07-27 | Method and apparatus for information to be written |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108959642A true CN108959642A (en) | 2018-12-07 |
Family
ID=64465949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810845821.3A Pending CN108959642A (en) | 2018-07-27 | 2018-07-27 | Method and apparatus for information to be written |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108959642A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379446A (en) * | 2018-12-24 | 2019-02-22 | 杭州复杂美科技有限公司 | Block method for pushing, block acquisition methods, equipment and storage medium |
CN109408716A (en) * | 2018-10-17 | 2019-03-01 | 连尚(新昌)网络科技有限公司 | Method and apparatus for pushed information |
CN110247974A (en) * | 2019-06-18 | 2019-09-17 | 东莞市盟大塑化科技有限公司 | Information-pushing method, device, computer and storage medium based on block chain |
CN111476585A (en) * | 2019-01-23 | 2020-07-31 | 北京字节跳动网络技术有限公司 | Method and apparatus for generating information |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528693A (en) * | 2016-10-25 | 2017-03-22 | 广东科海信息科技股份有限公司 | Individualized learning-oriented educational resource recommendation method and system |
CN107368259A (en) * | 2017-05-25 | 2017-11-21 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus that business datum is write in the catenary system to block |
CN107657438A (en) * | 2017-09-18 | 2018-02-02 | 联动优势科技有限公司 | A kind of block chain generation method, data verification method, node and system |
CN108322528A (en) * | 2018-01-26 | 2018-07-24 | 东莞理工学院 | Ad click recording method based on block chain and system |
-
2018
- 2018-07-27 CN CN201810845821.3A patent/CN108959642A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528693A (en) * | 2016-10-25 | 2017-03-22 | 广东科海信息科技股份有限公司 | Individualized learning-oriented educational resource recommendation method and system |
CN107368259A (en) * | 2017-05-25 | 2017-11-21 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus that business datum is write in the catenary system to block |
CN107657438A (en) * | 2017-09-18 | 2018-02-02 | 联动优势科技有限公司 | A kind of block chain generation method, data verification method, node and system |
CN108322528A (en) * | 2018-01-26 | 2018-07-24 | 东莞理工学院 | Ad click recording method based on block chain and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408716A (en) * | 2018-10-17 | 2019-03-01 | 连尚(新昌)网络科技有限公司 | Method and apparatus for pushed information |
CN109379446A (en) * | 2018-12-24 | 2019-02-22 | 杭州复杂美科技有限公司 | Block method for pushing, block acquisition methods, equipment and storage medium |
CN111476585A (en) * | 2019-01-23 | 2020-07-31 | 北京字节跳动网络技术有限公司 | Method and apparatus for generating information |
CN110247974A (en) * | 2019-06-18 | 2019-09-17 | 东莞市盟大塑化科技有限公司 | Information-pushing method, device, computer and storage medium based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109460513A (en) | Method and apparatus for generating clicking rate prediction model | |
CN110771126B (en) | System for matching and attributing user equipment events | |
CN109299348A (en) | A kind of data query method, apparatus, electronic equipment and storage medium | |
CN109803008B (en) | Method and apparatus for displaying information | |
CN109325213A (en) | Method and apparatus for labeled data | |
CN108228906B (en) | Method and apparatus for generating information | |
CN108959642A (en) | Method and apparatus for information to be written | |
CN109189857A (en) | Data-sharing systems, method and apparatus based on block chain | |
CN109447635A (en) | Information storage means and device for block chain | |
CN108776692A (en) | Method and apparatus for handling information | |
CN107766106B (en) | The method and apparatus for generating configuration file | |
CN109582873A (en) | Method and apparatus for pushed information | |
CN110019263A (en) | Information storage means and device | |
CN109002385A (en) | Method for testing pressure and device for data flow system | |
CN108804433A (en) | Information-pushing method and device | |
US9934291B2 (en) | Dynamic presentation of a results set by a form-based software application | |
CN108600329A (en) | For pushed information, the method and apparatus for showing information | |
CN106796695A (en) | Using the conversion and identification installed | |
CN109902726A (en) | Biographic information processing method and processing device | |
CN109885564A (en) | Method and apparatus for sending information | |
CN110674426B (en) | Webpage behavior reporting method and device | |
CN108763881A (en) | Method and apparatus for controlling user right | |
CN111222067B (en) | Information generation method and device | |
CN109542743B (en) | Log checking method and device, electronic equipment and computer readable storage medium | |
CN109408647B (en) | Method and apparatus for processing information |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |