CN107273201A - Vehicle control syetem and its data processing method - Google Patents
Vehicle control syetem and its data processing method Download PDFInfo
- Publication number
- CN107273201A CN107273201A CN201710533637.0A CN201710533637A CN107273201A CN 107273201 A CN107273201 A CN 107273201A CN 201710533637 A CN201710533637 A CN 201710533637A CN 107273201 A CN107273201 A CN 107273201A
- Authority
- CN
- China
- Prior art keywords
- data
- priority
- main control
- control processor
- information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
- G06F9/4818—Priority circuits therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/24—Handling requests for interconnection or transfer for access to input/output bus using interrupt
- G06F13/26—Handling requests for interconnection or transfer for access to input/output bus using interrupt with priority control
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/484—Precedence
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
Present invention is disclosed a kind of vehicle control syetem and its data processing method, it the described method comprises the following steps:The data received are added in corresponding priority query by main control processor, and priority query at least includes high-priority queue and Low Priority Queuing;Main control processor handles the data in each priority query according to the order of priority from high to low successively.A kind of data processing method for vehicle control syetem that the embodiment of the present invention is provided, by being grouped to the data received, it is added in different priority queries, and handle the data in each priority query successively according to the order of priority from high to low, so that significant data by priority treatment, can improve the real-time of significant data processing, it is to avoid the obstruction of significant data, the security of vehicle is improved, Consumer's Experience is improved.
Description
Technical field
The present invention relates to vehicle technology field, a kind of vehicle control syetem and its data processing method are especially related to.
Background technology
When vehicle is run, main control processor real-time reception microprocessor (the Micro Control of vehicle control syetem
Unit, MCU) data that send, and handled.When data volume is larger, then it can cause data stacking, main control processor needs
Handled successively according to the reception time of data, so that it is not prompt enough to cause data processing to obtain.Especially for significant data,
If can not handle in time, it is possible to bring potential safety hazard.For example, when starting reversing, main control processor is handling other
Data, may result in reversing information processing it is delayed, so that reverse image can not be started in time, it is impossible to ensure reversing security,
Have a strong impact on Consumer's Experience.
Therefore, the real-time of significant data processing how is improved, and then improves the security of vehicle, is current urgent need to resolve
Technical problem.
The content of the invention
The main object of the present invention is a kind of vehicle control syetem of offer and its data processing method, it is intended to improve important number
According to the real-time of processing, and then improve the security of vehicle.
To achieve these objectives, the embodiment of the present invention proposes a kind of data processing method of vehicle control syetem, described vehicle-mounted
Control system includes main control processor, comprises the following steps:
The data received are added in corresponding priority query by the main control processor, and the priority query is extremely
Include high-priority queue and Low Priority Queuing less;
The main control processor handles the data in each priority query according to the order of priority from high to low successively.
Alternatively, the vehicle control syetem also includes microprocessor, and the main control processor adds the data received
Also include before the step being added in corresponding priority query:
The microprocessor obtains on-vehicle information;
The microprocessor is handled the on-vehicle information and forms the data;
The microprocessor transmits the data to the main control processor.
Alternatively, the vehicle control syetem also include at least two communication interfaces, the main control processor with it is described micro-
Processor is by data described in the communications interface transmission, and at least two communication interface respectively there are different priority to believe
Breath, the main control processor includes the step that the data received are added in corresponding priority query:
The main control processor obtains the precedence information of the communication interface;
The data that the micro-control unit is transmitted are added to by corresponding priority team according to the precedence information
In row.
Alternatively, the data received are added to before the step in corresponding priority query by the main control processor
Also include:
The main control processor receives the operational order of user;
The main control processor is handled the operational order and forms the data.
Alternatively, the data received are added to the step bag in corresponding priority query by the main control processor
Include:
The main control processor obtains the precedence information of the data;
The data are added to corresponding priority team by the main control processor according to the precedence information of the data
In row.
Alternatively, the step of main control processor obtains the precedence information of the data includes:
The main control processor is according to the data in data with inquiring about corresponding precedence information in information contrast storehouse.
Alternatively, the step of main control processor obtains the precedence information of the data includes:
The main control processor parses the priority tag in the data, obtains the precedence information of the data.
Alternatively, methods described also includes:To the data in same priority queue, according to the reception time of the data
Sequencing be ranked up.
Alternatively, methods described also includes:To the data in same priority queue, according to the priority of the data
Sequence is ranked up.
Alternatively, the main control processor is handled in each priority query successively according to the order of priority from high to low
The step of data, includes:
The main control processor judges to whether there is data in the high-priority queue;
If in the presence of the data in, the main control processor then Low Priority Queuing described in interrupt processing;
The main control processor handles the data in the high-priority queue;
The main control processor judges whether the data in the high-priority queue are disposed;
If being disposed, recover the data in the processing Low Priority Queuing.
The embodiment of the present invention proposes a kind of vehicle control syetem simultaneously, and the system includes main control processor, the master control
Processor includes:
Add module, for the data received to be added in corresponding priority query, the priority query is extremely
Include high-priority queue and Low Priority Queuing less;
Processing module, for handling the data in each priority query successively according to the order of priority from high to low.
Alternatively, the vehicle control syetem includes also including microprocessor, and the microprocessor includes:
Acquisition module, for obtaining on-vehicle information;
Micro treatment module, for being handled the on-vehicle information and being formed the data;
Transport module, for transmitting the data to the main control processor.
Alternatively, the vehicle control syetem also include at least two communication interfaces, the main control processor with it is described micro-
Processor is by data described in the communications interface transmission, and at least two communication interface respectively there are different priority to believe
Breath, wherein, the add module includes:
First acquisition unit, the precedence information for obtaining the communication interface;
First adding device, for being added to the data that the transport module is transmitted according to the precedence information
In corresponding priority query.
Alternatively, the add module includes:
Command reception module, the operational order for receiving user;
Data formation module, for being handled the operational order and being formed the data.
Alternatively, the add module includes:
Second acquisition unit, the precedence information for obtaining the data;
The data are added to corresponding priority by the second adding device for the precedence information according to the data
In queue.
Alternatively, the second acquisition unit includes inquiry subelement, and it is used for according to the data in data and information
Control inquires about corresponding precedence information in storehouse.
Alternatively, the second acquisition unit includes parsing subelement, and it is used to parse the priority mark in the data
Know, obtain the precedence information of the data.
Alternatively, the add module also includes sequencing unit, and the sequencing unit is used for:To in same priority queue
Data, be ranked up according to the sequencing of the reception time of the data.
Alternatively, the add module also includes sequencing unit, and the sequencing unit is used for:To in same priority queue
Data, be ranked up according to the sequence of the priority of the data.
Alternatively, the processing module includes:
First judging unit, for judging to whether there is the data in the high-priority queue;
Interrupt location, during for having the data in first judging unit judgement high-priority queue, in
Data in the disconnected processing Low Priority Queuing;
First execution unit, for handling the data in the high-priority queue;
Whether the second judging unit, the data for judging in the high-priority queue are disposed;
Second execution unit, for judging that the data processing in the high-priority queue is finished in the second judging unit
When, recover the data in the processing Low Priority Queuing.
A kind of data processing method for vehicle control syetem that the embodiment of the present invention is provided, passes through the data to receiving
It is grouped, is added in different priority queries, and each priority is handled successively according to the order of priority from high to low
Data in queue, so that significant data by priority treatment, can improve the real-time of significant data processing, it is to avoid
The obstruction of significant data, improves the security of vehicle, improves Consumer's Experience.
Brief description of the drawings
Fig. 1 is the flow chart of the embodiment of data processing method one of the vehicle control syetem of the present invention;
Fig. 2 is the connection diagram of main control processor and microprocessor in the embodiment of the present invention;
Fig. 3 is the schematic diagram of priority query in the embodiment of the present invention;
Fig. 4 is the example that data in the embodiment of the present invention compare storehouse with precedence information;
Fig. 5 is another schematic diagram of priority query in the embodiment of the present invention;
Fig. 6 is the module diagram of the embodiment of vehicle control syetem one of the present invention;
Fig. 7 is the module diagram of the main control processor in Fig. 6;
Fig. 8 is the module diagram of the microprocessor in Fig. 6;
Fig. 9 is the another module diagram of the main control processor in Fig. 6;
Figure 10 is the module diagram of the add module of the main control processor of vehicle control syetem in the embodiment of the present invention;
Figure 11 is the another module signal of the add module of the main control processor of vehicle control syetem in the embodiment of the present invention
Figure;
Figure 12 is the another module signal of the add module of the main control processor of vehicle control syetem in the embodiment of the present invention
Figure;
Figure 13 is the module diagram of the processing module of the main control processor of vehicle control syetem in the embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges
Diction " comprising " refer to there is the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or can also exist
Intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange
Taking leave "and/or" includes one or more associated wholes or any cell for listing item and all combines.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), with the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also
Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art
The consistent meaning of meaning, and unless by specific definitions as here, otherwise will not use idealization or excessively formal implication
To explain.
Reference picture 1, proposes the embodiment of data processing method one of the vehicle control syetem of the present invention, the vehicle-mounted control system
System includes main control processor, the described method comprises the following steps:
The data received are added in corresponding priority query by S11, main control processor.
S12, main control processor handle the data in each priority query according to the order of priority from high to low successively.
The data processing method of the vehicle control syetem of the embodiment of the present invention, is mainly used in vehicle control syetem, certainly
Other system or equipments, such as terminal device, server can also be applied to.The vehicle control syetem of the embodiment of the present invention can be with
Based on Android (Android) system, other systems can also be based on, the present invention is not limited this.
Priority query described in the embodiment of the present invention, refers to the queue with different priorities.Priority query is at least
Have two, such as include high-priority queue and Low Priority Queuing Gong Liangge priority queries, or including high-priority queue,
Middle priority query and Low Priority Queuing totally three priority queries, or including the first priority query, the second priority
Queue, third priority queue, common multiple priority queries of the 4th priority query ..., etc..
In step S11, main control processor is received after data, and the data are classified immediately, added the data to
In corresponding priority query.In the embodiment of the present invention, the priority query is FIFO (First Input First
Output, FIFO) queue.
Alternatively, the data that main control processor is received include on-vehicle information.Now, vehicle control syetem also includes microprocessor
Also include before device, step S11:Microprocessor obtains on-vehicle information, and on-vehicle information is handled and data are formed, and to master
Control processor transmits the data.Main control processor is received after data, and the data are classified immediately, added the data to
In corresponding priority query.Wherein, on-vehicle information includes reversing information, adaptive learning algorithms (Adaptive Cruise
Control, ACC) information, tire pressure, air-conditioning state information information such as (including) air-conditioner temperature, wind-force, switches, oil consumption letter
Breath, FM frequency informations, ON/OFF (ON/OFF) information, serial bus system (ControLLer Area Net-work Bus,
CANBus) information etc..
Alternatively, the data that main control processor is received include the operational order of user.Now, also include before step S11:
Main control processor receives the operational order of user, and operational order is handled and data are formed.Then, main control processor should
Data are added in corresponding priority query.The operational order includes air conditioner operation instruction, radio operational order, many matchmakers
Body operational order etc..
In certain embodiments, vehicle control syetem includes at least two communication interfaces, and control processor leads to microprocessor
Communications interface transmission data are crossed, wherein, at least two communication interfaces have different precedence informations respectively.Now, master control is worked as
During the data that the data that processor is received are formed for on-vehicle information, main control processor obtains the precedence information of communication interface, root
The data that micro-control unit is transmitted are added in corresponding priority query according to the precedence information of communication interface.
For example, main control processor is received after data, the precedence information for the communication interface for receiving the data is obtained first,
Then added data to according to the precedence information of communication interface in corresponding priority query, i.e.,:By high logical of priority
The data of letter interface are added in high-priority queue, and the data that the low communication interface of priority is received are added to low excellent
In first level queue.
For example:
As shown in Fig. 2 main control processor passes through two universal asynchronous receiving-transmitting transmitter (Universal with microprocessor
Asynchronous Receiver/Transmitter, UART) serial ports communicated, and two UART serial ports are respectively UART strings
1 and UART of mouth serial ports 2, the data transmitted therebetween are UART data.The priority for defining UART serial ports 1 is higher than UART serial ports
2 priority, and UART serial ports 1 transmits urgent and safety-related significant data for transmitting, such as ACC information, reversing letter
The data such as breath, tire pressure;UART serial ports 2 is used for transmitting routine data, such as air-conditioning state information, fuel consumption information, FM frequencies letter
The data such as breath.
As shown in figure 3, when the UART serial ports 1 of main control processor receives the numbers such as ACC information, reversing information, tire pressure
According to when, then be added in high-priority queue;When the UART serial ports 2 of main control processor receives air-conditioning state information, oil consumption letter
During the data such as breath, FM frequency informations, then it is added in Low Priority Queuing.
In other embodiments, the priority of data can be pre-defined, after data are received, data are obtained first
Precedence information, is then added the data in corresponding priority query, i.e., according to the precedence information of data:Will be preferential
The high data of level are added in high-priority queue, and the low data of priority are added in Low Priority Queuing.
It is alternatively possible to which pre-setting data compares storehouse with precedence information, main control processor exists according to the data of reception
Data inquire about corresponding precedence information with precedence information control storehouse.For example:Information of moving backward is corresponding with ACC information high preferential
Level, priority during tire pressure is corresponding with velocity information, air-conditioning state information, fuel consumption information are corresponding with FM frequency informations low preferential
Level.
It is alternatively possible to priority tag is added in data, it is preferential in the data that main control processor parsing is received
Level mark, the precedence information with regard to the data can be obtained.For example:Priority tag " 1 " represents high priority, priority tag
" 0 " represents low priority.
For example:
As shown in figure 4, data have been preset in main control processor compares storehouse with precedence information, wherein, reversing information and ACC
Priority, air-conditioner temperature information, fuel consumption information and FM frequencies in information correspondence high priority, tire pressure, velocity information correspondence
Information correspondence low priority.
As shown in figure 5, when main control processor receives ACC information, reversing information, being then added to high-priority queue
In;When main control processor receives tire pressure and velocity information, then it is added in middle priority query;When receiving air-conditioning
When temperature information, fuel consumption information and FM frequency informations, then it is added in Low Priority Queuing.
Further, to the data in same priority queue, main control processor can also be ranked up to it.At some
In embodiment, main control processor can enter to the data in same priority queue according to the sequencing of the reception time of data
Row sequence, i.e.,:First receive before data come, after behind the data that receive come.In further embodiments, at master control
Reason device can be ranked up to the data in same priority queue according to the sequence of the priority of data.
For example, to nine priority of data definition, first to third priority data are added in high-priority queue,
And data therein are ranked up according to the order of first, second, third priority;The data of 4th to the 6th priority add
It is added in priority query, and data therein is ranked up according to the order of the four, the five, the 6th priority;7th
Data to the 9th priority are added in Low Priority Queuing, and according to the seven, the eight, the 9th priority order to wherein
Data be ranked up.So as to which in same priority queue, more importantly data can also obtain place more preferably
Reason.
In step 12, the data in the higher priority query of main control processor priority treatment priority, when priority compared with
When data processing in high priority query is finished, the data in the relatively low priority query of ability processing priority.And
It is new when with the addition of in the higher priority query of priority again in data procedures in the relatively low priority query of processing priority
During data, then suspend the data in the relatively low priority query of processing priority, the higher priority team of priority treatment priority
The new data added in row, it is pending finish after be further continued for data in the relatively low priority query of processing priority.For same
Data in one priority query, then handled successively according to putting in order.
So that priority query includes high-priority queue and Low Priority Queuing as an example, main control processor judges high priority
It whether there is data in queue;If there are data in high-priority queue, the data in interrupt processing Low Priority Queuing turn
And handle the data in high-priority queue;Then judge whether the data in high-priority queue are disposed;If high preferential
Data processing in level queue is finished, then recovers the data in processing Low Priority Queuing.
For example, as shown in figure 5, reversing information and ACC in main control processor priority treatment high-priority queue are believed
Breath, tire pressure and velocity information in being reprocessed after being disposed in priority query, is reprocessed low after being disposed
Air-conditioner temperature information, fuel consumption information and FM frequency informations in priority query.Data in priority query in processes
During, when receiving reversing information and when being added in high-priority queue, then priority treatment reversing information.It is low handling
During data in priority query, when receiving ACC information and being added in high-priority queue, then priority treatment
The ACC information;When receiving tire pressure and being added in middle priority query, then priority treatment tire pressure.
The data processing method of the embodiment of the present invention, by being grouped to the data received, is added to different excellent
In first level queue, and the data in each priority query are handled according to the order of priority from high to low successively, so that weight
Want data that the real-time of significant data processing by priority treatment, can be improved, it is to avoid the obstruction of significant data, improve car
Security, improve Consumer's Experience.
Reference picture 6, proposes the embodiment of vehicle control syetem one of the present invention, and the system includes main control processor 10.Should
Main control processor 10 as shown in fig. 7, comprises add module 11 and processing module 12, wherein, add module 11 is used to receive
Data be added in corresponding priority query, processing module 12 be used for handled successively according to the order of priority from high to low
Data in each priority query.
The vehicle control syetem of the embodiment of the present invention, can be based on Android (Android) system, can also be based on other systems
System, the present invention is not limited this.
Priority query described in the embodiment of the present invention, refers to the queue with different priorities.In the embodiment of the present invention,
The priority query is fifo queue.Priority query at least two, such as includes high-priority queue and low priority team
Lie Gongliangge priority queries, or including high-priority queue, middle priority query and Low Priority Queuing totally three it is preferential
Level queue, or including the first priority query, the second priority query, third priority queue, the 4th priority team
Common multiple priority queries of row ..., etc..
Alternatively, the data that main control processor 10 is received include on-vehicle information, and the on-vehicle information includes reversing information, adaptive
Answer cruise control (Adaptive Cruise Control, ACC) information, tire pressure, air-conditioning state information (including air-conditioning temperature
The information such as degree, wind-force, switch), fuel consumption information, FM frequency informations, ON/OFF (ON/OFF) information, serial bus system
(ControLLer Area Net-work Bus, CANBus) information etc..
Now, vehicle control syetem also includes microprocessor 20, and the microprocessor 20 is as shown in figure 8, including acquisition module
21st, micro treatment module 2212 and transport module 23, wherein:Acquisition module 21, for obtaining on-vehicle information;Micro treatment module
2212, for being handled on-vehicle information and forming data;Transport module 23, for transmitting the number to main control processor 10
According to.
Alternatively, the data that main control processor 10 is received include the operational order of user, and the operational order is grasped including air-conditioning
Instruct, radio operational order, multimedia operations instruction etc..Now, as shown in figure 9, main control processor 10 also includes instruction
Receiving module 13 and data formation module 14, wherein:Command reception module 13 is used for the operational order for receiving user, and data are formed
Module 14 is used to handle the operational order and form data.
In certain embodiments, vehicle control syetem includes at least two communication interfaces, control processor and microprocessor 20
By communications interface transmission data, wherein, at least two communication interfaces have different precedence informations respectively.Now, add
Module 11 is as shown in Figure 10, including the adding device 112 of first acquisition unit 111 and first.Wherein:First acquisition unit 111, is used
When the data received when main control processor 10 are the data of on-vehicle information formation, acquisition receives the excellent of the communication interface of the data
First level information;First adding device 112, for adding data to corresponding priority according to the precedence information of communication interface
In queue, i.e.,:The data that the high communication interface of priority is received are added in high-priority queue, by the low communication of priority
The data of interface are added in Low Priority Queuing.
For example:
As shown in Fig. 2 main control processor 10 passes through two universal asynchronous receiving-transmitting transmitters with microprocessor 20
(Universal Asynchronous Receiver/Transmitter, UART) serial ports is communicated, two UART serial ports point
Not Wei UART serial ports 1 and UART serial ports 2, the data transmitted therebetween be UART data.The priority for defining UART serial ports 1 is high
In the priority of UART serial ports 2, and UART serial ports 1 transmits urgent and safety-related significant data for transmitting, such as ACC letters
The data such as breath, reversing information, tire pressure;UART serial ports 2 is used for transmitting routine data, such as air-conditioning state information, fuel consumption information,
The data such as FM frequency informations.
As shown in figure 3, when the UART serial ports 1 of main control processor 10 receives ACC information, reversing information, tire pressure etc.
During data, add module 1110 is then added in high-priority queue;When the UART serial ports 2 of main control processor 10 receives air-conditioning
During the data such as status information, fuel consumption information, FM frequency informations, add module 1110 is then added in Low Priority Queuing.
In other embodiments, the priority of data can be pre-defined, now, add module 11 as shown in figure 11, is wrapped
Include the adding device 114 of second acquisition unit 113 and second.Wherein:Second acquisition unit 113, for after data are received, obtaining
Take the precedence information of the data;Second adding device 114, for being added the data to pair according to the precedence information of data
In the priority query answered, i.e.,:The high data of priority are added in high-priority queue, the low data of priority are added
Into Low Priority Queuing.
It is alternatively possible to which pre-setting data compares storehouse with precedence information, it is single that second acquisition unit 113 includes inquiry
Member, it is used to inquire about corresponding precedence information with precedence information control storehouse in data according to the data of reception.For example:
Car information high priority corresponding with ACC information, priority during tire pressure is corresponding with velocity information, air-conditioning state information, oil consumption
Information low priority corresponding with FM frequency informations.
It is alternatively possible to add priority tag in data, second acquisition unit 113 includes parsing subelement, and it is used
The priority tag of the data received in parsing, obtains the precedence information of the data.For example:Priority tag " 1 " is represented
High priority, priority tag " 0 " represents low priority.
For example:
As shown in figure 4, preset data compares storehouse with precedence information in main control processor 10, wherein, reversing information and ACC
Priority, air-conditioner temperature information, fuel consumption information and FM frequencies in information correspondence high priority, tire pressure, velocity information correspondence
Information correspondence low priority.
As shown in figure 5, when main control processor 10 receives ACC information, reversing information, add module 11 is then added to height
In priority query;When main control processor 10 receives tire pressure and velocity information, add module 11 is excellent in being then added to
In first level queue;When receiving air-conditioner temperature information, fuel consumption information and FM frequency informations, add module 11 is then added to low excellent
In first level queue.
Further, as shown in figure 12, add module 11 also includes sequencing unit 115, and the sequencing unit 115 is used for same
Data in one priority query are ranked up.In certain embodiments, sequencing unit 115 can be in same priority queue
Data be ranked up according to the sequencing of the reception time of data, i.e.,:First receive before data come, after receive
Behind data come.In further embodiments, sequencing unit 115 can be to the data in same priority queue according to data
The sequence of priority be ranked up.
For example, to nine priority of data definition, the second adding device 114 adds first to third priority data
Into high-priority queue, sequencing unit 115 is arranged data therein according to the order of first, second, third priority
Sequence;The data of 4th to the 6th priority are added in middle priority query by the second adding device 114, and sequencing unit 115 is pressed
Order according to the four, the five, the 6th priority is ranked up to data therein;Second adding device 114 is by the 7th to the 9th
The data of priority are added in Low Priority Queuing, and sequencing unit 115 is right according to the order of the seven, the eight, the 9th priority
Data therein are ranked up.So as to which in same priority queue, more importantly data can also be obtained more preferably
Processing.
In other embodiments, sequencing unit 115 can also be increased in the add module 11 shown in Figure 10.
Data in the higher priority query of the priority treatment priority of processing module 12, when the higher priority of priority
When data processing in queue is finished, the data in the relatively low priority query of ability processing priority.And in processing priority
In data procedures in relatively low priority query, when with the addition of new data again in the higher priority query of priority, then
Suspend what is added in the data in the relatively low priority query of processing priority, the higher priority query of priority treatment priority
New data, it is pending finish after be further continued for data in the relatively low priority query of processing priority.For same priority team
Data in row, then handled successively according to putting in order.
So that priority query includes high-priority queue and Low Priority Queuing as an example, processing module 12 is as shown in figure 13,
Including the first judging unit 31, interrupt location 32, the first execution unit 33, the second judging unit 34 and the second execution unit 35,
Wherein:First judging unit 31, for judging to whether there is data in high-priority queue;Interrupt location 32, for first
When judging unit 31 judges to have data in high-priority queue, the data in interrupt processing Low Priority Queuing;First performs list
Member 33, for when the data in the interrupt processing Low Priority Queuing of interrupt location 32, handling the data in high-priority queue;
Second judging unit 34, for judging whether the data in high-priority queue are disposed;Second execution unit 35, for
When second judging unit 34 judges that the data processing in high-priority queue is finished, recover the number in processing Low Priority Queuing
According to.
For example, as shown in figure 5, reversing information and ACC in the priority treatment high-priority queue of processing module 12 are believed
Breath, tire pressure and velocity information in being reprocessed after being disposed in priority query, is reprocessed low after being disposed
Air-conditioner temperature information, fuel consumption information and FM frequency informations in priority query.Data in priority query in processes
During, when receiving reversing information and when being added in high-priority queue, then priority treatment reversing information.It is low handling
During data in priority query, when receiving ACC information and being added in high-priority queue, then priority treatment
The ACC information;When receiving tire pressure and being added in middle priority query, then priority treatment tire pressure.
The vehicle control syetem of the embodiment of the present invention, by being grouped to the data received, is added to different excellent
In first level queue, and the data in each priority query are handled according to the order of priority from high to low successively, so that weight
Want data that the real-time of significant data processing by priority treatment, can be improved, it is to avoid the obstruction of significant data, improve car
Security, improve Consumer's Experience.
It will be understood by those skilled in the art that the present invention includes being related to for performing one in operation described herein
Or multinomial equipment.These equipment can be for needed for purpose and specially design and manufacture, or general-purpose computations can also be included
Known device in machine.These equipment have the computer program being stored in it, and these computer programs are optionally activated
Or reconstruct.Such computer program, which can be stored in equipment (for example, computer) computer-readable recording medium or be stored in, to be suitable to
Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited to
Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, it is read-only to deposit
Reservoir), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-
Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable
Read-Only Memory, EEPROM), flash memory, magnetic card or light card.It is, readable
Medium includes any medium for storing or transmitting information in the form of it can read by equipment (for example, computer).
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or
The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology is led
Field technique personnel be appreciated that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other
The processor of programmable data processing method is realized, so as to pass through the processing of computer or other programmable data processing methods
The scheme that device is specified in the frame or multiple frames to perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that in the various operations discussed in the present invention, method, flow
Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present invention
Kind operation, method, other steps in flow, measure, scheme can also be replaced, changed, reset, decomposed, combined or deleted.
Further, it is of the prior art to have and the step in the various operations disclosed in the present invention, method, flow, measure, scheme
It can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, be included within the scope of the present invention.
Claims (10)
1. a kind of data processing method of vehicle control syetem, the vehicle control syetem includes main control processor, its feature exists
In comprising the following steps:
The data received are added in corresponding priority query by the main control processor, and the priority query at least wraps
Include high-priority queue and Low Priority Queuing;
The main control processor handles the data in each priority query according to the order of priority from high to low successively.
2. the data processing method of vehicle control syetem according to claim 1, it is characterised in that the vehicle-mounted control system
System also includes microprocessor, the main control processor by the data received be added to step in corresponding priority query it
It is preceding also to include:
The microprocessor obtains on-vehicle information;
The microprocessor is handled the on-vehicle information and forms the data;
The microprocessor transmits the data to the main control processor.
3. the data processing method of vehicle control syetem according to claim 2, it is characterised in that the vehicle-mounted control system
System also includes at least two communication interfaces, and the main control processor passes through described in the communications interface transmission with the microprocessor
Data, at least two communication interface has different precedence informations respectively, and the main control processor is by the number received
Include according to the step being added in corresponding priority query:
The main control processor obtains the precedence information of the communication interface;
The data that the micro-control unit is transmitted are added in corresponding priority query according to the precedence information.
4. the data processing method of vehicle control syetem according to claim 1, it is characterised in that the main control processor
Also include before the step that the data received are added in corresponding priority query:
The main control processor receives the operational order of user;
The main control processor is handled the operational order and forms the data.
5. the data processing method of vehicle control syetem according to claim 1, it is characterised in that the main control processor
The step that the data received are added in corresponding priority query is included:
The main control processor obtains the precedence information of the data;
The data are added in corresponding priority query by the main control processor according to the precedence information of the data.
6. a kind of vehicle control syetem, it is characterised in that including main control processor, the main control processor includes:
Add module, for the data received to be added in corresponding priority query, the priority query at least wraps
Include high-priority queue and Low Priority Queuing;
Processing module, for handling the data in each priority query successively according to the order of priority from high to low.
7. vehicle control syetem according to claim 6, it is characterised in that the vehicle control syetem is included also including micro-
Processor, the microprocessor includes:
Acquisition module, for obtaining on-vehicle information;
Micro treatment module, for being handled the on-vehicle information and being formed the data;
Transport module, for transmitting the data to the main control processor.
8. vehicle control syetem according to claim 7, it is characterised in that the vehicle control syetem also includes at least two
Individual communication interface, the main control processor and the microprocessor by data described in the communications interface transmission, it is described at least
Two communication interfaces have different precedence informations respectively, wherein, the add module includes:
First acquisition unit, the precedence information for obtaining the communication interface;
First adding device, for the data that the transport module is transmitted to be added into correspondence according to the precedence information
Priority query in.
9. vehicle control syetem according to claim 6, it is characterised in that the main control processor also includes:
Command reception module, the operational order for receiving user;
Data formation module, for being handled the operational order and being formed the data.
10. vehicle control syetem according to claim 6, it is characterised in that the add module includes:
Second acquisition unit, the precedence information for obtaining the data;
The data are added to corresponding priority query by the second adding device for the precedence information according to the data
In.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710533637.0A CN107273201A (en) | 2017-07-03 | 2017-07-03 | Vehicle control syetem and its data processing method |
| PCT/CN2017/109193 WO2019006938A1 (en) | 2017-07-03 | 2017-11-02 | Vehicle-mounted control system and data processing method therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710533637.0A CN107273201A (en) | 2017-07-03 | 2017-07-03 | Vehicle control syetem and its data processing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107273201A true CN107273201A (en) | 2017-10-20 |
Family
ID=60069773
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710533637.0A Pending CN107273201A (en) | 2017-07-03 | 2017-07-03 | Vehicle control syetem and its data processing method |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107273201A (en) |
| WO (1) | WO2019006938A1 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019006938A1 (en) * | 2017-07-03 | 2019-01-10 | 深圳市沃特沃德股份有限公司 | Vehicle-mounted control system and data processing method therefor |
| CN109640294A (en) * | 2019-01-15 | 2019-04-16 | 北京百度网讯科技有限公司 | Unmanned vehicle data transmission method, device, system and storage medium |
| CN111791886A (en) * | 2019-04-01 | 2020-10-20 | 通用汽车环球科技运作有限责任公司 | Real-time control system for vehicle and method for performing vehicle control via real-time control system |
| CN111818148A (en) * | 2020-06-30 | 2020-10-23 | 深圳市海邻科信息技术有限公司 | Processing method, system, device and storage medium for vehicle-mounted event |
| CN115987606A (en) * | 2022-12-19 | 2023-04-18 | 国汽智控(北京)科技有限公司 | Intrusion behavior processing method and related equipment |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1731357A (en) * | 2005-08-22 | 2006-02-08 | 威盛电子股份有限公司 | Computer system and booting method thereof |
| JP2010026815A (en) * | 2008-07-18 | 2010-02-04 | Kddi Corp | Information processor |
| CN103457875A (en) * | 2013-08-29 | 2013-12-18 | 上海永畅信息科技有限公司 | Message queue control method based on multi-priority in Internet of vehicles |
| CN103918242A (en) * | 2011-10-03 | 2014-07-09 | 高通股份有限公司 | Method and apparatus for filtering and processing received vehicle peer-to-peer transmissions based on reliability information |
| CN104468400A (en) * | 2014-10-21 | 2015-03-25 | 中国科学技术大学苏州研究院 | Car networking emergency message real-time performance ensuring method |
| CN104580469A (en) * | 2015-01-12 | 2015-04-29 | 深圳楼兰辉煌科技有限公司 | Vehicle networking system based on file queue storage and transmission |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103049324A (en) * | 2013-01-08 | 2013-04-17 | 浙江大学 | Method for managing read-write tasks of AUTOSAR (automotive open system architecture) NvM [NVRAM (nonvolatile random access memory) manager] on basis of priority bitmap |
| CN104991816A (en) * | 2015-06-25 | 2015-10-21 | 浪潮(北京)电子信息产业有限公司 | Process scheduling method and apparatus |
| CN107273201A (en) * | 2017-07-03 | 2017-10-20 | 深圳市沃特沃德股份有限公司 | Vehicle control syetem and its data processing method |
-
2017
- 2017-07-03 CN CN201710533637.0A patent/CN107273201A/en active Pending
- 2017-11-02 WO PCT/CN2017/109193 patent/WO2019006938A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1731357A (en) * | 2005-08-22 | 2006-02-08 | 威盛电子股份有限公司 | Computer system and booting method thereof |
| JP2010026815A (en) * | 2008-07-18 | 2010-02-04 | Kddi Corp | Information processor |
| CN103918242A (en) * | 2011-10-03 | 2014-07-09 | 高通股份有限公司 | Method and apparatus for filtering and processing received vehicle peer-to-peer transmissions based on reliability information |
| CN103457875A (en) * | 2013-08-29 | 2013-12-18 | 上海永畅信息科技有限公司 | Message queue control method based on multi-priority in Internet of vehicles |
| CN104468400A (en) * | 2014-10-21 | 2015-03-25 | 中国科学技术大学苏州研究院 | Car networking emergency message real-time performance ensuring method |
| CN104580469A (en) * | 2015-01-12 | 2015-04-29 | 深圳楼兰辉煌科技有限公司 | Vehicle networking system based on file queue storage and transmission |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019006938A1 (en) * | 2017-07-03 | 2019-01-10 | 深圳市沃特沃德股份有限公司 | Vehicle-mounted control system and data processing method therefor |
| CN109640294A (en) * | 2019-01-15 | 2019-04-16 | 北京百度网讯科技有限公司 | Unmanned vehicle data transmission method, device, system and storage medium |
| CN111791886A (en) * | 2019-04-01 | 2020-10-20 | 通用汽车环球科技运作有限责任公司 | Real-time control system for vehicle and method for performing vehicle control via real-time control system |
| CN111791886B (en) * | 2019-04-01 | 2023-10-10 | 通用汽车环球科技运作有限责任公司 | Real-time control system for vehicle and method for performing vehicle control via real-time control system |
| CN111818148A (en) * | 2020-06-30 | 2020-10-23 | 深圳市海邻科信息技术有限公司 | Processing method, system, device and storage medium for vehicle-mounted event |
| CN111818148B (en) * | 2020-06-30 | 2023-04-28 | 深圳市海邻科信息技术有限公司 | Processing method, system, device and storage medium for vehicle-mounted event |
| CN115987606A (en) * | 2022-12-19 | 2023-04-18 | 国汽智控(北京)科技有限公司 | Intrusion behavior processing method and related equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019006938A1 (en) | 2019-01-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107273201A (en) | Vehicle control syetem and its data processing method | |
| US8135506B2 (en) | Methods and systems for providing vehicle information | |
| CN112199266B (en) | Log transmission method and system for vehicle-mounted machine system, vehicle and storage medium | |
| EP2299355A2 (en) | Method and system for interaction between a vehicle driver and a plurality of applications | |
| CN111242333A (en) | Network appointment order processing method, system, terminal and server | |
| CN109218074A (en) | A kind of automobile emergency event remote notification method and system | |
| CN108876095A (en) | A kind of vehicle sharing method, device and server | |
| WO2005055046A1 (en) | Method and system for interact between a vehicle driver and a plurality of applications | |
| US20140310359A1 (en) | Vehicle information providing system | |
| CN109640477A (en) | A kind of car lamp control system, method and car light controller | |
| CN109857085A (en) | Simulation generates method, system, simulation terminal and the test macro of travelling data | |
| CN105957184A (en) | Intelligent HUD data processing method and system | |
| CN114415646A (en) | Remote vehicle diagnosis method, system and terminal equipment based on DoIP protocol | |
| WO2020058020A1 (en) | An improved tyre information system | |
| CN109565458A (en) | Method and apparatus for the data communication in access controller local area network | |
| CN117301795A (en) | Method and device for controlling air conditioner of vehicle, electronic equipment and vehicle | |
| CN105480093A (en) | Vehicle instrument display control method | |
| US11417155B2 (en) | On-board data request approval management | |
| CN115987898B (en) | Automobile business layer communication method, device, electronic equipment and storage medium | |
| CN109348355B (en) | Real person voice alarm signal arbitration method and system | |
| JP4433961B2 (en) | Vehicle communication system and in-vehicle communication device | |
| CN113411770B (en) | Method, device and equipment for selecting periodic resources and storage medium | |
| CN112231573B (en) | Bus trip recommendation method and device | |
| CN108564679A (en) | A kind of Intelligent voice broadcasting method and apparatus | |
| CN106696700A (en) | Automobile black box instrument and working method thereof |
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: 20171020 |