Method, system and device for entering part EOL test and vehicle

Through the key comparison and mode switching mechanism between the upper and lower computers, the problem of insufficient password security in the existing EOL test methods of automotive parts is solved, and the security and reliability of the test are improved.

CN119883689APending Publication Date: 2025-04-25BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311376924.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing EOL test methods for automotive parts require manual password input, and there is a risk of password loss or tampering, resulting in low test security.

Method used

Through communication between the upper and lower computers, sending and comparing the secret keys, it is ensured that the startup mode of the lower computer switches from the first mode to the second mode (including the EOL mode), so that the lower computer will automatically enter the EOL mode after the user restarts.

Benefits of technology

Improves the security of EOL testing of automotive parts and avoids the problem of illegal startup or inability to conduct testing due to password loss or tampering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883689A_ABST
    Figure CN119883689A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method, system and device for entering a part EOL test and a vehicle, and the method comprises the steps: transmitting a first secret key to a lower computer, the first secret key being generated based on a secret key seed transmitted by the lower computer and a preset secret key generation algorithm; a first instruction sent by the lower computer is received, the first instruction represents that the first secret key is consistent with a second secret key, and the second secret key is generated by the lower computer based on a secret key seed and a preset secret key generation algorithm; a second instruction is sent to the lower computer, so that the lower computer switches the starting mode of the lower computer from the first mode to a second mode based on the second instruction, and the second mode comprises a terminal EOL mode; and controlling the lower computer to enter an EOL mode in response to a restart instruction of the user. According to the embodiment of the invention, the safety of the EOL test of the automobile part is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and more particularly to a method, system, device and vehicle for entering EOL testing of components. Background Art

[0002] The End of Line (EOL) test of automotive parts is mainly used for the production quality inspection of key automotive parts (such as engines, reduction boxes, gearboxes, motors, etc.). The existing method of entering the EOL test of automotive parts generally requires the user to enter the EOL test mode by entering a password on the vehicle interface, which is convenient for the subsequent EOL test of automotive parts. However, since this method requires manual input of a password to enter the EOL mode, it is easy to illegally start the EOL test of automotive parts due to the loss of the password, or the EOL test of automotive parts cannot be performed due to the tampering of the password, which makes the security of the EOL test of automotive parts low. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method, system, device and vehicle for entering EOL testing of components, thereby improving the safety of EOL testing of automotive components.

[0004] In a first aspect, an embodiment of the present application provides a method for entering a component EOL test, the method comprising:

[0005] Send a first secret key to the lower computer, where the first secret key is generated based on the secret key seed sent by the lower computer and a preset secret key generation algorithm;

[0006] Receive a first instruction sent by the lower computer, where the first instruction indicates that the first key is consistent with the second key, and the second key is generated by the lower computer based on the key seed and a preset key generation algorithm;

[0007] Sending a second instruction to the lower computer so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction, wherein the second mode includes a terminal EOL mode;

[0008] In response to the user's restart instruction, the lower computer is controlled to enter the EOL mode.

[0009] In an optional implementation of the first aspect, before sending the first secret key to the subordinate computer, the method further includes:

[0010] In response to a user's start instruction, a session establishment request is sent to the lower computer, so that the lower computer establishes a session with the upper computer based on the session establishment request;

[0011] Based on the established session, a first request is sent to the lower computer, where the first request is used to request the upper computer to generate a key seed corresponding to the first key.

[0012] In an optional implementation of the first aspect, in response to a restart instruction from a user, controlling the lower computer to enter the EOL mode includes:

[0013] In response to the user's restart instruction, the file corresponding to the EOL mode is loaded, and according to the file, the lower computer is controlled to enter the EOL mode, and the file is a related file required for the EOL test of the component.

[0014] In an optional implementation of the first aspect, after controlling the lower computer to enter the EOL mode in response to a restart instruction from the user, the method further includes:

[0015] In response to the end instruction of the EOL test on the component, a third instruction is sent to the lower computer, so that the lower computer switches the startup mode of the lower computer from the second mode to the first mode based on the third instruction.

[0016] In an optional implementation of the first aspect, sending a second instruction to a lower computer so that the lower computer switches a startup mode of the lower computer from a first mode to a second mode based on the second instruction includes:

[0017] A second instruction is sent to the lower computer, wherein the second instruction includes a mode switching parameter, so that the lower computer calls the first interface to transfer the mode switching parameter to the second interface, and obtains the mode switching parameter based on the second interface to switch the startup mode of the lower computer from the first mode to the second mode.

[0018] In a second aspect, an embodiment of the present application provides a method for entering a component EOL test, the method comprising:

[0019] Receive a first secret key sent by the upper computer, where the first secret key is generated by the upper computer based on a secret key seed sent by the lower computer and a preset secret key generation algorithm;

[0020] Obtain a second secret key, where the second secret key is generated by the lower computer based on a secret key seed and a preset secret key generation algorithm;

[0021] When the first secret key and the second secret key are consistent, a first instruction is sent to the upper computer;

[0022] Receive the second instruction sent by the host computer;

[0023] Based on the second instruction, the startup mode of the lower computer is switched from the first mode to the second mode, and the second mode includes the terminal EOL mode, so that the upper computer controls the lower computer to enter the EOL mode in response to the user's restart instruction.

[0024] In an optional implementation of the second aspect, based on the second instruction, switching the startup mode of the lower computer from the first mode to the second mode includes:

[0025] receiving a second instruction sent by the host computer, where the second instruction includes a mode switching parameter;

[0026] The first interface is called to transfer the mode switching parameter to the second interface, and the mode switching parameter is obtained based on the second interface to switch the startup mode of the lower computer from the first mode to the second mode.

[0027] In a third aspect, an embodiment of the present application further provides a system for entering EOL testing of components, the system comprising:

[0028] A host computer, used to execute the method for entering the component EOL test provided by any optional implementation manner in the first aspect;

[0029] The lower computer is used to execute the method for entering the component EOL test provided by any optional implementation manner in the second aspect.

[0030] In a third aspect, an electronic device is provided, comprising a memory for storing computer program instructions; and a processor for reading and running the computer program instructions stored in the memory to execute the method for entering component EOL testing provided in any optional implementation of the first aspect or the second aspect.

[0031] In a fourth aspect, a computer storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, a method for entering component EOL testing provided by any optional implementation in the first aspect or the second aspect is implemented.

[0032] In a fifth aspect, a vehicle is provided, comprising at least one of the above-mentioned system for entering component EOL testing and electronic equipment.

[0033] In an embodiment of the present application, a first secret key can be sent to a lower computer. Since the first secret key is generated by the upper computer based on the secret key seed sent by the lower computer and the preset secret key generation algorithm, and the second secret key is generated by the lower computer based on the secret key seed and the preset secret key generation algorithm, it is convenient for the subsequent lower computer to compare whether the first secret key and the second secret key are consistent. Then, by receiving the first instruction sent by the lower computer, since the first instruction indicates that the first secret key is consistent with the second secret key, based on this, a second instruction can be sent to the lower computer, so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction. In this way, the secret key can be transmitted through the communication between the upper computer and the lower computer, and the secret key can be securely verified, which ensures the normal communication between the upper computer and the lower computer, thereby improving the security of the EOL test of automotive parts. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0035] Figure 1 It is a flowchart of a method for entering EOL testing of a component provided in an embodiment of the present application;

[0036] Figure 2 It is a flowchart of another method for entering component EOL testing provided by an embodiment of the present application;

[0037] Figure 3 It is a flowchart of the interaction process between the upper computer and the lower computer provided in the embodiment of the present application;

[0038] Figure 4 It is a structural schematic diagram of a device for entering into a component EOL test provided in an embodiment of the present application;

[0039] Figure 5 It is a structural schematic diagram of another device for entering component EOL testing provided in an embodiment of the present application;

[0040] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0042] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0043] In order to solve the problem of illegal startup of EOL test of automobile parts due to password loss in the prior art, the embodiment of the present application provides a method, system, device and vehicle for entering EOL test of parts, which can receive the first secret key and secret key seed sent by the lower computer, and then can generate the second secret key based on the secret key seed and the preset secret key generation algorithm, and when the first secret key and the second secret key are consistent, that is, when the secret key verification is successful, the startup mode of the lower computer can be switched from the first mode to the second mode. Since the second mode can be the EOL mode, the lower computer can be controlled to enter the EOL mode by responding to the user's restart command, so as to perform EOL test on the parts. In this way, the secret key can be transmitted through the communication between the upper computer and the lower computer, and the secret key can be securely verified, which ensures the normal communication between the upper computer and the lower computer, thereby improving the security of EOL test of automobile parts.

[0044] The method for entering component EOL testing provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments.

[0045] Figure 1 It is a flowchart of a method for entering component EOL testing provided in an embodiment of the present application.

[0046] like Figure 1 As shown, the execution subject of the method for entering the component EOL test may be a host computer, and the method may include the following steps:

[0047] S110, sending the first secret key to the subordinate computer.

[0048] In some embodiments, the first secret key involved above is generated based on the secret key seed sent by the lower computer and the preset secret key generation algorithm. Among them, the preset secret key algorithm is an algorithm preset by actual experience or situation, and is not limited too much here. The secret key seed involved above can be a random number, and is not limited too much here.

[0049] S120, receiving a first instruction sent by the lower computer.

[0050] In some embodiments, the first instruction involved above indicates that the first key is consistent with the second key, and the second key may be generated by the lower computer based on the key seed and a preset key generation algorithm.

[0051] Specifically, after receiving the first secret key sent by the upper computer, the lower computer can compare the received first secret key with the second secret key generated by itself to see if they are consistent. If the first secret key and the second secret key involved above are consistent, the lower computer can send a first instruction to the upper computer. In this way, the upper computer can receive the first instruction sent by the lower computer so as to subsequently instruct the lower computer to modify the startup mode.

[0052] It should be noted that the lower computer may generate the second key based on the key seed and the preset key generation algorithm after receiving the first key sent by the upper computer, or may generate the second key based on the key seed and the preset key generation algorithm before sending the key seed to the upper computer. The above sequence is not limited too much here.

[0053] S130, sending a second instruction to the lower computer, so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction.

[0054] The first mode mentioned above may be a Normal mode, that is, a normal mode. The second mode includes a terminal EOL mode.

[0055] Specifically, after the upper computer receives the first instruction sent by the lower computer, since the first instruction can represent that the first key and the second key are consistent, based on this, the upper computer can send a second instruction to the lower computer, and the second instruction is used to modify the startup mode of the lower computer. That is, after receiving the second instruction, the lower computer can switch the startup mode of the lower computer from the first mode to the second mode based on the second instruction, that is, change the Normal mode to the EOL mode.

[0056] In an example, when the first key is consistent with the second key, the upper computer can send a second instruction to the lower computer through diagnosis, so that the lower computer sets the ro.boot.hu.boot.mode attribute in the laconfig partition of the lower computer from the Normal mode to the EOL mode based on the second instruction.

[0057] S140, in response to a restart instruction from the user, controlling the lower computer to enter an EOL mode.

[0058] The restart instruction mentioned above may be an instruction generated in response to a user inputting a power-off button of a relay, which is not specifically limited here.

[0059] Specifically, after the upper computer switches the startup mode of the lower computer from the first mode to the second mode, the upper computer may receive a restart instruction from the user, and in response to the restart instruction, control the lower computer to enter the EOL mode to implement EOL testing of components.

[0060] In an embodiment of the present application, a first secret key can be sent to a lower computer. Since the first secret key is generated by the upper computer based on the secret key seed sent by the lower computer and the preset secret key generation algorithm, and the second secret key is generated by the lower computer based on the secret key seed and the preset secret key generation algorithm, it is convenient for the subsequent lower computer to compare whether the first secret key and the second secret key are consistent. Then, by receiving the first instruction sent by the lower computer, since the first instruction indicates that the first secret key is consistent with the second secret key, based on this, a second instruction can be sent to the lower computer, so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction. In this way, the secret key can be transmitted through the communication between the upper computer and the lower computer, and the secret key can be securely verified, which ensures the normal communication between the upper computer and the lower computer, thereby improving the security of the EOL test of automotive parts.

[0061] In order to more comprehensively describe the method for entering the component EOL test provided by the embodiment of the present application, in one embodiment, before sending the first secret key to the lower computer, the method for entering the component EOL test involved above may further include the following steps:

[0062] In response to a user's start instruction, a session establishment request is sent to the lower computer, so that the lower computer establishes a session with the upper computer based on the session establishment request;

[0063] Based on the established session, a first request is sent to the lower computer, where the first request is used to request the upper computer to generate a key seed corresponding to the first key.

[0064] The start instruction may include but is not limited to related instructions generated based on user input such as click input, touch input, and sliding input of the start button.

[0065] Specifically, before receiving the first secret key sent to the subordinate computer, the upper computer can receive the user's startup instruction and, in response to the user's startup instruction, send a session establishment request to the subordinate computer, so that the subordinate computer establishes a session with the upper computer based on the session establishment request, and then can send a first request to the subordinate computer based on the established session, and the first request is used to request the upper computer to generate a secret key seed corresponding to the first secret key.

[0066] In this embodiment, a session can be established between the upper computer and the lower computer, and the secret key can be transmitted through communication between the upper computer and the lower computer, and the secret key can be verified, thereby improving the security of the EOL test of automobile parts.

[0067] In order to more accurately describe the method for entering the component EOL test provided by the embodiment of the present application, in one embodiment, the above-mentioned step of controlling the lower computer to enter the EOL mode in response to the user's restart instruction may include the following steps:

[0068] In response to a restart instruction from a user, a file corresponding to the EOL mode is loaded, so as to control the lower computer to enter the EOL mode according to the file.

[0069] Among them, the above-mentioned documents are the relevant documents required for EOL testing of parts and components, which will not be elaborated here.

[0070] Specifically, the upper computer can receive a user's restart command, and in response to the user's restart command, load the file corresponding to the EOL mode. Since the file is a related file required for EOL testing of components, the lower computer can be controlled to enter the EOL mode according to the file corresponding to the EOL mode to implement EOL testing of components.

[0071] In one example, when the host computer responds to the user's restart command, different rc files can be loaded according to the value of ro.boot.hu.boot.mode prop. For example, if the current boot mode of the lower computer is EOL mode, the file corresponding to the EOL mode, i.e., the init.liammi.rc file, needs to be loaded. If the boot mode of the lower computer is Normal mode at this time, the file corresponding to the Normal mode, i.e., the init.rc file, needs to be loaded.

[0072] In this embodiment, by responding to the user's restart instruction, the file corresponding to the EOL mode can be loaded, and the lower computer can be controlled to enter the EOL mode according to the file corresponding to the EOL mode. In this way, after the boot.mode attribute of the lower computer is set to the EOL mode, it is realized that the computer automatically enters the EOL mode when it is powered on in the parts factory.

[0073] In order to more comprehensively describe the method for entering the EOL test of a component provided by an embodiment of the present application, in one embodiment, after responding to a user's restart instruction and controlling the lower computer to enter the EOL mode so as to perform the EOL test on the component, the method for entering the EOL test of the component involved may further include the following steps:

[0074] In response to the end instruction of performing EOL test on the component, a third instruction is sent to the subordinate computer, so that the subordinate computer changes the startup mode of the subordinate computer from the second mode to the first mode based on the third instruction.

[0075] Specifically, after controlling the lower computer to enter the EOL mode, the upper computer can send a third instruction to the lower computer in response to the end instruction of the EOL test on the component, so that after receiving the third instruction, the lower computer can change the startup mode of the lower computer from the second mode to the first mode based on the third instruction. That is, after the EOL test on the component is completed, the upper computer can change the startup mode of the lower computer from the EOL mode to the Normal mode.

[0076] In this embodiment, it is possible to respond to the end instruction of the EOL test on the component, that is, after the test on the component is completed, by sending a third instruction to the lower computer, so that the lower computer can change the startup mode of the lower computer from the second mode to the first mode based on the third instruction. In this way, after the last process test is completed, the upper computer can switch to the Normal mode, and there is no need to enter the EOL mode separately when testing each process, which speeds up the startup time and saves testing time.

[0077] In order to more accurately and comprehensively describe the component EOL test method provided in the embodiment of the present application, in one embodiment, the above-mentioned step of sending the second instruction to the lower computer so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction may specifically include the following steps:

[0078] A second instruction is sent to the lower computer, wherein the second instruction includes a mode switching parameter, so that the lower computer calls the first interface to transfer the mode switching parameter to the second interface, and obtains the mode switching parameter based on the second interface to switch the startup mode of the lower computer from the first mode to the second mode.

[0079] Among them, the above-mentioned mode switching parameters can be used to switch the startup mode of the lower machine from the first mode to the relevant parameters of the second mode, which will not be repeated here. In addition, the above-mentioned first interface can be an interface at the service layer of the lower machine, and the second interface can be an interface at the kernel layer of the lower machine.

[0080] Specifically, the upper computer can send a second instruction to the lower computer. Since the second instruction may include a mode switching parameter, the lower computer can subsequently call the first interface to pass the mode switching parameter to the second interface, and obtain the mode switching parameter based on the second interface to switch the startup mode of the lower computer from the first mode to the second mode.

[0081] In this embodiment, by sending a second instruction to the lower computer, the lower computer can call the first interface to pass the mode switching parameters included in the second instruction to the second interface, thereby facilitating the second interface to obtain the mode switching parameters and switch the startup mode of the lower computer from the first mode to the second mode, thereby realizing the switching of the startup mode of the lower computer.

[0082] In addition, the embodiment of the present application also provides another method for entering component EOL testing.

[0083] like Figure 2 As shown, the execution subject of the method may be a lower computer, and the method may specifically include the following steps:

[0084] S210, receiving a first secret key sent by a host computer.

[0085] In some embodiments, the first secret key involved above is generated by the upper computer based on the secret key seed sent by the lower computer and the preset secret key generation algorithm. Among them, the preset secret key algorithm is an algorithm preset by actual experience or situation, and is not limited too much here. The secret key seed involved above can be a random number, and is not limited too much here.

[0086] S220, obtaining a second secret key.

[0087] In some embodiments, the second secret key mentioned above is generated by the lower computer based on a secret key seed and a preset secret key generation algorithm.

[0088] Specifically, in one embodiment, the above-mentioned step of obtaining the second secret key may include the following steps:

[0089] Get the secret key seed;

[0090] The second secret key is generated by inputting the secret key seed into a preset secret key generation algorithm.

[0091] S230: When the first secret key and the second secret key are consistent, send a first instruction to the host computer.

[0092] Specifically, after receiving the first key sent by the upper computer and obtaining the second key, the lower computer can first compare whether the first key and the second key are consistent. If they are consistent, a first instruction is sent to the upper computer to facilitate subsequent operations of the upper computer.

[0093] S240, receiving a second instruction sent by the host computer.

[0094] Specifically, after the lower computer sends the first instruction to the upper computer, since the first instruction can indicate that the first secret key generated by the upper computer is consistent with the second secret key generated by the lower computer, that is, the communication between the upper computer and the lower computer is normal, the upper computer can send the second instruction to the lower computer. Based on this, the lower computer can receive the second instruction sent by the upper computer.

[0095] S250, based on the second instruction, switching the startup mode of the lower computer from the first mode to the second mode, where the second mode includes the terminal EOL mode, so that the upper computer controls the lower computer to enter the EOL mode in response to the user's restart instruction.

[0096] Specifically, after receiving the second instruction, the lower computer can switch the startup mode of the lower computer from the first mode to the second mode based on the second instruction, that is, change the Normal mode to the EOL mode, so that the upper computer can subsequently respond to the user's restart instruction and control the lower computer to enter the EOL mode.

[0097] In the embodiment of the present application, the first secret key sent by the host computer can be received, and the second secret key can be obtained. Since the first secret key is generated by the host computer based on the secret key seed sent by the slave computer and the preset secret key algorithm, and the second secret key is generated by the slave computer based on the secret key seed and the preset secret key generation algorithm, based on this, when the first secret key and the second secret key are consistent, the first instruction sent to the host computer can then receive the second instruction sent by the host computer, and then based on the second instruction, the startup mode of the slave computer can be switched from the first mode to the second mode. In this way, the secret key can be transmitted through the communication between the host computer and the slave computer, and the secret key can be securely verified, which ensures the normal communication between the host computer and the slave computer, thereby improving the security of the EOL test of automotive parts.

[0098] In order to more accurately describe the method for EOL testing of components provided in the embodiment of the present application, in one embodiment, the above-mentioned S250 may include the following steps:

[0099] receiving a second instruction sent by the host computer, where the second instruction includes a mode switching parameter;

[0100] The first interface is called to transfer the mode switching parameter to the second interface, and the mode switching parameter is obtained based on the second interface to switch the startup mode of the lower computer from the first mode to the second mode.

[0101] Among them, the above-mentioned mode switching parameters can be used to switch the startup mode of the lower machine from the first mode to the relevant parameters of the second mode, which will not be described in detail here. In addition, the above-mentioned first interface can be an interface at the service layer of the lower machine, and the second interface can be an interface at the kernel layer of the lower machine.

[0102] In this embodiment, by receiving the second instruction sent by the upper computer, since the second instruction may include a mode switching parameter, based on this, the lower computer can call the first interface to transfer the mode switching parameter value to the second interface, and can obtain the mode switching parameter based on the second interface, and switch the startup mode of the lower computer from the first mode to the second mode. In this way, the switching of the startup mode of the lower computer is realized.

[0103] It should be noted that the embodiment of the present application also provides a system for entering the EOL test of components, such as Figure 3As shown, the system for entering the component EOL test may include an upper computer and a lower computer, wherein the upper computer and the lower computer are communicatively connected.

[0104] Based on this, the embodiment of the present application also provides an interaction process between the upper computer and the lower computer, which can be specifically as follows: Figure 3 As shown, the process may specifically include the following steps:

[0105] S301, the upper computer sends a first secret key to the lower computer.

[0106] Specifically, the upper computer may send a first secret key to the lower computer, wherein the first secret key is generated based on a secret key seed sent by the lower computer and a preset secret key generation algorithm.

[0107] S302, the lower computer obtains the second secret key.

[0108] Specifically, the lower computer can obtain the second key before receiving the first key sent by the upper computer, after receiving the first key sent by the upper computer, or at the same time as the lower computer receives the first key sent by the upper computer. The second key is generated by the lower computer based on the key seed and the preset key generation algorithm.

[0109] S303, the lower computer compares whether the first secret key and the second secret key are consistent.

[0110] Specifically, after receiving the first secret key sent by the upper computer and obtaining the second secret key, the lower computer may first compare whether the first secret key and the second secret key are consistent.

[0111] S304: When the first secret key and the second secret key are consistent, the lower computer sends a first instruction to the upper computer.

[0112] Specifically, during the process of comparing whether the first secret key and the second secret key are consistent, if the first secret key and the second secret key are consistent, the lower computer can send a first instruction to the upper computer. The first instruction indicates that the first secret key and the second secret key are consistent;

[0113] S305: The upper computer sends a second instruction to the lower computer.

[0114] Specifically, after the upper computer receives the first instruction sent by the lower computer, since the first instruction indicates that the first key and the second key are consistent, the upper computer can send the second instruction to the lower computer.

[0115] S306: The lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction.

[0116] Specifically, after receiving the second instruction, the lower computer may switch the startup mode of the lower computer from the first mode to the second mode based on the second instruction. The second mode includes the terminal EOL mode;

[0117] S307, the host computer receives a restart instruction from the user.

[0118] S308: The upper computer controls the lower computer to enter EOL mode in response to the user's restart instruction.

[0119] It should be noted that the interactive processing process between the upper computer and the lower computer can refer to all the above-mentioned embodiments of the method for entering the component EOL test.

[0120] In an embodiment of the present application, after the upper computer sends the first secret key to the lower computer and the lower computer obtains the second secret key, since the first secret key is generated by the upper computer based on the secret key seed sent by the lower computer and the preset secret key generation algorithm, and the second secret key is generated by the lower computer based on the secret key seed and the preset secret key generation algorithm, based on this, the lower computer can compare whether the first secret key and the second secret key are consistent, and send a first instruction to the upper computer when the first secret key and the second secret key are consistent. Since the first instruction represents that the first secret key and the second secret key are consistent, the upper computer can send a second instruction to the lower computer so that the lower computer can switch the startup mode of the lower computer from the first mode to the second mode based on the second instruction, and then when the upper computer receives the user's restart instruction, it can respond to the user's restart instruction and control the lower computer to enter the EOL mode. In this way, the secret key can be transmitted through the communication between the upper computer and the lower computer, and the secret key can be securely verified, thereby ensuring normal communication between the upper computer and the lower computer, thereby improving the security of the EOL test of automotive parts.

[0121] It should be noted that the method for entering the EOL test of components provided in the embodiment of the present application can increase the information security of the vehicle computer, facilitate after-sales return testing, facilitate rework of components in the component factory, increase the flexibility of product testing, and during normal testing, only load the test software through the EOL mode, thereby improving test efficiency and software stability.

[0122] Based on the same inventive concept, the embodiment of the present application also provides a device for entering the EOL test of a component. The device for entering the EOL test of a component can be applied to a host computer, and can be specifically combined with Figure 4 The device for entering component EOL testing provided in the embodiment of the present application is described in detail.

[0123] Figure 4 It is a structural schematic diagram of a device for entering component EOL testing provided in an embodiment of the present application.

[0124] like Figure 2As shown, the device 400 for component EOL testing may include: a sending module 410 , a receiving module 420 and a control module 430 .

[0125] A sending module 410 is used to send a first secret key to a lower computer, where the first secret key is generated based on a secret key seed sent by the lower computer and a preset secret key generation algorithm;

[0126] A receiving module 420 is used to receive a first instruction sent by a lower computer, where the first instruction indicates that the first key is consistent with the second key, and the second key is generated by the lower computer based on a key seed and a preset key generation algorithm;

[0127] The sending module 410 is further used to send a second instruction to the lower computer when the first secret key is consistent with the second secret key, so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction, and the second mode includes the terminal end-of-line (EOL) mode;

[0128] The control module 430 is used to control the lower computer to enter the EOL mode in response to a restart instruction from the user.

[0129] In one embodiment, the sending module mentioned above is used to send a session establishment request to the subordinate computer in response to a user's start instruction before sending the first secret key to the subordinate computer, so that the subordinate computer establishes a session with the upper computer based on the session establishment request;

[0130] The sending module is also used to send a first request to the lower computer based on the established session, where the first request is used to request the upper computer to generate a key seed corresponding to the first key.

[0131] In one embodiment, the control module mentioned above is specifically used for:

[0132] In response to the user's restart instruction, the file corresponding to the EOL mode is loaded, and according to the file, the lower computer is controlled to enter the EOL mode, and the file is a related file required for the EOL test of the component.

[0133] In one embodiment, the sending module involved above is also used to send a third instruction to the lower computer in response to an end instruction of the EOL test on the component after controlling the lower computer to enter the EOL mode in response to a restart instruction of the user, so that the lower computer switches the startup mode of the lower computer from the second mode to the first mode based on the third instruction.

[0134] In one embodiment, the sending module involved above is specifically used for: the lower computer sends a second instruction, the second instruction includes a mode switching parameter, so that the lower computer calls the first interface to pass the mode switching parameter to the second interface, and obtains the mode switching parameter based on the second interface to switch the startup mode of the lower computer from the first mode to the second mode.

[0135] In the embodiment of the present application, the first secret key can be sent to the lower computer. Since the first secret key is generated based on the secret key seed sent by the lower computer and the preset secret key generation algorithm, the lower computer can compare whether the first secret key and the second secret key are consistent, and then can receive the first instruction sent by the lower computer. Since the first instruction indicates that the first secret key is consistent with the second secret key, the second instruction can be sent to the lower computer, so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction. In this way, the secret key can be transmitted through the communication between the upper computer and the lower computer, and the secret key can be securely verified, which ensures the normal communication between the upper computer and the lower computer, thereby improving the security of the EOL test of automotive parts.

[0136] Each module in the device for entering the EOL test of components provided in the embodiment of the present application can be realized Figure 1 The method steps of the illustrated embodiment can achieve the corresponding technical effects, and for the sake of brevity, they will not be repeated here.

[0137] Based on the same inventive concept, the embodiment of the present application also provides a device for entering the EOL test of a component. The device for entering the EOL test of a component can be applied to a lower computer, and can be specifically combined with Figure 5 The device for entering component EOL testing provided in the embodiment of the present application is described in detail.

[0138] Figure 5 It is a structural schematic diagram of a device for entering component EOL testing provided in an embodiment of the present application.

[0139] like Figure 5 As shown, the device 500 for component EOL testing may include a receiving module 510 , an acquiring module 520 , a sending module 530 and a switching module 540 .

[0140] The receiving module 510 is used to receive a first secret key sent by the upper computer, where the first secret key is generated by the upper computer based on a secret key seed sent by the lower computer and a preset secret key generation algorithm;

[0141] An acquisition module 520 is used to acquire a second secret key, where the second secret key is generated by the lower computer based on a secret key seed and a preset secret key generation algorithm;

[0142] A sending module 530, configured to send a first instruction to an upper computer when the first key and the second key are consistent;

[0143] The receiving module 510 is further used to receive a second instruction sent by the host computer;

[0144] The switching module 540 is used to switch the startup mode of the lower computer from the first mode to the second mode based on the second instruction, wherein the second mode includes the terminal EOL mode, so that the upper computer controls the lower computer to enter the EOL mode in response to the user's restart instruction.

[0145] In one embodiment, the switching module mentioned above is specifically used to: receive a second instruction sent by a host computer, where the second instruction includes a mode switching parameter;

[0146] The first interface is called to transfer the mode switching parameter to the second interface, and the mode switching parameter is obtained based on the second interface to switch the startup mode of the lower computer from the first mode to the second mode.

[0147] In the embodiment of the present application, the first secret key sent by the host computer can be received, and the second secret key can be obtained. Since the first secret key is generated by the host computer based on the secret key seed sent by the slave computer and the preset secret key algorithm, and the second secret key is generated by the slave computer based on the secret key seed and the preset secret key generation algorithm, based on this, when the first secret key and the second secret key are consistent, the first instruction sent to the host computer can then receive the second instruction sent by the host computer, and then based on the second instruction, the startup mode of the slave computer can be switched from the first mode to the second mode. In this way, the secret key can be transmitted through the communication between the host computer and the slave computer, and the secret key can be securely verified, which ensures the normal communication between the host computer and the slave computer, thereby improving the security of the EOL test of automotive parts.

[0148] Each module in the device for entering the EOL test of components provided in the embodiment of the present application can be realized Figure 2 The method steps of the illustrated embodiment can achieve the corresponding technical effects, and for the sake of brevity, they will not be repeated here.

[0149] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0150] The electronic device may include a processor 601 and a memory 602 storing computer program instructions.

[0151] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0152] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 602 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 602 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 602 is a non-volatile solid-state memory.

[0153] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0154] The processor 601 reads and executes computer program instructions stored in the memory 602 to implement any one of the methods for entering component EOL testing in the above embodiments.

[0155] In one example, the electronic device may further include a communication interface 603 and a bus 610. Figure 6 As shown, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 and communicate with each other.

[0156] The communication interface 603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0157] Bus 610 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 610 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0158] In addition, in combination with the method for entering the EOL test of components in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the method for entering the EOL test of components provided in the embodiment of the present application is implemented.

[0159] An embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method for entering component EOL testing as provided in the embodiment of the present application.

[0160] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0161] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0162] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0163] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other device that can be programmable to enter the EOL test of a component to produce a machine so that these instructions executed by the processor of the computer or other device that can be programmable to enter the EOL test of a component enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0164] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

[0165] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. A method for entering EOL testing of a component, characterized in that: The method comprises: Sending a first secret key to the lower computer, where the first secret key is generated based on a secret key seed sent by the lower computer and a preset secret key generation algorithm; Receiving a first instruction sent by the lower computer, wherein the first instruction indicates that the first key is consistent with the second key, and the second key is generated by the lower computer based on the key seed and the preset key generation algorithm; Sending a second instruction to the lower computer, so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction, wherein the second mode includes a terminal EOL mode; In response to a restart instruction from a user, the lower computer is controlled to enter the EOL mode.

2. The method according to claim 1, characterized in that Before sending the first secret key to the subordinate computer, the method further includes: In response to a user's start instruction, sending a session establishment request to the lower computer, so that the lower computer establishes a session with the upper computer based on the session establishment request; Based on the established session, a first request is sent to the lower computer, where the first request is used to request the upper computer to generate a key seed corresponding to a first key.

3. The method according to claim 1, characterized in that The step of controlling the lower computer to enter the EOL mode in response to a restart instruction from a user includes: In response to a restart instruction from a user, a file corresponding to the EOL mode is loaded, and according to the file, the lower computer is controlled to enter the EOL mode, wherein the file is a related file required for performing EOL testing on components.

4. The method according to claim 1, characterized in that: After controlling the lower computer to enter the EOL mode in response to the user's restart instruction, the method further includes: In response to an end instruction of performing EOL test on a component, a third instruction is sent to the lower computer, so that the lower computer switches the startup mode of the lower computer from the second mode to the first mode based on the third instruction.

5. The method according to claim 1, characterized in that The sending of the second instruction to the lower computer so that the lower computer switches the startup mode of the lower computer from the first mode to the second mode based on the second instruction includes: A second instruction is sent to the lower computer, wherein the second instruction includes a mode switching parameter, so that the lower computer calls the first interface to transfer the mode switching parameter to the second interface, and obtains the mode switching parameter based on the second interface to switch the startup mode of the lower computer from the first mode to the second mode.

6. A method for entering EOL testing of a component, characterized in that: The method comprises: Receiving a first secret key sent by the upper computer, where the first secret key is generated by the upper computer based on a secret key seed sent by the lower computer and a preset secret key generation algorithm; Obtaining a second secret key, where the second secret key is generated by the lower computer based on the secret key seed and a preset secret key generation algorithm; When the first secret key and the second secret key are consistent, sending a first instruction to the host computer; Receiving a second instruction sent by the host computer; Based on the second instruction, the startup mode of the lower computer is switched from the first mode to the second mode, wherein the second mode includes the terminal EOL mode, so that the upper computer controls the lower computer to enter the EOL mode in response to the user's restart instruction.

7. The method according to claim 6, characterized in that The step of switching the startup mode of the lower computer from the first mode to the second mode based on the second instruction includes: receiving a second instruction sent by the host computer, wherein the second instruction includes a mode switching parameter; The first interface is called to transfer the mode switching parameter to the second interface, and the mode switching parameter is obtained based on the second interface, so as to switch the startup mode of the lower computer from the first mode to the second mode.

8. A system for entering EOL testing of components, characterized in that: The system comprises: A host computer, used to execute the method for entering the component EOL test as described in any one of claims 1 to 5; A lower computer is used to execute the method for entering the component EOL test as described in claim 6 or 7.

9. An electronic device, characterized in that: The apparatus comprises a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the method for entering component EOL testing as described in any one of claims 1-7.

10. A vehicle, characterized in that: Include at least one of the following: The system for entering component EOL testing as claimed in claim 8; The electronic device as claimed in claim 9.