[go: up one dir, main page]

CN109522133A - A kind of data joining method, device, electronic equipment and storage medium - Google Patents

A kind of data joining method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109522133A
CN109522133A CN201811437134.4A CN201811437134A CN109522133A CN 109522133 A CN109522133 A CN 109522133A CN 201811437134 A CN201811437134 A CN 201811437134A CN 109522133 A CN109522133 A CN 109522133A
Authority
CN
China
Prior art keywords
data
packet segment
merchandise display
display page
monitoring data
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.)
Granted
Application number
CN201811437134.4A
Other languages
Chinese (zh)
Other versions
CN109522133B (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.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811437134.4A priority Critical patent/CN109522133B/en
Publication of CN109522133A publication Critical patent/CN109522133A/en
Application granted granted Critical
Publication of CN109522133B publication Critical patent/CN109522133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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/0201Market modelling; Market analysis; Collecting market data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5017Task decomposition

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure discloses a kind of data joining method, device, electronic equipment and storage mediums.Wherein, this method comprises: obtaining the monitoring data of at least two events triggered in each merchandise display page;Fragment is carried out to the monitoring data of acquisition, obtains the packet segment of preset quantity;The packet segment is sent to corresponding data stitching server, so that each data stitching server carries out data splicing to the monitoring data in the packet segment respectively, obtains data splicing result.The embodiment of the present disclosure solves the data connection scheme of the prior art when the data volume of monitoring data is very huge, server burden is big, it be easy to cause server congestion, the problem of influencing splicing and the storing process of data, it can be by carrying out the distribution that task is spliced in fragment realization to data to data, each server need to only be responsible for corresponding data splicing task, and server burden is small, the stability of system can be effectively improved to avoid server congestion.

Description

A kind of data joining method, device, electronic equipment and storage medium
Technical field
The embodiment of the present disclosure be related to data processing technique more particularly to a kind of data joining method, device, electronic equipment and Storage medium.
Background technique
After issuing the different merchandise display pages, multiple events of each merchandise display page can be monitored, be obtained Take monitoring data corresponding with event.For example, to the click event of each merchandise display page, purchase events, and thing of deducting fees Part is monitored.It is analyzed and is counted for the ease of the data to each merchandise display page, needed to each commodity exhibition Show that the corresponding whole monitoring data of the page are spliced, forms a tables of data, i.e. each merchandise display page corresponding one Open tables of data.
In the prior art, usually directly spliced after the monitoring data for obtaining each merchandise display page.Due to prison The data volume of measured data is very huge, and server burden is big, be easy to cause server congestion, influences the processing of data and stored Journey.
Summary of the invention
The disclosure provides a kind of data joining method, device, electronic equipment and storage medium, is appointed with realizing to data splicing Business is allocated, and avoids server congestion, improves system stability.
In a first aspect, the embodiment of the present disclosure provides a kind of data joining method, comprising:
Obtain the monitoring data of at least two events triggered in each merchandise display page;
Fragment is carried out to the monitoring data of acquisition, obtains the packet segment of preset quantity;
Packet segment is sent to corresponding data stitching server, so that each data stitching server is respectively to fragment Monitoring data in data packet carry out data splicing, obtain data splicing result.
In above scheme, optionally, fragment is carried out to the monitoring data of acquisition, obtains the fragment number of preset quantity According to packet, comprising:
Determine the event number triggered in each merchandise display page;
For each packet segment, the monitoring data of all events triggered in the same merchandise display page is distributed In to the same packet segment;
Summarize packet segment, obtains the packet segment of preset quantity;Wherein, the monitoring data pair in packet segment The event number answered is equal to the event number triggered at least one merchandise display page.
In above scheme, optionally, event includes click event, purchase events, and event of deducting fees;
Determine the event number triggered in each merchandise display page, comprising:
Click event number, purchase events quantity and the event of deducting fees in the triggering of each merchandise display page are obtained respectively Quantity, and sum;
Using summed result as the event number triggered in each merchandise display page.
In above scheme, optionally, preset quantity is equal to the quantity of data stitching server.
In above scheme, optionally, in the monitoring number for obtaining at least two events triggered in each merchandise display page According to before, further includes:
At least two events triggered in each merchandise display page are monitored, corresponding monitoring data are generated;
Monitoring data are stored.
In above scheme, optionally, further includes:
The data splicing result that each data stitching server generates is obtained, data splicing result is stored.
Second aspect, the embodiment of the present disclosure additionally provide a kind of data splicing apparatus, comprising:
Data acquisition module, for obtaining the monitoring data at least two events of each merchandise display page triggering;
Data fragmentation module obtains the packet segment of preset quantity for carrying out fragment to the monitoring data of acquisition;
Packet sending module, for packet segment to be sent to corresponding data stitching server, so that each data Stitching server carries out data splicing to the monitoring data in packet segment respectively, obtains data splicing result.
In above scheme, optionally, data fragmentation module includes:
Event number determination unit, for determining the event number triggered in each merchandise display page;
Data allocation unit, it is all by being triggered in the same merchandise display page for being directed to each packet segment The monitoring data of event is distributed to the same packet segment;
Data packet collection unit obtains the packet segment of preset quantity for summarizing packet segment;Wherein, fragment The corresponding event number of monitoring data in data packet is equal to the event number triggered at least one merchandise display page.
In above scheme, optionally, event includes click event, purchase events, and event of deducting fees;
Event number determination unit includes:
Quantity summation subelement, for obtaining click event number, purchase thing in the triggering of each merchandise display page respectively Number of packages amount and event number of deducting fees, and sum;
Quantity determines subelement, for using summed result as the event number triggered in each merchandise display page.
In above scheme, optionally, preset quantity is equal to the quantity of data stitching server.
In above scheme, optionally, further includes:
Data detection module, for being monitored at least two events triggered in each merchandise display page, generation pair The monitoring data answered;
Data memory module, for being stored to monitoring data.
In above scheme, optionally, further includes:
As a result memory module, the data splicing result generated for obtaining each data stitching server, splices data and ties Fruit is stored.
The third aspect, the embodiment of the present disclosure additionally provide a kind of electronic equipment, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more programs are executed by one or more processors, so that one or more processors realize such as this public affairs Open data joining method described in embodiment.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the data joining method as described in the embodiment of the present disclosure when computer program is executed by processor.
The monitoring data at least two events that the embodiment of the present disclosure is triggered by acquisition in each merchandise display page, then Fragment is carried out to the monitoring data of acquisition, obtains the packet segment of preset quantity, and packet segment is sent to corresponding Data stitching server, so that each data stitching server carries out data splicing to the monitoring data in packet segment respectively, Data splicing result is obtained, solves the data connection scheme of the prior art when the data volume of monitoring data is very huge, is taken Device burden of being engaged in is big, the problem of be easy to causeing server congestion, influence splicing and the storing process of data, can by data into Row fragment realizes the distribution to data splicing task, and each server need to only be responsible for corresponding data splicing task, server burden It is small, the stability of system can be effectively improved to avoid server congestion.
Detailed description of the invention
Fig. 1 is a kind of flow chart for data joining method that the embodiment of the present disclosure provides;
Fig. 2 is a kind of flow chart for data joining method that the embodiment of the present disclosure provides;
Fig. 3 is a kind of flow chart for data joining method that the embodiment of the present disclosure provides;
Fig. 4 is a kind of structural schematic diagram for data splicing apparatus that the embodiment of the present disclosure provides;
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present disclosure provides.
Specific embodiment
The disclosure 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 the disclosure, rather than the restriction to the disclosure.It also should be noted that in order to just Part relevant to the disclosure is illustrated only in description, attached drawing rather than entire infrastructure.
Fig. 1 is a kind of flow chart for data joining method that the embodiment of the present disclosure provides, and the present embodiment is applicable to logarithm The case where according to being spliced, this method can be executed by data splicing apparatus, which can be using software and/or hardware Mode realizes that the device can be configured at electronic equipment, for example, in terminal device or server.As shown in Figure 1, this method can To include the following steps:
The monitoring data at least two events that step 101, acquisition are triggered in each merchandise display page.
Wherein, at least two events triggered in each merchandise display page are monitored, are generated corresponding with each event Monitoring data.Monitoring data are the related datas of event.Event can be the click event triggered in each merchandise display page, purchase Buy event or event of deducting fees.Click event is the relevant event of clicking operation to user in each merchandise display page.With point Hitting the corresponding monitoring data of event may include user when the merchandise display page carries out the click location and click of clicking operation Between.Purchase events are the relevant events of purchase operation to user in each merchandise display page.Monitoring corresponding with purchase events Data may include time of payment and the payment amount that user carries out purchase operation in the merchandise display page.The event of deducting fees is to be based on The event that user deducts fees in the operation of each merchandise display page.Monitoring data corresponding with purchase events may include deducting fees Time and the amount of money of deducting fees.
Step 102 carries out fragment to the monitoring data of acquisition, obtains the packet segment of preset quantity.
Wherein, after obtaining monitoring data corresponding with each merchandise display page, fragment is carried out to the monitoring data of acquisition, is obtained To the packet segment with preset quantity.Optionally, preset quantity can be equal to the quantity of data stitching server.Data splicing Server is the server for being spliced to the monitoring data in packet segment.That is the quantity and data of packet segment The quantity of stitching server is consistent.The available packet segment of each data stitching server carries out data splicing.
In a specific example, the event number triggered in each merchandise display page is determined according to the monitoring data of acquisition Amount.Then by greedy algorithm, fragment is carried out to monitoring data based on the event number triggered according to each merchandise display page: will It distributes in the monitoring data of all events of same merchandise display page triggering to the same packet segment, and makes each point The difference between the corresponding event number of monitoring data in sheet data packet is within the scope of preset difference value.Summarize packet segment, Obtain the packet segment of preset quantity.
The basic ideas of greedy algorithm are carried out step by step from some initial solution of problem, excellent according to some Change is estimated, and each step will guarantee to obtain locally optimal solution.Each step only considers a data, his selection should meet office The condition of portion's optimization.If next data and suboptimal solution connect together when being no longer feasible solution, just the data are not added It into part solution, has been enumerated until all data, or algorithm stopping cannot be added again.The embodiment of the present disclosure is calculated using greed Method iterates to calculate the optimal case that the monitoring data of acquisition are carried out with fragment, guarantees the corresponding monitoring of the same merchandise display page Data are distributed to the same packet segment, and the corresponding event number of the monitoring data in each packet segment is almost the same.
Packet segment is sent to corresponding data stitching server by step 103, so that each data stitching server point The other monitoring data in packet segment carry out data splicing, obtain data splicing result.
Wherein, packet segment is sent to corresponding data stitching server.For example, preset quantity is spliced equal to data The quantity of server.The quantity of data stitching server is 5.Obtain 5 packet segments are sent to corresponding data to spell Server is connect, each data stitching server is made to obtain a packet segment.
Data splicing is that the data being stored in several in different units (table) are integrated into a unit in a vertical direction Operation in (table).After each data stitching server obtains packet segment, then to the monitoring number of the packet segment of acquisition According to data splicing is carried out, data splicing result is obtained.
In a specific example, it is sent in the packet segment of data stitching server and is only included in a commodity exhibition Show the monitoring data of all events of page triggering.Obtain fragment number of the data stitching server to acquisition of the packet segment Data splicing is carried out according to the monitoring data of packet, obtains the data splicing result of the merchandise display page.I.e. to a merchandise display The corresponding whole monitoring data of the page are spliced, and the corresponding tables of data of the merchandise display page is obtained.
In another specific example, it is sent in the packet segment of data stitching server and is included in multiple commodity exhibitions Show the monitoring data of all events of page triggering.Obtain fragment number of the data stitching server to acquisition of the packet segment After the monitoring data of packet, multiple merchandise display pages are triggered according to the identification information of each merchandise display page all events Monitoring data distinguish, respectively carry out data splicing, obtain the corresponding data splicing result of each merchandise display page. The whole monitoring data for the multiple merchandise display pages for including in packet segment are spliced respectively, obtain each quotient The corresponding tables of data of product displayed page.
Each data stitching server need to only be responsible for corresponding data splicing task as a result, avoid the number in monitoring data When according to measuring very huge, server burden is big, the problem of causing server congestion, influence splicing and the storing process of data.
The technical solution of the present embodiment, by the monitoring number for obtaining at least two events triggered in each merchandise display page According to then carrying out fragment to the monitoring data of acquisition, obtain the packet segment of preset quantity, and packet segment is sent to Corresponding data stitching server, so that each data stitching server carries out data to the monitoring data in packet segment respectively Splicing, obtains data splicing result, the data connection scheme for solving the prior art is very huge in the data volume of monitoring data When, server burden is big, can be by right the problem of be easy to causeing server congestion, influence splicing and the storing process of data Data carry out fragment and realize the distribution that data are spliced with task, and each server need to only be responsible for corresponding data splicing task, service Device burden is small, can effectively improve the stability of system to avoid server congestion.
Fig. 2 is a kind of flow chart for data joining method that the embodiment of the present disclosure provides, and the present embodiment can be with above-mentioned one Each optinal plan combines in a or multiple embodiments, in the present embodiment, carries out fragment to the monitoring data of acquisition, Obtain the packet segment of preset quantity, comprising: determine the event number triggered in each merchandise display page;For each fragment Data packet distributes the monitoring data of all events triggered in the same merchandise display page to the same packet segment It is interior;Summarize packet segment, obtains the packet segment of preset quantity;Wherein, the monitoring data in packet segment is corresponding Event number is equal to the event number triggered at least one merchandise display page.
And obtaining before the monitoring data at least two events that each merchandise display page triggers, it can also wrap It includes: at least two events triggered in each merchandise display page being monitored, corresponding monitoring data are generated;To monitoring data It is stored.
And, further includes: the data splicing result that each data stitching server generates is obtained, data splicing result is carried out Storage.
As shown in Fig. 2, this method may include steps of:
Step 201 is monitored at least two events triggered in each merchandise display page, generates corresponding monitoring number According to.
Step 202 stores monitoring data.
Wherein, monitoring data corresponding with each event are stored to database.
The monitoring data at least two events that step 203, acquisition are triggered in each merchandise display page.
Step 204 determines the event number triggered in each merchandise display page.
Wherein, it obtains after the monitoring data at least two events that each merchandise display page triggers, according to each commodity exhibition Show that the identification information of the page distinguishes the monitoring data of at least two events triggered in each merchandise display page, then divides The event number that Que Ding not be triggered in each merchandise display page.
For example, event includes click event, purchase events, and event of deducting fees.According in some merchandise display page The monitoring data of the click event of triggering, purchase events, and event of deducting fees determine the click triggered in the merchandise display page The quantity of event is 20, and the quantity of the purchase events of triggering is 15, and the quantity of the event of deducting fees of triggering is 5.In the merchandise display The event number of page triggering is the summation of above-mentioned event number.It is 40 in the event number of merchandise display page triggering.
Step 205 is directed to each packet segment, by the monitoring of all events triggered in the same merchandise display page Data are distributed to the same packet segment.
Wherein, the event number based on the triggering of each merchandise display page carries out fragment to monitoring data: will be in the same quotient The monitoring data of all events of product displayed page triggering is distributed to the same packet segment, and is made in each packet segment The corresponding event number of monitoring data between difference within the scope of preset difference value.Guarantee the same merchandise display page pair The monitoring data answered are distributed to the same packet segment, the corresponding event number base of the monitoring data in each packet segment This is consistent.
Step 206 summarizes packet segment, obtains the packet segment of preset quantity;Wherein, the prison in packet segment The corresponding event number of control data is equal to the event number triggered at least one merchandise display page.
Wherein, the monitoring data of at least two events triggered in each merchandise display page are distributed to each packet segment Afterwards, summarize each packet segment, obtain the packet segment of preset quantity.Preset quantity is equal to the number of data stitching server Amount.Since the monitoring data of all events triggered in the same merchandise display page is distributed to the same packet segment, So the corresponding event number of monitoring data in packet segment is equal to the event triggered at least one merchandise display page Quantity.
Packet segment is sent to corresponding data stitching server by step 207, so that each data stitching server point The other monitoring data in packet segment carry out data splicing, obtain data splicing result.
Step 208 obtains the data splicing result that each data stitching server generates, and deposits to data splicing result Storage.
Wherein, the data splicing result that each data stitching server generates is obtained, data splicing result is uniformly deposited Storage, is analyzed and is counted convenient for the subsequent data to each merchandise display page.
The technical solution of the present embodiment, by determining the event number triggered in each merchandise display page, and for each Packet segment distributes the monitoring data of all events triggered in the same merchandise display page to the same fragment data In packet, then summarize packet segment, obtain the packet segment of preset quantity, the monitoring data in packet segment is corresponding Event number is equal to the event number triggered at least one merchandise display page, can trigger according in each merchandise display page Event to monitoring data carry out fragment, thus realize to data splicing task distribution.
Fig. 3 is a kind of flow chart for data joining method that the embodiment of the present disclosure provides, and the present embodiment can be with above-mentioned one Each optinal plan combines in a or multiple embodiments, and in the present embodiment, event includes click event, purchase events, with And event of deducting fees.
And determine the event number triggered in each merchandise display page, comprising: obtained respectively in each merchandise display page Click event number, purchase events quantity and the event number of deducting fees of triggering, and sum;Using summed result as in each quotient The event number of product displayed page triggering.
As shown in figure 3, this method may include steps of:
The click event that step 301, acquisition are triggered in each merchandise display page, purchase events, and the prison for event of deducting fees Measured data.
Step 302, obtain respectively each merchandise display page triggering click event number, purchase events quantity and It deducts fees event number, and sums.
In a specific example, according to the click event triggered in some merchandise display page, purchase events, and The quantity of the determining click event triggered in the merchandise display page of the monitoring data for event of deducting fees is 20, the purchase events of triggering Quantity be 15, the quantity of the event of deducting fees of triggering is 5.Quantity summation to above-mentioned event, summed result 40.
Step 303, using summed result as the event number triggered in each merchandise display page.
Step 304 is directed to each packet segment, by the monitoring of all events triggered in the same merchandise display page Data are distributed to the same packet segment.
Step 305 summarizes packet segment, obtains the packet segment of preset quantity;Wherein, the prison in packet segment The corresponding event number of control data is equal to the event number triggered at least one merchandise display page.
Packet segment is sent to corresponding data stitching server by step 306, so that each data stitching server point The other monitoring data in packet segment carry out data splicing, obtain data splicing result.
The technical solution of the present embodiment, the click event triggered by acquisition in each merchandise display page, purchase events, with And the monitoring data for event of deducting fees, then obtain respectively each merchandise display page triggering click event number, purchase events Quantity and event number of deducting fees, and sum, and using summed result as the event number triggered in each merchandise display page, Can to the click event triggered in each merchandise display page, purchase events, and the monitoring data fragment for event of deducting fees, thus Realize the distribution to data splicing task.
Fig. 4 is a kind of structural schematic diagram for data splicing apparatus that the embodiment of the present disclosure provides, and the present embodiment is applicable to The case where data are spliced.The device can realize that the device can be configured at electricity by the way of software and/or hardware Sub- equipment.As shown in figure 4, the apparatus may include: data acquisition module 401, data fragmentation module 402 and data packet send mould Block 403.
Wherein, data acquisition module 401, for obtaining the monitoring at least two events of each merchandise display page triggering Data;Data fragmentation module 402 obtains the packet segment of preset quantity for carrying out fragment to the monitoring data of acquisition;Number According to packet sending module 403, for packet segment to be sent to corresponding data stitching server, so that the splicing service of each data Device carries out data splicing to the monitoring data in packet segment respectively, obtains data splicing result.
The technical solution of the present embodiment, by the monitoring number for obtaining at least two events triggered in each merchandise display page According to then carrying out fragment to the monitoring data of acquisition, obtain the packet segment of preset quantity, and packet segment is sent to Corresponding data stitching server, so that each data stitching server carries out data to the monitoring data in packet segment respectively Splicing, obtains data splicing result, the data connection scheme for solving the prior art is very huge in the data volume of monitoring data When, server burden is big, can be by right the problem of be easy to causeing server congestion, influence splicing and the storing process of data Data carry out fragment and realize the distribution that data are spliced with task, and each server need to only be responsible for corresponding data splicing task, service Device burden is small, can effectively improve the stability of system to avoid server congestion.
Optionally, based on the above technical solution, data fragmentation module 402 may include: that event number determines list Member, for determining the event number triggered in each merchandise display page;Data allocation unit, for being directed to each fragment data Packet, the monitoring data of all events triggered in the same merchandise display page is distributed to the same packet segment;Number The packet segment of preset quantity is obtained for summarizing packet segment according to packet collection unit;Wherein, in packet segment The corresponding event number of monitoring data is equal to the event number triggered at least one merchandise display page.
Optionally, based on the above technical solution, event includes click event, purchase events, and event of deducting fees; Event number determination unit may include: quantity summation subelement, for obtaining the point in the triggering of each merchandise display page respectively Event number, purchase events quantity and event number of deducting fees are hit, and is summed;Quantity determines subelement, is used for summed result As the event number triggered in each merchandise display page.
Optionally, based on the above technical solution, preset quantity is equal to the quantity of data stitching server.
It optionally, based on the above technical solution, can be with further include: data detection module, for in each commodity At least two events of displayed page triggering are monitored, and generate corresponding monitoring data;Data memory module, for monitoring Data are stored.
It optionally, based on the above technical solution, can be with further include: result memory module, for obtaining each data The data splicing result that stitching server generates, stores data splicing result.
Data splicing side provided by the embodiment of the present disclosure can be performed in data splicing apparatus provided by the embodiment of the present disclosure Method has the corresponding functional module of execution method and beneficial effect.
Below with reference to Fig. 5, it illustrates the electronic equipment for being suitable for being used to realize the embodiment of the present disclosure (such as terminal device or Server) 500 structural schematic diagram.Terminal device in the embodiment of the present disclosure can include but is not limited to such as mobile phone, Laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia broadcasting Put device), the mobile terminal of car-mounted terminal (such as vehicle mounted guidance terminal) etc. and such as number TV, desktop computer etc. Fixed terminal.Electronic equipment shown in Fig. 5 is only an example, should not function and use scope band to the embodiment of the present disclosure Carry out any restrictions.
As shown in figure 5, electronic equipment 500 may include processing unit (such as central processing unit, graphics processor etc.) 501, random access can be loaded into according to the program being stored in read-only memory (ROM) 502 or from storage device 508 Program in memory (RAM) 503 and execute various movements appropriate and processing.In RAM 503, it is also stored with electronic equipment Various programs and data needed for 500 operations.Processing unit 501, ROM 502 and RAM 503 pass through the phase each other of bus 504 Even.Input/output (I/O) interface 505 is also connected to bus 504.
In general, following device can connect to I/O interface 505: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 506 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 507 of dynamic device etc.;Storage device 508 including such as tape, hard disk etc.;And communication device 509.Communication device 509, which can permit electronic equipment 500, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 5 shows tool There is the electronic equipment 500 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
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 communication device 509, or from storage device 508 It is mounted, or is mounted from ROM 502.When the computer program is executed by processing unit 501, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: obtaining the monitoring data of at least two events triggered in each merchandise display page; Fragment is carried out to the monitoring data of acquisition, obtains the packet segment of preset quantity;Packet segment is sent to corresponding number It is obtained according to stitching server so that each data stitching server carries out data splicing to the monitoring data in packet segment respectively To data splicing result.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it 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, illustrate the method and computer program product according to the various embodiments of the disclosure Architecture, function and operation in the cards.In this regard, each box in flowchart or block diagram can represent one A part of module, program segment or code, a part of the module, program segment or code include it is one or more for realizing The executable instruction of defined logic function.It should also be noted that in some implementations as replacements, function marked in the box It can also can occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated can actually base Originally it is performed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Be described in the embodiment of the present disclosure involved module, unit can be realized by way of software, can also be with It is realized by way of hardware.Wherein, module, the title of unit are not constituted under certain conditions to the module or unit sheet The restriction of body, for example, data acquisition module is also described as " obtaining at least two things triggered in each merchandise display page The module of the monitoring data of part ", event number determination unit are also described as " determining and triggering in each merchandise display page The unit of event number ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, 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 design disclosed above, 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 in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of data joining method characterized by comprising
Obtain the monitoring data of at least two events triggered in each merchandise display page;
Fragment is carried out to the monitoring data of acquisition, obtains the packet segment of preset quantity;
The packet segment is sent to corresponding data stitching server, so that each data stitching server is respectively to described Monitoring data in packet segment carry out data splicing, obtain data splicing result.
2. being obtained the method according to claim 1, wherein the monitoring data of described pair of acquisition carry out fragment To the packet segment of preset quantity, comprising:
Determine the event number triggered in each merchandise display page;
For each packet segment, the monitoring data of all events triggered in the same merchandise display page is distributed to same In one packet segment;
Summarize the packet segment, obtains the packet segment of preset quantity;Wherein, the monitoring number in the packet segment It is equal to the event number triggered at least one merchandise display page according to corresponding event number.
3. according to the method described in claim 2, it is characterized in that, the event includes click event, purchase events, and button Bothersome part;
The event number that the determination is triggered in each merchandise display page, comprising:
Click event number, purchase events quantity and the event number of deducting fees in the triggering of each merchandise display page are obtained respectively, And it sums;
Using summed result as the event number triggered in each merchandise display page.
4. the method according to claim 1, wherein the preset quantity is equal to the data stitching server Quantity.
5. the method according to claim 1, wherein triggered in acquisition in each merchandise display page at least two Before the monitoring data of event, further includes:
At least two events triggered in each merchandise display page are monitored, corresponding monitoring data are generated;
The monitoring data are stored.
6. the method according to claim 1, wherein further include:
The data splicing result that each data stitching server generates is obtained, the data splicing result is stored.
7. a kind of data splicing apparatus characterized by comprising
Data acquisition module, for obtaining the monitoring data at least two events of each merchandise display page triggering;
Data fragmentation module obtains the packet segment of preset quantity for carrying out fragment to the monitoring data of acquisition;
Packet sending module, for the packet segment to be sent to corresponding data stitching server, so that each data Stitching server carries out data splicing to the monitoring data in the packet segment respectively, obtains data splicing result.
8. device according to claim 7, which is characterized in that the data fragmentation module includes:
Event number determination unit, for determining the event number triggered in each merchandise display page;
Data allocation unit, for being directed to each packet segment, all events that will be triggered in the same merchandise display page Monitoring data distribute to the same packet segment;
Data packet collection unit obtains the packet segment of preset quantity for summarizing the packet segment;Wherein, described The corresponding event number of monitoring data in packet segment is equal to the event number triggered at least one merchandise display page.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
One or more processors;
Storage device, for storing 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 data joining method as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt Such as data joining method as claimed in any one of claims 1 to 6 is realized when processor executes.
CN201811437134.4A 2018-11-28 2018-11-28 Data splicing method and device, electronic equipment and storage medium Active CN109522133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811437134.4A CN109522133B (en) 2018-11-28 2018-11-28 Data splicing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811437134.4A CN109522133B (en) 2018-11-28 2018-11-28 Data splicing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109522133A true CN109522133A (en) 2019-03-26
CN109522133B CN109522133B (en) 2020-10-02

Family

ID=65794782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811437134.4A Active CN109522133B (en) 2018-11-28 2018-11-28 Data splicing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109522133B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817965A (en) * 2019-11-18 2021-05-18 百度在线网络技术(北京)有限公司 Data splicing method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6573091B1 (en) * 1997-11-19 2003-06-03 Nature Technology Corporation Chimeric viral packaging signal without gag gene sequences
US20110072211A1 (en) * 2009-09-23 2011-03-24 Duluk Jr Jerome F Hardware For Parallel Command List Generation
CN103226520A (en) * 2013-04-02 2013-07-31 中国科学院信息工程研究所 Self-adaptive cluster memory management method and server clustering system
CN204375055U (en) * 2015-02-03 2015-06-03 青岛易触数码科技有限公司 A kind of automatic vending machine with handset Wechat shopping way
CN104731569A (en) * 2013-12-23 2015-06-24 华为技术有限公司 Data processing method and relevant equipment
CN105068737A (en) * 2015-07-29 2015-11-18 中国地质科学院地质力学研究所 Use method for multi-scale rock slice image management system
CN105354203A (en) * 2014-08-21 2016-02-24 阿里巴巴集团控股有限公司 Information display method and apparatus
CN106488330A (en) * 2015-09-01 2017-03-08 天脉聚源(北京)科技有限公司 A kind of Online Video trade shows method and system
US9830369B1 (en) * 2013-05-14 2017-11-28 Jsonar, Inc. Processor for database analytics processing
KR101865845B1 (en) * 2016-06-30 2018-07-23 (주)블루와이즈 System for promotion page production of custom-made

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6573091B1 (en) * 1997-11-19 2003-06-03 Nature Technology Corporation Chimeric viral packaging signal without gag gene sequences
US20110072211A1 (en) * 2009-09-23 2011-03-24 Duluk Jr Jerome F Hardware For Parallel Command List Generation
CN103226520A (en) * 2013-04-02 2013-07-31 中国科学院信息工程研究所 Self-adaptive cluster memory management method and server clustering system
US9830369B1 (en) * 2013-05-14 2017-11-28 Jsonar, Inc. Processor for database analytics processing
CN104731569A (en) * 2013-12-23 2015-06-24 华为技术有限公司 Data processing method and relevant equipment
CN105354203A (en) * 2014-08-21 2016-02-24 阿里巴巴集团控股有限公司 Information display method and apparatus
CN204375055U (en) * 2015-02-03 2015-06-03 青岛易触数码科技有限公司 A kind of automatic vending machine with handset Wechat shopping way
CN105068737A (en) * 2015-07-29 2015-11-18 中国地质科学院地质力学研究所 Use method for multi-scale rock slice image management system
CN106488330A (en) * 2015-09-01 2017-03-08 天脉聚源(北京)科技有限公司 A kind of Online Video trade shows method and system
KR101865845B1 (en) * 2016-06-30 2018-07-23 (주)블루와이즈 System for promotion page production of custom-made

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817965A (en) * 2019-11-18 2021-05-18 百度在线网络技术(北京)有限公司 Data splicing method and device, electronic equipment and storage medium
CN112817965B (en) * 2019-11-18 2023-10-17 百度在线网络技术(北京)有限公司 Data splicing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109522133B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN109299348A (en) A kind of data query method, apparatus, electronic equipment and storage medium
CN109324977A (en) Detection method, device and the electronic equipment of application program Caton
CN109803008B (en) Method and apparatus for displaying information
CN108776692A (en) Method and apparatus for handling information
CN110427304A (en) O&M method, apparatus, electronic equipment and medium for banking system
CN109447635A (en) Information storage means and device for block chain
CN110505141A (en) Processing method, device, readable medium and the electronic equipment of instant communication information
CN109753622A (en) static resource management method, device, storage medium and electronic equipment
CN109960650A (en) Application assessment method, apparatus, medium and electronic equipment based on big data
CN110334246A (en) A kind of data request processing method, apparatus, terminal device and storage medium
CN108898306A (en) Order allocation method, device, medium and electronic equipment
CN110223124A (en) Data processing method, device, electronic equipment and computer-readable medium
CN109471976A (en) Processing method, device, electronic equipment and the storage medium of web page operation data
CN108959642A (en) Method and apparatus for information to be written
CN109165077A (en) A kind of web page processing method, device, electronic equipment and storage medium
CN110059301A (en) Data processing method, device, electronic equipment and computer readable storage medium
CN109740066A (en) Information recommendation method, information recommending apparatus, storage medium and electronic equipment
CN109242551A (en) Sales lead management method, device, medium and electronic equipment based on block chain
CN110516463A (en) Method and apparatus for generating information
CN109754199A (en) Information output method and device
CN109462648A (en) A kind of user behavior tracking, device, equipment and storage medium
CN116258435A (en) Logistics information display method, device, equipment, storage medium and product
CN110163001A (en) Information display method and device based on customer relationship
CN109522133A (en) A kind of data joining method, device, electronic equipment and storage medium
CN109685472A (en) A kind of electronic signature method, device, electronic equipment and 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210305

Address after: Room 802, Information Building, 13 Linyin North Street, Pinggu District, Beijing, 101299

Patentee after: Beijing youzhuju Network Technology Co.,Ltd.

Address before: Room b-0035, 2 / F, building 3, yard 30, Shixing street, Shijingshan District, Beijing 100080

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.