Vehicle control method, server, vehicle and storage medium
By building multiple operator network links between the vehicle and the server and using mobile device wireless connections when the links are offline, the stability and success rate issues of vehicle remote control are solved, and reliable data transmission is achieved in various network environments.
Patent Information
- Application Number
- CN202410346053.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2025-09-26
AI Technical Summary
In existing technologies, vehicle remote control relies on 4G/5G networks, which leads to vehicle control failure when the operator network fails or the communication module fails, and the success rate and stability are insufficient.
Multiple communication links are built between the target vehicle and the server through multiple operator networks. The server detects the online links for vehicle control data transmission, or establishes a wireless connection between the mobile device and the vehicle to transmit data when all links are offline, ensuring the stability of data transmission.
It improves the success rate and stability of vehicle remote control, avoids dependence on a single operator's network, and ensures communication reliability in any area and at any time.
Smart Images

Figure CN120711549A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of vehicle control technology, and in particular, to a vehicle control method, a server, a vehicle, and a storage medium. Background Art
[0002] With the development of technology, people's demand for remote vehicle control is gradually increasing. For example, people want to turn on the car air conditioner in advance to adjust the temperature, or check the vehicle status. Currently, remote vehicle control mainly relies on the 4 / 5G network to wake up the vehicle for control. This is highly dependent on the operator's 4 / 5G network. If the operator fails and the communication link is released or fails, the vehicle control will fail. In addition, if the vehicle's 4 / 5G communication module fails, the vehicle cannot be controlled. Therefore, how to effectively improve the success rate and stability of remote vehicle control has become an urgent problem that needs to be solved. Summary of the Invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present application provide a vehicle control method, a server, a vehicle and a storage medium to solve the problem of how to effectively improve the success rate and stability of remote vehicle control of the vehicle.
[0004] In order to achieve the above objectives, the technical solutions provided in the embodiments of the present application are as follows:
[0005] In a first aspect, an embodiment of the present application provides a vehicle control method, comprising: searching for multiple communication links with a target vehicle, the multiple communication links being links constructed by multiple operator networks for connecting a server and the target vehicle;
[0006] When it is detected that at least one communication link is in an online state, sending vehicle control data to the target vehicle through the at least one communication link; or,
[0007] When it is detected that the plurality of communication links are all in an offline state, vehicle control data is sent to a mobile device, so that the mobile device sends the vehicle control data to the target vehicle, and the mobile device is connected to the target vehicle via a wireless device.
[0008] As an optional implementation manner, in the first aspect of the embodiment of the present application, the searching for multiple communication links with the target vehicle includes:
[0009] When the vehicle control instruction sent by the mobile device is received, the target vehicle is determined according to the vehicle identification code included in the vehicle control instruction, and the multiple communication links with the target vehicle are searched.
[0010] As an optional implementation manner, in the first aspect of the embodiment of the present application, when detecting that at least one communication link is online, sending vehicle control data to the target vehicle through the at least one communication link includes:
[0011] When it is detected that the at least one communication link is in an online state, generating a message unique code according to the current moment;
[0012] The vehicle control data and the message unique code are simultaneously sent to the target vehicle through the at least one communication link.
[0013] In a second aspect, an embodiment of the present application provides a vehicle control method, comprising: establishing multiple communication links with a server through multiple operator networks;
[0014] When it is detected that at least one communication link is in an online state, receiving vehicle control data sent by the server through the at least one communication link; or,
[0015] When it is detected that the multiple communication links are all in an offline state, the vehicle control data sent by the mobile device is received, and the mobile device is connected to the target vehicle via a wireless device.
[0016] As an optional implementation, in the second aspect of the embodiment of the present application, the receiving, through the at least one communication link, the vehicle control data sent by the cloud server includes:
[0017] When first vehicle control data is received through the first communication link, determining a first message unique code corresponding to the first vehicle control data, where the first message unique code is data carried by the first vehicle control data and is used to indicate a time when the first vehicle control data is sent;
[0018] If second vehicle control data is received through the second communication link, a second message unique code corresponding to the second vehicle control data is verified with the first message unique code, where the second message unique code is data carried by the second vehicle control data and indicates the time when the second vehicle control data is sent;
[0019] If the second message unique code is the same as the first message unique code, determining that the second vehicle control data and the first vehicle control data are the same vehicle control data, and filtering the second vehicle control data;
[0020] The first communication link and the second communication link are different communication links among the at least one communication link, the first vehicle control data and the second vehicle control data are vehicle control data received through different communication links, and the time when the target vehicle receives the first vehicle control data through the first communication link is earlier than the time when the target vehicle receives the vehicle control data through any other communication link.
[0021] As an optional implementation manner, in the second aspect of the embodiment of the present application, after establishing a communication link with the server through multiple operator networks, the method further includes:
[0022] When it is detected that the third communication link is in an offline state, reestablishing the third communication link through the operator network corresponding to the third communication link according to a preset interval;
[0023] When it is detected that the number of reconnections reaches a preset number and the third communication link is still in an offline state, disconnecting the third communication link;
[0024] The third communication link is any one of the multiple communication links.
[0025] As an optional implementation, in the second aspect of the embodiment of the present application, when it is detected that the plurality of communication links are all in an offline state, receiving vehicle control data sent by a mobile device includes:
[0026] When it is detected that the plurality of communication links are all in an offline state, searching for wireless signals within a preset range;
[0027] When the wireless signal of the mobile device is searched, a wireless connection is established with the mobile device, and the vehicle control data sent by the mobile device is received.
[0028] In a third aspect, an embodiment of the present application provides a server, comprising: a processing module configured to search for multiple communication links with a target vehicle, wherein the multiple communication links are links constructed by multiple operator networks and used to connect the server and the target vehicle;
[0029] a sending module, configured to send vehicle control data to the target vehicle via the at least one communication link when detecting that at least one communication link is online; or
[0030] The sending module is further configured to send vehicle control data to a mobile device when it is detected that the plurality of communication links are all in an offline state, so that the mobile device sends the vehicle control data to the target vehicle, and the mobile device and the target vehicle are connected via a wireless device.
[0031] As an optional implementation, in the third aspect of the embodiment of the present application, the processing module is specifically used to determine the target vehicle and search for the multiple communication links between the target vehicle based on the vehicle identification code included in the vehicle control instruction when receiving the vehicle control instruction sent by the mobile device.
[0032] As an optional implementation manner, in the third aspect of the embodiment of the present application, the processing module is specifically configured to generate a message unique code according to the current moment when it is detected that the at least one communication link is in an online state;
[0033] The sending module is specifically configured to simultaneously send the vehicle control data and the message unique code to the target vehicle via the at least one communication link.
[0034] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising: a processing module configured to establish multiple communication links with a server via multiple operator networks;
[0035] a receiving module, configured to receive the vehicle control data sent by the server through the at least one communication link when detecting that at least one communication link is online; or
[0036] The receiving module is further configured to receive vehicle control data sent by a mobile device when it is detected that the plurality of communication links are all in an offline state, wherein the mobile device is connected to the target vehicle via a wireless device.
[0037] As an optional implementation manner, in a fourth aspect of the embodiments of the present application, the processing module is specifically configured to, when receiving first vehicle control data through the first communication link, determine a first message unique code corresponding to the first vehicle control data, where the first message unique code is data carried by the first vehicle control data and used to indicate a time when the first vehicle control data is sent;
[0038] The processing module is specifically configured to verify, upon receiving second vehicle control data through the second communication link, a second message unique code corresponding to the second vehicle control data and the first message unique code, where the second message unique code is data carried by the second vehicle control data and used to indicate a time when the second vehicle control data is sent;
[0039] The processing module is specifically configured to determine that the second vehicle control data and the first vehicle control data are the same vehicle control data if the second message unique code is the same as the first message unique code, and filter the second vehicle control data;
[0040] The first communication link and the second communication link are different communication links among the at least one communication link, the first vehicle control data and the second vehicle control data are vehicle control data received through different communication links, and the time when the target vehicle receives the first vehicle control data through the first communication link is earlier than the time when the target vehicle receives the vehicle control data through any other communication link.
[0041] As an optional implementation manner, in the fourth aspect of the embodiment of the present application, the processing module is further configured to, when detecting that the third communication link is in an offline state, reestablish the third communication link through the operator network corresponding to the third communication link according to a preset interval;
[0042] The processing module is specifically configured to disconnect the third communication link when it is detected that the number of reconnections reaches a preset number and the third communication link is still in an offline state;
[0043] The third communication link is any one of the multiple communication links.
[0044] As an optional implementation manner, in the fourth aspect of the embodiment of the present application, the processing module is specifically configured to search for wireless signals within a preset range when it is detected that the multiple communication links are all in an offline state;
[0045] The processing module is specifically configured to establish a wireless connection with the mobile device when a wireless signal of the mobile device is searched, and receive the vehicle control data sent by the mobile device.
[0046] In a fifth aspect, an embodiment of the present application provides a server, comprising:
[0047] a memory storing executable program code;
[0048] a processor coupled to the memory;
[0049] The processor calls the executable program code stored in the memory to execute the vehicle control method in the first aspect of the embodiment of the present application.
[0050] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising:
[0051] a memory storing executable program code;
[0052] a processor coupled to the memory;
[0053] The processor calls the executable program code stored in the memory to execute the vehicle control method in the second aspect of the embodiment of the present application.
[0054] In a seventh aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program that causes a computer to execute the vehicle control method of the first aspect of the embodiments of the present application or the vehicle control method of the second aspect of the embodiments of the present application. The computer-readable storage medium includes ROM / RAM, a magnetic disk, or an optical disk.
[0055] In an eighth aspect, an embodiment of the present application provides a computer program product, which, when run on a computer, enables the computer to execute part or all of the steps of any one of the methods of the first aspect, or execute part or all of the steps of any one of the methods of the second aspect.
[0056] In the ninth aspect, an embodiment of the present application provides an application publishing platform, which is used to publish a computer program product, wherein when the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of any one of the methods of the first aspect, or execute part or all of the steps of any one of the methods of the second aspect.
[0057] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0058] The embodiment of the present application provides a vehicle control method, server, vehicle and storage medium. Multiple communication links are constructed between a target vehicle and a server through multiple operator networks. The server searches for multiple communication links with the target vehicle. When the server detects that at least one communication link is online, the server sends vehicle control data to the target vehicle through at least one communication link. Alternatively, when the server detects that multiple communication links are offline, the server sends vehicle control data to a mobile device so that the mobile device sends the vehicle control data to the target vehicle. The mobile device and the target vehicle are connected via a wireless device. In this solution, multiple communication links can be constructed through multiple operators to ensure to the greatest extent that the vehicle is not restricted to the communication of a single operator at any time in any area. Multiple links can effectively improve the success rate of vehicle control networking, and combining mobile devices to build links between the cloud, mobile terminal and vehicle terminal can further ensure the stability of remote vehicle control. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0061] Figure 1 This is a flow diagram of a vehicle control method provided in an embodiment of the present application. Figure 1 ;
[0062] Figure 2 This is a flow diagram of a vehicle control method provided in an embodiment of the present application. Figure 2 ;
[0063] Figure 3 This is a schematic diagram of the structure of a server provided in an embodiment of the present application. Figure 1 ;
[0064] Figure 4 This is a schematic diagram of the structure of a vehicle provided in an embodiment of the present application. Figure 1 ;
[0065] Figure 5 This is a schematic diagram of the structure of a server provided in an embodiment of the present application. Figure 2 ;
[0066] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of the present application. Figure 2 . DETAILED DESCRIPTION
[0067] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other in the absence of conflict. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0068] The terms "first" and "second" and the like in the description and claims of this application are used to distinguish different objects rather than to describe a specific order of the objects.
[0069] The terms "including" and "having" and any variations thereof in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatus.
[0070] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0071] like Figure 1 As shown, Figure 1 A flow chart of a vehicle control method provided in an embodiment of the present application, the method may include the following steps:
[0072] 101. The target vehicle establishes multiple communication links with the server through multiple operator networks.
[0073] In an embodiment of the present application, a vehicle communication module may be provided in the vehicle, which may support multiple operators or multiple communication modules. That is, the target vehicle may be configured with multiple SIM cards, thereby supporting communication through multiple operator networks to establish communication links. The operator network may include at least one of: China Mobile, China Unicom, and China Telecom.
[0074] It should be noted that each operator network can establish multiple communication links. That is to say, through the above-mentioned multiple operator networks, at least one communication link can be established between the target vehicle and the server, and of course multiple communication links can also be included; of course, the server can establish communication links with multiple vehicles.
[0075] In some embodiments, the server may be a physical server or a cloud server, and the following description will take the cloud server as an example.
[0076] 102. The server searches for multiple communication links with the target vehicle.
[0077] In an embodiment of the present application, multiple communication links are links constructed by multiple operator networks and used to connect the server and the target vehicle. When there is no data transmission between the target vehicle and the cloud server, the communication link between the target vehicle and the cloud server can be dormant. When data transmission is required, the communication link can be reactivated. Therefore, when remote vehicle control occurs, the cloud server can search for multiple communication links with the target vehicle and activate them to send vehicle control data to the target vehicle through the multiple communication links. The target vehicle is the vehicle that the cloud server needs to remotely control.
[0078] 103. When the server detects that at least one communication link is online, the server sends vehicle control data to the target vehicle through the at least one communication link.
[0079] In an embodiment of the present application, the cloud server searches for multiple communication links, that is, in order to determine the status of multiple communication links, the status can specifically include: online status and offline status. The online status means that the communication link is normal and data transmission can be carried out normally, while the offline status means that there is an abnormality in the communication link and data transmission cannot be carried out. It may be that the link is faulty or the communication module of the vehicle is faulty. After the cloud server determines the status of each communication link, it can determine different data transmission methods according to the different status of each communication link. Specifically, if there is at least one communication link in an online state, that is, as long as at least one communication link is normal, then it can be said that the communication module of the target vehicle is normal, and it is other communication links that have abnormalities, that is, data transmission can be carried out between the cloud server and the target vehicle. Therefore, the cloud server can send vehicle control data to the target vehicle through the at least one communication link. The vehicle control data is the instruction to control the target vehicle to perform the corresponding operation.
[0080] In some embodiments, if the cloud server detects that only one communication link is online, then the vehicle control data is sent directly to the target vehicle through the communication link; if it is detected that there are at least two communication links online, then the vehicle control data can be sent to the target vehicle through the at least two communication links at the same time. That is to say, each communication link that is online will transmit the vehicle control data, and the cloud server sends the vehicle control data through each communication link simultaneously, regardless of the order, and the vehicle control data sent are exactly the same.
[0081] 104. When the server detects that multiple communication links are in an offline state, the server sends vehicle control data to the mobile device.
[0082] In an embodiment of the present application, after the cloud server searches for multiple communication links corresponding to the target vehicle, if it detects that multiple communication links are all offline, it means that the current cloud server cannot send vehicle control data to the target vehicle through the communication link. It is very likely that there is a fault in the communication module inside the vehicle, which causes all communication links constructed by the communication module to be offline. Of course, it may also be because all communication links have failed. At this time, the cloud server can establish a connection with the target vehicle through a mobile device. The mobile device is the mobile device of the owner of the target vehicle. Therefore, the cloud server can send vehicle control data to the mobile device. The mobile device and the cloud server can be connected through a 4G / 5G network to realize data transmission.
[0083] 105. The mobile device sends the vehicle control data to the target vehicle.
[0084] In an embodiment of the present application, after the mobile device receives the vehicle control data sent by the cloud server, it can send the vehicle control data to the target vehicle so that the target vehicle performs the vehicle control operation corresponding to the vehicle control data. The mobile device and the target vehicle are connected via a wireless device.
[0085] In some embodiments, the mobile device and the target vehicle may be connected wirelessly and data may be transmitted via a wireless local area network or a Bluetooth device.
[0086] In some embodiments, the wireless connection between the target vehicle and the mobile device is actively searched and matched by the target vehicle. Specifically, when it is detected that all communication links are offline, the target vehicle searches for wireless signals within a preset range; when the wireless signal of the mobile device is found, the target vehicle establishes a wireless connection with the mobile device and receives vehicle control data sent by the mobile device.
[0087] It should be noted that the cloud server will detect the status of all communication links between it and the target vehicle, and the target vehicle will also detect the status of the communication links. At the same time, the target vehicle will also detect the status of the vehicle communication module. If the target vehicle detects that all communication links are offline, that is, the target vehicle and the cloud server cannot be directly connected through the network, the target vehicle will actively connect to the mobile device, that is, the wireless signal within the preset range. If the wireless signal of the mobile device is detected, the target vehicle can establish a wireless connection with the mobile device. In this way, after the mobile device receives the vehicle control data sent by the cloud server, the mobile device can forward the vehicle control data to the target vehicle, so that the target vehicle can perform the vehicle control operation corresponding to the vehicle control data.
[0088] In some embodiments, if the target vehicle detects that all communication links are offline, it is very likely that there is an abnormality in the vehicle communication module of the target vehicle. Therefore, the target vehicle can try to switch the flight mode and restart the 4 / 5G communication module. If all communication links are still detected to be offline, then the wireless signal can be searched.
[0089] In some embodiments, if the cloud server detects that all communication links are offline, it will send the vehicle control data to the mobile device. At this time, the mobile device knows that there is an abnormality in the connection between the cloud server and the target vehicle; when the target vehicle detects that all communication links are offline, it will search for wireless signals within a preset range. When the mobile device is searched and a wireless connection is established, the mobile device will know that there is an abnormality in the connection between the cloud server and the target vehicle; the order of these two operations is not fixed, that is, the mobile device may first receive the vehicle control data sent by the cloud server, or it may first establish a wireless connection with the target vehicle. Therefore, if the mobile device may first receive the vehicle control data sent by the cloud server, then the mobile device may also first search for wireless signals within a preset range. If the wireless signal of the target vehicle is searched, the mobile device may also actively establish a wireless connection with the target vehicle and directly send the vehicle control data to the target vehicle. This is not specifically limited in the embodiments of the present application.
[0090] The embodiment of the present application provides a vehicle control method, which constructs multiple communication links between a target vehicle and a server through multiple operator networks. The server searches for multiple communication links with the target vehicle. When the server detects that at least one communication link is online, it sends vehicle control data to the target vehicle through at least one communication link; or, when the server detects that all communication links are offline, it sends vehicle control data to a mobile device so that the mobile device sends the vehicle control data to the target vehicle. The mobile device and the target vehicle are connected via a wireless device. In this solution, multiple communication links can be constructed through multiple operators to maximize the guarantee that the vehicle is not restricted to the communication of a single operator at any time in any area. Multiple links can effectively improve the success rate of vehicle control networking, and combining mobile devices to build links between the cloud, mobile terminal, and vehicle terminal can further ensure the stability of remote vehicle control.
[0091] like Figure 2 As shown, Figure 2 This is a flow chart of a vehicle control method provided in an embodiment of the present application. The method may further include the following steps:
[0092] 201. The target vehicle establishes multiple communication links with the server through multiple operator networks.
[0093] In the embodiment of the present application, for the description of step 201, please refer to the detailed description of step 101 in the above embodiment, and the embodiment of the present application will not be repeated.
[0094] In some embodiments, after the communication link between the target vehicle and the cloud server is established, the target vehicle will detect whether each communication link is normal. If a communication link is detected to be abnormal, that is, offline, the target vehicle can reconnect. Specifically, when the target vehicle detects that there is a third communication link in an offline state, the third communication link is rebuilt through the operator network corresponding to the third communication link according to a preset interval; when the target vehicle detects that the number of reconnections reaches a preset number and the third communication link is still offline, the third communication link is disconnected.
[0095] It should be noted that the third communication link is any one of the multiple communication links. That is to say, when the target vehicle detects that the third communication link is abnormal, that is, when it detects that the third communication link cannot connect to the cloud server, it will perform multiple reconnection operations, and the interval between each reconnection is the same length. If it still cannot connect to the cloud server after reconnecting multiple times, it means that there is an abnormality in the third communication link. Therefore, the target vehicle can directly disconnect the third communication link and no longer use it in the future. Specifically, the target vehicle can perform (N+1)*T reconnection operations, where N is the number of reconnections and T is the interval time, such as 30s, 60s, or 120s. For example: N is 5 and T is 30s, then the target vehicle detects that the third communication link is abnormal, reconnects, and waits for 30s. If the third communication link is still abnormal, it will reconnect again until the fifth reconnection and waits for another 30s. If the third communication link is still abnormal, then the target vehicle will directly disconnect the third communication link.
[0096] 202. When the server receives the vehicle control command sent by the mobile device, it determines the target vehicle according to the vehicle identification code included in the vehicle control command.
[0097] In an embodiment of the present application, the vehicle control of the target vehicle by the cloud server is executed after receiving the vehicle control command from the mobile device. That is to say, only when the cloud server receives the vehicle control command sent by the mobile device will it send vehicle control data to the target vehicle. Specifically, the mobile device is the mobile device of the owner of the target vehicle, such as a mobile phone. When the owner performs a touch operation to control the target vehicle on the mobile device, a vehicle control command will be generated and sent to the cloud server. The touch operation can be the owner's click operation on the vehicle control control on the screen of the mobile device, for example: the owner clicks on the "query vehicle location", "turn on the air conditioner in the car", "open the trunk" and other controls on the vehicle control APP on the mobile phone, so that the mobile phone will generate corresponding vehicle control commands and send them to the cloud server.
[0098] It should be noted that since many vehicles can now be remotely controlled, a communication link is established between the cloud server and each vehicle. However, there is a correspondence between the mobile device and the target vehicle, that is, there is a one-to-one correspondence between the target vehicle and the owner's mobile phone. The mobile device sends a vehicle control instruction to the cloud server, which must be to control the target vehicle rather than other vehicles. Therefore, when the mobile device sends a vehicle control instruction to the cloud server, the vehicle control instruction will automatically carry the vehicle identification number (Vehicle Identification Number) of the target vehicle. The vehicle identification code is the unique identification code of the vehicle, and the vehicle identification code of each vehicle is different. Therefore, after receiving the vehicle control instruction, the cloud server can directly determine the target vehicle corresponding to the vehicle identification code based on the vehicle identification code carried in the vehicle control instruction.
[0099] 203. The server searches for multiple communication links with the target vehicle.
[0100] In the embodiment of the present application, for the description of step 203, please refer to the detailed description of step 102 in the above embodiment, and the embodiment of the present application will not be repeated.
[0101] 204. When the server detects that at least one communication link is online, it generates a message unique code according to the current time.
[0102] In an embodiment of the present application, if the cloud server detects that there is at least one communication link in an online state, it means that the cloud server and the target vehicle can communicate normally, and the cloud server sends vehicle control data to the target vehicle through each online communication link. Correspondingly, the target vehicle will also receive at least one vehicle control data. Since the configuration or network parameters of each communication link are different, the data transmission speed will also be different. Therefore, although the cloud server sends the vehicle control data at the same time, the target vehicle may not receive the vehicle control data from all communication links at the same time. Some communication links may be delayed. Of course, if the cloud server sends several vehicle control data to the target vehicle in sequence, then combined with the data transmission time difference of the cloud server and the data transmission time difference between the communication links, this will cause confusion in the time when the target vehicle receives each vehicle control data. Therefore, in order to prevent the target vehicle from missing each vehicle control data, the cloud server will mark the vehicle control data when sending the vehicle control data. Since the cloud server sends a vehicle control data to all communication links at the same time, that is, all vehicle control data sent through all communication links at the same time are the same, and are different from any vehicle control data sent through any communication link at any other time. Therefore, they can be marked in combination with the time. Specifically, the cloud server can determine the current time and generate a message unique code based on the timestamp of the current time.
[0103] 205. The server simultaneously sends the vehicle control data and the message unique code to the target vehicle through at least one communication link.
[0104] 206. When the target vehicle receives the first vehicle control data through the first communication link, determine a first message unique code corresponding to the first vehicle control data.
[0105] In an embodiment of the present application, the first message unique code is data carried by the first vehicle control data and is used to indicate the time at which the first vehicle control data is sent. Since the message unique code is generated by the server based on the current time when sending, the first message unique code can indicate the time at which the first vehicle control data is sent. When the target vehicle receives the vehicle control data sent by the cloud server through at least one communication link, it may sequentially receive the vehicle control data transmitted from each communication link. Regardless of which communication link, the target vehicle executes the first vehicle control data transmitted by the first communication link that is received first. The first communication link is a different communication link among the at least one communication link. The time at which the target vehicle receives the first vehicle control data through the first communication link is earlier than the time at which the target vehicle receives the vehicle control data through any other communication link.
[0106] In some embodiments, upon receiving the first vehicle control data, the target vehicle further needs to perform data verification on the first vehicle control data. Specifically, the target vehicle needs to verify the legitimacy of the first vehicle control data, detect whether there are any abnormal data in the first vehicle control data, and verify whether the first vehicle control data is complete. Specifically, the target vehicle needs to verify each piece of vehicle control data received, and only after the verification is completed and passed is the vehicle control data confirmed to have been received. If the first vehicle control data is incomplete or fails the verification due to other reasons, the first vehicle control data is deleted, and the next received vehicle control data is determined to be the first received vehicle control data, and is executed after the verification passes.
[0107] 207. If second vehicle control data is received through the second communication link, verify the second message unique code corresponding to the second vehicle control data and the first message unique code.
[0108] In this embodiment of the present application, the second message-unique code is data carried by the second vehicle control data and is used to indicate the time at which the second vehicle control data was sent. Similar to the first message-unique code, since the message-unique code is generated by the server based on the current time at the time of sending, the second message-unique code can indicate the time at which the second vehicle control data was sent. The first vehicle control data and the second vehicle control data are vehicle control data received via different communication links. The first vehicle control data and the second vehicle control data can be the same data or different data, as determined by their corresponding message-unique codes.
[0109] After the target vehicle receives the first vehicle control data through the first communication link, if it receives the second vehicle control data through the second communication link, it is necessary to verify the second vehicle control data to detect whether the second vehicle control data is the same as the first vehicle control data. Specifically, the verification is performed based on the message unique code. If the second vehicle control data and the first vehicle control data are the same vehicle control data, then the time when the cloud server sends the second vehicle control data and the first vehicle control data should be the same. At the same time, the message unique codes of the second vehicle control data and the first vehicle control data should also be the same. Therefore, it is only necessary to detect whether the second message unique code corresponding to the second vehicle control data and the first message unique code corresponding to the first vehicle control data are the same.
[0110] 208. If the second message unique code is the same as the first message unique code, the target vehicle determines that the second vehicle control data and the first vehicle control data are the same vehicle control data, and filters the second vehicle control data.
[0111] In an embodiment of the present application, if the second message unique code is the same as the first message unique code, then it can be said that the second vehicle control data and the first vehicle control data are the same vehicle control data. Therefore, if the target vehicle has received the first vehicle control data first and has executed it, there is no need to repeatedly execute the second vehicle control data. Therefore, the second vehicle control data can be filtered, that is, deleted and no longer executed.
[0112] In some embodiments, if the second message unique code is different from the first message unique code, it can be indicated that the second vehicle control data and the first vehicle control data are different vehicle control data, and therefore the target vehicle also needs to execute the second vehicle control data.
[0113] 209. When the server detects that multiple communication links are in an offline state, the server sends vehicle control data to the mobile device.
[0114] 210. The mobile device sends the vehicle control data to the target vehicle.
[0115] In the embodiment of the present application, for the description of steps 209 to 210, please refer to the detailed description of steps 104 to 105 in the above embodiment, which will not be repeated in the embodiment of the present application.
[0116] A vehicle control method provided in an embodiment of the present application can build multiple communication links through multiple operators, thereby ensuring to the greatest extent possible that the vehicle is not restricted to communication with a single operator at any time in any area. Multiple links can effectively improve the success rate of vehicle control networking, and combining mobile devices to build links between the cloud, mobile terminal, and vehicle terminal can further ensure the stability of remote vehicle control.
[0117] like Figure 3 As shown, an embodiment of the present application provides a server, which may include:
[0118] The processing module 301 is configured to search for multiple communication links with a target vehicle, where the multiple communication links are links constructed by multiple operator networks and used to connect a server and the target vehicle;
[0119] The sending module 302 is configured to send vehicle control data to the target vehicle via the at least one communication link when it is detected that at least one communication link is online; or
[0120] The sending module 302 is further configured to send vehicle control data to the mobile device when it is detected that multiple communication links are all in an offline state, so that the mobile device sends the vehicle control data to the target vehicle, and the mobile device and the target vehicle are connected via a wireless device.
[0121] In some embodiments, the processing module 301 is specifically configured to, when receiving a vehicle control instruction sent by a mobile device, determine a target vehicle according to a vehicle identification code included in the vehicle control instruction, and search for multiple communication links with the target vehicle.
[0122] In some embodiments, the processing module 301 is specifically configured to generate a message unique code according to the current moment when it is detected that at least one communication link is in an online state;
[0123] The sending module 302 is specifically configured to simultaneously send vehicle control data and a message unique code to a target vehicle via at least one communication link.
[0124] In the embodiments of the present application, each module can implement the vehicle control method provided by the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0125] like Figure 4 As shown, an embodiment of the present application provides a vehicle, which may include:
[0126] Processing module 401, configured to establish multiple communication links with a server via multiple operator networks;
[0127] The receiving module 402 is configured to receive vehicle control data sent by the server through the at least one communication link when it is detected that at least one communication link is online; or
[0128] The receiving module 402 is further configured to receive vehicle control data sent by a mobile device when it is detected that multiple communication links are all in an offline state, and the mobile device is connected to the target vehicle via a wireless device.
[0129] In some embodiments, the processing module 401 is specifically configured to, when receiving first vehicle control data through the first communication link, determine a first message unique code corresponding to the first vehicle control data, where the first message unique code is data carried by the first vehicle control data and used to indicate a time when the first vehicle control data is sent;
[0130] The processing module 401 is specifically configured to verify, upon receiving second vehicle control data via the second communication link, a second message unique code corresponding to the second vehicle control data and the first message unique code, where the second message unique code is data carried in the second vehicle control data and indicates the time at which the second vehicle control data is transmitted;
[0131] The processing module 401 is specifically configured to determine that the second vehicle control data and the first vehicle control data are the same vehicle control data if the second message unique code is the same as the first message unique code, and filter the second vehicle control data;
[0132] Among them, the first communication link and the second communication link are different communication links in at least one communication link, the first vehicle control data and the second vehicle control data are vehicle control data received through different communication links, and the time when the target vehicle receives the first vehicle control data through the first communication link is earlier than the time when the target vehicle receives the vehicle control data through any other communication link.
[0133] In some embodiments, the processing module 401 is further configured to, when detecting that the third communication link is in an offline state, reestablish the third communication link through the operator network corresponding to the third communication link according to a preset interval;
[0134] The processing module 401 is further configured to disconnect the third communication link when it is detected that the number of reconnections reaches a preset number and the third communication link is still in an offline state;
[0135] The third communication link is any one of the multiple communication links.
[0136] In some embodiments, the processing module 401 is specifically configured to search for wireless signals within a preset range when it is detected that multiple communication links are all in an offline state;
[0137] The processing module 401 is specifically configured to establish a wireless connection with the mobile device when a wireless signal of the mobile device is searched, and receive vehicle control data sent by the mobile device.
[0138] In the embodiments of the present application, each module can implement the vehicle control method provided by the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0139] like Figure 5 As shown, the embodiment of the present application further provides a server, which may include:
[0140] A memory 501 storing executable program code;
[0141] a processor 502 coupled to the memory 501;
[0142] The processor 502 calls the executable program code stored in the memory 501 to execute the vehicle control method executed by the cloud server in the above-mentioned method embodiments.
[0143] like Figure 6 As shown, an embodiment of the present application further provides a vehicle, which may include:
[0144] A memory 601 storing executable program code;
[0145] a processor 602 coupled to the memory 601;
[0146] The processor 602 calls the executable program code stored in the memory 601 to execute the vehicle control method executed by the vehicle in the above-mentioned method embodiments.
[0147] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the vehicle control method in the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0148] An embodiment of the present application also provides a computer program product, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the vehicle control method in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0149] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0150] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of the devices, methods, and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a portion of code, and the module, program segment, or a portion of code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, as well as the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified functions or actions, or can be implemented using a combination of dedicated hardware and computer instructions.
[0151] In this application, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0152] In this application, memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0153] In this application, persons of ordinary skill in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including permanent and non-permanent, removable and non-removable storage media. The storage medium can use any method or technology to store information, and the information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, Parallel Random Access Memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Programmable Read-only Memory (PROM), Erasable Programmable Read Only Memory (EPROM), other types of Random Access Memory (RAM), Read-Only Memory (ROM), One-time Programmable Read-Only Memory (OTPROM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0154] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article or device. In the absence of further limitations, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device that includes the element.
[0155] It should be understood that “one embodiment” or “an embodiment” mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, “in one embodiment” or “in an embodiment” appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for this application. The above-mentioned multiple embodiments are not necessarily multiple independent embodiments. Dividing them into multiple embodiments is only used to highlight the different technical features in different embodiments. Those skilled in the art should know that the above-mentioned multiple embodiments can also be combined in any combination.
[0156] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0157] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network units. Some or all of these units may be selected based on actual needs to achieve the objectives of this embodiment.
[0158] In addition, the functional units in the embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0159] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a memory and includes several requests for a computer device (which can be a personal computer, server or network device, etc., specifically a processor in a computer device) to execute some or all of the steps of the above-mentioned methods of various embodiments of the present application.
[0160] The above are merely specific embodiments of the present application, intended to enable those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to these embodiments herein, but is intended to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A vehicle control method, characterized in that: include: Searching for multiple communication links with a target vehicle, where the multiple communication links are links constructed by multiple operator networks and used to connect a server and the target vehicle; When detecting that at least one communication link is online, sending vehicle control data to the target vehicle via the at least one communication link; or, When it is detected that the plurality of communication links are all in an offline state, vehicle control data is sent to a mobile device, so that the mobile device sends the vehicle control data to the target vehicle, and the mobile device is connected to the target vehicle via a wireless device.
2. The method according to claim 1, characterized in that The search for multiple communication links with the target vehicle includes: When the vehicle control instruction sent by the mobile device is received, the target vehicle is determined according to the vehicle identification code included in the vehicle control instruction, and the multiple communication links with the target vehicle are searched.
3. The method according to claim 1, characterized in that When detecting that at least one communication link is online, sending vehicle control data to the target vehicle via the at least one communication link includes: When it is detected that the at least one communication link is in an online state, generating a message unique code according to the current moment; The vehicle control data and the message unique code are simultaneously sent to the target vehicle through the at least one communication link.
4. A vehicle control method, characterized in that: include: Establish multiple communication links with the server through multiple operator networks; When detecting that at least one communication link is in an online state, receiving vehicle control data sent by the server through the at least one communication link; or, When it is detected that the plurality of communication links are all in an offline state, the vehicle control data sent by the mobile device is received, and the mobile device is connected to the target vehicle via a wireless device.
5. The method according to claim 4, characterized in that The receiving, through the at least one communication link, the vehicle control data sent by the server, includes: When first vehicle control data is received through the first communication link, determining a first message unique code corresponding to the first vehicle control data, where the first message unique code is data carried by the first vehicle control data and is used to indicate a time when the first vehicle control data is sent; If second vehicle control data is received through the second communication link, a second message unique code corresponding to the second vehicle control data is verified with the first message unique code, where the second message unique code is data carried by the second vehicle control data and indicates the time when the second vehicle control data is sent; If the second message unique code is the same as the first message unique code, determining that the second vehicle control data and the first vehicle control data are the same vehicle control data, and filtering the second vehicle control data; The first communication link and the second communication link are different communication links among the at least one communication link, the first vehicle control data and the second vehicle control data are vehicle control data received through different communication links, and the time when the target vehicle receives the first vehicle control data through the first communication link is earlier than the time when the target vehicle receives the vehicle control data through any other communication link.
6. The method according to claim 4, characterized in that After establishing multiple communication links with the server through multiple operator networks, the method further includes: When it is detected that the third communication link is in an offline state, reestablishing the third communication link through the operator network corresponding to the third communication link according to a preset interval; When it is detected that the number of reconnections reaches a preset number and the third communication link is still in an offline state, disconnecting the third communication link; The third communication link is any one of the multiple communication links.
7. The method according to claim 4, characterized in that When it is detected that the plurality of communication links are all in an offline state, receiving vehicle control data sent by a mobile device includes: When it is detected that the plurality of communication links are all in an offline state, searching for wireless signals within a preset range; When the wireless signal of the mobile device is searched, a wireless connection is established with the mobile device, and the vehicle control data sent by the mobile device is received.
8. A server, characterized in that: include: a processing module, configured to search for a plurality of communication links with a target vehicle, wherein the plurality of communication links are links constructed by a plurality of operator networks and used to connect a server and the target vehicle; a sending module, configured to send vehicle control data to the target vehicle via the at least one communication link when detecting that at least one communication link is online; or The sending module is further configured to send vehicle control data to a mobile device when it is detected that the plurality of communication links are all in an offline state, so that the mobile device sends the vehicle control data to the target vehicle, and the mobile device and the target vehicle are connected via a wireless device.
9. A vehicle, characterized in that: include: A processing module, configured to establish multiple communication links with a server via multiple operator networks; a receiving module, configured to receive the vehicle control data sent by the server through the at least one communication link when detecting that at least one communication link is online; or The receiving module is further configured to receive vehicle control data sent by a mobile device when it is detected that the plurality of communication links are all in an offline state, wherein the mobile device is connected to the target vehicle via a wireless device.
10. A server, characterized in that: include: a memory storing executable program code; and a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the vehicle control method according to any one of claims 1 to 3.
11. A vehicle, characterized in that: include: a memory storing executable program code; and a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the vehicle control method according to any one of claims 4 to 7.
12. A computer-readable storage medium, characterized in that include: The computer-readable storage medium stores computer instructions, which, when executed by a processor, implement the vehicle control method according to any one of claims 1 to 3 or the vehicle control method according to any one of claims 4 to 7.