Method and terminal for reporting information, method and server for statistical information
A server and terminal technology, applied in the field of information, can solve problems such as repeated information transmission, waste of network resources, and reduce the efficiency of reporting information, so as to reduce the occupancy of sending and receiving and network resources, and improve efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] The embodiment of the present invention provides a method for reporting information, which reduces the network traffic required for reporting information. Taking the perspective of the terminal executing the method provided by the embodiment of the present invention as an example, see figure 1 , the method flow includes:
[0075] 101: Obtain event information and public identifiers of started applications;
[0076] Further, before obtaining the event information and the public identifier of the started application, it also includes:
[0077] Obtain the event information corresponding to the started application program in real time, and store the event information and public identifier corresponding to the started application program;
[0078] Get event information and public ids for started applications, including:
[0079] Acquiring the stored event information and the public identifier of the started application program every preset time.
[0080] 102: Send the eve...
Embodiment 2
[0090] The embodiment of the present invention provides a method for statistical information, taking the perspective of the server executing the method provided by the embodiment of the present invention as an example, see figure 2 , the method flow includes:
[0091] 201: Receive the event information and public identifier of the started application sent by the terminal;
[0092] Further, the event information and the public identifier of the started application sent by the receiving terminal include:
[0093] The compressed event information and public identifier of the started application sent by the receiving terminal;
[0094] Query the public session information identified by the public identifier in the stored public session information, including:
[0095] The compressed event information and the public identifier of the started application are decompressed, and the public session information identified by the decompressed public identifier is queried in the stored ...
Embodiment 3
[0103] The embodiment of the present invention provides a method for reporting information. Combining the contents of the above-mentioned embodiment 1 and embodiment 2, the method provided by the embodiment of the present invention is explained in detail, see image 3 , the method flow includes:
[0104] 301: The terminal obtains the event information and public identifier of the started application program;
[0105] Specifically, the event can be a heartbeat event, an exit event, etc., and the event information is the unique attribute information of the event; wherein, the heartbeat event is an event reported by the started application program at regular intervals, indicating that the application program is in an active state, It can be used to count information such as user online time and the highest number of active users.
[0106] The time interval for reporting the heartbeat event is not specifically limited in this embodiment. During specific implementation, it can be...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


