CN110411473A - A kind of determining method and apparatus of distance - Google Patents

A kind of determining method and apparatus of distance Download PDF

Info

Publication number
CN110411473A
CN110411473A CN201910554808.7A CN201910554808A CN110411473A CN 110411473 A CN110411473 A CN 110411473A CN 201910554808 A CN201910554808 A CN 201910554808A CN 110411473 A CN110411473 A CN 110411473A
Authority
CN
China
Prior art keywords
information
trailer
distance
location information
case
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
CN201910554808.7A
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.)
Shenzhen Star Train Technology Co Ltd
Original Assignee
Shenzhen Star Train 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 Shenzhen Star Train Technology Co Ltd filed Critical Shenzhen Star Train Technology Co Ltd
Priority to CN201910554808.7A priority Critical patent/CN110411473A/en
Publication of CN110411473A publication Critical patent/CN110411473A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present invention provides a kind of determining method and apparatus of distance, and this method is applied to trailer, this method comprises: passing through the Oscillation Amplitude that vibrating sensor detects trailer in the case where trailer is not connected with power supply;In the case where Oscillation Amplitude is greater than threshold value, the first information of trailer is obtained;The first information is sent to server.Implement the embodiment of the present invention, can determine the operating range of trailer.

Description

A kind of determining method and apparatus of distance
Technical field
The present invention relates to trailer technical fields, and in particular to a kind of determining method and apparatus of distance.
Background technique
Trailer is the vehicle for being not provided with driving device, needs that automobile, lorry, tractor etc. are provided with driving device Driving vehicle could form complete means of transport together.In order to count the operating range of trailer, need trailer on server Report trailer drive at what time where.However, existing trailer need to drive vehicle to power in the case where in ability It notifies breath.But many times trailer and driving vehicle are from different company, therefore, it is impossible between trailer and driving vehicle Fixed power supply line is set, so that trailer can not report information, thus nothing in the case where driving vehicle is not trailer power supply Method determines the operating range of trailer.
Summary of the invention
The embodiment of the present invention provides a kind of determining method and apparatus of distance, for determining the operating range of trailer.
First aspect provides a kind of determining method of distance, and the method is applied to trailer, comprising:
In the case where the trailer is not connected with power supply, the Oscillation Amplitude of the trailer is detected by vibrating sensor;
In the case where the Oscillation Amplitude is greater than threshold value, the first information of the trailer is obtained;
The first information is sent to server.
As a kind of possible embodiment, the first information includes temporal information and location information.
As a kind of possible embodiment, the method also includes:
In the case where the trailer connects power supply, the second information of the trailer is obtained;
Second information is sent to server.
As a kind of possible embodiment, the method also includes:
In the case where current time is preset time, the third information of the trailer is obtained;
The third information is sent to server.
Second aspect provides a kind of determining method of distance, and the method is applied to server, comprising:
Receive the information from trailer, the information includes first time information, the first time information corresponding the One location information, the second temporal information and the corresponding second location information of second temporal information, the first time letter Breath two temporal informations adjacent with the temporal information that second temporal information is that the information includes;
The camber line distance between the first coordinate points and the second coordinate points is calculated, first coordinate points are the first position Point in the corresponding terrestrial coordinate system of information, second coordinate points are in the corresponding terrestrial coordinate system of the second location information Point;
In the case where the arcuate distance is not more than threshold value, determine that the arcuate distance is the trailer described first Operating range between temporal information and second temporal information;
In the case where the arcuate distance is greater than the threshold value, according to the first location information, the second position Information and history driving trace determine traveling of the trailer between the first time information and second temporal information Distance.
As a kind of possible embodiment, described according to the first location information, the second location information and to go through History driving trace determines operating range packet of the trailer between the first time information and second temporal information It includes:
From all travelings chosen in history driving trace between the first location information and the second location information Path;
The most driving path of access times in the driving path of selection is determined as the trailer in the first position Driving path between information and the second location information;
Calculate the length of determining driving path.
The third aspect provides a kind of trailer, provides including any embodiment for executing first aspect or first aspect Distance determines the unit of method.
Fourth aspect provides a kind of server, provides including any embodiment for executing second aspect or second aspect Distance determine the unit of method.
5th aspect provides a kind of trailer, including processor, memory and transceiver, the processor, the memory It is connected with each other with the transceiver, for the transceiver for receiving and sending messages, the memory is described for storing computer program Computer program includes program instruction, and the processor is used to call described program instruction execution first aspect or first aspect The distance that any embodiment provides determines method.
6th aspect provides a kind of server, including processor, memory and transceiver, the processor, the storage Device and the transceiver are connected with each other, and the transceiver is for receiving and sending messages, and the memory is for storing computer program, institute Stating computer program includes program instruction, and the processor is for calling described program instruction execution second aspect or second aspect Any embodiment provide distance determine method.
7th aspect provides a kind of readable storage medium storing program for executing, and the readable storage medium storing program for executing is stored with computer program, described Computer program includes program instruction, described program instruction make when being executed by a processor the processor execute first aspect or The distance that any embodiment of first aspect provides determines method, or the processor is made to execute second aspect or second aspect Any embodiment provide distance determine method.
Eighth aspect provides a kind of application program, and the application program for executing first aspect or first party at runtime The distance that any embodiment in face provides determines method, or any for making the processor execute second aspect or second aspect The distance that embodiment provides determines method.
In the embodiment of the present invention, in the case where trailer is not connected with power supply, trailer detects trailer by vibrating sensor Oscillation Amplitude be greater than threshold value in the case where, obtain the first information of trailer, to server send the first information.As it can be seen that hanging In the case that vehicle is not connected with power supply, trailer can also report information to server, so that server can be used what trailer reported Information determines the operating range of trailer.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of network architecture diagram provided in an embodiment of the present invention;
Fig. 2 is the flow diagram that a kind of distance provided in an embodiment of the present invention determines method;
Fig. 3 is the flow diagram that another distance provided in an embodiment of the present invention determines method;
Fig. 4 is the flow diagram that another distance provided in an embodiment of the present invention determines method;
Fig. 5 is a kind of structural schematic diagram of trailer provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another trailer provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of determining method and apparatus of distance, for determining the operating range of trailer.Divide below It is not described in detail.
Referring to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram provided in an embodiment of the present invention.As shown in Figure 1, the network Framework may include trailer 101 and server 102.Pass through wireless network connection between trailer 101 and server 102.Trailer 101, for acquiring information, and the information to the transmission acquisition of server 102.Server 102 comes from trailer 101 for receiving Information, according to the information of the Information Statistics trailer 101.
Based on the network architecture shown in FIG. 1, referring to Fig. 2, Fig. 2 is a kind of distance determination side provided in an embodiment of the present invention The flow diagram of method.Wherein, which determines that method is applied to trailer.As shown in Fig. 2, the distance determines that method may include Following steps.
201, in the case where trailer is not connected with power supply, trailer detects the Oscillation Amplitude of trailer by vibrating sensor.
It is provided with vibrating sensor on trailer, in the case where trailer is not connected with power supply, can be examined by vibrating sensor Survey the Oscillation Amplitude of trailer.
202, in the case where Oscillation Amplitude is greater than threshold value, trailer obtains the first information of trailer.
The Oscillation Amplitude of vibrating sensor detection trailer does not need consumption electricity, therefore, is detected by vibrating sensor The Oscillation Amplitude of trailer can monitor the service condition of trailer in the case where saving electric energy.In the vibration width for detecting trailer In the case that degree is greater than threshold value, show that trailer is currently being used, vibrating sensor can export a wake-up signal, wake-up letter The work of the devices such as the processor on trailer in addition to vibrating sensor number can be waken up, obtains the first information of trailer later.The One information may include temporal information and location information.Temporal information may include time and date, can obtain from network, It can also be obtained from local acquisition from other equipment.Location information may include latitude and longitude information etc., can pass through the whole world The geographical locations acquisition device such as status system (global positioning system, GPS) obtain.In addition, the first information is also It may include velocity information etc..
203, trailer sends the first information to server.
After trailer gets the first information of trailer, the first information can be sent to server.Trailer and service before It needs to establish communication connection between device.Can the Oscillation Amplitude that trailer is detected by vibrating sensor be greater than threshold value when, to Server sends connection and establishes request, receives the connection establishment response from server and shows that communication connection has been established later At can communicate between trailer and server.
The distance described in Fig. 2 determines in method that, in the case where trailer is not connected with power supply, trailer passes through vibrating sensing In the case that device detects that the Oscillation Amplitude of trailer is greater than threshold value, the first information of trailer is obtained, sends the first letter to server Breath.As it can be seen that in the case where trailer is not connected with power supply, trailer can also report information to server, so that server can make The operating range of trailer is determined with the information that trailer reports.
Based on the network architecture shown in FIG. 1, referring to Fig. 3, Fig. 3 is that another distance provided in an embodiment of the present invention determines The flow diagram of method.Wherein, which determines that method is applied to trailer.As shown in figure 3, the distance determines that method can wrap Include following steps.
301, in the case where trailer is not connected with power supply, trailer detects the Oscillation Amplitude of trailer by vibrating sensor.
It is provided with vibrating sensor on trailer, in the case where trailer is not connected with power supply, can be examined by vibrating sensor Survey the Oscillation Amplitude of trailer.
302, in the case where Oscillation Amplitude is greater than threshold value, trailer obtains the first information of trailer.
The Oscillation Amplitude of vibrating sensor detection trailer does not need consumption electricity, therefore, is detected by vibrating sensor The Oscillation Amplitude of trailer can monitor the service condition of trailer in the case where saving electric energy.In the vibration width for detecting trailer In the case that degree is greater than threshold value, show that trailer is currently being used, vibrating sensor can export a wake-up signal, wake-up letter The work of the devices such as the processor on trailer in addition to vibrating sensor number can be waken up, obtains the first information of trailer later.The One information may include temporal information and location information.Temporal information may include time and date, can obtain from network, It can also be obtained from local acquisition from other equipment.Location information may include latitude and longitude information etc., can pass through the whole world The geographical locations acquisition device such as status system (global positioning system, GPS) obtain.In addition, the first information is also It may include velocity information etc..
303, trailer sends the first information to server.
After trailer gets the first information of trailer, the first information can be sent to server.Trailer and service before It needs to establish communication connection between device.Can the Oscillation Amplitude that trailer is detected by vibrating sensor be greater than threshold value when, to Server sends connection and establishes request, receives the connection establishment response from server and shows that communication connection has been established later At can communicate between trailer and server.
304, in the case where trailer connects power supply, trailer obtains the second information of trailer.
In the case where trailer connects power supply, trailer can periodically obtain the second information of trailer.Second information can With the description with reference to the first information.Period can be 20s, or other time is not limited thereto.
305, trailer sends the second information to server.
306, in the case where current time is preset time, trailer obtains the third information of trailer.
307, trailer sends third information to server.
Trailer can also obtain the third information of trailer in the daily set time, and send third to server and believe Breath.No matter whether trailer it is available and report connect power supply at this time.
The distance described in Fig. 3 determines in method that, in the case where trailer is not connected with power supply, trailer passes through vibrating sensing In the case that device detects that the Oscillation Amplitude of trailer is greater than threshold value, the first information of trailer is obtained, sends the first letter to server Breath.As it can be seen that in the case where trailer is not connected with power supply, trailer can also report information to server, so that server can make The operating range of trailer is determined with the information that trailer reports.
Based on the network architecture shown in FIG. 1, referring to Fig. 4, Fig. 4 is that another distance provided in an embodiment of the present invention determines The flow diagram of method.Wherein, which determines that method is applied to server.As shown in figure 4, the distance determines that method can be with Include the following steps.
401, server receives the information from trailer.
The information may include temporal information and location information.Temporal information may include time and date.Location information It may include latitude and longitude information etc..In addition, the information can also be including velocity information etc..
402, server calculates the camber line distance between the first coordinate points and the second coordinate points.
After server receives the information from trailer, the arc between the first coordinate points and the second coordinate points can be calculated Linear distance.First coordinate points can be the point in the corresponding terrestrial coordinate system of first location information, i.e., first location information is on ground Point in spherical coordinate system, the second coordinate points can be the point in the corresponding terrestrial coordinate system of second location information.First coordinate points The calculation formula of camber line distance between the second coordinate points can be such that
C=(lngB-lngA) × π × R × Cos (× π/180 ((latA+latB)/2))/18
Wherein, A is the first coordinate points, and B is the second coordinate points, and camber line distance of the C between A and B, lngA is the longitude of A, LngB is the longitude of B, and latA is the latitude of A, and latB is the latitude of B, and R is the radius of the earth.
403, server judges whether arcuate distance is greater than threshold value, is judging the case where arcuate distance is no more than threshold value Under, step 404 is executed, in the case where judging that arcuate distance is greater than threshold value, executes step 405.
Server calculate the camber line between the first coordinate points and the second coordinate points distance after, it can be determined that the radian away from From whether threshold value is greater than, in the case where judging arcuate distance no more than threshold value, execute step 404, judge radian away from In the case where being greater than threshold value, step 405 is executed.
404, server determine arcuate distance be traveling of the trailer between first time information and the second temporal information away from From.
In the case where judging arcuate distance no more than threshold value, show between first time information and the second temporal information Operating range it is smaller, more accurate using above method calculated distance, therefore, server can determine arcuate distance The operating range for being trailer between first time information and the second temporal information.
405, server determines trailer first according to first location information, second location information and history driving trace Operating range between temporal information and the second temporal information.
In the case where judging that arcuate distance is greater than threshold value, show between first time information and the second temporal information Operating range is larger, and using above method calculated distance inaccuracy, therefore, server can be believed according to first position Breath, second location information and history driving trace, determine traveling of the trailer between first time information and the second temporal information Distance.Can first from all driving paths chosen in history driving trace between first location information and second location information, The most driving path of access times in the driving path of selection is determined as the trailer in first location information and the second position Driving path between information calculates the length of determining driving path later.History driving trace can be all of storage The history driving trace of trailer.The length that determining driving path can be calculated by electronic map, can also pass through other Mode calculates the length of determining driving path, is not limited thereto.
The distance described in Fig. 4 determines in method, two it is adjacent report time interval shorter in the case where, server Can directly according to the information that trailer reports determine trailer in the operating range of this section, two it is adjacent report time interval compared with In the case where length, it can be hung according to the driving trace of this section of history driving trace completion trailer so as to accurately determine The operating range of vehicle.
Based on the network architecture shown in FIG. 1, referring to Fig. 5, Fig. 5 is a kind of structure of trailer provided in an embodiment of the present invention Schematic diagram.As shown in figure 5, the trailer may include:
Detection unit 501, for detecting the vibration of trailer by vibrating sensor in the case where trailer is not connected with power supply Amplitude;
Acquiring unit 502, for obtaining the first information of trailer in the case where Oscillation Amplitude is greater than threshold value;
Transmission unit 503, for sending the first information to server.
In one embodiment, the first information may include temporal information and location information.
In one embodiment, acquiring unit 502 are also used to obtain the of trailer in the case where trailer connects power supply Two information;
Transmission unit 503 is also used to send the second information to server.
In one embodiment, acquiring unit 502 are also used to obtain and hang in the case where current time is preset time The third information of vehicle;
Transmission unit 503 is also used to send third information to server.
It can directly be referred in relation to above-mentioned detection unit 501, acquiring unit 502 and transmission unit 503 more detailed description Associated description in above-mentioned Fig. 2-embodiment of the method shown in Fig. 3 directly obtains, and is not added repeats here.
Based on the network architecture shown in FIG. 1, referring to Fig. 6, Fig. 6 is the knot of another trailer provided in an embodiment of the present invention Structure schematic diagram.As shown in fig. 6, the data processing equipment may include processor 601, memory 602, vibrating sensor 603, receive Send out device 604 and bus 605.Processor 601 can be a general central processor (CPU) or multiple CPU, monolithic or muti-piece figure Shape processor (GPU), microprocessor, application-specific integrated circuit (application-specific integrated Circuit, ASIC), or it is one or more for controlling the integrated circuit of the present invention program program execution.Memory 602 can be with It is read-only memory (read-only memory, ROM) or the other kinds of static storage that static information and instruction can be stored Equipment, random access memory (random access memory, RAM) or can store the other kinds of of information and instruction Dynamic memory is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc Deng), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or storing that there is instruction or data structure shape The desired program code of formula and can by any other medium of computer access, but not limited to this.Memory 602 can be It is individually present, bus 605 is connected with processor 601.Memory 602 can also be integrated with processor 601.Bus 605 transmit information between said modules.Wherein:
Vibrating sensor 603, for detecting the Oscillation Amplitude of trailer in the case where trailer is not connected with power supply;
Batch processing code is stored in memory 602, processor 601 is for calling the program stored in memory 602 Code executes following operation:
In the case where Oscillation Amplitude is greater than threshold value, the first information of trailer is obtained;
Transceiver 604, for sending the first information to server.
In one embodiment, the first information may include temporal information and location information.
In one embodiment, processor 601 is also used to that the program code stored in memory 602 is called to execute following behaviour Make:
In the case where trailer connects power supply, the second information of trailer is obtained;
Transceiver 604 is also used to send the second information to server.
In one embodiment, processor 601 is also used to that the program code stored in memory 602 is called to execute following behaviour Make:
In the case where current time is preset time, the third information of trailer is obtained;
Transceiver 604 is also used to send third information to server.
Wherein, step 201 and step 301 can be executed by the vibrating sensor 603 in trailer, step 202, step 302, step 304 and step 306 can by trailer processor 601 and memory 602 execute, step 203, step 303, Step 305 and step 307 can be executed by the transceiver 604 in trailer.
Wherein, detection unit 501 can be realized that acquiring unit 502 can be by hanging by the vibrating sensor 603 in trailer Processor 601 and memory 602 in vehicle realize that transmission unit 503 can be realized by the transceiver 604 in trailer.
Above-mentioned trailer can be also used for executing the various methods executed in preceding method embodiment, repeat no more.
Based on the network architecture shown in FIG. 1, referring to Fig. 7, Fig. 7 is a kind of knot of server provided in an embodiment of the present invention Structure schematic diagram.As shown in fig. 7, the server may include:
Receiving unit 701, for receiving the information from trailer, which includes first time information, believes at the first time Corresponding first location information, the second temporal information and the corresponding second location information of the second temporal information are ceased, at the first time Two adjacent temporal informations in the temporal information that information and the second temporal information include for the information;
Computing unit 702, for calculating the camber line distance between the first coordinate points and the second coordinate points, the first coordinate points are Point in the corresponding terrestrial coordinate system of first location information, the second coordinate points are in the corresponding terrestrial coordinate system of second location information Point;
Determination unit 703, in the case where the arcuate distance is not more than threshold value, determining that the arcuate distance is that trailer exists Operating range between first time information and the second temporal information;
Determination unit 703 is also used in the case where the arcuate distance is greater than threshold value, according to first location information, second Location information and history driving trace determine operating range of the trailer between first time information and the second temporal information.
In one embodiment, determination unit 703 travels rail according to first location information, second location information and history Mark determines that operating range of the trailer between first time information and the second temporal information includes:
From all driving paths chosen in history driving trace between first location information and second location information;
The most driving path of access times in the driving path of selection is determined as trailer in first location information and the Driving path between two location informations;
Calculate the length of determining driving path.
It can directly be referred in relation to above-mentioned receiving unit 701, determination unit 703 and determination unit 703 more detailed description Associated description in above-mentioned embodiment of the method shown in Fig. 4 directly obtains, and is not added repeats here.
Based on the network architecture shown in FIG. 1, referring to Fig. 8, Fig. 8 is another server provided in an embodiment of the present invention Structural schematic diagram.As shown in figure 8, the data processing equipment may include processor 801, memory 802, transceiver 803 and total Line 804.Processor 801 can be a general central processor (CPU) or multiple CPU, monolithic or muti-piece graphics processor (GPU), microprocessor, ASIC, or it is one or more for controlling the integrated circuit of the present invention program program execution.Memory 802 can be ROM or can store the other kinds of static storage device of static information and instruction, RAM or can store information With the other kinds of dynamic memory of instruction, it is also possible to EEPROM, CD-ROM or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storages Equipment or can be used in carry or store have instruction or data structure form desired program code and can be by calculating Any other medium of machine access, but not limited to this.Memory 802, which can be, to be individually present, bus 804 and 801 phase of processor Connection.Memory 802 can also be integrated with processor 801.Bus 804 transmits information between said modules.Wherein:
Transceiver 803, for receiving the information from trailer, which includes first time information, first time information Corresponding first location information, the second temporal information and the corresponding second location information of the second temporal information are believed at the first time Breath two temporal informations adjacent with the temporal information that the second temporal information is that the information includes;
Batch processing code is stored in memory 802, processor 801 is for calling the program stored in memory 802 Code executes following operation:
The camber line distance between the first coordinate points and the second coordinate points is calculated, the first coordinate points are corresponding for first location information Terrestrial coordinate system in point, the second coordinate points be the corresponding terrestrial coordinate system of second location information in point;
In the case where the arcuate distance is not more than threshold value, determine that the arcuate distance is trailer in first time information and the Operating range between two temporal informations;
In the case where the arcuate distance is greater than threshold value, travelled according to first location information, second location information and history Track determines operating range of the trailer between first time information and the second temporal information.
In one embodiment, processor 801 is according to first location information, second location information and history driving trace, Determine that operating range of the trailer between first time information and the second temporal information includes:
From all driving paths chosen in history driving trace between first location information and second location information;
The most driving path of access times in the driving path of selection is determined as trailer in first location information and the Driving path between two location informations;
Calculate the length of determining driving path.
Wherein, step 401 can by server processor 801 and memory 802 execute, step 402- step 405 can be executed by the transceiver 803 in trailer.
Wherein, computing unit 702 and determination unit 703 can by server processor 801 and memory 802 real Existing, receiving unit 701 can be realized by the transceiver 803 in server.
Above-mentioned server can be also used for executing the various methods executed in preceding method embodiment, repeat no more.
A kind of readable storage medium storing program for executing is provided in one embodiment, which is used to store application program, Application program determines method for executing the distance of Fig. 2-Fig. 3 at runtime.
A kind of application program is provided in one embodiment, and the application program for executing Fig. 2-Fig. 4's at runtime Distance determines method.
The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of distance determines method, which is characterized in that the method is applied to trailer, comprising:
In the case where the trailer is not connected with power supply, the Oscillation Amplitude of the trailer is detected by vibrating sensor;
In the case where the Oscillation Amplitude is greater than threshold value, the first information of the trailer is obtained;
The first information is sent to server.
2. the method according to claim 1, wherein the first information includes temporal information and location information.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
In the case where the trailer connects power supply, the second information of the trailer is obtained;
Second information is sent to server.
4. method according to claim 1-3, which is characterized in that the method also includes:
In the case where current time is preset time, the third information of the trailer is obtained;
The third information is sent to server.
5. a kind of distance determines method, which is characterized in that the method is applied to server, comprising:
The information from trailer is received, the information includes that first time information, the first time information are first corresponding Confidence breath, the second temporal information and the corresponding second location information of second temporal information, the first time information with Two adjacent temporal informations in the temporal information that second temporal information includes for the information;
The camber line distance between the first coordinate points and the second coordinate points is calculated, first coordinate points are the first location information Point in corresponding terrestrial coordinate system, second coordinate points are in the corresponding terrestrial coordinate system of the second location information Point;
In the case where the arcuate distance is not more than threshold value, determine that the arcuate distance is the trailer in the first time Operating range between information and second temporal information;
In the case where the arcuate distance is greater than the threshold value, according to the first location information, the second location information With history driving trace, determine traveling of the trailer between the first time information and second temporal information away from From.
6. according to the method described in claim 5, it is characterized in that, described according to the first location information, the second Confidence breath and history driving trace, determine row of the trailer between the first time information and second temporal information Sailing distance includes:
From all driving paths chosen in history driving trace between the first location information and the second location information;
The most driving path of access times in the driving path of selection is determined as the trailer in the first location information With the driving path between the second location information;
Calculate the length of determining driving path.
7. a kind of trailer characterized by comprising
Detection unit, for detecting the vibration of the trailer by vibrating sensor in the case where the trailer is not connected with power supply Dynamic amplitude;
Acquiring unit, for obtaining the first information of the trailer in the case where the Oscillation Amplitude is greater than threshold value;
Transmission unit, for sending the first information to server.
8. a kind of server characterized by comprising
Receiving unit, for receiving the information from trailer, the information includes first time information, the first time information Corresponding first location information, the second temporal information and the corresponding second location information of second temporal information, described Two adjacent temporal informations in the temporal information that one temporal information and second temporal information include for the information;
Computing unit, for calculating the camber line distance between the first coordinate points and the second coordinate points, first coordinate points are institute State the point in the corresponding terrestrial coordinate system of first location information, second coordinate points be the second location information correspondingly Point in spherical coordinate system;
Determination unit, in the case where the arcuate distance is not more than threshold value, determining that the arcuate distance is the trailer Operating range between the first time information and second temporal information;
The determination unit is also used to be believed in the case where the arcuate distance is greater than the threshold value according to the first position Breath, the second location information and history driving trace determine the trailer when the first time information is with described second Between operating range between information.
9. a kind of apart from determining device, which is characterized in that including processor, memory and transceiver, the processor described is deposited Reservoir and the transceiver are connected with each other, and for receiving and sending messages, the memory is used to store computer program the transceiver, The computer program includes program instruction, and the processor is for calling described program instruction execution such as claim 1-7 to appoint Distance described in one determines method.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, the computer program packet Program instruction is included, described program instruction executes the processor such as any one of claim 1-7 institute The distance stated determines method.
CN201910554808.7A 2019-06-25 2019-06-25 A kind of determining method and apparatus of distance Pending CN110411473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910554808.7A CN110411473A (en) 2019-06-25 2019-06-25 A kind of determining method and apparatus of distance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910554808.7A CN110411473A (en) 2019-06-25 2019-06-25 A kind of determining method and apparatus of distance

Publications (1)

Publication Number Publication Date
CN110411473A true CN110411473A (en) 2019-11-05

Family

ID=68359798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910554808.7A Pending CN110411473A (en) 2019-06-25 2019-06-25 A kind of determining method and apparatus of distance

Country Status (1)

Country Link
CN (1) CN110411473A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111077544A (en) * 2019-12-09 2020-04-28 深圳市星火车联科技有限公司 Positioning method and maintenance method of trailer and related devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070057779A1 (en) * 2005-09-12 2007-03-15 Rich Battista System and method for adaptive motion sensing with location determination
CN102401904A (en) * 2010-09-14 2012-04-04 基信康信息技术(上海)有限公司 Positioning, tracking and monitoring apparatus and method thereof
CN103808326A (en) * 2012-11-07 2014-05-21 腾讯科技(深圳)有限公司 Navigation method and navigation system
CN104506345A (en) * 2014-12-08 2015-04-08 深圳市普天宜通技术有限公司 Self-adaptive method and self-adaptive system for reporting position information at intervals
CN106289291A (en) * 2016-07-26 2017-01-04 北京奇虎科技有限公司 The recommendation method and apparatus of navigation way

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070057779A1 (en) * 2005-09-12 2007-03-15 Rich Battista System and method for adaptive motion sensing with location determination
CN102401904A (en) * 2010-09-14 2012-04-04 基信康信息技术(上海)有限公司 Positioning, tracking and monitoring apparatus and method thereof
CN103808326A (en) * 2012-11-07 2014-05-21 腾讯科技(深圳)有限公司 Navigation method and navigation system
CN104506345A (en) * 2014-12-08 2015-04-08 深圳市普天宜通技术有限公司 Self-adaptive method and self-adaptive system for reporting position information at intervals
CN106289291A (en) * 2016-07-26 2017-01-04 北京奇虎科技有限公司 The recommendation method and apparatus of navigation way

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111077544A (en) * 2019-12-09 2020-04-28 深圳市星火车联科技有限公司 Positioning method and maintenance method of trailer and related devices
CN111077544B (en) * 2019-12-09 2020-11-17 深圳市星火车联科技有限公司 Positioning method and maintenance method of trailer and related devices

Similar Documents

Publication Publication Date Title
CN106104652B (en) Congestion decision maker, congestion determination method, congestion decision procedure, terminal installation, congestion information display methods and congestion information show program
JP2015141073A (en) Position measurement method, self-position measurement device and on-vehicle device
Jose et al. Intelligent vehicle monitoring using global positioning system and cloud computing
JP6515495B2 (en) Telematics system
CN105424050B (en) A kind of method and apparatus of determining vehicle running path
CN105424051B (en) A kind of method and apparatus of determining vehicle running path
CN103186981B (en) A kind of accurate command dispatching system of large-scale guard duty and method
CN104075729A (en) Method, device and terminal device for displaying electronic map
CN107289925A (en) A kind of method and apparatus for drawing user trajectory
WO2019104206A1 (en) Real-time service provider progress monitoring
CN106546236B (en) Based on architecture structure drawing from the offshore platform personnel positioning navigation system of host computer
CN110234063A (en) Indoor orientation method based on UWB
US20230194274A1 (en) Using Radio Frequency Signal Strength to Improve Route Options in a Navigation Service
CN106875675A (en) A kind of quick identification slag-soil truck deviates the detecting system and method for traveling
CN108351220A (en) The polymerization of lane information for numerical map service
CN106219416A (en) A kind of double lifting rope section construction crane machines utilizing GNSS technology
CN106017484A (en) Track path data collecting and fitting method
JPWO2020138465A1 (en) Vehicles and diagnostic systems for vehicles
CN110411473A (en) A kind of determining method and apparatus of distance
CN109484102A (en) A kind of vehicle tyre monitoring system and monitoring method
CN106918825A (en) A kind of connecting method of track, client
CN203084791U (en) Driving recording system
CN113687396A (en) Positioning processing method and device, positioning equipment, vehicle and storage medium
CN108648440A (en) Vehicle scheduling platform based on car networking monitoring
CN109996281A (en) Signal strength test method, apparatus, computer equipment and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191105