Off-line operation method, system and equipment of vehicle-mounted terminal and medium

By encrypting the operation code source code with dynamic encryption factors in offline operation of the vehicle terminal, a unique and timely offline operation password is generated, and the problem of insufficient security of operation code fixation in the prior art is solved, and higher operation code security and uniqueness are achieved.

CN119966752AActive Publication Date: 2025-05-09SHAANXI CCCC TIANJIAN CAR NETWORKING INFORMATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510442973.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-05-09
Estimated Expiration
2045-04-10

AI Technical Summary

Technical Problem

In the offline operation method of existing vehicle terminals, defects in fixed operation codes lead to insufficient security, and users can perform corresponding operations on any similar device at any time.

Method used

By negotiating the dynamic encryption factor based on its ID, vehicle operation data and current system time before each offline terminal is offline, and using it to encrypt the operation code source code, a unique and timely offline operation password is generated.

Benefits of technology

It ensures the privacy, uniqueness and timeliness of the operation code, avoids users' reuse of the same operation code in the later stage, performs the same offline operation on the same vehicle terminal or other vehicle terminals, and also avoids users' analysis of the rules of the operation code and deduce other operation codes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119966752A_ABST
    Figure CN119966752A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Vehicles, and discloses an off-line operation method, system and device of a vehicle-mounted terminal and a medium. The method comprises the following steps: for any vehicle-mounted terminal, before the vehicle-mounted terminal is offline each time, a platform and the vehicle-mounted terminal negotiate to generate a dynamic encryption factor based on the ID of the vehicle-mounted terminal, the operation data of a corresponding vehicle and the current system time; the platform generates an offline operation code source code for the vehicle-mounted terminal to perform corresponding offline operation according to different operation instructions of the vehicle-mounted terminal, encrypts the offline operation code source code by adopting a dynamic encryption factor to obtain an offline operation password, and sends the offline operation password to the vehicle-mounted terminal; and after the vehicle-mounted terminal is offline, decrypting the offline operation password through the dynamic encryption factor to obtain an offline operation password generated by the platform before the vehicle-mounted terminal is offline, so as to execute offline operation through the offline operation password. The offline operation code provided by the invention has timeliness and uniqueness, and is safer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle networking, and in particular to an offline operation method, system, device and medium of a vehicle-mounted terminal. Background Art

[0002] In-vehicle terminals are widely used in the automotive industry, and common ones include heavy-duty truck national standard equipment driving recorders and vehicle computer systems. Such terminal devices usually have human-computer interaction functions, mainly to meet the business functions of the terminal itself. In addition to business functions, users can also complete basic device operations such as device system information query and preference settings through local device setting channels, such as human-computer interaction interface, USB interface, Bluetooth, etc. In order to ensure the stability of the terminal device system and the security of core data, some high-level operations, such as device reset, factory reset, and parameter setting, are usually not directly open to users.

[0003] However, during the use of the equipment, it is inevitable to perform some high-level operations on the equipment due to the needs of maintenance, customization, function upgrades, etc. Equipment manufacturers can usually perform remote operations through the Internet of Vehicles platform, or arrange service personnel to use dedicated host equipment on site to achieve high-level operations on terminal equipment. The first method above is applicable to vehicles with networking functions and normal networking. The second method requires service personnel to perform on-site operations with dedicated diagnostic equipment, which has high service costs and poor timeliness.

[0004] In view of the above situation, some terminal equipment manufacturers also provide code-based offline operation instructions. You only need to enter the corresponding offline operation code in the terminal device to complete the specific operation of the device. For example, some terminal equipment manufacturers set some operation codes with reference to the mobile phone industry, as shown in Table 1: Table 1

[0005] This method provides a terminal device operation method that is independent of the terminal device being connected to the Internet and independent of a host computer, but the operation code is fixed and lacks security. Once the user masters it, the corresponding operation can be performed at any time on any similar device. Summary of the invention

[0006] The purpose of the present invention is to provide an offline operation method, system, device and medium for a vehicle-mounted terminal, wherein the operation code is timely and unique and is safer.

[0007] To solve the above technical problems, an embodiment of the present invention provides an offline operation method of a vehicle-mounted terminal, comprising the following steps: For any vehicle terminal, before the vehicle terminal goes offline each time, the platform and the vehicle terminal negotiate to generate a dynamic encryption factor based on the vehicle terminal ID, the corresponding vehicle's operating data, and the current system time; The platform generates an offline operation code source code for the vehicle terminal to perform corresponding offline operations according to different operation instructions of the vehicle terminal, and encrypts the offline operation code source code with a dynamic encryption factor to obtain an offline operation password, so as to send the offline operation password to the vehicle terminal; After the vehicle terminal goes offline, the offline operation password is decrypted by the dynamic encryption factor to obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operations through the offline operation password.

[0008] Optionally, the platform generates offline operation code source code for the vehicle terminal to perform corresponding offline operations according to different operation instructions of the vehicle terminal, including: If the operation instruction instructs the vehicle terminal to perform a single offline operation, and the value written by the operation instruction is an enumeration class variable or the length of the value written by the operation instruction is less than the preset threshold, the platform generates an offline operation code source code based on the ID of the operation instruction and the code of the value written by the operation instruction; If the operation instruction instructs the vehicle terminal to perform multiple offline operations at the same time, or the length of the value written by the operation instruction is greater than or equal to the preset threshold, the platform generates the offline operation code source code according to the message body format of the Internet of Vehicles protocol.

[0009] Optionally, after the vehicle terminal goes offline, the vehicle terminal decrypts the offline operation password by using the dynamic encryption factor to obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operation by using the offline operation password, including: If the operation instruction instructs the vehicle terminal to perform a single offline operation, and the value written in the operation instruction is an enumeration variable or the length of the value written in the operation instruction is less than the preset threshold, then after the vehicle terminal goes offline, the offline operation password generated by the platform before the vehicle terminal goes offline is input through the human-computer interaction interface of the vehicle terminal, so that the vehicle terminal performs the offline operation; If the operation instruction instructs the vehicle terminal to perform multiple offline operations at the same time, or the length of the value written in the operation instruction is greater than or equal to the preset threshold, then after the vehicle terminal goes offline, the offline operation password generated by the platform before the vehicle terminal goes offline this time is input through the local input channel of the vehicle terminal, so that the vehicle terminal performs the offline operation.

[0010] Optionally, the adopting of a dynamic encryption factor to encrypt the offline operation code source code includes: By performing a first preset mathematical operation on the offline operation code source code, a check code is obtained; Combining the offline operation code source code and the check code, and placing the check code at a first preset position of the combination result to generate a combination value; A preset digest algorithm is used to calculate a digest value of a dynamic encryption factor; Extracting characters at a second preset position from the summary value as interference values; The combined value and the interference value are subjected to a second preset mathematical operation to obtain an encrypted offline operation code source code.

[0011] Optionally, after the vehicle terminal goes offline, the vehicle terminal decrypts the offline operation password by using the dynamic encryption factor to obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operation by using the offline operation password, including: Enter the offline operation password on the vehicle terminal, so that the vehicle terminal calculates the digest value using a preset digest algorithm according to the dynamic encryption factor; Extracting characters at a second preset position from the digest value as interference values ​​in the offline operation password; Remove the interference value in the offline operation password by performing the inverse operation of the second preset mathematical operation to obtain a combined value of the offline operation code source code and the check code; According to the first preset position, the check code and the offline operation code source code are separated from the combined value; The operation instructions are parsed from the extracted offline operation code source code, so that the vehicle-mounted terminal performs the offline operation according to the parsed operation instructions.

[0012] Optionally, the step of parsing the operation instruction from the extracted offline operation code source code includes: For the combined value after removing the interference value, splitting the verification code and the offline operation code source code according to the first preset position; Calculate the check code of the offline operation code source code by using the first preset mathematical operation, and compare it with the check code separated from the combined value; When the two check codes are equal, the operation instruction is parsed from the offline operation code source code.

[0013] Optionally, the platform and the vehicle terminal negotiate to generate a dynamic encryption factor based on the ID of the vehicle terminal, the operation data of the corresponding vehicle, and the current system time, including: The platform generates a dynamic key based on the ID of the vehicle terminal and the operating data of the corresponding vehicle, and sends the dynamic key to the vehicle terminal; The vehicle terminal generates a dynamic encryption factor according to the dynamic key and the current system time, and sends the dynamic encryption factor to the platform, so that the platform and the vehicle terminal each save the dynamic encryption factor.

[0014] The embodiment of the present invention also provides an offline operating system for a vehicle-mounted terminal, comprising: a platform and a vehicle-mounted terminal; The platform and the vehicle terminal are used to negotiate and generate a dynamic encryption factor for any vehicle terminal based on the ID of the vehicle terminal, the operation data of the corresponding vehicle, and the current system time before the vehicle terminal goes offline each time; The platform is also used to generate an offline operation code source code for the vehicle terminal to perform corresponding offline operations according to different operation instructions of the vehicle terminal, and encrypt the offline operation code source code with a dynamic encryption factor to obtain an offline operation password, so as to send the offline operation password to the vehicle terminal; The vehicle terminal is also used to decrypt the offline operation password through the dynamic encryption factor after going offline, and obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operations through the offline operation password.

[0015] An embodiment of the present invention also provides a computer device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned offline operation method of the vehicle terminal.

[0016] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned off-line operation method of the vehicle-mounted terminal when executed by a processor.

[0017] The offline operation method of the vehicle-mounted terminal provided by the present invention has at least the following beneficial effects: Before the vehicle terminal goes offline each time, the platform generates an offline operation code source code (i.e., operation code) for the vehicle terminal to perform offline operations based on the operation instructions of the vehicle terminal. Different operation instructions correspond to different operation codes. After the vehicle terminal goes offline, if an offline operation is to be performed, the operation code generated by the platform before this offline operation is used. At the same time, the operation code is also encrypted with the ID of the vehicle terminal, the operating data of the corresponding vehicle, and the current system time. This makes the operation code used in the present invention not fixed. An operation code is limited to performing a specific offline operation on a specific vehicle terminal at a specific time, thereby ensuring the privacy, uniqueness, and timeliness of the operation code, avoiding users from reusing the same operation code to perform the same offline operation on the same vehicle terminal or other vehicle terminals later, and also avoiding users from analyzing the rules of the operation code and deducing other operation codes. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.

[0019] Figure 1 is a flow chart of an offline operation method of a vehicle-mounted terminal provided according to an embodiment of the present invention; Figure 2is a flow chart of generating a dynamic encryption factor according to an embodiment of the present invention; Figure 3 is a flow chart of generating an offline operation password according to an embodiment of the present invention; Figure 4 The present invention provides a flowchart of parsing an offline operation password according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present invention. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present invention can be implemented. The division of the following embodiments is for the convenience of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0021] An embodiment of the present invention relates to an offline operation method of a vehicle-mounted terminal. The implementation details of the offline operation method of the vehicle-mounted terminal of this embodiment are specifically described below. The following content is only the implementation details provided for easy understanding and is not necessary for implementing this solution.

[0022] The specific process of the off-line operation method of the vehicle-mounted terminal of this embodiment can be as follows: Figure 1 As shown, including: Step 101, for any vehicle terminal, before the vehicle terminal goes offline each time, the platform and the vehicle terminal negotiate to generate a dynamic encryption factor based on the ID of the vehicle terminal, the operating data of the corresponding vehicle and the current system time.

[0023] Specifically, the platform and the vehicle terminal negotiate to generate a dynamic encryption factor through the following steps: the platform generates a dynamic key based on the vehicle terminal ID and the corresponding vehicle operation data, and sends the dynamic key to the vehicle terminal; the vehicle terminal generates a dynamic encryption factor based on the dynamic key and the current system time, and sends the dynamic encryption factor to the platform, so that the platform and the vehicle terminal each save the dynamic encryption factor. Among them, the vehicle operation data includes: the total mileage of the vehicle instrument and the total engine operation time.

[0024] In the specific implementation, the process of the platform and the vehicle terminal negotiating to generate a dynamic encryption factor is as follows: Figure 2As shown, it includes: after the vehicle terminal logs in to the gateway, the platform generates a "dynamic key" based on the three parameters of the vehicle terminal ID, the vehicle's latest total instrument mileage and the total engine running time, and sends it to the vehicle terminal. After the vehicle terminal receives the "dynamic key", it needs to generate a dynamic encryption factor based on the received "dynamic key" and the current system time and report it to the platform. After the platform confirms that the "dynamic encryption factors" of both parties are consistent, it replies with an affirmative response. At this point, a complete dynamic key exchange process is completed, otherwise the platform and the vehicle terminal need to retry to ensure that the information of both parties is consistent. When the "dynamic encryption factor" is completed, the platform and the vehicle terminal each update and save the latest "dynamic encryption factor", otherwise give up saving and maintain the original "dynamic encryption factor" until the "dynamic encryption factor" is negotiated again.

[0025] In step 102, the platform generates an offline operation code source code for the vehicle terminal to perform corresponding offline operations according to different operation instructions of the vehicle terminal, and encrypts the offline operation code source code with a dynamic encryption factor to obtain an offline operation password, so as to send the offline operation password to the vehicle terminal.

[0026] Specifically, the generation process of the offline operation password can be found in Figure 3 As shown in the flowchart, when it is necessary to perform a certain offline operation on the vehicle terminal, the platform first generates the offline operation code source code according to the content of the operation instruction (including the operation object and the operation content). If the operation instruction of the vehicle terminal indicates to perform a single offline operation on the vehicle terminal, and the value written by the operation instruction (i.e., the instruction assignment) is an enumeration class variable or the length of the value written by the operation instruction is less than the preset threshold, that is, the length of the value written by the operation instruction is short, then the platform generates the offline operation code source code according to the ID of the operation instruction and the code of the value written by the operation instruction (such as the structure shown in Table 2). If the operation instruction of the vehicle terminal indicates to perform multiple offline operations on the vehicle terminal at the same time, or the length of the value written by the operation instruction is greater than or equal to the preset threshold, that is, the length of the value written by the operation instruction is long, then the platform generates the offline operation code source code according to the message body format of the Internet of Vehicles protocol.

[0027] Table 2

[0028] After obtaining the offline operation code source code, the dynamic encryption factor is used to encrypt the offline operation code source code in the following manner to obtain the offline operation password: First, the offline operation code source code is subjected to a first preset mathematical operation to obtain a verification code, such as addition and subtraction operations, shift operations, and other mathematical operations, so that the vehicle terminal can verify the authenticity and legality of the offline operation password finally generated. Then, the offline operation code source code and the verification code are combined, and the verification code is placed in the first preset position of the combination result (the first preset position requires the vehicle terminal and the platform to follow the same rules) to generate a combination value. Next, the platform uses a preset summary algorithm to calculate the summary value of the dynamic encryption factor stored in the database, extracts the characters at the second preset position from the summary value as the interference value, and performs a second preset mathematical operation on the combination value and the interference value, such as addition and subtraction operations, shift operations, and other mathematical operations to obtain the encrypted offline operation code source code.

[0029] Step 103, after the vehicle terminal goes offline, the offline operation password is decrypted by the dynamic encryption factor to obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operation by using the offline operation password.

[0030] Specifically, if the operation instruction of the vehicle terminal instructs to perform a single offline operation on the vehicle terminal, and the value written in the operation instruction is an enumeration class variable or the length of the value written in the operation instruction is less than the preset threshold, then after the vehicle terminal is offline, the human-computer interaction interface input platform of the vehicle terminal generates an offline operation password before the vehicle terminal goes offline this time, so that the vehicle terminal performs the offline operation. If the operation instruction of the vehicle terminal instructs to perform multiple offline operations on the vehicle terminal at the same time, or the length of the value written in the operation instruction is greater than or equal to the preset threshold, the length of the generated offline operation password will also be very large, then after the vehicle terminal is offline, the local input channel input platform of the vehicle terminal generates an offline operation password before the vehicle terminal goes offline this time, such as local input channels such as USB interface and Bluetooth, so that the vehicle terminal performs the offline operation.

[0031] In a specific implementation, after the offline operation password is input on the vehicle terminal, the vehicle terminal needs to parse the operation instruction from the offline operation password, and then perform the offline operation according to the operation instruction. The parsing process is as follows: Figure 4As shown. The vehicle terminal first calculates the digest value according to the dynamic encryption factor using the preset digest algorithm, and then extracts the characters at the second preset position from the digest value according to a fixed rule as the interference value in the offline operation password (i.e., the interference value introduced during the encryption process). The interference value in the offline operation password is removed by the inverse operation of the second preset mathematical operation, and the check code and the offline operation code source code are separated from the combined value according to the first preset position. At this time, the operation instructions of the vehicle terminal can be parsed through the extracted offline operation code source code to perform offline operations according to the parsed operation instructions.

[0032] In an example, the combined value after removing the interference value is split into a verification code and an offline operation code source code according to a first preset position. In order to ensure the authenticity and integrity of the operation instruction content, it is necessary to use a first preset mathematical operation (i.e., the same mathematical operation as the encryption process) to calculate the verification code of the offline operation code source code, and compare it with the verification code split from the combined value. When the two verification codes are equal, the verification passes, and the operation instructions of the vehicle terminal can be parsed from the offline operation code source code and executed according to the platform-side operation instruction source code generation rules. Otherwise, the verification fails and the operation instruction is not executed.

[0033] It can be seen that each time the vehicle-mounted terminal is in an online state, it will obtain an offline operation password generated by the platform, so that it can use the offline operation password to perform offline operations after going offline.

[0034] In this embodiment, before the vehicle terminal goes offline each time, the platform generates an offline operation code source code (i.e., operation code) for the vehicle terminal to perform offline operations based on the operation instructions of the vehicle terminal. Different operation instructions correspond to different operation codes. After the vehicle terminal goes offline, if an offline operation is to be performed, the operation code generated by the platform before this offline operation is used. At the same time, the operation code is also encrypted with the operation data of the vehicle corresponding to the vehicle terminal and the current system time. This makes the operation code used in this embodiment not fixed. An operation code is limited to performing a specific offline operation on a specific vehicle terminal at a specific time, thereby ensuring the privacy, uniqueness, and timeliness of the operation code, avoiding users from reusing the same operation code to perform the same offline operation on the same vehicle terminal or other vehicle terminals later, and also avoiding users from analyzing the rules of the operation code and deducing other operation codes.

[0035] Furthermore, it can be seen that this embodiment can ensure that the operation time, object, and content are all subject to the management personnel. The offline operation password of the vehicle terminal satisfies the convenience of vehicle terminal operation and also meets the information security management needs of the vehicle terminal manufacturer.

[0036] In one embodiment, the offline operation method of the vehicle terminal of the present invention can be divided into: a process of negotiating between the platform and the vehicle terminal to generate a dynamic encryption factor, a process of generating an offline operation password on the platform side, and a process of parsing the offline operation password on the terminal side. The following takes an 8-bit hexadecimal vehicle terminal parameter setting instruction as an example to explain the above three processes in detail: (1) The process of the platform and the vehicle terminal negotiating to generate a dynamic encryption factor is shown in Table 3: Table 3

[0037] Assume that after the platform and the terminal update and save the dynamic encryption factor, the terminal networking function fails and cannot connect to the network. Terminal operations need to be performed using the offline operation password. Because the terminal cannot log in to the gateway, the platform and the terminal cannot negotiate the dynamic encryption factor again. Both parties maintain the current dynamic encryption factor, which is "7EF918".

[0038] (2) The offline operation password generation process on the platform side is shown in Table 4: Table 4

[0039] (3) The parsing process of the offline operation password on the terminal side is shown in Table 5: Table 5

[0040] The step division of the various methods above is only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the protection scope of the present invention. Adding insignificant modifications or introducing insignificant designs to the algorithm or process without changing the core design of the algorithm and process are all within the protection scope of the invention.

[0041] Another embodiment of the present invention relates to an offline operating system for a vehicle-mounted terminal. The implementation details of the offline operating system for the vehicle-mounted terminal of this embodiment are described in detail below. The following content is only for the convenience of understanding the implementation details and is not necessary for implementing this solution. The offline operating system for the vehicle-mounted terminal of this embodiment includes: a platform and a vehicle-mounted terminal; Specifically, the platform and the vehicle terminal are used to negotiate and generate a dynamic encryption factor for any vehicle terminal based on the ID of the vehicle terminal, the operation data of the corresponding vehicle, and the current system time before the vehicle terminal goes offline each time; The platform is also used to generate an offline operation code source code for the vehicle terminal to perform corresponding offline operations according to different operation instructions of the vehicle terminal, and encrypt the offline operation code source code with a dynamic encryption factor to obtain an offline operation password, so as to send the offline operation password to the vehicle terminal; The vehicle terminal is also used to decrypt the offline operation password through the dynamic encryption factor after going offline, and obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operations through the offline operation password.

[0042] It is not difficult to find that this embodiment is a system embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details and technical effects mentioned in the above embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiment.

[0043] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0044] Another embodiment of the present invention relates to a computer device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the offline operation method of the vehicle terminal in the above-mentioned embodiments.

[0045] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor.

[0046] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.

[0047] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0048] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as: ROM), random access memory (Random Access Memory, referred to as: RAM), disk or optical disk and other media that can store program codes.

[0049] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. An off-line operation method of a vehicle-mounted terminal, characterized in that: include: For any vehicle terminal, before the vehicle terminal goes offline each time, the platform and the vehicle terminal negotiate to generate a dynamic encryption factor based on the vehicle terminal ID, the corresponding vehicle's operating data, and the current system time; The platform generates an offline operation code source code for the vehicle terminal to perform corresponding offline operations according to different operation instructions of the vehicle terminal, and encrypts the offline operation code source code with a dynamic encryption factor to obtain an offline operation password, so as to send the offline operation password to the vehicle terminal; After the vehicle terminal goes offline, the offline operation password is decrypted by the dynamic encryption factor to obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operations through the offline operation password.

2. The off-line operation method of the vehicle terminal according to claim 1, characterized in that: The platform generates offline operation code source code for the vehicle terminal to perform corresponding offline operations according to different operation instructions of the vehicle terminal, including: If the operation instruction instructs the vehicle terminal to perform a single offline operation, and the value written by the operation instruction is an enumeration class variable or the length of the value written by the operation instruction is less than the preset threshold, the platform generates an offline operation code source code based on the ID of the operation instruction and the code of the value written by the operation instruction; If the operation instruction instructs the vehicle terminal to perform multiple offline operations at the same time, or the length of the value written by the operation instruction is greater than or equal to the preset threshold, the platform generates the offline operation code source code according to the message body format of the Internet of Vehicles protocol.

3. The off-line operation method of the vehicle-mounted terminal according to claim 2, characterized in that: After the vehicle terminal goes offline, the offline operation password is decrypted by the dynamic encryption factor to obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operation by the offline operation password, including: If the operation instruction instructs the vehicle terminal to perform a single offline operation, and the value written in the operation instruction is an enumeration variable or the length of the value written in the operation instruction is less than the preset threshold, then after the vehicle terminal goes offline, the offline operation password generated by the platform before the vehicle terminal goes offline is input through the human-computer interaction interface of the vehicle terminal, so that the vehicle terminal performs the offline operation; If the operation instruction instructs the vehicle terminal to perform multiple offline operations at the same time, or the length of the value written in the operation instruction is greater than or equal to the preset threshold, then after the vehicle terminal goes offline, the offline operation password generated by the platform before the vehicle terminal goes offline this time is input through the local input channel of the vehicle terminal, so that the vehicle terminal performs the offline operation.

4. The off-line operation method of the vehicle-mounted terminal according to claim 1, characterized in that: The method of encrypting the offline operation code source code using a dynamic encryption factor includes: By performing a first preset mathematical operation on the offline operation code source code, a check code is obtained; Combining the offline operation code source code and the check code, and placing the check code at a first preset position of the combination result to generate a combination value; A preset digest algorithm is used to calculate a digest value of a dynamic encryption factor; Extracting characters at a second preset position from the summary value as interference values; The combined value and the interference value are subjected to a second preset mathematical operation to obtain an encrypted offline operation code source code.

5. The off-line operation method of the vehicle-mounted terminal according to claim 4, characterized in that: After the vehicle terminal goes offline, the offline operation password is decrypted by the dynamic encryption factor to obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operation by the offline operation password, including: Enter the offline operation password on the vehicle terminal, so that the vehicle terminal calculates the digest value using a preset digest algorithm according to the dynamic encryption factor; Extracting characters at a second preset position from the digest value as interference values ​​in the offline operation password; Remove the interference value in the offline operation password by performing the inverse operation of the second preset mathematical operation to obtain a combined value of the offline operation code source code and the check code; According to the first preset position, the check code and the offline operation code source code are separated from the combined value; The operation instructions are parsed from the extracted offline operation code source code, so that the vehicle-mounted terminal performs the offline operation according to the parsed operation instructions.

6. The off-line operation method of the vehicle-mounted terminal according to claim 5, characterized in that: The step of parsing the operation instruction from the extracted offline operation code source code includes: For the combined value after removing the interference value, according to the first preset position, the check code and the offline operation code source code are separated from the combined value; Calculate the check code of the offline operation code source code by using the first preset mathematical operation, and compare it with the check code separated from the combined value; When the two check codes are equal, the operation instruction is parsed from the offline operation code source code.

7. The off-line operation method of the vehicle-mounted terminal according to claim 1, characterized in that: The platform and the vehicle terminal negotiate to generate a dynamic encryption factor based on the vehicle terminal ID, the operation data of the corresponding vehicle, and the current system time, including: The platform generates a dynamic key based on the ID of the vehicle terminal and the operating data of the corresponding vehicle, and sends the dynamic key to the vehicle terminal; The vehicle terminal generates a dynamic encryption factor according to the dynamic key and the current system time, and sends the dynamic encryption factor to the platform, so that the platform and the vehicle terminal each save the dynamic encryption factor.

8. An offline operating system for a vehicle terminal, characterized in that: include: Platform and vehicle-mounted terminal; The platform and the vehicle terminal are used to negotiate and generate a dynamic encryption factor for any vehicle terminal based on the ID of the vehicle terminal, the operation data of the corresponding vehicle, and the current system time before the vehicle terminal goes offline each time; The platform is also used to generate an offline operation code source code for the vehicle terminal to perform corresponding offline operations according to different operation instructions of the vehicle terminal, and encrypt the offline operation code source code with a dynamic encryption factor to obtain an offline operation password, so as to send the offline operation password to the vehicle terminal; The vehicle terminal is also used to decrypt the offline operation password through the dynamic encryption factor after going offline, and obtain the offline operation password generated by the platform before the vehicle terminal goes offline this time, so as to perform offline operations through the offline operation password.

9. A computer device, characterized in that: include: at least one processor; And, a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the offline operation method of the vehicle terminal as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the offline operation method of the vehicle-mounted terminal according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Offline Internet control device and control system and method thereof

    CN107146308A

  • Offline management instruction management method and terminal

    CN110247877A

  • Method for off-line issuing of remote control instruction for industrial vehicle

    CN114374724A

  • Offline payment code generation method and device, computer equipment and storage medium

    CN114782040A

  • Off-line control method and device for intelligent equipment

    CN115604390A