CN109561117A - Collecting method and device - Google Patents

Collecting method and device Download PDF

Info

Publication number
CN109561117A
CN109561117A CN201710880787.9A CN201710880787A CN109561117A CN 109561117 A CN109561117 A CN 109561117A CN 201710880787 A CN201710880787 A CN 201710880787A CN 109561117 A CN109561117 A CN 109561117A
Authority
CN
China
Prior art keywords
configuration file
event data
identification information
server
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
CN201710880787.9A
Other languages
Chinese (zh)
Other versions
CN109561117B (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 CN201710880787.9A priority Critical patent/CN109561117B/en
Publication of CN109561117A publication Critical patent/CN109561117A/en
Application granted granted Critical
Publication of CN109561117B publication Critical patent/CN109561117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A kind of collecting method provided by the invention obtains user to the operational order of element shown by the client device first;Whether the identification information for then determining object element operated by the operational order is identification information in the configuration file, if it is, obtaining the corresponding event data of the object element;The event data is finally sent to the server.Since what is sent in the present invention is event data, and event data is much smaller compared to the data volume of full dose data, and only sends the event data of the object element to match with the identification information in configuration file, therefore, the transmission quantity for greatly reducing data, reduces network burden.

Description

Collecting method and device
Technical field
The present invention relates to Internet technical field more particularly to a kind of collecting methods and device.
Background technique
With the continuous development of internet and popularizing for intelligent terminal, major electric business and Internet enterprises have been owned by oneself APP client, such as Jingdone district, Taobao.
When user the operation such as clicks, chooses to the element (such as button, picture or text) in APP client, institute The data of generation are user behavior data.Data analysis particularly significant, Ke Yiwei for enterprise is carried out to user behavior data Marketing decision in the future provides foundation, and the premise of data analysis seeks to acquisition user behavior data.
It in the prior art, is usually that nothing buries a mode for acquisition data, nothing to the mode that user behavior data is acquired It buries an acquisition data and refers to generated full dose when server operates any one element of user in APP client Data are acquired, wherein full dose data contain element itself attribute data and the element when being operated up and down Literary data.
As can be seen that existing nothing buries the full dose data that a mode for acquisition data needs to acquire user's operation, if will The full dose data of prior art acquisition transfer out and (are such as transferred to data analysis equipment), need to consume more data traffic.
Certainly, except the full dose data generated to APP client operation are there are in addition to the above problem, to other interfaces, such as webpage The full dose data that operation generates are also likely to be present same problem.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind A kind of user behavior data acquisition method and device of problem are stated, for reducing the flow of transmission data, reduces network burden.
To achieve the above object, the invention provides the following technical scheme:
The present invention provides a kind of collecting methods, are applied to client device, which comprises
User is obtained to the operational order of element shown by the client device;
Whether the identification information for determining object element operated by the operational order is in pre-stored configuration file The identification information of element, if it is, obtaining the corresponding event data of the object element;
The event data is sent to the server.
Optionally, further includes:
If the identification information of the object element is not the identification information of element in the configuration file, it is determined that described The contextual information of object element;The contextual information is for removing the target element in the page where characterizing the object element Other information except the attribute information of element;
The contextual information is sent to the server.
Optionally, whether the identification information for determining object element operated by the operational order is pre-stored configuration In file before the identification information of element, the method also includes:
Receive the setting instruction of user;
It is instructed according to the setting, displaying configuration interface corresponding with the setting instruction, in the configuration interface Element is corresponding with element shown by the client device;
User is received to operate the configuration of the element in the configuration interface;
It is operated according to the configuration and generates configuration file, include the identification information of the element in the configuration file;
The configuration file is stored in the memory space of the client device.
Optionally, further includes:
During the configuration file is uploaded onto the server, so that the server stores the configuration file.
Optionally, described to send the server for the event data and include:
Obtain the connection status of the client device;
Judge whether the connection is wifi connection;
If so, sending the server for the event data.
It is optionally, described to send the server for the event data further include:
The character Substitution Rules in the configuration file are obtained, the character Substitution Rules include long character string and short character The fallback relationship of string;
According to the fallback relationship, the long character string that the character Substitution Rules are met in the event data is replaced with Short character strings obtain compression event data;
Server is sent by the compression event data.
Another aspect of the present invention provides a kind of data acquisition device, is applied to client device, the acquisition device packet It includes:
Instruction acquisition module, for obtaining user to the operational order of element shown by the client device;
First execution module, for determining whether the identification information of object element operated by the operational order is preparatory The identification information of element in the configuration file of storage, if it is, obtaining the corresponding event data of the object element;
Event data sending module, for the event data to be sent to the server.
Optionally, further includes:
Second execution module, if the identification information for the object element is not the mark of element in the configuration file Know information, it is determined that the contextual information of the object element;The contextual information is for characterizing the object element place Other information in the page in addition to the attribute information of the object element;
Contextual information sending module, for the contextual information to be sent to the server.
Another aspect of the present invention provides a kind of storage medium, and the storage medium includes the program of storage, wherein described Program executes collecting method described above.
Another aspect of the present invention provides a kind of processor, and the processor is for running program, wherein described program fortune Collecting method described above is executed when row.
By above-mentioned technical proposal, a kind of collecting method provided by the invention obtains user to the client first The operational order of element shown by equipment;Then determine object element operated by the operational order identification information whether For the identification information in the configuration file, if it is, obtaining the corresponding event data of the object element;It finally will be described Event data is sent to the server.Since what is sent in the present invention is event data, and event data is compared to full dose number According to data volume it is much smaller, and only send the event data of object element to match with the identification information in configuration file, Therefore, the transmission quantity for greatly reducing data, reduces network burden.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow diagram of collecting method disclosed by the embodiments of the present invention;
Fig. 2 shows the flow diagrams of another collecting method disclosed by the embodiments of the present invention;
Fig. 3 shows the process signal of storage configuration file in a kind of collecting method disclosed by the embodiments of the present invention Figure;
Fig. 4 shows a kind of structural schematic diagram of data acquisition device disclosed by the embodiments of the present invention;
Fig. 5 shows a kind of hardware structural diagram of data acquisition device disclosed by the embodiments of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention discloses a kind of collecting methods, can apply in client device, wherein client Equipment can be APP client, be also possible to the client of page end, the application is preferably in APP client.
Client device is connected with server, and server can be data server, is also possible to data analytics server, For carrying out the processing such as data analysis to the data of acquisition, the present invention is without specifically limiting, herein without repeating.
Wherein, it is stored with configuration file in client device, includes the identification information of object element in configuration file.This In inventive embodiments, be stored with configuration file in the memory space such as hard disk of client device, the effect of the configuration file be for Acquired to data and acquisition basis and acquisition foundation be provided, it includes identification information be a unique identification information, be used for Distinguish each element.It describes in detail later particularly with regard to the mode of establishing of configuration file.
A kind of flow diagram of collecting method disclosed by the embodiments of the present invention is shown referring to Fig. 1, Fig. 1.
A kind of collecting method provided by the present invention may include:
S100, the operational order for obtaining element shown by user customer equipment;
In the embodiment of the present invention, multiple elements, such as picture, button and text, user can be shown in client device Operation is executed to shown element, such as clicks, click, double-clicking operation, client device can receive the corresponding behaviour of the operation It instructs.
By taking APP client as an example, when enterprise has issued new activity by the client, the activity concrete form be A shown page in APP client.It include the elements such as multiple buttons, picture in the page, user is according to oneself Demand, certain object element is operated, for example, click payment button, at this point, can generate one it is corresponding with clicking operation Operational order.Client device obtains the operational order.
Whether S101, the identification information for determining object element operated by operational order are in pre-stored configuration file The identification information of element, if it is, obtaining the corresponding event data of object element;
In the embodiment of the present invention, it is thus necessary to determine that whether object element operated by user is to need to acquire user behavior data Element, accordingly, it is determined that whether the identification information of object element operated by operational order is identification information in configuration file.
Specifically, obtaining the identification information of object element, judge whether the identification information of the object element matches with described The identification information set in file matches, if it is, determine that the object element is the element for needing to acquire user behavior data, Then obtain the corresponding event data of the object element.
It should be noted that the generation side of the acquisition methods of the identification information of object element and configuration file identification information Method is consistent, as long as identical algorithm can be used or mode obtains identification information.Detailed process is carrying out in detail below It introduces.
In actual use, the page of the page where identification information specifically can be the text information of object element, object element Face information and the contextual information of object element etc..
Wherein, the mode for obtaining event data may include:
Obtain the action event in the operational order;Wherein the action event may include click, double-click, choose, Any one operation such as right button clicks, right double click.
The source code that the object element is searched according to the action event in the operational order obtains the object element Event data.Such as the event data be jump data, URL: abc.htm.The URL is corresponding to the operational order Object element event data.
It is understood that aforesaid way is only a kind of mode for obtaining event data, as long as available object element Corresponding event data, herein without repeating.
It is understood that event data its can also include callback data, gesture data etc., wherein gesture data is for example The particular contents such as two fingers scaling, sliding.
It should be noted that in the embodiment of the present invention, if it is determined that the mark of object element operated by operational order is believed Breath is not the identification information in configuration file, then can not obtain any data, does not execute any behaviour relevant to acquisition data Make;It is of course also possible to such as transmission full dose data similar in the prior art to server.
S102, event data is sent to server.
Finally, sending server for event data, server is allowed to save or analyze the event data. And event data, compared to full dose data, data volume is much smaller, also, the event data is exactly intuitively to reflect user Concrete behavior is not such as such clear data of full dose data, it is also necessary to which carrying out algorithm analysis can reflect performed by user Concrete operations more intuitively can just find out the concrete behavior of user and not have to further analysis, improve analysis data Working efficiency.
It is understood that collecting method of the invention before step 100, can also include:
The configuration information for obtaining the configuration file judges whether starting step S100 according to the configuration information, if It is no, then after the operational order for obtaining element shown by user customer equipment, full dose data are sent to server.
As can be seen that a kind of collecting method provided by the invention obtains user first and shows to the client device The operational order of the element shown;Whether the identification information for then determining object element operated by the operational order is described match The identification information in file is set, if it is, obtaining the corresponding event data of the object element;Finally by the event data It is sent to the server.Since what is sent in the present invention is event data, and event data is compared to the data of full dose data Event data that is much smaller, and only sending the object element to match with the identification information in configuration file is measured, therefore, significantly The transmission quantity for reducing data, reduces network burden.
On the basis of the above embodiments, another aspect of the present invention provides another collecting method.
Referring to fig. 2, Fig. 2 shows the flow diagrams of another collecting method disclosed by the embodiments of the present invention.
Collecting method includes:
S201, the operational order for obtaining element shown by user customer equipment;
S202, determine object element operated by operational order identification information whether be in configuration file mark letter Breath;
S203, if it is, obtaining the corresponding event data of object element, event data is sent to server.
Wherein, step S201-S203 can be with reference to the S101-S103 in previous embodiment, herein without repeating.
If the identification information of S204, the object element is not the identification information of element in the configuration file, really Set the goal the contextual information of element;Attribute where contextual information is used to characterize object element in the page except object element is believed Other information except breath;Contextual information is sent to server.
In the embodiment of the present invention, if it is determined that the identification information of object element operated by operational order is not configuration file In identification information, then can determine whether the contextual information of object element, wherein up and down the file information be object element where the page Other content informations.For example, " purchase " button element, the other content information of place page is context, such as its institute In the product name, price, comment etc. of the page.
Wherein the specific acquisition methods of contextual information include traversing to current page all elements, obtain all members The information such as text, title, label, the unique identification of element.
After obtaining contextual information, which is sent to server, so that server is saved.It obtains The effect of contextual information be unique identification can be obtained by contextual information, if the later period in configuration file to unique mark Knowledge is configured, then can recall history event data by history context information.
It should be noted that can be triggering with specific time in server, the full dose data pre-saved be counted According to conversion, full dose data are converted into event data.The full dose data pre-saved are complete by saving in preset time period Measure data.It is understood that full dose data conversion is mature technology in the prior art at event data, herein without superfluous It states.Wherein, specific time may include then turning to the full dose data pre-saved when server receives the file information up and down It is changed to event data.
As can be seen that in the embodiment of the present invention, when the mark in configuration file not including element corresponding to operational order When knowing information, contextual information can be acquired and be sent in server, subsequent data analysis is more advantageous to.
Fig. 3 shows the process signal of storage configuration file in a kind of collecting method disclosed by the embodiments of the present invention Figure.
It is described in above-described embodiment and is stored with configuration file in client device, below to the process of storage configuration file It is specifically introduced.
The storing process of configuration file includes:
S300, the setting instruction for receiving user;
S301, it is instructed according to setting, shows configuration interface corresponding with setting instruction, element and visitor in configuration interface Element shown by the end equipment of family is corresponding;
In the embodiment of the present invention, configuration file can be configured in front end, receive the setting instruction of user.Wherein, Instruction, which is arranged, can be instruction corresponding to specific gesture path, is also possible to user and clicks the setting issued when certain button Instruction also or by the scanning function of the APP scans the setting instruction generated of specific two dimensional code, as long as can receive The setting of user instructs, without specifically limiting.
It is understood that herein can also include that authentication to user does not execute step then if it is ordinary user Rapid S301, the process for carrying out authentication belong to the mature technology of the prior art, are not repeated herein.
After receiving setting instruction, configuration interface, interface shown by the configuration interface and client device are called It is identical, it all include identical element, and the position of element, size are also identical, the difference is that when being operated to the element, Performed is configuration operation.
It is understood that can also only show the element that can execute operation in configuration interface, such as to the element After being clicked, corresponding configuration can be completed.Or each element is shown using the mode of list.
S302, configuration operation of the user to the element in configuration interface is received;
S303, generation configuration file is operated according to configuration;
User can generate configuration file after having carried out required configuration operation to the element in configuration interface, wherein Identification information including the configuration element configured.
Wherein, the mode for generating identification information may include the contextual information of the page where obtaining element, according to described Contextual information combination generating algorithm generates the identification information of the element.That is, identification information is according to the page where element Information is generated, and the identification information between each element is different.It is understood that not set any mark can also be arranged Data acquisition modes when information such as acquire full dose data.
S304, configuration file is stored in the memory space of client device.
S305, configuration file is uploaded in service, so that server stores the configuration file.
After generating configuration file, which can be stored in memory space, the memory space can be with It is cloud storage space, is also possible to the hardware memory space of equipment itself, without specifically limits.
In the configuration file can also being uploaded onto the server, when other clients log in, configuration text can be first obtained Part, then process after execution.It is understood that can also be in the server end of rear end directly to the configuration file It is write and/or is rewritten.
It is understood that when other client devices log on to server, can first judge after in upload onto the server Whether the configuration file is consistent with the configuration file that itself is stored, if consistent, proves to be updated, if it is not, then The configuration file is downloaded, so that the configuration file of storage is newest.It can be with it is understood that judging whether it is newest process Using various ways, e.g., version number or the building maths modec etc. in configuration file are judged, herein without specifically limiting.
As can be seen that being free to be configured the element that needs acquire, improving due to being provided with configuration file Flexibility, and the rewriting of configuration file can be carried out in front-end customer end equipment and back-end server, it further increases Flexibility.
Eligible, sending server for action event includes:
Obtain the connection status of the client device;
Judge whether the connection is wifi connection;
If so, sending behaviour's event data in the server embodiment of the present invention, if it is wifi's Connection status then sends event data to server, it is to be understood that can also send contextual information to server.
If saved in the buffer, simultaneously not in wifi connection status by event data and/or contextual information The time for recording the data buffer storage, after wifi is connected, then send data in caching and the time data that are recorded to Server allows server when receiving data according to the time data convert to correct time point.
It is understood that page browsing, electric business etc., which acquire unrelated data with data, normally to be sent.Reduce user Flow when using such as 4G.
Further, it is usually constructed with general character in the page of the event of generation due to certain characteristics of APP and webpage and is deposited , for example in android system, the page all ends up mostly for Activity, such as MainActivity, QueryActivity, LocationActivity, etc. then other character strings of this character string of Activity can be substituted, such as@!+, then Entire data volume can be reduced to 3 bytes from 8 bytes.For another example, iOS have ViewController, WebViewController etc. can compress ViewController character string.
It therefore, can also include character Substitution Rules in configuration file in technical solution of the present invention, the replacement rule Then for replacing the specific character in event data and/or contextual information, the method can also include:
The event data and/or the file information up and down are replaced according to the character Substitution Rules in the configuration file In meet the characters of the character Substitution Rules.
It should be noted that when server receives event data and/or contextual information by above-mentioned processing, also It can be restored according to the character Substitution Rules.
As can be seen that passing through aforesaid operations, it can further reduce the flow of transmission data.
Another aspect of the present invention provides a kind of data acquisition device.
Shown in Figure 4, Fig. 4 is a kind of structural schematic diagram of data acquisition device provided by the invention.
A kind of data acquisition device provided by the invention is applied to client device, and data acquisition device includes:
Instruction acquisition module 1, for obtaining the operational order of element shown by user customer equipment;
First execution module 2, for determining whether the identification information of object element operated by operational order is to deposit in advance The identification information of element in the configuration file of storage, if it is, obtaining the corresponding event data of object element;
Event data sending module 3, for event data to be sent to server.
Optionally, further includes:
Second execution module 4, if the identification information for object element is not the identification information of element in configuration file, Then determine the contextual information of object element;The category of object element is removed where contextual information is used to characterize object element in the page Other information except property information;
Contextual information sending module 5, for contextual information to be sent to server.
A kind of data acquisition device instruction acquisition module 1 provided by the invention obtains shown by user customer equipment The operational order of element;First execution module 2 determines whether the identification information of object element operated by operational order is configuration Identification information in file, if it is, obtaining the corresponding event data of object element;3 event number of event data sending module According to being sent to server.Since what is sent in the present invention is event data, and event data is compared to the data volume of full dose data It is much smaller, and therefore the event data for only sending the object element to match with the identification information in configuration file drops significantly The low transmission quantity of data, reduces network burden.
It is a kind of hardware structural diagram of data acquisition device disclosed by the embodiments of the present invention referring to Fig. 5, Fig. 5.
Data acquisition device includes processor 500 and memory 600, above-metioned instruction obtain module 1, the first execution module 2, Event data sending module 3, the second execution module 4 and contextual information sending module 5 etc. are stored in as program unit In reservoir, above procedure unit stored in memory is executed by processor to realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, the flow of transmission data is reduced by adjusting kernel parameter, reduces network burden.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM), memory includes at least one storage Chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor Existing collecting method.
The embodiment of the invention provides a kind of processor, processor is for running program, wherein program executes number when running According to acquisition method.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor performs the steps of when executing program to be obtained shown by user customer equipment Element operational order;
Whether the identification information for determining object element operated by operational order is element in pre-stored configuration file Identification information, if it is, obtaining the corresponding event data of object element;
Event data is sent to server.
Optionally, further includes:
If the identification information of object element is not the identification information of element in configuration file, it is determined that object element it is upper Context information;Other letters where contextual information is used to characterize object element in the page in addition to the attribute information of object element Breath;
Contextual information is sent to server.
Optionally, whether the identification information for determining object element operated by operational order is pre-stored configuration file Before the identification information of middle element, method further include:
Receive the setting instruction of user;
It is instructed according to setting, shows configuration interface corresponding with setting instruction, element and client in configuration interface Element shown by equipment is corresponding;
User is received to operate the configuration of the element in configuration interface;
It is operated according to configuration and generates configuration file, include the identification information of element in configuration file;
Configuration file is stored in the memory space of client device.
Optionally, further includes:
During configuration file is uploaded onto the server, so that server stores the configuration file.
Optionally, sending server for event data includes:
Obtain the connection status of client device;
Judge whether connection is wifi connection;
If so, sending server for event data.
Optionally, server is sent by event data further include:
The character Substitution Rules in configuration file are obtained, character Substitution Rules include the replacement of long character string and short character strings Relationship;
According to fallback relationship, the long character string that character Substitution Rules are met in event data is replaced with into short character strings, is obtained To compression event data;
Server is sent by compression event data.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step:
Obtain the operational order of element shown by user customer equipment;
Whether the identification information for determining object element operated by operational order is element in pre-stored configuration file Identification information, if it is, obtaining the corresponding event data of object element;
Event data is sent to server.
Optionally, further includes:
If the identification information of object element is not the identification information of element in configuration file, it is determined that object element it is upper Context information;Other letters where contextual information is used to characterize object element in the page in addition to the attribute information of object element Breath;
Contextual information is sent to server.
Optionally, whether the identification information for determining object element operated by operational order is pre-stored configuration file Before the identification information of middle element, method further include:
Receive the setting instruction of user;
It is instructed according to setting, shows configuration interface corresponding with setting instruction, element and client in configuration interface Element shown by equipment is corresponding;
User is received to operate the configuration of the element in configuration interface;
It is operated according to configuration and generates configuration file, include the identification information of element in configuration file;
Configuration file is stored in the memory space of client device.
Optionally, further includes:
During configuration file is uploaded onto the server, so that server stores the configuration file.
Optionally, sending server for event data includes:
Obtain the connection status of client device;
Judge whether connection is wifi connection;
If so, sending server for event data.
Optionally, server is sent by event data further include:
The character Substitution Rules in configuration file are obtained, character Substitution Rules include the replacement of long character string and short character strings Relationship;
According to fallback relationship, the long character string that character Substitution Rules are met in event data is replaced with into short character strings, is obtained To compression event data;
Server is sent by compression event data.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (10)

1. a kind of collecting method, which is characterized in that be applied to client device, which comprises
User is obtained to the operational order of element shown by the client device;
Whether the identification information for determining object element operated by the operational order is element in pre-stored configuration file Identification information, if it is, obtaining the corresponding event data of the object element;
The event data is sent to the server.
2. collecting method according to claim 1, which is characterized in that further include:
If the identification information of the object element is not the identification information of element in the configuration file, it is determined that the target The contextual information of element;Except the object element in the page where the contextual information is used to characterize the object element Other information except attribute information;
The contextual information is sent to the server.
3. collecting method according to claim 1, which is characterized in that determine target operated by the operational order The identification information of element whether be in pre-stored configuration file before the identification information of element, the method also includes:
Receive the setting instruction of user;
It is instructed according to the setting, shows configuration interface corresponding with the setting instruction, the element in the configuration interface It is corresponding with element shown by the client device;
User is received to operate the configuration of the element in the configuration interface;
It is operated according to the configuration and generates configuration file, include the identification information of the element in the configuration file;
The configuration file is stored in the memory space of the client device.
4. collecting method according to claim 3, which is characterized in that further include:
During the configuration file is uploaded onto the server, so that the server stores the configuration file.
5. collecting method according to any one of claims 1 to 4, which is characterized in that described by the event number Include: according to the server is sent to
Obtain the connection status of the client device;
Judge whether the connection is wifi connection;
If so, sending the server for the event data.
6. collecting method according to claim 5, which is characterized in that it is described send the event data to it is described Server further include:
The character Substitution Rules in the configuration file are obtained, the character Substitution Rules include long character string and short character strings Fallback relationship;
According to the fallback relationship, the long character string that the character Substitution Rules are met in the event data is replaced with into short word Symbol string obtains compression event data;
Server is sent by the compression event data.
7. a kind of data acquisition device, which is characterized in that be applied to client device, the acquisition device includes:
Instruction acquisition module, for obtaining user to the operational order of element shown by the client device;
First execution module, for determining whether the identification information of object element operated by the operational order is to be stored in advance Configuration file in element identification information, if it is, obtaining the corresponding event data of the object element;
Event data sending module, for the event data to be sent to the server.
8. acquisition device according to claim 7, which is characterized in that further include:
Second execution module, if the identification information for the object element is not the mark letter of element in the configuration file Breath, it is determined that the contextual information of the object element;The contextual information is for the page where characterizing the object element In other information in addition to the attribute information of the object element;
Contextual information sending module, for the contextual information to be sent to the server.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Benefit require any one of 1 to 6 described in collecting method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 6 described in collecting method.
CN201710880787.9A 2017-09-26 2017-09-26 Data acquisition method and device Active CN109561117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710880787.9A CN109561117B (en) 2017-09-26 2017-09-26 Data acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710880787.9A CN109561117B (en) 2017-09-26 2017-09-26 Data acquisition method and device

Publications (2)

Publication Number Publication Date
CN109561117A true CN109561117A (en) 2019-04-02
CN109561117B CN109561117B (en) 2022-02-25

Family

ID=65862036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710880787.9A Active CN109561117B (en) 2017-09-26 2017-09-26 Data acquisition method and device

Country Status (1)

Country Link
CN (1) CN109561117B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413933A (en) * 2019-08-05 2019-11-05 青岛聚好联科技有限公司 The method and device of point data is buried in a kind of server-side acquisition
CN110515679A (en) * 2019-08-28 2019-11-29 北京思维造物信息科技股份有限公司 Collecting method, device, equipment and storage medium
CN110704270A (en) * 2019-08-20 2020-01-17 北京奇艺世纪科技有限公司 Zero-buried point data acquisition method and device, electronic equipment and storage medium
CN110704709A (en) * 2019-08-27 2020-01-17 北京金堤科技有限公司 Application data capturing method and device, storage medium and electronic equipment
CN112198818A (en) * 2019-07-08 2021-01-08 浙江宇视科技有限公司 Control method, device and equipment of stepping type driving structure and storage medium
CN112968933A (en) * 2021-01-29 2021-06-15 北京达佳互联信息技术有限公司 Data transmission method, device, server and storage medium
CN113377631A (en) * 2021-05-25 2021-09-10 北京猿力教育科技有限公司 User behavior backtracking method and device
CN114677188A (en) * 2022-05-25 2022-06-28 国网浙江省电力有限公司 Full-amount acquisition method and device suitable for paperless certificate data

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001052141A1 (en) * 2000-01-07 2001-07-19 Mp3.Com, Inc. System and method for providing access to electronic works
US20030051157A1 (en) * 2001-09-07 2003-03-13 Nguyen Bing Quang Method and apparatus for selective disabling of tracking of click stream data
US20080027895A1 (en) * 2006-07-28 2008-01-31 Jean-Christophe Combaz System for searching, collecting and organizing data elements from electronic documents
CN102946319A (en) * 2012-09-29 2013-02-27 焦点科技股份有限公司 System and method for analyzing network user behavior information
CN103927367A (en) * 2014-04-22 2014-07-16 上海数据分析与处理技术研究所 Microblog acquisition system and method based on events
CN104346374A (en) * 2013-07-31 2015-02-11 阿里巴巴集团控股有限公司 Data processing method and system
CN104834657A (en) * 2014-08-27 2015-08-12 腾讯科技(北京)有限公司 User behavior analysis method and servers
CN105550184A (en) * 2014-10-31 2016-05-04 阿里巴巴集团控股有限公司 Information obtaining method and device
CN106202440A (en) * 2016-07-13 2016-12-07 华为技术有限公司 Data processing method, device and equipment
CN106547914A (en) * 2016-11-25 2017-03-29 国信优易数据有限公司 A kind of data acquisition management system and its method
CN106708899A (en) * 2015-11-17 2017-05-24 阿里巴巴集团控股有限公司 Automatic point burying device
CN106933722A (en) * 2017-03-06 2017-07-07 腾云天宇科技(北京)有限公司 A kind of web application monitoring method, server and system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001052141A1 (en) * 2000-01-07 2001-07-19 Mp3.Com, Inc. System and method for providing access to electronic works
US20030051157A1 (en) * 2001-09-07 2003-03-13 Nguyen Bing Quang Method and apparatus for selective disabling of tracking of click stream data
US20080027895A1 (en) * 2006-07-28 2008-01-31 Jean-Christophe Combaz System for searching, collecting and organizing data elements from electronic documents
CN102946319A (en) * 2012-09-29 2013-02-27 焦点科技股份有限公司 System and method for analyzing network user behavior information
CN104346374A (en) * 2013-07-31 2015-02-11 阿里巴巴集团控股有限公司 Data processing method and system
CN103927367A (en) * 2014-04-22 2014-07-16 上海数据分析与处理技术研究所 Microblog acquisition system and method based on events
CN104834657A (en) * 2014-08-27 2015-08-12 腾讯科技(北京)有限公司 User behavior analysis method and servers
CN105550184A (en) * 2014-10-31 2016-05-04 阿里巴巴集团控股有限公司 Information obtaining method and device
CN106708899A (en) * 2015-11-17 2017-05-24 阿里巴巴集团控股有限公司 Automatic point burying device
CN106202440A (en) * 2016-07-13 2016-12-07 华为技术有限公司 Data processing method, device and equipment
CN106547914A (en) * 2016-11-25 2017-03-29 国信优易数据有限公司 A kind of data acquisition management system and its method
CN106933722A (en) * 2017-03-06 2017-07-07 腾云天宇科技(北京)有限公司 A kind of web application monitoring method, server and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112198818A (en) * 2019-07-08 2021-01-08 浙江宇视科技有限公司 Control method, device and equipment of stepping type driving structure and storage medium
CN112198818B (en) * 2019-07-08 2022-05-13 浙江宇视科技有限公司 Control method, device and equipment of stepping type driving structure and storage medium
CN110413933A (en) * 2019-08-05 2019-11-05 青岛聚好联科技有限公司 The method and device of point data is buried in a kind of server-side acquisition
CN110704270A (en) * 2019-08-20 2020-01-17 北京奇艺世纪科技有限公司 Zero-buried point data acquisition method and device, electronic equipment and storage medium
CN110704709A (en) * 2019-08-27 2020-01-17 北京金堤科技有限公司 Application data capturing method and device, storage medium and electronic equipment
CN110515679A (en) * 2019-08-28 2019-11-29 北京思维造物信息科技股份有限公司 Collecting method, device, equipment and storage medium
CN110515679B (en) * 2019-08-28 2023-09-19 北京思维造物信息科技股份有限公司 Data acquisition method, device, equipment and storage medium
CN112968933A (en) * 2021-01-29 2021-06-15 北京达佳互联信息技术有限公司 Data transmission method, device, server and storage medium
CN112968933B (en) * 2021-01-29 2023-03-14 北京达佳互联信息技术有限公司 Data transmission method, device, server and storage medium
CN113377631A (en) * 2021-05-25 2021-09-10 北京猿力教育科技有限公司 User behavior backtracking method and device
CN114677188A (en) * 2022-05-25 2022-06-28 国网浙江省电力有限公司 Full-amount acquisition method and device suitable for paperless certificate data
CN114677188B (en) * 2022-05-25 2022-08-26 国网浙江省电力有限公司 Full-amount acquisition method and device suitable for paperless certificate data

Also Published As

Publication number Publication date
CN109561117B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN109561117A (en) Collecting method and device
US10367790B2 (en) Efficient sensor data delivery
CN108733706B (en) Method and device for generating heat information
CN106649543B (en) Method, device and terminal for recording reading progress
CN105608117A (en) Information recommendation method and apparatus
CN107844518B (en) Method for evaluating download quantity of specified APP, data server, packaging platform and system
CN109800005A (en) A kind of hot update method of client and device
US10193989B2 (en) Visualization of user behavior
CN114328632A (en) User data analysis method and device based on bitmap and computer equipment
CN110507986A (en) The treating method and apparatus of animation information
CN109034880A (en) revenue prediction method and device
CN114528269A (en) Method, electronic device and computer program product for processing data
US20190297473A1 (en) Data usage recommendation generator
CN108563648B (en) Data display method and device, storage medium and electronic device
US10528536B1 (en) Managing data object versions in a storage service
CN115757639A (en) Data source synchronization method and device, electronic equipment and storage medium
CN109587198A (en) Graph text information method for pushing and device
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
US9009073B1 (en) Product availability check using image processing
CN110020238A (en) Click event data acquisition method, apparatus and system
CN108629610B (en) Method and device for determining popularization information exposure
CN111159196A (en) Block chain data storage and acquisition method and device based on fragmentation
CN110716699A (en) Method and apparatus for writing data
CN105681381B (en) The method and apparatus for determining safety regulation
CN112749130B (en) Method and device for clearing information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

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

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant