CN113128934A - Terminal track processing method and related equipment - Google Patents

Terminal track processing method and related equipment Download PDF

Info

Publication number
CN113128934A
CN113128934A CN202110443330.8A CN202110443330A CN113128934A CN 113128934 A CN113128934 A CN 113128934A CN 202110443330 A CN202110443330 A CN 202110443330A CN 113128934 A CN113128934 A CN 113128934A
Authority
CN
China
Prior art keywords
terminal
time interval
scanning time
speed
acquiring
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.)
Pending
Application number
CN202110443330.8A
Other languages
Chinese (zh)
Inventor
陈小楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202110443330.8A priority Critical patent/CN113128934A/en
Publication of CN113128934A publication Critical patent/CN113128934A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the disclosure provides a terminal track processing method and device, a computer readable storage medium and electronic equipment, and belongs to the technical field of computers and communication. The method comprises the following steps: acquiring the speed of a terminal; determining a first scanning time interval for the terminal according to the speed of the terminal; acquiring position points of the terminal at all moments based on the first scanning time interval; and acquiring the track of the terminal according to the position points of the terminal at each moment. The method disclosed by the invention can reduce the number of times of scanning and calling the terminal.

Description

Terminal track processing method and related equipment
Technical Field
The present disclosure relates to the field of computer and communication technologies, and in particular, to a method and an apparatus for processing a terminal trajectory, a computer-readable storage medium, and an electronic device.
Background
In the logistics distribution process, in order to draw a daily driving track of a distributor, the real-time position of the distributor is often required to be obtained through the mobile terminal for displaying on a front-end interface, but the energy consumption of the mobile terminal used by the distributor is large due to the fact that the real-time geographical position of the distributor is obtained fixedly and frequently, and the situation that the surface of the terminal is heated or the electric quantity is consumed quickly is prone to occurring.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The embodiment of the disclosure provides a terminal track processing method and device, a computer readable storage medium and an electronic device, which can realize the processing of a terminal track.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, there is provided a method for processing a terminal trajectory, including:
acquiring the speed of a terminal;
determining a first scanning time interval for the terminal according to the speed of the terminal;
acquiring position points of the terminal at all moments based on the first scanning time interval;
and acquiring the track of the terminal according to the position points of the terminal at each moment.
In one embodiment, obtaining the velocity of the terminal comprises:
acquiring the real-time speed of the terminal for N times, wherein N is a natural number more than or equal to 2;
summing the real-time velocities of the terminal N times and dividing by N to obtain an average velocity of the terminal.
In one embodiment, determining a first scanning time interval for the terminal based on the velocity of the terminal comprises:
determining a first scanning time interval for the terminal according to the average speed of the terminal.
In one embodiment, obtaining the velocity of the terminal comprises:
acquiring longitude and latitude of a position point of the terminal at the start and the end of a preset scanning time interval;
acquiring the linear distance between the initial position point and the final position point according to the longitude and latitude of the initial position point and the final position point of the terminal at the preset scanning time interval;
and dividing the linear distance between the position points of the terminal at the beginning and the end of the preset scanning time interval by the preset scanning time interval to obtain the real-time speed of the terminal at the preset scanning time interval.
In one embodiment, determining a first scanning time interval for the terminal based on the velocity of the terminal comprises:
inquiring a speed and scanning time interval comparison table according to the speed of the terminal to obtain a first scanning time interval of the terminal;
and different scanning time intervals corresponding to different speeds are added in the speed and scanning time interval comparison table according to actual application or theoretical calculation.
In one embodiment, further comprising:
and presetting a preset scanning time interval for the terminal at the initial stage of acquiring the track of the terminal.
According to an aspect of the present disclosure, there is provided a terminal trajectory processing apparatus, including:
the first acquisition module is configured to acquire the speed of the terminal;
a determining module configured to determine a first scanning time interval for the terminal according to a velocity of the terminal;
a second acquisition module configured to acquire position points of the terminal at various times based on the first scanning time interval;
and the third acquisition module is configured to acquire the track of the terminal according to the position point of the terminal at each moment.
According to an aspect of the present disclosure, there is provided an electronic device including:
one or more processors;
a storage device configured to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method of any of the above embodiments.
According to an aspect of the present disclosure, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the method of any one of the above embodiments.
The method can dynamically adjust the scanning time interval of the terminal according to the speed of the terminal, thereby reducing the number of times of scanning and calling the terminal.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The following figures depict certain illustrative embodiments of the invention in which like reference numerals refer to like elements. These described embodiments are to be considered as exemplary embodiments of the disclosure and not limiting in any way.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which a processing method of a terminal trajectory of an embodiment of the present disclosure may be applied;
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device implementing embodiments of the present disclosure;
FIG. 3 schematically shows a flow chart of a method of processing a terminal trajectory according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of marker points for acquiring real-time locations of dispatchers at regular intervals;
FIG. 5 illustrates an exemplary diagram of a dispatcher's trajectory marker point based on the method of the present disclosure;
FIG. 6 schematically shows a block diagram of a processing device of a terminal trajectory according to an embodiment of the present disclosure;
fig. 7 schematically shows a block diagram of a processing means of a terminal trajectory according to another embodiment of the present invention;
fig. 8 schematically shows a block diagram of a processing device of a terminal trajectory according to another embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which the processing method of the terminal trajectory of the embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminals 101, 102, 103, a network 104, and a server 105. The network 104 is a medium to provide communication links between the terminals 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be understood that the number of terminals, networks, and servers in fig. 1 are merely illustrative. There may be any number of terminals, networks, and servers, as desired for an implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
A worker (e.g., courier) may use the terminals 101, 102, 103 to interact with the server 105 over the network 104 to receive or send messages, etc. The terminals 101, 102, 103 may be various electronic devices having display screens including, but not limited to, smart phones, tablets, portable and desktop computers, digital cinema projectors, and the like.
The server 105 may be a server that provides various services. For example, when a worker moves with the terminal 103 (or the terminal 101 or 102), the server 105 may obtain the speed of the terminal; determining a first scanning time interval for the terminal according to the speed of the terminal; acquiring position points of the terminal at all moments based on the first scanning time interval; and acquiring the track of the terminal according to the position points of the terminal at each moment. The server 105 may display the trajectory of the terminal on the terminal 103 or other terminals, and a worker or other persons (e.g., a user) may view the trajectory of the worker carrying the terminal 103 based on the content displayed on the terminal.
Also, for example, the terminal 103 (also may be the terminal 101 or 102) may be a smart television, a VR (Virtual Reality)/AR (Augmented Reality) helmet display, or a mobile terminal such as a smart phone, a tablet computer, etc. on which a navigation, a network appointment, an instant messaging, a video Application (APP), etc. are installed, a worker may carry the smart television, the VR/AR helmet display, or the navigation, the network appointment, the instant messaging, the video APP, etc. to move, and the server 105 may obtain a moving track of the terminal. Server 105 can return this or other intelligent TV, VR/AR helmet display or this navigation, net car of making an appointment, instant messaging, video APP with the removal orbit of terminal, and then through this intelligent TV, VR/AR helmet display or this navigation, net car of making an appointment, instant messaging, video APP, will carry the staff's of terminal 103 orbit is shown.
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present disclosure.
It should be noted that the computer system 200 of the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present disclosure.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU)201 that can perform various appropriate actions and processes in accordance with a program stored in a Read-Only Memory (ROM) 202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for system operation are also stored. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 208 including a hard disk and the like; and a communication section 209 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 210 as necessary, so that a computer program read out therefrom is installed into the storage section 208 as necessary.
In particular, the processes described below with reference to the flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication section 209 and/or installed from the removable medium 211. The computer program, when executed by a Central Processing Unit (CPU)201, performs various functions defined in the methods and/or apparatus of the present application.
It should be noted that the computer readable storage medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM) or flash Memory), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods, apparatus, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules and/or units and/or sub-units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described modules and/or units and/or sub-units may also be disposed in a processor. Wherein the names of such modules and/or units and/or sub-units in some cases do not constitute a limitation on the modules and/or units and/or sub-units themselves.
As another aspect, the present application also provides a computer-readable storage medium, which may be contained in the electronic device described in the above embodiment; or may exist separately without being assembled into the electronic device. The computer-readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method described in the embodiments below. For example, the electronic device may implement the steps as shown in fig. 3.
In the related art, for example, a machine learning method, a deep learning method, or the like may be used to process the trajectory of the terminal, and the range to which different methods are applied is different.
Fig. 3 schematically shows a flowchart of a processing method of a terminal trajectory according to an embodiment of the present disclosure. The method steps of the embodiments of the present disclosure may be performed by a server, for example, the server 105 in fig. 1 described above, but the present disclosure is not limited thereto.
In step S310, the velocity of the terminal is acquired.
In this step, the server acquires the speed of the terminal. In one embodiment, the server presets a predetermined scanning time interval to the terminal at an initial stage of acquiring the trajectory of the terminal. In one embodiment, the server acquires the latitude and longitude of the position points of the terminal at the beginning and the end of a preset scanning time interval; the server acquires the linear distance between the initial position point and the final position point according to the longitude and latitude of the initial position point and the final position point of the terminal at the preset scanning time interval; and the server divides the linear distance between the position points of the terminal at the start and the end of the preset scanning time interval by the preset scanning time interval to obtain the real-time speed of the terminal at the preset scanning time interval. In one embodiment, the server obtains the real-time speed of the terminal for N times, wherein N is a natural number greater than or equal to 2; the server sums the real-time speeds of the terminals for N times and divides by N to obtain an average speed of the terminals.
In the embodiments of the present disclosure, a terminal may be implemented in various forms. For example, the terminal described in the present disclosure may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a processing device of a terminal track, a wearable device, a smart band, a pedometer, a robot, an unmanned vehicle, and the like, and fixed terminals such as a digital TV (television), a desktop computer, and the like.
In step S320, a first scanning time interval for the terminal is determined according to the velocity of the terminal.
In this step, the server determines a first scanning time interval for the terminal according to the speed of the terminal. In one embodiment, the server determining a first scanning time interval for the terminal based on the velocity of the terminal comprises: determining a first scanning time interval for the terminal according to the average speed of the terminal. In one embodiment, determining a first scanning time interval for the terminal based on the velocity of the terminal comprises: inquiring a speed and scanning time interval comparison table according to the speed of the terminal to obtain a first scanning time interval of the terminal; and different scanning time intervals corresponding to different speeds are added in the speed and scanning time interval comparison table according to actual application or theoretical calculation. In one embodiment, determining a first scanning time interval for the terminal based on the average velocity of the terminal comprises: and inquiring a speed and scanning time interval comparison table according to the average speed of the terminal to acquire a first scanning time interval of the terminal.
In step S330, position points of the terminal at various times are acquired based on the first scanning time interval.
In this step, the server acquires the location points of the terminal at the respective times based on the first scanning time interval.
In step S340, a track of the terminal is obtained according to the position point of the terminal at each time.
In this step, the server acquires the track of the terminal according to the position point of the terminal at each moment.
The method can reduce the frequency of calling the terminal position to reduce the energy consumption of the mobile terminal under the scene of drawing the track of the distributor and on the premise of ensuring the accuracy of a mark point diagram based on a mode of dynamically adjusting the time interval, solves the problems of overlarge energy consumption of the mobile terminal caused by frequently obtaining the geographical position and changes the problem of overlarge processing data pressure of obtaining the geographical position of the distributor at a fixed scanning time interval.
The method can dynamically adjust the scanning time interval of the terminal according to the speed of the terminal, thereby reducing the number of times of scanning and calling the terminal.
When the real-time geographical position of a distributor is dynamically obtained, the current mechanism for obtaining the real-time position of the distributor calls the position of a mobile phone of the distributor at a fixed scanning time interval; calling real-time position data of the distributor at equal time intervals such as every 1s or every 5 s; however, such a fixed and high-frequency calling manner may cause a large energy consumption of the mobile terminal carried by the distributor in the logistics distribution scenario.
In an actual logistics distribution scene, a part of the distribution process of a distributor is driven (taking a truck distributor as an example, the driving speed of a daily road is 36km/h), and the other part of the time is low-speed distribution near a receiver address (assuming that the walking speed of normal people is 5.4 km/h); therefore, the difference between the driving speed and the walking driving speed is larger when the vehicle is driven; however, when the dispatcher walks at a low speed, the difference in distance between the points is not too large if the dispatcher still calls for them at a high frequency.
The accurate driving track of the distributor can be drawn by acquiring data at intervals of 100m, and if the speed of the distributor in the driving process is 36km/h (10m/s), the real-time position of the distributor needs to be acquired at intervals of 10 s; when the walking speed of the dispenser is 5.4km/h (1.5m/s), the interval time can be 66.7 s; this example shows that the trace drawing of the dispenser during low speed driving is less meaningful at high frequency calls.
Fig. 4 shows a schematic diagram of the marking points for acquiring the real-time positions of the dispatchers at regular intervals.
Taking fig. 4 as an example, it is assumed that the current mechanism for obtaining the trajectory of the distributor is obtained every 10s, where points 1, 2, 3, 4, and 5 represent that the distributor is driving at a medium-high speed, and the distance between the points is relatively stable and dispersed; points 5,6,7,8 and 9 represent the closer distance between the low-speed travel (goods are distributed in the building) of the distributor and the points.
Based on the situation, in order to accurately and reasonably acquire the real-time track situation of a delivery person, the main idea of the disclosure is to display the running path of the delivery person more reasonably and reduce the energy consumption of a called terminal in a mode of calling the position in a low-frequency mode in the driving running process of a truck delivery person and in a mode of calling the position in a low-frequency mode in the low-speed running process; the scanning time intervals based on different speed ranges are set as shown in table 1 below.
TABLE 1 corresponding table of average speed and scanning time interval
Average velocity 10m/s-20m/s 8m/s-10m/s 6m/s-8m/s 4m/s-6m/s 2m/s-4m/s 2m/s and below
Time interval 5s 10s 12.5s 16.7s 25s 30s
Table 1 shows a table of average speed and time interval correspondence cited in the present disclosure, and as shown in table 1, assuming that the speed of the dispenser traveling on the road is 20m/s at most, in order to ensure the accuracy of the trajectory drawing, the scanning time interval within the speed range is set to 5 s; in the case of the speed of 2m/s or less, the time interval is not set too large due to the possibility of the distributor to increase the speed by sudden driving, and the set value is close to the time interval value of the speed range of 2m/s to 4m/s, so as to ensure the accuracy of the drawing.
The specific mode is as follows:
(1) setting a corresponding table of average speed and scanning time interval; table 1 above is an example of the above, and shows the corresponding scanning time interval for obtaining the position of the dispenser in a certain speed range;
(2) the real-time position calling of the distributor is carried out at fixed scanning time intervals (the initial preset scanning time interval is assumed to be 5 s); the longitude and latitude of the geographic position of a distributor at the current preset scanning time interval can be acquired in real time;
(3) calculating the distance d between the point where the position of the distributor is obtained each time and the point, and calculating the distance between the point and the point by using the linear distance; the linear distance calculation may depend on the longitude and latitude of the dispenser; the real-time speed v of the distributor can be obtained by dividing the linear distance by the time interval s; namely, it is
Figure BDA0003035946600000111
(4) Take the average speed of the distributor at every five points
Figure BDA0003035946600000112
Will average the speed
Figure BDA0003035946600000113
Corresponding to the average speed and scanning time interval table;
(5) dynamically adjusting the scanning time interval, and acquiring the real-time position of a distributor at the latest scanning time interval; and (5) returning to the step (2) to continue the calculation.
FIG. 5 illustrates an exemplary diagram of a dispatcher's trajectory marker point based on the method of the present disclosure.
Based on the scheme disclosed by the invention, the effect of the graph 5 can be obtained, the frequency of obtaining the real-time trajectory of the distributor is reduced on the basis of ensuring the trajectory of the distributor in the same time, and the number of the drawn points is less than that before; the energy consumption caused by calling the mobile terminal is greatly reduced.
Fig. 6 schematically shows a block diagram of a processing device of a terminal trajectory according to an embodiment of the present disclosure. The processing device 600 for terminal track provided in the embodiment of the present disclosure may be disposed on the server side, or partially disposed on the terminal and partially disposed on the server side, for example, may be disposed on the server 105 in fig. 1, but the present disclosure is not limited thereto.
The processing device 600 for the terminal track provided by the embodiment of the present disclosure may include a first obtaining module 610, a determining module 620, a second obtaining module 630, and a third obtaining module 640.
The first acquisition module is configured to acquire the speed of the terminal; the determining module is configured to determine a first scanning time interval for the terminal according to the velocity of the terminal; the second acquisition module is configured to acquire position points of the terminal at various moments based on the first scanning time interval; the third obtaining module is configured to obtain the track of the terminal according to the position point of the terminal at each moment.
According to the embodiment of the present disclosure, the processing device 600 for the terminal trajectory may dynamically adjust the scanning time interval of the terminal according to the speed of the terminal, so as to reduce the frequency of the scanning call for the terminal.
Fig. 7 schematically shows a block diagram of a processing device 700 of a terminal trajectory according to another embodiment of the present invention.
As shown in fig. 7, in addition to the first acquiring module 610, the determining module 620, the second acquiring module 630 and the third acquiring module 640 described in the embodiment of fig. 6, the processing apparatus 700 of the terminal track further includes a display module 710.
Specifically, the display module 710 displays the trajectory of the distributor carrying the terminal to the client or the staff after the third obtaining module 640 obtains the trajectory of the terminal according to the position point of the terminal at each time.
In the terminal trajectory processing device 700, the trajectory of the dispenser carrying the terminal can be displayed by the display module 710.
Fig. 8 schematically shows a block diagram of a processing device 800 of a terminal trajectory according to another embodiment of the present invention.
As shown in fig. 8, in addition to the first acquiring module 610, the determining module 620, the second acquiring module 630 and the third acquiring module 640 described in the embodiment of fig. 6, the processing apparatus 800 of the terminal track further includes a storage module 810.
Specifically, the storage module 810 is configured to store data in the processing process of the terminal track, so as to facilitate subsequent invocation and reference.
It is understood that the first obtaining module 610, the determining module 620, the second obtaining module 630, the third obtaining module 640, the displaying module 710 and the storing module 810 may be combined to be implemented in one module, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the first obtaining module 610, the determining module 620, the second obtaining module 630, the third obtaining module 640, the displaying module 710 and the storing module 810 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in a suitable combination of three implementations of software, hardware and firmware. Alternatively, at least one of the first obtaining module 610, the determining module 620, the second obtaining module 630, the third obtaining module 640, the displaying module 710 and the storing module 810 may be at least partially implemented as a computer program module, which may perform the functions of the respective modules when the program is executed by a computer.
It should be noted that although several modules, units and sub-units of the apparatus for action execution are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules, units and sub-units described above may be embodied in one module, unit and sub-unit, in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module, unit and sub-unit described above may be further divided into embodiments by a plurality of modules, units and sub-units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method for processing a terminal track is characterized by comprising the following steps:
acquiring the speed of a terminal;
determining a first scanning time interval for the terminal according to the speed of the terminal;
acquiring position points of the terminal at all moments based on the first scanning time interval;
and acquiring the track of the terminal according to the position points of the terminal at each moment.
2. The method of claim 1, wherein obtaining the velocity of the terminal comprises:
acquiring the real-time speed of the terminal for N times, wherein N is a natural number more than or equal to 2;
summing the real-time velocities of the terminal N times and dividing by N to obtain an average velocity of the terminal.
3. The method of claim 2, wherein determining the first scan interval for the terminal based on the velocity of the terminal comprises:
determining a first scanning time interval for the terminal according to the average speed of the terminal.
4. The method of claim 1, wherein obtaining the velocity of the terminal comprises:
acquiring longitude and latitude of a position point of the terminal at the start and the end of a preset scanning time interval;
acquiring the linear distance between the initial position point and the final position point according to the longitude and latitude of the initial position point and the final position point of the terminal at the preset scanning time interval;
and dividing the linear distance between the position points of the terminal at the beginning and the end of the preset scanning time interval by the preset scanning time interval to obtain the real-time speed of the terminal at the preset scanning time interval.
5. The method of claim 1, wherein determining the first scan interval for the terminal based on the velocity of the terminal comprises:
inquiring a speed and scanning time interval comparison table according to the speed of the terminal to obtain a first scanning time interval of the terminal;
and different scanning time intervals corresponding to different speeds are added in the speed and scanning time interval comparison table according to actual application or theoretical calculation.
6. The method of claim 1, further comprising:
and presetting a preset scanning time interval for the terminal at the initial stage of acquiring the track of the terminal.
7. An apparatus for processing a terminal track, comprising:
the first acquisition module is configured to acquire the speed of the terminal;
a determining module configured to determine a first scanning time interval for the terminal according to a velocity of the terminal;
a second acquisition module configured to acquire position points of the terminal at various times based on the first scanning time interval;
and the third acquisition module is configured to acquire the track of the terminal according to the position point of the terminal at each moment.
8. An electronic device, comprising:
one or more processors;
a storage device configured to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-6.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN202110443330.8A 2021-04-23 2021-04-23 Terminal track processing method and related equipment Pending CN113128934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110443330.8A CN113128934A (en) 2021-04-23 2021-04-23 Terminal track processing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110443330.8A CN113128934A (en) 2021-04-23 2021-04-23 Terminal track processing method and related equipment

Publications (1)

Publication Number Publication Date
CN113128934A true CN113128934A (en) 2021-07-16

Family

ID=76779689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110443330.8A Pending CN113128934A (en) 2021-04-23 2021-04-23 Terminal track processing method and related equipment

Country Status (1)

Country Link
CN (1) CN113128934A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114118327A (en) * 2021-12-03 2022-03-01 中国建设银行股份有限公司 Method, apparatus, device and medium for determining moving direction of article

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995593A (en) * 2014-05-22 2014-08-20 无锡爱维特信息技术有限公司 Dynamic position data uploading method based on acceleration action sensor
CN104076379A (en) * 2014-07-01 2014-10-01 山东航向电子科技有限公司 Transmissibility-adaptive intelligent electricity-saving 4G locating and tracking device and method
CN106441276A (en) * 2016-09-26 2017-02-22 维沃移动通信有限公司 Movement trajectory generation method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995593A (en) * 2014-05-22 2014-08-20 无锡爱维特信息技术有限公司 Dynamic position data uploading method based on acceleration action sensor
CN104076379A (en) * 2014-07-01 2014-10-01 山东航向电子科技有限公司 Transmissibility-adaptive intelligent electricity-saving 4G locating and tracking device and method
CN106441276A (en) * 2016-09-26 2017-02-22 维沃移动通信有限公司 Movement trajectory generation method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114118327A (en) * 2021-12-03 2022-03-01 中国建设银行股份有限公司 Method, apparatus, device and medium for determining moving direction of article

Similar Documents

Publication Publication Date Title
US12062116B2 (en) Image processing method and apparatus, readable medium and electronic device
CN111399729A (en) Image drawing method and device, readable medium and electronic equipment
CN111598902B (en) Image segmentation method, device, electronic equipment and computer readable medium
CN110765354A (en) Information pushing method and device, electronic equipment and storage medium
CN114494298A (en) Object segmentation method, device, equipment and storage medium
CN112418232B (en) Image segmentation method and device, readable medium and electronic equipment
CN111127603B (en) Animation generation method and device, electronic equipment and computer readable storage medium
CN111098842B (en) Vehicle speed control method and related equipment
CN110321854B (en) Method and apparatus for detecting target object
CN113128934A (en) Terminal track processing method and related equipment
CN113380037B (en) Traffic information acquisition method and device
CN112395089A (en) Cloud heterogeneous computing method and device
CN113804196B (en) Unmanned vehicle path planning method and related equipment
CN114723600A (en) Method, device, equipment, storage medium and program product for generating cosmetic special effect
CN113761086A (en) Method and device for displaying track of automatic guided transport vehicle
CN110728478A (en) Method and device for generating information
CN110351713B (en) Method and device for processing information
CN113242397B (en) Frame rate adjusting method, device and equipment
CN116700874A (en) Asynchronous rendering method, device, equipment and storage medium
CN113253906B (en) Input data processing method, device and equipment
CN112733053B (en) Page detection method, page detection device, electronic equipment and computer readable medium
CN111783390B (en) Dimension label adjusting method and device and electronic equipment
CN114266992B (en) Target detection method and device and electronic equipment
CN114596707B (en) Traffic control method, traffic control device, traffic control equipment, traffic control system and traffic control medium
CN118195455A (en) Information processing method and device

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