CN104331292A - Method for generating configuration for middleware protocol conversion of Internet of vehicles - Google Patents

Method for generating configuration for middleware protocol conversion of Internet of vehicles Download PDF

Info

Publication number
CN104331292A
CN104331292A CN201410619292.7A CN201410619292A CN104331292A CN 104331292 A CN104331292 A CN 104331292A CN 201410619292 A CN201410619292 A CN 201410619292A CN 104331292 A CN104331292 A CN 104331292A
Authority
CN
China
Prior art keywords
configuration
protocol conversion
protocol
middleware
code
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.)
Granted
Application number
CN201410619292.7A
Other languages
Chinese (zh)
Other versions
CN104331292B (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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201410619292.7A priority Critical patent/CN104331292B/en
Publication of CN104331292A publication Critical patent/CN104331292A/en
Application granted granted Critical
Publication of CN104331292B publication Critical patent/CN104331292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for generating configuration for middleware protocol conversion of the Internet of vehicles. According to the method, the rapid development of a protocol conversion module is realized through configuration, vehicle enterprise communication protocol conversion parameters are added into a configuration tool through reading DBC (DataBase Commander) file description information which is compiled according to the communication protocol of the Internet of vehicles, configuration information is stored in a database, and middleware protocol conversion module codes of the Internet of vehicles are automatically generated by using protocol conversion template files; a vehicle body network is rapidly integrated with other networks, so as to realize the communication of the Internet of vehicles; the configuration tool can automatically generate configuration files and an application framework and carries out error check on the configuration of a user, worker involvement is avoided as much as possible, and the error rate is lowered, so that the stability of the protocol conversion module can be actively improved.

Description

The configuration generating method of a kind of car networking middleware protocol conversion
Technical field
The invention belongs to car networking technology field, relate to the configuration generating method of a kind of car networking middleware protocol conversion.
Background technology
Car networking be following Internet of Things give priority to one of object, some hand-held intelligent functions of the equipments such as we can realize amusement by vehicle-mounted terminal equipment, make a phone call.Meanwhile, we can also by functions such as the remote updates of the duty of the long-range real-time understanding vehicle all parts of wireless network, vehicle location, in-vehicle device program.Real-time statistics and the analysis of vehicle location can also be realized, for traffic scheduling and active safety systems of vehicles provide real time data by truck traffic, bus or train route communication.Therefore, car-mounted terminal application program, not only comprises and some general utility functionss, also brings new application demand.The important component part that vehicle intelligent terminal is networked as car, it is the bridge that car is connected with other networks, needs and in-vehicle network and car outer network carry out message exchange.Meanwhile, future car mounted terminal not only comprises fixing equipment, also comprises handheld device.Along with the development of car networking technology, rear dress terminal can directly utilize handheld terminal to replace, and as mobile phone, panel computer etc., and these equipment adopt different software platforms.Simultaneously, car networking important carrier---automobile is but because of the difference of producer, there is difference in its In-vehicle networking communication protocol, the car networking intelligent terminal of current research and development is rely on to carry out customizing substantially with assembly plant, and the car networked terminals of different enterprise is non-interchangeable.It is the inexorable trend that car networking develops that the exchange of car networked terminals, the software of same platform are shared.
Along with the application and development of car networking, in order to reduce cost of development, the exchange of equipment and software is inevitable trend.Car working application function due to car-mounted terminal is that general embedded device does not possess, and needs net connections such as vehicle body network, vehicle special short distance communication network DSRC (Dedicated Short Range Communications), 2G/3G to cooperatively transmission vehicle networked information.Meanwhile, the Internet Transmission same information of different systems of board information terminal by being attached thereto, these information relative to car-mounted terminal be do not have differentiated.
In car networking framework, terminal needs with the information terminal of vehicle body network, in-vehicle network equipment, neighbouring vehicle, trackside terminal device and carries out communicating to realize car car/bus or train route association same function with car internet services center, and vehicle intelligent information terminal needs to provide multiple and application service that is these network services.The transmission of these information realizes the mutual of information mainly through 3G mobile communication, short distance private radio communication (DSRC), Bluetooth communication, WIFI communication, Vehicle Body Bus etc.
In order to solve information of vehicles mutual in car networking, these network integrations must be got up, is information of vehicles interactive service jointly.In these communication networks, the networking mode of different networks is different, and the data layout of transmission and access mode are all different, and the message format of different vehicle enterprise design is also variant, belongs to heterogeneous network.Except vehicle body network, other communication network is all general.Effectively merge these networks, unified car networked information communication mode and message format, provide the access interface of specification, is the problem that the exploitation of current vehicle working application needs to solve.In order to make full use of existing equipment, strengthen sharing of car working application software, middleware Technology is that a kind of compatibility and portability are stronger, and need not change the use habit of existing user and the technology of equipment.
In the performance history of middleware, middleware messaging bus serves the effect of the mutual high-speed channel of various module information, on messaging bus carry each assembly between communication protocol be the custom protocol being applicable to car networking middleware.By vehicle body information fusion to middleware messaging bus, to need to obtain vehicle body network information, and then need the protocol conversion function realizing vehicle CAN communication protocol and car networking middleware messaging bus.And vehicle CAN agreement is different for different car enterprise, is the technological core of depot, generally will not discloses.
Existing protocol conversion is that middle unit development personnel are realized by manual coding on the basis understanding vehicle CAN agreement; namely car enterprise need disclose vehicle body network agreement; exist and be unfavorable for protection car enterprise intellecture property, manual coding efficiency is not high and realize the shortcomings such as versatility is bad respectively.Existing development scheme is not suitable for the Application and Development of middleware.So will realize the fusion of car networked information, the conversion of agreement, must seek one and car can be protected to look forward to its knowledge property right, can improve again the method for development efficiency and protocol conversion module versatility.
Summary of the invention
In order to overcome the defect existed in prior art, the invention provides the configuration generating method of a kind of car networking middleware protocol conversion, configuration realizes the fast Development of protocol conversion module, by reading the DBC file description information of writing according to car networking communication protocol, car enterprise communication Protocol Conversion parameter is added in configuration tool, the agreement described by DBC file configures the unified custom protocol be mapped under middleware NGTP (Next Generation Telematics Protocol) framework by graphical interfaces, by configuration information stored in database, protocol conversion template file is utilized automatically to generate car networking middleware protocol conversion module code at the auxiliary lower of real time workshop technology JET (Java Emitter Templates).Rapid fusion vehicle body network, in other networks, realizes car connected network communication.Its technical scheme is as follows:
A configuration generating method for car networking middleware protocol conversion, comprises the following steps:
(1) by DBC file record communication protocol information;
(2) carry out translation-protocol parameter configuration by the configuration tool of graphical interfaces, and information is stored in database file;
(3) middleware communication protocol conversion code is automatically generated by Code automatic build technology.
Preferably, for parsing and the database purchase of vehicle body application protocol description document DBC file.
Preferably, described communication protocol describes configuration and is specially with storage: in configuration tool, read DBC file, after configuration, configuration information is stored in database file, be standard according to the form of middleware standard agreement, configuration generates the protocol conversion mapping parameters passing to protocol conversion template file.
Preferably, utilize real time workshop technology, finally generate the code of protocol conversion, when not needing manual change, generating communications component after compiling, communicating for car networking middleware.
Compared with prior art, beneficial effect of the present invention:
1) threshold of exploitation is reduced;
User does not need to spend a lot of time and energy and is familiar with middleware and middleware messaging bus agreement, only needs the mapping relations one by one in newly-built engineering between importing and configuration protocol.
2) intellecture property of car enterprise is protected;
Middleware is used for the communication between vehicle body network, and it is the core shielding different vehicle body network.Realize the conversion between vehicle body communication protocol and standard traffic message format by this module, be supplied to application and communicate normally with vehicle body network.This part is looked forward to being configured by configuration tool according to middleware protocols standard automatically generating object code by car, the intellecture property of protection car enterprise.
3) stability is improved;
Configuration tool can generating configuration file and application framework automatically, and carries out bug check to the configuration of user, avoids the intervention of workman as far as possible, reduces error rate, thus can improve the stability of protocol conversion module energetically.
4) generating code transplantability and versatility between different platform;
On the one hand, protocol conversion module and bottom layer driving module adopt unified function interface, only need to replace different driving interfaces for no bottom CAN interface platform; On the other hand, protocol conversion template code adopts C language to describe, and is suitable for class unix platform and Android platform.
Accompanying drawing explanation
Fig. 1 protocol conversion implementing procedure figure;
Fig. 2 protocol conversion illustraton of model;
Fig. 3 protocol conversion mapping graph;
Fig. 4 configuration tool block diagram;
Fig. 5 protocol configuration process flow diagram;
Fig. 6 protocol conversion template file process flow diagram;
Fig. 7 protocol conversion template UML sequence chart;
Fig. 8 Code automatic build figure;
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with specific embodiment.
As shown in Figure 1, car enterprise is inputted agreement by the parsing of DBC file the structure of protocol conversion implementing procedure figure, forms the database of variable, and the use of database imports for convenience of the conditional search of protocol information and secondary.Data item contains the ID that the information describing input has CAN, start bit, stop bit, side-play amount, the information of a series of accurate description protocol variables such as scale factor.Messaging bus document of agreement is the file describing car networking middleware messaging bus communication protocol.
Configuration gained information is analyzed by disposal route module, comprises variable match, and displacement, search operation, obtains the input parameter of Code Template, passes to Code Template file.
Code Template file generates protocol conversion code by input information and background protocol detailed rules automatically at the auxiliary lower of configuration tool, namely generates the communications component of protocol conversion, to replace different automobile types protocol conversion middleware component after compiling.Backup database and backup DBC file store the protocol information configured and describe, for the configuration of similar protocols conversion after the small adjustment of convenient importing.
Protocol conversion input comprises: DBC file imports, and configuration interface inputs, database file, protocol conversion template file.The output packet of protocol conversion is containing protocol conversion code and database file.
According to the above, functions implementing the present invention comprise following four aspects:
1) document analysis and storage; The handling function of Eclipse file and regular expression is utilized to mate file content, resolve CAN application protocol DBC Common Profile, as in coupling " SG_FarLightOpen:2|2@1+ (1; 0) [0|0] " " Gateway ", SG_FarLightOpen string name gets about high beam control information in vehicle CAN protocol information, stored in database; The parsing of agreement description document and storage are for next step configuration transitions prepares.
2) protocol conversion configuration maps; Generate protocol conversion template parameter, be supplied to protocol conversion template.With car networking middleware messaging bus agreement for standard, according to the information of car networking requirement, the relation of two kinds of agreements is mapped one by one, as shown in table 1, vehicle body CAN protocol data frame packet is containing ID and DATA information, middleware protocols comprises function code, function subcode and data field information, carries out mapping and reaches protocol message head, the concrete position of data field, variable carries out the object of resolving.
Table 1 agreement maps
Vehicle body CAN protocol use-case Mapping relations Middleware protocols use-case
ID+DATA <————> Function code+function subcode+data field
And the relation mapped to be car enterprise self rely on configuration tool mate by " name of the information ", thus protect the intellecture property that car looks forward to.
3) protocol conversion stencil design; Reduce loaded down with trivial details degree, improve reliability.Protocol conversion template includes the irrelevant all information of protocol conversion module and concrete agreement, and contain data acquisition, the classification process of control, further comprises the operation to CAN interface, to the reception of middleware messaging bus interface and the code of transmit operation; The establishment code of receiving or sending thread does not need change for the module do not allowed.The code of change is needed to realize in a template with the form of variable element, the control code that such as high beam is opened is different for different configurations, so its value code shows as following form, FFMask_State_FarLight_open1=0x<%=elementLis t.get (0) .toString () %>.Variable right-hand member is variable assignment, finally uses real time workshop to carry out assignment.
4) real time workshop; Final agreement conversion needs codes implement to complete, the mode being used by above-mentioned relation configuration tool to be combined with Code Template realizes, utilize JET code generating method automatically to generate middleware protocols modular converter code, JET utilizes the Code automatic build replaced vchar method and realize.
Realize protocol conversion; need first to set up protocol conversion model (Fig. 2); due to characteristics such as car enterprise protocol knowledge property right protections; car networking middleware protocol conversion module needs to realize in the mode of configuration; mapping relations (Fig. 3) specifically between configuration protocol; final protocol conversion relies on configuration tool (Fig. 4) to implement concrete configuration flow (Fig. 5) and obtain, and protocol code last generates (Fig. 8) automatically to be needed code conversion template file (Fig. 6) to obtain configuration parameters obtained to generate.The process sequential of Code Template information is shown by protocol conversion template UML sequence chart (Fig. 7).
1) document analysis and storage
The form analyzing 2 kinds of different agreements that will carry out protocol conversion that the parsing of agreement description document is detailed forms, for the conversion map relation of agreement provides foundation.
See Fig. 1, wherein document analysis and storage
Resolve CAN application protocol DBC Common Profile, get vehicle CAN protocol information, as coupling " SG_FarLightOpen:2|2@1+ (1,0) [0|0] " " Gateway " this section of DBC fileinfo, obtain the information of each data segment of complete description as shown in table 2 below.Each data segment describes the CAN protocol information of a node accurately.
Table 2 vehicle body CAN protocol use-case
Nodename ID Start bit Take position Zoom factor Large small end Minimum Maximum Unit/value
High beam is opened 7A0 2 2 1 - - - 0x11
Left front tire pressure 7A8 0 4 0.1 s 0 5 Bar
Resolve car networking middleware messaging bus agreement, as shown in table 3, the transmission of control command mainly comprises controlling functions code, function subcode and data field.The data field disposal route according to a preconcerted arrangement (integer, single-precision floating point, double-precision floating point) of analog quantity processes.
Table 3 middleware protocols use-case
Name of the information Protocol function code Function subcode Protocol data territory
High beam is opened 4001 0001 17
Left front tire pressure 4002 0005 Data
2) map based on NGTP protocol conversion configuration
The configuration of protocol conversion is mapped as the core of protocol conversion; First set up the model of protocol conversion, the basis of model is described in detail mapping relations and the realization of the concrete field of protocol conversion.Then sketched the implementation tool of concrete mapping relations, the simple structure of configuration tool and enterprise realize the process flow diagram that configuration maps.
See Fig. 2, protocol conversion illustraton of model
The board information terminal of different car reads the information of car body control module BCM by CAN interface, the BCM information read is converted to middleware communication protocol format by message conversion module, information after conversion sends to middleware messaging bus, most Zhongdao car working application (mainly comprising the car networked application programs of mobile terminal application, car enterprise Remote Terminals for Weather Servics, other service terminals), car working application also can send message to board information terminal, by being handed down to car body control module after the conversion of middleware protocols modular converter.The key that background service and vehicle body can communicate is the mutual conversion of protocol conversion module to different agreement.
Protocol conversion module is as a part for car networking middleware, and its interface one end is vehicle body CAN, and the other end is middleware messaging bus.CAN communication bus network is connected on concrete In-vehicle networking by CAN transceiver; Middleware messaging bus is a virtual bus, and it is connected to various communications component and the application component of middleware, each assembly is communicated by this virtual messaging bus.Wherein the description of CAN communication agreement adopts the CAN application protocol standard describing method DBC file describing method of Vector company; DBC file comprises node, variable start bit, position of rest, scope, and side-play amount etc. are enough to the Global Information of a specification and analysis CAN network.The CAN protocal analysis testing software CANoe etc. of MATLAB and main flow all supports the file of this kind of form.Middleware communication agreement adopts the custom protocol under car networking protocol NGTP of future generation (Next Generation Telematics Protocol) protocol frame.
See Fig. 3, protocol conversion mapping graph;
Conversion map mainly comprises the conversion on 2 directions, namely sends and accepts flow process.In transmission flow, middleware protocols distinguishes by the parsing of function code and function subcode the message being sent to different parts, as function code in row right in following table 4 4001 and the combination of function subcode 1001 represent the message mailing to vehicle body; Code 4001 is separately had to represent with the combination of function subcode 2001 message mailing to engine.Then determine to mail to the concrete parts of car sound according to the information of data field, the position namely determined concrete set in the CAN message sent and reset in frame.In table 4, data field 17 represents that high beam controls to open, and to be mapped to vehicle body CAN protocol be ID is 7A0, and the 0-1 of Section 1 of Frame 8 bytes is for putting 1.Accept the contrary flow process that flow process is transmission flow, determine the value of function code and data field according to the parsing of the position state in vehicle body CAN protocol ID and Frame 8 bytes.
Table 4 agreement maps use-case (high beam)
Vehicle body CAN protocol use-case Mapping relations Middleware protocols use-case
ID(7A0)+DATA(0x11) <————> Function code (4001)+function subcode (1001)+data field (17)
See Fig. 4 configuration tool structural drawing
Configuration tool, originally as a window application, contains document analysis module, views module, code generation module and database operating modules.Document analysis module is resolved DBC file; Views module contains the view needed for configuration, browses, edition function; The basis of code generation module is JET code generating method; The database manipulation class that database operating modules utilizes Eclipse to provide is write SQL standard script language and is operated data.
See Fig. 5 protocol configuration process flow diagram
Car enterprise completes the configuration of agreement according to protocol configuration process flow diagram, start newly-built after configuration tool or import an existing configuration information, being described according to the CAN protocol of target vehicle and configuration tool being configured protocol information and selecting corresponding protocol conversion Code Template file.The parameter of configuration contains the corresponding relation of middleware protocols and vehicle body CAN protocol, and corresponding relation is mated by name variable.As following table 5, be called standard with the variable of middleware protocols defined and be configured.In the corresponding vehicle body CAN protocol selecting different middleware standard agreements, according to the agreement of the list item configuration vehicle body of regulation.
Table 5 configuration item Verbose Listing
Check the correctness of configuration after completing, whether correctly comprise CAN beacon information, whether CAN data message repeats, and whether template is correct.Check the real time workshop of errorless rear click configuration tool, the code of generation compiles and generates protocol conversion module under Target compiling environment.Protocol conversion module is installed on board information terminal and realizes the conversion of car networking protocol, realize communication two-way interactive.Wherein CAN receives and dispatches function and adopts SocketCAN standard interface.
3) protocol conversion stencil design
Protocol conversion template file is the mother matrix of final code, contains whole codes implement of protocol conversion, specifically comprises the code skeleton file of protocol conversion.Ensure that correctness and the reliability of final code.
See Fig. 6 protocol conversion template file process flow diagram and Fig. 7 protocol conversion template UML sequence chart
The major function of template is exactly obtain from CAN network to specify message, extract useful part to be encapsulated as middleware standard form and to send to middleware messaging bus, and the steering order that messaging bus sends is converted to CAN message by contrary process, carry out format conversion.Wherein translation data is carried out in transmitting-receiving process, and it is query scripts that application programs receives data, and sending data is control procedures.
Information protocol-dependent in code is extracted the parameter as template.The parameter of template is calculated by the configuration information of configuration tool.Protocol conversion template program process flow diagram as shown in the figure, main function is the entrance of whole template program, protocol conversion template program mainly comprises the transmitting-receiving of message, namely mainly comprise send_threadfun and send thread and receive_threadfun receiving thread, main task concentrates on the reception flow process of message, receiving thread process finger receives the message that messaging bus sends over, and then process, comprise control message, query messages and emergency message, correspond respectively to the control flow shown in figure, querying flow and urgent flow process.Template file adopts C language to write, and is finally compiled as dynamic link library, to ensure at the versatility of linux system and android system and replaceability.
Because need to obtain vehicle body state to fill the state of non-controlling position in this message, so contain the process of querying flow in the computation process of control flow.Such as, in binary digit 0101 front 2 bit representation vehicle window control bits, rear two bit representation high beam control bits, when to high beam control operation, front 2 vehicle window control bits are the non-controlling position that this CAN controls message, need to keep original state, so control to need to inquire about original vehicle window control bit state before message is issued to bus at CAN.See Fig. 7 protocol conversion template UML sequence chart, it is as follows that typical case controls message calculation process:
(1) middleware messaging bus sends control command to communications component, and the major function of communications component is exactly protocol conversion.
(2) resolve, definition according to background message splits message, judges the control bit needing to control, as high beam is opened, and according to the mask configuring the control mask that obtains and obtain controlling, as high beam _ open control code 0x0000000000000001 (normal data frame 64).
(3) CAN query message sends, and inquire about once the state of other control bits in current control bit association message, CAN query message returns and obtains status code 0x0000000000000010.
(4) status code with control mask phase or
High beam _ drive control mask || status code obtains the data field 0x0000000000000011 sent.
(5) data field and CANID are packaged into CAN Frame to be sent in bus by CAN interface.
Burst in the internet and reorganization operation are because the MTU value of different communication networks is different, and the burst in figure from reorganization operation is because the information needed for middleware messaging bus protocol data territory corresponds to different CAN network nodes, so need separately request msg, receive after return data is resolved and inquire about combination again.
4) real time workshop
Automatic generation source code can make user need not understand the specific code details of middleware code, the code that more convenient generation is qualified, for we save time, reduces complexity, shortens the construction cycle.
See Fig. 8 Code automatic build figure
Although it is very powerful that machine automatically generates source code, in program, insert code will become very complicated, be difficult to understand.There is a kind of method can reduce complicacy and increase readable that and use template exactly.
In Eclipse modeling framework (EMF) project, comprise two very powerful instruments for generating source code: JET (JavaEmitter Templates) and JMerge (Java Merge).JET code generating method in eclipse is utilized to pass with character string the generation that the form of joining carries out code.Because the code generated needs for messaging bus provides communication interface, and communication protocol nonstandardized technique, so adopt the code generating method based on template, code legibility is guaranteed.
As shown in the figure, the process of Code automatic build is definition template, and generate java by JET engine intermediate, intermediate have generate method, finally generates character string code according to configuration parameter.From the angle of user, usually do not know JET engine and intermediate existence, only need editing template code, import configuration parameter into, utilize intermediate method generating code file.
As shown in lower bolster simple examples, for the switch control rule of dipped headlights and high beam, the parameter that code imports into is argument, and be a list array, array contains the parameter of all transmission.
According to the above final code generated be:
Wherein contain the CAN application protocol information of configuration gained in 16 system fields.Such as, when control high beam is opened, send the value of variable FFMask_State_NearLight_open1, minimum 2 bytes are 0xC1, and other high bytes are filled according to query State.
In code generation process, in figure, configuration parameter is the basis of final generating code, and the parameter of code building transmission mainly contains:
Digital quantity: parameter comprises complete 1 mask of this digital quantity in CAN message information and control (state) mask of each variable.These masks be all user configured parameter by condition query, displacement, with or etc. calculating operation obtain.
Analog quantity: parameter comprises the method for complete 1 mask of this analog quantity in CAN message information and this original analog amount of process.Such as integer, single-precision floating point or double-precision floating point process.
Other: CAN communication interface function, when protocol conversion module reads platform CAN information different a bit, may use different CAN fetch interfaces.
The code file finally generated is the combination of c file and h file, at the auxiliary lower automatic generating object file of compiling link file and make instrument.
The above, be only best mode for carrying out the invention, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses, and the simple change of the technical scheme that can obtain apparently or equivalence are replaced and all fallen within the scope of protection of the present invention.

Claims (4)

1. a configuration generating method for car networking middleware protocol conversion, is characterized in that, comprises the following steps:
(1) by DBC file record communication protocol information;
(2) carry out translation-protocol parameter configuration by the configuration tool of graphical interfaces, and information is stored in database file;
(3) middleware communication protocol conversion code is automatically generated by Code automatic build technology.
2. the configuration generating method of car networking middleware according to claim 1 protocol conversion, is characterized in that, for parsing and the database purchase of vehicle body application protocol description document DBC file.
3. the configuration generating method of car networking middleware according to claim 1 protocol conversion, it is characterized in that, described communication protocol describes configuration and is specially with storage: in configuration tool, read DBC file, after configuration, configuration information is stored in database file, be standard according to the form of middleware standard agreement, configuration generates the protocol conversion mapping parameters passing to protocol conversion template file.
4. the configuration generating method of car networking middleware according to claim 1 protocol conversion, is characterized in that, utilizes real time workshop technology, finally generate the code of protocol conversion, when not needing manual change, generating communications component after compiling, communicating for car networking middleware.
CN201410619292.7A 2014-11-03 2014-11-03 A kind of configuration generating method of car networking middleware protocols conversion Active CN104331292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410619292.7A CN104331292B (en) 2014-11-03 2014-11-03 A kind of configuration generating method of car networking middleware protocols conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410619292.7A CN104331292B (en) 2014-11-03 2014-11-03 A kind of configuration generating method of car networking middleware protocols conversion

Publications (2)

Publication Number Publication Date
CN104331292A true CN104331292A (en) 2015-02-04
CN104331292B CN104331292B (en) 2019-01-22

Family

ID=52406026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410619292.7A Active CN104331292B (en) 2014-11-03 2014-11-03 A kind of configuration generating method of car networking middleware protocols conversion

Country Status (1)

Country Link
CN (1) CN104331292B (en)

Cited By (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246025A (en) * 2015-09-08 2016-01-13 宇龙计算机通信科技(深圳)有限公司 Method of controlling V2X service transmission and device
CN105512097A (en) * 2015-11-26 2016-04-20 普华基础软件股份有限公司 File analyzing method
CN105978898A (en) * 2016-06-28 2016-09-28 南京南瑞继保电气有限公司 Network security threat evaluation method and system for substation monitoring system
CN106254460A (en) * 2016-08-05 2016-12-21 浪潮软件股份有限公司 A kind of method accessing message-oriented middleware from mobile terminal
CN106850531A (en) * 2016-11-21 2017-06-13 中国航天科工集团第四研究院第四总体设计部 A kind of protocol code generation method based on template
CN106950864A (en) * 2017-04-11 2017-07-14 重庆长安汽车股份有限公司 The CAN communication program creating method and device of a kind of entire car controller
CN106992980A (en) * 2017-03-30 2017-07-28 南京维能信息技术有限公司 A kind of gateway translation-protocol teaching method and device based on Internet of Things
CN106997176A (en) * 2016-01-22 2017-08-01 郭骏贤 The universal control method of automobile controller Local Area Network
CN107132832A (en) * 2016-02-29 2017-09-05 株洲南车时代电气股份有限公司 A kind of DBC document analysis and its Programming Methodology based on CAN communication
CN107231279A (en) * 2016-03-26 2017-10-03 深圳市沃特玛电池有限公司 A kind of message parsing method based on CAN communication
CN107388480A (en) * 2017-06-26 2017-11-24 珠海格力电器股份有限公司 Air conditioning control method and device and air-conditioning system
CN107644059A (en) * 2017-08-18 2018-01-30 广州视源电子科技股份有限公司 Method and apparatus, storage medium and terminal device derived from database file
CN107704245A (en) * 2017-09-21 2018-02-16 深圳市麦斯杰网络有限公司 Protocol accessing method, device and computer-readable recording medium
CN107872441A (en) * 2016-09-28 2018-04-03 阿里巴巴集团控股有限公司 The method and apparatus for generating device attribute configuration file
US9940142B2 (en) 2016-05-20 2018-04-10 At&T Mobility Ii Llc Connected car resource manager with associated applications control
CN108600192A (en) * 2018-04-03 2018-09-28 南京越博动力系统股份有限公司 A kind of DBC document analysis and message analysis method based on regular expression
CN108833394A (en) * 2018-06-07 2018-11-16 中国人民解放军63889部队 The protocol conversion algorithm of data collection system
CN109033338A (en) * 2018-07-23 2018-12-18 北京新能源汽车股份有限公司 A kind of generation method and system of the database file of automotive communication protocol
CN109561104A (en) * 2018-12-28 2019-04-02 深圳市创梦天地科技有限公司 A kind of communication protocol conversion method and device
CN109582639A (en) * 2018-11-01 2019-04-05 广东国鸿氢能科技有限公司 A kind of automobile protocol database document generating method and device
CN109639789A (en) * 2018-12-05 2019-04-16 广东国鸿氢能科技有限公司 Fuel cell module data monitoring method and system
CN109688026A (en) * 2018-12-24 2019-04-26 北京新能源汽车股份有限公司 A kind of the Internet protocol data detection method and device
CN109861976A (en) * 2018-12-27 2019-06-07 广州天源信息科技股份有限公司 Internet of things equipment protocol fitting method
CN109889482A (en) * 2018-12-27 2019-06-14 北京理工大学 A kind of vehicle protocol analytic method and system
CN109976828A (en) * 2019-03-12 2019-07-05 北京奇艺世纪科技有限公司 A kind of method and device of configuration file
CN110196715A (en) * 2019-06-25 2019-09-03 上海仪电汽车电子系统有限公司 A kind of code generating system and method
CN111049717A (en) * 2019-12-26 2020-04-21 潍柴动力股份有限公司 Variable acquisition method and equipment
CN111338616A (en) * 2020-03-24 2020-06-26 北京自如信息科技有限公司 Protocol analysis code generation method and device and electronic equipment
CN111478944A (en) * 2020-03-10 2020-07-31 福建工程学院 Vehicle-mounted terminal and vehicle CAN protocol adaptation method, device, equipment and medium
CN111708568A (en) * 2020-05-06 2020-09-25 福建天泉教育科技有限公司 Component development decoupling method and terminal
CN111740956A (en) * 2020-05-19 2020-10-02 腾讯科技(深圳)有限公司 Vehicle communication method and device, computer readable medium and electronic equipment
WO2020216235A1 (en) * 2019-04-23 2020-10-29 华为技术有限公司 Vehicle-mounted gateway communication method, vehicle-mounted gateway, and smart vehicle
CN111880780A (en) * 2020-07-28 2020-11-03 北京经纬恒润科技有限公司 Method, device and platform for developing boot loader of MCU (microprogrammed control Unit)
CN112256253A (en) * 2020-11-12 2021-01-22 北斗星通智联科技有限责任公司 Code generation method and device, electronic equipment and computer readable storage medium
CN112445491A (en) * 2020-11-19 2021-03-05 深圳市元征科技股份有限公司 File sequence processing method and device, terminal equipment and storage medium
CN112910830A (en) * 2019-12-04 2021-06-04 北京博瑞华通科技有限公司 Data transmission system, data uploading method and data issuing method of Internet of vehicles
CN113015132A (en) * 2021-03-25 2021-06-22 联合汽车电子有限公司 Communication method and communication system
CN113259233A (en) * 2021-07-02 2021-08-13 奥特酷智能科技(南京)有限公司 DDS-based automation gateway of heterogeneous communication protocol
CN113259437A (en) * 2021-05-11 2021-08-13 中国第一汽车股份有限公司 Method and device for determining vehicle network protocol and storage medium
CN113568876A (en) * 2021-08-04 2021-10-29 江苏爱玛车业科技有限公司 Method and device for automatically generating DBC file
WO2021223312A1 (en) * 2020-05-08 2021-11-11 广东技术师范大学 Public transportation smart monitoring cloud service platform
CN113824621A (en) * 2021-09-22 2021-12-21 石家庄通合电子科技股份有限公司 CAN communication method based on signals and CAN controller
CN114265636A (en) * 2021-12-23 2022-04-01 北京天融信网络安全技术有限公司 Communication protocol configuration method and device and storage medium
CN114281576A (en) * 2022-03-08 2022-04-05 魔门塔(苏州)科技有限公司 Dual-communication-architecture algorithm calling method and device, algorithm control method and vehicle
CN115037808A (en) * 2022-06-15 2022-09-09 东风悦享科技有限公司 Method, system and storage medium for rapidly realizing vehicle data access to cloud platform
CN115412613A (en) * 2021-05-26 2022-11-29 博泰车联网科技(上海)股份有限公司 Method of managing afterloading devices of a vehicle, computer storage medium, and the like

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622470A (en) * 2012-02-21 2012-08-01 重庆邮电大学 General car code conversion method
CN202772920U (en) * 2012-06-29 2013-03-06 惠州天缘电子有限公司 Peripheral control device of car networking base station
CN202979022U (en) * 2012-06-14 2013-06-05 百年金海安防科技有限公司 Integral network framework for cooperative communication of network of vehicle
CN103684963A (en) * 2013-11-18 2014-03-26 重庆邮电大学 Framework system and implementation method of middleware applied to car networking

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622470A (en) * 2012-02-21 2012-08-01 重庆邮电大学 General car code conversion method
CN202979022U (en) * 2012-06-14 2013-06-05 百年金海安防科技有限公司 Integral network framework for cooperative communication of network of vehicle
CN202772920U (en) * 2012-06-29 2013-03-06 惠州天缘电子有限公司 Peripheral control device of car networking base station
CN103684963A (en) * 2013-11-18 2014-03-26 重庆邮电大学 Framework system and implementation method of middleware applied to car networking

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
冯辉宗等: "基于AutoSAR规范的驱动代码生成工具箱设计与实现", 《电子技术应用》 *

Cited By (69)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017041355A1 (en) * 2015-09-08 2017-03-16 宇龙计算机通信科技(深圳)有限公司 Method and device for controlling v2x service transmission
CN105246025B (en) * 2015-09-08 2018-09-14 宇龙计算机通信科技(深圳)有限公司 A kind of method and device of control V2X business transmission
CN105246025A (en) * 2015-09-08 2016-01-13 宇龙计算机通信科技(深圳)有限公司 Method of controlling V2X service transmission and device
CN105512097A (en) * 2015-11-26 2016-04-20 普华基础软件股份有限公司 File analyzing method
CN106997176A (en) * 2016-01-22 2017-08-01 郭骏贤 The universal control method of automobile controller Local Area Network
CN107132832A (en) * 2016-02-29 2017-09-05 株洲南车时代电气股份有限公司 A kind of DBC document analysis and its Programming Methodology based on CAN communication
CN107231279A (en) * 2016-03-26 2017-10-03 深圳市沃特玛电池有限公司 A kind of message parsing method based on CAN communication
US9940142B2 (en) 2016-05-20 2018-04-10 At&T Mobility Ii Llc Connected car resource manager with associated applications control
US10679435B2 (en) 2016-05-20 2020-06-09 At&T Mobility Ii Llc Connected car resource manager with associated applications control
US11348383B2 (en) 2016-05-20 2022-05-31 At&T Mobility Ii Llc Connected car resource manager with associated applications control
CN105978898A (en) * 2016-06-28 2016-09-28 南京南瑞继保电气有限公司 Network security threat evaluation method and system for substation monitoring system
CN105978898B (en) * 2016-06-28 2019-09-27 南京南瑞继保电气有限公司 A kind of monitoring system of electric substation network security threats appraisal procedure and system
CN106254460A (en) * 2016-08-05 2016-12-21 浪潮软件股份有限公司 A kind of method accessing message-oriented middleware from mobile terminal
CN107872441A (en) * 2016-09-28 2018-04-03 阿里巴巴集团控股有限公司 The method and apparatus for generating device attribute configuration file
CN106850531B (en) * 2016-11-21 2020-01-14 中国航天科工集团第四研究院第四总体设计部 Template-based protocol code generation method
CN106850531A (en) * 2016-11-21 2017-06-13 中国航天科工集团第四研究院第四总体设计部 A kind of protocol code generation method based on template
CN106992980A (en) * 2017-03-30 2017-07-28 南京维能信息技术有限公司 A kind of gateway translation-protocol teaching method and device based on Internet of Things
CN106992980B (en) * 2017-03-30 2020-03-17 南京维能信息技术有限公司 Gateway conversion protocol teaching method and device based on Internet of things
CN106950864A (en) * 2017-04-11 2017-07-14 重庆长安汽车股份有限公司 The CAN communication program creating method and device of a kind of entire car controller
CN106950864B (en) * 2017-04-11 2019-12-13 重庆长安新能源汽车科技有限公司 CAN communication program generation method and device of vehicle control unit
CN107388480A (en) * 2017-06-26 2017-11-24 珠海格力电器股份有限公司 Air conditioning control method and device and air-conditioning system
CN107388480B (en) * 2017-06-26 2020-07-31 珠海格力电器股份有限公司 Air conditioner control method and device and air conditioner system
CN107644059A (en) * 2017-08-18 2018-01-30 广州视源电子科技股份有限公司 Method and apparatus, storage medium and terminal device derived from database file
CN107704245A (en) * 2017-09-21 2018-02-16 深圳市麦斯杰网络有限公司 Protocol accessing method, device and computer-readable recording medium
CN108600192A (en) * 2018-04-03 2018-09-28 南京越博动力系统股份有限公司 A kind of DBC document analysis and message analysis method based on regular expression
CN108600192B (en) * 2018-04-03 2021-03-30 南京越博动力系统股份有限公司 Regular expression based DBC file analysis and message analysis method
CN108833394B (en) * 2018-06-07 2020-10-09 中国人民解放军63889部队 Protocol conversion algorithm of data acquisition system
CN108833394A (en) * 2018-06-07 2018-11-16 中国人民解放军63889部队 The protocol conversion algorithm of data collection system
CN109033338B (en) * 2018-07-23 2022-02-01 北京新能源汽车股份有限公司 Method and system for generating database file of automobile communication protocol
CN109033338A (en) * 2018-07-23 2018-12-18 北京新能源汽车股份有限公司 A kind of generation method and system of the database file of automotive communication protocol
CN109582639A (en) * 2018-11-01 2019-04-05 广东国鸿氢能科技有限公司 A kind of automobile protocol database document generating method and device
CN109639789A (en) * 2018-12-05 2019-04-16 广东国鸿氢能科技有限公司 Fuel cell module data monitoring method and system
CN109688026A (en) * 2018-12-24 2019-04-26 北京新能源汽车股份有限公司 A kind of the Internet protocol data detection method and device
CN109889482B (en) * 2018-12-27 2020-05-12 北京理工大学 Vehicle protocol analysis method and system
CN109889482A (en) * 2018-12-27 2019-06-14 北京理工大学 A kind of vehicle protocol analytic method and system
CN109861976A (en) * 2018-12-27 2019-06-07 广州天源信息科技股份有限公司 Internet of things equipment protocol fitting method
CN109561104A (en) * 2018-12-28 2019-04-02 深圳市创梦天地科技有限公司 A kind of communication protocol conversion method and device
CN109976828B (en) * 2019-03-12 2022-04-22 北京奇艺世纪科技有限公司 Method and device for configuring file
CN109976828A (en) * 2019-03-12 2019-07-05 北京奇艺世纪科技有限公司 A kind of method and device of configuration file
WO2020216235A1 (en) * 2019-04-23 2020-10-29 华为技术有限公司 Vehicle-mounted gateway communication method, vehicle-mounted gateway, and smart vehicle
CN110196715A (en) * 2019-06-25 2019-09-03 上海仪电汽车电子系统有限公司 A kind of code generating system and method
CN112910830B (en) * 2019-12-04 2022-10-21 北京博瑞华通科技有限公司 Data transmission system, data uploading method and data issuing method of Internet of vehicles
CN112910830A (en) * 2019-12-04 2021-06-04 北京博瑞华通科技有限公司 Data transmission system, data uploading method and data issuing method of Internet of vehicles
CN111049717A (en) * 2019-12-26 2020-04-21 潍柴动力股份有限公司 Variable acquisition method and equipment
CN111478944B (en) * 2020-03-10 2022-08-30 福建工程学院 Vehicle-mounted terminal and vehicle CAN protocol adaptation method, device, equipment and medium
CN111478944A (en) * 2020-03-10 2020-07-31 福建工程学院 Vehicle-mounted terminal and vehicle CAN protocol adaptation method, device, equipment and medium
CN111338616A (en) * 2020-03-24 2020-06-26 北京自如信息科技有限公司 Protocol analysis code generation method and device and electronic equipment
CN111708568B (en) * 2020-05-06 2023-07-07 福建天泉教育科技有限公司 Modularized development decoupling method and terminal
CN111708568A (en) * 2020-05-06 2020-09-25 福建天泉教育科技有限公司 Component development decoupling method and terminal
WO2021223312A1 (en) * 2020-05-08 2021-11-11 广东技术师范大学 Public transportation smart monitoring cloud service platform
CN111740956B (en) * 2020-05-19 2023-05-26 腾讯科技(深圳)有限公司 Vehicle communication method, device, computer readable medium and electronic equipment
CN111740956A (en) * 2020-05-19 2020-10-02 腾讯科技(深圳)有限公司 Vehicle communication method and device, computer readable medium and electronic equipment
CN111880780A (en) * 2020-07-28 2020-11-03 北京经纬恒润科技有限公司 Method, device and platform for developing boot loader of MCU (microprogrammed control Unit)
CN111880780B (en) * 2020-07-28 2024-03-15 北京经纬恒润科技股份有限公司 Method, device and platform for developing boot loader of MCU
CN112256253B (en) * 2020-11-12 2023-09-01 北斗星通智联科技有限责任公司 Code generation method, device, electronic equipment and computer readable storage medium
CN112256253A (en) * 2020-11-12 2021-01-22 北斗星通智联科技有限责任公司 Code generation method and device, electronic equipment and computer readable storage medium
CN112445491A (en) * 2020-11-19 2021-03-05 深圳市元征科技股份有限公司 File sequence processing method and device, terminal equipment and storage medium
CN113015132A (en) * 2021-03-25 2021-06-22 联合汽车电子有限公司 Communication method and communication system
CN113015132B (en) * 2021-03-25 2023-09-22 联合汽车电子有限公司 Communication method and communication system
CN113259437A (en) * 2021-05-11 2021-08-13 中国第一汽车股份有限公司 Method and device for determining vehicle network protocol and storage medium
CN115412613A (en) * 2021-05-26 2022-11-29 博泰车联网科技(上海)股份有限公司 Method of managing afterloading devices of a vehicle, computer storage medium, and the like
CN115412613B (en) * 2021-05-26 2023-11-24 博泰车联网科技(上海)股份有限公司 Method for managing aftermarket devices of a vehicle, and computer storage medium
CN113259233A (en) * 2021-07-02 2021-08-13 奥特酷智能科技(南京)有限公司 DDS-based automation gateway of heterogeneous communication protocol
CN113568876A (en) * 2021-08-04 2021-10-29 江苏爱玛车业科技有限公司 Method and device for automatically generating DBC file
CN113568876B (en) * 2021-08-04 2024-03-26 江苏爱玛车业科技有限公司 Method and device for automatically generating DBC file
CN113824621A (en) * 2021-09-22 2021-12-21 石家庄通合电子科技股份有限公司 CAN communication method based on signals and CAN controller
CN114265636A (en) * 2021-12-23 2022-04-01 北京天融信网络安全技术有限公司 Communication protocol configuration method and device and storage medium
CN114281576A (en) * 2022-03-08 2022-04-05 魔门塔(苏州)科技有限公司 Dual-communication-architecture algorithm calling method and device, algorithm control method and vehicle
CN115037808A (en) * 2022-06-15 2022-09-09 东风悦享科技有限公司 Method, system and storage medium for rapidly realizing vehicle data access to cloud platform

Also Published As

Publication number Publication date
CN104331292B (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN104331292B (en) A kind of configuration generating method of car networking middleware protocols conversion
CN111427685B (en) Space-based network intelligent satellite development system and method based on task requirements
CN103502947B (en) System for diagnosing faults of component in vehicle
CN109522007B (en) Method for automatically converting SysML model to AADL model for security key embedded system
CN109951315A (en) A kind of method and system realizing YANG model and being mapped to internal model
CN102316544B (en) Multiple working mode switching method in locomotive wireless communication and system thereof
CN103902305A (en) Software long-distance loading and solidifying method based on TI DSP
CN103324173A (en) Multiple-heterogeneous robot cooperation method based on middleware
CN108460199A (en) CNI modelings
CN109116315A (en) A kind of general purpose radar avionics simulation system
CN108965293A (en) Message parsing method and device, electronic equipment
CN107479876A (en) A kind of five layer architecture design methods for building unmanned aerial vehicle station software
CN103019690A (en) Visible component module development method based on JET technology
CN116049974A (en) Aircraft alarm logic design and simulation system and design and simulation method
CN102111160B (en) Coding and decoding system and codec for reactive system test
CN114510357B (en) Satellite transmitting field test authentication service message interaction method and system
CN103793458B (en) Method for nondestructively converting AADL (architecture analysis and design language) into XML (extensible markup language)
CN109582391B (en) XML-based equipment tree configuration method
CN109634584A (en) A kind of driving encapsulation and communication mechanism based on code building
CN105334756A (en) Agile satellite mission interpretation closed loop simulation verification system and method
CN113495915A (en) Information processing method and device of Internet of things equipment and cloud server
CN115348169B (en) Route configuration method, device, equipment and storage medium for vehicle-mounted gateway
CN116521217A (en) Method, system and storage medium for rapidly configuring BSW based on AUTOSAR tool
CN116360768A (en) Software integration device, method, electronic equipment and storage medium
CN114036769B (en) Avionics system physical architecture-oriented function deployment scheme generation method and device

Legal Events

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