[go: up one dir, main page]

CN103809579B - By the method for each car status information of center extraction - Google Patents

By the method for each car status information of center extraction Download PDF

Info

Publication number
CN103809579B
CN103809579B CN201210445496.4A CN201210445496A CN103809579B CN 103809579 B CN103809579 B CN 103809579B CN 201210445496 A CN201210445496 A CN 201210445496A CN 103809579 B CN103809579 B CN 103809579B
Authority
CN
China
Prior art keywords
frame
identification code
net
center
mask
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
CN201210445496.4A
Other languages
Chinese (zh)
Other versions
CN103809579A (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.)
Xiamen Yaxun Zhilian Technology Co ltd
Original Assignee
Xiamen Yaxon Networks 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 Xiamen Yaxon Networks Co Ltd filed Critical Xiamen Yaxon Networks Co Ltd
Priority to CN201210445496.4A priority Critical patent/CN103809579B/en
Publication of CN103809579A publication Critical patent/CN103809579A/en
Application granted granted Critical
Publication of CN103809579B publication Critical patent/CN103809579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

Method of the invention by each car status information of center extraction, it is related to the method for dynamic acquisition information of vehicles.It operates the process for having specified target network frame, receives the process of target network frame and cancels the process of target network frame;During target network frame is received, car-mounted terminal receives the net frame that any one electronic control unit is sent and just checks the setting file of itself, if the frame identification code of the net frame is recorded wherein, just the byte-extraction of same sequence number in the net frame data section is come out by the numerical digit that numerical value in corresponding mask is 1 and sequentially forms new data segment and weaves into the processing server that target network frame is sent to through wireless network center together with the frame identification code of the net frame, otherwise abandons the net frame;The processing server at center often receives a target network frame, and the bitmap and mask of corresponding net frame are just searched by its frame identification code, status information of interest on the vehicle is extracted according to the data segment of the bitmap and mask from the target network frame and is preserved or handled.Traffic can be reduced.

Description

By the method for each car status information of center extraction
Technical field
The present invention relates to a kind of method of dynamic acquisition information of vehicles.
Background technology
With the popularization of intelligent control technology, multiple electronic control units are configured with new automobile(Hereinafter referred to as ECU)Respectively to satellite fix on car(GPS), engine, gearbox, steering, hydraulic brake system, oil supply system Implement data acquisition and in real time control etc. different parts;And vehicle-mounted signal acquisition terminal is set(Hereinafter referred to as car-mounted terminal) Pass through controller local area network(Hereinafter referred to as CAN)Collect the data of these ECU transmissions.Each ECU according to CAN regulation with Controller local area network's data frame of specified format(Hereinafter referred to as net frame)Data are transmitted on CAN;And every ECU is on CAN A variety of different net frames are sent, are combined with transmitting different status datas.The content of each net frame includes and represents this ECU and net frame The net frame identification code of type(Hereinafter referred to as frame identification code)With the data segment of 8 bytes.Car-mounted terminal on each automobile is collected To these net frames and then pass through wireless network(Such as GPRS network)These net frames are sent to the processing server at center. So that center understands the running status of each vehicle immediately, each vehicle is monitored.
Generally not this 8 bytes of net frame data section represent a signal altogether, but 8 bytes press numerical digit respectively (bit)To define 64 respective meanings of numerical digit.Problem is, this 64 data segment and not all numerical digit is all significant , even if or some numerical digits it is significant be not that center subsequent treatment is of concern yet, or even during some net frames are not yet Heart subsequent treatment is of concern.So, ECU signal acquisitions, the transmission of net frame and the processing carried out in car-mounted terminal and center is just produced Many redundant digit data are given birth to.When these net frame data that center is uploaded using car-mounted terminal carry out post-processing, due to car The net frame data that mounted terminal uploads exist not by the net frame of center concern or are concerned these redundant datas in net frame data section, meeting Bring following drawback:
1. the data storage capacity of pair center processing server requires high;
2. during wireless network transmissions, serious waste bandwidth;
3. because center processing server needs data volume to be processed too big, the treatment effeciency of system is reduced.
The content of the invention
The present invention is intended to provide a kind of method by each car status information of center extraction, can effectively eliminate redundant digit According to the drawbacks of avoiding redundant data from producing.
The technical scheme is that:By the method for each car status information of center extraction, the processing server at center is deposited There are the frame identification code of various net frames and the bitmap of data segment of all electronic control units of each vehicle, the bitmap definition net frame Data segment in 64 numerical digits each numerical digit implication;The processing server at center, which has to record, needs extraction to believe on all vehicles The frame identification code of the net frame of breath and the target of mask set file, and the length of the mask is the number that a byte and its intermediate value are 1 Position represents to extract sequence number identical byte in the net frame data section;The car-mounted terminal of each vehicle preserves a record center will From the frame identification code of each net frame of this vehicle extraction and the setting file of mask;The behaviour of each car status information of center extraction Process, the process of reception target network frame and the process for cancelling target network frame for making to have specified target network frame;
During specified target network frame, the processing server at center finds out it according to car status information of interest The frame identification code of place net frame and the bitmap of data segment, the car status information of interest is found out in the data according to the bitmap Section in byte number, and by mask in numerical digit corresponding with above-mentioned byte number be set to 1;The processing server at center closes the institute Note the frame identification code of net frame and mask is stored in target and set the frame containing net frame of interest in file and by wireless network The setting instruction of identification code and mask is sent to the car-mounted terminal of the vehicle of interest, and the car-mounted terminal instructs the setting received The frame identification code and mask of middle target network frame are stored in the setting file of itself;
During target network frame is received, car-mounted terminal receives the net frame that any one electronic control unit is sent and just checked The setting file of itself, if the frame identification code of the net frame is recorded wherein, the numerical digit for being just 1 by numerical value in corresponding mask should The byte-extraction of same sequence number comes out and sequentially forms frame identification code one of the new data segment together with the net frame in net frame data section Rise and weave into the processing server that target network frame is sent to center through wireless network, otherwise abandon the net frame;The processing service at center Device often receives a target network frame, the bitmap and mask of corresponding net frame is just searched by its frame identification code, according to the bitmap and mask Status information of interest on the vehicle is extracted from the data segment of the target network frame to be preserved or handled;
During target network frame is cancelled, the processing server at center is found out for the car status information no longer paid close attention to The frame identification code of net frame where it;The processing server at center is deleted the frame identification code of the net frame in target sets file and covered Code and the car-mounted terminal that the cancellation instruction of the frame identification code containing the net frame is sent to corresponding vehicle by wireless network, the car Mounted terminal by the frame identification code in the cancellation instruction received in the settings file of itself on delete the frame identification code of the net frame with Mask.
Method of the invention by each car status information of center extraction, it is according to car status information of interest by center The mask of corresponding target network frame organized data section, need extraction should with the numerical digit expression that numerical value in the mask of a byte is 1 The byte of same sequence number in data segment.Car-mounted terminal preserves the frame identification code and mask for the target network frame that center issues, and accordingly Reject the net frame do not paid close attention in the net frame that all ECU of this vehicle are sent by center or the word for being concerned redundancy in net frame data section Section, then center is transmitted to by wireless network.The data communication amount at car-mounted terminal and center is significantly cut down with this.This method In, center can be as accurate as extracting the data of specified byte from the ad hoc networks frame of each any one electronic control unit of vehicle, still The operation of various net frames is sent on the CAN of this vehicle without interference with any one ECU.This method does not disturb all ECU to send The operation of net frame, also it would not ensure that all ECU because of the influence of change of the transmission net frame operation ECU other control operations It can be run in the vehicle where respective in a manner of each independent, so as to ensure that each vehicle normally in its each ECU Control under the stability run.So this method by mask ECU offer various net frame data in it is nonsensical or The unconcerned redundant data of user, beneficial effect has during ECU signal acquisitions, the transmission of net frame, storage and processing:(1), Greatly reduce the requirement to system memory capacity;(2), reduce the requirement to system transmission bandwidth;(3), improve car The data transmission efficiency of mounted terminal and center processing server, reduce the load of center processing server;3 points of the above is beneficial to effect Fruit, it is especially apparent in high-frequency signal acquisition periods.This method has the traffic of each car status information of center extraction Small, each all ECU of vehicle operation is interference-free, it is stable the advantages of.It is adapted to center to numerous with multiple ECU and each The vehicle that ECU sends a variety of net frames by CAN carries out reliable, effective monitoring.
Brief description of the drawings
Fig. 1 is one and illustrated using the present invention by the structural relation of the system of the method for each car status information of center extraction Figure.
Fig. 2 is the bitmap of data segment in a net frame in Fig. 1 systems.
Embodiment
The structure of one system using the method for the invention by each car status information of center extraction, as shown in Figure 1.In The processing server 11 of the heart 10 exchanges information by wireless network 30 with the car-mounted terminal 21 on each vehicle 20, so as to instant The running status of each vehicle 20 is solved, each vehicle 20 is monitored.It is right respectively that multiple ECU23 are configured with each vehicle 20 Data acquisition and in real time control are implemented in different parts on car.Car-mounted terminal 21 is set to be collected by CAN22 on each vehicle 20 The data that these ECU23 are sent.Each ECU23 transmits number with the net frame of specified format according to CAN22 regulation on CAN22 According to;And every ECU23 sends a variety of different net frames on CAN22, combined with transmitting different status datas.Each net frame Content includes the data segment of the frame identification code and 8 bytes that represent this ECU23 and net frame type.It is each to data segment in a net frame The file that individual numerical digit is defined turns into the bitmap of the net frame data section.64 numbers in the bitmap definition data segment of the net frame The implication of each numerical digit in position.For example, the bitmap shown in Fig. 2 is the letter of certain ECU23 some net frame data section on certain vehicle 20 Number distribution situation, as shown in Figure 2, in the data segment of this net frame really significant data be in the 1st, 4,6 bytes, its Remaining byte is the redundant data of no specific meaning.
The processing server 11 at center 10 has the frame identification code and data segment of each 20 all ECU23 of vehicle various net frames Bitmap.The processing server 11 at center 10 has the frame identification code for recording the net frame for needing to extract information on all vehicles 20 and covered The target of code sets file, and the length of the mask is that the digit representation that a byte and its intermediate value are 1 will extract the net frame data Sequence number identical byte in section.Such as the net frame corresponding to Fig. 2 Bitmaps, " binary system b10010000 " is represented will for mask Extract the 1st and the 4th byte therein.
The car-mounted terminal 21 of each vehicle 20 preserves a record center 20 will be from each net frame of this vehicle extraction The setting file of frame identification code and mask.
The operation that each status information of vehicle 20 is extracted at center 10 has the process of specified target network frame, receives the mistake of target network frame Journey and the process for cancelling target network frame.
During specified target network frame:First, the processing server 11 at center 10 is according to vehicle-state of interest The frame identification code of net frame and the bitmap of data segment where information finds out it, find out the vehicle-state of interest according to the bitmap and believe Cease byte number in the data segment, and by mask in numerical digit corresponding with above-mentioned byte number be set to 1.Then, center 10 The frame identification code of the net frame of interest and mask are stored in target setting file and pass through wireless network by processing server 11 30 are sent to the setting instruction of the frame identification code containing net frame of interest and mask the car-mounted terminal 21 of the vehicle 20 of interest. The frame identification code of target network frame and mask in the setting instruction received are stored in the setting of itself by the car-mounted terminal 21 of the vehicle 20 File.
During target network frame is received:The car-mounted terminal 21 of vehicle 20 receives any of this vehicle 20 by CAN22 The net frame that individual ECU23 is sent just checks the setting file of itself, if the frame identification code of the net frame is recorded wherein, just by corresponding The byte-extraction of same sequence number in the net frame data section is come out and sequentially forms new data segment by the numerical digit that numerical value is 1 in mask The processing server 111 that target network frame is sent to through wireless network 30 center 10 is weaved into together with the frame identification code of the net frame, Otherwise the net frame is abandoned.The processing server 11 at center 10 often receives a target network frame, is just searched by its frame identification code corresponding The bitmap and mask of net frame, shape of interest on the vehicle 20 is extracted according to the data segment of the bitmap and mask from the target network frame State information is preserved or handled;
During target network frame is cancelled:The processing server 11 at center 10 is for the car status information no longer paid close attention to The frame identification code of net frame where finding out it;The frame that the processing server 11 at center 10 deletes the net frame in target sets file is known The cancellation instruction of frame identification code containing the net frame is simultaneously sent to corresponding vehicle 20 by other code and mask by wireless network 30 Car-mounted terminal 21, the car-mounted terminal 21 of the vehicle 20 is by the frame identification code in the cancellation instruction received in the setting file of itself The upper frame identification code and mask for deleting the net frame.
If the processing server 11 at center 10 needs to change target network frame, the processing server 11 at center 10 still will be according to Frame identification code of net frame and the bitmap of data segment, the institute is found out according to the bitmap where car status information of interest finds out it Byte number of the car status information of concern in the data segment, and by mask in numerical digit corresponding with above-mentioned byte number be set to 1.Then, the processing server 11 at center 10 is set in file with new mask according to the frame identification code target of the net frame of interest Cover original mask and the modification of the frame identification code containing net frame of interest and new mask is set by wireless network 30 Instruction is sent to the car-mounted terminal 21 of the vehicle 20 of interest.The car-mounted terminal 21 of the vehicle 20 is set according to the modification received to be referred to The frame identification code of target network frame in order, new mask is stored in the setting file of itself.
The processing server 11 at center 10 is with the car-mounted terminal 21 on each vehicle 20 according to above-mentioned specified target network frame Process, the process for receiving target network frame, the process for cancelling target network frame and the process exchange information for changing target network frame, so that it may According to the running status for understanding each vehicle 20 immediately is actually needed, effectively to eliminate redundant data, avoid redundant data from producing The drawbacks of raw, each vehicle 20 is monitored.
It is described above, only present pre-ferred embodiments, the scope that the present invention implemented, skill under this invention are not limited with this The equivalent changes and modifications that art scheme and description are made, it should all belong to the scope that the present invention covers.

Claims (1)

1. by the method for each car status information of center extraction, the processing server at center has all Electronic Control lists of each vehicle The frame identification code of various net frames and the bitmap of data segment of member, it is every in 64 numerical digits in the bitmap definition data segment of the net frame The implication of one numerical digit;The processing server at center has the frame identification code for recording the net frame for needing to extract information on all vehicles and covered The target of code sets file, and the length of the mask is that the digit representation that a byte and its intermediate value are 1 will extract the data of net frame Sequence number identical byte in section;The car-mounted terminal of each vehicle preserve one recite center will from this vehicle extraction each The frame identification code of net frame and the setting file of mask;The operation of each car status information of center extraction has the mistake of specified target network frame Journey, the process for receiving target network frame and the process for cancelling target network frame;
During specified target network frame, the processing server at center finds out its place according to car status information of interest The frame identification code of net frame and the bitmap of data segment, the car status information of interest is found out in the data segment according to the bitmap Byte number, and numerical digit corresponding with above-mentioned byte number in mask is set to 1;The processing server at center is by net frame of interest Frame identification code and mask be stored in target set in file and by wireless network by the frame identification code containing net frame of interest and The setting instruction of mask is sent to the car-mounted terminal of vehicle of interest, and the car-mounted terminal sets the goal the setting received instruction middle finger The frame identification code and mask of the net frame of interest of net frame are stored in the setting file of itself;
During target network frame is received, car-mounted terminal receives the net frame that any one electronic control unit is sent and just checks itself Setting file, if the frame identification code of the net frame is recorded wherein, just by the numerical digit that numerical value in corresponding mask is 1 by the net frame The byte-extraction of same sequence number comes out and sequentially forms new data segment and compiled together with the frame identification code of the net frame in data segment The processing server at center is sent to through wireless network into target network frame, otherwise abandons the net frame;The processing server at center is every Receive a target network frame, the bitmap and mask of corresponding net frame just searched by its frame identification code, according to the bitmap and mask from this The data segment of target network frame extracts status information of interest on the vehicle and is preserved or handled;
During target network frame is cancelled, the processing server at center finds out its institute for the car status information no longer paid close attention to In the frame identification code of net frame;The processing server at center target set file in delete the net frame frame identification code and mask simultaneously The cancellation instruction of frame identification code containing the net frame is sent to the car-mounted terminal of corresponding vehicle, the vehicle-mounted end by wireless network End by the frame identification code in the cancellation instruction received in the setting file of itself on delete the frame identification code and mask of the net frame.
CN201210445496.4A 2012-11-08 2012-11-08 By the method for each car status information of center extraction Active CN103809579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210445496.4A CN103809579B (en) 2012-11-08 2012-11-08 By the method for each car status information of center extraction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210445496.4A CN103809579B (en) 2012-11-08 2012-11-08 By the method for each car status information of center extraction

Publications (2)

Publication Number Publication Date
CN103809579A CN103809579A (en) 2014-05-21
CN103809579B true CN103809579B (en) 2018-01-02

Family

ID=50706515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210445496.4A Active CN103809579B (en) 2012-11-08 2012-11-08 By the method for each car status information of center extraction

Country Status (1)

Country Link
CN (1) CN103809579B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101536141B1 (en) * 2014-02-13 2015-07-13 현대자동차주식회사 Apparatus and method for converting signal between ethernet and can in a vehicle
CN104155667B (en) * 2014-08-20 2017-05-17 国信军创(岳阳)六九零六科技有限公司 Vehicle-borne GPS terminal simulating device
CN113608483B (en) * 2021-08-13 2023-05-09 深圳市元征科技股份有限公司 Method for acquiring vehicle signal value, electronic equipment and electronic control unit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1286009A (en) * 1997-12-30 2001-02-28 奈克斯比特网络公司 Networking system
CN1617520A (en) * 2003-06-26 2005-05-18 株式会社东芝 Conveyors for railway carriages
CN1684446A (en) * 2004-04-15 2005-10-19 株式会社日立制作所 Communication method of mobile body
JP4032779B2 (en) * 2002-03-11 2008-01-16 トヨタ自動車株式会社 CAN communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020063714A1 (en) * 2000-10-04 2002-05-30 Michael Haas Interactive, multimedia advertising systems and methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1286009A (en) * 1997-12-30 2001-02-28 奈克斯比特网络公司 Networking system
JP4032779B2 (en) * 2002-03-11 2008-01-16 トヨタ自動車株式会社 CAN communication system
CN1617520A (en) * 2003-06-26 2005-05-18 株式会社东芝 Conveyors for railway carriages
CN1684446A (en) * 2004-04-15 2005-10-19 株式会社日立制作所 Communication method of mobile body

Also Published As

Publication number Publication date
CN103809579A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
CN103108043B (en) A kind of method that application data library file adaptively gathers ECU messages
KR102429491B1 (en) Apparatus for collecting vehicle data and method thereof
CN108377266A (en) A kind of Real-time Data Transfer Method and system based on car networking
CN103809579B (en) By the method for each car status information of center extraction
CN104769915A (en) Method and system for merging environment sensor data with communication data and usage of the system
DE102010006149A1 (en) Remote control system for a vehicle
DE102016009195B3 (en) Method for extracting vehicle data from a motor vehicle, control device and motor vehicle
CN106330995A (en) Three-level data compression device used for vehicle networking and method thereof
WO2013053527A1 (en) Method for operating a driver assistance system and method for processing vehicle environment data
CN102487529A (en) Method for raising information transmission efficiency of Internet of things and apparatus thereof
DE102017204741A1 (en) RFID-based general data transmission between vehicle and external RFID transponder
CN104821090A (en) Vehicle inspection system and method based on intelligent mobile phone
WO2003016856A3 (en) Communication method and communication module
EP3132620B1 (en) Car2x communication in the usa and europe using a uniform transmitter
DE102022131241A1 (en) REDUCING VEHICLE TELEMATICS LOAD WHILE MAINTAINING THE ABILITY TO PERFORM HIGH-FIDELITY ANALYSIS
EP3085123B1 (en) Method and system for determining a number of vehicle-to-x messages for rejection
CN114327935B (en) A communication-sensitive multi-agent collaboration method
EP4250689A1 (en) System and method for communicating data using data packets
EP3374205B1 (en) Method for reading tire data stored on a tire pressure monitoring unit, and method for writing tire data into a tire pressure monitoring unit
CN111262766B (en) Method, device and system for transmitting multi-packet application message data
CN108332831B (en) Data fusion method for multi-channel weighing system
CN108012247A (en) A kind of unmanned automatic driving vehicle signal long-distance communicating method
CN103716269A (en) Methods and apparatus for signal filtering
EP4400337B1 (en) Method for allocating tyre pressure monitoring units to a vehicle
CN207473694U (en) A kind of data record and radio transmitting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 361000 Fujian Province Xiamen Torch High tech Zone Software Park Innovation Building C Zone 303-E

Patentee after: Xiamen Yaxun Zhilian Technology Co.,Ltd.

Country or region after: China

Address before: No.46 guanri Road, phase II, software park, Xiamen City, Fujian Province, 361000

Patentee before: XIAMEN YAXON NETWORK Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address