CN110263526A - A kind of producing line certificate injected system and its method - Google Patents

A kind of producing line certificate injected system and its method Download PDF

Info

Publication number
CN110263526A
CN110263526A CN201910508342.7A CN201910508342A CN110263526A CN 110263526 A CN110263526 A CN 110263526A CN 201910508342 A CN201910508342 A CN 201910508342A CN 110263526 A CN110263526 A CN 110263526A
Authority
CN
China
Prior art keywords
producing line
certificate
vehicle device
simulation tool
line simulation
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
CN201910508342.7A
Other languages
Chinese (zh)
Other versions
CN110263526B (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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201910508342.7A priority Critical patent/CN110263526B/en
Publication of CN110263526A publication Critical patent/CN110263526A/en
Application granted granted Critical
Publication of CN110263526B publication Critical patent/CN110263526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • G06F21/445Program or device authentication by mutual authentication, e.g. between devices or programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Abstract

The present invention relates to producing line certificate injection technique field more particularly to a kind of producing line certificate injected systems and its method, vehicle device including certificate to be implanted, with the producing line simulation tool of the vehicle device serial communication and the KMS system being connect with the producing line simulation tool.Goal of the invention of the invention is to provide a kind of producing line certificate injected system and its method, solving existing producing line certificate using technical solution provided by the invention can not inject in the initial stage of development stage, and injection certificate needs producing line to coordinate to arrange in the process of development, there are low efficiency and the technical problems of process complexity.

Description

A kind of producing line certificate injected system and its method
Technical field
The present invention relates to producing line certificate injection technique field more particularly to a kind of producing line certificate injected systems and its method.
Background technique
Car networking is the trend of automotive field development, relates to a large amount of people, vehicle sensitive information, need to ensure a large amount of sensitive letters The safety of breath transmission, storage, while need to ensure the safely controllable of vehicle device.Therefore vehicle device has been needed when interacting with background server At the process being mutually authenticated.
In order to which vehicle device and backstage complete authentication, it is necessary to inject corresponding certificate, including root certificate, service into vehicle device Device certificate, file signature certificate and vehicle device certificate.Normal process is to pass through labview work in producing line when producing vehicle device Have to vehicle device and inject certificate, and verify the validity and integrality of certificate, to all save one after guaranteeing vehicle device factory The complete effective certificate of part.And there are problems that two from producing line injection certificate in the development phase:
One, in the initial stage of development stage, producing line does not integrate certificate function of injecting also, is unable to satisfy the exploitation demand of early period;
Two, in the process of development, Developmental Engineer refills certificate if necessary or replaces certificate, then needs Producing line goes to realize, needs producing line to coordinate arrangement, low efficiency and process complexity, be difficult to meet exploitation demand.
Summary of the invention
Goal of the invention of the invention is to provide a kind of producing line certificate injected system and its method, use are provided by the invention Technical solution solves existing producing line certificate can not inject in the initial stage of development stage, and injection certificate needs in the process of development Producing line is coordinated to arrange, and there are low efficiency and the technical problems of process complexity.
In order to solve the above-mentioned technical problem, one aspect of the present invention provides a kind of producing line certificate injected system, including to be implanted The vehicle device of certificate, with the producing line simulation tool of the vehicle device serial communication and the KMS system being connect with the producing line simulation tool System.
Preferably, in the producing line simulation tool is connected to and is deployed in by the dll file interface for calling supplier to provide KMS system in net.
Based on above-mentioned producing line certificate injected system, another aspect of the present invention also provides a kind of producing line certificate method for implanting, packet Include following steps:
S100, the vehicle device and the producing line simulation tool establish connection;
S200, the producing line simulation tool read the sequence number of the vehicle device;
S300, the producing line simulation tool call KMS system to generate certificate data by initialization command, and by the card Book data are sent to the vehicle device, complete the injection of the certificate data.
In the step s 100, the vehicle device and the producing line simulation tool establish connection;Preferably, the vehicle device sends one String shakes hands instruction to the producing line simulation tool, and a string of reply datas of the producing line simulation tool return are described to the vehicle device Vehicle device again returns to response to the producing line simulation tool, completes the company of shaking hands between the vehicle device and the producing line simulation tool It connects.
In step s 200, the producing line simulation tool reads the sequence number of the vehicle device;Preferably, the producing line simulation Tool sends the instruction for reading sequence number to the vehicle device, and the vehicle device returns the sequence number that the vehicle device prestores according to described instruction It is back to the producing line simulation tool.
Preferably, in step S300, certificate data injection process the following steps are included:
After S301, the vehicle device receive the initialization command that the producing line simulation tool is sent, the corresponding interface is called to generate Certificate registration data;
After S302, the producing line simulation tool receive the certificate registration data of the vehicle device, call described in relevant interface order KMS system generates certificate data
Certificate data is sent the vehicle device by S303, the producing line simulation tool.
Preferably, in step S303, the certificate data is disassembled as unit of frame;The vehicle device often receives a frame Certificate data returns to corresponding ack to the producing line simulation tool;The producing line simulation tool transmits after receiving corresponding ack Next frame certificate data, until having sent last frame.
Preferably, it after vehicle device receives all certificate datas, returns to verifying certificate fullness signal to the producing line and simulates Tool, the producing line simulation tool call corresponding interface to verify the integrality of the certificate data.
Preferably, after the vehicle device receives the certificate data injected, the certificate data is run, authentication is completed and surveys Examination.
From the foregoing, it will be observed that it is available following using technical solution provided by the invention the utility model has the advantages that
One, can inject certificate directly to vehicle device by producing line simulation tool can directly pass through producing line in the development phase Simulation tool verifies KMS system and its certificate authority function, and improve system builds efficiency;
Two, facilitate engineer directly to debug vehicle device processing and save the logic of certificate, it is ensured that when going producing line to debug, the portion The function of dividing just has been completed after debugging, improves development efficiency;
Three, directly can inject certificate to vehicle device using producing line simulation tool when needing vehicle device certificate, and and be not required to Producing line is gone, the development efficiency of engineer is improved;
Four, relative to certification portions, after producing line produces vehicle device, subsequent certificate demand does not all need to go producing line arrangement again Injection, saves the cost of producing line.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, the present invention will be implemented below Attached drawing needed in the description of example or the prior art is briefly described.It should be evident that the accompanying drawings in the following description Only a part of the embodiments of the present invention, for those of ordinary skill in the art, in not making the creative labor property Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is producing line of embodiment of the present invention certificate injected system frame diagram;
Fig. 2 is producing line simulation tool initialization procedure in producing line of embodiment of the present invention certificate injected system;
Fig. 3 is that producing line of embodiment of the present invention certificate injected system certificate injects flow chart one;
Fig. 4 is that producing line of embodiment of the present invention certificate injected system certificate injects flowchart 2;
Fig. 5 is that the page is arranged in the window of producing line of embodiment of the present invention simulation tool program;
Fig. 6 is that producing line of embodiment of the present invention simulation tool program uses operation pages in step 3;
Fig. 7 is that producing line of embodiment of the present invention simulation tool program uses operation pages in step 4.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to which vehicle device and backstage complete authentication, it is necessary to corresponding certificate is injected into vehicle device, in the initial stage of development stage, Producing line does not integrate certificate function of injecting also, is unable to satisfy the exploitation demand of early period;In the process of development, if Developmental Engineer needs It refills certificate or replaces certificate, then need to go to realize to producing line, need producing line to coordinate to arrange, low efficiency and process Complexity is difficult to meet exploitation demand.
For this purpose, can satisfy the need of certificate injection and verifying certificate the present embodiment provides a kind of producing line certificate injected system It asks.Referring to Figure 1, vehicle device including certificate to be implanted is simulated with the producing line simulation tool of vehicle device serial communication and with producing line The KMS system of tool connection.
For car networking project, in order to guarantee the legitimacy of vehicle device and server, vehicle device upon connection platform server when, need A two-way authentication is done, to ensure the legal of other side's identity, in order to complete authentication, needs to inject to vehicle device and demonstrate,prove Book.Wherein producing line simulation tool injects certificate to vehicle device for convenience, to facilitate the debugging of developer, the exploitation ring of the tool Border can be VisualStudio, and development language is c#.
Wherein, producing line simulation tool is connected to by the dll file interface for calling supplier to provide and is deployed in Intranet KMS system sends vehicle device by serial ports for the certificate data that KMS system issues, and is saved in the security partitioning of vehicle device.
Based on above-mentioned producing line certificate injected system, on the other hand the present embodiment also provides a kind of producing line certificate method for implanting, Including producing line simulation tool initialization procedure and certificate injection process.
Specifically includes the following steps:
S100, vehicle device and producing line simulation tool establish connection;
In this step, handshake procedure is established between vehicle device and producing line simulation tool, and the computer of producing line simulation tool is installed After the completion of being connected with the hardware of vehicle device, producing line simulation tool is opened, is then powered on to vehicle device, powered on a string of the transmission of rear car chance and hold Finger enables, and producing line simulation tool can return to a string of reply datas and be given to vehicle device, and vehicle device again returns to response, completes to shake hands.
S200, producing line simulation tool read the sequence number of vehicle device;
In order to guarantee that vehicle device can complete the injection of certificate, therefore, to assure that vehicle device has corresponding sequence number, and producing line simulates work Tool sends the instruction for reading sequence number, and vehicle device can return to a string of sequence numbers.
Wherein step S100 and S200 is the preflood processing step of certificate, between step S200 and step S300, also Increase the step of clicking initialization key, in order to complete the injection of certificate.For this purpose, initialization procedure, that is, inject the mistake of certificate Journey can click initialization button after shaking hands successfully and reading vehicle device sequence number, to complete the injection of certificate.Specifically It is as follows:
S300, producing line simulation tool call KMS system to generate certificate data by initialization command, and certificate data is sent out It send to vehicle device, completes the injection of certificate data.
Refer to Fig. 2-4, certificate data injection process the following steps are included:
After S301, vehicle device receive the initialization command of producing line simulation tool transmission, the corresponding interface is called to generate certificate registration Data;
After S302, producing line simulation tool receive the certificate registration data of vehicle device, call relevant interface that KMS system is enabled to generate card Book data
Certificate data is sent vehicle device by S303, producing line simulation tool.
In step S303, certificate data is sent vehicle device by producing line simulation tool, in the process due to certificate data It is larger, in order to realize that stablizing for mass data is transmitted, certificate data is disassembled as unit of frame in the present embodiment;Vehicle device often connects A frame certificate data is received, returns to corresponding ack to producing line simulation tool;Producing line simulation tool transmits after receiving corresponding ack Next frame certificate data, until having sent last frame.
After the injection for completing certificate data, needs to verify the integrality of certificate and complete vehicle device authentication test.
In verifying certificate integrity procedure, after vehicle device receives all certificate datas, it is complete that vehicle device returns to verifying certificate Property signal to producing line simulation tool, producing line simulation tool calls the integrality of corresponding interface verifying certificate data.
After completing certificate integrity verification, need to complete one-time identity authentication using certificate to test, it can to ensure that certificate is With what is used.The authentication test process is the same with the normal backstage completion authentication procedures that connect.
Based on the producing line simulation tool in above-mentioned producing line certificate injected system, the present embodiment also provides a kind of producing line simulation work The operation sequence of tool, the operation sequence use process is as follows described:
Use step:
1, refer to Fig. 5, open catalogue ConvertPackge (17.5.9V1.1) bin Debug PCInitSys.exe;
2, it is accomplished manually the connection of hardware serial ports;
3, it after connecting and opening serial ports, is powered on to vehicle device, simulative serial port tool can shake hands with vehicle device automatically, at this time Initialization button goes out, and needs first to read either write sequence number;
4, Fig. 6 is referred to, clicks and reads sequence number, wherein " 43 47 30 30 31 38 32 3,130 30 30 30 30 34 " be sequence number;The sequence number of 14byte can also be written in the text box of sequence number to vehicle device write sequence number, then click " write sequence number ";
5, Fig. 7 is referred to, after reading or writing sequence number, is clicked " initialization ", vehicle device will automatically begin to initialize.
Note: just can be performed, to wait after needing the process initiation for first waiting the SVSecurity in SOC due to initialization After vehicle device interface is got up, then after waiting 10-20s, then click " initialization ".To ensure serial ports connection during initialization Stablize.It is had after initializing successfully and plays frame prompt.
In conclusion producing line certificate injected system provided in an embodiment of the present invention, it can be direct by producing line simulation tool Certificate is injected to vehicle device, in the development phase, KMS system and its certificate authority function directly can be verified by producing line simulation tool Can, improve system builds efficiency;Facilitate engineer directly to debug vehicle device processing and save the logic of certificate, it is ensured that is going to produce When line is debugged, the function of the part has just been completed after debugging, improves development efficiency;It needs directly make when vehicle device certificate Certificate is injected to vehicle device with producing line simulation tool, and does not need producing line, improves the development efficiency of engineer;Relative to card Book part, after producing line produces vehicle device, subsequent certificate demand does not all need to go producing line arrangement to inject again, save producing line at This.
Embodiments described above does not constitute the restriction to the technical solution protection scope.It is any in above-mentioned implementation Made modifications, equivalent substitutions and improvements etc., should be included in the protection model of the technical solution within the spirit and principle of mode Within enclosing.

Claims (9)

1. a kind of producing line certificate injected system, it is characterised in that: vehicle device and the vehicle device serial communication including certificate to be implanted Producing line simulation tool and the KMS system that is connect with the producing line simulation tool.
2. producing line certificate injected system according to claim 1, it is characterised in that: the producing line simulation tool passes through calling The dll file interface that supplier provides is connected to the KMS system being deployed in Intranet.
3. a kind of method for implanting based on producing line certificate injected system as claimed in claim 2, it is characterised in that: including following step It is rapid:
S100, the vehicle device and the producing line simulation tool establish connection;
S200, the producing line simulation tool read the sequence number of the vehicle device;
S300, the producing line simulation tool call KMS system to generate certificate data by initialization command, and by the certificate number According to the vehicle device is sent to, the injection of the certificate data is completed.
4. method for implanting according to claim 3, in the step s 100, the vehicle device and the producing line simulation tool are established Connection;It is characterized by: the vehicle device sends a string of instructions of shaking hands to the producing line simulation tool, the producing line simulation tool is returned A string of reply datas are returned to the vehicle device, the vehicle device again returns to response to the producing line simulation tool, completes the vehicle device Shaking hands between the producing line simulation tool connect.
5. method for implanting according to claim 4, in step s 200, the producing line simulation tool read the vehicle device Sequence number;It is characterized by: the producing line simulation tool sends the instruction for reading sequence number to the vehicle device, the vehicle device is according to institute It states instruction and the sequence number that the vehicle device prestores is back to the producing line simulation tool.
6. method for implanting according to claim 5, it is characterised in that: in step S300, certificate data injection process packet Include following steps:
After S301, the vehicle device receive the initialization command that the producing line simulation tool is sent, the corresponding interface is called to generate certificate Log-on data;
After S302, the producing line simulation tool receive the certificate registration data of the vehicle device, relevant interface is called to enable the KMS system System generates certificate data
Certificate data is sent the vehicle device by S303, the producing line simulation tool.
7. method for implanting according to claim 6, it is characterised in that: in step S303, by the certificate data with frame For unit dismantling;The vehicle device often receives a frame certificate data, returns to corresponding ack to the producing line simulation tool;It is described Producing line simulation tool transmits next frame certificate data after receiving corresponding ack, until having sent last frame.
8. method for implanting according to claim 7, it is characterised in that: after vehicle device receives all certificate datas, return is tested Certificate fullness signal is demonstrate,proved to the producing line simulation tool, the producing line simulation tool calls corresponding interface to verify the certificate The integrality of data.
9. method for implanting according to claim 8 is run it is characterized by: after the certificate data of vehicle device reception injection The certificate data completes authentication test.
CN201910508342.7A 2019-06-13 2019-06-13 Production line certificate injection system and method thereof Active CN110263526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910508342.7A CN110263526B (en) 2019-06-13 2019-06-13 Production line certificate injection system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910508342.7A CN110263526B (en) 2019-06-13 2019-06-13 Production line certificate injection system and method thereof

Publications (2)

Publication Number Publication Date
CN110263526A true CN110263526A (en) 2019-09-20
CN110263526B CN110263526B (en) 2023-08-18

Family

ID=67917887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910508342.7A Active CN110263526B (en) 2019-06-13 2019-06-13 Production line certificate injection system and method thereof

Country Status (1)

Country Link
CN (1) CN110263526B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820374A (en) * 2006-06-26 2010-09-01 三菱电机株式会社 The method for issuing token of communication node and annular communication system, token-ring communication method
CN102571340A (en) * 2010-12-23 2012-07-11 普天信息技术研究院有限公司 Certificate authentication device as well as access method and certificate update method thereof
US20130067220A1 (en) * 2010-05-24 2013-03-14 Renesas Electronics Corporation Communication system, vehicle-mounted terminal, roadside device
CN103107996A (en) * 2013-02-07 2013-05-15 北京中视广信科技有限公司 On-line download method and system of digital certificate and digital certificate issuing platform
CN103532951A (en) * 2013-10-15 2014-01-22 广东电网公司电力科学研究院 Off-line initialization method and off-line initialization system for industrial terminal devices
CN103986687A (en) * 2013-02-07 2014-08-13 电信科学技术研究院 Method for realizing authorization management of vehicle networking device, device and systems
CN106453269A (en) * 2016-09-21 2017-02-22 东软集团股份有限公司 Internet of Vehicles safety communication method, vehicle-mounted terminal, server and system
CN106658493A (en) * 2016-10-17 2017-05-10 东软集团股份有限公司 Key management method, device and system
CN106841975A (en) * 2016-12-14 2017-06-13 新智数字科技有限公司 A kind of test system
CN109257328A (en) * 2017-07-14 2019-01-22 中国电力科学研究院 A kind of safety interacting method and device of scene operation/maintenance data
CN109466469A (en) * 2018-11-08 2019-03-15 北京车和家信息技术有限公司 Control method for vehicle, apparatus and system, computer equipment and readable storage medium storing program for executing
CN109787756A (en) * 2018-12-24 2019-05-21 吉林微思智能科技有限公司 A kind of car-mounted terminal key distribution management method based on whitepack encryption technology

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820374A (en) * 2006-06-26 2010-09-01 三菱电机株式会社 The method for issuing token of communication node and annular communication system, token-ring communication method
US20130067220A1 (en) * 2010-05-24 2013-03-14 Renesas Electronics Corporation Communication system, vehicle-mounted terminal, roadside device
CN102571340A (en) * 2010-12-23 2012-07-11 普天信息技术研究院有限公司 Certificate authentication device as well as access method and certificate update method thereof
CN103107996A (en) * 2013-02-07 2013-05-15 北京中视广信科技有限公司 On-line download method and system of digital certificate and digital certificate issuing platform
CN103986687A (en) * 2013-02-07 2014-08-13 电信科学技术研究院 Method for realizing authorization management of vehicle networking device, device and systems
CN103532951A (en) * 2013-10-15 2014-01-22 广东电网公司电力科学研究院 Off-line initialization method and off-line initialization system for industrial terminal devices
CN106453269A (en) * 2016-09-21 2017-02-22 东软集团股份有限公司 Internet of Vehicles safety communication method, vehicle-mounted terminal, server and system
CN106658493A (en) * 2016-10-17 2017-05-10 东软集团股份有限公司 Key management method, device and system
CN106841975A (en) * 2016-12-14 2017-06-13 新智数字科技有限公司 A kind of test system
CN109257328A (en) * 2017-07-14 2019-01-22 中国电力科学研究院 A kind of safety interacting method and device of scene operation/maintenance data
CN109466469A (en) * 2018-11-08 2019-03-15 北京车和家信息技术有限公司 Control method for vehicle, apparatus and system, computer equipment and readable storage medium storing program for executing
CN109787756A (en) * 2018-12-24 2019-05-21 吉林微思智能科技有限公司 A kind of car-mounted terminal key distribution management method based on whitepack encryption technology

Also Published As

Publication number Publication date
CN110263526B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
CN109829296A (en) The sandbox implementation method of intelligent contract based on alliance's chain
US8443336B2 (en) System and method for applying model-based testing to train control systems
JP2002358249A (en) Bus protocol compliance test method for device, and system
CN107038280A (en) A kind of checking system and method for software and hardware cooperating simulation
CN104598373B (en) A kind of embedded software test method of multi-technical fusion
CN106444568B (en) A kind of data-updating method and device
CN109740222A (en) A kind of test device and system for grid motor connectionization scene
CN112241347B (en) Method for realizing SystemC verification and verification platform assembly architecture
Karsai et al. Evolving embedded systems
CN115576768A (en) Universal verification platform architecture automatic generation method based on UVM
CN110688269B (en) RTL code automatic verification device and method adopting AXI bus interface
CN106598652A (en) System for rapidly starting Linux core in field programmable gate array (FPGA) environment and starting method
CN110263526A (en) A kind of producing line certificate injected system and its method
Heneghan et al. Enabling security checking of automotive ECUs with formal CSP models
CN103631717A (en) RS422 serial communication interface fault model construction method based on NI platform
CN103425575B (en) A kind of method of testing and device
CN109088733A (en) A kind of implementation method and device of application of IC cards extension
CN102075370A (en) Calibration and verification system of engine control model (ECM) communication based on virtual network and virtual node
CN101377794A (en) Financial tax control SOC chip logic checking system
Gross et al. Model-based built-in tests
Oyebisi et al. Development of a remote operational amplifier Ilab using android-based mobile platform
Gilberg et al. Conformance testing for the AUTOSAR standard
CN105511995B (en) A kind of graphics processor verification method
CN109992933A (en) The firmware of PIN-based code authorization starts method
Dong et al. Refinement-Based Verification of Device-to-Device Information Flow.

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