CN112448791B - Method, device, storage medium and device for transmitting positioning data - Google Patents

Method, device, storage medium and device for transmitting positioning data Download PDF

Info

Publication number
CN112448791B
CN112448791B CN202011206780.7A CN202011206780A CN112448791B CN 112448791 B CN112448791 B CN 112448791B CN 202011206780 A CN202011206780 A CN 202011206780A CN 112448791 B CN112448791 B CN 112448791B
Authority
CN
China
Prior art keywords
data
positioning
positioning data
instruction
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011206780.7A
Other languages
Chinese (zh)
Other versions
CN112448791A (en
Inventor
关泽强
吴平安
周虎盟
张宇
范祯科
贾宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Jianghuai Automobile Group Corp
Original Assignee
Anhui Jianghuai Automobile Group Corp
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 Anhui Jianghuai Automobile Group Corp filed Critical Anhui Jianghuai Automobile Group Corp
Priority to CN202011206780.7A priority Critical patent/CN112448791B/en
Publication of CN112448791A publication Critical patent/CN112448791A/en
Application granted granted Critical
Publication of CN112448791B publication Critical patent/CN112448791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/03Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method, equipment, a storage medium and a device for transmitting positioning data, and relates to the field of data transmission. In the prior art, only one positioning mode can be used for sending positioning data, and the received positioning data mode needs to be converted.

Description

Method, device, storage medium and device for transmitting positioning data
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a method, an apparatus, a storage medium, and a device for transmitting positioning data.
Background
The China Beidou formally provides service to the world in 2020, and marks that the China Beidou enters a comprehensive application era. China Beidou is a global satellite navigation system developed by China and also is a third mature satellite navigation system after GPS and GLONASS, and Beidou navigation has great strategic and national significance. At present, most navigation systems on the market still use a GPS (global positioning system), so in order to support Beidou, and enterprises are subsidized and supported by countries and local policies, the Beidou navigation system is used by individuals.
At present, aiming at the positioning data of a new energy automobile, according to the technical specification of an electric automobile remote service and management system, namely the requirement of a communication protocol and a data format GB/T32960.3, the information acquisition range cannot be freely expanded beyond the national standard, and meanwhile, the requirement of data confidentiality work of a local detection platform is made. The national standard data uses GPS positioning data. After some logistics enterprises purchase new energy automobiles, national standard data are needed to monitor the automobiles, and the whole automobile enterprises generally transmit the national standard data of the automobiles to a third-party logistics platform through an enterprise monitoring platform. In the prior art, if a client needs Beidou positioning data, the Beidou positioning cannot be simply replaced with GPS positioning according to the requirement of GB/T32960.3. Under the GPS location requirement condition that satisfies GB/T32960.3, when acquireing the location data, only can rely on a fixed location data mode to transmit, under special scene, need convert the location data mode that receives, can' T satisfy the timeliness that the location data acquireed.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, equipment, a storage medium and a device for transmitting positioning data, and aims to solve the technical problem of how to ensure the timeliness of positioning data transmission under the condition of meeting the requirements of GB/T32960.3 in the prior art.
In order to achieve the above object, the present invention provides a method for transmitting positioning data, which comprises the following steps:
determining the data format of the data to be transmitted according to the received user-defined data mode opening and closing instruction;
when the data format is a national standard data format, acquiring a positioning mode of data to be sent in the data to be transmitted;
and acquiring target positioning data corresponding to the positioning mode, and sending the target positioning data to a target platform.
Preferably, the step of acquiring the object location data corresponding to the location mode and sending the object location data to the target platform includes:
acquiring a national standard positioning mode instruction, and analyzing the national standard positioning mode instruction to obtain an instruction analysis result;
selecting positioning data to be added by national standard data from preset positioning data according to the instruction analysis result as target positioning data;
and sending the object location data to an object platform.
Preferably, the step of selecting the positioning data to be added by the national standard data from the preset positioning data according to the instruction parsing result as the target positioning data includes:
when the instruction analysis result contains replacement positioning data information, selecting Beidou positioning data from preset positioning data as target positioning data;
and when the instruction analysis result does not contain the replacement positioning data information, selecting the GPS positioning data from preset positioning data as target positioning data.
Preferably, after the step of determining the data format of the data to be transmitted according to the received custom data pattern switching instruction, the method further includes:
and when the data format is the user-defined data format, acquiring the combined positioning data corresponding to the user-defined data format, and sending the combined positioning data to a target platform.
Preferably, before the step of determining the data format of the data to be transmitted according to the received custom data pattern switching instruction, the method further includes:
when an instruction of sending positioning data to a target platform is received, sending input information to an enterprise monitoring platform so that the enterprise monitoring platform feeds back communication information of the target platform;
and establishing a second transmission link according to the communication information, and establishing connection with the target platform through the second transmission link.
Preferably, the step of establishing a second transmission link according to the communication information and establishing a connection with the target platform through the second transmission link includes:
determining a communication characteristic identifier of the target platform according to the communication information;
selecting a current data transmission interface from preset data transmission interfaces according to the communication characteristic identification;
and establishing a second transmission link according to the current data transmission interface, and establishing connection with the target platform through the second transmission link.
Preferably, after the step of acquiring the object location data corresponding to the location mode and sending the object location data to the target platform, the method further includes:
when a connection disconnection instruction sent by the target platform is received, analyzing the connection disconnection instruction to obtain connection disconnection information;
and disconnecting the current data transmission interface from the target platform according to the disconnection information.
Furthermore, to achieve the above object, the present invention further provides a device for transmitting positioning data, which includes a memory, a processor, and a program for transmitting positioning data stored in the memory and executable on the processor, wherein the program for transmitting positioning data is configured to implement the steps of the method for transmitting positioning data as described above.
Furthermore, to achieve the above object, the present invention further proposes a storage medium, on which a transmission program of positioning data is stored, which when executed by a processor implements the steps of the transmission method of positioning data as described above.
In addition, in order to achieve the above object, the present invention further provides a device for transmitting positioning data, where the device for transmitting positioning data includes: the device comprises an instruction acquisition module, a mode determination module and a data transmission module;
the instruction acquisition module is used for determining the data format of the data to be transmitted according to the received custom data mode switching instruction;
the mode determining module is used for acquiring a positioning mode of data to be sent in the data to be transmitted when the data format is a national standard data format;
and the data sending module is used for acquiring the target positioning data corresponding to the positioning mode and sending the target positioning data to a target platform.
The invention provides a method, equipment, a storage medium and a device for transmitting positioning data. In the prior art, the positioning data can only be transmitted in one positioning mode, and the received positioning data mode needs to be converted.
Drawings
Fig. 1 is a schematic structural diagram of a device for transmitting positioning data of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for transmitting positioning data according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for transmitting positioning data according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for transmitting positioning data according to a third embodiment of the present invention;
FIG. 5 is a block diagram of a first embodiment of an apparatus for transmitting positioning data according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a transmission device for positioning data of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the transmission device of the positioning data may include: a processor 1001, such as a central processing unit, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a display screen, and the optional user interface 1003 may further include a standard wired interface, a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a wireless interface. The memory 1005 may be a high speed random access memory or a stable memory such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the architecture shown in fig. 1 does not constitute a limitation of the transmission device for positioning data, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in FIG. 1, a memory 1005, identified as one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a transmission program for positioning data.
In the transmission device for positioning data shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the transmission device of the positioning data calls a transmission program of the positioning data stored in the memory 1005 through the processor 1001 and executes the transmission method of the positioning data provided by the embodiment of the present invention.
Based on the above hardware structure, an embodiment of the method for transmitting the positioning data of the present invention is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for transmitting positioning data according to a first embodiment of the present invention.
In a first embodiment, the method for transmitting the positioning data includes the following steps:
step S10: and determining the data format of the data to be transmitted according to the received custom data mode opening and closing instruction.
It should be understood that the execution subject of the present embodiment may be an onboard controller including an information acquisition unit, an instruction determination unit, and a data transmission unit. The information acquisition unit is used for acquiring custom data mode opening and closing instructions and positioning data. The instruction judging unit is used for analyzing and judging the received instruction, and the data sending unit is used for sending the obtained positioning data to the target platform.
It should be noted that the custom data pattern switching instruction is an instruction sent by the enterprise supervision platform, and the instruction may be an instruction including a data format for sending a positioning data signal and data to be transmitted. The data format is a format of data to be transmitted, and in this embodiment, the data format may be a national standard data format or a custom data format, and is specifically determined according to a custom data mode switching instruction. The national standard data format is a data format including one type of positioning data, which transmits only one type of positioning data. In real life, positioning data in a GPS positioning mode is generally used in a national standard data format. The custom data format can be the data format of two kinds of sending location data, and the location data of sending can be the location data of GPS location mode and the location data of big dipper location mode.
It can be understood that when the vehicle-mounted controller receives the custom data pattern switching instruction, the acquired custom data pattern switching instruction is analyzed, and the format of the positioning data required by the target platform is determined according to the analysis result. For example, if the result of parsing the custom data pattern open/close command is 0, the format of the data packet sent to the target platform is as follows: national standard data format; the result of the custom data pattern open/close instruction analysis is 1, and then the format of the data packet sent to the target platform is as follows: and (4) customizing a data format.
Step S20: and when the data format is a national standard data format, acquiring a positioning mode of data to be sent in the data to be transmitted.
It should be noted that the national standard data format generally uses the positioning data in the GPS positioning mode, but the data in the national standard data format can be switched to the positioning data in the beidou positioning mode according to a specific implementation process. The positioning mode is a positioning mode for positioning and using the current vehicle position, and the positioning mode can be a GPS positioning mode, a Beidou positioning mode and other positioning modes.
It can be understood that the vehicle-mounted controller needs to transmit positioning data of a positioning mode when the data format is a national standard data format. The positioning mode can be obtained by instruction acquisition or other methods. For example, a national standard positioning mode instruction is obtained, and when the obtained national standard positioning mode instruction is 0, the positioning mode of the data to be sent is a GPS positioning mode by default. Similarly, when the obtained national standard positioning mode instruction is 1, the positioning mode of the data to be transmitted is switched to the Beidou positioning mode.
Step S30: and acquiring target positioning data corresponding to the positioning mode, and sending the target positioning data to a target platform.
It should be noted that the object location data is location data that needs to be sent to the object platform, and may be GPS location data or beidou location data. The target platform can be understood as a third-party platform, the platform needs to acquire positioning data of a vehicle in real time, the target platform can be a local supervision platform or a customer operation platform, the customer operation platform is taken as an example, a certain customer operation platform needs to transport partial goods, a transport truck is leased to a certain transport enterprise, in order to guarantee timeliness of the goods, the real-time position of the goods needs to be acquired, an instruction needs to be sent out through the enterprise supervision platform, and the vehicle-mounted controller sends the positioning data to the customer operation platform when receiving the instruction.
It can be understood that, after determining the positioning mode of the data to be sent, the vehicle-mounted controller needs to acquire the target positioning data corresponding to the positioning mode, in this embodiment, the positioning data may be acquired by combining the sensor and the map, or may be acquired from a preset positioning data set, and then send the acquired positioning data to the target platform. For example, when the positioning mode of data to be sent is determined to be the Beidou positioning mode, the current position of the vehicle is positioned through the sensor, then positioning and map data are combined to determine positioning data of the Beidou positioning mode, and the positioning data of the Beidou positioning mode are sent to the target platform.
The method includes determining a data format of data to be transmitted according to a received user-defined data mode opening and closing instruction, acquiring a positioning mode of data to be transmitted in the data to be transmitted when the data format is a national standard data format, acquiring target positioning data corresponding to the positioning mode, and transmitting the target positioning data to a target platform. In the prior art, the positioning data can only be transmitted in one positioning mode, and the received positioning data mode needs to be converted.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for transmitting positioning data according to a second embodiment of the present invention, which is based on the first embodiment shown in fig. 2.
In the second embodiment, the step S30 includes:
step S301: and acquiring a national standard positioning mode instruction, and analyzing the national standard positioning mode instruction to obtain an instruction analysis result.
It should be noted that the national standard positioning mode instruction is an instruction for determining a positioning mode of data to be transmitted. The command is generated by the target platform and sent to the onboard controller. The instruction analysis result is obtained by analyzing the national standard positioning mode instruction by the vehicle-mounted controller, and the result contains the replacement positioning data information and does not contain the replacement positioning data information.
It is understood that the onboard controller may receive the national standard positioning mode command through the current data transmission interface. When the national standard positioning mode instruction is received, the national standard positioning mode instruction needs to be analyzed, whether the current instruction contains the replacement positioning data information or not is determined, and an analysis result is output. For example, after the national standard instruction is analyzed, if the output instruction analysis result is 0, it indicates that the instruction analysis result does not include the replacement positioning data information; similarly, when the output instruction analysis result is 1, it indicates that the instruction analysis result includes the replacement positioning data information.
Step S302: and selecting positioning data to be added by national standard data from preset positioning data according to the instruction analysis result as target positioning data.
It should be noted that the preset bit data is a preset positioning data set, and the preset bit data includes positioning data such as GPS positioning data and Beidou positioning data. The target positioning data refers to positioning data which needs to be sent to a target platform, namely positioning data meeting the requirements of the target platform.
It can be understood that the positioning data required by the target platform can be obtained according to the instruction analysis result, if the instruction analysis result is 0, it is indicated that the instruction analysis result does not contain the replacement positioning data information, and the GPS positioning data is selected as the target positioning data by default. Similarly, if the instruction analysis result is 1, the Beidou positioning data is selected to replace the GPS positioning data to serve as the target positioning data.
Step S303: and sending the object location data to an object platform.
It should be noted that after the object location data is determined, the object location data needs to be sent to the target platform. In the specific implementation process, the target positioning data can be sent to the target transmission platform in a network transmission mode.
Correspondingly, after step S10, the method further includes:
the method comprises the following steps: and when the data format is the user-defined data format, acquiring the combined positioning data corresponding to the user-defined data format, and sending the combined positioning data to a target platform.
It should be noted that the custom data format refers to a format including two positioning mode data. The custom data format may be a combined data format combined from a national standard data format and other data formats. The positioning data in the national standard data format needs to meet the requirement of GB/T32960.3, and other data formats can be set by the enterprise monitoring platform, which is not specifically limited herein. The combination positioning data can be the positioning data that GPS positioning data and unlimited big dipper positioning data combination formed, also can be the combination positioning data that satisfies the big dipper positioning data that GB/T32960.3 required and unlimited big dipper positioning data combination formed, can also be the positioning data that other positioning data combinations formed. When the target platform needs various positioning data to perform comparison analysis, the various positioning data need to be sent to the target platform at the same time, and at the moment, the various positioning data need to be sent in a user-defined data format. For example, the local supervision platform needs to monitor the transmitted positioning data in real time, and determine whether the transmitted positioning data meets the GPS positioning requirement of GB/T32960.3 by acquiring GPS positioning data and beidou positioning data. When the target platform needs to satisfy the big dipper positioning data that GB/T32960.3 required and unlimited big dipper positioning data simultaneously, adopt certainly with data format, wherein, the big dipper positioning data that satisfy GB/T32960.3 requirement are selected to national standard data format, and unlimited big dipper positioning data is selected to other data format, makes up two kinds of positioning data, and the combination positioning data after will making up sends to target platform.
It can be understood that, when the data format is the custom data format, the target positioning data corresponding to the custom data format is selected and combined from the preset positioning data to obtain combined positioning data, and the obtained combined positioning data is sent to the target platform.
The method includes determining a data format of data to be transmitted according to a received user-defined data mode opening and closing instruction, acquiring a positioning mode of data to be transmitted in the data to be transmitted when the data format is a national standard data format, acquiring target positioning data corresponding to the positioning mode, and transmitting the target positioning data to a target platform. In the prior art, only one positioning mode can be used for sending positioning data, and the received positioning data mode needs to be converted.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for transmitting positioning data according to a third embodiment of the present invention, which is proposed based on the first embodiment shown in fig. 2.
In the third embodiment, before the step S10, the method further includes:
step S101': and when receiving an instruction of sending positioning data to the target platform, sending input information to the enterprise monitoring platform so that the enterprise monitoring platform feeds back the communication information of the target platform.
It should be noted that the entry information is information used to enter the target platform into the positioning data transmission system. The input information can be obtained by sending an input template and feeding back the input template by the enterprise monitoring platform. The positioning data transmission system is composed of a vehicle-mounted controller, an enterprise supervision platform and a target platform. The communication information is information for the target platform to perform connection interaction with other platforms, for example, at least one of IP address information, port information, or domain name information of the target platform, and the vehicle-mounted controller can establish connection with the target platform through the information. When connection with a plurality of target platforms is required to be established, the requirements of the plurality of target platforms need to be judged first. When the requirements of a plurality of target platforms are the same, the same input information can be adopted to simultaneously acquire a plurality of communication information; when the demands of the target platforms are different, the communication information of the target platforms can be acquired by adopting the input information sent respectively.
It can be understood that when an instruction of sending positioning data to a target platform is received, the vehicle-mounted controller automatically generates input information, the input information is sent to the enterprise supervision platform in a mode of inputting a template, and the enterprise supervision platform receives the input template, fills communication information of the target platform and feeds the communication information back to the vehicle-mounted controller.
Step S102': and determining the communication characteristic identification of the target platform according to the communication information.
The communication feature identifier refers to a communication identifier unique to each target platform, such as an IP address of a computer of the target platform, a hardware identification number of the server, and the like. In a specific implementation process, the communication feature identifier of the target platform can be determined by obtaining the communication information in a classification mode, wherein the classification mode is based on the features of the communication information.
Step S103': and selecting a current data transmission interface from preset data transmission interfaces according to the communication characteristic identification.
It should be noted that the preset data transmission interface is a preset data transmission interface and is an interface for transmitting positioning data, and the data transmission interfaces correspond to the target platforms one to one. The current data transmission interface is a data transmission interface for establishing positioning data transmission connection with the current target platform.
It can be understood that the communication characteristic identifier of the target platform may determine, through the communication characteristic identifier, a data transmission interface that satisfies the positioning data transmission, for example, a longer distance of the target platform is obtained according to the MAC address of the target platform device, and in order to prevent signal attenuation during the signal transmission process, the enhanced data transmission interface may be selected to transmit the positioning data.
Step S104': and establishing a second transmission link through the current data transmission interface, and establishing connection with the target platform through the second transmission link.
It should be noted that the second transmission link is a set of transmission links between the onboard controller and the target platform. The second transmission link may be one transmission link established between the onboard controller and one target platform, or multiple transmission links established between the onboard controller and multiple target platforms. For example, in the case that the customer operation platform and the local supervision platform need to send the positioning data at the same time, the vehicle-mounted controller may establish a second transmission link with the customer operation platform and the local supervision platform at the same time, and send the positioning data to the customer operation platform and the local supervision platform by using the established second transmission link. After the current data transmission interface is determined, the target platform can be identified through modes of adding a port to an IP address or adding a domain name to the IP address, a second transmission link is established with the target platform, and the transmission of the positioning data is realized through the second transmission link.
Correspondingly, after the step S30, the method further includes
Step S301': and when receiving a connection and disconnection instruction sent by the target platform, analyzing the connection and disconnection instruction to obtain connection and disconnection information.
The disconnection command is a command generated by the target platform to disconnect the connection between the onboard controller and the target platform. The disconnection information is information for determining a disconnection target platform, and the disconnection information may be information such as an IP address of a target platform that needs to be disconnected. The disconnection information may be disconnection information for disconnecting one target platform, or disconnection information for disconnecting a plurality of target platforms.
When receiving the disconnection command, the disconnection command is analyzed to obtain the communication characteristic information of the target platform that needs to be disconnected as the disconnection information.
Step S302': and disconnecting the current data transmission interface from the target platform according to the disconnection information.
It should be noted that, when the disconnection information is obtained, the target platform that needs to be disconnected is determined in a manner of identifying the communication characteristic information, and the on-board controller may delete information such as an IP address or a port address of the target platform that needs to be disconnected, thereby completing disconnection between the on-board controller and the target platform.
The method includes determining a data format of data to be transmitted according to a received user-defined data mode opening and closing instruction, acquiring a positioning mode of data to be transmitted in the data to be transmitted when the data format is a national standard data format, acquiring target positioning data corresponding to the positioning mode, and transmitting the target positioning data to a target platform. In the prior art, the positioning data can only be transmitted in one positioning mode, and the received positioning data mode needs to be converted.
Furthermore, an embodiment of the present invention further provides a storage medium, where a transmission program of positioning data is stored, and when executed by a processor, the transmission program of positioning data implements the steps of the transmission method of positioning data as described above.
In addition, referring to fig. 5, an embodiment of the present invention further provides a device for transmitting positioning data, including an instruction obtaining module 10, a mode determining module 20, and a data sending module 30;
the instruction acquisition module 10 determines the data format of the data to be transmitted according to the received custom data mode switching instruction;
the mode determining module 20 is configured to obtain a positioning mode of data to be transmitted in the data to be transmitted when the data format is a national standard data format;
the data sending module 30 is configured to obtain the object location data corresponding to the location mode, and send the object location data to the target platform.
In this embodiment, a transmission device of positioning data is provided, in which an instruction obtaining module 10 determines a data format of data to be transmitted according to a received custom data mode opening and closing instruction, and then a mode determining module 20 obtains a positioning mode of data to be transmitted in the data to be transmitted when the data format is a national standard data format, and then a data transmitting module 30 obtains target positioning data corresponding to the positioning mode and transmits the target positioning data to a target platform. In the prior art, only one positioning mode can be used for sending positioning data, and the received positioning data mode needs to be converted.
Further, the data sending module 30 is further configured to obtain a national standard positioning mode instruction, and analyze the national standard positioning mode instruction to obtain an instruction analysis result; selecting positioning data to be added by national standard data from preset positioning data according to the instruction analysis result as target positioning data; and sending the object location data to an object platform.
Further, the data sending module 30 is further configured to select Beidou positioning data from preset positioning data as target positioning data when the instruction analysis result includes replacement positioning data information;
and when the instruction analysis result does not contain the replacement positioning data information, selecting the GPS positioning data from preset positioning data as target positioning data.
Further, the data sending module 30 is further configured to, when the data format is a custom data format, obtain combined positioning data corresponding to the custom data format, and send the combined positioning data to a target platform.
Further, the instruction obtaining module 10 is further configured to send, when receiving an instruction to send positioning data to a target platform, entry information to the enterprise monitoring platform, so that the enterprise monitoring platform feeds back communication information of the target platform; and establishing connection with the target platform according to the communication information.
Further, the instruction obtaining module 10 is further configured to determine a communication feature identifier of the target platform according to the communication information; selecting a current data transmission interface from preset data transmission interfaces according to the communication characteristic identification; and establishing connection with the target platform through the current data transmission interface.
Further, the data sending module 30 is further configured to, when receiving a connection disconnection instruction sent by the target platform, analyze the connection disconnection instruction to obtain connection disconnection information;
and disconnecting the current data transmission interface from the target platform according to the disconnection information.
Other embodiments or specific implementation manners of the apparatus for transmitting positioning data according to the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words first, second, third, etc. are to be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method for transmitting positioning data, the method comprising the steps of:
determining a data format of data to be transmitted according to a received custom data mode opening and closing instruction, wherein the data format comprises a national standard data format and a custom data format, the national standard data format is a data format for sending one type of positioning data, and the custom data format is a data format for sending two types of positioning data;
when the data format is a national standard data format, acquiring a national standard positioning mode instruction and determining a positioning mode of the data to be transmitted according to the national standard positioning mode instruction;
acquiring target positioning data corresponding to the positioning mode, and sending the target positioning data to a target platform;
and when the data format is the user-defined data format, acquiring the combined positioning data corresponding to the user-defined data format, and sending the combined positioning data to a target platform.
2. The method of claim 1, wherein the step of obtaining object location data corresponding to the location mode and sending the object location data to an object platform comprises:
acquiring a national standard positioning mode instruction, and analyzing the national standard positioning mode instruction to obtain an instruction analysis result;
selecting positioning data to be added by national standard data from preset positioning data according to the instruction analysis result as target positioning data;
and sending the object location data to an object platform.
3. The method as claimed in claim 2, wherein the step of selecting the positioning data to be added by national standard data from the preset positioning data according to the instruction parsing result as the target positioning data comprises:
when the instruction analysis result contains replacement positioning data information, selecting Beidou positioning data from preset positioning data as target positioning data;
and when the instruction analysis result does not contain the replacement positioning data information, selecting the GPS positioning data from preset positioning data as target positioning data.
4. The method of any of claims 1-3, wherein prior to the step of determining the data format of the data to be transmitted according to the received custom data pattern open and close command, the method further comprises:
when an instruction of sending positioning data to a target platform is received, sending input information to an enterprise monitoring platform so that the enterprise monitoring platform feeds back communication information of the target platform;
and establishing a second transmission link according to the communication information, and establishing connection with the target platform through the second transmission link.
5. The method of claim 4, wherein the step of establishing a second transmission link based on the communication information and establishing a connection with the target platform over the second transmission link comprises:
determining a communication characteristic identifier of the target platform according to the communication information;
selecting a current data transmission interface from preset data transmission interfaces according to the communication characteristic identification;
and establishing a second transmission link according to the current data transmission interface, and establishing connection with the target platform through the second transmission link.
6. The method of claim 5, wherein after the step of obtaining the object location data corresponding to the location mode and sending the object location data to the target platform, the method further comprises:
when a connection disconnection instruction sent by the target platform is received, analyzing the connection disconnection instruction to obtain connection disconnection information;
and disconnecting the current data transmission interface from the target platform according to the disconnection information.
7. A transmission device of positioning data, characterized in that the transmission device of positioning data comprises: memory, processor and transmission program of positioning data stored on the memory and executable on the processor, the transmission program of positioning data realizing the steps of the transmission method of positioning data according to any of claims 1 to 6 when executed by the processor.
8. A storage medium, characterized in that the storage medium has stored thereon a transmission program of positioning data, which when executed by a processor implements the steps of the transmission method of positioning data according to any one of claims 1 to 6.
9. An apparatus for transmitting positioning data, the apparatus comprising: the device comprises an instruction acquisition module, a mode determination module and a data transmission module;
the instruction acquisition module determines a data format of data to be transmitted according to a received custom data mode switching instruction, wherein the data format comprises a national standard data format and a custom data format, the national standard data format is a data format for transmitting one type of positioning data, and the custom data format is a data format for transmitting two types of positioning data;
the mode determining module is used for acquiring a national standard positioning mode instruction and determining a positioning mode of the data to be transmitted according to the national standard positioning mode instruction when the data format is a national standard data format;
the data sending module is used for acquiring the target positioning data corresponding to the positioning mode and sending the target positioning data to a target platform;
the data sending module is further configured to, when the data format is a custom data format, obtain combined positioning data corresponding to the custom data format, and send the combined positioning data to a target platform.
CN202011206780.7A 2020-10-30 2020-10-30 Method, device, storage medium and device for transmitting positioning data Active CN112448791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011206780.7A CN112448791B (en) 2020-10-30 2020-10-30 Method, device, storage medium and device for transmitting positioning data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011206780.7A CN112448791B (en) 2020-10-30 2020-10-30 Method, device, storage medium and device for transmitting positioning data

Publications (2)

Publication Number Publication Date
CN112448791A CN112448791A (en) 2021-03-05
CN112448791B true CN112448791B (en) 2022-03-08

Family

ID=74736691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011206780.7A Active CN112448791B (en) 2020-10-30 2020-10-30 Method, device, storage medium and device for transmitting positioning data

Country Status (1)

Country Link
CN (1) CN112448791B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201007739Y (en) * 2006-10-19 2008-01-16 中国人民解放军总装备部汽车试验场 Beidou and GPS navigation information syncretizing machine
CN102721973A (en) * 2011-03-31 2012-10-10 上海四方信息技术股份有限公司 Device of Beidou navigation satellite system with bus interface and GPS dual-mode positioning transmission and method thereof
CN103913754A (en) * 2014-04-25 2014-07-09 航天科技控股集团股份有限公司 Data transparent-transmission method of dual-mode data transparent-transmission device based on Beidou and GPS
CN105403899A (en) * 2015-12-23 2016-03-16 中国船舶重工集团公司第七一〇研究所 GPS and Beidou positioning switching system
CN111045041A (en) * 2019-11-29 2020-04-21 交通运输部长江通信管理局 Single-Beidou/multi-mode compatible working mode automatic switching method and device for satellite receiver

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104678412A (en) * 2014-12-12 2015-06-03 广西科技大学 Beidou or GPS dual-mode on-line positioning method
WO2019126950A1 (en) * 2017-12-25 2019-07-04 深圳前海达闼云端智能科技有限公司 Positioning method, cloud server, terminal, system, electronic device and computer program product
CN110068849A (en) * 2019-05-06 2019-07-30 国网山东省电力公司东营供电公司 Transmission line of electricity multidimensional deformation method of real-time and system based on Differential positioning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201007739Y (en) * 2006-10-19 2008-01-16 中国人民解放军总装备部汽车试验场 Beidou and GPS navigation information syncretizing machine
CN102721973A (en) * 2011-03-31 2012-10-10 上海四方信息技术股份有限公司 Device of Beidou navigation satellite system with bus interface and GPS dual-mode positioning transmission and method thereof
CN103913754A (en) * 2014-04-25 2014-07-09 航天科技控股集团股份有限公司 Data transparent-transmission method of dual-mode data transparent-transmission device based on Beidou and GPS
CN105403899A (en) * 2015-12-23 2016-03-16 中国船舶重工集团公司第七一〇研究所 GPS and Beidou positioning switching system
CN111045041A (en) * 2019-11-29 2020-04-21 交通运输部长江通信管理局 Single-Beidou/multi-mode compatible working mode automatic switching method and device for satellite receiver

Also Published As

Publication number Publication date
CN112448791A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US11783430B1 (en) Automatic claim generation
US20140121888A1 (en) Method, server and system for vehicle diagnosis
US20080140571A1 (en) Method for controlling the distribution of vehicle-related data
US8099111B2 (en) Vehicle telematics data logging
CN112003784B (en) Vehicle data transmission method, device, storage medium and device
KR20070049445A (en) Diagnostic system and method for wireless network service quality
US11861721B1 (en) Maintaining current insurance information at a mobile device
CN1666443A (en) Method of and apparatus for communicating
CN109618306B (en) Communication method, server, communication equipment and computer readable storage medium
US20090247132A1 (en) System and method for processing vehicle communications
CN107705576B (en) Vehicle fake plate detection method, server and storage medium
CN104798110A (en) Method and device for remote querying of vehicle data
CN101306686A (en) Automobile remote diagnostic control system
CN111325880A (en) Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium
CN107742208A (en) Vehicle is in danger querying method, device, equipment and the computer media of flow
CN112448791B (en) Method, device, storage medium and device for transmitting positioning data
US9628968B2 (en) Driver notification
US20090221264A1 (en) Storage system of mobile terminal and access control method
CN107205241B (en) Wireless communication detection method and equipment thereof
KR20140039808A (en) Wireless communication system in wifi environment for vessels
CN106993288A (en) WiFi control method and device
CN102508468A (en) Comprehensive debugging instrument for vehicle-mounted information terminal and debugging method of comprehensive debugging instrument
CN1957582B (en) Route server monitor
CN114071453B (en) Information processing method, device, equipment and readable storage medium
US20180047218A1 (en) Method of attaining subjective vehicle dynamics

Legal Events

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