CN111355787A - Information transmission method and device and electronic equipment - Google Patents
Information transmission method and device and electronic equipment Download PDFInfo
- Publication number
- CN111355787A CN111355787A CN202010105659.9A CN202010105659A CN111355787A CN 111355787 A CN111355787 A CN 111355787A CN 202010105659 A CN202010105659 A CN 202010105659A CN 111355787 A CN111355787 A CN 111355787A
- Authority
- CN
- China
- Prior art keywords
- information
- server
- data
- format
- data acquisition
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2423—Interactive query statement specification based on a database schema
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
- H04L43/106—Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Cardiology (AREA)
- Computer Security & Cryptography (AREA)
- Medical Informatics (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides an information transmission method, an information transmission device and electronic equipment, wherein the method comprises the following steps: receiving a data acquisition request sent by a server, wherein the data acquisition request carries identity information of the server; determining an interactive information format according to the identity information of the server; acquiring target data according to the interactive information format; generating feedback information according to the target data and the interactive information format; and sending the feedback information to the server.
Description
Technical Field
The application relates to the field of vehicle cloud communication, in particular to an information transmission method and device and electronic equipment.
Background
With the continuous maturity of the related technologies of the internet of vehicles, the sensor technology, the mobile communication technology and the like are deeply integrated with the intelligent internet driving technology, so that the functions of the intelligent internet driving technology are increasingly improved. In the automobile manufacturing activity, the use is complex and the compatibility is poor due to the fact that the technical requirements of the demonstration operation of uploading and issuing data of different automobile factories, different automobile types and different data types are not uniform. The condition brings inconvenience to real-time management of vehicle multi-dimensional information transmission between vehicles and cloud servers.
Disclosure of Invention
An object of the embodiments of the present application is to provide an information transmission method, an information transmission device, and an electronic device, so as to solve the problems in the prior art.
In a first aspect, an embodiment provides an information transmission method, including: receiving a data acquisition request sent by a server, wherein the data acquisition request carries identity information of the server; determining an interactive information format according to the identity information of the server; acquiring target data according to the interactive information format; generating feedback information according to the target data and the interactive information format; and sending the feedback information to the server.
In an optional embodiment, determining the format of the interaction information according to the identity information of the server includes: acquiring an identification code of a server; and inquiring a comparison table in a local database according to the identity identification code to determine the format of the interactive information.
In an optional embodiment, generating feedback information according to the target data and the format of the interaction information includes: judging whether the target data are repeated or not according to the timestamp of the target data; if the target data are repeated, marking the repeated target data; and generating feedback information according to the marking information of the target data.
In an optional embodiment, generating feedback information according to the target data and the format of the interaction information includes: establishing a data packet according to the interactive information format; according to a preset data value assigning table, packaging the target data to generate a message body; and filling the message body into the data packet according to the start and stop symbols of the data packet to generate feedback information.
In a second aspect, an embodiment provides an information transmission method, including: receiving a data acquisition instruction, wherein the data acquisition instruction carries identity information of a terminal; sending a data acquisition request to a corresponding terminal according to the identity information of the terminal, wherein the data acquisition request carries the identity information of the server; receiving feedback information sent by a terminal, wherein the feedback information carries an interactive information format; and analyzing the feedback information according to an interactive information format to acquire target data.
In an optional embodiment, the analyzing the feedback information according to an interactive information format to obtain the target data includes: analyzing the feedback information according to the interactive information format to obtain a data packet; extracting a message body from the data packet according to a preset decoding rule; and acquiring target data from the message body according to a preset data value assignment table.
In a third aspect, an embodiment provides an information transmission apparatus, including: the first receiving module is used for receiving a data acquisition request sent by the server, wherein the data acquisition request carries the identity information of the server; the information confirmation module is used for determining an interactive information format according to the identity information of the server; the data acquisition module is used for acquiring target data according to the interactive information format; the information generating module is used for generating feedback information according to the target data and the interactive information format; and the first sending module is used for sending the feedback information to the server.
In an alternative embodiment, the information confirmation module is configured to: acquiring an identification code of a server; and inquiring a comparison table in a local database according to the identity identification code to determine the format of the interactive information.
In an alternative embodiment, the information generating module is configured to: judging whether the target data are repeated or not according to the timestamp of the target data; if the target data are repeated, marking the repeated target data; and generating feedback information according to the marking information of the target data.
In an optional embodiment, the information generating module is further configured to: establishing a data packet according to the interactive information format; according to a preset data value assigning table, packaging the target data to generate a message body; and filling the message body into the data packet according to the start and stop symbols of the data packet to generate feedback information.
In a fourth aspect, an embodiment provides an information transmission apparatus, including: the second receiving module is used for receiving a data acquisition instruction, and the data acquisition instruction carries the identity information of the terminal; the second sending module is used for sending a data acquisition request to the corresponding terminal according to the identity information of the terminal, wherein the data acquisition request carries the identity information of the server; the third receiving module is used for receiving feedback information sent by the terminal, and the feedback information carries an interactive information format; and the data acquisition module is used for analyzing the feedback information according to the interactive information format to acquire target data.
In an alternative embodiment, the data acquisition module is configured to: analyzing the feedback information according to the interactive information format to obtain a data packet; extracting a message body from the data packet according to a preset decoding rule; and acquiring target data from the message body according to a preset data value assignment table.
In a fifth aspect, an embodiment provides an electronic device, including: a memory for storing a computer program; a processor for performing the method as in the first method embodiment described above.
In a sixth aspect, an embodiment provides an electronic device, including: a memory for storing a computer program; a processor for performing the method as in the foregoing second aspect embodiment.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is an electronic device according to an embodiment of the present disclosure;
fig. 2 is an interaction schematic scene of a terminal and a server provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of an information transmission method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another information transmission method provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of another information transmission method provided in an embodiment of the present application;
fig. 6 is a schematic flowchart of another information transmission method provided in an embodiment of the present application;
fig. 7 is a schematic flowchart of another information transmission method provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a communication data transmission apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another communication data transmission apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
As shown in fig. 1, the present embodiment provides an electronic apparatus 1 including: at least one processor 11 and a memory 12, one processor being exemplified in fig. 1. The processor 11 and the memory 12 are connected by a bus 10, and the memory 12 stores instructions executable by the processor 11 and the instructions are executed by the processor 11.
In one embodiment, the electronic device 1 may be a terminal 200. The terminal 200 controls a data acquisition device such as a data acquisition device to acquire data according to the data acquisition request sent by the server 100. After the data acquisition is completed, the interactive information format is determined according to the identity information of the server 100, and the acquired data is encapsulated according to the interactive information format to generate feedback information so as to complete the information transmission process.
In one embodiment, the electronic device 1 may be a server 100. The server 100 receives a data acquisition instruction of a user through a communication network, the data acquisition instruction includes identity information of the terminal 200 needing to acquire data, the server 100 determines the terminal 200 according to the identity information of the terminal 200 and establishes a communication link with the terminal 200 through the communication network, receives feedback information returned by the terminal 200, analyzes the feedback information, and completes an information transmission process.
As shown in fig. 2, which is an interaction schematic scenario of the terminal 200 and the server 100 in an embodiment of the present application, the terminal 200 may be a vehicle, and the server 100 may be the data monitoring or data storage server 100. The server 100 receives a data acquisition instruction of a user, the data acquisition instruction comprises identification information such as an identification code of a vehicle, the server 100 initiates a data acquisition request to the vehicle according to the data acquisition instruction, a vehicle-server communication link is established through a communication network, the vehicle acquires an interactive information format of the server 100 after receiving the data acquisition request, acquires corresponding vehicle data according to the interactive information format, packages the vehicle data to generate feedback information and transmits the feedback information back to the server 100, and the server 100 analyzes the feedback information according to the interactive information format to complete an information transmission process between the vehicle and the server 100.
Please refer to fig. 3, which is an information transmission method provided in this embodiment, the method may be executed by the electronic device 1 shown in fig. 1 as the terminal 200, and may be applied to the interaction scenario shown in fig. 2, so that the terminal 200 controls data acquisition devices such as a data acquisition device to acquire data according to a data acquisition request sent by the server 100. After the data acquisition is completed, the interactive information format is determined according to the identity information of the server 100, and the acquired data is encapsulated according to the interactive information format to generate feedback information so as to complete the information transmission process. The method comprises the following steps:
step 301: receiving a data acquisition request sent by the server 100, where the data acquisition request carries identity information of the server 100.
In this step, the terminal 200 may be a vehicle, and the server 100 may send a data collection request to a smart device on the vehicle, for example, send collection information of the energy type, the current speed per hour information, and the driving mode information of the current vehicle to a driving computer through wireless communication.
In an embodiment, before the vehicle returns the vehicle data, a communication link between the terminal 200 and the server 100 needs to be established, and the server 100 may send the vehicle with the identity information or the predetermined control authority identification information, and establish the communication link after the identity information or the predetermined control authority identification information is successfully verified.
Step 302: the format of the interactive information is determined according to the identity information of the server 100.
In this step, the identity information of the server 100 is used to determine the identity of the server 100, for example, the server 100 with number 01 is the server 100 processing the safe driving related information, and the vehicle is preset with an interactive information format, such as an encryption mode, a packaging mode, and the like, for information transmission with the server 100 with number 01. When the vehicle recognizes the data collection request transmitted from the number 01 server 100, the format of the mutual information may be determined.
Step 303: and acquiring target data according to the interactive information format.
In this step, according to the determined interactive information format, corresponding data is acquired by a local data acquisition device and other devices. For example, the interactive information format of the vehicle and the number 01 server 100 is to feed back basic information of the vehicle: energy type of the current vehicle, current speed information, driving mode information, etc., and is transmitted in a V2X (vehicle to X) message format.
Step 304: and generating feedback information according to the target data and the interactive information format.
In this step, the acquired target data is encapsulated according to the interactive information format, and the feedback information is generated after encapsulation.
Step 305: the feedback information is sent to the server 100.
In this step, the encapsulated feedback information is sent to the server 100, and information transmission is completed.
Please refer to fig. 4, which is an information transmission method provided in an embodiment of the present application, where the method may be executed by the electronic device 1 shown in fig. 1 as the terminal 200, and may be applied in the interaction scenario shown in fig. 2, so that the terminal 200 controls a data acquisition device such as a data acquisition device to acquire data according to a data acquisition request sent by the server 100. After the data acquisition is completed, the interactive information format is determined according to the identity information of the server 100, and the acquired data is encapsulated according to the interactive information format to generate feedback information so as to complete the information transmission process. The method comprises the following steps:
step 401: receiving a data acquisition request sent by the server 100, where the data acquisition request carries identity information of the server 100. Please refer to the description of step 301 in the above embodiments.
Step 402: the identification code of the server 100 is acquired.
In this step, the identity information of the server 100 may be an identification code, which is carried by the data acquisition request, and the identification code may be a unique identification code recognized by the vehicle.
Step 403: and inquiring a comparison table in a local database according to the identity identification code to determine the format of the interactive information.
In this step, the identity information of the server 100 is used to determine the identity of the server 100, for example, the server 100 with number 01 is the server 100 processing the safe driving related information, and the vehicle is preset with an interactive information format, such as an encryption mode, a packaging mode, and the like, for information transmission with the server 100 with number 01. When the vehicle recognizes the data collection request transmitted from the number 01 server 100, the format of the mutual information may be determined.
In one embodiment, a memory local to the vehicle stores a look-up table relating to the id-mutual format of the server 100.
Step 404: and acquiring target data according to the interactive information format. Please refer to the description of step 303 in the above embodiments.
Step 405: and establishing a data packet according to the interactive information format.
In this step, different interactive information formats need different ways of establishing data packets. In one embodiment, the terminal 200 and the server 100 communicate words and double words using big-end mode network endianness. Wherein, a complete data packet to be transmitted is composed of a start symbol, a command unit, an identification code, a data encryption mode, a data unit length, a data unit and a check code. The structure and definition of the data packet are shown in table 1 and table 2.
Table 1 packet structure and definition table:
table 2 command unit description table:
encoding | Definition of | Direction of transmission |
0x01 | Vehicle login message | Uplink is carried out |
0x02 | Real-time information reporting | Uplink is carried out |
0x03 | Reissue information reporting | Uplink is carried out |
0x04 | Vehicle logout message | Uplink is carried out |
0x05 | Platform check-in | Uplink is carried out |
0x06 | Platform logout | Uplink is carried out |
0x07~0x08 | Terminal data reservation | Uplink is carried out |
0x09~0x07F | Upstream data system reservation | Uplink is carried out |
0x80~0x82 | Terminal data reservation | Downstream |
0x83~0xBF | Downlink data system reservation | Downstream |
0xC0~0xFE | Platform exchange custom data | Self-defining |
Step 406: and packaging the target data according to a preset data value assignment table to generate a message body.
In this step, the message format is different for different interactive information formats. Such as the V2X message. The ASN _1 message body corresponding to V2X is first defined. The V2X message generates a corresponding object format after being decoded by ASN _ 1. The format, length, and range of the data field may then be checked for each field check of the object.
In one embodiment, the ASN structure is shown in Table 3.
Table 3: ASN structure
Step 407: and filling the message body into the data packet according to the start and stop symbols of the data packet to generate feedback information.
In this step, the message body is filled into the data packet according to the start/stop byte of the data packet, and in one embodiment, the message body is filled into the data packet according to the start/stop byte shown in table 1.
Step 408: the feedback information is sent to the server 100. Please refer to the description of step 305 in the above embodiment.
Please refer to fig. 5, which is an information transmission method provided in this embodiment, the method may be executed by the electronic device 1 shown in fig. 1 as the terminal 200, and may be applied to the interaction scenario shown in fig. 2, so that the terminal 200 controls data acquisition devices such as a data acquisition device to acquire data according to a data acquisition request sent by the server 100. After the data acquisition is completed, the interactive information format is determined according to the identity information of the server 100, and the acquired data is encapsulated according to the interactive information format to generate feedback information so as to complete the information transmission process. The method comprises the following steps:
step 501: receiving a data acquisition request sent by the server 100, where the data acquisition request carries identity information of the server 100. Please refer to the description of step 301 in the above embodiments.
Step 502: the format of the interactive information is determined according to the identity information of the server 100. Please refer to the description of step 302 in the above embodiment.
Step 503: and acquiring target data according to the interactive information format. Please refer to the description of step 303 in the above embodiments.
Step 504: and judging whether the target data is repeated.
In this step, whether the target data is repeated is judged according to the time stamp of the target data, and if the messages are the same, the corresponding message time stamps are always the same. If the target data is duplicated, go to step 505. If the target data is not duplicated, step 506 is entered.
Step 505: and marking the repeated target data.
In this step, if the target data is duplicated, only one copy of the target data needs to be returned to the server 100, and a random copy of the duplicated target data is marked with a return identifier, and the other copies are marked with duplicate identifiers.
Step 506: and generating feedback information according to the marking information of the target data.
In this step, the target data with the returned identifier and without the identifier is identified according to the mark information of the target, and the feedback information is generated. For details of generating the feedback information, refer to the description of step 407 in the above embodiment.
Step 507: the feedback information is sent to the server 100. Please refer to the description of step 305 in the above embodiment.
Please refer to fig. 6, which is an information transmission method provided in this embodiment, the method may be executed by the electronic device 1 shown in fig. 1 as the server 100, and may be applied to the interaction scenario shown in fig. 2, so that the server 100 receives a data acquisition instruction of a user through a communication network, where the data acquisition instruction includes identity information of a terminal 200 that needs to acquire data, the server 100 determines the terminal 200 according to the identity information of the terminal 200 and establishes a communication link with the terminal 200 through the communication network, receives feedback information returned by the terminal 200, and analyzes the feedback information, thereby completing an information transmission process.
The method comprises the following steps:
step 601: and receiving a data acquisition instruction, wherein the data acquisition instruction carries the identity information of the terminal 200.
In this step, the data collection instruction may be sent to the server 100 by the user through the interactive interface, the terminal 200 may be a vehicle, and the identity information of the terminal 200 may be a unique identification code of the vehicle, so as to distinguish different vehicles. For example, the Vehicle Identification Number (VIN) may be a group of seventeen letters or numerals, and may be used to identify the manufacturer of the Vehicle, the engine, the chassis serial Number, and other performance data.
Step 602: and sending a data acquisition request to the corresponding terminal 200 according to the identity information of the terminal 200, wherein the data acquisition request carries the identity information of the server 100.
In this step, the identity information of the server 100 is used for the identity of the vehicle determination server 100, and the server 100 of number 01, for example, is the server 100 that processes the safe driving related information.
Step 603: and receiving feedback information sent by the terminal 200, wherein the feedback information carries an interactive information format.
In this step, the vehicle sets in advance an interactive information format, such as an encryption mode, a packaging mode, and the like, for information transmission with the number 01 server 100. When the vehicle recognizes the data collection request transmitted from the number 01 server 100, the format of the mutual information may be determined.
Step 604: and analyzing the feedback information according to an interactive information format to acquire target data.
In this step, since the target data is encapsulated according to the interactive information format through the vehicle, the server 100, after receiving the feedback information, analyzes according to the interactive information format to obtain the target data in the feedback information.
Please refer to fig. 7, which is an information transmission method provided in this embodiment, the method may be executed by the electronic device 1 shown in fig. 1 as the server 100, and may be applied to the interaction scenario shown in fig. 2, so that the server 100 receives a data acquisition instruction of a user through a communication network, where the data acquisition instruction includes identity information of a terminal 200 that needs to acquire data, the server 100 determines the terminal 200 according to the identity information of the terminal 200 and establishes a communication link with the terminal 200 through the communication network, receives feedback information returned by the terminal 200, and analyzes the feedback information, thereby completing an information transmission process.
The method comprises the following steps:
step 701: and receiving a data acquisition instruction, wherein the data acquisition instruction carries the identity information of the terminal 200. Please refer to the description of step 601 in the above embodiment.
Step 702: and sending a data acquisition request to the corresponding terminal 200 according to the identity information of the terminal 200, wherein the data acquisition request carries the identity information of the server 100. Please refer to the description of step 602 in the above embodiments.
Step 703: and receiving feedback information sent by the terminal 200, wherein the feedback information carries an interactive information format. Please refer to the description of step 603 in the above embodiments.
Step 704: and analyzing the feedback information according to the interactive information format to obtain the data packet.
In this step, the received feedback information is analyzed according to the interactive information format and the data transmission protocol, and a data packet is obtained from the feedback information.
Step 705: and extracting the message body from the data packet according to a preset decoding rule.
In this step, the packet is decoded according to the packet structure and the definition table.
Step 706: and acquiring target data from the message body according to a preset data value assignment table.
In this step, the target data is obtained according to the message body decapsulation rule.
Please refer to fig. 8, which is an information transmission apparatus 800 according to this embodiment, which is applicable to the electronic device 1 shown in fig. 1 and is applicable to the interaction scenario shown in fig. 2, so that the terminal 200 controls a data acquisition device such as a data acquisition device to acquire data according to a data acquisition request sent by the server 100. After the data acquisition is completed, the interactive information format is determined according to the identity information of the server 100, and the acquired data is encapsulated according to the interactive information format to generate feedback information so as to complete the information transmission process. The device includes: the system comprises a first receiving module 801, an information confirming module 802, a data collecting module 803, an information generating module 804 and a first sending module 805. The principle relationship of the modules is as follows:
the first receiving module 801 is configured to receive a data acquisition request sent by the server 100, where the data acquisition request carries identity information of the server 100. The information confirmation module 802 is configured to determine an interactive information format according to the identity information of the server 100. And the data acquisition module 803 is used for acquiring target data according to the interactive information format. And an information generating module 804, configured to generate feedback information according to the target data and the format of the interactive information. A first sending module 805, configured to send the feedback information to the server 100.
In one embodiment, the message confirmation module 802 is configured to: acquiring an identification code of the server 100; and inquiring a comparison table in a local database according to the identity identification code to determine the format of the interactive information.
In one embodiment, the information generating module 804 is configured to: judging whether the target data are repeated or not according to the timestamp of the target data; if the target data are repeated, marking the repeated target data; and generating feedback information according to the marking information of the target data.
In an embodiment, the information generating module 804 is further configured to: establishing a data packet according to the interactive information format; according to a preset data value assigning table, packaging the target data to generate a message body; and filling the message body into the data packet according to the start and stop symbols of the data packet to generate feedback information.
Please refer to the description of the corresponding steps in the above embodiments of the method.
Please refer to fig. 9, which is an information transmission apparatus 900 according to this embodiment, which is applicable to the electronic device 1 shown in fig. 1 and is applicable to the interaction scenario shown in fig. 2, so that the server 100 receives a data acquisition instruction of a user through a communication network, where the data acquisition instruction includes identity information of a terminal 200 that needs to acquire data, the server 100 determines the terminal 200 according to the identity information of the terminal 200 and establishes a communication link with the terminal 200 through the communication network, receives feedback information returned by the terminal 200, and analyzes the feedback information, thereby completing an information transmission process. The device includes: a second receiving module 901, a second sending module 902, a third receiving module 903, and a data obtaining module 904. The principle relationship of the modules is as follows:
a second receiving module 901, configured to receive a data acquisition instruction, where the data acquisition instruction carries identity information of the terminal 200; a second sending module 902, configured to send a data acquisition request to a corresponding terminal 200 according to the identity information of the terminal 200, where the data acquisition request carries the identity information of the server 100; a third receiving module 903, configured to receive feedback information sent by the terminal 200, where the feedback information carries an interactive information format; and the data obtaining module 904 is configured to analyze the feedback information according to an interactive information format to obtain target data.
In one embodiment, the data acquisition module 904 is configured to: analyzing the feedback information according to the interactive information format to obtain a data packet; extracting a message body from the data packet according to a preset decoding rule; and acquiring target data from the message body according to a preset data value assignment table.
Please refer to the description of the corresponding steps in the above embodiments of the method.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. An information transmission method, comprising:
receiving a data acquisition request sent by a server, wherein the data acquisition request carries identity information of the server;
determining an interactive information format according to the identity information of the server;
acquiring target data according to the interactive information format;
generating feedback information according to the target data and the interactive information format;
and sending the feedback information to the server.
2. The method of claim 1, wherein determining the format of the interactive information according to the identity information of the server comprises:
acquiring an identification code of the server;
and inquiring a comparison table in a local database according to the identification code to determine the format of the interactive information.
3. The method of claim 1, wherein generating feedback information based on the target data and the interactive information format comprises:
judging whether the target data is repeated or not according to the timestamp of the target data;
if the target data are repeated, marking the repeated target data;
and generating feedback information according to the marking information of the target data.
4. The method of claim 1, wherein generating feedback information based on the target data and the interactive information format comprises:
establishing a data packet according to the interactive information format;
packaging the target data according to a preset data value assigning table to generate a message body;
and filling the message body into the data packet according to the start and stop of the data packet to generate feedback information.
5. An information transmission method, comprising:
receiving a data acquisition instruction, wherein the data acquisition instruction carries identity information of a terminal;
sending a data acquisition request to the corresponding terminal according to the identity information of the terminal, wherein the data acquisition request carries server identity information;
receiving feedback information sent by the terminal, wherein the feedback information carries an interactive information format;
and analyzing the feedback information according to the interactive information format to acquire target data.
6. The method of claim 5, wherein the parsing the feedback information according to the interactive information format to obtain target data comprises:
analyzing the feedback information according to the interactive information format to obtain a data packet;
extracting a message body from the data packet according to a preset decoding rule;
and acquiring the target data from the message body according to a preset data value assignment table.
7. An information transmission apparatus, comprising:
the first receiving module is used for receiving a data acquisition request sent by a server, wherein the data acquisition request carries identity information of the server;
the information confirmation module is used for determining an interactive information format according to the identity information of the server;
the data acquisition module is used for acquiring target data according to the interactive information format;
the information generating module is used for generating feedback information according to the target data and the interactive information format;
and the first sending module is used for sending the feedback information to the server.
8. An information transmission apparatus, comprising:
the second receiving module is used for receiving a data acquisition instruction, and the data acquisition instruction carries the identity information of the terminal;
the second sending module is used for sending a data acquisition request to the corresponding terminal according to the identity information of the terminal, wherein the data acquisition request carries the identity information of the server;
a third receiving module, configured to receive feedback information sent by the terminal, where the feedback information carries an interactive information format;
and the data acquisition module is used for analyzing the feedback information according to the interactive information format to acquire target data.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for performing the method of any one of claims 1-4.
10. An electronic device, comprising:
a memory for storing a computer program;
a processor for performing the method of any one of claims 5 and 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010105659.9A CN111355787B (en) | 2020-02-20 | 2020-02-20 | Information transmission method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010105659.9A CN111355787B (en) | 2020-02-20 | 2020-02-20 | Information transmission method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111355787A true CN111355787A (en) | 2020-06-30 |
CN111355787B CN111355787B (en) | 2022-11-15 |
Family
ID=71195759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010105659.9A Active CN111355787B (en) | 2020-02-20 | 2020-02-20 | Information transmission method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111355787B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114760084A (en) * | 2021-03-10 | 2022-07-15 | 广州汽车集团股份有限公司 | Vehicle data communication method, device and system |
Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101827341A (en) * | 2009-03-04 | 2010-09-08 | 大唐移动通信设备有限公司 | Unit format indication method, system and device |
US20120316726A1 (en) * | 2011-06-13 | 2012-12-13 | General Electric Company | Data conversion system and method for converting data that is distributed in a vehicle |
CN104753551A (en) * | 2013-12-31 | 2015-07-01 | 中国移动通信集团公司 | Vehicle-mounted terminal device, driving consumption data acquiring method and system |
CN105046955A (en) * | 2015-06-23 | 2015-11-11 | 章书毅 | Method and system for acquiring traffic conditions of motor vehicles on the roads in real time |
CN106210063A (en) * | 2016-07-14 | 2016-12-07 | 深圳市元征软件开发有限公司 | Vehicle monitoring method and device |
US20160381205A1 (en) * | 2015-06-24 | 2016-12-29 | Motorola Mobility Llc | Mobile communication device with public transportation detection for determining hands free mode settings |
CN106878917A (en) * | 2015-12-11 | 2017-06-20 | 比亚迪股份有限公司 | The transfer control method of information, system, terminal and data acquisition unit |
CN108647315A (en) * | 2018-05-10 | 2018-10-12 | 平安壹钱包电子商务有限公司 | Collecting method and system |
CN109194617A (en) * | 2018-08-01 | 2019-01-11 | 杭州电子科技大学 | The automatically parsing of XML message, packaging method and device |
CN109213114A (en) * | 2017-07-04 | 2019-01-15 | 百度在线网络技术(北京)有限公司 | Mobile unit configuration method and device |
WO2019028269A2 (en) * | 2017-08-02 | 2019-02-07 | Strong Force Iot Portfolio 2016, Llc | Methods and systems for detection in an industrial internet of things data collection environment with large data sets |
CN109525964A (en) * | 2018-11-28 | 2019-03-26 | 北京锦鸿希电信息技术股份有限公司 | Vehicle-mounted wireless communication method and equipment |
CN109572595A (en) * | 2018-12-03 | 2019-04-05 | 斑马网络技术有限公司 | Collecting method, device, equipment and storage medium |
CN109613867A (en) * | 2018-12-13 | 2019-04-12 | 深圳桓轩科技有限公司 | A kind of Research on Vehicle Remote Monitoring System Based on GPRS and method |
CN109885582A (en) * | 2019-03-05 | 2019-06-14 | 北京主线科技有限公司 | Manage the method, apparatus and system of unmanned data |
CN109906573A (en) * | 2019-02-01 | 2019-06-18 | 北京小米移动软件有限公司 | Transformat determines method, apparatus, base station, terminal and storage medium |
CN110351177A (en) * | 2019-07-08 | 2019-10-18 | 浙江吉利控股集团有限公司 | A kind of data encapsulation method and device |
CN110365761A (en) * | 2019-07-10 | 2019-10-22 | 兰州屹鼎环保科技有限公司 | A kind of the data uploading system and its method of vehicle-mounted OBD |
CN110784466A (en) * | 2019-10-29 | 2020-02-11 | 北京汽车集团有限公司 | Information authentication method, device and equipment |
CN110796763A (en) * | 2019-09-24 | 2020-02-14 | 北京汽车集团有限公司 | Vehicle state data processing method, device and system |
-
2020
- 2020-02-20 CN CN202010105659.9A patent/CN111355787B/en active Active
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101827341A (en) * | 2009-03-04 | 2010-09-08 | 大唐移动通信设备有限公司 | Unit format indication method, system and device |
US20120316726A1 (en) * | 2011-06-13 | 2012-12-13 | General Electric Company | Data conversion system and method for converting data that is distributed in a vehicle |
CN104753551A (en) * | 2013-12-31 | 2015-07-01 | 中国移动通信集团公司 | Vehicle-mounted terminal device, driving consumption data acquiring method and system |
CN105046955A (en) * | 2015-06-23 | 2015-11-11 | 章书毅 | Method and system for acquiring traffic conditions of motor vehicles on the roads in real time |
US20160381205A1 (en) * | 2015-06-24 | 2016-12-29 | Motorola Mobility Llc | Mobile communication device with public transportation detection for determining hands free mode settings |
CN106878917A (en) * | 2015-12-11 | 2017-06-20 | 比亚迪股份有限公司 | The transfer control method of information, system, terminal and data acquisition unit |
CN106210063A (en) * | 2016-07-14 | 2016-12-07 | 深圳市元征软件开发有限公司 | Vehicle monitoring method and device |
CN109213114A (en) * | 2017-07-04 | 2019-01-15 | 百度在线网络技术(北京)有限公司 | Mobile unit configuration method and device |
WO2019028269A2 (en) * | 2017-08-02 | 2019-02-07 | Strong Force Iot Portfolio 2016, Llc | Methods and systems for detection in an industrial internet of things data collection environment with large data sets |
CN108647315A (en) * | 2018-05-10 | 2018-10-12 | 平安壹钱包电子商务有限公司 | Collecting method and system |
CN109194617A (en) * | 2018-08-01 | 2019-01-11 | 杭州电子科技大学 | The automatically parsing of XML message, packaging method and device |
CN109525964A (en) * | 2018-11-28 | 2019-03-26 | 北京锦鸿希电信息技术股份有限公司 | Vehicle-mounted wireless communication method and equipment |
CN109572595A (en) * | 2018-12-03 | 2019-04-05 | 斑马网络技术有限公司 | Collecting method, device, equipment and storage medium |
CN109613867A (en) * | 2018-12-13 | 2019-04-12 | 深圳桓轩科技有限公司 | A kind of Research on Vehicle Remote Monitoring System Based on GPRS and method |
CN109906573A (en) * | 2019-02-01 | 2019-06-18 | 北京小米移动软件有限公司 | Transformat determines method, apparatus, base station, terminal and storage medium |
CN109885582A (en) * | 2019-03-05 | 2019-06-14 | 北京主线科技有限公司 | Manage the method, apparatus and system of unmanned data |
CN110351177A (en) * | 2019-07-08 | 2019-10-18 | 浙江吉利控股集团有限公司 | A kind of data encapsulation method and device |
CN110365761A (en) * | 2019-07-10 | 2019-10-22 | 兰州屹鼎环保科技有限公司 | A kind of the data uploading system and its method of vehicle-mounted OBD |
CN110796763A (en) * | 2019-09-24 | 2020-02-14 | 北京汽车集团有限公司 | Vehicle state data processing method, device and system |
CN110784466A (en) * | 2019-10-29 | 2020-02-11 | 北京汽车集团有限公司 | Information authentication method, device and equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114760084A (en) * | 2021-03-10 | 2022-07-15 | 广州汽车集团股份有限公司 | Vehicle data communication method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN111355787B (en) | 2022-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108965484B (en) | Internet of things data transmission method, system and terminal | |
CN112788128B (en) | Business information pushing method and device, storage medium and electronic device | |
CN110768882B (en) | Data monitoring method and system, monitoring equipment and vehicle | |
CN111970353A (en) | Data processing method and device for heterogeneous equipment in Internet of things of cloud computing platform | |
CN103532803A (en) | Networking method and system for Internet of Things | |
CN110417713B (en) | Equipment data transmission method and device based on Internet of things | |
CN112187936A (en) | Vehicle data processing method, device, equipment, storage medium and vehicle | |
CN111355787B (en) | Information transmission method and device and electronic equipment | |
CN111314356A (en) | Communication data transmission method and device and electronic equipment | |
CN105099769A (en) | Method, device and system for processing abnormal operations of service platform | |
CN104468248A (en) | Service performance monitoring method, reverse proxy server, statistical analysis server and system | |
CN115134380A (en) | Data transmission method and device, electronic equipment and storage medium | |
CN103346961B (en) | The method and system that a kind of data packing is exchanged | |
CN112491994B (en) | Identification method and communication device of Internet of vehicles terminal | |
CN113645131B (en) | Data processing method, device, electronic equipment and storage medium | |
CN112769741B (en) | Message communication method and electronic equipment | |
CN103257648A (en) | Automobile calibration system | |
CN109348413B (en) | Position information sharing method, device, equipment and storage medium | |
CN115314553B (en) | Method, device, equipment, system and readable storage medium for data processing | |
CN113949640A (en) | Service data processing method and device | |
CN111526075A (en) | Intelligent device control method, storage medium and electronic device | |
CN106648561B (en) | Service layer information processing method and device | |
CN114827188B (en) | Platform equipment management method, system, terminal and storage medium | |
CN113709141B (en) | Communication method and device applied to Internet of things firmware and intelligent terminal | |
CN111131277B (en) | Data pushing method and system |
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 |