CN104156485A - Webpage data transmission method, device and system - Google Patents

Webpage data transmission method, device and system Download PDF

Info

Publication number
CN104156485A
CN104156485A CN201410429335.5A CN201410429335A CN104156485A CN 104156485 A CN104156485 A CN 104156485A CN 201410429335 A CN201410429335 A CN 201410429335A CN 104156485 A CN104156485 A CN 104156485A
Authority
CN
China
Prior art keywords
trigger pip
transmission
daily record
transmitting apparatus
web 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
CN201410429335.5A
Other languages
Chinese (zh)
Other versions
CN104156485B (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 Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410429335.5A priority Critical patent/CN104156485B/en
Publication of CN104156485A publication Critical patent/CN104156485A/en
Application granted granted Critical
Publication of CN104156485B publication Critical patent/CN104156485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a webpage data transmission method, device and system. The webpage data transmission method comprises the steps that network sending equipment receives trigger signals, wherein the trigger signals are used for indicating webpage data to be sent to a target webpage from an original webpage; the webpage sending equipment establishes a send log corresponding to the trigger signals, wherein the content of the send log comprises information carried in the trigger signals; while the network sending equipment sends the send log corresponding to the trigger signals, the webpage data are sent to the target webpage from the original webpage. Through the webpage data transmission method, device and system, the effects of improving the transmission speed of user data and improving the user experience are achieved.

Description

Web data transmission method, Apparatus and system
Technical field
The present invention relates to field of data transmission, in particular to a kind of web data transmission method, Apparatus and system.
Background technology
Sharing function provides website to refer to be provided and can share plug-in unit for the head of a station's third party, and the head of a station embeds these plug-in units on the website of oneself just can share social media by the content of own website.Client web site is to have embedded the website of sharing plug-in unit.At present promising client the website of sharing function is provided, all provide client web site to share the statistical function of number of times.And all implementations that current statistics is shared number of times are all that netizen is after client web site triggers sharing function, first jump to sharing function website is provided, then record data, then provide website to jump to the page of sharing of social media website that netizen will share from sharing function.This data transfer mode as shown in Figure 1.This mode is to count on the data that client web site is shared number of times, but adopt in this way, netizen in the sharing operation and must provide the forwarding of website to realize through sharing function of client web site, also just says the only way which must be passed that sharing function provides website to become client web site to share at every turn.This just makes the sharing function of the client web site sharing function that places one's entire reliance upon that response speed and the health degree of website are provided, and certainly exists following problem:
1. postponed the response speed that user shares, the netizen who affects client web site experiences alternately.
Because netizen is after client web site triggers sharing function, first jumping to sharing function provides certain page of website oneself, then analytic parameter, record data, jump to again the sharing platform that netizen really will share, share the response speed of request so incured loss through delay user.
If 2. sharing function provides website visiting obstructed, the sharing function of client web site all cannot be realized.
Because it is the only way which must be passed of sharing process that sharing function provides website, so if sharing function provides website to go wrong, can directly cause client web site sharing function to realize.
Be overly dependent upon sharing function for the sharing function of client web site in correlation technique website is provided, thereby the user who causes shares the problem that speed is slow, user experience is poor, not yet propose at present effective solution.
Summary of the invention
Be overly dependent upon sharing function for the sharing function of existing client web site website is provided, thereby the user who causes shares the problem that speed is slow, user experience is poor and proposes the present invention, for this reason, fundamental purpose of the present invention is to provide a kind of web data transmission method and device, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of for web data transmission method.The method comprises: network transmitting apparatus receives trigger pip, and wherein, trigger pip is instruction is sent to web data target web signal by original web page; Network transmitting apparatus creates transmission daily record corresponding to trigger pip, and wherein, the content that sends daily record comprises the information of carrying in trigger pip; Network transmitting apparatus, in sending transmission daily record corresponding to trigger pip, sends to target web by web data by original web page.
Further, before network transmitting apparatus receiving target web page trigger signal, the method also comprises: network transmitting apparatus receives the script file code that network analysis equipment sends, this script file code is used for when the call format that receives the transmission daily record that after trigger pip, regulation creates, and will send Log Sender to network analysis equipment; And network transmitting apparatus script file code is loaded into network transmitting apparatus allly there are the webpages that send web data function, wherein all have the webpages that send web data function and comprise original web page.
Further, network transmitting apparatus creates transmission daily record corresponding to trigger pip and comprises: network transmitting apparatus parsing trigger pip, obtain the information of carrying in trigger pip; And original web page quotes script file code, meet the transmission daily record of call format taking the information of carrying in trigger pip as content creating.
Further, network transmitting apparatus, sending in daily record, sends to target web by web data by original web page and comprises: network transmitting apparatus is quoted script file code, by transmission Log Sender corresponding trigger pip to network analysis equipment; And network transmitting apparatus synchronously sends to target web by web data by original web page according to the information of carrying in trigger pip.
Further, when network transmitting apparatus is sending transmission daily record corresponding to trigger pip, after web data is sent to target web by original web page, method also comprises: network transmitting apparatus is the first database to network analysis equipment by transmission Log Sender corresponding trigger pip, and wherein the first database is for all transmission daily records with the webpage that sends web data function of storage networking transmitting apparatus; Network analysis equipment obtains Preset Time interval, and wherein, Preset Time interval is the time interval of the transmission daily record in predefined parsing the first database; Network analysis equipment carries out one parsing at interval of Preset Time interval to the transmission daily record being stored in the first database, obtains analysis result, and wherein, the transmission daily record in the first database comprises the transmission daily record that trigger pip is corresponding; Network analysis equipment stores the analysis result of regularly resolving according to the time interval into the second database of network analysis equipment, wherein, the second database is for the analysis result of all transmission daily records with the webpage that sends web data function of storage networking transmitting apparatus; And network analysis device statistics analysis result.
To achieve these goals, according to a further aspect in the invention, provide a kind of web data transmitting device, this device comprises: the first receiving element, be used for receiving trigger pip, wherein, trigger pip is instruction is sent to web data target web signal by original web page; Creating unit, for creating transmission daily record corresponding to trigger pip, wherein, the content that sends daily record comprises the information of carrying in trigger pip; And transmitting element, in sending transmission daily record corresponding to trigger pip, web data is sent to target web by original web page.
Further, this device also comprises: the second receiving element, the script file code sending for receiving network analysis equipment, script file code is used for when the call format that receives the transmission daily record that after trigger pip, regulation creates, and will send Log Sender to network analysis equipment; And loading unit, for script file code being loaded into all webpages with transmission web data function of network transmitting apparatus, wherein all webpages with transmission web data function comprise original web page.
Further, creating unit comprises: parsing module, for resolving trigger pip, obtain the information of carrying in trigger pip; And quote module, for quoting script file code, meet the transmission daily record of call format taking the information of carrying in trigger pip as content creating.
Further, transmitting element comprises: the first sending module, for quoting script file code, by transmission Log Sender corresponding trigger pip to network analysis equipment; And second sending module, synchronously web data is sent to target web by original web page for the information of carrying according to trigger pip.
To achieve these goals, according to a further aspect in the invention, provide a kind of web data transmission system, this system comprises: network transmitting apparatus, be used for receiving trigger pip, wherein, trigger pip is instruction is sent to web data target web signal by original web page; Create transmission daily record corresponding to trigger pip, wherein, the content that sends daily record comprises the information of carrying in trigger pip; And in sending transmission daily record corresponding to trigger pip to network analysis equipment, web data is sent to network receiving equipment by original web page.Network receiving equipment, web data corresponding to trigger pip sending for receiving network transmitting apparatus; And network analysis equipment, also will send log store in the first database for transmission daily record corresponding to trigger pip that receives the transmission of network transmitting apparatus, wherein the first database is for all transmission daily records with the webpages that send web data function of storage networking transmitting apparatus; Obtain Preset Time interval, wherein, Preset Time interval is the time interval of the transmission daily record in predefined parsing the first database; At interval of Preset Time interval, the transmission daily record being stored in the first database is carried out to one parsing, obtain analysis result, wherein, the transmission daily record in the first database comprises the transmission daily record that trigger pip is corresponding; The analysis result of regularly resolving according to the time interval stores the second database of network analysis equipment into, and wherein, the second database is for the analysis result of all transmission daily records with the webpages that send web data function of storage networking transmitting apparatus; And statistics analysis result.
By the present invention, adopt the method comprising the following steps: network transmitting apparatus receives trigger pip, wherein, trigger pip is instruction is sent to web data target web signal by original web page; Network transmitting apparatus creates transmission daily record corresponding to trigger pip, and wherein, the content that sends daily record comprises the information of carrying in trigger pip; Network transmitting apparatus is in sending transmission daily record corresponding to trigger pip, web data is sent to target web by original web page, the sharing function that has solved client web site is overly dependent upon sharing function provides website, thereby the user who causes shares the problem that speed is slow, user experience is poor, and then reach the effect that raising user shares speed, improves user experience.
Brief description of the drawings
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the process flow diagram of the web data transmission method of prior art;
Fig. 2 is according to the process flow diagram of the first embodiment of web data transmission method of the present invention;
Fig. 3 is according to the process flow diagram of the second embodiment of web data transmission method of the present invention;
Fig. 4 is according to the process flow diagram of the 3rd embodiment of web data transmission method of the present invention;
Fig. 5 is according to the process flow diagram of the 4th embodiment of web data transmission method of the present invention;
Fig. 6 is according to the process flow diagram of the 5th embodiment of web data transmission method of the present invention;
Fig. 7 is according to the process flow diagram of the preferred embodiment of web data transmission method of the present invention;
Fig. 8 is according to the process flow diagram of the first embodiment of web data dispensing device of the present invention;
Fig. 9 is according to the process flow diagram of the second embodiment of web data transmitting device of the present invention;
Figure 10 is according to the process flow diagram of the 3rd embodiment of web data transmitting device of the present invention;
Figure 11 is according to the process flow diagram of the 4th embodiment of web data transmitting device of the present invention;
Figure 12 is according to the block diagram of system of the first embodiment of web data transmission system of the present invention; And
Figure 13 is according to the block diagram of system of the second embodiment of web data transmission system of the present invention.
Embodiment
It should be noted that, in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Fig. 2 is according to the process flow diagram of the first embodiment of web data transmission method of the present invention.As shown in Figure 2, the method comprises the steps:
Step S102, network transmitting apparatus receives trigger pip, and wherein, trigger pip is instruction is sent to web data target web signal by original web page.
Trigger pip in this step can be the click behavior of user to particular webpage data in network transmitting apparatus, and receiving this click behavior is that this web data is sent to target web by indication network transmitting apparatus.Transmission described here can be that web data is shared to target web from original web page, can be also web data to be copied or clipped to target web.
Step S104, network transmitting apparatus creates transmission daily record corresponding to trigger pip, and wherein, the content that sends daily record comprises the information of carrying in trigger pip.
Daily record is the file with .log ending of various raw informations while recording the request of web server reception & disposal and operation.The meaning of daily record maximum is to record operation situation, the record of accessed request etc. in space in the operation of website.By daily record can clearly learn user at what IP, when, which page of having accessed targeted website with what operating system, what browser, what resolution display in the situation that, whether access successfully etc.
The once complete data transmission behavior that is created described transmission daily record and can be obtained netizen by this step, comprises and shares behavior, can by send daily record know who when by what content delivery (sharing) to what platform.
Step S106, network transmitting apparatus, in sending transmission daily record corresponding to trigger pip, sends to target web by web data by original web page.
Two actions described in this step are carried out simultaneously, aspect ensureing two, are not having under affected prerequisite, have improved on the whole the efficiency of network transmitting apparatus transmission data.
This embodiment is owing to having taked following steps: network transmitting apparatus receives trigger pip; Network transmitting apparatus creates transmission daily record corresponding to trigger pip; Network transmitting apparatus is in sending transmission daily record corresponding to trigger pip, web data is sent to target web by original web page, make the process of web data from original web page to target web and discrete the coming of process that the transmission Log Sender of original web page generation is gone out, thereby can make web data directly be transferred to target web, and be no longer dependent on response speed and the health degree of other equipment, reach the effect that improves user data transmission speed, improves user experience.
Fig. 3 is according to the process flow diagram of the second embodiment of web data transmission method of the present invention.This embodiment can be used as a kind of preferred implementation embodiment illustrated in fig. 1, and as shown in Figure 3, this web data transmission method comprises:
Step S201, network transmitting apparatus receives the script file code that network analysis equipment sends, and this script file code is used for when the call format that receives the transmission daily record that after trigger pip, regulation creates, and will send Log Sender to network analysis equipment.
Script file is the extension of autoexec, is the program that a kind of plain text is preserved, and computer script program is in general the combination that a series of control computing machines of determining carry out arithmetic operation action, can realize therein certain logic branch etc.The exploitation of the relative general procedure of shell script relatively approaches natural language, can be without compiling but explain and carry out, be beneficial to the control of fast Development or some light weights.Script is many, and the execution of general script is only relevant with concrete executor, so as long as have the interpretive routine of corresponding language just can accomplish cross-platform in system.
Script file code described in this step can be JS code.JS code is the code of the script file write of JavaScript, preserves expansion .JS by name by individual files.Fundamental purpose is the speed issue of leaving over for settlement server terminal language, and the basic function of data verification is provided.Relation a kind of real-time, dynamic, interactivity that the appearance of JavaScript makes to have realized between webpage and user.Utilize JS code can realize two functions: the first, when netizen is in the time that client web site carries out data transmission (sharing), can generate transmission (sharing) daily record conforming with the regulations.The second, by generate Log Sender to network analysis equipment.So journal format at least comprises netizen's information, temporal information, is sent out the information of content information and target device.
The configuration of network analysis equipment is used for receiving and recording the server of the transmission daily record of network transmitting apparatus specially, and regulation sends the form of daily record, here send the information that daily record at least comprises netizen's information, temporal information, is sent out content information and target device.
Step S202, network transmitting apparatus is loaded into script file code all webpages with transmission web data function of network transmitting apparatus, and wherein all webpages with transmission web data function comprise original web page.
Network transmitting apparatus, in the time of usage data transfer function, is first quoted the JS code providing, and this code is all quoted at the page of all demonstration data sending functions.Like this, network transmitting apparatus only need be accepted JS code once, when other pages with data sending function are subject to triggering afterwards, can introduce immediately, has improved work efficiency.
Step S204, network transmitting apparatus receives trigger pip, and wherein, trigger pip is instruction is sent to web data target web signal by original web page.
This step is identical with step S102, repeats no more here.
Step S206, network transmitting apparatus creates transmission daily record corresponding to trigger pip, and wherein, the content that sends daily record comprises the information of carrying in trigger pip.
This step is identical with step S104, repeats no more here.
Step S207, network transmitting apparatus, in sending transmission daily record corresponding to trigger pip, sends to target web by web data by original web page.
This step is identical with step S106, repeats no more here.
In this embodiment, provide the step that web data transmission method can also be additional: network transmitting apparatus receives the script file code that network analysis equipment sends, this script file code is used for when the call format that receives the transmission daily record that after trigger pip, regulation creates, and will send Log Sender to network analysis equipment; And network transmitting apparatus script file code is loaded into network transmitting apparatus allly there are the webpages that send web data function, wherein all have the webpages that send web data function and comprise original web page.Can add script file code at all pages with transmission web data function of network transmitting apparatus by above-mentioned steps, any one has the page that sends web data function and is triggered so only to need to load once network transmitting apparatus, can carry out immediately this code, improve the efficiency of web data transmission.
Fig. 4 is according to the process flow diagram of the 3rd embodiment of web data transmission method of the present invention.This embodiment can be used as a kind of preferred implementation embodiment illustrated in fig. 2, and as shown in Figure 4, this web data transmission method comprises:
Step S301, network transmitting apparatus receives the script file code that network analysis equipment sends, and this script file code is used for when the call format that receives the transmission daily record that after trigger pip, regulation creates, and will send Log Sender to network analysis equipment.
This step is identical with step S201, repeats no more here.
Step S302, network transmitting apparatus is loaded into script file code all webpages with transmission web data function of network transmitting apparatus, and wherein all webpages with transmission web data function comprise original web page.
This step is identical with step S202, repeats no more here.
Step 303, network transmitting apparatus receives trigger pip, and wherein, trigger pip is instruction is sent to web data target web signal by original web page.
This step is identical with step S102, repeats no more here.
Step 304, network transmitting apparatus is resolved trigger pip, obtains the information of carrying in trigger pip.
In trigger pip, carry the full content that user carries out data transmission, such as whom, when, what content shared to what platform etc.Therefore, can be according to the whole or certain content of this data transmission of Requirement Acquisition by resolving trigger pip.
Step 305, original web page is quoted script file code, meets the transmission daily record of call format taking the information of carrying in trigger pip as content creating.
Due in step S302, network transmitting apparatus has been loaded into script file code all webpages with transmission web data function of network transmitting apparatus, therefore original web page can directly be quoted script file code, meets the transmission daily record of call format taking the information of carrying in trigger pip as content creating.
Step 306, network transmitting apparatus, in sending transmission daily record corresponding to trigger pip, sends to target web by web data by original web page.
This step is identical with step S106, repeats no more here.
In this embodiment, provided network transmitting apparatus and created the concrete implementation step of transmission daily record corresponding to trigger pip: network transmitting apparatus is resolved trigger pip, obtains the information of carrying in trigger pip; And original web page quotes script file code, meet the transmission daily record of call format taking the information of carrying in trigger pip as content creating.Can accurately obtain the relevant information that sends above-mentioned web data by above-mentioned steps, thereby generating content comprehensively sends daily record, avoid information dropout impact to send effective use of daily record.
Fig. 5 is according to the process flow diagram of the 4th embodiment of web data transmission method of the present invention.This embodiment can be used as a kind of preferred implementation embodiment illustrated in fig. 2, and as shown in Figure 5, this web data transmission method comprises:
Step S401, network transmitting apparatus receives the script file code that network analysis equipment sends, and this script file code is used for when the call format that receives the transmission daily record that after trigger pip, regulation creates, and will send Log Sender to network analysis equipment.
This step is identical with step S201, repeats no more here.
Step S402, network transmitting apparatus is loaded into script file code all webpages with transmission web data function of network transmitting apparatus, and wherein all webpages with transmission web data function comprise original web page.
This step is identical with step S202, repeats no more here.
Step 403, network transmitting apparatus receives trigger pip, and wherein, trigger pip is instruction is sent to web data target web signal by original web page.
This step is identical with step S102, repeats no more here.
Step 404, network transmitting apparatus creates transmission daily record corresponding to trigger pip, and wherein, the content that sends daily record comprises the information of carrying in trigger pip.
This step is identical with step S104, repeats no more here.
Step 405, network transmitting apparatus is quoted script file code, by transmission Log Sender corresponding trigger pip to network analysis equipment.
As described in step 201, quote script file code and there is the effect to network analysis equipment by the Log Sender generating, therefore network transmitting apparatus is quoted script file code, can be by transmission Log Sender corresponding trigger pip to network analysis equipment.
Step 406, network transmitting apparatus synchronously sends to target web by web data by original web page according to the information of carrying in trigger pip.
As long as use network sending function at network transmitting apparatus, triggering the function of JS code, generate the transmission daily record conforming with the regulations and send this daily record in long-range network analysis equipment, also network data can be sent to target pages.
In this embodiment, provide network transmitting apparatus in sending daily record, web data is sent to the concrete implementation step of target web by original web page: network transmitting apparatus is quoted script file code, by transmission Log Sender corresponding trigger pip to network analysis equipment; And network transmitting apparatus synchronously sends to target web by web data by original web page according to the information of carrying in trigger pip.In above-mentioned steps, owing to quoting script file code and can synchronously carry out according to the information of carrying in trigger pip, do not interfere with each other, therefore can realize transmission Log Sender corresponding trigger pip to network analysis equipment and web data is sent to two kinds of behaviors of target web by original web page and carry out simultaneously, thereby effectively avoid response speed and the impact of health degree on web data transmission speed of network analysis equipment.
Fig. 6 is according to the process flow diagram of the 5th embodiment of web data transmission method of the present invention.This embodiment can be used as a kind of preferred implementation embodiment illustrated in fig. 1, and as shown in Figure 6, the method comprises the steps:
Step S501, network transmitting apparatus receives trigger pip, and wherein, trigger pip is instruction is sent to web data target web signal by original web page.
This step is identical with step S102, repeats no more here.
Step S502, network transmitting apparatus creates transmission daily record corresponding to trigger pip, and wherein, the content that sends daily record comprises the information of carrying in trigger pip.
This step is identical with step S104, repeats no more here.
Step S503, network transmitting apparatus, in sending transmission daily record corresponding to trigger pip, sends to target web by web data by original web page.
This step is identical with step S106, repeats no more here.
Step S504, network transmitting apparatus is the first database to network analysis equipment by transmission Log Sender corresponding trigger pip, and wherein the first database is for all transmission daily records with the webpage that sends web data function of storage networking transmitting apparatus.
This step is to be stored in the database of network analysis equipment sending daily record, can use according to user's demand.First database has here been stored all transmission daily records with the webpage that sends web data function of network transmitting apparatus.According to user's request, can regularly process the daily record of the first database storage, such as, do not have the daily record of application or reference value to delete, to save databases.
Step S505, network analysis equipment obtains Preset Time interval, and wherein, Preset Time interval is the time interval of the transmission daily record in predefined parsing the first database.
Can carry out real time parsing to sending daily record, but the method can propose higher requirement to the performance of network analysis equipment, if the poor-performing of the deal with data of network analysis equipment, probably causes the collapse of network analysis equipment, affect the carrying out that whole daily record is resolved.If at interval of a period of time to accumulation daily record concentrate process, can improve to a great extent the analyzing efficiency of network analysis equipment, and not affect parsing effect.Such as, each even a few hours resolve, and can draft voluntarily concrete interval time according to user's request.
Step S506, network analysis equipment carries out one parsing at interval of Preset Time interval to the transmission daily record being stored in the first database, obtains analysis result, and wherein, the transmission daily record in the first database comprises the transmission daily record that trigger pip is corresponding.
Network analysis equipment can regularly be resolved the journal file of receiving, therefrom parses the information such as netizen, time, the content being sent out and the target pages sending to of every data transfer.
Step S507, network analysis equipment stores the analysis result of regularly resolving according to the time interval into the second database of network analysis equipment, wherein, the second database is for the analysis result of all transmission daily records with the webpage that sends web data function of storage networking transmitting apparatus.
Store the analysis result of daily record into database, in the time that user has demand, can immediately use.Here, for the data in the second database, also can process according to user's request, such as, regularly remove unwanted data, to reduce internal memory taking etc.
Step S508, network analysis device statistics analysis result.
Analysis result in the second database is added up, can obtain such as concrete network delivery device be sent out the number of times of (sharing) data, the concrete page of network delivery device is sent out the number of times of (sharing) data and is sent to the details such as the concrete number of times of each network receiving equipment.
In this embodiment, provide when network transmitting apparatus is sending transmission daily record corresponding to trigger pip, web data is sent to the specific implementation method that can also adopt after the step of target web by original web page, comprise: network transmitting apparatus is the first database to network analysis equipment by transmission Log Sender corresponding trigger pip; Network analysis equipment obtains Preset Time interval; Network analysis equipment carries out one parsing at interval of Preset Time interval to the transmission daily record being stored in the first database, obtains analysis result; Network analysis equipment stores the analysis result of regularly resolving according to the time interval into the second database of network analysis equipment, wherein, the second database is for the analysis result of all transmission daily records with the webpage that sends web data function of storage networking transmitting apparatus; And network analysis device statistics analysis result.By above-mentioned steps, the concrete daily record of web data transmission can be preserved, regularly daily record gathered, resolved and adds up by network analysis equipment, thereby can meet the statistical demand of different user.
Fig. 7 is according to the process flow diagram of the preferred embodiment of web data transmission method of the present invention, as shown in Figure 7, wherein, client web site is equal to network transmitting apparatus, and monitoring code is equal to script file code, and sharing function is equal to web data sending function, sharing platform is equal to network receiving equipment, share daily record and be equal to transmission daily record, sending function provides website to be equal to network analysis equipment, shares number of times and is equal to web data transmission times.
Client web site in this embodiment has been realized when web data is sent to sharing platform, will share Log Sender to sharing function website is provided, be a kind of preferred implementation of Fig. 6 embodiment.
Fig. 8 is according to the structured flowchart of the first embodiment of web data transmitting device of the present invention.As shown in Figure 8, this apparatus structure comprises:
The first receiving element 22, for receiving trigger pip, wherein, trigger pip is instruction is sent to web data target web signal by original web page
The trigger pip that this unit receives can be the click behavior of user to particular webpage data in network transmitting apparatus, and receiving this click behavior is that this web data is sent to target web by indication network transmitting apparatus.Transmission described here can be that web data is shared to target web from original web page, can be also web data to be copied or clipped to target web.
Creating unit 24, for creating transmission daily record corresponding to trigger pip, wherein, the content that sends daily record comprises the information of carrying in trigger pip
Daily record is the file with .log ending of various raw informations while recording the request of web server reception & disposal and operation.The meaning of daily record maximum is to record operation situation, the record of accessed request etc. in space in the operation of website.By daily record can clearly learn user at what IP, when, which page of having accessed targeted website with what operating system, what browser, what resolution display in the situation that, whether access successfully etc.
Creating unit 22 can be obtained netizen's once complete data transmission behavior by creating described transmission daily record, comprise and share behavior, can by send daily record know who when by what content delivery (sharing) to what platform.
Transmitting element 26, in sending transmission daily record corresponding to trigger pip, sends to target web by web data by original web page
This unit can be carried out two described actions simultaneously, aspect ensureing two, is not having under affected prerequisite, has improved on the whole the efficiency of network transmitting apparatus transmission data.
The web data transmitting device that the present embodiment provides comprises: the first receiving element 22, creating unit 24 and transmitting element 26.By this device can be by web data the process of transmitting from original web page to target web and transmission Log Sender that original web page the is generated process of going out independently carry out, thereby make web data can directly be transferred to target web, and be no longer dependent on response speed and the health degree of other equipment, reach and improved the effect that user shares speed, improves user experience.
Fig. 9 is according to the structured flowchart of the second embodiment of web data transmitting device of the present invention.As shown in Figure 9, this apparatus structure comprises:
The second receiving element 20, loading unit 21, the first receiving element 22, creating unit 24 and transmitting element 26.Wherein, the first receiving element 22, creating unit 24, transmitting element 26 are identical with Fig. 8, repeat no more here.Wherein the second receiving element 20 and loading unit 21 are specially:
The second receiving element 20, the script file code sending for receiving network analysis equipment, script file code is used for when the call format that receives the transmission daily record that after trigger pip, regulation creates, and will send Log Sender to network analysis equipment.
The script file code that this unit receives can be JS code.JS code is the code of the script file write of JavaScript, preserves expansion .JS by name by individual files.Fundamental purpose is the speed issue of leaving over for settlement server terminal language, and the basic function of data verification is provided.Relation a kind of real-time, dynamic, interactivity that the appearance of JavaScript makes to have realized between webpage and user.Utilize JS code can realize two functions: the first, when netizen is in the time that client web site carries out data transmission (sharing), can generate transmission (sharing) daily record conforming with the regulations.The second, by generate Log Sender to network analysis equipment.So journal format at least comprises netizen's information, temporal information, is sent out the information of content information and target device.
The configuration of network analysis equipment is used for receiving and recording the server of the transmission daily record of network transmitting apparatus specially, and regulation sends the form of daily record, here send the information that daily record at least comprises netizen's information, temporal information, is sent out content information and target device.
Loading unit 21, for script file code being loaded into all webpages with transmission web data function of network transmitting apparatus, wherein all webpages with transmission web data function comprise original web page.
Network transmitting apparatus, in the time of usage data transfer function, is first quoted the JS code providing, and by loading unit 21, this code is all quoted at the page of all demonstration data sending functions.Like this, network transmitting apparatus only need be accepted JS code once, when other pages with data sending function are subject to triggering afterwards, can introduce immediately, has improved work efficiency.
The present embodiment has provided the part that web data transmitting device can also comprise described in Fig. 8: the second receiving element 20 and loading unit 21.The web data dispensing device that has added said two units can add script file code by all pages with transmission web data function in this device, any one has the page that sends web data function and is triggered so only to need to load once this device, can carry out immediately this code, improve the efficiency that web data sends.
Figure 10 is according to the structured flowchart of the 3rd embodiment of web data transmitting device of the present invention.As shown in figure 10, this apparatus structure comprises:
The second receiving element 20, loading unit 21, the first receiving element 22, creating unit 24 and transmitting element 26.Wherein, the second receiving element 20, loading unit 21, the first receiving element 22 are identical with Fig. 9 with transmitting element 26, repeat no more here.Creating unit 24 can also comprise:
Parsing module 32, for resolving trigger pip, obtain the information of carrying in trigger pip.
In trigger pip, carry the full content that user carries out data transmission, such as whom, when, what content shared to what platform etc.Therefore, resolving trigger pip by parsing module 32 can be according to the whole or certain content of this data transmission of Requirement Acquisition.
Quote module 34, for quoting script file code, meet the transmission daily record of call format taking the information of carrying in trigger pip as content creating.
Allly there are the webpages that send web data function due to what script file code had been loaded into network transmitting apparatus by loading unit 21, therefore quote module 34 and can directly quote script file code, meet the transmission daily record of call format taking the information of carrying in trigger pip as content creating.
The present embodiment has provided the module composition that creating unit 24 can also comprise: parsing module 32 and quote module 34.Can make this web data dispensing device accurately obtain the relevant information that sends web data by above-mentioned module, thereby generating content comprehensively sends daily record, avoid information dropout to cause transmission daily record effectively not use.
Figure 11 is according to the structured flowchart of the 4th embodiment of web data transmitting device of the present invention.As shown in figure 11, this apparatus structure comprises:
The second receiving element 20, loading unit 21, the first receiving element 22, creating unit 24 and transmitting element 26.Wherein, the second receiving element 20, loading unit 21, the first receiving element 22 are identical with Fig. 9 with creating unit 24, repeat no more here.Transmitting element 26 can also comprise:
The first sending module 42, for quoting script file code, by transmission Log Sender corresponding trigger pip to network analysis equipment.
As quoting described in module 34, quote script file code and there is the effect to network analysis equipment by the Log Sender generating, therefore the first sending module 42 is quoted script file code, can be by transmission Log Sender corresponding trigger pip to network analysis equipment.
The second sending module 44, synchronously sends to target web by web data by original web page for the information of carrying according to trigger pip.
As long as use network sending function at network transmitting apparatus, the first sending module 42 triggers scripted code function, when sending the logs to long-range network analysis equipment, and the second sending module 44 can send to target pages by network data.
The present embodiment has provided the module composition that transmitting element 26 can also comprise: the first sending module 42 and the second sending module 44.Owing to quoting script file code in the first sending module 42 and the second sending module 44 is gone out transmission Log Sender according to the information of carrying in trigger pip, described two processes can synchronously carry out, not interfere with each other, therefore this device has effectively been avoided response speed and the impact of health degree on web data transmission speed of network analysis equipment, improve data transmission speed, promoted user's experience.
Figure 12 is according to the system composition diagram of the first embodiment of web data transmission system of the present invention.This system comprises:
Network transmitting apparatus 01, for receiving trigger pip, wherein, trigger pip is instruction is sent to web data target web signal by original web page; Create transmission daily record corresponding to trigger pip, wherein, the content that sends daily record comprises the information of carrying in trigger pip; And corresponding transmission daily record web data corresponding to synchronized transmission trigger pip of transmission trigger pip.
This equipment can be gone out web data and transmission Log Sender corresponding to trigger pip simultaneously, no longer after first transmission daily record of existence, sends the sequencing of web data.
Network receiving equipment 02, web data corresponding to trigger pip sending for receiving network transmitting apparatus.
This device just has the function that receives web data, does not specifically limit hardware kind.
The web data transmission system that this embodiment provides, owing to comprising network transmitting apparatus, network receiving equipment, has realized network transmitting apparatus and can, in sending web data to network receiving equipment, outwards send daily record.This system has effectively avoided between data send and receive system, cannot directly realizing in legacy system the low drawback of transfer efficiency that data transmission causes, thereby has improved data rate.
Figure 13 is according to the system composition diagram of the second embodiment of web data transmission system of the present invention.This system, except comprising network transmitting apparatus 01, network receiving equipment 02, can also comprise:
Network analysis equipment 03, also will send log store in the first database for transmission daily record corresponding to trigger pip that receives the transmission of network transmitting apparatus, wherein the first database is for all transmission daily records with the webpages that send web data function of storage networking transmitting apparatus; Obtain Preset Time interval, wherein, Preset Time interval is the time interval of the transmission daily record in predefined parsing the first database; At interval of Preset Time interval, the transmission daily record being stored in the first database is carried out to one parsing, obtain analysis result, wherein, the transmission daily record in the first database comprises the transmission daily record that trigger pip is corresponding; The analysis result of regularly resolving according to the time interval stores the second database of network analysis equipment into, and wherein, the second database is for the analysis result of all transmission daily records with the webpages that send web data function of storage networking transmitting apparatus; And statistics analysis result.
This equipment can receive transmission daily record, and regularly resolves sending daily record, and analysis result is added up.
The web data transmission system that this embodiment provides, owing to comprising network transmitting apparatus, network receiving equipment and network analysis equipment, realized network transmitting apparatus can be simultaneously respectively with network receiving equipment, network analysis equipment carries out communication, having avoided in conventional art network transmitting apparatus and network receiving equipment to carry out data transmission needs first carry out data transmission to network analysis equipment, could carry out data transmission efficiency that data transmission causes and be subject to network receiving equipment subsequently the drawback of network analysis equipment impact, thereby improve data rate, improve to a great extent user's experience.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that multiple calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a web data transmission method, is characterized in that, comprising:
Network transmitting apparatus receives trigger pip, and wherein, described trigger pip is instruction is sent to web data target web signal by original web page;
Described network transmitting apparatus creates transmission daily record corresponding to described trigger pip, and wherein, the content of described transmission daily record comprises the information of carrying in described trigger pip;
Described network transmitting apparatus, in sending transmission daily record corresponding to described trigger pip, sends to described target web by described web data by described original web page.
2. method according to claim 1, is characterized in that, before network transmitting apparatus receives described trigger pip, described method also comprises:
Described network transmitting apparatus receives the script file code that network analysis equipment sends, described script file code is for when receiving the call format of described transmission daily record of the establishment of regulation after described trigger pip, and by described transmission Log Sender to described network analysis equipment; And
Described network transmitting apparatus is loaded into described script file code all webpages with transmission web data function of described network transmitting apparatus, and wherein all webpages with transmission web data function comprise described original web page.
3. method according to claim 2, is characterized in that, described network transmitting apparatus creates transmission daily record corresponding to described trigger pip and comprises:
Described network transmitting apparatus is resolved described trigger pip, obtains the information of carrying in described trigger pip; And
Described original web page is quoted described script file code, meets the transmission daily record of described call format taking the information of carrying in described trigger pip as content creating.
4. method according to claim 2, is characterized in that, described network transmitting apparatus, in sending described transmission daily record, sends to described target web by described web data by described original web page and comprises:
Described network transmitting apparatus is quoted described script file code, and transmission Log Sender corresponding described trigger pip is arrived to described network analysis equipment; And
Described network transmitting apparatus synchronously sends to described target web by described web data by described original web page according to the information of carrying in described trigger pip.
5. method according to claim 1, it is characterized in that, when described network transmitting apparatus is sending transmission daily record corresponding to described trigger pip, after described web data is sent to described target web by described original web page, described method also comprises:
Described network transmitting apparatus is the first database to described network analysis equipment by transmission Log Sender corresponding described trigger pip, and wherein said the first database is for storing all transmission daily records with the webpage that sends web data function of described network transmitting apparatus;
Described network analysis equipment obtains Preset Time interval, and wherein, described Preset Time interval is the time interval of the transmission daily record in described the first database of predefined parsing;
Described network analysis equipment carries out one parsing at interval of described Preset Time interval to the transmission daily record being stored in described the first database, obtain analysis result, wherein, the transmission daily record in described the first database comprises the transmission daily record that described trigger pip is corresponding;
Described network analysis equipment stores the analysis result of regularly resolving according to the described time interval into the second database of described network analysis equipment, wherein, described the second database is used for the analysis result of all transmission daily records with the webpages that send web data function of storing described network transmitting apparatus; And
Analysis result described in described network analysis device statistics.
6. a web data transmitting device, is characterized in that, comprising:
The first receiving element, for receiving trigger pip, wherein, described trigger pip is instruction is sent to web data target web signal by original web page;
Creating unit, for creating transmission daily record corresponding to described trigger pip, wherein, the content of described transmission daily record comprises the information of carrying in described trigger pip; And
Transmitting element, in sending transmission daily record corresponding to described trigger pip, sends to target web by described web data by described original web page.
7. device according to claim 6, is characterized in that, described device also comprises:
The second receiving element, the script file code sending for receiving network analysis equipment, described script file code is for when receiving the call format of described transmission daily record of the establishment of regulation after described trigger pip, and by described transmission Log Sender to described network analysis equipment; And
Loading unit, for described script file code being loaded into all webpages with transmission web data function of described network transmitting apparatus, wherein all webpages with transmission web data function comprise described original web page.
8. device according to claim 7, is characterized in that, described creating unit comprises:
Parsing module, for resolving described trigger pip, obtains the information of carrying in described trigger pip; And
Quote module, for quoting described script file code, meet the transmission daily record of described call format taking the information of carrying in described trigger pip as content creating.
9. a web data transmission system, is characterized in that, comprising:
Network transmitting apparatus, for receiving trigger pip, wherein, described trigger pip is instruction is sent to web data target web signal by original web page; Create transmission daily record corresponding to described trigger pip, wherein, the content of described transmission daily record comprises the information of carrying in described trigger pip; And send web data corresponding to trigger pip described in transmission daily record corresponding to described trigger pip synchronized transmission; And
Network receiving equipment, web data corresponding to described trigger pip sending for receiving described network transmitting apparatus.
10. system according to claim 9, is characterized in that, also comprises:
Network analysis equipment, for receive transmission daily record corresponding to described trigger pip that described network transmitting apparatus sends and by described transmission log store in the first database, wherein said the first database is for storing all transmission daily records with the webpages that send web data function of described network transmitting apparatus; Obtain Preset Time interval, wherein, described Preset Time interval is the time interval of the transmission daily record in described the first database of predefined parsing; At interval of described Preset Time interval, the transmission daily record being stored in described the first database is carried out to one parsing, obtain analysis result, wherein, the transmission daily record in described the first database comprises the transmission daily record that described trigger pip is corresponding; The analysis result of regularly resolving according to the described time interval stores the second database of described network analysis equipment into, wherein, described the second database is used for the analysis result of all transmission daily records with the webpages that send web data function of storing described network transmitting apparatus; And add up described analysis result.
CN201410429335.5A 2014-08-27 2014-08-27 Web data transmission method, apparatus and system Active CN104156485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410429335.5A CN104156485B (en) 2014-08-27 2014-08-27 Web data transmission method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410429335.5A CN104156485B (en) 2014-08-27 2014-08-27 Web data transmission method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104156485A true CN104156485A (en) 2014-11-19
CN104156485B CN104156485B (en) 2018-05-18

Family

ID=51881983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410429335.5A Active CN104156485B (en) 2014-08-27 2014-08-27 Web data transmission method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104156485B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108604245A (en) * 2016-06-22 2018-09-28 华为技术有限公司 A kind of method and device obtaining web page contents

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235494A1 (en) * 2009-03-16 2010-09-16 Microsoft Corporation Flexible logging, such as for a web server
CN103001856A (en) * 2012-12-05 2013-03-27 华为软件技术有限公司 Information sharing method and system and instant messaging (IM) client and server
CN103020087A (en) * 2011-09-26 2013-04-03 百度在线网络技术(北京)有限公司 Method and device for generating clicking journals, as well as method and device for adjusting search results

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100235494A1 (en) * 2009-03-16 2010-09-16 Microsoft Corporation Flexible logging, such as for a web server
CN102356390A (en) * 2009-03-16 2012-02-15 微软公司 Flexible logging, such as for a web server
CN103020087A (en) * 2011-09-26 2013-04-03 百度在线网络技术(北京)有限公司 Method and device for generating clicking journals, as well as method and device for adjusting search results
CN103001856A (en) * 2012-12-05 2013-03-27 华为软件技术有限公司 Information sharing method and system and instant messaging (IM) client and server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108604245A (en) * 2016-06-22 2018-09-28 华为技术有限公司 A kind of method and device obtaining web page contents

Also Published As

Publication number Publication date
CN104156485B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN104767775B (en) Web application information push method and system
US8874694B2 (en) Adaptive packaging of network resources
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
EP1997041B1 (en) Content management
CN109634605B (en) Simulation data generation method and system for web front end
CN105187396A (en) Method and device for identifying web crawler
US20080270412A1 (en) Tracking user clicks using ajax based beacons
CN103686198A (en) Video data processing method, device and system
CN104335523A (en) Access control method, client and server
CN103150513A (en) Method and device for intercepting embedded information in application program
CN102904765B (en) The method and apparatus that data report
CN104731869B (en) The page shows method and device
CN107203470B (en) Page adjustment method and device
CN103618773A (en) Display method, device and system for thermodynamic diagrams
US20150095487A1 (en) Third-party link tracker system and method
CN104462242B (en) Webpage capacity of returns statistical method and device
CN102739776A (en) Method, device and system for revealing information
CN108959401B (en) Information propagation monitoring and analyzing method, system, server and storage medium
CN104978207A (en) Method for uploading file, browser and system
CN109561167A (en) A kind of domain name analytic method and device
CN104253783A (en) Web application realization code loading method, device, system and server
CN104156485A (en) Webpage data transmission method, device and system
CN104811418A (en) Virus detection method and apparatus
US8805987B1 (en) Ensuring a cookie-less namespace
CN104980511A (en) Game data access method, game data access system and game web server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Webpage data transmission method, device and system

Effective date of registration: 20190531

Granted publication date: 20180518

Pledgee: Shenzhen Black Horse World Investment Consulting Co., Ltd.

Pledgor: Beijing Guoshuang Technology Co.,Ltd.

Registration number: 2019990000503

PE01 Entry into force of the registration of the contract for pledge of patent right
CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: Beijing Guoshuang Technology Co.,Ltd.

CP02 Change in the address of a patent holder