CN111355787B - Information transmission method and device and electronic equipment - Google Patents

Information transmission method and device and electronic equipment Download PDF

Info

Publication number
CN111355787B
CN111355787B CN202010105659.9A CN202010105659A CN111355787B CN 111355787 B CN111355787 B CN 111355787B CN 202010105659 A CN202010105659 A CN 202010105659A CN 111355787 B CN111355787 B CN 111355787B
Authority
CN
China
Prior art keywords
information
data
server
format
target data
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
CN202010105659.9A
Other languages
Chinese (zh)
Other versions
CN111355787A (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.)
Beijing Automotive Group Co Ltd
Beijing Automotive Research Institute Co Ltd
Original Assignee
Beijing Automotive Group Co Ltd
Beijing Automotive Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Automotive Group Co Ltd, Beijing Automotive Research Institute Co Ltd filed Critical Beijing Automotive Group Co Ltd
Priority to CN202010105659.9A priority Critical patent/CN111355787B/en
Publication of CN111355787A publication Critical patent/CN111355787A/en
Application granted granted Critical
Publication of CN111355787B publication Critical patent/CN111355787B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2423Interactive query statement specification based on a database schema
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (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)
  • Computer Security & Cryptography (AREA)
  • Cardiology (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

Information transmission method and device and electronic equipment
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 technical requirements of the demonstration operation of uploading and issuing data of different automobile factories, different vehicle types and different data types are not uniform, so that the use is complex and the compatibility is poor. The condition brings inconvenience to real-time management of vehicle multi-dimensional information transmission between vehicles and cloud servers.
Disclosure of Invention
An embodiment of the present application aims 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 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 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.
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 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 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
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 the 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 one 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 interactive 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:
Figure BDA0002387933270000081
Figure BDA0002387933270000091
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 (UL)
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 a V2X message. Firstly, an ASN _1 message body corresponding to V2X is 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
Figure BDA0002387933270000111
Figure BDA0002387933270000121
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 embodiment.
Step 504: and judging whether the target data is repeated or not.
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: the repeated target data is marked.
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: the feedback information sent by the terminal 200 is received, and the feedback information carries the format of the interactive information.
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 apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. 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.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
It should be noted that, if the functions are implemented in the form of software functional modules and sold or used as independent products, the functions may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several 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 methods described in 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 to the present application 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; the interactive information format comprises a data transmission format and data transmission content for transmitting the target data to the server;
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-stop character 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; the interactive information format comprises a transmission format and transmission content of the feedback information;
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 interactive information format comprises a data transmission format and data transmission content for transmitting the target data to the server;
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; the interactive information format comprises a transmission format and transmission content of the feedback information;
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.
CN202010105659.9A 2020-02-20 2020-02-20 Information transmission method and device and electronic equipment Active CN111355787B (en)

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 CN111355787A (en) 2020-06-30
CN111355787B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760084A (en) * 2021-03-10 2022-07-15 广州汽车集团股份有限公司 Vehicle data communication method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753551A (en) * 2013-12-31 2015-07-01 中国移动通信集团公司 Vehicle-mounted terminal device, driving consumption data acquiring method and system
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

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827341B (en) * 2009-03-04 2013-06-05 电信科学技术研究院 Unit format indication method, system and device
US8510026B2 (en) * 2011-06-13 2013-08-13 General Electric Company Data conversion system and method for converting data that is distributed in a vehicle
CN105046955B (en) * 2015-06-23 2018-08-31 章书毅 A kind of acquisition system of the real-time automobile traffic road conditions of road
US9571627B2 (en) * 2015-06-24 2017-02-14 Motorola Mobility Llc Mobile communication device with public transportation detection for determining hands free mode settings
CN106878917B (en) * 2015-12-11 2021-07-09 比亚迪股份有限公司 Information transmission control method, 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
CN108647315A (en) * 2018-05-10 2018-10-12 平安壹钱包电子商务有限公司 Collecting method and system
CN109194617B (en) * 2018-08-01 2021-06-15 杭州电子科技大学 Automatic parsing and packaging method and device for XML (extensive markup language) message
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
CN109906573B (en) * 2019-02-01 2021-11-02 北京小米移动软件有限公司 Transmission format determining method, device, base station, terminal and storage medium
CN109885582A (en) * 2019-03-05 2019-06-14 北京主线科技有限公司 Manage the method, apparatus and system of unmanned data
CN110351177B (en) * 2019-07-08 2021-07-23 浙江吉利控股集团有限公司 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
CN110784466B (en) * 2019-10-29 2022-07-12 北京汽车集团有限公司 Information authentication method, device and equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753551A (en) * 2013-12-31 2015-07-01 中国移动通信集团公司 Vehicle-mounted terminal device, driving consumption data acquiring method and system
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

Also Published As

Publication number Publication date
CN111355787A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN108965484B (en) Internet of things data transmission method, system and terminal
CN110768882B (en) Data monitoring method and system, monitoring equipment and vehicle
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
CN103532803A (en) Networking method and system for Internet of Things
CN112788128B (en) Business information pushing method and device, storage medium and electronic device
CN110417713B (en) Equipment data transmission method and device based on Internet of things
CN110290185B (en) Internet of things equipment integration system based on Agent and application method thereof
CN105082540A (en) Method for controlling 3D printer through 3D slicing device
CN111355787B (en) Information transmission method and device and electronic equipment
CN113872840A (en) CAN data acquisition and transmission method, device and vehicle-mounted terminal
KR20170033592A (en) Method and apparatus for transmitting/receiving data in a communication system
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
CN111314356A (en) Communication data transmission method and device and electronic equipment
CN116668988A (en) C-V2X unified access gateway and access method based on multi-source sensing equipment
CN103346961B (en) The method and system that a kind of data packing is exchanged
CN114745681B (en) Rich media information display method, rich media information display equipment and computer storage medium
CN113645131B (en) Data processing method, device, electronic equipment and storage medium
CN112491994B (en) Identification method and communication device of Internet of vehicles terminal
CN112769741B (en) Message communication method and electronic equipment
CN115209179A (en) Video data processing method and device
CN109348413B (en) Position information sharing method, device, equipment and storage medium
CN113204492A (en) Android application testing method and device
CN111526075A (en) Intelligent device control method, storage medium and electronic device
CN116055577B (en) Protocol conversion method, device, equipment and storage medium

Legal Events

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