CN108989977B - Driver client online time counting method, server and driver client - Google Patents

Driver client online time counting method, server and driver client Download PDF

Info

Publication number
CN108989977B
CN108989977B CN201810612820.4A CN201810612820A CN108989977B CN 108989977 B CN108989977 B CN 108989977B CN 201810612820 A CN201810612820 A CN 201810612820A CN 108989977 B CN108989977 B CN 108989977B
Authority
CN
China
Prior art keywords
time period
position information
driver client
time
online
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.)
Active
Application number
CN201810612820.4A
Other languages
Chinese (zh)
Other versions
CN108989977A (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.)
Wuhan Zebra Run Technology Co ltd
Original Assignee
Wuhan Zebra Run 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 Wuhan Zebra Run Technology Co ltd filed Critical Wuhan Zebra Run Technology Co ltd
Priority to CN201810612820.4A priority Critical patent/CN108989977B/en
Publication of CN108989977A publication Critical patent/CN108989977A/en
Application granted granted Critical
Publication of CN108989977B publication Critical patent/CN108989977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]

Abstract

The embodiment of the invention provides a driver client online time counting method, a server and a driver client. The method comprises the following steps: if a plurality of pieces of position information sent by the driver client side are received in the current time period and the position information sent by the driver client side is not received in the continuous time period before the current time period, determining the online target time period of the driver client side in the continuous time period based on the time labels carried in the plurality of pieces of position information; and counting the online time of the client of the driver based on the current time period and the target time period. And when the position information is received in the current time period and the position information is not received in the continuous time period before the current time period, traversing the time tag carried in the position information received in the current time period, determining the online target time period of the driver client in the continuous time period, and counting the online time length of the driver client. The time length of the lost points of the driver client under the scenes of no network or weak network and the like is considered, and the accuracy of counting the time length is improved.

Description

Driver client online time counting method, server and driver client
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a method for counting online time of a driver client, a server and the driver client.
Background
In order to solve the problem of travel, the development of net appointment vehicles is increasingly vigorous. In order to better supervise and schedule the online taxi appointment drivers, it is particularly important to count the online time of the driver clients. In the prior art, the server can receive at least one position point uploaded by the driver client in one minute, and the driver is considered to be online for 1 minute. Under the condition of no network, uploading of the position of the driver end fails, the locating point is lost, and if the server end does not receive the locating point within 1 minute, the driver client end is considered not to be on-line within the minute, so that the problems that the driver falls off the time and the counting time is inaccurate are caused.
Disclosure of Invention
The embodiment of the invention provides a method for counting the online time of a driver client, a server and the driver client, which are used for solving the defect of inaccurate counting of the online time of the driver client in the prior art and improving the accuracy of time counting.
The embodiment of the invention provides a method for counting the online time of a driver client, which comprises the following steps:
if a plurality of pieces of position information sent by a driver client side are received in the current time period and the position information sent by the driver client side is not received in the continuous time period before the current time period, determining the online target time period of the driver client side in the continuous time period based on the time labels carried in the plurality of pieces of position information;
and counting the online time of the driver client based on the current time period and the target time period.
The embodiment of the invention provides a method for counting the online time of a driver client, which comprises the following steps:
in the current time period, sending a plurality of pieces of position information to a server side, so that the server side determines an online target time period of a driver client side in a continuous time period before the current time period based on time labels carried in the plurality of pieces of position information, and counting the online time length of the driver client side based on the current time period and the target time period;
and the continuous time period is a time period when the position information is not sent to the server.
The embodiment of the invention provides a server, which comprises a memory and a processor, wherein the processor and the memory finish mutual communication through a bus; the memory stores program instructions which can be executed by the processor, and the processor calls the program instructions to execute the server-side method for the driver client-side online time length counting method and the method in any optional embodiment.
The embodiment of the invention provides a driver client, which comprises a memory and a processor, wherein the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the driver client method for counting the online time of the driver client and the method in any optional embodiment of the driver client method.
According to the statistical method for the online time of the driver client, the server and the driver client provided by the embodiment of the invention, through judging whether the position information is received or not in the current time period and the continuous time period before the current time period, when the position information is received in the current time period and the position information is not received in the continuous time period before the current time period, the time tag carried in the received position information in the current time period is traversed, so that the target time period of the online driver client is determined in the continuous time period, and the online time of the driver client is counted based on the current time period and the target time period. The method takes the point loss time of the driver client side under the scenes of no network or weak network and the like into consideration, optimizes the statistical method of the driver time, greatly improves the accuracy of the statistical time, enhances the reliability of the assessment data of the driver, and reduces the complaint of the driver.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for counting driver client online time according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an implementation of a method for counting driver client online time according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for counting driver client online time according to another embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an implementation of a method for counting driver client online time according to another embodiment of the present invention;
fig. 5 is a block diagram of a server according to an embodiment of the present invention;
fig. 6 is a block diagram of a driver client according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for counting online time of a driver client according to an embodiment of the present invention, where an execution subject is a server. As shown in fig. 1, the method includes:
if a plurality of pieces of position information sent by a driver client side are received in the current time period and the position information sent by the driver client side is not received in the continuous time period before the current time period, determining the online target time period of the driver client side in the continuous time period based on the time labels carried in the plurality of pieces of position information; and counting the online time of the driver client based on the current time period and the target time period.
Specifically, if the server receives a plurality of pieces of position information sent by the driver client in the current time period, and the server does not receive the position information sent by the driver client in a plurality of time periods which are continuous before the current time period, the server determines that the driver client is online in the current time period. And the server side also judges whether the target time period of the driver client side online exists in a plurality of continuous time periods according to the time label carried by each piece of position information in the plurality of pieces of position information. And the server side counts the online time of the driver client side based on the current time period and the target time period. It should be noted that the continuous time periods in the embodiments of the present invention are one or more, and the target time period is a subset of the continuous time period, which is zero, one, or more.
It should be noted that the location information includes a location tag and a time tag of the driver client. The position label represents the position of the driver client, and the time label represents the time for acquiring the position.
Fig. 2 is a schematic diagram illustrating an implementation of a statistical method for driver client online time according to an embodiment of the present invention, where, as shown in fig. 2, segment H is a current time period, segment D, E, F, G is a continuous time period, 3 pieces of location information are received in segment H, and no location information is received in segment D, E, F, G.
The driver client can be judged to be online in the H section according to the conditions. And according to the time tag carried in each piece of the 3 pieces of position information, judging whether a target time slot in which the driver client is online exists in the D, E, F, G segments. If the driver client is online in the segment D, E, the segment D, E is used as the target time segment, and the online time of the driver client is counted based on the segment H, D, E.
According to the method provided by the embodiment of the invention, through judging whether the position information is received or not in the current time period and the continuous time period before the current time period, when the position information is received in the current time period and the position information is not received in the continuous time period before the current time period, the time tag carried in the received position information in the current time period is traversed, so that the online target time period of the driver client is determined in the continuous time period, and the online time length of the driver client is counted based on the current time period and the target time period. The method takes the point loss and time loss duration of the driver client under the scenes of no network or weak network and the like into consideration, optimizes the online time counting method of the driver client, greatly improves the accuracy of time counting, enhances the reliability of driver assessment data, and reduces the complaints of the driver.
Based on the foregoing embodiments, an embodiment of the present invention provides a method for counting an online duration of a driver client, where if a plurality of pieces of location information sent by the driver client are received in a current time period and no location information sent by the driver client is received in a continuous time period before the current time period, a target time period in which the driver client is online is determined in the continuous time period based on time tags carried in the plurality of pieces of location information, and the method also includes:
the time is divided into a plurality of time periods, and different time periods are not overlapped with each other.
It is understood that several time periods do not overlap, and the time lengths of different time periods are equal or different.
Based on the foregoing embodiment, an embodiment of the present invention provides a method for counting an online duration of a driver client, where, based on time tags carried in the pieces of location information, a target time period of the driver client online is determined in the continuous time period, and the method further includes:
traversing the time tags carried in each piece of position information in the plurality of pieces of position information; for each time tag, acquiring a time period of the time tag, and using the time period as a time period matched with the time tag; and taking an intersection of the continuous time periods and all matched time periods, and taking the time periods included in the intersection as online target time periods of the driver client.
Based on the foregoing embodiment, an embodiment of the present invention provides a method for counting driver client online time, where the method for counting driver client online time based on the current time period and the target time period further includes:
and adding the duration of the current time period, the duration of the target time period and the historical accumulated duration to be used as the online duration of the driver client.
It should be noted that the current real-time online duration of the driver client can be obtained by adding the duration of the current time period and the duration of the target time period to the historical accumulated duration which is known data.
Fig. 3 is a flowchart of a statistical method for driver client online time duration according to another embodiment of the present invention, wherein the execution subject is the driver client. As shown in fig. 3, the method includes:
in the current time period, sending a plurality of pieces of position information to a server side, so that the server side determines an online target time period of a driver client side in a continuous time period before the current time period based on time labels carried in the plurality of pieces of position information, and counting the online time length of the driver client side based on the current time period and the target time period; and the continuous time period is a time period when the position information is not sent to the server.
Specifically, in the current time period, the driver client sends a plurality of pieces of position information to the server, so that the server can judge that the driver client is online in the current time period according to the plurality of pieces of position information received in the current time period, and can judge whether the target time period in which the driver client is online exists in the continuous time period before the current time period based on the plurality of pieces of position information. Therefore, the server side can count the online time of the client side of the driver according to the current time period and the target time period. It should be noted that, in the embodiment of the present invention, the driver client does not send any location information to the server during the continuous time period. It should be noted that the continuous time periods in the embodiments of the present invention are one or more, and the target time period is a subset of the continuous time period, which is zero, one, or more.
The method provided by the embodiment of the invention judges whether the position information is received or not by the server side by sending the position information to the server side in the current time period and the continuous time period before the current time period, traverses the time tag carried in the received position information in the current time period when the position information is received in the current time period and the position information is not received in the continuous time period before the current time period so as to determine the online target time period of the driver client side in the continuous time period, and counts the online time period of the driver client side based on the current time period and the target time period. The method takes the point loss and time loss duration of the driver client under the scenes of no network or weak network and the like into consideration, optimizes the online time counting method of the driver client, greatly improves the accuracy of time counting, enhances the reliability of driver assessment data, and reduces the complaints of the driver.
Based on the foregoing embodiment, an embodiment of the present invention provides a method for counting an online duration of a driver client, where in a current time period, a plurality of pieces of location information are sent to a server, and the method further includes:
acquiring position information in the continuous time period, and storing the position information into an internal memory if a first preset condition is not met in the continuous time period; wherein the location information includes a location tag and a time tag of the driver client.
The first preset condition is preferably that the network state is good. And if the network state of the driver client is not good in the continuous time period, storing the acquired position information into a memory of the driver client. And when the network state is good, the position information stored in the memory is sent to the server.
Based on the foregoing embodiment, an embodiment of the present invention provides a method for counting an online duration of a driver client, where in a current time period, a plurality of pieces of location information are sent to a server, and the method further includes:
and if a first preset condition is met in the current time period, sending the position information stored in the memory to the server side, and deleting the position information stored in the memory.
Specifically, if the driver client has a bad network status in the continuous time period but has a good network status in the current time period, the driver client sends the location information stored in the memory to the server and deletes the location information stored in the memory.
Based on the above embodiments, an embodiment of the present invention provides a method for counting an online duration of a driver client, where the method sends a plurality of pieces of location information to a server, and further includes:
acquiring position information in the current time period, and if a first preset condition is met in the current time period, sending the position information to the server; wherein the location information includes a location tag and a time tag of the driver client.
Specifically, if the network state of the driver client is good in the current time period, the position information acquired in the current time period is directly sent to the server.
Based on the above embodiments, the embodiment of the present invention will show a statistical method for the online duration of the driver client, by way of specific example.
Step 1: when logging in the driver client, the driver can be in socket connection with the server, and communication between the driver client and the server is achieved.
Specifically, the driver client sends a heartbeat packet to the server at intervals, and if the feedback of the server is received, the current socket is connected online; if not, a retry mechanism needs to be initiated to connect the server on behalf of the socket connection failure.
Step 2: driver's customer end gathers positional information to upload to the server side, wherein, upload to the server side and divide into two kinds of situations:
1. the network state is good, and the data is directly uploaded after being collected.
2. And if the network state is not good, caching the acquired position information into a memory of the driver client, and uploading the position information again after the network is smooth.
For example, the driver client collects the current position information of the driver client every 10 seconds, and the position information mainly includes the current longitude and latitude of the vehicle where the driver client is located and the time for collecting the longitude and latitude. When the driver client acquires the current position information:
if the network exists currently, the driver client transmits the currently acquired position to the server. If the current environment is a weak network environment or a non-network environment, the driver client side can cache the currently acquired position information into the memory, and when the network condition is good, the position information can be automatically uploaded to the server side.
And 3, the server side counts the online time of the driver client side according to the position information uploaded by the driver client side.
Specifically, the time is divided into a plurality of time periods, whether each time period is the time period of the driver client side online is judged, and all the online time periods are added to count the online time of the driver client side.
Fig. 4 is a schematic diagram of an implementation of a statistical method for driver client online time length according to another embodiment of the present invention, as shown in fig. 4, when it is known that a driver client in a segment B is online, C, D, E, F, G, H segments are sequentially taken as a current time segment, and a determination process of whether the driver client in a segment C, D, E, F, G, H is online by a server side is as follows:
and if a plurality of pieces of position information sent by the driver client side are received in the section C, judging that the driver client side in the section C is on line. At the moment, the duration of the section C is added with the historical accumulated duration to be used as the real-time online duration of the driver client.
And if the position information sent by the driver client is not received in the section D, taking the section D as a waiting section, and temporarily not judging.
And if the position information sent by the driver client is not received in the section E, taking the section E as a waiting section, and temporarily not judging.
And if the position information sent by the driver client is not received in the section F, taking the section F as a waiting section, and temporarily not judging.
If the position information sent by the driver client is not received in the segment G, the segment G is used as a waiting segment, and the judgment is not carried out temporarily.
And if a plurality of pieces of position information sent by the driver client side are received in the H section, judging that the driver client side in the H section is on line. And traversing the time label carried by each position information in the plurality of pieces of position information, and matching each time label with D, E, F, G segments. If 3 pieces of position information sent by a driver client side are received in the H section, traversing a time tag carried in each piece of position information in the 3 pieces of position information, if the time tag carried in the 1 st piece of position information is located in the D section, taking the D section as a time section matched with the 1 st piece of position information, and if the time tag carried in the 2 nd piece of position information and the time tag carried in the 3 rd piece of position information are both located in the E section, taking the E section as a time section matched with the 2 nd piece of position information and the 3 rd piece of position information. Taking intersection of the section D and the section E as a whole and the section D, E, F, G, and taking the time period included in the intersection as the target time period of the online driver client, namely, D, E as the target time period of the online driver client. At the moment, the H-section time length, the D-section time length, the E-section time length and the historical accumulated time length are added to be used as the real-time online time length of the driver client. Note that the historical accumulated time length is dynamically changed.
Fig. 5 is a block diagram of a server according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes: a processor (processor)501, a memory (memory)502, and a bus 503; wherein, the processor 501 and the memory 502 complete the communication with each other through the bus 503; the processor 501 is configured to call program instructions in the memory 502 to perform the methods provided by the above-mentioned method embodiments, for example, including: if a plurality of pieces of position information sent by a driver client side are received in the current time period and the position information sent by the driver client side is not received in the continuous time period before the current time period, determining the online target time period of the driver client side in the continuous time period based on the time labels carried in the plurality of pieces of position information; and counting the online time of the driver client based on the current time period and the target time period.
Fig. 6 is a block diagram of a driver client according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes: a processor (processor)601, a memory (memory)602, and a bus 603; wherein, the processor 601 and the memory 602 complete the communication with each other through the bus 603; the processor 601 is configured to call program instructions in the memory 602 to perform the methods provided by the above-mentioned method embodiments, for example, including: in the current time period, sending a plurality of pieces of position information to a server side, so that the server side determines an online target time period of a driver client side in a continuous time period before the current time period based on time labels carried in the plurality of pieces of position information, and counting the online time length of the driver client side based on the current time period and the target time period; and the continuous time period is a time period when the position information is not sent to the server.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: if a plurality of pieces of position information sent by a driver client side are received in the current time period and the position information sent by the driver client side is not received in the continuous time period before the current time period, determining the online target time period of the driver client side in the continuous time period based on the time labels carried in the plurality of pieces of position information; and counting the online time of the driver client based on the current time period and the target time period.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: in the current time period, sending a plurality of pieces of position information to a server side, so that the server side determines an online target time period of a driver client side in a continuous time period before the current time period based on time labels carried in the plurality of pieces of position information, and counting the online time length of the driver client side based on the current time period and the target time period; and the continuous time period is a time period when the position information is not sent to the server.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the above method embodiments, for example, the methods include: if a plurality of pieces of position information sent by a driver client side are received in the current time period and the position information sent by the driver client side is not received in the continuous time period before the current time period, determining the online target time period of the driver client side in the continuous time period based on the time labels carried in the plurality of pieces of position information; and counting the online time of the driver client based on the current time period and the target time period.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the above method embodiments, for example, the methods include: in the current time period, sending a plurality of pieces of position information to a server side, so that the server side determines an online target time period of a driver client side in a continuous time period before the current time period based on time labels carried in the plurality of pieces of position information, and counting the online time length of the driver client side based on the current time period and the target time period; and the continuous time period is a time period when the position information is not sent to the server.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A statistical method for online time of a driver client is characterized by comprising the following steps:
if a plurality of pieces of position information sent by a driver client side are received in the current time period and the position information sent by the driver client side is not received in the continuous time period before the current time period, taking the online time period of the driver client side as a target time period in the continuous time period based on time labels carried in the plurality of pieces of position information;
counting the online time length of the driver client based on the current time period and the target time period;
if a plurality of pieces of position information sent by a driver client is received in a current time period and the position information sent by the driver client is not received in a continuous time period before the current time period, taking an online time period of the driver client as a target time period in the continuous time period based on time tags carried in the plurality of pieces of position information, and the method further comprises the following steps:
dividing time into a plurality of time periods, wherein different time periods are not overlapped with each other;
the step of taking the time period in which the driver client is online as a target time period in the continuous time period based on the time tags carried in the pieces of position information further includes:
traversing the time tags carried in each piece of position information in the plurality of pieces of position information;
for each time tag, acquiring a time period of the time tag, and using the time period as a time period matched with the time tag;
and taking an intersection of the continuous time periods and all matched time periods, and taking the time periods included in the intersection as online target time periods of the driver client.
2. The method of claim 1, wherein the driver client online time is counted based on the current time period and the target time period, further comprising:
and adding the duration of the current time period, the duration of the target time period and the historical accumulated duration to be used as the online duration of the driver client.
3. A statistical method for online time of a driver client is characterized by comprising the following steps:
sending a plurality of pieces of position information to a server in a current time period, so that the server can use time labels carried in the plurality of pieces of position information as a basis, taking the time period of the driver client being online as a target time period in a continuous time period before the current time period, and counting the online time of the driver client based on the current time period and the target time period;
the continuous time period is a time period when the position information is not sent to the server;
the taking the time period in which the driver client is online as a target time period in a continuous time period before the current time period further comprises:
dividing time into a plurality of time periods, wherein different time periods are not overlapped with each other;
the taking the time period in which the driver client is online as a target time period in a continuous time period before the current time period based on the time tags carried in the pieces of position information further includes:
traversing the time tags carried in each piece of position information in the plurality of pieces of position information;
for each time tag, acquiring a time period of the time tag, and using the time period as a time period matched with the time tag;
and taking an intersection of the continuous time periods and all matched time periods, and taking the time periods included in the intersection as online target time periods of the driver client.
4. The method of claim 3, wherein sending several pieces of location information to the server in the current time period further comprises:
acquiring position information in the continuous time period, and storing the position information into an internal memory if a first preset condition is not met in the continuous time period;
wherein the location information includes a location tag and a time tag of the driver client.
5. The method of claim 4, wherein several pieces of location information are sent to the server during the current time period, further comprising:
and if a first preset condition is met in the current time period, sending the position information stored in the memory to the server side, and deleting the position information stored in the memory.
6. The method of claim 3, wherein several pieces of location information are sent to the server during the current time period, and further comprising:
acquiring position information in the current time period, and if a first preset condition is met in the current time period, sending the position information to the server;
wherein the location information includes a location tag and a time tag of the driver client.
7. The server side is characterized by comprising a memory and a processor, wherein the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 and 2.
8. The driver client is characterized by comprising a memory and a processor, wherein the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 3 to 6.
CN201810612820.4A 2018-06-14 2018-06-14 Driver client online time counting method, server and driver client Active CN108989977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810612820.4A CN108989977B (en) 2018-06-14 2018-06-14 Driver client online time counting method, server and driver client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810612820.4A CN108989977B (en) 2018-06-14 2018-06-14 Driver client online time counting method, server and driver client

Publications (2)

Publication Number Publication Date
CN108989977A CN108989977A (en) 2018-12-11
CN108989977B true CN108989977B (en) 2020-10-02

Family

ID=64540426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810612820.4A Active CN108989977B (en) 2018-06-14 2018-06-14 Driver client online time counting method, server and driver client

Country Status (1)

Country Link
CN (1) CN108989977B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021068113A1 (en) * 2019-10-08 2021-04-15 深圳市欢太科技有限公司 Method and apparatus for compiling duration statistics, electronic device, and computer-readable medium
CN114268897B (en) * 2020-09-15 2023-05-26 Oppo广东移动通信有限公司 Positioning service method and related device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1256472A (en) * 1998-12-08 2000-06-14 陈宝贵 Photoelectronic public traffic vehicle operating control system
CN101763721A (en) * 2009-12-25 2010-06-30 北京工业大学 Public traffic dynamic information collection processing and wireless transmission method
CN101860828A (en) * 2009-04-10 2010-10-13 北京闻言科技有限公司 Method for dynamically calculating mobile phone user online time
CN102663835A (en) * 2012-05-04 2012-09-12 禹芙蓉 Method and device for billing taxi through mobile terminal
KR20120109899A (en) * 2011-03-28 2012-10-09 팅크웨어(주) Electronic device and navigation service method of electronic device
CN104184601A (en) * 2013-05-22 2014-12-03 腾讯科技(深圳)有限公司 Obtaining method and device for user online time
CN105488692A (en) * 2015-11-26 2016-04-13 广州华多网络科技有限公司 Method and device for computing number of online users
WO2016074538A1 (en) * 2014-11-13 2016-05-19 北京东方车云信息技术有限公司 Sent order ranking system and method for reducing no-load running and waiting time in online taxi renting
CN105701595A (en) * 2015-12-25 2016-06-22 深圳市伊爱高新技术开发有限公司 Vehicle working hour statistical method and device
CN105721227A (en) * 2016-04-14 2016-06-29 武汉斗鱼网络科技有限公司 Method and system for carrying out statistics to online durations of user and state server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110181392A1 (en) * 2010-01-27 2011-07-28 Electronics And Telecommunications Research Institute Real time locating system, reader, rfid tag and driving method of rfid tag for locating

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1256472A (en) * 1998-12-08 2000-06-14 陈宝贵 Photoelectronic public traffic vehicle operating control system
CN101860828A (en) * 2009-04-10 2010-10-13 北京闻言科技有限公司 Method for dynamically calculating mobile phone user online time
CN101763721A (en) * 2009-12-25 2010-06-30 北京工业大学 Public traffic dynamic information collection processing and wireless transmission method
KR20120109899A (en) * 2011-03-28 2012-10-09 팅크웨어(주) Electronic device and navigation service method of electronic device
CN102663835A (en) * 2012-05-04 2012-09-12 禹芙蓉 Method and device for billing taxi through mobile terminal
CN104184601A (en) * 2013-05-22 2014-12-03 腾讯科技(深圳)有限公司 Obtaining method and device for user online time
WO2016074538A1 (en) * 2014-11-13 2016-05-19 北京东方车云信息技术有限公司 Sent order ranking system and method for reducing no-load running and waiting time in online taxi renting
CN105488692A (en) * 2015-11-26 2016-04-13 广州华多网络科技有限公司 Method and device for computing number of online users
CN105701595A (en) * 2015-12-25 2016-06-22 深圳市伊爱高新技术开发有限公司 Vehicle working hour statistical method and device
CN105721227A (en) * 2016-04-14 2016-06-29 武汉斗鱼网络科技有限公司 Method and system for carrying out statistics to online durations of user and state server

Also Published As

Publication number Publication date
CN108989977A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN104731690B (en) Adaptive metrology collection, storage and warning threshold
US10103994B2 (en) Opportunistic network updates
CN106815254B (en) Data processing method and device
CN108989977B (en) Driver client online time counting method, server and driver client
CN105120217A (en) Intelligent camera motion detection alarm system and method based on big data analysis and user feedback
CN112346936A (en) Application fault root cause positioning method and system
CN110493065A (en) The alarm association degree analysis method and system of a kind of cloud center O&M
CN108230673B (en) Vehicle driving route monitoring method, driver client and server
CN107690149B (en) Method for triggering network policy update, management function entity and core network equipment
CN109146280A (en) A kind of method, apparatus and system of pushed information
US20100318859A1 (en) Production control for service level agreements
CN111563560B (en) Data stream classification method and device based on time sequence feature learning
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
CN106341433A (en) Service system, signal server and intercom server
CN110007940B (en) Gray scale release verification method, system, server and readable storage medium
JP2019128837A (en) Server device, information collecting system, and program
CN114466321B (en) Message sending method and device, electronic equipment and storage medium
CN108303115B (en) Travel distance calculation processing method and server
CN116010388A (en) Data verification method, data acquisition server and data verification system
CN109617957A (en) A kind of file uploading method based on CDN network, device, server
CN112449006B (en) Data transmission method, computer and medium for seismic station data acquisition unit and seismic table network central data server
CN113918551A (en) Positioning abnormal point identification method, system, medium and electronic equipment
CN113468030A (en) Monitoring and alarming method and device of ABS (anti-lock braking system), storage medium and electronic equipment
CN108390770A (en) A kind of information generating method, device and server
CN110121143B (en) Position determination method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant