CN109951820A - A kind of data transmission method and relevant apparatus - Google Patents

A kind of data transmission method and relevant apparatus Download PDF

Info

Publication number
CN109951820A
CN109951820A CN201910138083.3A CN201910138083A CN109951820A CN 109951820 A CN109951820 A CN 109951820A CN 201910138083 A CN201910138083 A CN 201910138083A CN 109951820 A CN109951820 A CN 109951820A
Authority
CN
China
Prior art keywords
data
vehicle
vehicle operation
operation data
transcoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910138083.3A
Other languages
Chinese (zh)
Inventor
刘新
赵涛
张秋菊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201910138083.3A priority Critical patent/CN109951820A/en
Publication of CN109951820A publication Critical patent/CN109951820A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application discloses a kind of data transmission method and relevant apparatus, for reducing the data volume during vehicle data transmission, to reduce communication cost.The embodiment of the present application method includes: foundation and the communication connection of vehicle diagnosing apparatus;The vehicle operation data that the vehicle diagnosing apparatus is sent is received, the data ID of the vehicle operation data is subjected to transcoding, to reduce the data volume of transmission, the vehicle operation data includes: the data ID and corresponding data value;Vehicle operation data after transcoding is sent to vehicle application server.

Description

A kind of data transmission method and relevant apparatus
Technical field
This application involves vehicle data export technique field more particularly to a kind of data transmission methods and relevant apparatus.
Background technique
With the high speed development of network technology and vehicle technology, data transmission seems especially heavy in vehicle communication technical field It wants, in vehicle operation, the acquisition and transmission per second for having vehicle data, with the operating status for monitoring vehicle, therefore Existing vehicle data transmission belongs to high-frequency data transmission.
And existing vehicle data transmission is to carry out data biography according to existing mode by 4G connection network communication mostly It when defeated, needs to consume a large amount of flow, to increase the cost of communication, and how to reduce communication cost, made with improving user It is a problem urgently to be resolved with experience.
Summary of the invention
The embodiment of the present application provides data transmission method and relevant apparatus, for during reducing vehicle data transmission Data volume, to reduce communication cost.
The embodiment of the present application first aspect provides a kind of data transmission method, is applied to vehicle-mounted data streaming server, packet It includes:
Establish the communication connection with vehicle diagnosing apparatus;
The vehicle operation data that the vehicle diagnosing apparatus is sent is received, the data ID of the vehicle operation data is carried out Transcoding, to reduce the data volume of transmission, the vehicle operation data includes: the data ID and corresponding data value;
Vehicle operation data after transcoding is sent to vehicle application server.
Preferably, the data ID by the vehicle operation data carries out transcoding, to reduce the data volume of transmission, packet It includes:
The data ID of the vehicle operation data is subjected to transcoding according to preset data code table, so that marking by 1Bit Know corresponding data ID, and the vehicle operation data after transcoding is packaged with preset put in order, to reduce transmission Data volume.
Preferably, the communication connection of the foundation and vehicle diagnosing apparatus, comprising:
Communication link is established by USB or universal asynchronous receiving-transmitting transmitter UART or bluetooth and the vehicle diagnosing apparatus It connects.
The embodiment of the present application second aspect provides a kind of data transmission method, is applied to vehicle application service
Device, comprising:
Vehicle operation data after receiving the transcoding that vehicle-mounted data streaming server is sent;
Vehicle operation data after the transcoding is decoded, to obtain vehicle operation data.
Preferably, the vehicle operation data by after the transcoding is decoded, to obtain vehicle operation data, packet It includes:
Vehicle operation data after transcoding is decoded according to preset data code table, and is put in order by preset Obtain corresponding data ID and corresponding data value.
Preferably, the method also includes:
When receiving the vehicle operation data acquisition request of client transmission, decoded vehicle operation data is sent To the client.
The embodiment of the present application third aspect provides a kind of data transmission device, is applied to vehicle-mounted data streaming server, packet It includes:
Unit is established, for establishing and the communication connection of vehicle diagnosing apparatus;
The vehicle is run number by transcoding units, the vehicle operation data sent for receiving the vehicle diagnosing apparatus According to data ID carry out transcoding, to reduce the data volume of transmission, the vehicle operation data includes: the data ID and corresponding Data value;
First transmission unit, for the vehicle operation data after transcoding to be sent to vehicle application server.
Preferably, the transcoding units, are specifically used for:
The data ID of the vehicle operation data is subjected to transcoding according to preset data code table, so that marking by 1Bit Know corresponding data ID, and the vehicle operation data after transcoding is packaged with preset put in order, to reduce transmission Data volume.
Preferably, described to establish unit, it is specifically used for:
Communication link is established by USB or universal asynchronous receiving-transmitting transmitter UART or bluetooth and the vehicle diagnosing apparatus It connects.
The embodiment of the present application fourth aspect provides a kind of data transmission device, is applied to vehicle application server, comprising:
Receiving unit, the vehicle operation data after transcoding for receiving the transmission of vehicle-mounted data streaming server;
Decoding unit, for the vehicle operation data after the transcoding to be decoded, to obtain vehicle operation data.
Preferably, the decoding unit, is specifically used for:
Vehicle operation data after transcoding is decoded according to preset data code table, and is put in order by preset Obtain corresponding data ID and corresponding data value.
Preferably, the data transmission device, further includes:
Second transmission unit, for when receive client transmission vehicle operation data acquisition request when, after decoding Vehicle operation data be sent to the client.
The embodiment of the present application also provides a kind of vehicle-mounted data streaming server, including memory and processor, the processing Device is passed when executing the computer program being stored on memory for realizing the data that the embodiment of the present application first aspect provides Transmission method.
The embodiment of the present application also provides a kind of vehicle application server, including memory and processor, the processors When executing the computer program being stored on memory, transmitted for realizing the data that the embodiment of the present application second aspect provides Method.
The embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter When calculation machine program is executed by one or more processors, provided for realizing the embodiment of the present application first aspect or second aspect Data transmission method.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
In the embodiment of the present application, vehicle-mounted data streaming server is established and the communication connection of vehicle diagnosing apparatus, described in reception The data ID of the vehicle operation data is carried out transcoding by the vehicle operation data that vehicle diagnosing apparatus is sent, to reduce transmission Data volume, the vehicle operation data includes: the data ID and corresponding data value, by the vehicle operation data after transcoding It is sent to vehicle application server, in the embodiment of the present application, vehicle-mounted data streaming server, will when receiving vehicle operation data Vehicle operation data carries out transcoding, to reduce the occupied data volume of vehicle operation data, to reduce communication cost.
Detailed description of the invention
Fig. 1 is a kind of one embodiment schematic diagram of data transmission method in the embodiment of the present application;
Fig. 2 is the refinement step of step 102 in the embodiment of the present application;
Fig. 3 is a kind of one embodiment schematic diagram of data transmission method in the embodiment of the present application;
Fig. 4 is the refinement step of step 302 in the embodiment of the present application;
Fig. 5 is a kind of another embodiment schematic diagram of data transmission method in the embodiment of the present application;
Fig. 6 is that one embodiment of the data transmission device in the embodiment of the present application applied to vehicle-mounted data streaming server is shown It is intended to;
Fig. 7 is one embodiment signal for being applied to the data transmission device of vehicle application server in the embodiment of the present application Figure.
Specific embodiment
The embodiment of the present application provides a kind of data transmission method and relevant apparatus, for reducing the number of vehicle data transmission According to amount, to reduce communication cost.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing Four " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein or describing Sequence other than appearance is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering is non-exclusive Include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly arrange Those of out step or unit, but may include be not clearly listed or it is solid for these process, methods, product or equipment The other step or units having.
It in vehicle communication technology, is typically provided with vehicle-mounted data streaming server (i.e. the micro-control unit MCU of vehicle), uses In overall communication's data of control vehicle, on the one hand it can be interacted with vehicle diagnosing apparatus (OBD), to obtain vehicle Real-time running data can also be interacted with vehicle application server, for carrying out the real-time running data of vehicle It passes, so that user obtains the operation data of vehicle by client from vehicle application server, specifically, please referring to figure 1, one embodiment of data transmission method in the embodiment of the present application, comprising:
101, the communication connection with vehicle diagnosing apparatus is established;
In vehicle data communication, vehicle operation data is obtained, needs elder generation and vehicle diagnosing apparatus to establish and communicates to connect, To obtain the operation data of vehicle by vehicle diagnosing apparatus, specifically, vehicle diagnosing apparatus and vehicle-mounted data streaming server (MCU) mode for establishing communication connection can be in such a way that USB data line connects, and establish with vehicle-mounted data streaming server Communication connection is also possible to by way of universal asynchronous receiving-transmitting transmitter UART (serial ports) establish with vehicle-mounted data streaming server Communication connection can also be and establish communication connection with vehicle-mounted data streaming server by way of bluetooth connection, herein to vehicle The mode that communication connection is established between diagnostic device and vehicle-mounted data streaming server is not particularly limited.
102, the vehicle operation data that the vehicle diagnosing apparatus is sent is received, by the data ID of the vehicle operation data Transcoding is carried out, to reduce the data volume of transmission, the vehicle operation data includes: the data ID and corresponding data value;
Vehicle diagnosing apparatus OBD device can monitor multiple systems and component, including engine, catalytic converter, particle Trap, lambda sensor, emission control systems, fuel system, EGR etc., vehicle diagnosing apparatus OBD are getting vehicle operation number According to rear, vehicle operation data is sent to vehicle-mounted data streaming server, so that vehicle-mounted data streaming server is to vehicle operation data ID carries out transcoding, to reduce the data volume of transmission, wherein vehicle operation data includes: data ID and corresponding data value.
Specifically, data ID is for the contents of a project belonging to mark data value, such as speed 70km/s, revolving speed 100r/s, 40 ° of water temperature, then " speed " is the data ID of numerical value 70km/s, and " revolving speed " is the data ID of numerical value " 100r/s ", and " water temperature " is number It is worth the data ID of " 40 ° ", in the prior art, being identified by two bytes and indicate to data ID, and in order to reduce data It measures, transcoding is carried out to data ID in the application, so that the byte number that the data ID after transcoding is occupied is less, to reach saving data The purpose of amount, and the process for carrying out transcoding in the application to data ID, then be specifically described in the following embodiments, Details are not described herein again.
103, the vehicle operation data after transcoding is sent to vehicle application server.
After vehicle-mounted data streaming server is completed to the transcoding of vehicle operation data, the vehicle operation data after transcoding is sent It can be from vehicle application when so that user being interacted by client and vehicle application server to vehicle application server Vehicle operation data is obtained on server.
In the embodiment of the present application, vehicle-mounted data streaming server is established and the communication connection of vehicle diagnosing apparatus, described in reception The data ID of the vehicle operation data is carried out transcoding by the vehicle operation data that vehicle diagnosing apparatus is sent, to reduce transmission Data volume, the vehicle operation data includes: the data ID and corresponding data value, by the vehicle operation data after transcoding It is sent to vehicle application server, in the embodiment of the present application, vehicle-mounted data streaming server, will when receiving vehicle operation data Vehicle operation data carries out transcoding, to reduce the occupied data volume of vehicle operation data, to reduce communication cost.
Based on Fig. 1 the embodiment described, the step 102 in the embodiment described in Fig. 1 is described in detail below, is please referred to Fig. 2, Fig. 2 are the refinement step of step 102:
201, the data ID of the vehicle operation data is subjected to transcoding according to preset data code table, so that passing through 1Bit To identify corresponding data ID, and the vehicle operation data after transcoding is packaged with preset put in order, is passed with reducing Defeated data volume;
After vehicle-mounted data streaming server receives vehicle operation data, by vehicle operation data according to preset data code table Transcoding is carried out, so that identifying corresponding data ID by 1Bit, and by the vehicle operation data after transcoding with preset arrangement Sequence packages, to reduce the data volume of transmission.
Specifically, assuming vehicle operation data are as follows: such as speed 70km/s, revolving speed 100r/s, 40 ° of water temperature, then in logarithm When carrying out transcoding according to ID, it can be packaged by preset put in order to vehicle operation data, as specified in transcoding table Putting in order as first data is speed, and second data is revolving speed, and third data are water temperature, then data flow can pass through Preset put in order carrys out mark data ID, and if data flow is 70,100,40, then putting in order in data flow has indicated Each data data items subjected namely data ID, such as the data ID of first data are " speed ", second data Data ID is " revolving speed ", and the data ID of third data is " water temperature ", but different vehicles, may support data items content Difference, such as BMW E30, the available water temperature to vehicle, and masses W20, the water temperature less than vehicle is but obtained, and in order to guarantee Whether correct corresponding relationship between data content and data sequence can also have this in mark data stream by a Bit Whether data items come in mark data stream to include the data items, when data ID is identified as 1 such as by data 1 or 0 When, then show in data flow to include the data item, and when data ID is identified as 0, then show in data flow not comprising being somebody's turn to do Data item.
Specifically, it is speed that data arrangement sequence specified in hypothesis transcoded data table, which is first, second is revolving speed, Third is water temperature, and indicates that data stream packets contain the data items with 1, and use 0 indicates that data flow does not include the data items, And the data items in BMW vehicle data flow are vehicle speed 70km/s, revolving speed 100r/s, and 40 ° of water temperature, then to BMW car Data flow after data stream encoding is 70,100,40, and data ID is 1,1,1;And the data items in public vehicle data flow It for speed 70km/s, revolving speed 100r/s, but obtains less than water temperature, is then to the data flow after public vehicle data stream encoding 70,100;Data ID is 1,1,0.
A number is identified by 1 Bit and preset put in order it can be seen from the example of above-mentioned two data flow According to ID, relative to it is original by two bytes (2Byte) come the scheme of mark data ID, it will be apparent that reduce the data of transmission Amount, reduces communication cost.
Such as: to transmit 100 data streams, transmission frequency calculates for 5s/ times, in traditional processing mode, a data Corresponding two bytes of each data ID in stream, the flow monthly consumed is about 49M, and according to the data processing method of the application, Corresponding 1 bit of each data ID in one data stream, monthly consumed flow is about 3.2M, it will be apparent that reduces the number of transmission According to amount.
In the embodiment of the present application, vehicle-mounted data streaming server lateral root has been carried out in detail according to the specific transcoding process of transcoding table Description, increases the exploitativeness of the embodiment of the present application.
Then the data transmission method in the application is described from vehicle application server-side below, please refers to figure 3, one embodiment of data transmission method in the embodiment of the present application, comprising:
301, the vehicle operation data after the transcoding that vehicle-mounted data streaming server is sent is received;
After vehicle-mounted data streaming server is completed to the transcoding of vehicle operation data, the vehicle operation data after transcoding is sent To vehicle application server, vehicle application server receives the vehicle operation data after transcoding, thens follow the steps 302.
302, the vehicle operation data after the transcoding is decoded, to obtain vehicle operation data.
In order to facilitate vehicle application server when docking with client, vehicle operation data is sent to client, vehicle Application server is decoded the vehicle operation data after transcoding when receiving the vehicle operation data after transcoding, with Vehicle operation data is obtained, specifically, the decoding process to vehicle operation data is described in detail in the following embodiments, Details are not described herein again.
In the embodiment of the present application, data transmission method is described from vehicle application server-side, and application clothes Device be engaged in after receiving the vehicle operation data after transcoding, decoding is executed to vehicle operation data, in order to hand over client When mutual, vehicle operation data is sent to client, to realize the detection to travel condition of vehicle, improves the embodiment of the present application Convenience.
Based on Fig. 3 the embodiment described, step 302 is described below in detail, referring to Fig. 4, Fig. 4 is the refinement of step 302 Step:
401, the vehicle operation data after transcoding is decoded according to preset data code table, and passes through preset arrangement Sequence obtains corresponding data ID and corresponding data value.
Corresponding to Fig. 2 the embodiment described, vehicle application server is Vehicular data to the decoding process of vehicle operation data According to streaming server to the inverse process of vehicle operation data cataloged procedure, i.e. vehicle after transcoding is run number by vehicle application server It is decoded according to according to preset data code table, and corresponding data ID and corresponding data is obtained by preset put in order Value.
Specifically, assuming that data flow is 70,100,40, data ID is 1,1,1;Then vehicle application server is read preset Data code table, the data code table for decoding side is identical with the coding data code table of side, confirms preset order from data code table With the corresponding relationship between data ID, such as first is speed, and second is revolving speed, and third is water temperature, and " 1 " indicates the number According to including corresponding data ID in stream, " 0 " indicates not including corresponding data ID in the data flow, then the number to 70,100,40 The data ID and data value decoded according to stream is respectively as follows: speed: 70, revolving speed: and 100, water temperature: 40;And if data flow be 70,40, Data ID is 1,0,1, then the data ID and data value decoded to 70,40 is respectively as follows: speed 70, water temperature 40, because preset Second is revolving speed in putting in order, but the corresponding ID of revolving speed is identified as 0, that is, shows not including " revolving speed " in the data flow, therefore The data ID decoded to 40 is water temperature, rather than revolving speed.
The present embodiment is described in detail the data decoding procedure of vehicle control server, improves the embodiment of the present application Exploitativeness.
Based on Fig. 3 the embodiment described, after step 302, following steps can also be performed, referring specifically to Fig. 5, originally Apply for another embodiment of data transmission method in embodiment, comprising:
501, when receiving the vehicle operation data acquisition request of client transmission, by decoded vehicle operation data It is sent to the client.
After vehicle application server completes the decoding to transcoding rear vehicle operation data, if vehicle application server receives To client send vehicle operation data acquisition request when, then decoded vehicle operation data is sent to client, side Just monitoring of the user to vehicle operation data.
The data transmission method in the embodiment of the present application is described above, below then to vehicle-mounted in the application Data stream server is described, referring to Fig. 6, providing a kind of data transmission device in the embodiment of the present application, is applied to vehicle Carry data stream server, comprising:
Unit 601 is established, for establishing and the communication connection of vehicle diagnosing apparatus;
Transcoding units 602, the vehicle operation data sent for receiving the vehicle diagnosing apparatus, the vehicle is run The data ID of data carries out transcoding, and to reduce the data volume of transmission, the vehicle operation data includes: the data ID and correspondence Data value;
First transmission unit 603, for the vehicle operation data after transcoding to be sent to vehicle application server.
Preferably, the transcoding units 602, are specifically used for:
The data ID of the vehicle operation data is subjected to transcoding according to preset data code table, so that marking by 1Bit Know corresponding data ID, and the vehicle operation data after transcoding is packaged with preset put in order, to reduce transmission Data volume.
Preferably, described to establish unit 601, it is specifically used for:
Communication link is established by USB or universal asynchronous receiving-transmitting transmitter UART or bluetooth and the vehicle diagnosing apparatus It connects.
It should be noted that the effect of each unit is similar with described in embodiment described in Fig. 1 in the embodiment of the present application, this Place repeats no more.
In the embodiment of the present application, the data transmission device of vehicle-mounted data streaming server is examined by establishing unit 601 with vehicle Disconnected device establishes communication connection, receives the vehicle operation data that the vehicle diagnosing apparatus is sent, by transcoding units 602 by institute The data ID for stating vehicle operation data carries out transcoding, and to reduce the data volume of transmission, the vehicle operation data includes: the number According to ID and corresponding data value, the vehicle operation data after transcoding is sent to vehicle application server, in the embodiment of the present application, The data transmission device of vehicle-mounted data streaming server carries out transcoding when receiving vehicle operation data, by vehicle operation data, To reduce the occupied data volume of vehicle operation data, to reduce communication cost.
Then the data transmission device for being applied to vehicle application server in the application is described below, please refers to figure 7, a kind of data transmission device is provided in the embodiment of the present application, is applied to vehicle application server, comprising:
Receiving unit 701, for receive vehicle-mounted data streaming server data transmission device send transcoding after vehicle Operation data;
Decoding unit 702, for the vehicle operation data after the transcoding to be decoded, to obtain vehicle operation number According to.
Preferably, the decoding unit 702, is specifically used for:
Vehicle operation data after transcoding is decoded according to preset data code table, and is put in order by preset Obtain corresponding data ID and corresponding data value.
Preferably, the data transmission device of the vehicle application server, further includes:
Second transmission unit 703, for will decode when receiving the vehicle operation data acquisition request of client transmission Vehicle operation data afterwards is sent to the client.
It should be noted that the effect of each unit is similar with described in embodiment described in Fig. 3 and Fig. 4 in the present embodiment, Details are not described herein again.
It is passed above from data of the angle of modular functionality entity to the vehicle-mounted data streaming server in the embodiment of the present application The data transmission device of defeated device and vehicle application server is described, below from the angle of hardware handles to the application reality The computer installation applied in example is described:
Function of the computer installation for realizing vehicle-mounted data streaming server side, computer dress in the embodiment of the present application Setting one embodiment includes:
Processor and memory;
Memory can when processor is used to execute the computer program stored in memory for storing computer program To realize following steps:
Establish the communication connection with vehicle diagnosing apparatus;
The vehicle operation data that the vehicle diagnosing apparatus is sent is received, the data ID of the vehicle operation data is carried out Transcoding, to reduce the data volume of transmission, the vehicle operation data includes: the data ID and corresponding data value;
Vehicle operation data after transcoding is sent to vehicle application server.
In some embodiments of the present application, processor can be also used for realizing following steps:
The data ID of the vehicle operation data is subjected to transcoding according to preset data code table, so that marking by 1Bit Know corresponding data ID, and the vehicle operation data after transcoding is packaged with preset put in order, to reduce transmission Data volume.
In some embodiments of the present application, processor can be also used for realizing following steps:
Communication link is established by USB or universal asynchronous receiving-transmitting transmitter UART or bluetooth and the vehicle diagnosing apparatus It connects.
Function of the computer installation for realizing vehicle application server-side, computer installation in the embodiment of the present application Another embodiment includes:
Processor and memory;
Memory can when processor is used to execute the computer program stored in memory for storing computer program To realize following steps:
Vehicle operation data after receiving the transcoding that vehicle-mounted data streaming server is sent;
Vehicle operation data after the transcoding is decoded, to obtain vehicle operation data.
In some embodiments of the present application, processor can be also used for realizing following steps:
Vehicle operation data after transcoding is decoded according to preset data code table, and is put in order by preset Obtain corresponding data ID and corresponding data value.
In some embodiments of the present application, processor can be also used for realizing following steps:
When receiving the vehicle operation data acquisition request of client transmission, decoded vehicle operation data is sent To the client.
It is understood that either vehicle-mounted data streaming server side or vehicle application server-side, are above stated When processor in bright computer installation executes the computer program, above-mentioned corresponding each Installation practice also may be implemented The function of middle each unit, details are not described herein again.Illustratively, the computer program can be divided into one or more moulds Block/unit, one or more of module/units are stored in the memory, and are executed by the processor, with complete At the application.One or more of module/units can be the series of computation machine program instruction that can complete specific function Section, the instruction segment is for describing the computer program holding in the vehicle-mounted data streaming server/vehicle application server Row process.For example, the computer program can be divided into each unit in above-mentioned vehicle-mounted data streaming server, each unit can To realize the concrete function as described in above-mentioned corresponding vehicle-mounted data streaming server.
The computer installation can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The computer installation may include, but are not limited to processor, memory.It will be understood by those skilled in the art that processor, Memory is only the example of computer installation, does not constitute the restriction to computer installation, may include more or fewer Component perhaps combines certain components or different components, such as the computer installation can also be set including input and output Standby, network access equipment, bus etc..
The processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable GateArray, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor is the control centre of the computer installation, utilizes various interfaces and the entire computer installation of connection Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization The various functions of computer installation.The memory can mainly include storing program area and storage data area, wherein storage program It area can application program needed for storage program area, at least one function etc.;Storage data area can store the use according to terminal The data etc. created.In addition, memory may include high-speed random access memory, it can also include non-volatile memories Device, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solid State memory device.
Present invention also provides a kind of computer readable storage mediums, and the computer readable storage medium is for realizing vehicle-mounted The function of data stream server side is stored thereon with computer program, when computer program is executed by processor, processor, It can be used for executing following steps:
Vehicle operation data after receiving the transcoding that vehicle-mounted data streaming server is sent;
Vehicle operation data after the transcoding is decoded, to obtain vehicle operation data.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
Vehicle operation data after transcoding is decoded according to preset data code table, and is put in order by preset Obtain corresponding data ID and corresponding data value.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
When receiving the vehicle operation data acquisition request of client transmission, decoded vehicle operation data is sent To the client.
Present invention also provides another computer readable storage mediums, and the computer readable storage medium is for realizing vehicle The function of application server side, is stored thereon with computer program, when computer program is executed by processor, processor, It can be used for executing following steps:
Vehicle operation data after receiving the transcoding that vehicle-mounted data streaming server is sent;
Vehicle operation data after the transcoding is decoded, to obtain vehicle operation data.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
Vehicle operation data after transcoding is decoded according to preset data code table, and is put in order by preset Obtain corresponding data ID and corresponding data value.
In some embodiments of the present application, the computer program of computer-readable recording medium storage is executed by processor When, processor can be specifically used for executing following steps:
When receiving the vehicle operation data acquisition request of client transmission, decoded vehicle operation data is sent To the client.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of data transmission method, which is characterized in that be applied to vehicle-mounted data streaming server, comprising:
Establish the communication connection with vehicle diagnosing apparatus;
The vehicle operation data that the vehicle diagnosing apparatus is sent is received, the data ID of the vehicle operation data is turned Code, to reduce the data volume of transmission, the vehicle operation data includes: the data ID and corresponding data value;
Vehicle operation data after transcoding is sent to vehicle application server.
2. the method according to claim 1, wherein described turned the data ID of the vehicle operation data Code, to reduce the data volume of transmission, comprising:
The data ID of the vehicle operation data is subjected to transcoding according to preset data code table, so that identifying by 1Bit pair The data ID answered, and the vehicle operation data after transcoding is packaged with preset put in order, to reduce the data of transmission Amount.
3. the method according to claim 1, wherein the communication connection of the foundation and vehicle diagnosing apparatus, packet It includes:
It is established and is communicated to connect by USB or universal asynchronous receiving-transmitting transmitter UART or bluetooth and the vehicle diagnosing apparatus.
4. a kind of data transmission method, which is characterized in that be applied to vehicle application server, comprising:
Vehicle operation data after receiving the transcoding that vehicle-mounted data streaming server is sent;
Vehicle operation data after the transcoding is decoded, to obtain vehicle operation data.
5. according to the method described in claim 4, it is characterized in that, the vehicle operation data by after the transcoding solves Code, to obtain vehicle operation data, comprising:
Vehicle operation data after transcoding is decoded according to preset data code table, and passes through the preset acquisition that puts in order Corresponding data ID and corresponding data value.
6. method according to claim 4 or 5, which is characterized in that the method also includes:
When receiving the vehicle operation data acquisition request of client transmission, decoded vehicle operation data is sent to institute State client.
7. a kind of data transmission device, which is characterized in that be applied to vehicle-mounted data streaming server, comprising:
Unit is established, for establishing and the communication connection of vehicle diagnosing apparatus;
Transcoding units, the vehicle operation data sent for receiving the vehicle diagnosing apparatus, by the vehicle operation data Data ID carries out transcoding, and to reduce the data volume of transmission, the vehicle operation data includes: the data ID and corresponding data Value;
First transmission unit, for the vehicle operation data after transcoding to be sent to vehicle application server.
8. a kind of data transmission device, which is characterized in that be applied to vehicle application server, comprising:
Receiving unit, the vehicle operation data after transcoding for receiving the transmission of vehicle-mounted data streaming server;
Decoding unit, for the vehicle operation data after the transcoding to be decoded, to obtain vehicle operation data.
9. a kind of vehicle-mounted data streaming server, including memory and processor, which is characterized in that the processor is executing storage When computer program on memory, for realizing data transmission method as claimed any one in claims 1 to 3.
10. a kind of vehicle application server, including memory and processor, which is characterized in that the processor is executing storage When computer program on memory, for realizing the data transmission method as described in any one of claim 4 to 6.
CN201910138083.3A 2019-02-25 2019-02-25 A kind of data transmission method and relevant apparatus Pending CN109951820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910138083.3A CN109951820A (en) 2019-02-25 2019-02-25 A kind of data transmission method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910138083.3A CN109951820A (en) 2019-02-25 2019-02-25 A kind of data transmission method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN109951820A true CN109951820A (en) 2019-06-28

Family

ID=67006528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910138083.3A Pending CN109951820A (en) 2019-02-25 2019-02-25 A kind of data transmission method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN109951820A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333668A (en) * 2020-10-12 2021-02-05 联通智网科技有限公司 Vehicle-mounted calling method, system, device, storage medium and computer equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217474A (en) * 2007-01-04 2008-07-09 美国凹凸微系有限公司 Vehicular system and its data processing method
CN101977275A (en) * 2010-08-27 2011-02-16 深圳市汇通世纪移动科技有限公司 Method for obtaining on-board computer data by mobile communication terminal and mobile terminal thereof
EP2477421A1 (en) * 2011-01-14 2012-07-18 Cisco Technology, Inc. System and method for packet distribution in a vehicular network environment
WO2014171940A1 (en) * 2013-04-17 2014-10-23 Harman International Industries, Incorporated Vehicle to vehicle data communication system
CN104729513A (en) * 2015-04-01 2015-06-24 矽通瑞达科技(北京)有限责任公司 Vehicle-mounted automatic diagnostic system and terminal as well as transmission method of GPS positioning data
US20150215738A1 (en) * 2009-07-08 2015-07-30 Dejero Labs Inc. System and method for providing data services on vehicles
CN107240240A (en) * 2017-05-24 2017-10-10 广东工业大学 A kind of vehicle wireless data acquisition system suitable for vehicle
CN107516436A (en) * 2017-08-30 2017-12-26 广东科学技术职业学院 A kind of inter-vehicular communication and data processing method
CN107636602A (en) * 2017-07-14 2018-01-26 深圳市元征科技股份有限公司 A kind of data processing method and data processing equipment
CN107650834A (en) * 2017-08-21 2018-02-02 广东好帮手电子科技股份有限公司 A kind of method and device based on speed automatic switchover information of vehicles
CN109286689A (en) * 2018-11-29 2019-01-29 北京车联天下信息技术有限公司 A kind of method for sending information, device and vehicle-mounted people-car interaction terminal
EP3471302A1 (en) * 2015-04-07 2019-04-17 Dejero Labs Inc. System and method for providing data services on vehicles

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217474A (en) * 2007-01-04 2008-07-09 美国凹凸微系有限公司 Vehicular system and its data processing method
US20150215738A1 (en) * 2009-07-08 2015-07-30 Dejero Labs Inc. System and method for providing data services on vehicles
CN101977275A (en) * 2010-08-27 2011-02-16 深圳市汇通世纪移动科技有限公司 Method for obtaining on-board computer data by mobile communication terminal and mobile terminal thereof
EP2477421A1 (en) * 2011-01-14 2012-07-18 Cisco Technology, Inc. System and method for packet distribution in a vehicular network environment
WO2014171940A1 (en) * 2013-04-17 2014-10-23 Harman International Industries, Incorporated Vehicle to vehicle data communication system
CN104729513A (en) * 2015-04-01 2015-06-24 矽通瑞达科技(北京)有限责任公司 Vehicle-mounted automatic diagnostic system and terminal as well as transmission method of GPS positioning data
EP3471302A1 (en) * 2015-04-07 2019-04-17 Dejero Labs Inc. System and method for providing data services on vehicles
CN107240240A (en) * 2017-05-24 2017-10-10 广东工业大学 A kind of vehicle wireless data acquisition system suitable for vehicle
CN107636602A (en) * 2017-07-14 2018-01-26 深圳市元征科技股份有限公司 A kind of data processing method and data processing equipment
CN107650834A (en) * 2017-08-21 2018-02-02 广东好帮手电子科技股份有限公司 A kind of method and device based on speed automatic switchover information of vehicles
CN107516436A (en) * 2017-08-30 2017-12-26 广东科学技术职业学院 A kind of inter-vehicular communication and data processing method
CN109286689A (en) * 2018-11-29 2019-01-29 北京车联天下信息技术有限公司 A kind of method for sending information, device and vehicle-mounted people-car interaction terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333668A (en) * 2020-10-12 2021-02-05 联通智网科技有限公司 Vehicle-mounted calling method, system, device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN111462487B (en) Optimized edge computing node selection method and system in Internet of vehicles environment
CN103763335A (en) Train-ground wireless communication system applied to running states of HXD1 type locomotives
CN112817617A (en) Software upgrading method, device and system
CN103684999B (en) A kind of MVB-WTB gateway based on MPC860
CN103856337A (en) Resource occupation rate acquiring method, providing method, system and server thereof
CN102546542B (en) Electronic system and embedded device and transit device of electronic system
CN107995241A (en) Collecting vehicle information terminal, Research on Vehicle Remote Monitoring System Based on GPRS and data transmission method
CN109951820A (en) A kind of data transmission method and relevant apparatus
CN108184272A (en) A kind of method, interference processing unit and computer storage media for interfering processing
CN106850770A (en) High-efficiency transmission method and device based on cloud computing service
CN106713411A (en) Communication apparatus and method based on Ethernet virtual serial port technology and LTE wireless network
CN109213742A (en) Log collection method and device
CN109246331A (en) A kind of method for processing video frequency and system
CN208999999U (en) Data processing equipment
CN113179325B (en) Multi-terminal collaborative interaction method and device, gateway box and medium
CN207020527U (en) A kind of auto communication interface
CN103795686B (en) Internet of things service system and the exchange method for realizing virtual information
CN105599709B (en) Safety device and method for automotive bus system
CN112187536B (en) Information interaction method and device based on TMS configuration data, storage medium and electronic device
CN210168057U (en) Multifunctional vehicle-mounted gateway
CN108924145A (en) Network transfer method, device and equipment
CN110032131A (en) Electric vehicle state monitoring processing system and monitoring system based on Storm
WO2023115678A1 (en) Data communication methods and apparatuses, electronic device and storage medium
CN202794984U (en) Network type automobile meter system
CN103237070A (en) Method for data communication between mobile terminal and vehicle-mounted electric control unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190628