Vehicle remote management method, device and equipment and storage medium
By receiving and processing the interactive information between the vehicle and the terminal device, generating a second command and using blockchain technology to arbitrate the terminal device, the problem of control strategy conflict between multiple command issuing subjects in vehicle remote control is solved, and the battery management strategy is realized The collaborative control and data consistency extend battery life.
Patent Information
- Application Number
- CN202310364250.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-31
AI Technical Summary
In vehicle remote control, when multiple remote command issuing subjects control the same functional module, it is easy to cause control strategy jumps or conflicts, damage battery performance and shorten battery life. How to coordinate multiple command issuing subjects and the vehicle End-to-end interaction has become an urgent problem to be solved.
By receiving the interactive information between the vehicle and the terminal device, generating a second instruction to reduce the risk of conflict, and using blockchain technology to ensure the reliability and non-tamperability of data sharing, the arbitration terminal device votes to determine the target interactive information, ensuring Interaction information consistency.
It achieves reasonable and efficient coordinated control of the same function or related functions on the vehicle by multiple remote command issuing entities, ensuring the consistency and data integrity of the battery management strategy, avoiding control strategy jumps, and extending the battery life. .
Smart Images

Figure CN118740880A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle remote management method, device, equipment and storage medium. Background Art
[0002] With the development of vehicle technology, the interaction of commands between the remote end and the vehicle end can realize the remote control or data interaction of the vehicle. With the increase of remote control, there are multiple command issuing entities remotely controlling the same functional module or related functional modules of the same vehicle, which may cause the vehicle's control strategy to jump or conflict, which may lead to poor operation of the vehicle and even cause vehicle safety risks. For example, the battery management system (BMS) is responsible for managing and maintaining the various modules of the battery. The battery management strategy of the BMS can be controlled by the remote end wirelessly so that the battery can maintain good performance as much as possible in different stages and modes, and can extend the battery life as much as possible. However, at present, multiple remote ends may control and adjust the battery management strategy of the BMS, and the BMS commands issued by each remote end are independent of each other, which easily causes the BMS's battery management strategy to jump or confuse, thereby damaging the battery performance and shortening the battery life. Therefore, when multiple remote command issuing entities can control the same function or related functions of the vehicle end, how to coordinate the interaction between multiple command issuing entities and the vehicle end has become an urgent problem to be solved. Summary of the invention
[0003] The embodiments of the present application provide a vehicle remote management method, apparatus, device and storage medium, which can coordinate the interaction between multiple command issuing entities and the vehicle when multiple remote command issuing entities are able to control the same function or related functions of the vehicle.
[0004] In a first aspect, an embodiment of the present application provides a vehicle remote management method, which is applied to a server, and the method includes:
[0005] Receiving first interaction information generated by the interaction between the vehicle and a previous terminal device; wherein the previous terminal device is any terminal device in a predetermined terminal device set, the terminal device set includes a plurality of terminal devices suitable for interacting with the vehicle, the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, and the first interaction information is used to characterize the interaction between the previous terminal device and the vehicle;
[0006] The first interaction information is sent to the terminal device, so that the terminal device generates a second instruction based on the first interaction information, and the second instruction is suitable for being responded to by the vehicle and obtaining the second interaction information.
[0007] It can be seen that in an embodiment of the present application, the server can send the first interaction information generated by the interaction between the previous terminal device and the vehicle to any terminal device (for example, a terminal device) in the terminal device set except the previous terminal device, so that the terminal device can know the first interaction information of the interaction between the previous terminal device and the vehicle before generating the second instruction, so that when the terminal device generates the second instruction based on the first interaction information, the risk of conflict between the second instruction and the first instruction can be effectively reduced, thereby achieving multiple remote instruction issuing entities can all reasonably and efficiently coordinate control of the same function or related functions of the vehicle, that is, coordinate the interaction between multiple instruction issuing entities and the vehicle.
[0008] In an optional implementation, after receiving and storing the first interaction information generated by the vehicle interacting with the previous terminal device, the method further includes:
[0009] Based on the first interaction information, a first interaction strategy between the previous terminal device and the vehicle is determined, and the first interaction strategy is sent to the previous terminal device; wherein the first interaction strategy is used to control the interaction behavior between the previous terminal device and the vehicle within a preset time period.
[0010] In an optional implementation, determining a first interaction strategy between a previous terminal device and a vehicle based on the first interaction information includes:
[0011] If the first interaction information indicates that the vehicle failed to authenticate a previous terminal device before responding to the first instruction, then counting the number of authentication failures of the previous terminal device within a preset historical time period;
[0012] If the number of verification failures reaches a preset threshold, the first interaction strategy is determined as the previous terminal device suspending interaction with the vehicle within a preset time period.
[0013] In an optional implementation, determining the first interaction strategy based on the first interaction information includes:
[0014] If the first interaction information indicates that the vehicle fails to respond to the first instruction, sending the first interaction information to the previous terminal device;
[0015] The first interaction strategy is determined as that the previous terminal device continues to interact with the electric vehicle after receiving the first interaction information.
[0016] In an optional implementation, before sending the first interaction information to the terminal device, the method further includes:
[0017] Based on the first interaction information, generate a first block;
[0018] Sending the first interaction information to the terminal device includes:
[0019] Broadcasting the first block to a blockchain network, wherein the blockchain network includes a server and each terminal device in the set of terminal devices;
[0020] After sending the first interaction information to the terminal device, the method further includes:
[0021] Receiving and storing second interaction information sent by the vehicle; wherein the second interaction information is generated by the vehicle based on a second instruction from the terminal device, and the second interaction information is used to characterize the interaction between the terminal device and the vehicle;
[0022] Based on the second interaction information, generating a second block;
[0023] Broadcast the second block to the blockchain network.
[0024] It can be seen that by adopting this implementation mode, based on blockchain technology, by uploading the first interactive information and the second interactive information to the chain, it is possible to achieve reliable sharing and circulation of data, and make the data authentic, unalterable and traceable during the sharing and circulation process.
[0025] In an optional implementation, before broadcasting the second block to the blockchain network, the method further includes:
[0026] Compare the first interaction information stored in the previous terminal device with each other first interaction information, where the other first interaction information is the first interaction information stored in each other terminal device in the terminal device set except the previous terminal device;
[0027] If the first interaction information stored in the previous terminal device is the same as each other first interaction information, then the execution of broadcasting the second block to the blockchain network is triggered.
[0028] In an optional implementation manner, comparing the first interaction information stored in the previous terminal device with each other first interaction information includes:
[0029] After receiving the first interaction information from the server, storing the first interaction information;
[0030] Generate a first Hash value corresponding to the first interaction information;
[0031] After receiving each other first block from the server, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each other terminal device in the terminal device set except the previous terminal device;
[0032] If the first hash value is the same as the second hash value corresponding to each other first block, it is determined that the first interaction information stored in the previous terminal device is the same as each other first interaction information;
[0033] If the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device is different from any other first interaction information.
[0034] In an optional embodiment, the method further includes:
[0035] If it is determined that the first interaction information stored in the previous terminal device is different from any other first interaction information, initiating voting to the arbitration terminal device in the terminal device set; wherein the arbitration terminal device includes at least one terminal device in the terminal device set;
[0036] Receive voting results from arbitration terminal devices;
[0037] Based on the voting results, determining the target first interaction information;
[0038] The target first interaction information is sent to the terminal device to be synchronized, so that the terminal device to be synchronized stores the target first interaction information; wherein the terminal device to be synchronized refers to a terminal device in which the stored first interaction information is different from the target first interaction information.
[0039] In an optional implementation, determining the target first interaction information based on the voting result includes:
[0040] When there are multiple arbitration terminal devices, K voting score sums are determined; any voting score sum refers to: the voting result indicates that the target first interaction information is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2;
[0041] Determine the first interaction information corresponding to the maximum voting score sum among the K voting score sums as the target first interaction information;
[0042] When the number of the arbitration terminal device is 1, it is determined that the first interaction information indicated by the voting result of the arbitration terminal device is the target first interaction information.
[0043] In an optional implementation manner, the method for determining the sum of any voting scores includes:
[0044] Calculate the voting score of each arbitration terminal device based on the weight of each arbitration terminal device and the voting result of each arbitration terminal device;
[0045] The voting scores of arbitration terminal devices with the same voting results are added according to the weights to obtain the total of any voting scores.
[0046] In a second aspect, an embodiment of the present application provides a vehicle remote management method, which is applied to a terminal device in a predetermined terminal device set, and the method includes:
[0047] receiving first interaction information from a server; the first interaction information is generated by the vehicle based on a first instruction from a previous terminal device, the previous terminal device being any terminal device other than the terminal device in a terminal device set, the terminal device set including a plurality of terminal devices interacting with the vehicle; the first interaction information is used to characterize a situation in which the previous terminal device interacts with the vehicle;
[0048] generating a second instruction based on the first interaction information;
[0049] A second instruction is sent to the vehicle so that the vehicle responds to the second instruction and generates second interaction information; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
[0050] In an optional implementation, the first interaction information includes first interaction time information, first interaction subject information and first interaction result information.
[0051] In an optional embodiment, when the first instruction and the second instruction control the same parameter of the vehicle, and the first interaction result information indicates that the vehicle successfully responds to the first instruction, the terminal device generates a second instruction based on the first interaction time information so that the time interval between the vehicle's response to the second instruction and the vehicle's response to the first instruction is greater than a preset time threshold.
[0052] In an optional implementation, before generating the second instruction based on the first interaction information, the method further includes:
[0053] Compare the first interaction information stored in the previous terminal device with each other first interaction information, where each other first interaction information is the first interaction information stored in each other terminal device in the terminal device set except the previous terminal device;
[0054] If the first interaction information stored in the previous terminal device is the same as each other first interaction information, the execution is triggered based on the first interaction information to generate a second instruction.
[0055] In an optional implementation manner, comparing the first interaction information stored in the previous terminal device with each other first interaction information includes:
[0056] After receiving the first interaction information from the server, storing the first interaction information;
[0057] Generate a first Hash value corresponding to the first interaction information;
[0058] After receiving each other first block from the server, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each other terminal device in the terminal device set except the previous terminal device;
[0059] If the first hash value is the same as the second hash value corresponding to each other first block, it is determined that the first interaction information stored in the previous terminal device is the same as each other first interaction information;
[0060] If the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device is different from any other first interaction information.
[0061] In an optional embodiment, the method further includes:
[0062] If it is determined that the first interaction information stored in the previous terminal device is different from any other first interaction information, initiating voting to the arbitration terminal device in the terminal device set; wherein the arbitration terminal device includes at least one terminal device in the terminal device set;
[0063] Receive voting results from arbitration terminal devices;
[0064] Based on the voting result, first interaction information for generating a second instruction is determined.
[0065] In an optional implementation, determining the first interaction information for generating the second instruction based on the voting result includes:
[0066] When there are multiple arbitration terminal devices, K voting score sums are determined; any voting score sum refers to: the voting result indicates that the first interaction information used to generate the second instruction is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2;
[0067] Determine the first interaction information corresponding to the maximum voting score sum among the K voting score sums as the first interaction information used to generate the second instruction;
[0068] When the number of the arbitration terminal device is one, it is determined that the first interaction information indicated by the voting result of the arbitration terminal device is the first interaction information used to generate the second instruction.
[0069] In an optional implementation manner, the method for determining the sum of any voting scores includes:
[0070] Calculate the voting score of each arbitration terminal device based on the weight of each arbitration terminal device and the voting result of each arbitration terminal device;
[0071] The voting scores of arbitration terminal devices with the same voting results are added according to the weights to obtain the total of any voting scores.
[0072] In a third aspect, an embodiment of the present application provides a vehicle remote management method, which is applied to a vehicle, and the method includes:
[0073] Sending first interaction information characterizing the interaction with the previous terminal device to the server, so that the server receives and stores the first interaction information, and the server sends the first interaction information to a terminal device in a predetermined terminal device set; the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, the previous terminal device is any terminal device in the terminal device set except the terminal device; the terminal device set includes a plurality of terminal devices interacting with the vehicle; the terminal device is any terminal device in the terminal device set except the previous terminal device;
[0074] receiving a second instruction from a terminal device, where the second instruction is generated by the terminal device based on the first interaction information;
[0075] Respond to the second instruction, and obtain second interaction information based on the response; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
[0076] In an optional implementation, the first interaction information includes first interaction time information, first interaction subject information and first interaction result information.
[0077] In a fourth aspect, an embodiment of the present application provides a vehicle remote management device, which is applied to a server, and the device includes:
[0078] a receiving unit, configured to receive and store first interaction information generated by the interaction between the vehicle and a previous terminal device; wherein the previous terminal device is any terminal device in a predetermined terminal device set, the terminal device set includes a plurality of terminal devices that interact with the vehicle, the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, and the first interaction information is used to characterize the interaction between the previous terminal device and the vehicle;
[0079] A sending unit is used to send the first interaction information to a terminal device so that the terminal device generates a second instruction based on the first interaction information and sends the second instruction to the vehicle; wherein the terminal device is any terminal device in the terminal device set except the previous terminal device.
[0080] Optionally, the vehicle remote management device may perform an optional implementation method as described in the related content of the first aspect above, which will not be described in detail here.
[0081] In a fifth aspect, an embodiment of the present application provides a vehicle remote management device, which is applied to a terminal device in a predetermined terminal device set, and the device includes:
[0082] a receiving unit, configured to receive first interaction information from a server; the first interaction information is generated by the vehicle based on a first instruction from a previous terminal device, the previous terminal device being any terminal device other than the terminal device in a terminal device set, the terminal device set including a plurality of terminal devices interacting with the vehicle; the first interaction information is used to characterize a situation in which the previous terminal device interacts with the vehicle;
[0083] A processing unit, configured to generate a second instruction based on the first interaction information;
[0084] The sending unit is used to send a second instruction to the vehicle so that the vehicle responds to the second instruction and generates second interaction information; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
[0085] Optionally, the vehicle remote management device may perform an optional implementation method as described in the related content of the second aspect above, which will not be described in detail here.
[0086] In a sixth aspect, an embodiment of the present application provides a vehicle remote management device, which is applied to a vehicle, and the device includes:
[0087] A sending unit, configured to send first interaction information characterizing an interaction with a previous terminal device to a server, so that the server receives and stores the first interaction information, and the server sends the first interaction information to a terminal device in a predetermined terminal device set; the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device; the previous terminal device is any terminal device in the terminal device set; the terminal device set includes a plurality of terminal devices interacting with the vehicle; the terminal device is any terminal device in the terminal device set except the previous terminal device;
[0088] A receiving unit, configured to receive a second instruction from a terminal device, where the second instruction is generated by the terminal device based on the first interaction information;
[0089] The processing unit is used to respond to the second instruction and obtain second interaction information based on the response; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
[0090] In the seventh aspect, an embodiment of the present application provides a server, which includes a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the method described in the first aspect above.
[0091] In the eighth aspect, an embodiment of the present application provides a terminal device, which includes a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the method described in the second aspect above.
[0092] In a ninth aspect, an embodiment of the present application provides a vehicle, which includes a vehicle body and a processing module, and the processing module is used to execute the method described in the second aspect above to manage the vehicle.
[0093] In the tenth aspect, an embodiment of the present application provides a communication system, which includes a terminal device in a predetermined terminal device set, a server, and a vehicle, wherein the server is used to execute the method described in the first aspect to manage the vehicle, the terminal device in the terminal device set is used to execute the method described in the second aspect to manage the vehicle, and the vehicle is used to execute the method described in the third aspect to manage the vehicle.
[0094] In the eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the method described in the first aspect.
[0095] In a twelfth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method described in the second aspect is implemented.
[0096] In a thirteenth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method described in the third aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0098] Figure 1 It is a structural diagram of a communication system provided in an embodiment of the present application;
[0099] Figure 2It is a flowchart of a vehicle remote management method provided by an embodiment of the present application;
[0100] Figure 3 It is a flowchart of another vehicle remote management method provided by an embodiment of the present application;
[0101] Figure 4 This is a schematic diagram of a blockchain implementation principle provided by an embodiment of the present application;
[0102] Figure 5 This is a schematic diagram of a cloud car BMS interaction process provided by an embodiment of the present application
[0103] Figure 6 is a schematic diagram of a vehicle remote management device provided in an embodiment of the present application;
[0104] Figure 7 It is a structural diagram of a server provided in an embodiment of the present application;
[0105] Figure 8 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0106] Fig. 9 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. Specific embodiments
[0107] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0108] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are 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 includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0109] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate that there are the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.
[0110] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0111] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0112] It should be noted that in the present application, step codes such as S201, S202, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S202 first and then S201, etc., but these should all be within the scope of protection of the present application.
[0113] See also Figure 1 , Figure 1 It is a schematic diagram of a communication system provided in an embodiment of the present application. Figure 1 The device form shown is for example only and does not constitute a limitation on the embodiments of the present application. Figure 1 As shown, the communication system includes a server 101, a predetermined terminal device set 102, and a vehicle 103. The number of terminal devices is not limited. For the sake of convenience, it is taken as an example that the terminal device set 102 includes at least two terminal devices. Figure 1 The two terminal devices in the terminal device set 102 can interact and control the same function or related functions of the vehicle 103 respectively, the terminal device that interacts with the vehicle 103 in front is the front terminal device 1021, and the other terminal device that interacts with the vehicle 103 in the back is the terminal device 1022.
[0114] Figure 1 In the embodiment, vehicle 103 may send first interaction information to server 101, and accordingly, server 101 receives the first interaction information, where the first interaction information is generated by vehicle 103 based on a first instruction from a previous terminal device 1021, and the first interaction information is used to characterize the interaction between the previous terminal device 1021 and vehicle 103; server 101 sends first interaction information to terminal device 1022, and accordingly, terminal device 1022 receives the first interaction information; terminal device 1022 generates a second instruction based on the first interaction information; terminal device 1022 sends a second instruction to vehicle 103, and accordingly, vehicle 103 receives the second instruction; vehicle 103 responds to the second instruction and generates second interaction information based on the response. It can be seen that by using the embodiment of the present application, the server 101 can send the first interaction result generated by the interaction between the previous terminal device 1021 in the terminal device set 102 and the vehicle 103 to the terminal devices in the terminal device set 102, so that the first interaction information of the interaction between the previous terminal device 1021 and the vehicle 103 can be known before the second instruction is generated, so that when the terminal device 1022 generates the second instruction based on the first interaction result, the risk of conflict between the second interaction instruction and the first interaction instruction can be effectively reduced, and the second instruction can be sent to the vehicle, thereby realizing that multiple remote instruction issuing entities can all perform reasonable and efficient collaborative control of the same function or related functions on the vehicle side, that is, coordinating the interaction between multiple instruction issuing entities and the vehicle side.
[0115] It can be understood that the terminal device set 102 in the communication system disclosed in the embodiment of the present application includes multiple terminal devices that interact with the vehicle 103. Among them, the multiple terminal devices that interact with the vehicle 103 can be terminal devices of at least one automobile enterprise branch, and / or terminal devices of at least one regulatory agency, wherein the number of terminal devices of any automobile enterprise branch can be one or more, and the number of terminal devices of any regulatory agency can be one or more.
[0116] Optionally, in the embodiment of the present application, server 101 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms, etc.
[0117] Optionally, in an embodiment of the present application, the terminal devices in the terminal device set 102 may also be referred to as terminals, and the terminal devices may include but are not limited to smart phones, tablet computers, laptop computers, desktop computers, smart watches, smart TVs, etc.
[0118] Optionally, in an embodiment of the present application, the first instruction, the second instruction, and other instructions may be various interactive instructions such as battery management system (BMS) instructions, warning instructions, and vehicle control system instructions. For ease of understanding, the following description uses battery management system instructions as an example, which does not mean that the embodiment of the present application is limited to battery management system instructions.
[0119] Optionally, in the embodiment of the present application, vehicle 103 may be an electric vehicle, a gasoline vehicle, or a vehicle driven by other new energy sources. For ease of understanding, the following description takes vehicle 103 as an electric vehicle as an example, which does not mean that the embodiment of the present application is limited to electric vehicles.
[0120] To facilitate understanding of the embodiments of the present application, the vehicle remote management method provided in the embodiments of the present application is described below.
[0121] See also Figure 2 , Figure 2 Schematic diagram of a vehicle remote management method provided by an embodiment of the present application. Figure 2 As shown, the vehicle remote management method may include but is not limited to the following steps:
[0122] S201. The vehicle 103 sends first interaction information to the server 101. Correspondingly, the server 101 receives the first interaction information.
[0123] The first interaction information is generated by the vehicle 103 based on the first instruction from the previous terminal device 1021, the previous terminal device 1021 is any terminal device in the terminal device set 102, and the first interaction information is used to characterize the interaction between the previous terminal device 1021 and the vehicle 103. That is, before step S201, the previous terminal device 1021 in the terminal device set 102 also sends the first instruction to the vehicle 103, and accordingly, the vehicle 103 receives the first instruction; the vehicle 103 responds to the first instruction and generates the first interaction information.
[0124] The first interaction information includes first interaction time information, first interaction subject information, and first interaction result information. Optionally, the first interaction time information includes the time when the previous terminal device 1021 interacted with the vehicle 103; the first interaction subject information is, for example, the identification information of the previous terminal device 1021; the first interaction result information includes the result obtained by the vehicle 103 in response to the first instruction, or the reason why the vehicle 103 failed to respond to the first instruction, etc.
[0125] The terminal device set 102 includes a plurality of terminal devices suitable for interacting with the vehicle 103. The plurality of terminal devices that interact with the vehicle 103 are, for example, terminal devices of at least one branch of an automobile enterprise and / or terminal devices of at least one regulatory agency. The at least one branch of an automobile enterprise is, for example, an engineering institute, a planning institute, a motor department, an electronic control department, an after-sales department, etc. of the automobile enterprise.
[0126] Optionally, the first instruction is, for example, a first battery management system (BMS) instruction, and the vehicle 103 is, for example, an electric vehicle. Optionally, the first BMS instruction may be sent to the electric vehicle by any terminal device in the terminal device set 102 when the climbing mode of the electric vehicle needs to be adjusted; may also be sent to the electric vehicle when the maximum charging voltage of the electric vehicle needs to be limited; may also be sent to the electric vehicle when an alarm setting needs to be set, etc., which are not limited here.
[0127] Among them, the battery management system is an important component of the electric vehicle power battery system. On the one hand, it detects, collects and preliminarily calculates the real-time status parameters of the battery, and controls the on-off of the power supply circuit according to the comparison relationship between the detection value and the allowable value; on the other hand, it reports the collected key data to the vehicle controller, receives the instructions of the vehicle controller, and coordinates with other systems on the vehicle 103. The battery management system usually has the function of measuring the battery voltage, which can prevent or avoid the occurrence of abnormal conditions such as over-discharge, over-charge, and over-temperature of the battery.
[0128] Optionally, whether the vehicle 103 executes the first instruction at a specific moment depends on the original data and calculation results of the previous stages. For example, it is assumed that the previous terminal device 1021 is a terminal device of the regulatory agency, and the terminal device 1022 is a terminal device of a branch of a car company. When the electric vehicle receives the first BMS instruction from the terminal device of the regulatory agency, the first BMS instruction is used to instruct the electric vehicle not to execute the BMS instruction issued by the terminal device of the branch of the car company within one hour. Since the regulatory agency is an authoritative agency, in this case, the electric vehicle does not execute the BMS instruction issued by the terminal device of the branch of the car company within one hour. For another example, it is assumed that the electric vehicle receives a second BMS instruction from the terminal device of the regulatory agency, and the second BMS instruction is used to indicate that the number of interactions between the electric vehicle and the terminal device A in the terminal device set 102 within one hour is at most 3. If the electric vehicle receives the BMS instruction from the terminal device A in the terminal device set 102 for the fourth time within one hour, the BMS instruction will not be executed.
[0129] In an optional implementation, after step S202, the server 101 stores the first interaction information.
[0130] In an optional embodiment, after step S202, the server 101 may also determine a first interaction strategy between the previous terminal device 1021 and the vehicle 103 based on the first interaction information, and send the first interaction strategy to the previous terminal device 1021; wherein the first interaction strategy is used to control the interaction behavior between the previous terminal device 1021 and the vehicle 103 within a preset time period.
[0131] Optionally, the server 101 determines the first interaction strategy between the previous terminal device 1021 and the vehicle 103 based on the first interaction information, which may include: if the first interaction information indicates that the vehicle 103 failed to verify the previous terminal device 1021 before responding to the first instruction, then counting the number of verification failures of the previous terminal device 1021 within a preset historical time period; if the number of verification failures reaches a preset number threshold, then determining that the first interaction strategy is for the previous terminal device 1021 to suspend interaction with the vehicle 103 within a preset time period.
[0132] For example, assuming that the previous terminal device 1021 is the terminal device A of the Institute of Engineering, the preset historical time period is 1 hour, and the preset number threshold is 3 times. If the first interaction information indicates that the vehicle 103 fails to verify the terminal device A of the Institute of Engineering, for example, the first interaction information is "Institute of Engineering-Secret key verification failed", the server 101 can count the number of times the terminal device A of the Institute of Engineering failed to verify the secret key within one hour (for example, 3 times). In this case, the server 101 determines that the number of times the secret key verification fails within 1 hour (3 times) reaches the preset number threshold (3 times). At this time, it can be determined that the interaction strategy is that the terminal device A of the Institute of Engineering suspends interaction with the vehicle 103 within a preset time (for example, 2 hours). In other words, the terminal device A of the Institute of Engineering suspends interaction with the vehicle 103 within a preset time (for example, 2 hours), which is the interaction strategy between the terminal device A of the Institute of Engineering and the vehicle 103 determined by the server 101 based on the interaction information "Institute of Engineering-Secret key verification failed".
[0133] Optionally, the server 101 determines a first interaction strategy between the previous terminal device 1021 and the vehicle 103 based on the first interaction information, including: if the first interaction information indicates that the vehicle 103 fails to respond to the first instruction, sending the first interaction information to the previous terminal device 1021; determining the first interaction strategy is that the previous terminal device 1021 continues to interact with the vehicle 103 after receiving the first interaction information.
[0134] For example, assuming that the previous terminal device 1021 is the terminal device B of the motor department, and the first interaction information is "the vehicle-side fails to execute the BMS command", the server 101 can send the interaction information to the terminal device B of the motor department; the interaction strategy is determined as follows: after receiving the interaction information "the vehicle-side fails to execute the BMS command", the terminal device B of the motor department continues to interact with the vehicle 103. In other words, after receiving the interaction information "the vehicle-side fails to execute the BMS command", the terminal device B of the motor department continues to interact with the vehicle 103, which is the interaction strategy between the terminal device B of the motor department and the vehicle 103 determined by the server 101 according to the interaction information "the vehicle-side fails to execute the BMS command".
[0135] S202. The server 101 sends the first interaction information to the terminal device 1022. Correspondingly, the terminal device 1022 receives the first interaction information.
[0136] The terminal device 1022 is any terminal device in the terminal device set 102 except the previous terminal device 1021 .
[0137] In an optional implementation manner, the server 101 sends the first interaction information to the terminal device 1022, further comprising:
[0138] S2021. The server 101 generates a first block based on the first interaction information;
[0139] In an optional implementation, step S202 includes:
[0140] S2022, the server 101 also broadcasts the first block to the blockchain network, wherein the blockchain network includes the server 101 and each terminal device in the terminal device set 102. In this way, on the one hand, each node in the blockchain network stores each interaction between each terminal device in the terminal device set 102 and the vehicle 103, and thus a distributed backup of the interaction data can be achieved, thereby reducing the high requirements for the computing power and network speed of the vehicle 103, making the interaction process more stable and more efficient; on the other hand, based on the blockchain technology, data can be reliably shared and circulated, and the data can be authentic, unalterable and traceable during the sharing and circulation process.
[0141] S203. The terminal device 1022 generates a second instruction based on the first interaction information.
[0142] In an optional embodiment, when the first instruction and the second instruction control the same parameter of the vehicle 103, and the first interaction result information indicates that the vehicle 103 successfully responds to the first instruction, the terminal device 1022 generates a second instruction based on the first interaction time information so that the time interval between the vehicle 103 responding to the second instruction and the vehicle 103 responding to the first instruction is greater than a preset time threshold.
[0143] In an optional embodiment, before generating the second instruction based on the first interaction information, the terminal device 1022 also compares the first interaction information stored in the previous terminal device 1021 with each other first interaction information, where each other first interaction information is the first interaction information stored in each terminal device other than the previous terminal device 1021 in the terminal device set 102; if the first interaction information stored in the previous terminal device 1021 and each other first interaction information are the same, the execution is triggered based on the first interaction information to generate the second instruction.
[0144] In this implementation, the terminal device 1022 compares the first interaction information stored in the previous terminal device 1021 with each other first interaction information, which may include: after receiving the first interaction information from the server 101, storing the first interaction information; generating a first hash value corresponding to the first interaction information; after receiving each other first block from the server 101, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each terminal device other than the previous terminal device 1021 in the terminal device set 102; if the first hash value and the second hash value corresponding to each other first block are the same, it is determined that the first interaction information stored in the previous terminal device 1021 and each other first interaction information are the same; if the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device 1021 and any other first interaction information are different.
[0145] Optionally, if it is determined that the first interaction information stored in the previous terminal device 1021 is different from any other first interaction information, a vote is initiated to the arbitration terminal device 1023 in the terminal device set 102; wherein the arbitration terminal device 1023 includes at least one terminal device in the terminal device set 102; a voting result from the arbitration terminal device 1023 is received; and based on the voting result, the first interaction information used to generate the second instruction is determined.
[0146] S204. The terminal device 1022 sends the second instruction to the vehicle 103. Accordingly, the vehicle 103 receives the second instruction.
[0147] S205 . The vehicle 103 responds to the second instruction and generates second interaction information based on the response.
[0148] The second interaction information is used to characterize the interaction between the terminal device 1022 and the vehicle 103. The second interaction information includes second interaction time information, second interaction subject information and second interaction result information.
[0149] In an optional implementation, after step S205, the method further includes:
[0150] S2051. The vehicle 103 sends second interaction information to the server 101. Correspondingly, the server 101 receives the second interaction information.
[0151] S2052. The server 101 stores the second interaction information.
[0152] S2053: The server 101 further generates a second block based on the second interaction information;
[0153] S2054, the server 101 broadcasts the second block to the blockchain network. As can be seen from the foregoing, the blockchain network includes the server 101 and each terminal device in the terminal device set 102. In an optional embodiment, after receiving the second interaction information from the server 101, the terminal device 1022 in the terminal device set 102 stores the second interaction information; generates a first hash value corresponding to the second interaction information; after receiving the second block from the server 101, generates a second hash value corresponding to the second interaction information in the second block; the second block is generated by the server 101 based on the second interaction information; compares the first hash value with the second hash value, and verifies the second block according to the comparison result to obtain the verification result of the second block.
[0154] In this implementation, the server 101 compares the first hash value and the second hash value, and verifies the second block based on the comparison result to obtain a verification result of the second block, which may include: if the first hash value and the second hash value are the same, it is determined that the data in the second block is complete; if the first hash value and the second hash value are different, it is determined that the blockchain is incomplete.
[0155] It can be seen that by adopting this implementation mode, each terminal device in the terminal device set 102 can locally save a certain interactive information, and then recalculate its hash value at a certain moment, and compare it with the hash value of the interactive information in the synchronized blockchain, so as to further verify the integrity of the blockchain and then verify the integrity of the data.
[0156] It can be seen that by using the embodiment of the present application, the server 101 can send the first interaction information generated by the interaction between the previous terminal device 1021 in the terminal device set 102 and the vehicle 103 to the terminal device 1022 in the terminal device set 102, so that the terminal device 1022 generates a second instruction based on the first interaction information, and sends the second instruction to the vehicle 103, thereby realizing that when multiple remote instruction issuing entities can control the same function or related functions of the vehicle end, the interaction between multiple instruction issuing entities and the vehicle end is coordinated.
[0157] See also Figure 3 , Figure 3 is a flow chart of another vehicle remote management method provided by an embodiment of the present application. Figure 2 The vehicle remote management method shown differs in that Figure 3 The vehicle remote management method shown also includes the terminal device 1022 verifying the first interaction information stored in each terminal device in the terminal device set 102 before generating the second instruction based on the first interaction information. Figure 3 As shown, the vehicle remote management method may include but is not limited to the following steps:
[0158] S301. The vehicle 103 sends first interaction information to the server 101. Correspondingly, the server 101 receives the first interaction information.
[0159] S302. The server 101 sends the first interaction information to the terminal device 1022. Correspondingly, the terminal device 1022 receives the first interaction information.
[0160] In an optional implementation, the relevant descriptions of steps S301 to S302 can refer to the descriptions of the aforementioned steps S201 to S202, and will not be repeated here.
[0161] S303, the terminal device 1022 determines whether the first interaction information stored in the previous terminal device 1021 is the same as each other first interaction information, if so, execute step S304a; if not, execute step S304b.
[0162] Each other first interaction information is first interaction information stored in each terminal device other than the previous terminal device 1021 in the predetermined terminal device set 102 .
[0163] In an optional implementation, the terminal device 1022 may determine whether the first interaction information stored in the previous terminal device 1021 and each other first interaction information are the same by comparing the first interaction information stored in the previous terminal device 1021 with each other first interaction information.
[0164] Optionally, the terminal device 1022 compares the first interaction information stored in the previous terminal device 1021 with each other first interaction information, which may include: after receiving the first interaction information from the server 101, storing the first interaction information; generating a first hash value corresponding to the first interaction information; after receiving each other first block from the server 101, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each terminal device other than the previous terminal device 1021 in the terminal device set 102; if the first hash value and the second hash value corresponding to each other first block are the same, it is determined that the first interaction information stored in the previous terminal device 1021 and each other first interaction information are the same; if the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device 1021 and any other first interaction information are different. In this way, it is possible to determine whether the first interactive information stored in the previous terminal device 1021 is the same as each other first interactive information, and the integrity of the blockchain can be verified by comparing the first hash value of the first block with the second hash value corresponding to each other first block. If the first hash value is the same as the second hash value corresponding to any other first block, it is determined that the blockchain is complete, thereby determining the integrity of the interactive data.
[0165] S304a. The terminal device 1022 generates a second instruction based on the first interaction information.
[0166] In an optional implementation, after step S304a, the terminal device 1022 further executes step S308.
[0167] In an optional implementation, the relevant description of step S304a can refer to the description of the aforementioned step S203, which will not be repeated here.
[0168] S304b: The terminal device 1022 initiates a vote to the arbitration terminal device 1023 in the terminal device set 102.
[0169] The arbitration terminal device 1023 includes at least one terminal device in the terminal device set 102 .
[0170] S305 , the terminal device 1022 receives the voting result from the arbitration terminal device 1023 .
[0171] S306: Determine first interaction information for generating a second instruction based on the voting result.
[0172] In an optional implementation, the terminal device 1022 determines the first interaction information for generating the second instruction based on the voting result, including: when the number of arbitration terminal devices 1023 is multiple, determine K voting score sums; any voting score sum means: the first interaction information for generating the second instruction indicated by the voting result is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2; the first interaction information corresponding to the maximum voting score sum among the K voting score sums is determined as the first interaction information for generating the second instruction; when the number of arbitration terminal devices 1023 is 1, determine that the first interaction information indicated by the voting result of the arbitration terminal device 1023 is the first interaction information for generating the second instruction.
[0173] Optionally, the method for determining any sum of voting scores includes: calculating the voting score of each arbitration terminal device 1023 based on the weight of each arbitration terminal device 1023 and the voting result of each arbitration terminal device 1023; and adding the voting scores of arbitration terminal devices 1023 with the same voting results according to the weights to obtain any sum of voting scores.
[0174] For example, assuming that the number of arbitration terminal devices 1023 is 4, for example, the arbitration terminal devices 1023 are a terminal device of the Engineering Institute (denoted as terminal device A), a terminal device of the Planning Institute (denoted as terminal device B), a terminal device of the electrical control department (denoted as terminal device C), and a terminal device of the regulatory department (denoted as terminal device D). The first interaction information stored in terminal device A is information 1, the first interaction information stored in terminal device B is information 2, the first interaction information stored in terminal device C is information 2, and the first interaction information stored in terminal device D is information 1. If the weights of terminal device A, terminal device B, terminal device C and terminal device D are 0.2, 0.2, 0.2, 0.4 respectively, and the voting results of terminal device A, terminal device B, terminal device C and terminal device D indicate that the first interactive information used to generate the second instruction is information 1, information 2, information 2, information 1 respectively; then the terminal device 1022 can determine two voting score sums (i.e., the voting score sum corresponding to information 1 and the voting score sum corresponding to information 2), wherein the voting score sum corresponding to information 1 is 0.2+0.4=0.6; the voting score sum corresponding to information 2 is 0.2+0.2=0.4. In this case, the terminal device 1022 can determine the first interactive information (i.e., information 1) corresponding to the maximum voting score sum (i.e., 0.6) of the two voting score sums as the first interactive information used to generate the second instruction. In other words, the terminal device 1022 can determine the first interactive information used to generate the second instruction by assigning different weights to each arbitration terminal device 1023 and following the rule of minority obeys majority. In this way, by assigning different weights to different arbitration terminal devices 1023 for arbitration, the responsibility determination when the interaction results are inconsistent can be clarified.
[0175] For another example, assuming that the number of arbitration terminal devices 1023 is 1, for example, arbitration terminal device 1023 is a terminal device of a regulatory department, if the voting result of arbitration terminal device 1023 indicates that the first interaction information used to generate the second instruction is the first interaction information stored in the previous terminal device 1021 (recorded as information 3), then terminal device 1022 may determine that the first interaction information used to generate the second instruction is information 3. In other words, the first interaction information used to generate the second instruction determined by terminal device 1022 may be determined based on the rule that arbitration terminal device 1023 has one vote.
[0176] S307: The terminal device 1022 generates a second instruction based on the determined first interaction information for generating the second instruction.
[0177] S308. The terminal device 1022 sends the second instruction to the vehicle 103. Accordingly, the vehicle 103 receives the second instruction.
[0178] S309 , the vehicle 103 responds to the second instruction, and generates second interaction information based on the response.
[0179] In an optional implementation, the vehicle 103 may also perform a key verification on the second instruction before responding to the second instruction and generating second interaction information based on the response.
[0180] Optionally, if the key verification is successful, the vehicle 103 executes the second instruction. In this case, the second interaction information includes the result of the vehicle 103 executing the second instruction; if the key verification fails, the vehicle 103 does not execute the second instruction. In this case, the second interaction information includes the reason for the failure of the interaction between the vehicle 103 and the terminal device 1022.
[0181] S310 , the vehicle 103 sends second interaction information to the server 101 , and correspondingly, the server 101 receives the second interaction information.
[0182] In an optional implementation, after step S310, the server 101 may further store the second interaction information. In an optional implementation, after step S310, the method further includes:
[0183] S3101, the server 101 also generates a second block based on the second interaction information;
[0184] S3102. Broadcast the second block to the blockchain network.
[0185] In an optional embodiment, before broadcasting the second block to the blockchain network, the server 101 also compares the first interaction information stored in the previous terminal device 1021 with each other first interaction information, where the other first interaction information is the first interaction information stored in each terminal device other than the previous terminal device 1021 in the terminal device set 102; if the first interaction information and each other first interaction information are the same, the execution of broadcasting the second block to the blockchain network is triggered.
[0186] In this implementation, the server 101 compares the first interaction information stored in the previous terminal device 1021 with each other first interaction information, including: after receiving the first interaction information from the server 101, storing the first interaction information; generating a first hash value corresponding to the first interaction information; after receiving each other first block from the server 101, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each other terminal device in the terminal device set 102 except the previous terminal device 1021; if the first hash value and the second hash value corresponding to each other first block are the same, it is determined that the first interaction information stored in the previous terminal device 1021 and each other first interaction information are the same; if the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device 1021 and any other first interaction information are different.
[0187] In this implementation, if the server 101 determines that the first interaction information stored in the previous terminal device 1021 is different from any other first interaction information, it initiates voting to the arbitration terminal device 1023 in the terminal device set 102; wherein the arbitration terminal device 1023 includes at least one terminal device in the terminal device set 102; receives the voting result from the arbitration terminal device 1023; determines the target first interaction information based on the voting result; sends the target first interaction information to the terminal device to be synchronized 1024, so that the terminal device to be synchronized 1024 stores the target first interaction information; wherein the terminal device to be synchronized 1024 is a terminal device whose stored first interaction information is different from the target first interaction information. In this way, it can avoid the inconsistency of the first interaction information stored by each terminal device in the terminal device set 102 due to hardware problems or network problems.
[0188] In this implementation, the server 101 determines the target first interaction information based on the voting result, including: when the number of arbitration terminal devices 1023 is multiple, determining K voting score sums; any voting score sum refers to: the voting result indicates that the target first interaction information is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2; the first interaction information corresponding to the maximum voting score sum among the K voting score sums is determined as the target first interaction information; when the number of arbitration terminal devices 1023 is 1, determining the first interaction information indicated by the voting result of the arbitration terminal device 1023 as the target first interaction information.
[0189] For example, assuming that the number of arbitration terminal devices 1023 is 5, for example, the arbitration terminal devices 1023 are a terminal device of the Engineering Institute (denoted as terminal device A), a terminal device of the Planning Institute (denoted as terminal device B), a terminal device of the electrical control department (denoted as terminal device C), a terminal device of the Design Institute (denoted as terminal device D) and a terminal device of the regulatory department (denoted as terminal device E), the first interaction information stored in terminal device A is information 1, the first interaction information stored in terminal device B is information 2, the first interaction information stored in terminal device C is information 2, the first interaction information stored in terminal device D is information 1, and the first interaction information stored in terminal device E is information 3. If the weights of terminal device A, terminal device B, terminal device C, terminal device D and terminal device E are 0.1, 0.2, 0.2, 0.2, 0.3 respectively, and the voting results of terminal device A, terminal device B, terminal device C, terminal device D and terminal device E indicate that the first interactive information used to generate the second instruction is information 1, information 2, information 2, information 1, and information 3 respectively; then the server 101 can determine the three voting score sums (i.e., the voting score sum corresponding to information 1, the voting score sum corresponding to information 2, and the voting score sum corresponding to information 3), wherein the voting score sum corresponding to information 1 is 0.1+0.2=0.3; the voting score sum corresponding to information 2 is 0.2+0.2=0.4; and the voting score sum corresponding to information 3 is 0.3. In this case, the server 101 can determine the first interactive information (i.e., information 2) corresponding to the maximum voting score sum (i.e., 0.4) among the three voting score sums as the target first interactive information. At this time, the server 101 may also send information 2 to terminal device A, terminal device D and terminal device E.
[0190] For another example, assuming that the number of arbitration terminal devices 1023 is 1, for example, arbitration terminal device 1023 is a terminal device of the regulatory department, if the voting result of arbitration terminal device 1023 indicates that the target first interaction information is the first interaction information stored in the terminal device, then server 101 can determine that the first interaction information stored in terminal device 1022 is the target first interaction information.
[0191] In the embodiment of the present application, the server 101 may send the first interaction information generated by the interaction between the previous terminal device 1021 in the terminal device set 102 and the vehicle 103 to the terminal device 1022 in the terminal device set 102, so that the terminal device 1022 generates a second instruction based on the first interaction information, thereby realizing that when multiple remote instruction issuing entities can control the same function or related functions of the vehicle end, the interaction between multiple instruction issuing entities and the vehicle end is coordinated. In addition, before generating the second instruction, the terminal device 1022 may verify the first interaction information stored in each terminal device in the terminal device set 102, and generate the second instruction based on the first interaction information when the first interaction information stored in each terminal device in each terminal device set 102 is the same. Moreover, when it is determined that the first interaction information stored in a certain terminal device is different from the first interaction information stored in any terminal device in the terminal device set 102, the server 101 may adopt a multi-party arbitration method to determine the target first interaction information, and send the target first interaction information to the terminal device whose stored first interaction information is different from the target first interaction information. In this way, the vehicle 103 management system can form a closed loop, thereby further ensuring the consistency of the interactive information. In addition, in the process of multi-party arbitration, by assigning different weights to each terminal device in the terminal device set 102 for arbitration, the responsibility determination when the interactive results are inconsistent can be clarified.
[0192] The following describes the generation method of the first block, the second block, or the third block mentioned in the above vehicle remote management method. For ease of description, the following describes the generation of the first block by the server 101 as an example.
[0193] In an optional implementation, the server 101 generates the first block based on the first interaction information, which may include: obtaining the block information of the most recently uploaded historical block in the blockchain network; generating the first block based on the first interaction information and the block information of the historical block. This implementation ensures that the data is completely traceable during the entire life cycle interaction process.
[0194] In this implementation, since the first block in the blockchain network does not have the block information of the historical block, if the first interactive information is generated by the first interaction between the vehicle 103 and a terminal device in the terminal device set 102, and before that, no terminal device in the terminal device set 102 interacted with the vehicle 103, then the server 101 can generate the first block according to the first interactive information. If there are other terminal devices that have interacted with the vehicle 103 before the terminal device interacts with the vehicle 103 to obtain the first interactive information, it is considered that it is not generated by the first interaction between the vehicle 103 and a terminal device in the terminal device set 102 (for example, the first interactive information is generated by the second interaction between the vehicle 103 and the terminal device in the terminal device set 102). Then, the server 101 needs to first obtain the block information of the most recent historical block on the blockchain network; generate the block header of the first block according to the block information of the most recent historical block on the chain; determine the block body data of the first block according to the first interactive information; determine the first block based on the block header of the first block and the block body data of the first block.
[0195] In this implementation, the block data includes at least one of the following: business data (i.e., first interaction information) and regulatory information. For example, the block data may be business data; the block data may also be regulatory information; or the block data may also be business data and regulatory information.
[0196] Optionally, the business data may include but is not limited to interaction records, interaction results, BMS messages, secret keys, cyclic redundancy check (CRC) verification information, identification of the terminal device 1022, etc., wherein the BMS message refers to the message involved in the server 101 sending the BMS instruction, and the BMS message may include but is not limited to voltage, current, temperature, alarm signal, instrument battery state of charge (State of Charge, SOC), etc.
[0197] Optionally, the regulatory information is interactive information generated by the vehicle 103 in response to the instruction 1 after the terminal device of the regulatory agency in the terminal device set 102 sends an instruction (for example, denoted as instruction 1) to the vehicle 103. Optionally, the regulatory information includes whether the management of the battery in a certain period of time is qualified.
[0198] See also Figure 4 , Figure 4 This is a schematic diagram of a blockchain implementation principle provided by the embodiment of this application. Figure 4 As shown, each block includes a block header, a block body, and a block hash.
[0199] The block header includes the hash of the previous block (i.e. the most recent historical block on the blockchain network), Merkle Hash, timestamp, etc. Prev Hash is used to record the Block Hash of the previous block, that is, the previous block can be traced back to the previous block according to the Prev Hash. Merkle Hash is used to record all interaction records of the current block to ensure that the interaction records cannot be modified.
[0200] The block body is the actual data part, and the actual data in the block body can also be called block body data. Optionally, the relevant description of the block body data can be found in the above description, and will not be repeated here.
[0201] Block hash is used to identify a block. Block hash can be obtained by calculating the hash of the block header using a hash algorithm. Hash algorithm is also called hash algorithm. Hash algorithm is a one-way function that can convert input data of any length into output of fixed length. Optional, common hash algorithms include message-digest algorithm 5 (MD5), secure hash algorithm (SHA-256), SHA-512, etc.
[0202] like Figure 4 As shown, the server 101 generates the first block based on the information (business data) of the current interaction stage one by one, and connects the first block to the chain, and finally forms a blockchain network for the interaction between the terminal devices in the terminal device set 102 and the vehicle 103. In this case, if any terminal device modifies the interaction strategy at a certain stage (for example, the order in which the BMS message is sent), it will cause the verification failure of the subsequent blocks and the interruption of the chain. Therefore, the vehicle remote management method based on blockchain technology can not only ensure that the interactive data is authentic and cannot be tampered with during the sharing and circulation process, but also ensure that the interactive data is completely traceable during the interaction of the entire life cycle.
[0203] The following uses the battery management of an electric vehicle as an example to illustrate the vehicle remote management method provided by the embodiment of the present application. Figure 5 , Figure 5 Schematic diagram of a cloud car BMS interaction process provided by an embodiment of the present application. Figure 5 As shown, the terminal device in the terminal device set (for example, Figure 5The terminal device A, terminal device B and terminal device C in the embodiment can send BMS instructions to the electric vehicle respectively; after receiving the BMS instruction, the electric vehicle performs a secret key verification on the BMS instruction and sends the interactive information generated based on the BMS instruction to the server; after receiving the interactive information each time, the server can save the interactive information, generate blocks based on the interactive information, and publish the blocks to the blockchain network. Terminal device A, terminal device B and terminal device C can synchronize the blockchain network in real time for distributed backup. It can be seen that in the cloud car BMS interaction method provided in the embodiment of the present application, a consensus system with a strong security mechanism and multi-party participation under an open architecture is built based on blockchain technology. It integrates multiple technologies such as distributed storage, point-to-point transmission, encryption algorithm, consensus mechanism, smart contract, etc., which can ensure the authenticity and effectiveness of the cloud car BMS interactive information, and the interaction record is complete and traceable. In addition, each terminal device in the terminal device set can increase the fault tolerance of the blockchain system by copying data, making the electric vehicle cloud car BMS interactive system more secure and reliable, thereby providing a reliable supervision mechanism for automobile enterprise branches and regulatory departments.
[0204] Based on the description of the above-mentioned vehicle remote management method, the present application also provides a vehicle remote management device, which can execute Figure 2 or Figure 3 or Figure 5 See the remote vehicle management method shown in Figure 6 , Figure 6 Schematic diagram of a vehicle remote management device provided in an embodiment of the present application. Figure 6 As shown, the vehicle remote management device may include but is not limited to a receiving unit 601 , a sending unit 602 and a processing unit 603 .
[0205] In an optional implementation, the vehicle remote management device may perform the operations performed by the server in the aforementioned vehicle remote management method, for example:
[0206] A receiving unit 601 is used to receive first interaction information generated by the interaction between the vehicle and a previous terminal device; wherein the previous terminal device is any terminal device in a predetermined terminal device set, the terminal device set includes a plurality of terminal devices suitable for interacting with the vehicle, the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, and the first interaction information is used to characterize the interaction between the previous terminal device and the vehicle;
[0207] The sending unit 602 is used to send the first interaction information to the terminal device, so that the terminal device generates a second instruction based on the first interaction information, and the second instruction is suitable for being responded to by the vehicle and obtaining the second interaction information.
[0208] In this embodiment, after the receiving unit 601 receives and stores the first interaction information generated by the interaction between the vehicle and the previous terminal device in the terminal device set, the processing unit 603 is also used to: determine the first interaction strategy between the previous terminal device and the vehicle based on the first interaction information, and send the first interaction strategy to the previous terminal device; wherein the first interaction strategy is used to control the interaction behavior between the previous terminal device and the vehicle within a preset time period.
[0209] In this embodiment, when the processing unit 603 is used to determine the first interaction strategy between the previous terminal device and the vehicle based on the first interaction information, it is specifically used to: if the first interaction information indicates that the vehicle failed to verify the previous terminal device before responding to the first instruction, then count the number of verification failures of the previous terminal device within a preset historical time period; if the number of verification failures reaches a preset number threshold, then determine that the first interaction strategy is for the previous terminal device to suspend interaction with the vehicle within a preset time period.
[0210] In this embodiment, when the processing unit 603 is used to determine the first interaction strategy based on the first interaction information, it is specifically used to: if the first interaction information indicates that the vehicle fails to respond to the first instruction, send the first interaction information to the previous terminal device; determine the first interaction strategy for the previous terminal device to continue to interact with the vehicle after receiving the first interaction information.
[0211] In this implementation, before the sending unit 602 sends the first interaction information to the terminal device, the processing unit 603 may generate a first block based on the first interaction information;
[0212] When the sending unit 602 is used to send the first interaction information to the terminal device, it is specifically used to: broadcast the first block to the blockchain network, wherein the blockchain network includes each terminal device in the server and the terminal device set;
[0213] After the sending unit 602 is used to send the first interaction information to the terminal device, the receiving unit 601 is also used to receive and store the second interaction information sent by the vehicle; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle; the processing unit 603 also generates a second block based on the second interaction information; and broadcasts the second block to the blockchain network.
[0214] In this implementation, before being used to broadcast the second block to the blockchain network, the processing unit 603 is also used to: compare the first interaction information stored in the previous terminal device with each other first interaction information, where the other first interaction information is the first interaction information stored in each other terminal device in the terminal device set except the previous terminal device; if the first interaction information stored in the previous terminal device and each other first interaction information are the same, then triggering the execution of broadcasting the second block to the blockchain network.
[0215] In this implementation, when the processing unit 603 is used to compare the first interaction information stored in the previous terminal device with each other first interaction information, it is specifically used to: store the first interaction information after receiving the first interaction information from the server; generate a first hash value corresponding to the first interaction information; after receiving each other first block from the server, generate a second hash value corresponding to each other first block; each other first block is a first block stored in each other terminal device in the terminal device set except the previous terminal device; if the first hash value and the second hash value corresponding to each other first block are the same, it is determined that the first interaction information stored in the previous terminal device and each other first interaction information are the same; if the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device and any other first interaction information are different.
[0216] In this implementation manner, the processing unit 603 is further configured to: if it is determined that the first interaction information stored in the previous terminal device is different from any other first interaction information, initiate voting to an arbitration terminal device in the terminal device set; wherein the arbitration terminal device includes at least one terminal device in the terminal device set; receive voting results from the arbitration terminal device; determine target first interaction information based on the voting results; send the target first interaction information to the terminal device to be synchronized, so that the terminal device to be synchronized stores the target first interaction information; wherein the terminal device to be synchronized refers to: a terminal device in which the stored first interaction information is different from the target first interaction information.
[0217] In this implementation manner, when the processing unit 603 is used to determine the target first interaction information based on the voting result, it is specifically used to: when the number of arbitration terminal devices is multiple, determine K voting score sums; any voting score sum refers to: the voting result indicates that the target first interaction information is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2; determine the first interaction information corresponding to the maximum voting score sum among the K voting score sums as the target first interaction information; when the number of arbitration terminal devices is 1, determine the first interaction information indicated by the voting result of the arbitration terminal device as the target first interaction information.
[0218] In this implementation manner, a method for determining any sum of voting scores includes: calculating the voting score of each arbitration terminal device based on the weight of each arbitration terminal device and the voting result of each arbitration terminal device; and adding the voting scores of arbitration terminal devices with the same voting results according to the weights to obtain any sum of voting scores.
[0219] In another optional implementation, the vehicle remote management device may execute the operations executed by the terminal devices in the predetermined terminal device set in the aforementioned vehicle remote management method, for example:
[0220] The receiving unit 601 is used to receive first interaction information from the server; the first interaction information is generated by the vehicle based on a first instruction from a previous terminal device, the previous terminal device is any terminal device other than the terminal device in the terminal device set, and the terminal device set includes multiple terminal devices that interact with the vehicle; the first interaction information is used to characterize the interaction between the previous terminal device and the vehicle;
[0221] The processing unit 603 is configured to generate a second instruction based on the first interaction information;
[0222] The sending unit 602 is used to send a second instruction to the vehicle so that the vehicle responds to the second instruction and generates second interaction information; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
[0223] In this implementation, the first interaction information includes first interaction time information, first interaction subject information and first interaction result information.
[0224] In this embodiment, when the first instruction and the second instruction control the same parameters of the vehicle, and the first interaction result information indicates that the vehicle successfully responds to the first instruction, the terminal device generates a second instruction based on the first interaction time information so that the time interval between the vehicle's response to the second instruction and the vehicle's response to the first instruction is greater than a preset time threshold.
[0225] In this implementation, before being used to generate a second instruction based on the first interaction information, the processing unit 603 is also used to: compare the first interaction information stored in the previous terminal device with each other first interaction information, where each other first interaction information is the first interaction information stored in each terminal device other than the previous terminal device in the terminal device set; if the first interaction information stored in the previous terminal device and each other first interaction information are the same, then triggering the execution based on the first interaction information to generate a second instruction.
[0226] In this implementation, when the processing unit 603 is used to compare the first interaction information stored in the previous terminal device with each other first interaction information, it is specifically used to: store the first interaction information after receiving the first interaction information from the server; generate a first hash value corresponding to the first interaction information; after receiving each other first block from the server, generate a second hash value corresponding to each other first block; each other first block is a first block stored in each other terminal device in the terminal device set except the previous terminal device; if the first hash value and the second hash value corresponding to each other first block are the same, it is determined that the first interaction information stored in the previous terminal device and each other first interaction information are the same; if the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device and any other first interaction information are different.
[0227] In this implementation, the processing unit 603 is further used to: if it is determined that the first interaction information stored in the previous terminal device is different from any other first interaction information, initiate voting to the arbitration terminal device in the terminal device set; wherein the arbitration terminal device includes at least one terminal device in the terminal device set; receive the voting result from the arbitration terminal device; and determine the first interaction information used to generate the second instruction based on the voting result.
[0228] In this implementation manner, when the processing unit 603 is used to determine the first interaction information for generating the second instruction based on the voting result, it is specifically used to: when the number of arbitration terminal devices is multiple, determine K voting score sums; any voting score sum means: the first interaction information for generating the second instruction indicated by the voting result is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2; determine the first interaction information corresponding to the maximum voting score sum among the K voting score sums as the first interaction information for generating the second instruction; when the number of arbitration terminal devices is 1, determine the first interaction information indicated by the voting result of the arbitration terminal device as the first interaction information for generating the second instruction.
[0229] In this implementation manner, a method for determining any sum of voting scores includes: calculating the voting score of each arbitration terminal device based on the weight of each arbitration terminal device and the voting result of each arbitration terminal device; and adding the voting scores of arbitration terminal devices with the same voting results according to the weights to obtain any sum of voting scores.
[0230] In another optional implementation, the vehicle remote management device may perform the operations performed by the vehicle in the aforementioned vehicle remote management method, for example:
[0231] The sending unit 602 is used to send first interaction information characterizing the interaction with the previous terminal device to the server, so that the server receives and stores the first interaction information, and the server sends the first interaction information to a terminal device in a predetermined terminal device set; the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, the previous terminal device is any terminal device in the terminal device set; the terminal device set includes multiple terminal devices interacting with the vehicle; the terminal device is any terminal device in the terminal device set except the previous terminal device;
[0232] The receiving unit 601 is configured to receive a second instruction from a terminal device, where the second instruction is generated by the terminal device based on the first interaction information;
[0233] The processing unit 603 is used to respond to the second instruction and generate second interaction information based on the response; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
[0234] In an optional implementation, the first interaction information includes first interaction time information, first interaction subject information and first interaction result information.
[0235] It can be understood that the specific implementation of each unit in the vehicle remote management device provided in the embodiment of the present application and the beneficial effects that can be achieved can be referred to the description of the aforementioned vehicle remote management method embodiment, and will not be repeated here.
[0236] Based on the description of the above method embodiment and device embodiment, the present application embodiment also provides a server. Figure 7 , Figure 7 Schematic diagram of the structure of a server provided in an embodiment of the present application. Figure 7 As shown, the server at least includes a processor 701, a memory 702, and a communication interface 703. The processor 701, the memory 702, and the communication interface 703 may be connected via a bus 704 or other methods. The embodiment of the present application takes the connection via the bus 704 as an example.
[0237] Among them, the processor 701 (or central processing unit (CPU)) is the computing core and control core of the terminal device, which can parse various instructions in the terminal device and process various data of the terminal device. For example, the CPU can be used to parse the power on and off instructions sent by the user to the terminal device, and control the terminal device to perform power on and off operations; for example, the CPU can transmit various interactive data between the internal structures of the terminal device, and so on. The communication interface 703 may optionally include a standard wired interface, a wireless interface (such as Wi-Fi, a mobile communication interface, etc.), which is controlled by the processor 701 to send and receive data. The memory 702 (Memory) is a memory device in the terminal device for storing computer programs and data. It can be understood that the memory 702 here can include both the built-in memory of the terminal device and the extended memory supported by the terminal device. In an optional embodiment, the processor 701 of the embodiment of the present application can execute the operation of the server in the aforementioned vehicle remote management method by running the computer program stored in the memory 702, for example:
[0238] Receiving first interaction information generated by the interaction between the vehicle and a previous terminal device; wherein the previous terminal device is any terminal device in a predetermined terminal device set, the terminal device set includes a plurality of terminal devices suitable for interacting with the vehicle, the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, and the first interaction information is used to characterize the interaction between the previous terminal device and the vehicle;
[0239] The first interaction information is sent to the terminal device, so that the terminal device generates a second instruction based on the first interaction information, and the second instruction is suitable for being responded to by the vehicle and obtaining the second interaction information.
[0240] In an optional embodiment, after receiving and storing the first interaction information generated by the interaction between the vehicle and the previous terminal device in the terminal device set, the processor 701 also executes: based on the first interaction information, determining a first interaction strategy between the previous terminal device and the vehicle, and sending the first interaction strategy to the previous terminal device; wherein the first interaction strategy is used to control the interaction behavior between the previous terminal device and the vehicle within a preset time period.
[0241] In an optional embodiment, when the processor 701 determines the first interaction strategy between the previous terminal device and the vehicle based on the first interaction information, it specifically performs: if the first interaction information indicates that the vehicle failed to verify the previous terminal device before responding to the first instruction, then the number of verification failures of the previous terminal device within a preset historical time period is counted; if the number of verification failures reaches a preset number threshold, then the first interaction strategy is determined to be that the previous terminal device suspends interaction with the vehicle within a preset time period.
[0242] In an optional embodiment, when the processor 701 determines the first interaction strategy between the previous terminal device and the vehicle based on the first interaction information, it specifically performs: if the first interaction information indicates that the vehicle fails to respond to the first instruction, the first interaction information is sent to the previous terminal device; and the first interaction strategy is determined as the previous terminal device continuing to interact with the electric vehicle after receiving the first interaction information.
[0243] In an optional implementation, before sending the first interaction information to the terminal device, the processor 701 further executes: generating a first block based on the first interaction information;
[0244] When executing to send the first interaction information to the terminal device, the processor 701 specifically executes: broadcasting the first block to the blockchain network, wherein the blockchain network includes the server and each terminal device in the terminal device set;
[0245] After executing the sending of the first interaction information to the terminal device, the processor 701 also executes: receiving and storing the second interaction information sent by the vehicle, wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle; generating a second block based on the second interaction information; and broadcasting the second block to the blockchain network.
[0246] In an optional embodiment, before executing the broadcasting of the second block to the blockchain network, the processor 701 further executes: comparing the first interaction information stored in the previous terminal device with each other first interaction information, where the other first interaction information is the first interaction information stored in each other terminal device in the terminal device set except the previous terminal device; if the first interaction information stored in the previous terminal device and each other first interaction information are the same, then triggering the execution of broadcasting the second block to the blockchain network.
[0247] In an optional embodiment, when the processor 701 compares the first interaction information stored in the previous terminal device with each other first interaction information, it specifically performs: after receiving the first interaction information from the server, storing the first interaction information; generating a first hash value corresponding to the first interaction information; after receiving each other first block from the server, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each terminal device other than the previous terminal device in the terminal device set; if the first hash value and the second hash value corresponding to each other first block are the same, it is determined that the first interaction information stored in the previous terminal device and each other first interaction information are the same; if the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device and any other first interaction information are different.
[0248] In an optional implementation, the processor 701 further executes: if it is determined that the first interaction information stored in the previous terminal device is different from any other first interaction information, initiating a vote to an arbitration terminal device in the terminal device set; wherein the arbitration terminal device includes at least one terminal device in the terminal device set; receiving a voting result from the arbitration terminal device; based on the voting result, determining the target first interaction information; sending the target first interaction information to the terminal device to be synchronized, so that the terminal device to be synchronized stores the target first interaction information; wherein the terminal device to be synchronized refers to: a terminal device whose stored first interaction information is different from the target first interaction information.
[0249] In an optional implementation, when the processor 701 determines the target first interaction information based on the voting result, the processor 701 specifically performs: when the number of arbitration terminal devices is multiple, determining K voting score sums; any voting score sum refers to: the voting result indicates that the target first interaction information is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2; the first interaction information corresponding to the maximum voting score sum among the K voting score sums is determined as the target first interaction information; when the number of arbitration terminal devices is 1, determining the first interaction information indicated by the voting result of the arbitration terminal device as the target first interaction information.
[0250] In an optional implementation manner, a method for determining any sum of voting scores includes: calculating the voting score of each arbitration terminal device based on the weight of each arbitration terminal device and the voting result of each arbitration terminal device; and adding the voting scores of arbitration terminal devices with the same voting results according to the weights to obtain any sum of voting scores.
[0251] In a specific implementation, the processor 701 described in the embodiment of the present application can execute the implementation method executed by the server in the vehicle remote management method provided in the embodiment of the present application, and can also execute the implementation method executed by the server in the vehicle remote management device provided in the embodiment of the present application, which will not be repeated here.
[0252] The present application also provides a terminal device, see Figure 8 , Figure 8 1 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. The terminal device is, for example, a terminal device in the aforementioned terminal device set. Figure 8 As shown, the terminal device at least includes a processor 801, a memory 802, and a communication interface 803. The above-mentioned processor 801, memory 802 and communication interface 803 can be connected via a bus 804 or other methods. The embodiment of the present application takes the connection via bus 804 as an example. Optionally, the relevant description of the processor 801 and the memory 802 can refer to the description of the processor 701 and the memory 702 in the aforementioned server, respectively, and will not be repeated here. The processor 801 of the embodiment of the present application can execute the operation of the terminal device in the predetermined terminal device set in the aforementioned vehicle remote management method by running the computer program stored in the memory 802, for example:
[0253] receiving first interaction information from a server; the first interaction information is generated by the vehicle based on a first instruction from a previous terminal device, the previous terminal device being any terminal device other than the terminal device in a terminal device set, the terminal device set including a plurality of terminal devices interacting with the vehicle; the first interaction information is used to characterize a situation in which the previous terminal device interacts with the vehicle;
[0254] generating a second instruction based on the first interaction information;
[0255] A second instruction is sent to the vehicle so that the vehicle responds to the second instruction and generates second interaction information, wherein the second interaction information includes second interaction time information, second interaction subject information and second interaction result information; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
[0256] In an optional implementation, the first interaction information includes first interaction time information, first interaction subject information and first interaction result information.
[0257] In an optional embodiment, when the first instruction and the second instruction control the same parameter of the vehicle, and the first interaction result information indicates that the vehicle successfully responds to the first instruction, the terminal device generates a second instruction based on the first interaction time information so that the time interval between the vehicle's response to the second instruction and the vehicle's response to the first instruction is greater than a preset time threshold.
[0258] In an optional embodiment, before executing the second instruction based on the first interaction information, the processor 801 also executes: comparing the first interaction information stored in the previous terminal device with each other first interaction information, each other first interaction information is the first interaction information stored in each terminal device other than the previous terminal device in the terminal device set; if the first interaction information stored in the previous terminal device and each other first interaction information are the same, then triggering the execution based on the first interaction information to generate the second instruction.
[0259] In an optional embodiment, when the processor 801 compares the first interaction information stored in the previous terminal device with each other first interaction information, it specifically performs: after receiving the first interaction information from the server, storing the first interaction information; generating a first hash value corresponding to the first interaction information; after receiving each other first block from the server, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each terminal device other than the previous terminal device in the terminal device set; if the first hash value and the second hash value corresponding to each other first block are the same, it is determined that the first interaction information stored in the previous terminal device and each other first interaction information are the same; if the first hash value is different from the second hash value corresponding to any other first block, it is determined that the first interaction information stored in the previous terminal device and any other first interaction information are different.
[0260] In an optional implementation, the processor 801 further executes: if it is determined that the first interaction information stored in the previous terminal device is different from any other first interaction information, initiating a vote to an arbitration terminal device in the terminal device set; wherein the arbitration terminal device includes at least one terminal device in the terminal device set; receiving a voting result from the arbitration terminal device; and determining, based on the voting result, the first interaction information used to generate a second instruction.
[0261] In an optional implementation, when the processor 801 determines the first interaction information used to generate the second instruction based on the voting result, the processor 801 specifically performs: when the number of arbitration terminal devices is multiple, determine K voting score sums; any voting score sum refers to: the first interaction information used to generate the second instruction indicated by the voting result is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2; the first interaction information corresponding to the maximum voting score sum among the K voting score sums is determined as the first interaction information used to generate the second instruction; when the number of arbitration terminal devices is 1, determine that the first interaction information indicated by the voting result of the arbitration terminal device is the first interaction information used to generate the second instruction.
[0262] In an optional implementation manner, a method for determining any sum of voting scores includes: calculating the voting score of each arbitration terminal device based on the weight of each arbitration terminal device and the voting result of each arbitration terminal device; and adding the voting scores of arbitration terminal devices with the same voting results according to the weights to obtain any sum of voting scores.
[0263] In a specific implementation, the processor 801 described in the embodiment of the present application can execute the implementation method executed by the terminal device in the terminal device set in the vehicle remote management method provided in the embodiment of the present application, and can also execute the implementation method executed by the terminal device in the terminal device set in the vehicle remote management device provided in the embodiment of the present application, which will not be repeated here.
[0264] The present application also provides a vehicle, see Fig. 9 , Fig. 9 Schematic diagram of a vehicle structure provided by an embodiment of the present application. Fig. 9 As shown, the vehicle includes a vehicle body 901 and a processing module 902. The processing module 902 can execute the operations performed by the vehicle in the aforementioned vehicle remote management method, for example:
[0265] Sending first interaction information characterizing the interaction with the previous terminal device to the server, so that the server receives and stores the first interaction information, and the server sends the first interaction information to a terminal device in a predetermined terminal device set; the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, the previous terminal device is any terminal device in the terminal device set; the terminal device set includes a plurality of terminal devices interacting with the vehicle; the terminal device is any terminal device in the terminal device set except the previous terminal device;
[0266] receiving a second instruction from a terminal device, where the second instruction is generated by the terminal device based on the first interaction information;
[0267] Respond to the second instruction, and generate second interaction information based on the response, wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
[0268] In an optional implementation, the first interaction information includes first interaction time information, first interaction subject information and first interaction result information.
[0269] In a specific implementation, the processing module 902 described in the embodiment of the present application can execute the implementation method executed by the target electric vehicle in the vehicle remote management method provided in the embodiment of the present application, and can also execute the implementation method executed by the target electric vehicle in the vehicle remote management device provided in the embodiment of the present application, which will not be repeated here.
[0270] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0271] An embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the steps in any of the above method embodiments.
[0272] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store computer programs, and the processor is used to call and run the computer programs from the memory, so that a device equipped with the chip executes the steps in any of the above method embodiments.
[0273] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0274] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0275] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.
[0276] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0277] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.
[0278] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
[0279] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a storage disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state storage disk Solid State Disk (SSD)), etc.
[0280] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A vehicle remote management method, the method is applied in a server, characterized in that: The method comprises: Receiving first interaction information generated by the interaction between the vehicle and a previous terminal device; wherein the previous terminal device is any terminal device in a predetermined terminal device set, the terminal device set includes a plurality of terminal devices suitable for interacting with the vehicle, the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, and the first interaction information is used to characterize the interaction between the previous terminal device and the vehicle; The first interactive information is sent to a terminal device so that the terminal device generates a second instruction based on the first interactive information, and the second instruction is suitable for the vehicle to respond to and obtain the second interactive information terminal device.
2. The method according to claim 1, characterized in that After receiving and storing the first interaction information generated by the interaction between the vehicle and the previous terminal device, the method further includes: Based on the first interaction information, a first interaction strategy between the previous terminal device and the vehicle is determined, and the first interaction strategy is sent to the previous terminal device; wherein the first interaction strategy is used to control the interaction behavior between the previous terminal device and the vehicle within a preset time period.
3. The method according to claim 2, characterized in that The determining, based on the first interaction information, a first interaction strategy between the previous terminal device and the vehicle includes: If the first interaction information indicates that the vehicle failed to authenticate the previous terminal device before responding to the first instruction, counting the number of authentication failures of the previous terminal device within a preset historical time period; If the number of verification failures reaches a preset threshold, the first interaction strategy is determined as the previous terminal device suspending interaction with the vehicle within a preset time period.
4. The method according to claim 2, characterized in that: The determining a first interaction strategy based on the first interaction information includes: If the first interaction information indicates that the vehicle fails to respond to the first instruction, sending the previous interaction information to the previous terminal device; Determine the first interaction strategy as that the previous terminal device continues to interact with the vehicle after receiving the first interaction information.
5. The method according to claim 1, characterized in that Before sending the first interaction information to the terminal device, the method further includes: Based on the first interaction information, generate a first block; The sending the first interaction information to the terminal device includes: Broadcasting the first block to a blockchain network; wherein the blockchain network includes the server and each terminal device in the set of terminal devices; After sending the first interaction information to the terminal device, the method further includes: Receiving and storing second interaction information sent by the vehicle; wherein the second interaction information is generated by the vehicle based on a second instruction from the terminal device, and the second interaction information is used to characterize the interaction between the terminal device and the vehicle; Based on the second interaction information, generate a second block; Broadcasting the second block to the blockchain network.
6. The method according to claim 5, characterized in that Before broadcasting the second block to the blockchain network, the method further includes: Compare the first interaction information stored in the previous terminal device with each other first interaction information, where the other first interaction information is the first interaction information stored in each other terminal device in the terminal device set except the previous terminal device; If the first interaction information and each other first interaction information are the same, the broadcasting of the second block to the blockchain network is triggered.
7. The method according to claim 6, characterized in that The comparing the first interaction information stored in the previous terminal device with each other first interaction information includes: After receiving the first interaction information from the server, storing the first interaction information; Generate a first Hash value corresponding to the first interaction information; After receiving each other first block from the server, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each other terminal device in the terminal device set except the previous terminal device; If the first hash value is the same as the second hash value corresponding to each other first block, it is determined that the first interaction information stored in the previous terminal device is the same as each other first interaction information; If the first hash value is different from the second hash value corresponding to any of the other first blocks, it is determined that the first interaction information stored in the previous terminal device is different from any of the other first interaction information.
8. The method according to claim 7, characterized in that The method further comprises: If it is determined that the first interaction information stored in the previous terminal device is different from any of the other first interaction information, initiating a vote to the arbitration terminal device in the terminal device set; wherein the arbitration terminal device includes at least one terminal device in the terminal device set; Receiving voting results from the arbitration terminal device; Based on the voting result, determining target first interaction information; The target first interaction information is sent to the terminal device to be synchronized, so that the terminal device to be synchronized stores the target first interaction information; wherein the terminal device to be synchronized is a terminal device whose stored first interaction information is different from the target first interaction information.
9. The method according to claim 8, characterized in that The determining, based on the voting result, target first interaction information includes: When there are multiple arbitration terminal devices, K voting score sums are determined; any voting score sum refers to: the voting result indicates that the target first interaction information is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2; Determine the first interaction information corresponding to the maximum voting score sum among the K voting score sums as the target first interaction information; When the number of the arbitration terminal device is 1, it is determined that the first interaction information indicated by the voting result of the arbitration terminal device is the target first interaction information.
10. The method according to claim 9, characterized in that The method for determining the total of any one of the voting scores includes: Calculating the voting score of each arbitration terminal device based on the weight of each arbitration terminal device and the voting result of each arbitration terminal device; The voting scores of arbitration terminal devices with the same voting results are added according to the weights to obtain the sum of any voting scores.
11. A vehicle remote management method, the method being applied to a terminal device in a predetermined terminal device set, characterized in that: The method comprises: receiving first interaction information from a server; the first interaction information is generated by the vehicle based on a first instruction from a previous terminal device, the previous terminal device being any terminal device in the terminal device set except the terminal device, the terminal device set including a plurality of terminal devices interacting with the vehicle; the first interaction information is used to characterize a situation in which the previous terminal device interacts with the vehicle; generating a second instruction based on the first interaction information; The second instruction is sent to the vehicle so that the vehicle responds to the second instruction and generates second interaction information; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
12. The method according to claim 11, characterized in that The first interaction information includes first interaction time information, first interaction subject information and first interaction result information.
13. The method according to claim 12, characterized in that When the first instruction and the second instruction control the same parameter of the vehicle, and the first interaction result information indicates that the vehicle successfully responds to the first instruction, the terminal device generates the second instruction based on the first interaction time information so that the time interval between the vehicle's response to the second instruction and the vehicle's response to the first instruction is greater than a preset time threshold.
14. The method according to claim 11, characterized in that Before generating the second instruction based on the first interaction information, the method further includes: Compare the first interaction information stored in the previous terminal device with each other first interaction information, where each other first interaction information is the first interaction information stored in each other terminal device in the terminal device set except the previous terminal device; If the first interaction information stored in the previous terminal device is the same as each other first interaction information, triggering execution based on the first interaction information to generate a second instruction.
15. The method according to claim 14, characterized in that The comparing the first interaction information stored in the previous terminal device with each other first interaction information includes: After receiving the first interaction information from the server, storing the first interaction information; Generate a first Hash value corresponding to the first interaction information; After receiving each other first block from the server, generating a second hash value corresponding to each other first block; each other first block is a first block stored in each other terminal device in the terminal device set except the previous terminal device; If the first hash value is the same as the second hash value corresponding to each other first block, it is determined that the first interaction information stored in the previous terminal device is the same as each other first interaction information; If the first hash value is different from the second hash value corresponding to any of the other first blocks, it is determined that the first interaction information stored in the previous terminal device is different from any of the other first interaction information.
16. The method according to claim 15, characterized in that The method further comprises: If it is determined that the first interaction information stored in the previous terminal device is different from any of the other first interaction information, initiating a vote to the arbitration terminal device in the terminal device set; wherein the arbitration terminal device includes at least one terminal device in the terminal device set; Receiving voting results from the arbitration terminal device; Based on the voting result, first interaction information for generating a second instruction is determined.
17. The method according to claim 16, characterized in that The determining, based on the voting result, first interaction information for generating a second instruction includes: When there are multiple arbitration terminal devices, K voting score sums are determined; any voting score sum refers to: the voting result indicates that the first interaction information used to generate the second instruction is the voting score sum of the first interaction information stored in any terminal device, K is a positive integer, and K≥2; Determine the first interaction information corresponding to the maximum voting score sum among the K voting score sums as the first interaction information used to generate the second instruction; When the number of the arbitration terminal device is 1, it is determined that the first interaction information indicated by the voting result of the arbitration terminal device is the first interaction information used to generate the second instruction.
18. The method according to claim 17, characterized in that The method for determining the total of any one of the voting scores includes: Calculating the voting score of each arbitration terminal device based on the weight of each arbitration terminal device and the voting result of each arbitration terminal device; The voting scores of arbitration terminal devices with the same voting results are added according to the weights to obtain the sum of any voting scores.
19. A vehicle remote management method, the method being applied to a vehicle, characterized in that: The method comprises: Sending first interaction information for characterizing the situation of interaction with the previous terminal device to a server, so that the server receives and stores the first interaction information, and the server sends the first interaction information to a terminal device in a predetermined terminal device set; the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device; the previous terminal device is any terminal device in the terminal device set; the terminal device set includes a plurality of terminal devices interacting with the vehicle; the terminal device is any terminal device in the terminal device set except the previous terminal device; receiving a second instruction from the terminal device, where the second instruction is generated by the terminal device based on the first interaction information; Respond to the second instruction, and obtain second interaction information based on the response; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
20. The method according to claim 19, characterized in that The first interaction information includes first interaction time information, first interaction subject information and first interaction result information.
21. A vehicle remote management device, the device is applied to a server, characterized in that: The device comprises: A receiving unit, configured to receive first interaction information generated by the interaction between the vehicle and a previous terminal device; wherein the previous terminal device is any terminal device in a predetermined terminal device set, the terminal device set includes a plurality of terminal devices suitable for interacting with the vehicle, the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device, and the first interaction information is used to characterize the interaction between the previous terminal device and the vehicle; A sending unit is used to send the first interactive information to a terminal device, so that the terminal device generates a second instruction based on the first interactive information, and the second instruction is suitable for the vehicle to respond to and obtain second interactive information.
22. A vehicle remote management device, the device being applied to a terminal device in a predetermined terminal device set, characterized in that: The device comprises: a receiving unit, configured to receive first interaction information from a server; the first interaction information is generated by the vehicle based on a first instruction from a previous terminal device, the previous terminal device being any terminal device in the terminal device set except the terminal device, the terminal device set including a plurality of terminal devices interacting with the vehicle; the first interaction information is used to characterize a situation in which the previous terminal device interacts with the vehicle; a processing unit, configured to generate a second instruction based on the first interaction information; A sending unit is used to send the second instruction to the vehicle so that the vehicle responds to the second instruction and generates second interaction information; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
23. A vehicle remote management device, the device being applied to a vehicle, characterized in that: The device comprises: a sending unit, configured to send first interaction information characterizing an interaction with a previous terminal device to a server, so that the server receives and stores the first interaction information, and the server sends the first interaction information to a terminal device in a predetermined terminal device set; the first interaction information is generated by the vehicle based on a first instruction from the previous terminal device; the previous terminal device is any terminal device in the terminal device set; the terminal device set includes a plurality of terminal devices interacting with the vehicle; the terminal device is any terminal device in the terminal device set except the previous terminal device; A receiving unit, configured to receive a second instruction from the terminal device, where the second instruction is generated by the terminal device based on the first interaction information; wherein the terminal device is any terminal device in the terminal device set except the previous terminal device; A processing unit is used to respond to the second instruction and obtain second interaction information based on the response; wherein the second interaction information is used to characterize the interaction between the terminal device and the vehicle.
24. A server, characterized in that: The server includes a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the method described in any one of claims 1 to 10.
25. A terminal device, characterized in that: The terminal device includes a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are interconnected; the memory stores a computer program, and the processor calls the computer program stored in the memory to implement the method described in any one of claims 11 to 18.
26. A vehicle, characterized in that: The vehicle includes a vehicle body and a processing module, and the processing module is used to execute the method according to claim 19 or 20 to manage the vehicle.
27. A communication system, characterized in that: The communication system includes a terminal device in a predetermined terminal device set, a server and a vehicle, the server is used to execute the method as described in any one of claims 1 to 10 to manage the vehicle, the terminal device in the terminal device set is used to execute the method as described in any one of claims 11 to 18 to manage the vehicle, and the vehicle is used to execute the method as described in claim 19 or 20 to manage the vehicle.
28. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method according to any one of claims 1 to 10, or implements the method according to any one of claims 11 to 18, or implements the method according to claim 19 or 20.
Citation Information
Patent Citations
Vehicle-mounted resource control method based on interconnection of mobile terminal and vehicle-mounted system
CN103823439A
Remote control system, method and device for cluster terminal
CN106332008A
Method and device for vehicle control
CN110001549A
Vehicle control method, system and equipment based on interaction information and storage medium
CN115525006A
Vehicle remote control method and device, user side and storage medium
CN115623050A
