CN108920289B - Data processing method of vehicle-mounted controller and vehicle-mounted controller - Google Patents

Data processing method of vehicle-mounted controller and vehicle-mounted controller Download PDF

Info

Publication number
CN108920289B
CN108920289B CN201810719949.5A CN201810719949A CN108920289B CN 108920289 B CN108920289 B CN 108920289B CN 201810719949 A CN201810719949 A CN 201810719949A CN 108920289 B CN108920289 B CN 108920289B
Authority
CN
China
Prior art keywords
software
data
transmitted
pieces
number 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.)
Active
Application number
CN201810719949.5A
Other languages
Chinese (zh)
Other versions
CN108920289A (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.)
Shanghai Inesa Auto Electronics System Co ltd
Original Assignee
Shanghai Inesa Auto Electronics System 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 Shanghai Inesa Auto Electronics System Co ltd filed Critical Shanghai Inesa Auto Electronics System Co ltd
Priority to CN201810719949.5A priority Critical patent/CN108920289B/en
Publication of CN108920289A publication Critical patent/CN108920289A/en
Application granted granted Critical
Publication of CN108920289B publication Critical patent/CN108920289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a data processing method of a vehicle-mounted controller and the vehicle-mounted controller, wherein the method comprises the following steps: acquiring M pieces of first data to be transmitted acquired through first software in N pieces of software, and acquiring first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer; the first intermediate data comprises the first data to be transmitted and first serial number information, and the first serial number information is corresponding to second software which needs to use the first data to be transmitted in the N pieces of software; and determining and acquiring the M first intermediate data according to the first serial number information in all the intermediate data released in the intermediate layer through the second software, and acquiring the M first data to be transmitted according to the M first intermediate data.

Description

Data processing method of vehicle-mounted controller and vehicle-mounted controller
Technical Field
The present invention relates to a vehicle-mounted system, and in particular, to a data processing method of a vehicle-mounted controller, and an electronic device.
Background
With the popularization of internet technology and the explosive growth of new energy automobiles, the automobile electronization degree is continuously improved, the number of vehicle-mounted controllers is larger, the functions are more complex, the software is updated more, and the mutual requirements are increased.
Therefore, the software development period of the vehicle-mounted controller supplier is long, the difficulty is increased, the maintenance cost is increased, and the software quality cannot be guaranteed. In the prior art, if information needs to be transmitted between software modules of a vehicle-mounted controller, a direct transmission mode is mostly adopted.
In the direct transfer mode, the formats of the transferred information are not uniform, so that the interfaces between the software modules are difficult to be uniform, and the information transmitted by different software modules and the information transmitted to different software modules need to be analyzed and processed in different ways, which may affect the efficiency of information transfer.
Disclosure of Invention
The invention provides a data processing method of a vehicle-mounted controller, the vehicle-mounted controller and electronic equipment, and aims to solve the problem that interfaces among software modules are difficult to unify.
According to a first aspect of the present invention, there is provided a data processing method of an on-vehicle controller, comprising:
acquiring M pieces of first data to be transmitted acquired through first software in N pieces of software, and acquiring first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first data to be transmitted and first serial number information, and the first serial number information is serial number information corresponding to any one of N pieces of software which needs to use second software of the first data to be transmitted;
and determining and acquiring the M first intermediate data according to the first serial number information in all the intermediate data released in the intermediate layer through the second software, and acquiring the M first data to be transmitted according to the M first intermediate data.
According to a second aspect of the present invention, there is provided a data processing method of an in-vehicle controller, comprising:
acquiring M pieces of first data to be transmitted acquired through first software in N pieces of software, and acquiring first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first to-be-transmitted data and first serial number information, and the first serial number information is corresponding to any one of N pieces of software which needs to use second software of the first to-be-transmitted data;
sending the M first intermediate layers to the second software through the intermediate layers in all intermediate data released in the intermediate layers according to the first number information;
and obtaining the M first data to be transmitted according to the M first intermediate data through the second software.
Optionally, the first to-be-transmitted data is data smaller than or equal to 64 bits, the first number information is data smaller than or equal to 11 bits, and the size of the first intermediate data is 1 frame.
Optionally, if the first software is base layer software, the corresponding second software is another base layer software or application layer software;
and if the first software is application layer software, the corresponding second software is base layer software or another application layer software.
Optionally, the code of the application layer software is automatically generated by a Simulink tool of Matlab.
Optionally, the base layer software is generated for a hardware configuration tool in the IDE tool of the onboard controller.
Optionally, the middle layer is determined for a Vector bucket toolchain configuration of the onboard controller.
Optionally, the vehicle-mounted controller is a controller of at least one of the following:
the vehicle-mounted data communication system comprises a vehicle-mounted data communication module DCM, a vehicle-mounted body control module BCM, an automobile instrument, an air conditioner controller, a combination switch, an intelligent sensor and an intelligent lamp.
According to a third aspect of the present invention, there is provided an onboard controller comprising: n pieces of software and a middle layer, wherein the N pieces of software comprise first software and second software
The first software is used for acquiring M pieces of acquired first data to be transmitted and obtaining a first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first data to be transmitted and first serial number information, and the first serial number information is serial number information corresponding to any one of N pieces of software which needs to use second software of the first data to be transmitted;
and the second software is used for acquiring the M first intermediate data from all the intermediate data released in the intermediate layer according to the first serial number information, and acquiring the M first data to be transmitted according to the M first intermediate data.
According to a fourth aspect of the present invention, there is provided an onboard controller comprising: n pieces of software and a middle layer, wherein the N pieces of software comprise first software and second software;
the first software is used for acquiring M pieces of acquired first data to be transmitted and obtaining a first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first to-be-transmitted data and first serial number information, and the first serial number information is corresponding to any one of N pieces of software which needs to use second software of the first to-be-transmitted data;
the middle layer is used for determining and sending the M first intermediate data to the second software according to the first serial number information in all the intermediate data issued in the middle layer;
and the second software is used for obtaining the M first data to be transmitted according to the M first intermediate data.
Optionally, the first to-be-transmitted data is data with a bit number less than or equal to 64 bits, the first number information is data with a bit number less than or equal to 11 bits, and the size of the first intermediate data is 1 frame.
Optionally, if the first software is base layer software, the corresponding second software is another base layer software or application layer software;
and if the first software is application layer software, the corresponding second software is base layer software or another application layer software.
Optionally, the code of the application layer software is automatically generated by a Simulink tool of Matlab.
Optionally, the base layer software is generated for a hardware configuration tool in the IDE tool of the onboard controller.
Optionally, the middle layer is determined for a Vector bucket toolchain configuration of the onboard controller.
Optionally, the vehicle-mounted controller is a controller of at least one of the following:
the vehicle-mounted data communication system comprises a vehicle-mounted data communication module DCM, a vehicle-mounted body control module BCM, an automobile instrument, an air conditioner controller, a combination switch, an intelligent sensor and an intelligent lamp.
According to a fifth aspect of the present invention, there is provided an electronic apparatus comprising: a processor and a memory;
the memory to store executable instructions;
and the processor is used for reading the executable instructions and implementing the data processing method of the vehicle-mounted controller related to the first aspect and the optional scheme thereof according to the executable instructions or implementing the data processing method of the vehicle-mounted controller related to the second aspect and the optional scheme thereof according to the executable instructions.
According to the data processing method of the vehicle-mounted controller and the vehicle-mounted controller, the acquired data to be transmitted can be obtained through the first software, and the intermediate data which corresponds to the data to be transmitted and comprises the number information and the data to be transmitted is issued to the intermediate layer; the invention can utilize the middle layer to realize the data bus function of data transmission between the first software and the second software, and because the information format of the middle data is determined, the format of the output interface of the first software and the format of the input interface of the second software are determined and matched, the invention can realize the unification of interfaces between software modules and improve the efficiency.
Meanwhile, the optional scheme of the invention can avoid using the AUTOSAR, further avoid paying the expenses of a tool chain, software package authorization expenses and the like, effectively reduce the cost, simultaneously avoid the limitation of a whole vehicle platform due to the use of the AUTOSAR, and effectively improve the universality.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a data processing method of an onboard controller according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a data processing method of an onboard controller according to another embodiment of the present invention;
FIG. 3 is a block diagram of an on-board controller according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an architecture of an on-board controller according to another embodiment of the present invention;
FIG. 5 is a diagram illustrating an architecture of an onboard controller according to yet another embodiment of the present invention;
FIG. 6 is a schematic diagram of an architecture of an on-board controller according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of an on-board automatic air conditioner controller according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an on-board controller for a fully automatic air conditioner applied to testing according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a schematic flow chart of a data processing method of an on-board controller according to an embodiment of the present invention.
Referring to fig. 1, a data processing method of an onboard controller includes:
s110: and acquiring the acquired M first data to be transmitted through first software in the N pieces of software. Wherein, M can be any integer larger than or equal to 1, and N can be any integer larger than or equal to 2.
The first software can be understood as any software different from the corresponding second software, and specifically can be base layer software or application layer software; the second software may also be base layer software or application software. Namely:
if the first software is base layer software, the corresponding second software is another base layer software or application layer software;
and if the first software is application layer software, the corresponding second software is base layer software or another application layer software.
Meanwhile, the first software for realizing the transceiving of a group of M data to be transmitted can also be the second software for transceiving another group of M data to be transmitted; the second software for implementing the transceiving of a group of M data to be transmitted may also be the first software for transceiving another group of M data to be transmitted.
It can be seen that the first software and the second software are for a set of M data to be transmitted.
The data to be transmitted can be understood as data that can be used by the second software to perform any predetermined function. For example, the information may be information triggering to turn on a light, turn off a light, turn on an air conditioner, turn off an air conditioner, adjust an air conditioner parameter, or detection information of a sensor, or the like. In a specific implementation process, the M pieces of data to be transmitted may be determined after the data to be uploaded is packetized.
The vehicle-mounted controller can be a controller which is arbitrarily arranged on a vehicle and applied to realizing a control function, and in a specific implementation process, the vehicle-mounted controller can be at least one of the following controllers:
the vehicle-mounted data communication system comprises a vehicle-mounted data communication module DCM, a vehicle-mounted body control module BCM, an automobile instrument, an air conditioner controller, a combination switch, an intelligent sensor and an intelligent lamp.
S120: -by means of said first software implementation: and obtaining first intermediate data according to each first data to be transmitted.
The first intermediate data may be understood as including the first to-be-transmitted data and first serial number information, where the first serial number information is serial number information corresponding to any one of the N pieces of software that needs to use the second software of the first to-be-transmitted data.
In one embodiment, the size of the intermediate data may be 1 frame, the data to be transmitted may be data smaller than or equal to 64 bits, and the number information may be data smaller than or equal to 11 bits. In a specific implementation process, the data to be transmitted may be 64-bit data, and the number information may be 11-bit data.
The number information may be specifically an ID, and the intermediate data may be specifically a Message.
S130: and respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer through the first software.
The intermediate layer, which may be understood as any layer of interaction that enables the reception and transmission of DATA, may have a function similar to a DATA BUS and, therefore, may be characterized as a DATA _ BUS.
In one embodiment, the first intermediate data may be received in the same order as the first intermediate data is transmitted, for example, the first intermediate data received first may be transmitted first to the second software.
S140: and determining and acquiring the M pieces of first intermediate data according to the first serial number information in all the intermediate data issued in the intermediate layer through the second software.
S150: and obtaining the M first data to be transmitted according to the M first intermediate data through the second software.
In the data processing method of the vehicle-mounted controller provided by this embodiment, the acquired to-be-transmitted data can be acquired through the first software, and the intermediate data, which includes the number information and the to-be-transmitted data, corresponding to the to-be-transmitted data is issued to the intermediate layer; the invention can utilize the middle layer to realize the data bus function of data transmission between the first software and the second software, and because the information format of the middle data is determined, the format of the output interface of the first software and the format of the input interface of the second software are determined and matched, the invention can realize the unification of interfaces between software modules and improve the efficiency. Meanwhile, the unified interface can also be beneficial to module transplantation.
Fig. 2 is a schematic flow chart of a data processing method of an on-board controller according to another embodiment of the invention.
Please refer to fig. 2, which is a variation of the embodiment shown in fig. 1, and the difference is mainly that step S16 is used instead of step S14, wherein step S16 includes:
and sending the M first intermediate layers to the second software through the intermediate layers in all intermediate data released in the intermediate layers according to the first number information.
The implementation and technical effects applicable to the embodiment shown in fig. 2 can be understood by referring to the embodiment shown in fig. 1.
FIG. 3 is a block diagram of an embodiment of an on-board controller.
Referring to fig. 3, the vehicle-mounted controller 200 includes: a middle tier 202, and N pieces of software; the N pieces of software include a first piece of software 201 and a second piece of software 203.
Corresponding to the embodiment shown in fig. 1, in an implementation manner of this embodiment:
the first software 201 is configured to obtain M pieces of acquired first data to be transmitted, and obtain a first intermediate data according to each piece of the first data to be transmitted; respectively issuing the M first intermediate data corresponding to the M first data to be transmitted to the intermediate layer 202;
the first intermediate data comprises the first to-be-transmitted data and first serial number information, and the first serial number information is corresponding to any one of N pieces of software which needs to use second software of the first to-be-transmitted data;
the second software 203 is configured to obtain the M first intermediate data according to the first number information in all the intermediate data released in the intermediate layer, and obtain the M first data to be transmitted according to the M first intermediate data.
Corresponding to the embodiment shown in fig. 2, in an implementation manner of this embodiment:
the first software 201 is configured to obtain M pieces of acquired first data to be transmitted, and obtain a first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first to-be-transmitted data and first serial number information, and the first serial number information is corresponding to any one of N pieces of software which needs to use second software of the first to-be-transmitted data;
the middle layer 202 is configured to determine and send the M first middle layers to the second software according to the first number information in all the middle data issued to the middle layer;
the second software 203 is configured to obtain the M first data to be transmitted according to the M first intermediate data.
The role of the first software, the middle layer 202, and the second software can be understood with reference to the associated description of the embodiments shown in fig. 1 and 2.
In the vehicle-mounted controller provided by this embodiment, the acquired to-be-transmitted data can be acquired through the first software, and the intermediate data, which includes the number information and the to-be-transmitted data and corresponds to the to-be-transmitted data, is issued to the intermediate layer; the invention can utilize the middle layer to realize the data bus function of data transmission between the first software and the second software, and because the information format of the middle data is determined, the format of the output interface of the first software and the format of the input interface of the second software are determined and matched, the invention can realize the unification of interfaces between software modules and improve the efficiency. Meanwhile, the unified interface can also be beneficial to module transplantation.
FIG. 4 is a block diagram of an on-board controller according to another embodiment of the present invention. FIG. 5 is a block diagram of an on-board controller according to yet another embodiment of the present invention. FIG. 6 is a block diagram of an on-board controller according to another embodiment of the present invention.
Referring to fig. 4, 5 and 6, in one embodiment, the above-mentioned base layer software may be, for example: the system comprises bottom hardware driving software, a real-time operating system (RTOS), a bus communication driving module and a memory operating module. The application layer software referred to above may be for example: each functional submodule of the vehicle, a system state machine and internal diagnosis service software.
It is to be appreciated that the software described in this embodiment can be implemented as modules, systems, sub-modules, state machines, etc. as long as the software is written in code and used for performing specific functions.
Each functional submodule can be any software used in a vehicle-mounted system and equipment for realizing a specific function.
In one embodiment, the code of the application layer software is automatically generated by a Simulink tool of Matlab. The base layer software is generated for a hardware configuration tool in an IDE tool of the onboard controller. The intermediate layer is configured and determined for a Vector Canoe toolchain of the vehicle-mounted controller. In the implementation mode, codes do not need to be written manually in the whole process, the error rate is reduced, modular design and maintenance management are facilitated, the development period is shortened, and the development cost is saved.
In addition, as can be seen from a comparison between fig. 5 and fig. 6, the intermediate data, which is issued by one first software and is characterized by a Message, may be received by a plurality of second software as shown in fig. 5, where the corresponding first number information may also be a plurality of intermediate data, or may be received by a corresponding one of the second software as shown in fig. 6, where the corresponding first number information may be one intermediate data.
In a specific implementation process, taking a vehicle-mounted controller as a vehicle-mounted full-automatic air conditioner controller as an example, please refer to fig. 7, where fig. 7 is a schematic structural diagram of the vehicle-mounted full-automatic air conditioner controller according to an embodiment of the present invention; the implementation method comprises the following steps:
s21: in response to the user operating the AC key, Bsw _ IoNode encodes the collected signal to form Bsw _ IoMsg message, which may correspond to the above steps S110 and S120.
S22: bsw _ IoMsg is sent to the DATA BUS on the DATA BUS, which may correspond to step S130 described above.
S23: and the App _ SysNode and the App _ Uds _ Node receive Bsw _ IoMsg messages from the DATA BUS and analyze the messages. This process may correspond to steps S140 and S150 described above.
After the step S23, the method can enter App _ Uds _ Node to determine whether there is a fault, App _ SysNode determines whether to switch the air conditioner working mode, and outputs Rte _ App sys _ Msg, App _ acnde receives Rte _ App sys _ Msg, determines whether the mode can start the compressor, App _ acnde outputs Rte _ AppAc _ Msg after the determination is finished, and allows the compressor to be started, Bsw _ Io _ Msg executes the corresponding Io operation of the MCU after receiving Rte _ AppAc _ Msg, and finally realizes the AC start operation.
The method is applied to the automatic testing scene, namely the vehicle-mounted controller can be the vehicle-mounted controller of the automatic testing equipment, the first software sends all data to the middle layer, the automatic testing equipment can read the changed data through the data interface, the automatic testing equipment can be built based on a Canoe VTsystem plate, a testing case library is built, module testing and system testing are carried out on the first software and the second software, and the testing efficiency and the testing coverage rate are greatly improved.
Referring to fig. 8, fig. 8 is a schematic diagram of an architecture of a vehicle-mounted full-automatic air conditioner controller applied to a test according to an embodiment of the present invention, where the test process may include:
s31: and remotely logging in the server through WIFI by the computer PC.
S32: and establishing a test case through third-party software such as MatlabVtest studio.
S33: the server loads test cases based on the Vector Canoe software platform.
S34: the server is linked with the VTsystem board card through the router.
S35: the VTsystem board card is connected in series between the load box controllers through hard wires to control the on-off of the load and the signal input.
S36: the VTsystem board card transmits two sets of signals on the CAN bus: controller signals and signals of the middle layer.
S37: testing the application layer code based on the MatlabSimulink platform.
S38: and simulating a signal source and a load test bottom hardware in-loop test based on the VTsystem board card.
S39: and carrying out software system integration test based on the VTsystem board card, and detecting data on the data bus.
One embodiment of the present invention provides an electronic device including: a processor and a memory;
the memory to store executable instructions;
the processor is configured to read the executable instruction, and implement the data processing method of the vehicle-mounted controller provided in the embodiment shown in fig. 1 according to the executable instruction, or implement the data processing method of the vehicle-mounted controller provided in the embodiment shown in fig. 2 according to the executable instruction.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A data processing method of an on-vehicle controller is characterized by comprising the following steps:
acquiring M pieces of first data to be transmitted acquired through first software in N pieces of software, and acquiring first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first data to be transmitted and first serial number information, and the first serial number information is serial number information corresponding to any one of N pieces of software which needs to use second software of the first data to be transmitted;
determining and acquiring the M pieces of first intermediate data according to the first serial number information in all the intermediate data issued in the intermediate layer through the second software, and acquiring the M pieces of first data to be transmitted according to the M pieces of first intermediate data;
if the first software is base layer software, the corresponding second software is another base layer software or application layer software;
and if the first software is application layer software, the corresponding second software is base layer software or another application layer software.
2. A data processing method of an on-vehicle controller is characterized by comprising the following steps:
acquiring M pieces of first data to be transmitted acquired through first software in N pieces of software, and acquiring first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first to-be-transmitted data and first serial number information, and the first serial number information is corresponding to any one of N pieces of software which needs to use second software of the first to-be-transmitted data;
sending the M pieces of first intermediate data to the second software through the intermediate layer in all intermediate data issued by the intermediate layer according to the first serial number information;
obtaining the M first data to be transmitted according to the M first intermediate data through the second software;
if the first software is base layer software, the corresponding second software is another base layer software or application layer software;
and if the first software is application layer software, the corresponding second software is base layer software or another application layer software.
3. The method according to claim 1 or 2, wherein the first data to be transmitted is data of 64 bits or less, the first number information is data of 11 bits or less, and the size of the first intermediate data is 1 frame.
4. Method according to claim 1 or 2, characterized in that the code of the base layer software is automatically generated by the Simulink tool of Matlab.
5. The method of claim 1 or 2, wherein the application layer software is generated for a hardware configuration tool in an IDE tool of the onboard controller.
6. The method according to claim 1 or 2, wherein the intermediate layer is determined for a Vector Canoe toolchain configuration of the on-board controller.
7. The method of claim 1 or 2, wherein the on-board controller is a controller of at least one of:
the vehicle-mounted data communication system comprises a vehicle-mounted data communication module DCM, a vehicle-mounted body control module BCM, an automobile instrument, an air conditioner controller, a combination switch, an intelligent sensor and an intelligent lamp.
8. An onboard controller, comprising: n pieces of software and a middle layer, wherein the N pieces of software comprise first software and second software;
the first software is used for acquiring M pieces of acquired first data to be transmitted and obtaining a first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first to-be-transmitted data and first serial number information, and the first serial number information is corresponding to any one of N pieces of software which needs to use second software of the first to-be-transmitted data;
the second software is configured to obtain, in all the intermediate data published in the intermediate layer, the M first intermediate data according to the first number information, and obtain the M first data to be transmitted according to the M first intermediate data;
if the first software is base layer software, the corresponding second software is another base layer software or application layer software;
and if the first software is application layer software, the corresponding second software is base layer software or another application layer software.
9. An onboard controller, comprising: n pieces of software and a middle layer, wherein the N pieces of software comprise first software and second software;
the first software is used for acquiring M pieces of acquired first data to be transmitted and obtaining a first intermediate data according to each piece of the first data to be transmitted; respectively issuing M first intermediate data corresponding to the M first data to be transmitted to an intermediate layer;
the first intermediate data comprises the first to-be-transmitted data and first serial number information, and the first serial number information is corresponding to any one of N pieces of software which needs to use second software of the first to-be-transmitted data;
the middle layer is used for determining and sending the M first intermediate data to the second software according to the first serial number information in all the intermediate data issued in the middle layer;
the second software is used for obtaining the M first data to be transmitted according to the M first intermediate data;
if the first software is base layer software, the corresponding second software is another base layer software or application layer software;
and if the first software is application layer software, the corresponding second software is base layer software or another application layer software.
CN201810719949.5A 2018-07-03 2018-07-03 Data processing method of vehicle-mounted controller and vehicle-mounted controller Active CN108920289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810719949.5A CN108920289B (en) 2018-07-03 2018-07-03 Data processing method of vehicle-mounted controller and vehicle-mounted controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810719949.5A CN108920289B (en) 2018-07-03 2018-07-03 Data processing method of vehicle-mounted controller and vehicle-mounted controller

Publications (2)

Publication Number Publication Date
CN108920289A CN108920289A (en) 2018-11-30
CN108920289B true CN108920289B (en) 2022-09-16

Family

ID=64423690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810719949.5A Active CN108920289B (en) 2018-07-03 2018-07-03 Data processing method of vehicle-mounted controller and vehicle-mounted controller

Country Status (1)

Country Link
CN (1) CN108920289B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813437A (en) * 2020-07-08 2020-10-23 北京汽车集团越野车有限公司 Software management method and device for automobile electronic controller
CN113294241A (en) * 2021-06-01 2021-08-24 广西玉柴机器股份有限公司 Wireless transmission method for signals of sensor and controller of electric control engine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2808792A1 (en) * 2013-05-28 2014-12-03 ZFaas Pty Ltd Method and system for using arbitrary computing devices for distributed data processing

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242408B (en) * 2008-01-18 2010-10-27 南京邮电大学 A construction method for open multi-source data packet capturing
CN101819526B (en) * 2009-09-18 2013-08-28 华为技术有限公司 Method and device for calling bottom software and embedded system
CN101924909A (en) * 2010-07-20 2010-12-22 深圳市茁壮网络股份有限公司 Middleware adaptation layer-based universal digital television conditional access system
WO2014134538A1 (en) * 2013-02-28 2014-09-04 Xaptum, Inc. Systems, methods, and devices for adaptive communication in a data communication network
CN103684963B (en) * 2013-11-18 2017-05-24 重庆邮电大学 Framework system and implementation method of middleware applied to car networking
CN107959709A (en) * 2017-10-25 2018-04-24 西南电子技术研究所(中国电子科技集团公司第十研究所) Method based on communication middleware data decoupler interactive structure
CN107992306A (en) * 2017-12-03 2018-05-04 中国直升机设计研究所 A kind of avionics software interface realizes uniformity automatic check method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2808792A1 (en) * 2013-05-28 2014-12-03 ZFaas Pty Ltd Method and system for using arbitrary computing devices for distributed data processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
新能源汽车多接口数据采集终端设计研究;张文强等;《电脑知识与技术》;20180425(第12期);全文 *

Also Published As

Publication number Publication date
CN108920289A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
EP2680534B1 (en) Logging for telematic systems
CN210380880U (en) Vehicle-mounted Ethernet test system
CN109740222B (en) Testing device and system for automobile networking scene
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN108255152B (en) vehicle diagnosis method, diagnosis box and computer readable storage medium
CN108920289B (en) Data processing method of vehicle-mounted controller and vehicle-mounted controller
CN111444052B (en) Yield testing method, system and device thereof
CN108829608A (en) A kind of automatization test system and method for the Intelligent vehicle-mounted terminal equipment based on automobile simulator
CN110083628A (en) A kind of addressing method and device of Vehicle Electronic Control Unit ECU
CN105453531A (en) Vehicle-mounted device, communication system, communication method, and program
CN105005539A (en) Authenticating data at a microcontroller using message authentication codes
CN110493294A (en) Update method, system, readable storage medium storing program for executing and the terminal of vehicle electronic circuit module
CN111402456B (en) Unlocking method and device
CN113905461A (en) Wireless communication module of integrated gateway
CN110362057A (en) Update method, system, readable storage medium storing program for executing and the terminal of vehicle electronic circuit module
CN111114326B (en) Power system integrated control system, method and storage medium
CN111061237B (en) Vehicle identification code flashing method and vehicle identification code flashing system
CN110264585B (en) Bus after-sale diagnosis system
CN110045720A (en) Vehicle-mounted TBox abnormal data uploads monitoring system and monitoring method
CN112584356A (en) Wireless configuration method and device for vehicle-mounted terminal, server and storage medium
CN112509176B (en) Fault repair method and device based on vehicle data
CN107294791B (en) Abnormal maintenance method and device for vehicle-mounted WIFI equipment
JP2020135468A (en) Software writing-system
CN114328229A (en) Over-the-air technology test system
CN215298216U (en) Vehicle with a steering wheel

Legal Events

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