CN105577462A - Mobile device flow statistical method and device - Google Patents

Mobile device flow statistical method and device Download PDF

Info

Publication number
CN105577462A
CN105577462A CN201410532733.XA CN201410532733A CN105577462A CN 105577462 A CN105577462 A CN 105577462A CN 201410532733 A CN201410532733 A CN 201410532733A CN 105577462 A CN105577462 A CN 105577462A
Authority
CN
China
Prior art keywords
message
mobile device
user operation
information
time
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
CN201410532733.XA
Other languages
Chinese (zh)
Other versions
CN105577462B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410532733.XA priority Critical patent/CN105577462B/en
Publication of CN105577462A publication Critical patent/CN105577462A/en
Priority to HK16112213.8A priority patent/HK1224101A1/en
Application granted granted Critical
Publication of CN105577462B publication Critical patent/CN105577462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a mobile device flow statistical method. The mobile device flow statistical method is characterized in that related information of user operation can be acquired, and comprises an operation time and an operation object; information of message receiving and message transmitting of a mobile device can be acquired, and comprises a message size, a generating time, and an operation object; the user operation having the same operation object can be related to the triggered message according to the generating time; the statistics of the flow triggered by one user can be realized according to the size of the related message. By adopting the technical scheme provided by the invention, the developer of the application program can locate the link having large flow consumption accurately, and therefore the good precondition of reducing the flow of the mobile device can be provided.

Description

The flow statistical method of mobile device and device
Technical field
The application relates to network communication technology field, particularly relates to a kind of flow statistical method and device of mobile device.
Background technology
Along with the development of radio network technique, and the raising of the mobile device intelligent level such as mobile phone, panel computer, wearable device, people more and more use mobile device to obtain network service.The flow generally produced according to mobile device due to operator is collected the charges, and therefore the service condition of flow just becomes the problem that application developer on user, mobile device needs to pay close attention to.
In prior art, flow monitoring instrument can be installed on the mobile apparatus, count certain application program flow of (a hour, a day, month etc.) within certain time period.For user, limited flow can be carried out by the application program reducing use traffic consumption large, but the developer of application programs, the conclusion that certain time period flow is larger can only be drawn, be but difficult to where locate the large link of traffic consumes.
Summary of the invention
In view of this, the application provides a kind of flow statistical method of mobile device, comprising:
Obtain the relevant information of user operation, comprise the time of origin of operation and run object;
Obtain the information that mobile device receives and sends message, comprise the size of message, time of origin and operation object;
According to time of origin, associate having the identical user operation of operation object with the message of its triggering;
The flow that certain user operation triggers is added up by the size of associated message.
Present invention also provides a kind of flow statistic device of mobile device, comprising:
Operation information acquisition unit, for obtaining the relevant information of user operation, comprising the time of origin of operation and running object;
Message information acquiring unit, for obtaining the information that mobile device receives and sends message, comprises the size of message, time of origin and operation object;
Associative cell, for according to time of origin, associates having the identical user operation of operation object with the message of its triggering;
Statistic unit, for being added up the flow that certain user operation triggers by the size of associated message.
From above technical scheme, the same user operation of operation object, by time of origin, associates with the packet sending and receiving of its triggering by the embodiment of the application, and then counts the flow that certain user operation causes.Like this, Develop Application System tester accurately can locate the large link of traffic consumes, thus provides good precondition for reducing the flow of mobile device.
Accompanying drawing explanation
Fig. 1 is the flow chart of the flow statistical method of mobile device in the embodiment of the present application one;
Fig. 2 is the flow chart that in the embodiment of the present application two, mobile device gathers screenshotss data;
Fig. 3 is the flow schematic diagram that a delivery operation of user in an example triggers;
Fig. 4 is a kind of hardware structure diagram of mobile device or server;
Fig. 5 is the building-block of logic of the flow statistic device of a kind of mobile device in the embodiment of the present application.
Embodiment
The embodiment of the application proposes a kind of flow statistical method of mobile device, and certain of adding up by user operates the flow triggered, to solve problems of the prior art.The method of the embodiment of the application can be applied on the mobile apparatus, is carried out collection and the traffic statistics of information by mobile device; Also can be applied on mobile device and server, be carried out the collection of information by mobile device, mobile device and server have worked in coordination with stream quantitative statistics.In embodiment one, the flow process of statistical method is carried out as shown in Figure 1 to the flow on mobile device.
Step 110, obtains the relevant information of user operation, comprises the time of origin of operation and runs object.
In the present embodiment, run object and refer to the object of user operation and traffic statistics, if what pay close attention to is the flow of certain application program, then can using application program as operation object; If what pay close attention to is the flow of certain process, then can using process as operation object.
The relevant information of user operation can be obtained by various mode, such as, by the interface of interception mobile device operation system learn user carried out which operation, the time of origin of operation and operation for operation object.
In one embodiment, the information of user operation can be obtained by the mode of screenshotss.Specifically, with predetermined period, screenshotss are carried out to mobile device, after removing the title bar of screen, obtain snapshot picture; The information of record snapshot picture, comprises the screenshotss time and runs object; By the change identification user operation of snapshot picture, when completing using user operation snapshot picture the screenshotss time and run object as user operation time of origin and run object.
Existing plug-in unit, third party's program etc. in prior art can be adopted to carry out screenshotss, process name or the application name of current active window can be obtained when screenshotss by operating system interface, be namely user operation for operation object.Such as, in Android (Android) system, the process name belonging to this Activity or application name in the attribute according to the Activity of Activity in operating system (interactive interface) storehouse the top, can be obtained.Due to usually the contents such as wireless signal strength, battery electric quantity, time can be shown in the title bar of mobile device screen; may affect and user operation is identified; thus after screenshotss, remove title bar obtain snapshot picture, the information such as the screenshotss time of record snapshot picture and operation object.According to the change of each two field picture, can identify user carried out what kind of operation, and when user operation is completed snapshot picture the screenshotss time and run object as user operation time of origin and run object.
Step 120, obtains the information that mobile device receives and sends message, comprises the size of message, time of origin and operation object.
Can mobile device reception be obtained by various mode and send the information of message, such as, or can send time of message, reception or send the operation object of message by the communication interface of retouching operation system, the size being obtained the message of all receptions and transmission by the mode of communication interface of plug-in unit interception operating system, reception, the message that these two kinds of modes can be received and dispatched all application programs carries out information gathering; If only need the flow adding up a few application program, also by the signal procedure of amendment application program, all messages that this application program receives and sends can be gathered, and receive or send the information such as time, process of message.
Retrievable message information can also comprise: type of message, as http (HyperTextTransferProtocol, HTML (Hypertext Markup Language)) message, socket (socket) message; Message content etc.
It should be noted that, step 110 and 120 does not have sequential relationship.
Step 130, according to time of origin, associates having the identical user operation of operation object with the message of its triggering.
Typically, operate when user runs object for certain, if this operation causes the changes in flow rate of mobile device, then this operation object can carry out the transmitting-receiving of message after this user operation completes.In other words, when having the identical user operation of operation object and the time of origin of message matches, can think that this user operation result in the transmitting-receiving of message, namely these messages are the flows that this user operation triggers.
Obtain in the execution mode of user's operation information in the mode by screenshotss, following method can be adopted to carry out associating of user operation and message: as setting the beginning associating the period when certain user operation is completed, using snapshot as the end of the constant time point of flow that is constant and mobile device within preset waiting time as the setting association period; The message of certain operation object transmitting-receiving in the setting association period is associated with the user operation for this operation object.Because a user operation may cause multiple business procedure, such as there is page reorientation etc., and these business procedures often along with display interface change and/or and network service provider between message interaction, when snapshot as constant and no longer include within a certain period of time flow occur time, can think that the flow that this user operation triggers terminates.
In one embodiment, can add up the flow occurred in the business procedure carried out with request-response modes further.In the business procedure of request-response modes, mobile device sends request message to network service provider; Network service provider responds this request, replys response message to mobile device.To the message of http type, mobile device sends HTTP_GET request or HTTP_POST request to network service provider, and network service provider replys http response; To the message of socket type, mobile device sends socket request to network service provider, and network service provider replys socket response.The request message of same business procedure in the message associated with certain user operation and response message can be mated, be added up the flow of this business procedure by request message and the size of corresponding response message.
Mating of request message and response message can be carried out according to time of origin.Specifically, in the message associated with certain user operation, transmit leg is identical with recipient, type of message is identical, the request message sent the earliest that not yet mates mates with the response message received the earliest not yet mated.In other words, giving tacit consent to the request message that same operation object sends the earliest to same network service provider will receive response at first, then can match according to the time of origin of request and response message.
Request message can also be adopted as add tagged mode to mate more accurately with response message.Specifically, in the predetermined field of the request message of mobile device transmission, the mark corresponding to this request message is added; Extract the predetermined field of response message, this response message is mated with the request message with same tag.Before mobile device sends request message, the predetermined field in request message adds the mark of this request message, and this mark corresponds to this request message and this request message and other request messages can be distinguished and comes.Network service provider after receiving this request message, the mark will carried in predetermined field in this request message in the response message of reply.Like this, after mobile device receives response message, by the mark of predetermined field and identifiable design, this is the response message corresponding to which request message.
Step 140, adds up by the size of associated message the flow that certain user operation triggers.
After packet sending and receiving user operation and this user operation triggered associates, namely the total amount of these association messages is the flow that this user operation triggers.
It should be noted that, the method for the embodiment of the present application can be applied on the mobile apparatus, is carried out information gathering and the traffic statistics of user operation and message by mobile device; Also can be applied on mobile device and server, the collection of information is carried out by mobile device, and worked in coordination with stream quantitative statistics by mobile device and server, such as, the collection of the information of user operation and message can be carried out by mobile device, the information of collection is uploaded onto the server, carries out associating and flowing quantitative statistics of user operation and message by server; The information gathering can carrying out user operation and message by mobile device with associate, the information after association is uploaded onto the server, completes stream quantitative statistics by server.For another example, to the execution mode being obtained user's operation information by screenshotss mode, the snapshot picture of collection and screenshotss time thereof can be sent to server with operation object by mobile device, the identification of user operation is carried out by server, also after completing user operation identifies, then user operation and relevant information thereof can be sent to server.In the embodiment of the application, between mobile device and server, carried out the transmission of information by mobile communications network.In the embodiment of the application, the specific implementation of the type of the kind of mobile device, the wireless communication protocol adopted between mobile device and server, mobile communications network and networking structure, server is not all limited.
Visible, by time of origin in the embodiment of the application, the same user operation of operation object is associated with the packet sending and receiving of its triggering, and then count the flow that certain user operation causes.Like this, Develop Application System tester accurately can locate the large link of traffic consumes, thus provides good precondition for reducing the flow of mobile device.
In the embodiment two of the application, mobile device carries out screenshotss with predetermined period, and snapshot picture and relevant information is uploaded onto the server; The information also upload server of message that mobile device gathers, by server carry out user operation identification, with the associating and traffic statistics of message.
In the present embodiment, mobile device gathers the flow process of screenshotss data as shown in Figure 2.
Step 210, judges whether predetermined period arrives, if so, performs step 220, otherwise continues to wait for.
Step 220, when predetermined period then, judge whether the flow of mobile device changes, if not change, then this cycle does not carry out screenshotss, goes to step next cycle of 210 waits; If changed, perform step 230.
Step 230, carries out screenshotss to the screen of mobile device, generates snapshot picture after removing title bar, the information such as the screenshotss time of record snapshot picture and operation object.
Step 240, judges whether the snapshot picture in this cycle changes compared with the snapshot picture in last cycle of preservation, if had, performs step 250; If no, the snapshot picture in this cycle is abandoned.
Step 250, preserves the snapshot picture in this cycle, and the information such as screenshotss time and operation object.
Step 260, judges whether to receive the instruction stopping traffic statistics, if received, performs step 270; If no, go to step next cycle of 210 waits.
Step 270, dwelling period screenshotss.
To the snapshot picture preserved and the information such as screenshotss time and operation object thereof, it regularly can be uploaded to server by mobile device, also can when its capacity reach certain setting size by its upload server.After upload server, delete snapshot picture and the screenshotss time thereof of preservation and run the information such as object.Deleting in time after information upload to avoid the memory space of mobile device to be taken in a large number.
By the communication interface of amendment mobile device operation system, when mobile device carries out the reception of message and sends, gather the information (size, time of origin, operation object, type of message etc. as message) of the message received and send and be saved in daily record.When the message information total amount of preserving reaches predetermined in limited time upper, the message information of preservation is uploaded onto the server.After uploading, delete the message information preserved.
Like this, server is according to the relevant information of the user operation received from mobile device, the information of message, according to time of origin and operation object, user operation can be associated with message, obtain according to the size of association message the flow that certain user operation triggers again, and can so that counting user operate the flow of certain the concrete business procedure generation caused.
In one example in which, server safeguards two tables, preserves the information that certain Android mobile device carrying out flow monitoring is uploaded.Wherein, table 1 is used for preserving the relevant information of snapshot picture that mobile device is uploaded, comprise the unique identification imei (InternationalMobileEquipmentIdentity, mobile device international identity code) of mobile device, run the title packageName of object, the interior perhaps access path of the superiors Activity when running version number versionName, sectional drawing time timestamp, the sectional drawing of object, sectional drawing image; Table 2 is used for preserving the information of message that mobile device is uploaded, comprise the unique identification imei of mobile device, run the title packageName of object, run the version number versionName of object, the transmit leg of message and recipient identify identity, message sends or receives timestamp timestamp, message request URL (UniformResoureLocator, uniform resource locator), type of message, message operating parameter, message content, message size etc.
On the server, according to the change identification user operation of snapshot picture.Take time as X-axis, sectional drawing image representative of consumer operated is arranged in X-axis with the flow of transmitting-receiving message, intuitively and clearly can show the message interaction process that certain user operation triggers and flow.Such as, the flow that the delivery operation that Fig. 3 illustrates user triggers, on the snapshot picture in left side, page display is payment code, on the snapshot picture on right side, page display is Alipay wallet homepage, therefore the payment of user operation can be drawn, after payment terminates, the page has jumped to Alipay wallet homepage from payment code, flow during this period, light grey water column represents the flow that request message consumes, approximately consume 10KB, and Dark grey water column represents the flow that response message during this period consumes, be approximately 7KB, the flow of about 17KB is consumed from payment code switchback Alipay wallet homepage.
Realize corresponding with above-mentioned flow process, the flow statistic device that embodiment still provides a kind of mobile device of the application, can apply on the mobile apparatus, also can certain applications on the mobile apparatus, certain applications are on the server.This device can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.For software simulating, as the device on logical meaning, be by the CPU of mobile device or server the computer program instructions of correspondence read in internal memory to run to be formed.Say from hardware view; except the CPU shown in Fig. 4, internal memory and nonvolatile memory; the mobile device at this device place also comprises other hardware such as the chip for carrying out wireless signal transmitting-receiving usually, and the server at this device place also comprises other hardware such as the board for realizing network communicating function usually.
Figure 5 shows that the flow statistic device of a kind of mobile device that the present embodiment provides, comprise operation information acquisition unit, message information acquiring unit, associative cell and statistic unit, wherein: operation information acquisition unit, for obtaining the relevant information of user operation, comprises the time of origin of operation and runs object; The information that message information acquiring unit receives for obtaining mobile device and sends message, comprises the size of message, time of origin and operation object; Associative cell is used for according to time of origin, associates having the identical user operation of operation object with the message of its triggering; The flow that statistic unit triggers for being added up certain user operation by the size of associated message.
Described operation information acquisition unit may further include cycle screen capture module, screenshotss information logging modle and operation identification module, wherein: cycle screen capture module is used for carrying out screenshotss with predetermined period to mobile device, obtains snapshot picture after removing the title bar of screen; Screenshotss information logging modle, for recording the information of snapshot picture, comprises the screenshotss time and runs object; Operation identification module is used for by the change identification user operation of snapshot picture, when completing using user operation snapshot picture the screenshotss time and run object as the time of origin of user operation with run object.
Optionally, described associative cell specifically for: the user operation of object will be run for certain, and associate with setting the message that in the period, described operation object is received and dispatched and associate; Describedly set the association period as beginning when completing with described user operation, until snapshot is constant as flow that is constant and mobile device within preset waiting time.
Described device can also comprise cancels screenshotss unit, screenshotss image storing unit and screenshotss stop element, wherein: cancel screenshotss unit and be used for working as the predetermined period time then, if the flow of mobile device does not change, then this cycle does not carry out screenshotss, waits for next cycle; Screenshotss image storing unit is used for when the snapshot picture in this cycle changes compared with the snapshot picture in last cycle of preservation, preserves the snapshot picture in this cycle; Otherwise abandoned; Screenshotss stop element is used for after receiving the instruction stopping traffic statistics, dwelling period screenshotss.
Described device can also comprise: screenshotss uploading unit, for regularly being uploaded onto the server by the snapshot that mobile device is preserved picture, and after uploading, deletes the snapshot picture of preservation.
Optionally, described message information acquiring unit specifically for: by the communication interface of retouching operation system, by the communication interface of plug-in unit interception operating system or the signal procedure being run object by amendment, obtain the information of mobile device transmitting-receiving message.
In a kind of execution mode, the message that described mobile device sends comprises request message, and the message that described mobile device receives comprises response message; Described device also comprises request and responses match unit and business procedure flow cell, wherein: ask to be used for the request message of same business procedure in the message associated with certain user operation and response message to mate with responses match unit; Business procedure flow cell is used for the flow being added up described business procedure by request message and the size of corresponding response message.
The information of described message can also comprise type of message; Described type of message comprises: HTML (Hypertext Markup Language) http message and socket message; Described request and responses match unit specifically for: in the message associated with certain user operation, transmit leg is identical with recipient, type of message is identical, the request message sent the earliest that not yet mates mates with the response message received the earliest not yet mated.
Optionally, described request and responses match unit comprise marking and add module and marker recognition module, wherein: mark adds module and is used for adding the mark corresponding to this request message in the predetermined field of the request message sent at mobile device; Described response message, for extracting the predetermined field of response message, mates with the request message with same tag by marker recognition module.
Optionally, described device also comprises message information storage unit, message information uploading unit and message information delete cells, wherein: message information storage unit is for preserving the information of mobile device transmitting-receiving message; Message information uploading unit reaches predetermined in limited time upper for the total amount working as preserved message information, is uploaded onto the server by the message information of preservation; Message information delete cells is used for the message information deleting preservation after uploading.
As can be seen from the execution mode of above various method and apparatus, can only add up the flow total value of certain application program in certain hour section relative to prior art, the embodiment of the application utilizes time of origin and runs object, transmitting-receiving message user operation and its caused associates, thus the flow that certain user operation triggers can be counted, make the link place tested and developer carries out more fast, location traffic consumes is large more accurately.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as read-only memory (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), the random access memory (RAM) of other types, read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise temporary computer readable media (transitorymedia), as data-signal and the carrier wave of modulation.
Also it should be noted that, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
It will be understood by those skilled in the art that the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, within all spirit in the application and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the application protects.

Claims (15)

1. a flow statistical method for mobile device, is characterized in that, comprising:
Obtain the relevant information of user operation, comprise the time of origin of operation and run object;
Obtain the information that mobile device receives and sends message, comprise the size of message, time of origin and operation object;
According to time of origin, associate having the identical user operation of operation object with the message of its triggering;
The flow that certain user operation triggers is added up by the size of associated message.
2. method according to claim 1, is characterized in that, the relevant information of described acquisition user operation, comprising:
With predetermined period, screenshotss are carried out to mobile device, after removing the title bar of screen, obtain snapshot picture;
The information of record snapshot picture, comprises the screenshotss time and runs object;
By the change identification user operation of snapshot picture, when completing using user operation snapshot picture the screenshotss time and run object as user operation time of origin and run object.
3. method according to claim 2, it is characterized in that, described according to time of origin, associate having the identical user operation of operation object with the message of its triggering, comprise: by running the user operation of object for certain, associate with setting the message that in the period, described operation object is received and dispatched and associate; Describedly set the association period as beginning when completing with described user operation, until snapshot is constant as flow that is constant and mobile device within preset waiting time.
4. method according to claim 2, is characterized in that, described method also comprises:
When the predetermined period time then, if the flow of mobile device does not change, then this cycle does not carry out screenshotss, waits for next cycle;
If the snapshot picture in this cycle changes compared with the snapshot picture in last cycle of preservation, then preserve the snapshot picture in this cycle; Otherwise abandoned;
After receiving the instruction stopping traffic statistics, dwelling period screenshotss.
5. method according to claim 4, is characterized in that, described method also comprises: regularly uploaded onto the server by the snapshot picture that mobile device is preserved, and after uploading, delete the snapshot picture of preservation.
6. method according to claim 1, it is characterized in that, described acquisition mobile device receives and sends the information of message, comprise: by the communication interface of retouching operation system, tackling the communication interface of operating system or the signal procedure by revising operation object by plug-in unit, obtaining the information of mobile device transmitting-receiving message.
7. method according to claim 1, is characterized in that: the message that described mobile device sends comprises request message, and the message that described mobile device receives comprises response message;
Described method also comprises:
The request message of same business procedure in the message associated with certain user operation and response message are mated;
The flow of described business procedure is added up by request message and the size of corresponding response message.
8. method according to claim 7, is characterized in that, the information of described message also comprises type of message; Described type of message comprises: HTML (Hypertext Markup Language) http message and socket message;
Described the request message of same business procedure in the message associated with certain user operation and response message to be mated, comprise: in the message associated with certain user operation, transmit leg is identical with recipient, type of message is identical, the request message sent the earliest that not yet mates mates with the response message received the earliest not yet mated.
9. method according to claim 7, is characterized in that, describedly the request message of same business procedure in the message associated with certain user operation and response message is mated, and comprising:
The mark corresponding to this request message is added in the predetermined field of the request message of mobile device transmission;
Extract the predetermined field of response message, described response message is mated with the request message with same tag.
10. method according to claim 1, is characterized in that, described method also comprises:
Preserve the information of mobile device transmitting-receiving message;
When the total amount of preserved message information reaches predetermined in limited time upper, the message information of preservation is uploaded onto the server;
The message information of preservation is deleted after uploading.
The flow statistic device of 11. 1 kinds of mobile devices, is characterized in that, comprising:
Operation information acquisition unit, for obtaining the relevant information of user operation, comprising the time of origin of operation and running object;
Message information acquiring unit, for obtaining the information that mobile device receives and sends message, comprises the size of message, time of origin and operation object;
Associative cell, for according to time of origin, associates having the identical user operation of operation object with the message of its triggering;
Statistic unit, for being added up the flow that certain user operation triggers by the size of associated message.
12. devices according to claim 11, is characterized in that, described operation information acquisition unit comprises:
Cycle screen capture module, for carrying out screenshotss with predetermined period to mobile device, obtains snapshot picture after removing the title bar of screen;
Screenshotss information logging modle, for recording the information of snapshot picture, comprising the screenshotss time and running object;
Operation identification module, for the change identification user operation by snapshot picture, when completing using user operation snapshot picture the screenshotss time and run object as user operation time of origin and run object.
13. devices according to claim 12, is characterized in that, described associative cell specifically for: the user operation of object will be run for certain, and associate with setting the message that in the period, described operation object is received and dispatched and associate; Describedly set the association period as beginning when completing with described user operation, until snapshot is constant as flow that is constant and mobile device within preset waiting time.
14. devices according to claim 12, is characterized in that, described device also comprises:
Cancel screenshotss unit, for working as the predetermined period time then, if the flow of mobile device does not change, then this cycle does not carry out screenshotss, waits for next cycle;
Screenshotss image storing unit, for when the snapshot picture in this cycle changes compared with the snapshot picture in last cycle of preservation, preserves the snapshot picture in this cycle; Otherwise abandoned;
Screenshotss stop element, for after receiving the instruction stopping traffic statistics, dwelling period screenshotss.
15. devices according to claim 14, is characterized in that, described device also comprises: screenshotss uploading unit, for regularly being uploaded onto the server by the snapshot that mobile device is preserved picture, and after uploading, delete the snapshot picture of preservation.
CN201410532733.XA 2014-10-10 2014-10-10 The flow statistical method and device of mobile device Active CN105577462B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410532733.XA CN105577462B (en) 2014-10-10 2014-10-10 The flow statistical method and device of mobile device
HK16112213.8A HK1224101A1 (en) 2014-10-10 2016-10-25 Method and device for counting traffic of mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410532733.XA CN105577462B (en) 2014-10-10 2014-10-10 The flow statistical method and device of mobile device

Publications (2)

Publication Number Publication Date
CN105577462A true CN105577462A (en) 2016-05-11
CN105577462B CN105577462B (en) 2018-08-31

Family

ID=55887158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410532733.XA Active CN105577462B (en) 2014-10-10 2014-10-10 The flow statistical method and device of mobile device

Country Status (2)

Country Link
CN (1) CN105577462B (en)
HK (1) HK1224101A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330548A (en) * 2016-08-29 2017-01-11 合网络技术(北京)有限公司 Flow statistical method, device and system
CN106789443A (en) * 2017-01-13 2017-05-31 百度在线网络技术(北京)有限公司 The method and apparatus of network access request analysis result is presented
CN110138638A (en) * 2019-05-16 2019-08-16 恒安嘉新(北京)科技股份公司 A kind of processing method and processing device of network flow

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941716A (en) * 2005-09-30 2007-04-04 杭州华为三康技术有限公司 Method, device and system for accounting application flow
CN101136954B (en) * 2007-01-19 2011-04-20 北京纽曼腾飞科技有限公司 Global calling telephone and controller and method thereof
CN102629909A (en) * 2012-03-30 2012-08-08 奇智软件(北京)有限公司 Traffic counting method and system based on processes
CN103268286A (en) * 2013-06-04 2013-08-28 百度在线网络技术(北京)有限公司 Method, system and testing machine for testing flow of application program in mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941716A (en) * 2005-09-30 2007-04-04 杭州华为三康技术有限公司 Method, device and system for accounting application flow
CN101136954B (en) * 2007-01-19 2011-04-20 北京纽曼腾飞科技有限公司 Global calling telephone and controller and method thereof
CN102629909A (en) * 2012-03-30 2012-08-08 奇智软件(北京)有限公司 Traffic counting method and system based on processes
CN103268286A (en) * 2013-06-04 2013-08-28 百度在线网络技术(北京)有限公司 Method, system and testing machine for testing flow of application program in mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330548A (en) * 2016-08-29 2017-01-11 合网络技术(北京)有限公司 Flow statistical method, device and system
CN106330548B (en) * 2016-08-29 2019-12-31 优酷网络技术(北京)有限公司 Flow statistical method, device and system
CN106789443A (en) * 2017-01-13 2017-05-31 百度在线网络技术(北京)有限公司 The method and apparatus of network access request analysis result is presented
CN110138638A (en) * 2019-05-16 2019-08-16 恒安嘉新(北京)科技股份公司 A kind of processing method and processing device of network flow
CN110138638B (en) * 2019-05-16 2021-07-27 恒安嘉新(北京)科技股份公司 Network traffic processing method and device

Also Published As

Publication number Publication date
CN105577462B (en) 2018-08-31
HK1224101A1 (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN107102941B (en) Test case generation method and device
CN107562620B (en) Automatic buried point setting method and device
CN110908879B (en) Reporting method, reporting device, reporting terminal and recording medium of buried point data
CN107870933B (en) Method, device and system for counting android application page browsing behaviors
CN105447139B (en) Data acquisition statistical method and system, terminal and service equipment thereof
CN105553769A (en) Data collecting-analyzing system and method
CN104699598A (en) Automatic testing method, device, equipment and system
CN107133174A (en) Test case code automatically generating device and method
CN102546668B (en) Method, device and system for counting unique visitors
CN112486708B (en) Page operation data processing method and processing system
CN104834674A (en) Method and device for collecting user behavior data and information recommendation
CN103606094A (en) Mobile Internet advertisement monitoring method and system thereof
US20170230474A1 (en) Service component management methods and systems
CN105589782A (en) User behavior collection method based on browser
CN104881408A (en) Method, device and system for counting number of clicks on page and displaying result
CN111159014B (en) Response method and device for exploratory test, computer equipment and storage medium
CN102916854A (en) Traffic statistical method and device and proxy server
CN111131493B (en) Data acquisition method and device and user portrait generation method and device
CN106294108A (en) Applied program testing method and device
CN105893508A (en) Method, device and system for determining access sequence of native page and H5 page
CN103544150B (en) For browser of mobile terminal provides the method and system of recommendation information
CN103490978A (en) Terminal, server and message monitoring method
CN105553770B (en) Data acquisition control method and device
CN108170609A (en) Localization method, device, computer equipment and the readable storage medium storing program for executing of program bug
CN111325901A (en) Method and device for identifying mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1224101

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200918

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200918

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right