CN104539500B - A kind of external device extension method of car-mounted terminal - Google Patents

A kind of external device extension method of car-mounted terminal Download PDF

Info

Publication number
CN104539500B
CN104539500B CN201410848433.2A CN201410848433A CN104539500B CN 104539500 B CN104539500 B CN 104539500B CN 201410848433 A CN201410848433 A CN 201410848433A CN 104539500 B CN104539500 B CN 104539500B
Authority
CN
China
Prior art keywords
car
serial
mounted terminal
box
packet
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
CN201410848433.2A
Other languages
Chinese (zh)
Other versions
CN104539500A (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.)
Fujian Xinghai Communication Technology Co Ltd
Original Assignee
Fujian Xinghai Communication 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 Fujian Xinghai Communication Technology Co Ltd filed Critical Fujian Xinghai Communication Technology Co Ltd
Priority to CN201410848433.2A priority Critical patent/CN104539500B/en
Publication of CN104539500A publication Critical patent/CN104539500A/en
Application granted granted Critical
Publication of CN104539500B publication Critical patent/CN104539500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of external device extension method of car-mounted terminal, includes the following steps:Step 1, the car-mounted terminal are connect with serial box input terminal, the output terminal connection external equipment of the serial ports box, the external equipment of step 2, the connecting object that serial ports is set and the connection of serial box output terminal, when step 3, car-mounted terminal transmission data one are wrapped, first package according to the communication protocol of serial box, obtain a group packet one, then it is organized packet one and is sent to serial box, serial box is parsed according to the communication protocol, and the data packet one then is sent to the external equipment according to the Extended ID;When the external equipment is to car-mounted terminal transmission data packet two, the serial box packages after receiving data packet two according to the communication protocol, obtains a group packet two, the car-mounted terminal is parsed according to the communication protocol, obtains the data packet two.The present invention realizes the diversification of serial ports external equipment and realizes that a serial ports can dock the function of multiple external equipments simultaneously.

Description

A kind of external device extension method of car-mounted terminal
【Technical field】
The present invention relates to a kind of external device extension methods of car-mounted terminal.
【Background technology】
The multiple external equipments of connection are usually required on automobile, specific work(is realized generally by serial ports connection external equipment Can, for example, it is desired to connect automobile data recorder in real time record vehicle transport condition, still.For different clients demand Can be corresponding different, for example, taxi needs to access meter record operation state, bus need to record bus by camera Operating status.Traditional car-mounted terminal generally only provides 2~3 serial interfaces and is used for connecting external equipment, with the work(of client Energy demand is more and more, and the peripheral hardware connect is more and more, and traditional car-mounted terminal can not meet customer need.It is more in order to meet client The connection requirement two of external equipment develops the new car-mounted terminal for having more Multi-serial port, and not only the new product period is long, and develop into This height, it is clear that undesirable.
【Invention content】
The technical problem to be solved in the present invention is to provide a kind of external device extension method of car-mounted terminal, not change One serial ports of realization serial ports external equipment diversification and realization can be docked simultaneously outside multiple under the premise of becoming original car-mounted terminal hardware The function of portion's equipment.
The invention is realized in this way:1st, a kind of external device extension method of car-mounted terminal, which is characterized in that including such as Lower step:
Step 1 connects the serial ports of the input terminal of a serial box and car-mounted terminal, will an at least external equipment and the string The output terminal connection of mouth box, the serial box include at least two output terminals;
Step 2 is set the connecting object of the serial ports by the car-mounted terminal as serial box and the serial ports is configured The serial ports parameter for the different external equipments that box is connected, the serial ports parameter include the Extended ID of each output terminal;
When step 3, car-mounted terminal are wrapped to a wherein external equipment transmission data one, the data packet one is first according to serial box Communication protocol package, obtain group packet one, then organize and wrap one and be sent to the serial box, the communication protocol definition Group Bao Yizhong includes the Extended ID, and the serial box is parsed according to the communication protocol, obtains data packet one, then The data packet one is sent to by the external equipment according to the Extended ID;
When the external equipment is to car-mounted terminal transmission data packet two, the serial box is received after data packet two according to described Communication protocol packages, and obtains a group packet two, described group of packet two is sent to the car-mounted terminal by the serial box, described vehicle-mounted Terminal is parsed according to the communication protocol, obtains the data packet two, and the communication protocol also defines group Bao Erzhong and includes institute State Extended ID.
Further, the data format of described group of packet one include frame head, serial ports box equipment mark code, include the expansion Open up command id, content of parameter, verification and and the postamble of ID.
Further, the data format of described group of packet two include frame head, serial ports box equipment mark code described in Extended ID, Data content and postamble.
The invention has the advantages that:
Car-mounted terminal of the present invention identifies the corresponding external equipment of each data packet by Extended ID, and serial box is known by Extended ID Other data transmit object, in the case where car-mounted terminal hardware does not change, realize the external multiple external equipments of single serial ports, meet visitor The addition demand of family external equipment.
【Description of the drawings】
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the connection diagram of car-mounted terminal of the present invention and external equipment.
Fig. 2 is flow chart of the car-mounted terminal data transmission of the present invention to external equipment.
Fig. 3 is flow chart of the external data data transmission of the present invention to car-mounted terminal.
【Specific embodiment】
It please refers to Fig.1 to Fig.3, a kind of external device extension method of car-mounted terminal includes the following steps:
Step 1 connects the serial ports of the input terminal of a serial box and car-mounted terminal, will an at least external equipment and the string The output terminal connection of mouth box, the serial box include at least two output terminals;The external equipment can be camera, haggle over device, Light-emitting diode display, automobile data recorder;
Step 2 is set the connecting object of the serial ports by the car-mounted terminal as serial box and the serial ports is configured The serial ports parameter for the different external equipments that box is connected, the serial ports parameter include the Extended ID of each output terminal;
When step 3, car-mounted terminal are wrapped to a wherein external equipment transmission data one, the data packet one is first according to serial box Communication protocol package, obtain group packet one, then organize and wrap one and be sent to the serial box, the communication protocol definition Group Bao Yizhong includes the Extended ID, and the serial box is parsed according to the communication protocol, obtains data packet one, then The data packet one is sent to by the external equipment according to the Extended ID;In the present embodiment, the data lattice of described group of packet one Formula include frame head, the equipment mark code of serial ports box, the command id comprising the Extended ID, content of parameter, verification and and Postamble.
When the external equipment is to car-mounted terminal transmission data packet two, the serial box is received after data packet two according to described Communication protocol packages, and obtains a group packet two, described group of packet two is sent to the car-mounted terminal by the serial box, described vehicle-mounted Terminal is parsed according to the communication protocol, obtains the data packet two, and the communication protocol also defines group Bao Erzhong and includes institute Extended ID is stated, in the present embodiment, the data format of described group of packet two includes expansion described in the equipment mark code of frame head, serial ports box Open up ID, data content and postamble.
Car-mounted terminal of the present invention identifies the corresponding external equipment of each data packet by Extended ID, and serial box is known by Extended ID Other data transmit object, in the case where car-mounted terminal hardware does not change, realize the external multiple external equipments of single serial ports, meet visitor The addition demand of family external equipment.
Although specific embodiments of the present invention have been described above, those familiar with the art should manage Solution, our described specific embodiments are merely exemplary rather than for the restriction to the scope of the present invention, are familiar with this The equivalent modification and variation that the technical staff in field is made in the spirit according to the present invention, should all cover the present invention's In scope of the claimed protection.

Claims (3)

1. a kind of external device extension method of car-mounted terminal, which is characterized in that include the following steps:
Step 1 connects the serial ports of the input terminal of a serial box and car-mounted terminal, will an at least external equipment and the serial box Output terminal connection, the serial box include at least two output terminals;
Step 2 is set the connecting object of the serial ports by the car-mounted terminal as serial box and the serial box institute is configured The serial ports parameter of the different external equipments of connection, the serial ports parameter include the Extended ID of each output terminal;
When step 3, car-mounted terminal are wrapped to a wherein external equipment transmission data one, the data packet one is first according to the logical of serial box Letter agreement packages, and obtains group packet one, then organize and wrap one and be sent to the serial box, communication protocol definition group Bao Yizhong includes the Extended ID, and the serial box is parsed according to the communication protocol, obtains data packet one, then basis The data packet one is sent to the external equipment by the Extended ID;
When the external equipment is to car-mounted terminal transmission data packet two, the serial box is received after data packet two according to the communication Agreement packages, and obtains a group packet two, described group of packet two is sent to the car-mounted terminal, the car-mounted terminal by the serial box It is parsed according to the communication protocol, obtains the data packet two, the communication protocol also defines group Bao Erzhong and includes the expansion Open up ID.
A kind of 2. external device extension method of car-mounted terminal according to claim 1, which is characterized in that described group of packet one Data format include frame head, the equipment mark code of serial ports box, the command id comprising the Extended ID, content of parameter, school Test and and postamble.
A kind of 3. external device extension method of car-mounted terminal according to claim 1, which is characterized in that described group of packet two Data format include frame head, serial ports box equipment mark code described in Extended ID, data content and postamble.
CN201410848433.2A 2014-12-31 2014-12-31 A kind of external device extension method of car-mounted terminal Active CN104539500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410848433.2A CN104539500B (en) 2014-12-31 2014-12-31 A kind of external device extension method of car-mounted terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410848433.2A CN104539500B (en) 2014-12-31 2014-12-31 A kind of external device extension method of car-mounted terminal

Publications (2)

Publication Number Publication Date
CN104539500A CN104539500A (en) 2015-04-22
CN104539500B true CN104539500B (en) 2018-06-08

Family

ID=52854969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410848433.2A Active CN104539500B (en) 2014-12-31 2014-12-31 A kind of external device extension method of car-mounted terminal

Country Status (1)

Country Link
CN (1) CN104539500B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106004730A (en) * 2016-07-12 2016-10-12 深圳华汽车科技有限公司 Automotive heterogeneous network convergence device and plug and play expanding method of automotive intelligent equipment based on same
CN109739572B (en) * 2018-12-25 2022-01-28 江南机电设计研究所 Universal integrated serial port communication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202009138U (en) * 2011-04-07 2011-10-12 厦门翼迅智能科技有限公司 Vehicle-mounted intelligent interface box
CN103631363A (en) * 2013-09-22 2014-03-12 深圳市联和安业科技有限公司 Automobile data interface expanding device and method for achieving data interaction

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8638207B2 (en) * 2007-08-09 2014-01-28 Drew Technologies Modular vehicular diagnostic tool

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202009138U (en) * 2011-04-07 2011-10-12 厦门翼迅智能科技有限公司 Vehicle-mounted intelligent interface box
CN103631363A (en) * 2013-09-22 2014-03-12 深圳市联和安业科技有限公司 Automobile data interface expanding device and method for achieving data interaction

Also Published As

Publication number Publication date
CN104539500A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
EP2939473B1 (en) Discovery mechanisms for universal serial bus (usb) protocol adaptation layer
CN106162528B (en) LoRa signal and Bluetooth signal conversion module, conversion method and sender unit
CN104750588A (en) Serial port communication based pressure testing method
CN113287329B (en) Data transmission method and device
CN104539500B (en) A kind of external device extension method of car-mounted terminal
CN108111494A (en) A kind of protocol conversion apparatus of 1553B buses and FlexRay buses
CN103716092A (en) Networking system and communication method for bidirectional optical fiber communication in bus network
CN106899327A (en) The method and apparatus of data transfer
CN109818978A (en) A kind of vehicle-mounted Ethernet conversion equipment and method
CN108156137A (en) A kind of method for converting protocol of 1553B buses and FlexRay buses
CN103076800B (en) Vehicle intelligent equipment and vehicle data identification system
CN103731421B (en) ARINC429 bus digital simulation communication method based on Ethernet
CN105872060A (en) Communication method and system, and data collection end device
CN206585575U (en) A kind of visible ray network card device
CN202374285U (en) Real-time data communication system employing programmable logic controller
CN112965463A (en) Remote diagnosis system and remote diagnosis method
CN107579894A (en) A kind of EBR1553 bus protocol realization devices based on FPGA
CN209089130U (en) One kind is vehicle-mounted to look around monitoring device and system
CN108521416B (en) ECN integrated circuit board
CN103257648B (en) Automobile calibration system
CN103330595A (en) Plug-in monitor and data transmission device and method thereof
CN107342920B (en) Internet of things gateway access equipment and data interaction method thereof
CN109639554A (en) A kind of long-range VLAN implementation method
CN105227544B (en) Realize the device and method of different agreement message conversion
CN203511318U (en) Car monitor

Legal Events

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