CN114936047A - Factory setting restoration method and system for IVI (interactive virtual infrastructure) system, electronic equipment and storage medium - Google Patents

Factory setting restoration method and system for IVI (interactive virtual infrastructure) system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114936047A
CN114936047A CN202210421834.4A CN202210421834A CN114936047A CN 114936047 A CN114936047 A CN 114936047A CN 202210421834 A CN202210421834 A CN 202210421834A CN 114936047 A CN114936047 A CN 114936047A
Authority
CN
China
Prior art keywords
ivi system
diagnostic
equipment
diagnosis
ivi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210421834.4A
Other languages
Chinese (zh)
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.)
Jiangling Motors Corp Ltd
Original Assignee
Jiangling Motors Corp 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 Jiangling Motors Corp Ltd filed Critical Jiangling Motors Corp Ltd
Priority to CN202210421834.4A priority Critical patent/CN114936047A/en
Publication of CN114936047A publication Critical patent/CN114936047A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Safety Devices In Control Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides a factory setting restoration method for an IVI system, which comprises the following steps: when a diagnostic port of a vehicle to be processed is communicated with diagnostic equipment, the diagnostic equipment is triggered to start diagnostic service, so that an IVI system built in the vehicle is in a detection mode; triggering a safety access program of the running diagnosis equipment, acquiring a safety access instruction, and judging whether the safety access instruction is legal or not; if yes, triggering an input/output control program of the running diagnosis equipment, acquiring a routine control instruction, enabling the IVI system to shield an actual input/output signal value, and setting the actual input/output signal value according to a preset factory default value; and when the IVI system is confirmed to be written into the factory default value, triggering a reset program for running the diagnostic equipment, and acquiring a reset instruction so as to enable the diagnostic equipment to exit the diagnostic service.

Description

Method and system for restoring factory settings of IVI system, electronic device and storage medium
Technical Field
The invention belongs to the technical field of vehicle networking vehicle-mounted information entertainment systems, and particularly relates to a factory setting restoration method and system for an IVI system, electronic equipment and a storage medium.
Background
A Vehicle-mounted information entertainment system (IVI for short) is a Vehicle-mounted comprehensive information processing system formed by adopting a Vehicle-mounted special central processing unit and based on a Vehicle body bus system and internet service. With the continuous improvement of networking and automation of automobiles, functions of vehicle-mounted information entertainment systems (hereinafter referred to as IVI) are increasing. The IVI provides user experience for future intelligent cockpit, provides safer, more comfortable, more pleasant driver environment, and connects people with information and services inside and outside the vehicle.
Due to habits and preferences of users, requirements on function configuration are obviously different, particularly for passenger vehicle types, default functions need to be configured for the IVI main interface according to specific vehicle types, the functions with popular requirements are enabled by default when leaving a factory, and the user does not need to set the functions after taking the vehicle. After the vehicle is off-line, the CAL and FAI detection lines can open various functions of IVI for detection, factory settings are required to be restored after detection is finished, and inconsistent states in hands of terminal clients are avoided flowing into the vehicle. However, the common practice for existing IVI systems to restore factory settings is to do so manually. However, due to the limited offline tact of the factory, if the IVI is returned to the factory setting manually after the inspection is finished, additional manpower and operation man-hours are required, the offline efficiency of the vehicle may be reduced, and the one-time passing rate of the offline inspection of the vehicle is low; there is also a possibility of missing default device recovery, resulting in a reduced user experience.
Therefore, how to improve factory setting efficiency of the IVI system and avoid missing possibility of factory setting restoration of the IVI system is a problem to be solved urgently.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method, a system, an electronic device and a storage medium for factory restoration of an IVI system, which automatically perform diagnosis routine control on the IVI system through a diagnosis device, so that the IVI system automatically writes factory default values, and factory restoration of the IVI system is realized.
In a first aspect, the present invention provides a method for restoring factory settings of an IVI system, including:
when a diagnostic port of a vehicle to be processed is communicated with diagnostic equipment, triggering the diagnostic equipment to start diagnostic service so as to enable an IVI system built in the vehicle to be in a detection mode;
triggering a safety access program for operating the diagnostic equipment, acquiring a safety access instruction, and judging whether the safety access instruction is legal or not;
if yes, triggering and operating an input/output control program of the diagnostic equipment, acquiring a routine control instruction, so that the IVI system shields an actual input/output signal value, and setting the actual input/output signal value according to a preset factory default value;
and when the IVI system is confirmed to be written into a factory default value, triggering a reset program for running the diagnostic equipment, and acquiring a reset instruction so that the diagnostic equipment exits the diagnostic service.
Preferably, the step of triggering to operate the security access program of the diagnostic device, obtaining a security access instruction, and determining whether the security access instruction is legal specifically includes:
when the IVI system is in a detection mode, acquiring a seed request message sent by the diagnosis equipment, and randomly generating IVI system seeds;
feeding back the IVI system seed to the diagnosis equipment, and judging whether the diagnosis equipment successfully receives the IVI system seed;
if yes, controlling the diagnostic equipment to calculate a diagnostic key corresponding to the IVI system seed;
and acquiring the diagnosis secret key, and comparing the diagnosis secret key with a self secret key of the IVI system to judge whether the security access instruction is legal or not.
Preferably, after the step of feeding back the IVI system seed to the diagnostic device and determining whether the diagnostic device successfully receives the IVI system seed, the method further comprises:
if the diagnosis equipment fails to receive the IVI system seeds, the first preset times of the step of feeding the IVI system seeds back to the diagnosis equipment and judging whether the diagnosis equipment successfully receives the IVI system seeds are repeatedly executed;
and if the diagnosis equipment fails to receive the IVI system seed again, giving up the diagnosis service, so that the diagnosis equipment exits the diagnosis service and outputs alarm information.
Preferably, after the step of triggering to run the security access program of the diagnostic device, obtaining the security access instruction, and determining whether the security access instruction is legal, the method further includes:
if the safety access instruction is illegal, repeatedly executing a safety access program which triggers the diagnostic equipment to run, acquiring a safety access instruction, and judging whether the safety access instruction is legal for a second preset time;
and if the safety access instruction is still not legal, giving up the diagnosis service, so that the diagnosis equipment exits the diagnosis service and outputs alarm information.
Preferably, the step of triggering the diagnostic device to start the diagnostic service when the diagnostic port of the vehicle to be processed is connected with the diagnostic device, so that the IVI system built in the vehicle is in the detection mode specifically includes:
acquiring protocol channel information of diagnostic equipment, and controlling protocol channel information of an IVI system built in a vehicle to be processed to be consistent with the protocol channel information of the diagnostic equipment so as to enable the IVI system and the diagnostic equipment to be in a data interaction state;
and triggering and operating the diagnostic equipment to start diagnostic service, acquiring an extended mode switching instruction sent by the diagnostic equipment, and controlling the IVI system and the diagnostic equipment to enter an extended session mode so as to enable the IVI system to be in a detection mode.
Preferably, the routine control means that the IVI system groups actual input and output signal values to be controlled and assigns numerical identifiers to implement parameter control on a plurality of actual input and output signal values to be controlled.
In a second aspect, the present invention provides a factory setting restoration system for an IVI system, including:
a first triggering module: the system comprises a diagnostic port used for triggering a diagnostic device to start diagnostic service when the diagnostic port of a vehicle to be processed is communicated with the diagnostic device, so that an IVI system built in the vehicle is in a detection mode;
a second triggering module: the system comprises a safety access program for triggering and operating the diagnostic equipment, acquiring a safety access instruction and judging whether the safety access instruction is legal or not;
a third triggering module, configured to trigger an input/output control program for running the diagnostic device if the security access instruction is legal, to obtain a routine control instruction, so that the IVI system shields an actual input/output signal value, and sets the actual input/output signal value according to a preset factory default value;
a fourth trigger module: and the reset program is used for triggering and operating the diagnostic equipment when the IVI system is confirmed to be written in a factory default value, and acquiring a reset instruction so as to enable the diagnostic equipment to exit the diagnostic service.
Preferably, the second trigger module includes:
a generation unit: the system comprises a diagnosis device, a seed acquisition device and an IVI system, wherein the diagnosis device is used for acquiring a request seed message sent by the diagnosis device and randomly generating an IVI system seed when the IVI system is in a detection mode;
a judging unit: the system is used for feeding back the IVI system seed to the diagnosis equipment and judging whether the diagnosis equipment successfully receives the IVI system seed;
a calculating unit, configured to control the diagnostic device to calculate a diagnostic key corresponding to the IVI system seed if the diagnostic device successfully receives the IVI system seed;
an alignment unit: and the system is used for acquiring the diagnosis secret key and comparing the diagnosis secret key with the secret key of the IVI system to judge whether the security access instruction is legal or not.
Preferably, the second trigger module further comprises:
repeating unit: the first preset times of the step of feeding back the IVI system seed to the diagnostic equipment and judging whether the diagnostic equipment successfully receives the IVI system seed are repeatedly executed if the diagnostic equipment fails to receive the IVI system seed;
an exception handling unit: and the diagnostic equipment is used for giving up the diagnostic service if the diagnostic equipment fails to receive the IVI system seed again, so that the diagnostic equipment exits the diagnostic service and outputs alarm information.
Preferably, the system further comprises:
a reset module: the step of repeatedly executing a security access program which triggers the diagnostic equipment to operate if the security access instruction is illegal, acquiring the security access instruction, and judging whether the security access instruction is legal or not;
an exception handling module: and if the safety access instruction is still not legal, giving up the diagnosis service, so that the diagnosis equipment exits the diagnosis service, and outputting alarm information.
Preferably, the first triggering module includes:
an interaction unit: the protocol channel information of the diagnostic equipment is acquired, and the protocol channel information of an IVI system built in the vehicle to be processed is controlled to be consistent with the protocol channel information of the diagnostic equipment, so that the IVI system and the diagnostic equipment are in a data interaction state;
a switching unit: the method and the device are used for triggering the running of the diagnostic equipment to start diagnostic service, obtaining an extended mode switching instruction sent by the diagnostic equipment, and controlling the IVI system and the diagnostic equipment to enter an extended session mode so as to enable the IVI system to be in a detection mode.
In a third aspect, the invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the IVI system factory reset method according to the first aspect.
In a fourth aspect, the invention provides a storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the IVI system factory reset method according to the first aspect.
Compared with the prior art, the method has the advantages that the input and output signals required to be controlled are grouped by using routine control, and one digital identifier is allocated to realize parameter control of a plurality of input and output signals. And the diagnostic equipment can trigger corresponding diagnostic service at the corresponding node, sends a routine control instruction and a diagnostic service instruction to the IVI system through the diagnostic equipment, writes a factory default value into the IVI system, continues to send a reset instruction to the IVI system through the diagnostic equipment after success, and restores all functions of the IVI system to a factory set state. According to the method, the routine control is automatically diagnosed for the IVI system by additionally arranging the routine control on the detection station before the vehicle to be processed enters the warehouse, so that the IVI system automatically writes in the factory default value, the restoration of factory setting of the IVI system is realized, the offline beat of the factory value restored by the built-in IVI of the vehicle is optimized, extra operation time and manpower are not increased, the factory setting efficiency of the IVI system is improved, the possibility of omission of factory setting restoration of the IVI system is prevented, and the consistency requirement of the default function of the IVI system is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the embodiments or the prior art description 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 may be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a factory setting restoration method for an IVI system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a step S101 according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the step S102 according to an embodiment of the present invention;
fig. 4 is a block diagram of a factory setting restoration system structure of an IVI system corresponding to a method according to a second embodiment of the present invention;
fig. 5 is a flowchart of a factory setting restoration method for an IVI system according to a third embodiment of the present invention;
fig. 6 is a block diagram of a factory setting restoration system structure of an IVI system corresponding to the third method according to the fourth embodiment of the present invention;
fig. 7 is a flowchart of a factory setting restoration method for an IVI system according to a fifth embodiment of the present invention;
fig. 8 is a block diagram of a factory setting restoration system structure of an IVI system corresponding to the fifth method according to a sixth embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to a seventh embodiment of the present invention.
Description of reference numerals:
10-a first trigger module, 11-an interaction unit and 12-a switching unit;
20-a second trigger module, 21-a generating unit, 22-a judging unit, 23-a calculating unit, 24-a comparing unit, 25-a repeating unit and 26-an exception handling unit;
30-a third trigger module;
40-a fourth trigger module;
50-a reset module;
60-exception handling module;
70-bus, 71-processor, 72-memory, 73-communication interface.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that such a development effort might be complex and tedious, but would nevertheless be a routine undertaking of design, fabrication, and manufacture for those of ordinary skill having the benefit of this disclosure, given the benefit of this disclosure, without departing from the scope of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless otherwise defined, technical or scientific terms referred to herein should have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, "a and/or B" may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
Example one
The present embodiment provides a factory resetting method for an IVI system, and fig. 1 is a flowchart of the factory resetting method for the IVI system according to the embodiment of the present application. As shown in fig. 1, the flow includes steps S101 to S104:
s101, when a diagnostic port of the vehicle to be processed is connected with diagnostic equipment, the diagnostic equipment is triggered to start diagnostic service, so that an IVI system arranged in the vehicle is in a detection mode.
Specifically, the present embodiment completes factory reset of the IVI system of one vehicle to be processed, and the adopted devices include the vehicle to be processed, a diagnostic device, a message monitoring device, and a one-to-two patch cord. During specific implementation, a vehicle to be processed stays at a detection station of a production line, a one-to-two patch cord is connected to an OBD diagnosis port of the vehicle to be processed, one of two plug connectors is connected with diagnosis equipment, and the other plug connector is connected with message monitoring equipment. The diagnosis equipment needs to develop a process of writing input and output control functions for the IVI system according to routine control, and mainly comprises the following two steps: firstly, a routine control command is transmitted to the IVI for searching factory default values; and secondly, the diagnostic equipment sends a reset diagnostic service instruction to reset the IVI system. After the program is developed, the diagnosis equipment can support the IVI system of the real vehicle to restore the factory settings.
Further, as shown in fig. 2, the step S101 specifically includes:
and S1011, acquiring protocol channel information of the diagnostic equipment, and controlling the protocol channel information of the built-in IVI system of the vehicle to be processed to be consistent with the protocol channel information of the diagnostic equipment, so that the IVI system and the diagnostic equipment are in a data interaction state.
And S1012, triggering and operating the diagnostic equipment to start diagnostic service, acquiring an extended mode switching instruction sent by the diagnostic equipment, and controlling the IVI system and the diagnostic equipment to enter an extended session mode so as to enable the IVI system to be in a detection mode.
Specifically, when the IVI system and the diagnostic device are in a data interaction state, the diagnostic device sends an extended mode switching instruction to the IVI system, and the diagnostic device and the IVI system enter an extended session mode. The extended mode switching instruction is a 1003 instruction.
S102, triggering a safety access program for operating the diagnosis equipment, acquiring a safety access instruction, and judging whether the safety access instruction is legal or not.
Specifically, after the IVI system is switched to the extended session mode, the diagnosis device sends an IVI system security access instruction again, the diagnosis device sends a seed request message to the IVI system, the IVI system randomly generates an IVI system seed after receiving the message and feeds the IVI system seed back to the diagnosis device, and the diagnosis device calculates a diagnosis key after receiving the IVI system seed; after receiving the diagnosis secret key, the IVI system compares the diagnosis secret key with the secret key of the IVI system to judge whether the security access instruction is legal or not.
Further, as shown in fig. 3, the step S102 specifically includes:
s1021, when the IVI system is in a detection mode, acquiring a request seed message sent by the diagnosis equipment, and randomly generating an IVI system seed;
specifically, the diagnosis device sends 2701 instruction request seed message to the IVI system, and the message monitoring device can monitor the operation condition and determine whether it is responded.
S1022, feeding back the IVI system seed to the diagnostic equipment, and judging whether the diagnostic equipment successfully receives the IVI system seed.
And S1023, if so, controlling the diagnosis equipment to calculate a diagnosis key corresponding to the IVI system seed.
S1024, obtaining the diagnosis secret key, and comparing the diagnosis secret key with a secret key of the IVI system to judge whether the security access instruction is legal or not;
specifically, the diagnostic device sends 2702 instruction to the IVI system to send the diagnostic key to the IVI system, and the message monitoring device can monitor the operation status and confirm whether it is responding positively.
S103, if yes, triggering and operating an input/output control program of the diagnostic equipment, acquiring a routine control instruction, enabling the IVI system to shield an actual input/output signal value, and setting the actual input/output signal value according to a preset factory default value;
s104, when the IVI system is confirmed to be written into a factory default value, triggering a reset program for running the diagnostic equipment, and obtaining a reset instruction so that the diagnostic equipment exits the diagnostic service;
specifically, the message is monitored by the message monitoring device, and after the fact that the IVI system has written the factory default value is confirmed, the diagnosis device sends a reset instruction to the IVI system, wherein the reset instruction is 1101 instruction. After the IVI system is reset, an IVI system interface is checked through a 1101 instruction, and functions on a touch screen of the IVI system all display a factory state.
In summary, the following steps: when the IVI system and the diagnostic equipment are in a data interaction state, the diagnostic equipment can be triggered at a corresponding node, so that the IVI system obtains an extended mode switching instruction and a safe access instruction and writes a factory default value into the IVI system, and after the extended mode switching instruction and the safe access instruction are successful, the diagnostic equipment continues to send a reset instruction to the IVI system, and all functions of the IVI system are restored to a factory set state; the IVI system is automatically subjected to diagnosis routine control by additionally arranging routine control on a detection station before the vehicle to be processed enters a warehouse, so that the IVI system can automatically write factory default values, and the IVI system can restore factory settings.
Example two
The present embodiment provides a block diagram of a system corresponding to the method in the first embodiment, and fig. 4 is a block diagram of a factory setting restoration system for an IVI system according to the embodiment of the present application. As shown in fig. 4, the system includes:
the first triggering module 10: the system comprises a diagnostic port, a diagnostic device and a control module, wherein the diagnostic port is used for triggering the diagnostic device to start diagnostic service when a diagnostic port of a vehicle to be processed is communicated with the diagnostic device, so that an IVI system built in the vehicle is in a detection mode;
the second triggering module 20: the system comprises a safety access program for triggering and operating the diagnostic equipment, acquiring a safety access instruction and judging whether the safety access instruction is legal or not;
a third triggering module 30, configured to trigger to run an input/output control program of the diagnostic device if the secure access instruction is legal, obtain a routine control instruction, so that the IVI system shields an actual input/output signal value, and set the actual input/output signal value according to a preset factory default value;
the fourth triggering module 40: and the reset program is used for triggering and operating the diagnostic equipment when the IVI system is confirmed to be written in a factory default value, and acquiring a reset instruction so as to enable the diagnostic equipment to exit the diagnostic service.
Further, the first triggering module 10 includes:
the interaction unit 11: the protocol channel information of the diagnostic equipment is acquired, and the protocol channel information of an IVI system built in the vehicle to be processed is controlled to be consistent with the protocol channel information of the diagnostic equipment, so that the IVI system and the diagnostic equipment are in a data interaction state;
the switching unit 12: the method and the device are used for triggering the running of the diagnostic equipment to start diagnostic service, obtaining an extended mode switching instruction sent by the diagnostic equipment, and controlling the IVI system and the diagnostic equipment to enter an extended session mode so as to enable the IVI system to be in a detection mode.
Further, the second triggering module 20 includes:
the generation unit 21: the system comprises a diagnostic device, a seed acquisition module, a seed storage module, a seed selection module and a seed selection module, wherein the seed acquisition module is used for acquiring a request seed message sent by the diagnostic device when an IVI system is in a detection mode and randomly generating IVI system seeds;
the judging unit 22: the system is used for feeding back the IVI system seed to the diagnosis equipment and judging whether the diagnosis equipment successfully receives the IVI system seed;
a calculating unit 23, configured to control the diagnostic device to calculate a diagnostic key corresponding to the IVI system seed if the diagnostic device successfully receives the IVI system seed;
the alignment unit 24: and the system is used for acquiring the diagnosis secret key and comparing the diagnosis secret key with a secret key of the IVI system so as to judge whether the security access instruction is legal or not.
It should be noted that the above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
EXAMPLE III
The present embodiment provides a factory setting restoration method for an IVI system, and fig. 5 is a flowchart of the factory setting restoration method for the IVI system according to the embodiment of the present application. As shown in fig. 5, the flow includes steps S201 to S204:
s201, when a diagnostic port of the vehicle to be processed is connected with the diagnostic equipment, the diagnostic equipment is triggered to start diagnostic service, so that an IVI system built in the vehicle is in a detection mode.
S202, triggering a security access program for operating the diagnostic equipment, acquiring a security access instruction, and judging whether the security access instruction is legal or not.
And S203, if the safety access instruction is illegal, repeatedly executing a safety access program which triggers the diagnosis equipment to operate, acquiring a safety access instruction, and judging whether the safety access instruction is legal for a second preset time. Wherein the second preset number is 5.
S204, if the safety access instruction is still not legal, giving up the diagnosis service, so that the diagnosis equipment exits the diagnosis service, and outputting alarm information.
In summary, when the IVI system and the diagnostic device are in a data interaction state, the diagnostic device may be triggered at a corresponding node, so that the IVI system obtains an extended mode switching instruction and a security access instruction to the IVI system, and when it is determined that the security access instruction is illegal, that is, the response of the security access process is not confirmed by the message monitoring device, and the next step of recovering the factory settings cannot be smoothly performed, the diagnostic device abandons the diagnostic service, so that the diagnostic device exits the diagnostic service, and outputs alarm information.
Example four
This embodiment provides a block diagram of a system corresponding to the method described in the third embodiment, and fig. 6 is a block diagram of a factory setting restoration system for an IVI system according to the embodiment of the present application. As shown in fig. 6, the system includes:
the first triggering module 10: the system is used for triggering the diagnostic equipment to start diagnostic service when a diagnostic port of a vehicle to be processed is communicated with the diagnostic equipment, so that an IVI system built in the vehicle is in a detection mode.
The second triggering module 20: and the safety access program is used for triggering and operating the diagnosis equipment, acquiring a safety access instruction and judging whether the safety access instruction is legal or not.
The reset module 50: and the step of repeatedly executing a security access program which triggers the diagnostic equipment to operate if the security access instruction is illegal, acquiring the security access instruction, and judging whether the security access instruction is legal for a second preset time.
The exception handling module 60: and if the safety access instruction is still not legal, giving up the diagnosis service, so that the diagnosis equipment exits the diagnosis service, and outputting alarm information.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
EXAMPLE five
The present embodiment provides a factory resetting method for an IVI system, and fig. 7 is a flowchart of the factory resetting method for the IVI system according to the embodiment of the present application. As shown in fig. 7, the flow includes steps S301 to S302:
s301, when a diagnostic port of the vehicle to be processed is connected with diagnostic equipment, the diagnostic equipment is triggered to start diagnostic service, so that an IVI system built in the vehicle is in a detection mode.
S302, triggering and operating a safety access program of the diagnosis equipment, acquiring a safety access instruction, and judging whether the safety access instruction is legal or not.
In particular, the amount of the solvent to be used,
further, the step S302 specifically includes:
s3021, when the IVI system is in a detection mode, acquiring a seed request message sent by the diagnosis equipment, and randomly generating IVI system seeds;
s3022, feeding back the IVI system seed to the diagnostic device, and judging whether the diagnostic device successfully receives the IVI system seed;
s3023, if the diagnosis device fails to receive the IVI system seed, repeatedly performing a first preset number of steps of feeding back the IVI system seed to the diagnosis device, and determining whether the diagnosis device successfully receives the IVI system seed; wherein the first preset times is 5 times.
S3024, if the diagnostic device fails to receive the IVI system seed again, giving up the diagnostic service this time, so that the diagnostic device quits the diagnostic service, and outputting alarm information.
In summary, when the IVI system and the diagnostic device are in a data interaction state, the diagnostic device may trigger at a corresponding node to enable the IVI system to obtain an extended mode switching instruction and a security access instruction to the IVI system, when it is determined that the diagnostic device fails to receive the IVI system seed, the first preset number of times of the previous step is repeatedly executed, if the diagnosis still fails, it is determined that a response in a security access process is not confirmed by the message monitoring device, and the next step of factory setting recovery cannot be smoothly performed, the diagnostic device is abandoned, so that the diagnostic device exits the diagnostic service, and alarm information is output.
EXAMPLE six
This embodiment provides a block diagram of a system corresponding to the method described in the third embodiment, and fig. 8 is a block diagram of a factory setting restoration system for an IVI system according to the embodiment of the present application. As shown in fig. 8, the system includes:
the first triggering module 10: the system is used for triggering the diagnostic equipment to start diagnostic service when a diagnostic port of a vehicle to be processed is connected with the diagnostic equipment, so that an IVI system built in the vehicle is in a detection mode.
The second triggering module 20: and the safety access program is used for triggering and operating the diagnosis equipment, acquiring a safety access instruction and judging whether the safety access instruction is legal or not.
Further, the second triggering module 20 includes:
the generation unit 21: the system comprises a diagnosis device, a seed acquisition device and an IVI system, wherein the diagnosis device is used for acquiring a request seed message sent by the diagnosis device and randomly generating an IVI system seed when the IVI system is in a detection mode;
the judging unit 22: the system is used for feeding back the IVI system seed to the diagnosis equipment and judging whether the diagnosis equipment successfully receives the IVI system seed;
repeating unit 25: the first preset times are used for repeatedly executing the step of feeding the IVI system seeds back to the diagnostic equipment and judging whether the diagnostic equipment successfully receives the IVI system seeds if the diagnostic equipment fails to receive the IVI system seeds;
the exception processing unit 26: and the diagnostic equipment is used for giving up the diagnostic service if the diagnostic equipment fails to receive the IVI system seed again, so that the diagnostic equipment exits the diagnostic service and outputs alarm information.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
EXAMPLE seven
The IVI system factory reset method of the present invention described with reference to fig. 1, 5 and 7 may be implemented by an electronic device. Fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
The electronic device may comprise a processor 71 and a memory 72 in which computer program instructions are stored.
Specifically, the processor 71 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 72 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 72 may include a Hard Disk Drive (Hard Disk Drive, abbreviated to HDD), a floppy Disk Drive, a Solid State Drive (SSD), flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 72 may include removable or non-removable (or fixed) media, where appropriate. The memory 72 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 72 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, Memory 72 includes Read-Only Memory (ROM) and Random Access Memory (RAM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically Alterable ROM (EAROM), or FLASH Memory (FLASH), or a combination of two or more of these. The RAM may be a Static Random-Access Memory (SRAM) or a Dynamic Random-Access Memory (DRAM), where the DRAM may be a Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), an Extended data output Dynamic Random-Access Memory (EDODRAM), a Synchronous Dynamic Random-Access Memory (SDRAM), and the like.
The memory 72 may be used to store or cache various data files that need to be processed and/or used for communication, as well as possible computer program instructions executed by the processor 71.
The processor 71 reads and executes the computer program instructions stored in the memory 72 to implement the factory resetting method for IVI system restoration in the first, third, and fifth embodiments.
In some of these embodiments, the computer may also include a communication interface 73 and a bus 70. As shown in fig. 9, the processor 71, the memory 72, and the communication interface 73 are connected via the bus 70 to complete mutual communication.
The communication interface 73 is used for realizing communication among modules, devices, units and/or equipment in the embodiment of the present application. The communication interface 73 may also enable communication with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
The bus 70 includes hardware, software, or both to couple the components of the electronic device to one another. Bus 70 includes, but is not limited to, at least one of the following: data Bus (Data Bus), Address Bus (Address Bus), Control Bus (Control Bus), Expansion Bus (Expansion Bus), and Local Bus (Local Bus). By way of example, and not limitation, Bus 70 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (FSB), a Hyper Transport (HT) Interconnect, an ISA (ISA) Bus, an InfiniBand (InfiniBand) Interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a microchannel Architecture (MCA) Bus, a PCI (Peripheral Component Interconnect) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a Video Electronics Bus (audio Electronics Association), abbreviated VLB) bus or other suitable bus or a combination of two or more of these. Bus 70 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The electronic device may execute the IVI system factory resetting method according to the first, third, and fifth embodiments of the present application based on the obtained IVI system factory resetting system, thereby implementing the IVI system factory resetting.
In addition, with reference to the method for factory resetting of the IVI system in the first, third, and fifth embodiments, the embodiments of the present application may provide a storage medium to implement. The storage medium having stored thereon computer program instructions; when executed by the processor, the computer program instructions implement the factory reset method for the IVI system in the first, third, and fifth embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A factory setting restoration method for an IVI system is characterized by comprising the following steps:
when a diagnostic port of a vehicle to be processed is communicated with diagnostic equipment, triggering the diagnostic equipment to start diagnostic service so as to enable an IVI system built in the vehicle to be in a detection mode;
triggering a safety access program for operating the diagnostic equipment, acquiring a safety access instruction, and judging whether the safety access instruction is legal or not;
if yes, triggering and operating an input/output control program of the diagnostic equipment, acquiring a routine control instruction, so that the IVI system shields an actual input/output signal value, and setting the actual input/output signal value according to a preset factory default value;
and when the IVI system is confirmed to be written into a factory default value, triggering a reset program for running the diagnostic equipment, and acquiring a reset instruction so that the diagnostic equipment exits the diagnostic service.
2. The method for factory resetting of the IVI system according to claim 1, wherein the step of triggering the security access program of the diagnostic device, obtaining the security access command, and determining whether the security access command is legal specifically comprises:
when the IVI system is in a detection mode, acquiring a seed request message sent by the diagnostic equipment, and randomly generating IVI system seeds;
feeding back the IVI system seed to the diagnostic equipment, and judging whether the diagnostic equipment successfully receives the IVI system seed;
if yes, controlling the diagnostic equipment to calculate a diagnostic key corresponding to the IVI system seed;
and acquiring the diagnosis secret key, and comparing the diagnosis secret key with a self secret key of the IVI system to judge whether the security access instruction is legal or not.
3. The IVI system factory reset method of claim 2, wherein after the step of feeding back the IVI system seed to the diagnostic device and determining whether the diagnostic device successfully received the IVI system seed, the method further comprises:
if the diagnosis equipment fails to receive the IVI system seeds, the first preset times of the step of feeding the IVI system seeds back to the diagnosis equipment and judging whether the diagnosis equipment successfully receives the IVI system seeds are repeatedly executed;
and if the diagnosis equipment fails to receive the IVI system seed again, giving up the diagnosis service, so that the diagnosis equipment exits the diagnosis service and outputs alarm information.
4. The IVI system factory reset method of claim 1, wherein after the steps of triggering a security access procedure of the diagnostic device, obtaining a security access command, and determining whether the security access command is valid, the method further comprises:
if the safety access instruction is illegal, repeatedly executing a safety access program which triggers the diagnostic equipment to run, acquiring a safety access instruction, and judging whether the safety access instruction is legal for a second preset time;
and if the safety access instruction is still not legal, giving up the diagnosis service, so that the diagnosis equipment exits the diagnosis service and outputs alarm information.
5. The method for factory resetting of the IVI system according to claim 1, wherein the step of triggering the diagnostic device to start the diagnostic service when the diagnostic port of the vehicle to be processed is connected with the diagnostic device so as to enable the IVI system built in the vehicle to be in the detection mode specifically comprises:
acquiring protocol channel information of diagnostic equipment, and controlling protocol channel information of an IVI system built in a vehicle to be processed to be consistent with the protocol channel information of the diagnostic equipment so as to enable the IVI system and the diagnostic equipment to be in a data interaction state;
and triggering and operating the diagnostic equipment to start diagnostic service, acquiring an extended mode switching instruction sent by the diagnostic equipment, and controlling the IVI system and the diagnostic equipment to enter an extended session mode so as to enable the IVI system to be in a detection mode.
6. The IVI system factory reset method of claim 1, wherein said routine control means that said IVI system groups actual i/o signal values to be controlled and assigns numerical identifiers to achieve parameter control of a plurality of said actual i/o signal values to be controlled.
7. An IVI system factory reset system, comprising:
the first trigger module: the system comprises a diagnostic port used for triggering a diagnostic device to start diagnostic service when the diagnostic port of a vehicle to be processed is communicated with the diagnostic device, so that an IVI system built in the vehicle is in a detection mode;
a second triggering module: the system comprises a security access program for triggering and operating the diagnostic equipment, acquiring a security access instruction and judging whether the security access instruction is legal or not;
the third triggering module is used for triggering and operating an input/output control program of the diagnostic equipment to acquire a routine control instruction if the safety access instruction is legal, so that the IVI system shields an actual input/output signal value, and the actual input/output signal value is set according to a preset factory default value;
a fourth trigger module: and the reset program is used for triggering and operating the diagnostic equipment when the IVI system is confirmed to be written in a factory default value, and acquiring a reset instruction so as to enable the diagnostic equipment to exit the diagnostic service.
8. The IVI system factory reset system of claim 7, wherein the second triggering module comprises:
a generation unit: the system comprises a diagnosis device, a seed acquisition device and an IVI system, wherein the diagnosis device is used for acquiring a request seed message sent by the diagnosis device and randomly generating an IVI system seed when the IVI system is in a detection mode;
a judging unit: the system is used for feeding back the IVI system seed to the diagnosis equipment and judging whether the diagnosis equipment successfully receives the IVI system seed;
a calculating unit, configured to control the diagnostic device to calculate a diagnostic key corresponding to the IVI system seed if the diagnostic device successfully receives the IVI system seed;
an alignment unit: and the system is used for acquiring the diagnosis secret key and comparing the diagnosis secret key with the secret key of the IVI system to judge whether the security access instruction is legal or not.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the IVI system factory reset method of any of claims 1-6.
10. A storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the IVI system factory reset method according to any of the claims 1 to 6.
CN202210421834.4A 2022-04-21 2022-04-21 Factory setting restoration method and system for IVI (interactive virtual infrastructure) system, electronic equipment and storage medium Pending CN114936047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210421834.4A CN114936047A (en) 2022-04-21 2022-04-21 Factory setting restoration method and system for IVI (interactive virtual infrastructure) system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210421834.4A CN114936047A (en) 2022-04-21 2022-04-21 Factory setting restoration method and system for IVI (interactive virtual infrastructure) system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114936047A true CN114936047A (en) 2022-08-23

Family

ID=82861572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210421834.4A Pending CN114936047A (en) 2022-04-21 2022-04-21 Factory setting restoration method and system for IVI (interactive virtual infrastructure) system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114936047A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246866A1 (en) * 2012-03-14 2013-09-19 GM Global Technology Operations LLC System and method for verifying the integrity of a safety-critical vehicle control system
CN106407066A (en) * 2016-09-26 2017-02-15 北京经纬恒润科技有限公司 An end of line detection method and system for electronic products
CN108647031A (en) * 2018-01-26 2018-10-12 上海仪电汽车电子系统有限公司 Automobile instrument writes with a brush dipped in Chinese ink method and host computer online
CN110109443A (en) * 2019-05-13 2019-08-09 上海英恒电子有限公司 Safety communicating method, device, storage medium and the equipment of vehicle diagnostics
CN110456764A (en) * 2019-07-26 2019-11-15 中国第一汽车股份有限公司 The configuring management method of controller, device and vehicle diagnostic device in vehicle
CN111327689A (en) * 2020-01-22 2020-06-23 大运汽车股份有限公司 Method for realizing remote upgrading of vehicle ECU (electronic control Unit) based on UDS (Universal data System) communication protocol
CN112198863A (en) * 2020-09-23 2021-01-08 江铃汽车股份有限公司 Diagnostic function control method, system, storage medium, vehicle-mounted communication box and vehicle
CN113335208A (en) * 2021-08-06 2021-09-03 江铃汽车股份有限公司 Reverse image offline configuration method and system, storage medium and computer equipment
CN114228644A (en) * 2021-11-30 2022-03-25 江铃汽车股份有限公司 Vehicle whole vehicle offline power supply configuration method and system, readable storage medium and vehicle

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246866A1 (en) * 2012-03-14 2013-09-19 GM Global Technology Operations LLC System and method for verifying the integrity of a safety-critical vehicle control system
CN106407066A (en) * 2016-09-26 2017-02-15 北京经纬恒润科技有限公司 An end of line detection method and system for electronic products
CN108647031A (en) * 2018-01-26 2018-10-12 上海仪电汽车电子系统有限公司 Automobile instrument writes with a brush dipped in Chinese ink method and host computer online
CN110109443A (en) * 2019-05-13 2019-08-09 上海英恒电子有限公司 Safety communicating method, device, storage medium and the equipment of vehicle diagnostics
CN110456764A (en) * 2019-07-26 2019-11-15 中国第一汽车股份有限公司 The configuring management method of controller, device and vehicle diagnostic device in vehicle
CN111327689A (en) * 2020-01-22 2020-06-23 大运汽车股份有限公司 Method for realizing remote upgrading of vehicle ECU (electronic control Unit) based on UDS (Universal data System) communication protocol
CN112198863A (en) * 2020-09-23 2021-01-08 江铃汽车股份有限公司 Diagnostic function control method, system, storage medium, vehicle-mounted communication box and vehicle
CN113335208A (en) * 2021-08-06 2021-09-03 江铃汽车股份有限公司 Reverse image offline configuration method and system, storage medium and computer equipment
CN114228644A (en) * 2021-11-30 2022-03-25 江铃汽车股份有限公司 Vehicle whole vehicle offline power supply configuration method and system, readable storage medium and vehicle

Similar Documents

Publication Publication Date Title
CN100365994C (en) Method and system for regulating ethernet
CN110928567A (en) Vehicle system upgrading method, terminal device and computer-readable storage medium
CN110908682B (en) Firmware upgrading method and system for vehicle controller, vehicle and storage medium
CN112703689B (en) Data transmission method and device, electronic equipment and storage medium
CN110647490B (en) Data transmission method, device, equipment and computer storage medium
CN112817617A (en) Software upgrading method, device and system
CN112362360A (en) Vehicle component testing method, device and system, test board card and storage medium
CN108337301A (en) Network request processing method, device, server and the storage medium of application program
CN114089713A (en) Communication method based on UDS, ECU and upper computer
CN107861821B (en) Mining method and device for module call relation and computer readable medium
CN110881224B (en) Network long connection method, device, equipment and storage medium
US20180032421A1 (en) Method and system for debugging automotive applications in an electronic control unit of an automobile
CN108650594B (en) Sound box management method, user terminal and computer storage medium
CN114936047A (en) Factory setting restoration method and system for IVI (interactive virtual infrastructure) system, electronic equipment and storage medium
CN109714337B (en) Data encryption transmission method and equipment
CN107645430B (en) Data processing method, system and related equipment
CN109218042B (en) Fault diagnosis method and device based on web server and computer-readable storage medium
CN115665265A (en) Request processing method, device, equipment, storage medium and system
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
CN105652858B (en) OBD device identification methods and system based on request of data interval
CN115150300A (en) Management system and method for vehicle safety attack and defense
CN115269269A (en) Drill method, device, backup server, medium, server cluster and system
CN112073505A (en) Method for unloading on cloud server, control device and storage medium
CN112379952A (en) Method for implementing cross-process callback
CN111090578A (en) Project development joint debugging method and device, computer equipment and storage medium

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