Vehicle control method and related apparatus
By equipping the vehicle with a dual SIM card system, which switches to the SIM card with the stronger signal in real time, the problem of interruption caused by weak signal during automatic parking is solved, thus improving the success rate of automatic parking and the user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-09-01
- Publication Date
- 2026-03-12
AI Technical Summary
The vehicle's automatic parking process was interrupted due to no or weak SIM card signal, resulting in the inability to park normally and affecting the user experience.
The vehicle is equipped with a dual SIM card system, which switches to the SIM card with the stronger signal in real time based on the signal strength to ensure uninterrupted communication during automatic parking.
By using dual SIM card switching technology, the system avoids the need to wait for the user to take over due to weak signal, thus improving the success rate of automatic parking and the user experience.
Smart Images

Figure CN2025118231_12032026_PF_FP_ABST
Abstract
Description
Vehicle control method and related device
[0001] Cross-reference to related applications
[0002] The present application claims priority to the Chinese patent application No. 202411233684.X, filed on September 3, 2024, and entitled "A vehicle control method and related device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] The present application relates to the technical field of terminal, and in particular to a vehicle control method and related device. BACKGROUND
[0004] With the development of automatic driving technology, the current vehicle can support the function of automatic valet parking (AVP), which can make the vehicle automatically drive to a parking space and park in the parking space. In order to ensure driving safety, at present, the AVP function of the vehicle can be normally used when the subscriber identity module (SIM) card in the vehicle has signal, and the AVP function cannot be normally used if the SIM card in the vehicle has no signal or weak signal. For example, the vehicle communicates with the mobile phone through the SIM card, and starts automatic parking after receiving the start parking instruction sent by the mobile phone. When the vehicle travels to a certain position, the SIM card in the vehicle has no signal or weak signal, which causes the communication between the vehicle and the mobile phone to be interrupted, at this time, the vehicle ends the automatic driving and parks at the position, waiting for the user to take over. Obviously, due to the SIM card in the vehicle having no signal or weak signal, the AVP function is forced to end, which affects the user experience. SUMMARY
[0005] The embodiments of the present application provide a vehicle control method and related device, which can avoid the SIM card having no signal or weak signal as much as possible during the automatic parking process of the vehicle, so as to ensure that the vehicle can be smoothly parked in the parking space and improve the user experience.
[0006] In a first aspect, a vehicle control method is provided, which can be applied to a vehicle including a first SIM card and a second SIM card, and currently using the first SIM card. The vehicle receives first information indicating that the vehicle automatically parks in a target parking space. The vehicle determines a parking route according to a current position and the target parking space, and then determines a first position on the parking route according to second information. The first SIM card has a signal strength lower than the second SIM card at the first position. The second information describes signal strengths of the first SIM card and the second SIM card at m positions on the parking route, m is an integer greater than 1, and the first position is one of the m positions. The vehicle determines a second position on the parking route according to the first position. The second position is closer to the current position than the first position. The vehicle travels to the target parking space according to the parking route, and switches from the first SIM card to the second SIM card when reaching the second position.
[0007] In the embodiments of the present application, the vehicle can be configured with dual SIMs, i.e., the first SIM card and the second SIM card, and the dual SIMs can be switched. Compared with a single SIM card, the switching of the dual SIMs can ensure that the vehicle is in a state of having a signal of the SIM card as much as possible. In addition, in the embodiments of the present application, the vehicle determines that the signal strength of the first SIM card is lower than that of the second SIM card at the first position on the parking route, and then switches the SIM card before reaching the first position (for example, at the second position). It should be noted that, as described above, for the current vehicle, once the signal of the SIM card in the vehicle becomes poor, the vehicle will stop and wait for the user to take over. Through the technical solutions provided in the embodiments of the present application, the vehicle can switch the SIM card in advance before the signal of the first SIM card becomes poor, so that the vehicle will not stop and wait for the user to take over because the signal of the first SIM card becomes weak, which helps to improve the user experience.
[0008] In a possible design, the signal strength of the first SIM card at the first position is lower than a first threshold, and the signal strength of the second SIM card at the first position is higher than the first threshold.
[0009] In the embodiments of the present application, the vehicle determines the first position on the parking route, the signal strength of the first SIM card is low at the first position, but the signal strength of the second SIM card is high, which indicates that the second SIM card is suitable for use at the first position. Therefore, the vehicle can switch the SIM card in advance before reaching the first position, so that on the one hand, the vehicle can avoid stopping and waiting for the user to take over because the signal of the first SIM card becomes weak, and on the other hand, the signal strength of the second SIM card after switching the SIM card is not low, so that the vehicle can successfully park in the parking space, and the user experience is improved.
[0010] In a possible design, the first position is a start position of a section of the parking route, and there are a plurality of positions in the section of the parking route, and a signal strength of the first SIM card corresponding to each of the positions is lower than a signal strength of the second SIM card corresponding to the each of the positions.
[0011] In the embodiments of the present application, the vehicle determines that there is a section of the parking route on which the signal strength of the first SIM card is lower than the signal strength of the second SIM card, which indicates that it is more appropriate to use the second SIM card when the vehicle travels on the section of the route. Therefore, the vehicle can switch the SIM card in advance before traveling to a start position (i.e., the first position) of the section of the route, which can avoid the vehicle stopping and waiting for the user to take over because the signal of the first SIM card becomes weak, and improve the user experience. In addition, it can be ensured that the signal strength of the second SIM card is not low when the vehicle travels on the section of the route after switching the SIM card, so that the vehicle can be parked on the parking space smoothly, and the user experience is improved.
[0012] In a possible design, the signal strength of the first SIM card in the section of the route is lower than a first threshold, and the signal strength of the second SIM card in the section of the route is higher than the first threshold.
[0013] In the embodiments of the present application, the vehicle determines that there is a section of the parking route on which the signal strength of the first SIM card is lower, but the signal strength of the second SIM card is higher, which indicates that it is appropriate to switch to the second SIM card on the section of the route. Therefore, the vehicle can switch the SIM card in advance before traveling to a start position (i.e., the first position) of the section of the route, which can avoid the vehicle stopping and waiting for the user to take over because the signal of the first SIM card becomes weak, and can ensure that the signal strength of the second SIM card is not low when the vehicle travels on the section of the route after switching the SIM card, so that the vehicle can be parked on the parking space smoothly, and the user experience is improved.
[0014] In a possible design, a length of the section of the route is greater than or equal to a preset length.
[0015] In the embodiments of the present application, the vehicle determines that there is a section of the parking route on which the signal strength of the first SIM card is lower, and the length of the section of the route is longer, which indicates that the vehicle will have a long time of no signal or poor signal of the first SIM card when traveling on the section of the route. Therefore, the vehicle can switch the SIM card in advance before traveling to a start position (i.e., the first position) of the section of the route, so as to avoid the vehicle stopping and waiting for the user to take over because the signal of the first SIM card becomes weak, and improve the user experience.
[0016] In a possible design, the preset length is greater than or equal to a driving distance of the vehicle in a first time length, and the first time length is a time length for the vehicle to switch from the first SIM card to the second SIM card.
[0017] In an embodiment of the present application, considering that the signal may become poor during the switching of the vehicle, the vehicle can evaluate a driving distance of the vehicle in a time length for switching, and the distance is represented as L. The vehicle determines that there is a route on the parking route, and the signal strength of the first SIM card on the route is low. If the length of the route is less than the distance L, the switching is not needed, and if the length of the route is greater than the distance L, the vehicle switches from the first SIM card to the second SIM card before driving to a start position (i.e., a first position) of the route, so as to avoid the vehicle stopping and waiting for the user to take over because the signal of the first SIM card becomes weak, and improve the user experience.
[0018] In a possible design, the switching from the first SIM card to the second SIM card when driving to the second position comprises: if it is determined that the time length for switching of the vehicle is greater than a preset time length, switching from the first SIM card to the second SIM card when driving to the second position.
[0019] In an embodiment of the present application, if the time length for switching of the vehicle is long, the vehicle can switch from the first SIM card to the second SIM card before the signal of the first SIM card becomes weak, so as to avoid the vehicle stopping and waiting for the user to take over because the signal of the first SIM card becomes weak, and improve the user experience.
[0020] In a possible design, the method further comprises: if it is determined that the time length for switching is less than or equal to the preset time length, not switching when driving to the second position, and starting to detect the signal strengths of the first SIM card and the second SIM card in real time, and switching from the first SIM card to the second SIM card when it is detected that the signal strength of the first SIM card is lower than the signal strength of the second SIM card.
[0021] In an embodiment of the present application, if the time length for switching of the vehicle is short, it indicates that the vehicle can quickly complete the switching, and in this case, the vehicle can not need to switch in advance, for example, the vehicle can switch when the signal of the first SIM card becomes poor (for example, the signal strength of the first SIM card is lower than the signal strength of the second SIM card), so as to avoid the vehicle stopping and waiting for the user to take over because the signal of the first SIM card is weak for a long time, and improve the user experience.
[0022] In a possible design, the signal strength of the first SIM card corresponding to the second position is higher than the first threshold.
[0023] In the embodiments of the present application, the vehicle can switch the SIM card in advance before the signal of the first SIM card becomes weak. For example, the vehicle determines that there is a first position on the parking route, and the signal strength of the first SIM card at the first position is lower than a first threshold value. The vehicle can switch the SIM card in advance before driving to the first position, for example, when driving to a second position. Since the signal strength of the first SIM card at the second position is higher than the first threshold value, the vehicle does not stop and wait for the user to take over because the signal of the first SIM card is poor, thereby improving the user experience.
[0024] In a possible design, the first cumulative position quantity of the second position is greater than or equal to a preset quantity, and the first cumulative position quantity is used to represent a quantity of positions on a route from the current position to the second position at which the signal strength of the first SIM card is higher than a second threshold value. Optionally, the second threshold value can be equal to the first threshold value.
[0025] In the embodiments of the present application, the vehicle determines that there is a first position on the parking route, and the signal strength of the first SIM card at the first position is lower than the signal strength of the second SIM card. The vehicle can switch the SIM card in advance before driving to the first position, for example, when driving to a second position. Since the signal of the first SIM card is better on the route from the current position of the vehicle to the second position, the vehicle does not stop and wait for the user to take over because the signal of the first SIM card becomes weak when switching the SIM card at the second position, thereby improving the user experience.
[0026] In a possible design, the first cumulative position quantity of the second position is greater than or equal to a preset quantity, including that the first cumulative position quantity of the second position is greater than or equal to a second cumulative position quantity of a third position, the second cumulative position quantity is used to represent a quantity of positions on a route from the current position to the third position at which the signal strength of the second SIM card is higher than the second threshold value; the distance from the third position to the current position is greater than the distance from the second position to the current position, and the distance between the third position and the second position is a first distance, the first distance is a distance traveled by the vehicle within a first time length, and the first time length is a time consumed by the vehicle for switching the SIM card.
[0027] In the embodiments of the present application, the vehicle determines that there is a first position on the parking route, and the signal strength of the first SIM card at the first position is lower than the signal strength of the second SIM card. Therefore, the vehicle can perform card switching in advance before driving to the first position, for example, performing card switching when driving to a second position. In this case, the signal of the first SIM card on the route from the current position of the vehicle to the second position is better than the signal of the second SIM card on the route from the current position of the vehicle to a third position (for example, the first cumulative position quantity of the second position is greater than or equal to the second cumulative position quantity of the third position). Therefore, the vehicle performs card switching when driving to the second position, and the vehicle does not stop and wait for the user to take over due to the poor signal of the first SIM card, thereby improving the user experience.
[0028] In a possible design, the second position is a card switching starting position, and a card switching ending position is a fourth position. The fourth position is determined according to the second position, the switching time consumption of the vehicle, and the driving speed. The signal strength of the second SIM card on the route from the fourth position to the first position is higher than the signal strength of the first SIM card.
[0029] In the embodiments of the present application, the vehicle needs a certain time length to perform card switching, and the vehicle drives a certain distance in the time length. For example, card switching is started at the second position, and the vehicle drives to the fourth position when card switching is completed, that is, the fourth position is a card switching ending position. Optionally, the fourth position can be before or after the first position, or can be equal to the first position. Taking the case that the fourth position is before the first position as an example, the vehicle completes card switching before driving to the first position. In this case, the signal of the vehicle does not become poor because the signal strength of the second SIM card on the route from the fourth position to the first position is higher than the signal strength of the first SIM card. When driving to the first position, the signal of the vehicle also does not become poor because the signal strength of the second SIM card at the first position is higher than the signal strength of the first SIM card.
[0030] In a possible design, the second information includes: the signal strength of the residable cell of the first SIM card and the signal strength of the residable cell of the second SIM card corresponding to each of the m positions on the parking route; and the signal strength of the first SIM card corresponding to the first position is lower than the signal strength of the second SIM card corresponding to the first position, including: the signal strength of the residable cell of the first SIM card corresponding to the first position is lower than the signal strength of the residable cell of the second SIM card corresponding to the first position.
[0031] In the embodiments of the present application, the second information is used to describe the signal strength of the residable cell of the dual-SIM card corresponding to each position on the parking route, so that the vehicle can determine the position on the parking route corresponding to which the signal strength of the residable cell of the first SIM card is weak and the signal strength of the residable cell of the second SIM card is strong, and then switch the SIM card in advance before driving to the position, so as to avoid the vehicle signal weakening and causing parking and waiting for user to take over, and help to improve user experience.
[0032] In a possible design, the second information is pre-stored in the vehicle locally, or the second information is downloaded by the vehicle from a cloud server.
[0033] In the embodiments of the present application, the second information is pre-stored in the vehicle or can also be downloaded, in any case, the second information is used to describe the signal strength of the residable cell of the dual-SIM card corresponding to each position on the parking route, so that the vehicle can determine the position on the parking route corresponding to which the signal strength of the residable cell of the first SIM card is weak and the signal strength of the residable cell of the second SIM card is strong, and then switch the SIM card in advance before driving to the position, so as to avoid the vehicle signal weakening and causing parking and waiting for user to take over, and help to improve user experience.
[0034] In a possible design, the method further includes: before driving to the second position, the vehicle accesses a first mobile network through the first SIM card and communicates with a device through the first mobile network; after the vehicle switches from the first SIM card to the second SIM card, the vehicle accesses a second mobile network through the second SIM card and communicates with the device through the second mobile network.
[0035] In the embodiments of the present application, the vehicle communicates with the device (for example, a mobile phone) through the first SIM card before switching the SIM card, and communicates with the device through the second SIM card after switching the SIM card, in any case, the communication between the vehicle and the device is ensured to be uninterrupted as much as possible during the automatic parking process, so as to ensure that the vehicle is parked in sequence.
[0036] In a possible design, the vehicle communicates with the device, including: the vehicle sends third information to the device, the third information including the geographical position of the vehicle and / or the image collected by the vehicle.
[0037] In the embodiments of the present application, the vehicle communicates with the device (for example, a mobile phone) through the first SIM card before switching the SIM card, and communicates with the device through the second SIM card after switching the SIM card, in any case, the communication between the vehicle and the device is ensured to be uninterrupted as much as possible during the automatic parking process. Therefore, the vehicle can send the vehicle position and / or the image collected by the vehicle to the device in real time, so that the user can see the real-time position of the vehicle and the image around the vehicle through the device, and ensure driving safety.
[0038] In a possible design, the vehicle communicates with the device, including: the vehicle receiving fourth information sent by the device, where the fourth information is used to control the parking progress of the vehicle.
[0039] In the embodiments of the present application, the vehicle communicates with the device (for example, a mobile phone) through the first SIM card before the card switching, and communicates with the device through the second SIM card after the card switching. In summary, the communication between the vehicle and the device is ensured to be uninterrupted as much as possible during the automatic parking process. Therefore, the user can control the vehicle at any time through the device, for example, control the parking progress of the vehicle, for example, pause / continue parking, and the like, which helps to improve the user experience.
[0040] In a possible design, after the vehicle switches to the second SIM card, the method further includes: the vehicle parking on the target parking space; receiving fifth information, where the fifth information is used to instruct the vehicle to drive from the target parking space to a target position; determining a driving route according to the target parking space and the target position; determining a fifth position on the driving route according to sixth information, where the fifth position corresponds to a signal strength of the second SIM card that is lower than a signal strength of the first SIM card corresponding to the fifth position, the sixth information is used to describe the signal strength of the first SIM card and the signal strength of the second SIM card corresponding to n positions on the driving route, n is an integer greater than 1, and the fifth position is one of the n positions; determining a sixth position on the driving route according to the fifth position, where the distance between the sixth position and the target parking space is less than the distance between the fifth position and the target parking space; and driving to the target position according to the driving route, and switching from the second SIM card to the first SIM card when driving to the sixth position.
[0041] The technical scheme provided by the embodiments of the present application can be applied to the vehicle recall scene. For example, after the vehicle parks on the target parking space, the vehicle can automatically move out of the target parking space and drive to the target position, which can be referred to as an automatic vehicle recall process. During the automatic vehicle recall process, the vehicle can switch from the second SIM card to the first SIM card to ensure that the vehicle is in a state of having a signal of the SIM card as much as possible. In addition, the vehicle can switch the card in advance before the signal of the second SIM card becomes weak, so that the vehicle will not stop and wait for the user to take over due to the deterioration of the signal of the second SIM card, which helps the vehicle to smoothly drive to the target position and improves the user experience.
[0042] In a second aspect, a vehicle control method is provided, which can be applied to a cloud server. The method comprises: receiving, by the cloud server, a request sent by a vehicle, the request being used to request downloading second information, the second information being used to describe signal strengths of a first SIM card and a second SIM card corresponding to m positions on a parking route, m being an integer greater than 1; and sending, by the cloud server, the second information to the vehicle.
[0043] In the embodiments of the present application, the cloud server can provide the second information to the vehicle, so that the vehicle determines the card switching position according to the second information to switch the card in advance, which helps to improve the user experience.
[0044] In a possible design, before the cloud server sends the second information to the vehicle, the method further comprises: receiving, by the cloud server, first information and third information sent by each vehicle, the first information being used to describe signal strengths of the first SIM card corresponding to each position on the parking route, and the third information being used to describe signal strengths of the second SIM card corresponding to each position on the parking route; and obtaining, by the cloud server, the second information according to the first information and the third information.
[0045] In the embodiments of the present application, the cloud server can integrate the information reported by each vehicle, for example, vehicle 1 reports the signal strength of SIM card 1 at each position on a route, and vehicle 2 reports the signal strength of SIM card 2 at each position on the route, then the cloud server can integrate the signal strengths of SIM card 1 and SIM card 2 at each position on the route, and the integration result (i.e. the second information) obtained by the cloud server can help the vehicle to switch the SIM card when driving on the route.
[0046] In a possible design, the first information comprises signal strengths of residable cells of the first SIM card corresponding to each position on the parking route.
[0047] In a possible design, the third information comprises signal strengths of residable cells of the second SIM card corresponding to each position on the parking route.
[0048] In a third aspect, a vehicle control apparatus is provided, which is configured to perform the method provided in the first aspect.
[0049] For example, the vehicle control apparatus can be a telematics box (T-BOX) or an autonomous driving solution (ADS) or other modules in the vehicle.
[0050] In a fourth aspect, there is also provided a vehicle comprising the vehicle control apparatus provided in the third aspect above.
[0051] In a fifth aspect, there is also provided a communication system comprising: a device and a vehicle;
[0052] the device is configured to send first information to the vehicle, the first information being used to instruct the vehicle to automatically park in a target parking space;
[0053] the vehicle is configured to perform the method provided in the first aspect above.
[0054] In a sixth aspect, there is also provided a cloud server configured to perform the method provided in the second aspect above.
[0055] In a seventh aspect, there is also provided a communication system comprising: a device, a vehicle and a cloud server;
[0056] the device is configured to send first information to the vehicle, the first information being used to instruct the vehicle to automatically park in a target parking space;
[0057] the vehicle is configured to perform the method provided in the first aspect above.
[0058] the cloud server is configured to perform the method provided in the second aspect above.
[0059] In an eighth aspect, there is also provided a device comprising:
[0060] a processor, a memory, and one or more programs;
[0061] wherein the one or more programs are stored in the memory and configured to, with the processor, perform the method provided in the first aspect or the second aspect above.
[0062] In a ninth aspect, there is also provided a device comprising means / units for performing the method provided in any one of the first aspect or the second aspect above. These means / units can be implemented by hardware, or implemented by hardware executing corresponding software.
[0063] In a tenth aspect, there is also provided a readable storage medium (also referred to as a computer readable storage medium) for storing a program, which when executed on a device, causes the device to perform the method provided in the first aspect or the second aspect above.
[0064] In an eleventh aspect, there is also provided a program product (also referred to as a computer program product) comprising a program, which when executed on a device, causes the device to perform the method provided in the first aspect or the second aspect above.
[0065] The twelfth aspect further provides a chip coupled with a memory in a device, for invoking a program stored in the memory and executing the technical solution provided by the first aspect or the second aspect of the embodiments of the present application. In the embodiments of the present application, "coupled" means that two components are directly or indirectly combined with each other.
[0066] The thirteenth aspect further provides a chip system, comprising a processing circuit, a storage medium, and instructions stored in the storage medium; when the instructions are executed by the processing circuit, the method provided by the first aspect or the second aspect is implemented.
[0067] The technical effects achieved by the second aspect to the thirteenth aspect can refer to the description of the technical effects achieved by the corresponding design scheme in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0068] FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0069] FIG. 2 is a schematic diagram of a display interface of a mobile phone provided by an embodiment of the present application;
[0070] FIG. 3 is a schematic diagram of a card switching process of a vehicle provided by an embodiment of the present application;
[0071] FIG. 4A is a schematic diagram of cell evaluation results at various positions on a parking route provided by an embodiment of the present application;
[0072] FIG. 4B is another schematic diagram of a card switching process of a vehicle provided by an embodiment of the present application;
[0073] FIG. 5 is a schematic diagram of cumulative position quantities of various positions on a parking route provided by an embodiment of the present application;
[0074] FIG. 6A is a schematic diagram of a display interface of a mobile phone provided by an embodiment of the present application;
[0075] FIGS. 6B to 6C are schematic diagrams of a communication map provided by an embodiment of the present application;
[0076] FIG. 7 is another schematic diagram of a card switching process of a vehicle provided by an embodiment of the present application;
[0077] FIG. 8 is a schematic diagram of a vehicle provided by an embodiment of the present application;
[0078] FIG. 9 is another schematic diagram of an application scenario provided by an embodiment of the present application;
[0079] FIG. 10 is another schematic diagram of a vehicle provided by an embodiment of the present application;
[0080] FIG. 11 is a schematic diagram of an apparatus according to an embodiment of the present application. DETAILED DESCRIPTION
[0081] In the following, some terms in the embodiments of the present application are explained to facilitate the understanding of the skilled in the art.
[0082] At least one of the embodiments of the present application includes one or more, and the plurality refers to two or more. In addition, it should be understood that in the description of the present specification, the terms "first", "second", "third" and the like are only used to distinguish the description purpose, and cannot be understood as indicating or implying relative importance, nor can it be understood as indicating or implying order. For example, the first SIM card and the second SIM card do not represent the importance or order of the two, but only for the purpose of distinguishing description. In the embodiments of the present application, "and / or" is only used to describe the relationship between the associated objects, which means that there are three kinds of relationships, for example, A and / or B can represent three cases: A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in this paper generally represents a "or" relationship between the front and rear associated objects.
[0083] The vehicle control method provided by the embodiments of the present application can be applied to a communication system. For example, please refer to FIG. 1, which is a schematic diagram of a communication system according to an embodiment of the present application. As shown in FIG. 1, the communication system includes a vehicle 100, an apparatus 200, a base station 300, a base station 400 and a cloud server 500, which are described below.
[0084] The vehicle 100 can be various types of vehicles. For example, the vehicle 100 can be a pure electric vehicle (pure EV / battery EV), a hybrid electric vehicle (HEV), a range extended electric vehicle (REEV), a plug-in hybrid electric vehicle (PHEV), a smart vehicle (e.g., an automated guided vehicle (AGV)), a digital car, a driverless car, a smart manufacturing vehicle, or a vehicle in the form thereof, etc. In addition, the vehicle 100 can be a car, a truck, a motorcycle, a bus, an amusement park vehicle, a golf cart, a train, a trolley, etc. Moreover, it should be noted that the vehicle 100 herein can also be replaced by other means of transportation, such as a ship, a speedboat, a yacht, a passenger aircraft, a helicopter, a drone, etc. In the embodiments of the present application, the vehicle 100 has an auto valet parking (AVP) function. The auto valet parking function can be understood as the vehicle being able to drive to a parking space and park in the parking space by means of automatic driving technology without the need for manual driving by the driver. In some embodiments, the auto valet parking function of the vehicle 100 can be controlled by the device 200. For example, the user can control the vehicle 100 to start / stop parking, pause / continue parking, etc. by means of the device 200. Therefore, communication needs to be established between the vehicle 100 and the device 200, so that the vehicle 100 can receive the instructions sent by the device 200. One possible way is that the vehicle 100 has a remote communication function and is able to establish remote communication with the device 200. For example, the vehicle 100 is configured with a subscriber identity module (SIM) card, and the remote communication is established between the vehicle 100 and the device 200 by means of the SIM card. It should be understood that the SIM card herein includes but is not limited to a physical SIM card or a digital SIM card (e.g., eSIM). For example, after the vehicle 100 turns on the data flow of the SIM card, the vehicle 100 accesses a mobile network and establishes remote communication with the device 200 through the mobile network. For example, as shown in FIG. 1, after the vehicle 100 turns on the data flow of the SIM card, the SIM card can access a base station 300, connect to a cloud server 500 through the base station 300, connect to a base station 400 through the cloud server 500, and then establish remote communication with the device 200 through the base station 400. The cloud server 500, the base station 300, the base station 400, etc. will be described later.As described above, the vehicle 100 has a remote communication function, and optionally, the remote communication function of the vehicle 100 can be implemented by a communication module in the vehicle 100, which can be a telematics box (T-BOX) for example. For example, a SIM card in the vehicle 100 can be arranged in the T-BOX.
[0085] The base station 300, as shown in FIG. 1, is a camping base station of the vehicle 100. The base station 300 can be various types of base stations, for example, can be a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next generation NodeB (gNB) in a 5G mobile communication system, a next generation base station in a 6th generation (6G) mobile communication system, a base station in a future mobile communication system, or an access node in a wireless fidelity (Wi-Fi) system, etc. In addition, the base station 300 can be a macro base station, or can be a micro base station or an indoor station, and can also be a relay node or a donor node, etc. In general, the embodiments of the present application do not limit the type of the base station 300. It should be noted that the base station is mainly taken as an example herein, but the base station can also be replaced by other radio access network devices, which are not limited by the embodiments of the present application. It can be understood that the base station 300 corresponds to the operator of the SIM card in the vehicle 100. For example, if the operator of the SIM card in the vehicle 100 is A (for example, ), the base station 300 is a base station provided by the operator A, which supports network communication of the operator A. Alternatively, if the operator of the SIM card in the vehicle 100 is B (for example, ), the base station 300 is a base station provided by the operator B, which supports network communication of the operator B. As shown in FIG. 1, the base station 300 covers a certain range, and when the vehicle 100 is located in the range, the vehicle 100 can access the base station 300, of course, if the vehicle 100 moves out of the range, another base station (not shown in FIG. 1) can be accessed. In addition, it should be noted that the base station 300 can correspond to one or more cells, and the vehicle 100 can camp in any of the one or more cells, and if the position of the vehicle 100 moves, cell switching can occur.
[0086] The device 200 can be various types of devices. For example, the device 200 can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless device in industrial control, a wireless device in self driving, a wireless device in remote medical surgery, a wireless device in smart grid, a wireless device in transportation safety, a wireless device in smart city, a wireless device in smart home, etc. In general, the embodiments of the present application do not limit the specific type of the device 200. In the embodiments of the present application, the device 200 can control the automatic valet parking function of the vehicle 100. For example, the device 200 can control the vehicle 100 to start / stop parking, pause / continue parking, etc. As described above, the device 200 can establish remote communication with the vehicle 100. For example, the device 200 can establish remote communication with the vehicle 100 after being connected to the network (accessing Wi-Fi or starting data traffic). For example, as shown in FIG. 1, the device 200 accesses the base station 400, connects to the cloud server 500 through the base station 400, connects to the base station 300 through the cloud server 500, and then establishes remote communication with the vehicle 100 through the base station 300. The base station 400 and the cloud server 500 will be described later.
[0087] The base station 400, as shown in FIG. 1, is a camped base station of the device 200. The base station 400 can be various types of base stations, for example, can be a common base station, an eNodeB, a TRP, a gNB, a next-generation base station in 6G, a base station in a future mobile communication system, or an access node in a Wi-Fi system, etc. In addition, the base station 400 can be a macro base station, or a micro base station or an indoor station, or a relay node or a donor node, etc. The embodiments of the present application do not limit the type of the base station 400. It can be understood that the base station 400 is related to the operator of the SIM card in the device 200, and the principle is the same as before, which is not repeated here. It should be understood that the base station 400 and the base station 300 can be the same base station or can be different base stations. For example, if the distance between the device 200 and the vehicle 100 is close, and the SIM cards of the two correspond to the same operator, then the base station 400 and the base station 300 can be the same base station; if the distance between the device 200 and the vehicle 100 is far, or the SIM cards of the two correspond to different operators, then the base station 400 and the base station 300 are not the same base station. Similarly, the base station 400 can also correspond to one or more cells, and the device 200 can camp in any of the one or more cells, and if the position of the device 200 moves, cell switching can occur.
[0088] The cloud server 500 is used to implement remote communication between the vehicle 100 and the device 200. The cloud server 500 can be one server or a cluster of multiple servers. The cloud server can also have other names, such as cloud server, cloud, cloud side server, cloud side, cloud, etc. The cloud server can be an entity device including a host, a processor, etc., or a virtual device including a virtual machine, a container, etc., and the embodiments of the present application do not limit the type of the cloud server. As described above, the cloud server 500 is used to implement remote communication between the vehicle 100 and the device 200. One possible way is that the device 200 and the vehicle 100 both register with the cloud server 500, and optionally, the cloud server 500 can also establish an association relationship between the device 200 and the vehicle 100. In this way, after receiving the instruction sent by the device 200 for controlling the vehicle 100, the cloud server 500 sends the instruction to the vehicle 100 based on the association relationship to achieve control of the vehicle 100.
[0089] Taking the registration of the device 200 to the cloud server 500 as an example, one possible way is that the device 200 includes a first application for controlling the vehicle, and the user can register and log in the first application. After the first application logs in the first account, the cloud server 500 stores the information of the first account of the first application, for example, the account name, the account password and other information of the first account. The other information may, for example, include the device information (for example, the device model, the device name, etc.) of the device 200. The example of the registration of the device 200 to the cloud server 500 is given here, and the device 200 can also be registered to the cloud server 500 in other ways, which are not limited by the embodiments of the present application.
[0090] Taking the registration of the vehicle to the cloud server 500 as an example, one possible way is that the vehicle 100 includes a second application, and the user can register and log in the second application. After the second application logs in the second account, the cloud server 500 stores the information of the second account of the second application, for example, the account name, the account password and other information of the second account. The other information may, for example, include the vehicle information (for example, the vehicle name, the vehicle model, etc.) of the vehicle 100. Optionally, the first application and the second application can be the same application or different applications. For example, the first application and the second application can be different versions of the same application, for example, the first application is a mobile phone version of the vehicle control application, and the second application is a vehicle-mounted version of the vehicle control application. The first account and the second account can be the same account or different accounts, which are not limited.
[0091] Optionally, the cloud server 500 can also establish an association relationship between the device 200 and the vehicle 100. For example, a first application in the device 200 can be used to add information of the vehicle. For example, the first application provides an interface in which the user can add information of the vehicle. After the information of the vehicle 100 is added, the device 200 can send a request to the cloud server 500 to request to establish an association relationship between the device 200 and the vehicle 100. Thus, the cloud server 500 obtains the association relationship between the device 200 and the vehicle 100. It can be understood that the association relationship can also be an association relationship between the first account and the vehicle 100 or an association relationship between the first account and the second account, etc. Thereafter, the user can control the vehicle 100 through the first application in the device 200. For example, the first application can provide some controls for controlling the vehicle 100. The controls can include, for example, a first control for controlling the temperature in the vehicle, a second control for controlling the window, a third control for adjusting the seat, etc. Assuming that the device 200 detects that the user sets the temperature through the first control, the device 200 sends an instruction to the cloud server 500, and the instruction includes the first account of the first application, the information of the vehicle 100, and the temperature information. After receiving the instruction, the cloud server 500 determines that there is an association relationship between the first account and the vehicle 100, and sends a temperature adjustment instruction to the vehicle 100 to make the vehicle 100 adjust to the temperature specified by the user. In addition, the first application in the device 200 can also control the automatic valet parking function of the vehicle 100. For example, the first application includes a fourth control for controlling the vehicle 100 to start parking, a fifth control for controlling the vehicle 100 to end parking, a sixth control for controlling the vehicle 100 to pause parking, a seventh control for controlling the vehicle 100 to continue parking, etc. Optionally, the fourth control and the fifth control can be one control or two different controls; the sixth control and the seventh control can be one control or two different controls, and the specific form is not limited. Assuming that the device 200 detects that the user triggers the fourth control, the device 200 sends an instruction to the cloud server 500, and the instruction is used to instruct the vehicle 100 to start parking. The cloud server 500 sends a start parking instruction to the vehicle 100 to make the vehicle start automatic parking.
[0092] The above is a description of the communication system of the embodiments of the present application. For ease of understanding, the following continues to be described taking the communication system shown in FIG. 1 as an example.
[0093] The communication system shown in FIG. 1 can be applicable to an automatic valet parking scenario. For example, as shown in FIG. 1, a user is located at position A (for example, a parking lot entrance), and the user wants to use the automatic valet parking function of the vehicle 100 to automatically drive the vehicle 100 to a target parking space and park on the target parking space. One possible way is that the user performs some operations on the device 200 to control the vehicle 100 to automatically park on the target parking space through the device 200. For example, the device 200 displays an interface of a first application in response to a user operation, for example, the interface shown in FIG. 2, which can include a parking space layout of a parking lot, and the parking space layout includes one or more parking spaces. The user can select a certain parking space. After the device 200 determines that the user selects a certain parking space and detects that the user triggers a control (for example, the start control in FIG. 2) for controlling the vehicle to start parking, the device 200 can send first information to the vehicle 100, and the first information is used to instruct the vehicle 100 to automatically park on a target parking space, and the target parking space can be the parking space selected by the user. One way for the vehicle 100 to receive the first information is that a SIM card is configured in the vehicle 100 and the SIM card has a signal, and the first information is received through the SIM card. For example, the vehicle 100 accesses a mobile network through the SIM card, connects to a cloud server 500 through the mobile network, and receives the first information from the cloud server 500 (the device 200 sends the first information to the cloud server 500), and the cloud server 500 is described above. After receiving the first information, the vehicle 100 starts the automatic valet parking function, drives to the target parking space and parks on the target parking space.
[0094] As can be seen, the automatic valet parking function of the vehicle 100 can be normally used when the SIM card in the vehicle has a signal, and cannot be normally used when the SIM card in the vehicle has no signal or a weak signal. However, many parking lots (especially underground parking lots) have poor network coverage, and the SIM card in the vehicle is likely to have no signal when the vehicle drives in these parking lots, which seriously affects the user experience.
[0095] In view of this, the embodiments of the present application provide a solution, in which the vehicle 100 supports dual SIM cards, for example, a first SIM card and a second SIM card. The vehicle 100 can switch between the first SIM card and the second SIM card, and compared with a single SIM card, the vehicle 100 can be ensured to be in a state of having a signal as much as possible, so that the automatic valet parking function of the vehicle 100 can be normally used.
[0096] In the embodiments of the present application, the vehicle 100 supports the first SIM card and the second SIM card. The first SIM card corresponds to an operator A, and the operator A can be, for example, or and the like. The second SIM card corresponds to an operator B, and the operator B can be, for example, Or and so on. Optionally, the operators corresponding to the first SIM card and the second SIM card can be the same or different, which is not limited. In this paper, the first SIM card and the second SIM card corresponding to different operators are mainly taken as an example. Optionally, the first SIM card can be a SIM card suitable for 3G, 4G, 5G, 6G or future higher order. Optionally, the second SIM card can be a SIM card suitable for 3G, 4G, 5G, 6G or future higher order. It should be understood that the SIM card involved in this paper includes but is not limited to physical SIM card or digital SIM card (such as eSIM). It should be noted that the "SIM card" mentioned in the embodiments of the present application can be a general SIM card and an evolved SIM card. For example, the general SIM card can be a global system for mobile communications (GSM) digital mobile phone user identity card; the evolved SIM card can be a universal subscriber identity module (USIM), also known as an upgraded SIM card. In summary, the type of SIM card is not limited in the embodiments of the present application.
[0097] As described above, the vehicle 100 can switch between the two SIM cards. In the embodiments of the present application, the SIM card switching scheme of the vehicle 100 can have many kinds, including but not limited to at least one of the following.
[0098] The first switching scheme takes the current use of the first SIM card by the vehicle 100 as an example. The vehicle 100 can detect the signal strength of the first SIM card in real time during automatic parking, and once the signal strength of the first SIM card is detected to be lower than the first threshold, the vehicle 100 will immediately enter the "protection mode" and start a timer to time. In the "protection mode", the speed of the vehicle 100 can be automatically reduced to ensure the drivability. It should be understood that the "protection mode" can also have other names, such as "low risk mode" and the like, which is not limited in the embodiments of the present application. If the signal is restored before the timer reaches the preset time length (such as 3s, 5s, etc.), the vehicle 100 will not stop but continue to automatically drive to the target parking space; if the signal is not restored when the timer reaches the preset time length, the vehicle 100 will automatically stop and wait for the user to take over.
[0099] For example, referring to (a) in FIG. 3, when the vehicle 100 drives to the position a in the automatic parking process, it is detected that the signal strength of the first SIM card currently used is lower than the first threshold value, the vehicle 100 will immediately enter the "protection mode" and start the timer to count. One possible case is that before the timer reaches the preset time length, the vehicle 100 successfully switches from the first SIM card to the second SIM card and the signal strength of the second SIM card is higher than the first threshold value, so the vehicle 100 will not stop but continue to drive to the target parking space. Another possible case is that when the timer reaches the preset time length, the vehicle 100 has not successfully switched from the first SIM card to the second SIM card or has switched to the second SIM card but the signal strength of the second SIM card is lower than the first threshold value, indicating that the signal has not recovered, so the vehicle will stop and wait for the user to take over.
[0100] Therefore, in the first switching scheme, if the card switching speed of the vehicle 100 is slow, the situation that the signal of the SIM card cannot be recovered in time and the vehicle 100 stops and waits for the user to take over will occur.
[0101] The second switching scheme takes the vehicle 100 currently using the first SIM card as an example. During the automatic parking process of the vehicle 100, the signal strengths of the first SIM card and the second SIM card at the front position can be predicted. If it is predicted that the signal strength of the first SIM card at the front position is lower than the first threshold value and the signal strength of the second SIM card is higher than the first threshold value, the vehicle 100 can switch the card in advance before driving to the front position, so as to avoid the vehicle 100 entering the "protection mode" because the signal of the first SIM card becomes poor.
[0102] For example, referring to (b) in FIG. 3, when the vehicle 100 is at the position b, it is predicted that the signal strength of the first SIM card at the front position a is lower than the first threshold value and the signal strength of the second SIM card is higher than the first threshold value, so the vehicle 100 can switch the card in advance before driving to the position a (for example, when driving to the position c, the card is switched in advance, because the signal of the first SIM card has not become poor at the position c, so the vehicle 100 will not enter the "protection mode".
[0103] It should be noted that in the second switching scheme, the vehicle 100 can also have a short time signal deterioration during the process of cutting the card. When the vehicle 100 detects that the signal of the SIM card is deteriorated, it will also immediately enter the "protection mode" and start the timer to count. If the signal is restored before the timer reaches the preset time length, the vehicle will not stop; if the signal is not restored when the timer reaches the preset time length, the vehicle will also automatically stop waiting for the user to take over. However, it should be noted that compared with the first card cutting scheme, the probability of signal recovery before the timer reaches the preset time length in the second card cutting scheme is greater. For ease of understanding, please compare the first switching scheme and the second switching scheme. In the first switching scheme, the vehicle 100 enters the "protection mode" and starts the timer to count as soon as the signal strength of the first SIM card of the vehicle 100 is lower than the first threshold value, for example, from 1s to 5s. Only after the timer starts counting, the card cutting is started, so the card cutting time is preferably less than or equal to 5s, otherwise the vehicle will automatically stop. In the second card cutting scheme, the vehicle 100 first cuts the card, and during the process of cutting the card, if the signal strength is lower than the first threshold value, it will immediately enter the "protection mode" and start the timer to count, for example, from 1s to 5s. Since the card cutting has started before the timer starts counting, that is, the progress of the card cutting has completed a part, so when the timer reaches 5s, the probability of completing the card cutting is greater.
[0104] In the following, the second switching scheme will be described in detail.
[0105] Continuing to take the vehicle 100 currently using the first SIM card as an example, the vehicle 100 receives the first information, and the first information is used to instruct the vehicle to automatically park in the target parking space. For the process of the vehicle 100 receiving the first information, please refer to the description in the foregoing. The first information can be various forms of information, such as instructions, messages, indication information, requests, messages, etc. It can be understood that when different communication protocols are used between the vehicle 100 and the device 200, the form of the first information can be different. For example, when the vehicle 100 and the device 200 use the HyperText Transfer Protocol (HTTP), the first information can be a parking request; when the vehicle and the device 200 use the Internet Protocol (IP) protocol, the first information can be an IP message, of course, there can be other communication protocols, which are not listed one by one.
[0106] The vehicle 100 can plan a parking route according to the current position and the target parking space. The starting position of the parking route is the current position of the vehicle 100, and the end position is the target parking space. Optionally, the parking route can be planned by the vehicle 100 itself, or planned by the device 200 and then sent to the vehicle 100. Taking the example of the vehicle 100 planning by itself, one possible way is that the vehicle 100 acquires a parking lot layout map, determines the current position of the vehicle 100 and the target parking space in the parking lot layout map, and determines the parking route according to the two positions. For example, the parking route can be the route with the shortest time consumption or the least congestion, of course, it can also be other routes such as the frequently traveled route. Taking the example of the device 200 planning the route, the first application in the device 200 can display an interface for planning the route (such as the interface of FIG. 2), for example, after the user selects the target parking space, the first application can display multiple routes from the current position of the vehicle 100 to the target parking space for the user to select. The device 200 sends the route selected by the user (i.e. the parking route) to the vehicle 100.
[0107] In the embodiments of the present application, after the vehicle 100 plans the parking route, the vehicle 100 can determine, according to the second information, which positions on the parking route correspond to the first SIM card with poor signal (the vehicle 100 currently uses the first SIM card). For example, the vehicle 100 determines, according to the second information, a first position on the parking route, and the first position corresponds to the first SIM card with poor signal. The first position corresponding to the first SIM card with poor signal can include that the signal strength of the first SIM card at the first position is lower than the signal strength of the second SIM card at the first position. For example, the signal strength of the first SIM card at the first position is lower than a first threshold, and the signal strength of the second SIM card at the first position is higher than the first threshold. Optionally, the first threshold can be the first threshold mentioned in the foregoing that triggers the vehicle to enter the protection mode. In addition, the position on the parking route mentioned in the embodiments of the present application can be a relative position or an absolute position. The relative position can be understood as a position relative to a reference position, for example, the reference position can be the starting position of the parking route (i.e., the current position of the vehicle 100). The absolute position can be a position detected by a positioning module in the vehicle 100, and the positioning module can be a global positioning system (GPS) or a Bei Dou Navigation Satellite System (BDS) or other positioning systems, which are not limited. As described in the foregoing, the vehicle 100 determines the first position on the parking route according to the second information. In the embodiments of the present application, the second information is used to describe the signal strength of the first SIM card and the signal strength of the second SIM card corresponding to each of m positions on the parking route, and the first position can be one of the m positions, and m is an integer greater than 1. Optionally, the second information can have multiple forms, and when the second information has different forms, the way of determining the first position according to the second information is different, which is described below.
[0108] The first form of the second information
[0109] The second information can include cell information of the operator A and / or cell information of the operator B at each position on the parking route. The operator A is the operator corresponding to the first SIM card, i.e., the cell of the operator A is the residable cell of the first SIM card. The operator B is the operator corresponding to the second SIM card, i.e., the cell of the operator B is the residable cell of the second SIM card. It should be noted that each position can not be in the coverage range of any cell, and of course can be in the coverage range of one or more cells, so the cell of the operator A at each position in the second information can be 0, or one or more, and the cell of the operator B can be 0, or one or more. Taking position 1 as an example, position 1 is in the coverage range of cell a, cell b and cell c, cell a and cell b correspond to the operator A, and cell c corresponds to the operator B. The cell information can include the signal strength of the cell, which can be described by the measurement signal of the cell. Optionally, the measurement signal can include one or more of the following: reference signal receiving power (RSRP), received signal strength indication (RSSI), reference signal receiving quality (RSRQ), and signal to interference plus noise ratio (SINR). For ease of understanding, the following takes the signal strength of the cell as the RSRP of the cell as an example for description. For example, please refer to Table 1 below, which is an example of the second information.
[0110] Table 1: An example of the second information
[0111] As shown in Table 1 above, position 1 is in the coverage range of cell a, cell b and cell c, cell a and cell b correspond to the operator A, and cell c corresponds to the operator B. Position 2 is in the coverage range of cell d and cell e, and cell d and cell e both correspond to the operator A.
[0112] As described above, the vehicle 100 determines the first position on the parking route according to the second information. When the second information is in the first form (e.g., the form of Table 1), the first position corresponding to the first SIM card whose signal strength is lower than the second SIM card whose signal strength can include: the signal strength of the cell of the operator A at the first position is lower than the signal strength of the cell of the operator B at the first position. Taking the first position as position 1 in Table 1 above, position 1 includes cell a and cell b of the operator A, and cell c of the operator B, and the signal strengths of cell a and cell b are both lower than the signal strength of cell c.
[0113] The following describes the process of determining the first position on the parking route by the vehicle 100 according to the second information (Table 1 above).
[0114] The vehicle 100 can evaluate the cells of the operator A and the cells of the operator B corresponding to each position respectively based on the second information (e.g., Table 1 above).
[0115] Taking the evaluation of the cells of the operator A as an example, assuming that there are N cells of the operator A at a position, N being a positive integer, the vehicle 100 can determine whether there is at least one cell whose signal strength is higher than the first threshold value in the N cells, and if so, give an evaluation value a of the cells of the operator A at the position, for example, the evaluation value a is represented by a binary number "1", which means that there is a cell of the operator A at the position whose signal strength is higher than the first threshold value. If the signal strengths of the N cells are all lower than the first threshold value, then an evaluation value b of the cells of the operator A at the position is given, for example, the evaluation value b is represented by a binary number "0", which means that there is no cell of the operator A at the position whose signal strength is higher than the first threshold value.
[0116] Taking the evaluation of the cells of the operator B as an example, assuming that there are M cells of the operator B at a position, M being a positive integer, the vehicle 100 can determine whether there is at least one cell whose signal strength is higher than the first threshold value in the M cells, and if so, give an evaluation value c of the cells of the operator B at the position, for example, the evaluation value c is represented by a binary number "1", which means that there is a cell of the operator B at the position whose signal strength is higher than the first threshold value. If the signal strengths of the M cells are all lower than the first threshold value, then an evaluation value d of the cells of the operator B at the position is given, for example, the evaluation value d is represented by a binary number "0", which means that there is no cell of the operator B at the position whose signal strength is higher than the first threshold value.
[0117] For example, for position 1 in Table 1 above, the cells of operator A at position 1 include cell a and cell b. The vehicle 100 determines whether the signal strength of at least one of cell a and cell b is higher than the first threshold value, and if so, gives an evaluation value a, e.g. binary number "1", for the cell of operator A at position 1. If the signal strength of both cell a and cell b is lower than the first threshold value, then gives an evaluation value b, e.g. binary number "0", for the cell of operator A at position 1. For position 1 in Table 1 above, the cell of operator B at position 1 includes cell c. The vehicle 100 can determine whether the signal strength of cell c is higher than the first threshold value, and if so, gives an evaluation value c, e.g. binary number "1", for the cell of operator B at position 1. If the signal strength of cell c is lower than the first threshold value, then gives an evaluation value d, e.g. binary number "0", for the cell of operator B at position 1.
[0118] Thus, for each position, the vehicle 100 can obtain an evaluation result for the cell of operator A at the position, and an evaluation result for the cell of operator B at the position. For example, the evaluation result for each position can be described by the following formula:
[0119] wherein sig represents the evaluation result, s represents the operator, which can be operator A or operator B, e.g. s = 0 represents operator A, corresponding to the first SIM card, and s = 1 represents operator B, corresponding to the second SIM card. i represents the position, which can be understood as a position number or a position index, e.g. i = 0, 1, 2, 3, 4, etc.
[0120] Thus, through the above process, the vehicle 100 obtains sig(s, i) for representing the signal strength of the cell of operator A and the signal strength of the cell of operator B at each position on the parking route.
[0121] For example, as shown in FIG. 4A, an example of sig(s, i) is shown. The first row represents s = 0, i.e. operator A, and the second row represents s = 1, i.e. operator B. The horizontal axis from left to right represents the positions. For example, for position b, the sig of the cell of operator A at position b is 0, representing that the signal strength of the cell of operator A at position b is lower than the first threshold value; and the sig of the cell of operator B at position b is 1, representing that the signal strength of the cell of operator B at position b is higher than the first threshold value.
[0122] Hereinafter, the process of determining the first position by the vehicle 100 according to sig(s, i) of FIG. 4A is described.
[0123] Method 1, taking vehicle 100 currently using a first SIM card and the first SIM card corresponding to operator A as an example. Vehicle 100 can determine the first position on the parking route based on sig(s, i). At the first position, the sig value of operator A's cell is 0, and the sig value of operator B's cell is 1. As mentioned earlier, if the sig value of operator A's cell at a position is 0, it means that the signal strength of operator A's cell at that position is lower than a first threshold, that is, the signal strength of the first SIM card at that position is lower than the first threshold. Similarly, if the sig value of operator B's cell at a position is 1, it means that the signal strength of operator B's cell at that position is higher than the first threshold, that is, the signal strength of the second SIM card at that position is higher than the first threshold. In other words, the signal strength of the first SIM card corresponding to the first position is lower than the signal strength of the second SIM card corresponding to the first position.
[0124] For example, as shown in Figure 4B, vehicle 100 is currently using the first SIM card and is currently located at position a. Vehicle 100 can determine that at position b ahead, the sig value of operator A's cell is 0, and the sig value of operator B's cell is 1, meaning the first position is position b. In this case, the vehicle can switch SIM cards before reaching the first position, i.e., vehicle 100 can switch SIM cards before reaching position b. As shown in Figure 4B, vehicle 100 switches SIM cards when it reaches position c, before position b. It should be understood that after switching to the second SIM card, vehicle 100 can continue to determine the signal strength of operator B's cells at various positions ahead. Continuing as shown in Figure 4B, vehicle 100 determines that the sig value of operator B's cell at position d is 0, and the sig value of operator A's cell is 1. Then, vehicle 100 switches SIM cards before reaching position d, for example, when vehicle 100 reaches position e, before position d.
[0125] Method 2, taking vehicle 100 currently using a first SIM card and the first SIM card corresponding to operator A as an example. Vehicle 100 can determine the first position on the parking route based on sig(s, i). At the first position, the sig value of operator A's cell is 0, and the first position is the starting position of a segment of the parking route. There are multiple positions in this segment where the sig value of operator A's cell is 0 for all of the multiple positions, or the sig value of operator A's cell is 0 for most of the multiple positions. Conversely, the sig value of operator B's cell is 1 for all of the multiple positions, or the sig value of operator B's cell is 1 for most of the multiple positions. This indicates that the signal strength of the first SIM card on this segment is lower than a first threshold, while the signal strength of the second SIM card is higher than the first threshold. In other words, the signal strength of the first SIM card is higher than the signal strength of the second SIM card on this segment of the route.
[0126] For example, as shown in FIG. 4B, the vehicle 100 currently uses the first SIM card, and the vehicle 100 is currently located at position a. The vehicle 100 determines that there is a route segment 1 in front, in which the sig value of the cell of the operator A is 0, and the sig value of the cell of the operator B is 1. In this case, the vehicle 100 can perform the card switching before driving to the starting position (i.e., the first position) of the route segment 1. For example, as shown in FIG. 4B, the vehicle 100 performs the card switching when moving to position c before position b. After the vehicle 100 switches to the second SIM card, the vehicle 100 can continue to determine the signal strength of the second SIM card at the front position. Continuing as shown in FIG. 4B, the vehicle 100 determines that the sig value of the cell of the operator B is 0 on the route segment 2, and the sig value of the cell of the operator A is 1 on the route segment 2, so the vehicle 100 performs the card switching before reaching the starting position of the route segment 2. For example, the vehicle 100 performs the card switching when driving to position e before position d.
[0127] The difference between the second mode and the first mode is that, in the first mode, the card switching is performed when the signal strength of the first SIM card at one position on the parking route is low, while in the second mode, the card switching is performed when the signal strength of the first SIM card on a route segment on the parking route is low. Compared with the first mode, the second mode can avoid frequent card switching. Hereinafter, the second mode is mainly taken as an example for description.
[0128] As described above, in the second mode, the vehicle 100 determines that there is a route segment on the parking route, in which there are multiple positions, the sig value of the cell of the operator A at the multiple positions is 0, and the sig value of the cell of the operator B at the multiple positions is 1. It is considered that if the length of the route segment is short, it means that only a small route segment has no signal of the first SIM card, and once the vehicle 100 drives out of the route segment, the signal of the first SIM card will be restored. In this case, the card switching can not be performed. Therefore, in some embodiments, the vehicle 100 can determine whether the length of the route segment is greater than a preset length, if yes, the card switching is performed before driving to the starting position of the route segment, otherwise, the card switching can not be performed. Optionally, the preset length can satisfy at least one of the following conditions:
[0129] (a) The preset length can be a preconfigured length, for example, a value configured when the vehicle 100 is manufactured.
[0130] (b) The preset length can be a user-defined length. For example, the user can set the preset length on the vehicle 100 or can set the preset length on the device 200. If the preset length is set on the device 200, the device 200 can send the preset length set by the user to the vehicle 100.
[0131] (c), the preset length can be the distance traveled by the vehicle 100 within a first time duration. The first time duration is the time duration for the vehicle 100 to perform the card swiping. That is, the vehicle 100 needs to take a certain time duration to perform the card swiping, and the vehicle 100 will travel a distance within the time duration. If the length of the route segment (e.g., the route segment 1 in FIG. 4B) is greater than the distance, the vehicle 100 can perform the card swiping, otherwise, the vehicle 100 can not perform the card swiping. Alternatively, the time duration for the card swiping can be pre-stored in the vehicle, and the vehicle 100 can further determine the current travel speed. According to the time duration for the card swiping and the current travel speed, the distance traveled by the vehicle within the time duration for the card swiping, i.e., the product of the time duration for the card swiping and the travel speed of the vehicle, can be calculated.
[0132] In the above embodiment, the process for the vehicle 100 to determine the first position on the parking route is described. After the first position is determined, the vehicle 100 can perform the card swiping in advance before traveling to the first position. For example, the vehicle 100 determines a second position on the parking route according to the first position. The second position is before the first position, i.e., the distance between the second position and the current position of the vehicle 100 is less than the distance between the first position and the current position of the vehicle 100, in other words, the vehicle 100 travels to the second position first and then travels to the first position according to the parking route. Therefore, the vehicle 100 can perform the card swiping when traveling to the second position.
[0133] Alternatively, before the vehicle 100 performs the card swiping at the second position, the vehicle 100 can further determine whether to perform the card swiping at the second position according to the time duration for the card swiping.
[0134] In a possible case, the time consumed by the vehicle 100 for switching the card is less than or equal to the preset time length, which indicates that the switching speed is very fast. Even if the vehicle 100 enters the protection mode and starts the timer, the switching can be completed before the timer reaches the preset time length. In this case, the vehicle 100 can temporarily not switch the card when driving at the second position, but the vehicle 100 needs to detect the signal strengths of the first SIM card and the second SIM card in real time from the second position. Once it is detected that the signal strength of the first SIM card is lower than that of the second SIM card, the vehicle 100 enters the protection mode and starts the timer, and the vehicle 100 starts to switch the card. Since the time consumed by the switching is short, the switching can be completed before the timer reaches the preset time length, so the vehicle 100 will not stop. For example, in FIG. 4B, if the time consumed by the switching is less than or equal to the preset time length, the vehicle 100 can temporarily not switch the card when driving at the position c, but the vehicle 100 needs to detect the signal strengths of the first SIM card and the second SIM card in real time from the position c. Once it is detected that the signal strength of the first SIM card is lower than that of the second SIM card, the vehicle 100 enters the protection mode and starts the timer, and the vehicle 100 starts to switch the card. Since the time consumed by the switching is short, the switching can be completed before the timer reaches the preset time length, so the vehicle 100 will not stop. It can be understood that in this case, the signal of the first SIM card can be poor when the vehicle 100 drives to a position between the position c and the position b, or the signal of the first SIM card can be poor during driving to the position b or other positions after the position b. Therefore, the switching position can be between the position c and the position b, or the position b, or other positions after the position b.
[0135] In another possible case, the time consumed by the vehicle 100 for switching the card is greater than the preset time length, which indicates that the switching speed is slow. If the switching is performed after the vehicle 100 enters the protection mode and starts the timer, the switching cannot be completed before the timer reaches the preset time length. In this case, the vehicle 100 can switch the card in advance before entering the protection mode, for example, the vehicle 100 switches the card at the second position. For example, in FIG. 4B, if the time consumed by the switching is greater than the preset time length, since the position c (the second position) is the closest position to the position b (the first position), the vehicle 100 cannot determine in advance how the signal changes between the position c and the position b. It is possible that the signal becomes poor just after the position c, triggering the protection mode. Therefore, in order to avoid this situation, the vehicle 100 switches the card at the position c.
[0136] In the above embodiment, the vehicle 100 switches the card at the second position before driving to the first position. Alternatively, the second position can satisfy at least one of the following conditions:
[0137] (1), the signal strength of the first SIM card corresponding to the second position is higher than the first threshold value. In this way, when the vehicle 100 travels to the second position, the vehicle 100 will not trigger the "protection mode" due to the deterioration of the signal of the first SIM card.
[0138] (2), the second position is the card switching start position, the card switching end position is the fourth position, and the signal strength of the second SIM card on the route from the fourth position to the first position is higher than that of the first SIM card. It can be understood that the fourth position can be before or after the first position, or equal to the first position. Taking the case where the fourth position is before the first position as an example, the signal of the second SIM card is better than that of the first SIM card on the route from the fourth position to the first position, so the signal is stronger after switching to the second SIM card. Among them, the fourth position can be determined according to the second position, the switching time consumption of the vehicle 100 and the driving speed. For example, the distance from the fourth position to the second position is equal to the distance traveled by the vehicle 100 within the card switching time consumption.
[0139] (3), the first cumulative position quantity of the second position is greater than or equal to a preset quantity, and the first cumulative position quantity is used to represent the number of positions on the route from the start position of the parking route to the second position. The signal strength of the first SIM card is higher than the second threshold value. Optionally, the second threshold value can be equal to the first threshold value in the foregoing. For example, the first cumulative position quantity is used to represent the number of positions on the route from the start position of the parking route to the second position. The sig value of the cell of the operator A is 1, and the number is greater than or equal to the preset quantity.
[0140] Optionally, the preset quantity can be preconfigured or user-set, or can also be a second cumulative position quantity of a third position on the parking route, and the second cumulative position quantity is used to represent the number of positions on the route from the start position of the parking route to the third position. The signal strength of the second SIM card is higher than the second threshold value. The third position is after the first position, and the distance between the third position and the second position is a first distance, the first distance is the distance traveled by the vehicle 100 within a first time length, and the first time length is the card switching time consumption of the vehicle 100. For example, the second cumulative position quantity is used to represent the number of positions on the route from the start position of the parking route to the third position. The sig value of the cell of the operator B is 1. That is, the cumulative position quantity (hereinafter referred to as count) of the operator A whose sig value is 1 at the second position is greater than or equal to the cumulative position quantity (hereinafter referred to as count) of the operator B whose sig value is 1 at the third position. The third position is after the first position and the distance between the first position is the distance traveled by the vehicle 100 within the card switching time consumption.
[0141] The following is described by an example.
[0142] For example, the vehicle 100 calculates the count(s, i) of each position based on the following formula.
[0143] Wherein, count(s, i) represents the cumulative position number of each position, s represents the operator, which can be the operator A or the operator B, for example, s = 0, representing the operator A, corresponding to the first SIM card; s = 1, representing the operator B, corresponding to the second SIM card. i represents the position, which can be understood as the position number or the position index, for example, i = 0, 1, 2, 3, 4, etc. cost represents the number of positions traveled by the vehicle 100 within the card switching time. For example, the vehicle 100 travels a distance L meters within the card switching time, assuming that every 1 meter is a position, cost = L. points represents the position number corresponding to the position where the target parking space is located. mod represents the modulo algorithm, mod(s + 1, 2) represents the modulo of s + 1 with 2, for example, when s = 1, mod(s + 1, 2) = mod(2, 2) = 0, when s = 0, mod(s + 1, 2) = mod(1, 2) = 1.
[0144] The above formula includes four lines, and the formula of each line will be described in turn.
[0145] The formula of the first line is count(s, i) = sig(s, i), with the constraint condition s = 0, i = 0. That is, for the position numbered i = 0, the count value of the operator A corresponding to it = sig(0, 0), that is, equal to the sig value of the operator A corresponding to the position numbered i = 0.
[0146] For example, as shown in FIG. 5, an example of count(s, i) corresponding to each position is shown. In this example, the vehicle 100 travels 3 positions within the card switching time, that is, cost = 3. As shown in FIG. 5, for the position numbered i = 0, the sig value of the operator A corresponding to it is 1, so the count value of the operator A corresponding to the position numbered i = 0 is 1.
[0147] The formula of the second line is count(s, i) = count(s, i-1) + sig(s, i), with the constraint condition s = 0, 0 < i ≤ cost. That is, for the position numbered i, and 0 < i ≤ cost, the count value of the operator A corresponding to it is equal to the sum of the count value of the operator A of the previous position and the sig value of the operator A corresponding to the position.
[0148] Continuing with FIG. 5 as an example, for the position numbered i = 1, since the sig value for Operator A at this position is 1 and the count value for Operator A at the previous position (i.e., the position numbered i = 0) is 1, the count value for Operator A at this position is 2, which is equal to the sum of the sig value for Operator A at this position (i.e., 1 ) and the count value for Operator A at the previous position (i.e., 1 ).
[0149] Continuing with FIG. 5 as an example, for the position numbered i = 2, since the sig value for Operator A at this position is 1 and the count value for Operator A at the previous position (i.e., the position numbered i = 1 ) is 2, the count value for Operator A at this position is 3, which is equal to the sum of the sig value for Operator A at this position (i.e., 1 ) and the count value for Operator A at the previous position (i.e., 2).
[0150] Continuing with FIG. 5 as an example, for the position numbered i = 3, since the sig value for Operator A at this position is 1 and the count value for Operator A at the previous position (i.e., the position numbered i = 2) is 3, the count value for Operator A at this position is 4, which is equal to the sum of the sig value for Operator A at this position (i.e., 1 ) and the count value for Operator A at the previous position (i.e., 3).
[0151] The formula for the third row is count(s, i) = 0, with the constraint that s = 1 and 0 < i < cost. That is, for positions numbered i, where 0 < i < cost, the count value for Operator B is 0.
[0152] For example, as shown in FIG. 5, since cost = 3, the count value for Operator B is 0 for each position numbered i, where i is less than or equal to 3. In FIG. 5, the count value for Operator B is 0 for the four positions numbered i = 0, 1, 2, and 3.
[0153] The formula for the fourth row is count(s, i) = max{count(s, i - 1 ), count(mod(s + 1, 2), i - cost - 1 )} + sig(s, i), with the constraint that s = 0, 1, and cost < i < points.
[0154] When s = 0, substituting into the formula for the fourth row, we get:
[0155] count(0, i) = max{count(0, i - 1 ), count(mod(0 + 1, 2), i - cost - 1 )} + sig(0, i)
[0156] count (0, i-1) represents the count value of the operator A corresponding to the position numbered i-1. Since mod (0+1, 2) = 1, count (mod (0+1, 2), i-cost-1) = count (1, i-cost-1) represents the count value of the operator B corresponding to the position numbered i-cost-1. sig (0, i) represents the sig value of the operator A corresponding to the position numbered i. That is, for the position numbered i and cost < i ≤ points, the algorithm for determining the count value of the operator A corresponding to the position is as follows: determining the count value of the operator A corresponding to the previous position, and the count value of the operator B corresponding to the position numbered i-cost-1, taking the maximum of the two count values, and then determining the sum of the maximum and the sig value of the operator A corresponding to the position numbered i.
[0157] Taking Fig. 5 as an example, for the position numbered i = 4, since i is greater than cost (cost = 3), the algorithm for determining the count value of the operator A corresponding to the position is as follows: determining the count value of the operator A corresponding to the previous position (i.e. the position numbered i = 3) of the position as 4, and determining the count value of the operator B corresponding to the position numbered i-cost-1 (i-cost-1 = 0, i.e. the position numbered 0, since i = 4) as 0, determining the maximum of the two count values as 4, and further determining the sig value of the operator A corresponding to the position numbered i = 4 as 1. Therefore, the count value of the operator A corresponding to the position numbered i = 4 is equal to the sum of the maximum (i.e. 4) and the sig value of the operator A corresponding to the position numbered i = 4 (i.e. 1), i.e. 5.
[0158] Taking Fig. 5 as an example, for the position numbered i = 4, since i is greater than cost (cost = 3), the algorithm for determining the count value of the operator A corresponding to the position is as follows: determining the count value of the operator A corresponding to the previous position (i.e. the position numbered i = 3) of the position as 4, and determining the count value of the operator B corresponding to the position numbered i-cost-1 (i-cost-1 = 0, i.e. the position numbered 0, since i = 4) as 0, determining the maximum of the two count values as 4, and further determining the sig value of the operator A corresponding to the position numbered i = 4 as 1. Therefore, the count value of the operator A corresponding to the position numbered i = 4 is equal to the sum of the maximum (i.e. 4) and the sig value of the operator A corresponding to the position numbered i = 4 (i.e. 1), i.e. 5.
[0159] The calculation process of the count value of the operator A corresponding to the two positions numbered i=4, 5 in FIG. 5 is exemplified above, and the calculation process of the count value of the operator A corresponding to the two positions numbered i=13, 14 is exemplified below.
[0160] Continuing to take FIG. 5 as an example, for the position numbered i=13, since i is greater than cost (cost=3), the algorithm for the count value of the operator A corresponding to the position is as follows: determining that the count value of the operator A corresponding to the previous position (i.e., the position numbered i=12) is 7, determining that the count value of the operator B corresponding to the position numbered i-cost-1 (i-cost-1=9 since i=13, i.e., the position numbered 9) is 7, determining that the maximum of the two count values is 7, and determining that the sig value of the operator A corresponding to the position numbered i=13 is 1. Therefore, the count value of the operator A corresponding to the position numbered i=13 is equal to the sum of the maximum (i.e., 7) and the sig value of the operator A corresponding to the position numbered i=13 (i.e., 1), i.e., 8.
[0161] It should be noted that, for the position numbered i=13, since the count value of the operator A corresponding to the previous position (i.e., the position numbered i=12) is 7, and the count value of the operator B corresponding to the position numbered i-cost-1 (i-cost-1=9 since i=13, i.e., the position numbered 9) is 7. Therefore, the count value of the operator B corresponding to the position numbered i-cost-1 is greater than or equal to the count value of the operator A corresponding to the previous position, and in this case, the position numbered i-cost-1 (i.e., the position numbered 9) can be taken as a card switching candidate position (represented by a black square in the figure), and the vehicle 100 can switch from the second SIM card to the first SIM card at the candidate position.
[0162] Continuing to take FIG. 5 as an example, for the position numbered i=14, since i is greater than cost (cost=3), the algorithm for determining the count value of the operator A corresponding to the position is as follows: it is determined that the count value of the operator A corresponding to the previous position (i.e. the position numbered i=13) is 8, it is determined that the count value of the operator B corresponding to the position numbered i-cost-1 (i-cost-1=10 since i=14, i.e. the position numbered 10) is 8, it is determined that the maximum of the two count values is 8, and it is determined that the sig value of the operator A corresponding to the position numbered i=14 is 1. Therefore, the count value of the operator A corresponding to the position numbered i=14 is equal to the sum of the maximum (i.e. 8) and the sig value of the operator A corresponding to the position numbered i=14 (i.e. 1), i.e. 9.
[0163] It should be noted that, for the position numbered i=14, the count value of the operator A corresponding to the previous position (i.e. the position numbered i=13) is 8, and the count value of the operator B corresponding to the position numbered i-cost-1 (i-cost-1=110 since i=14, i.e. the position numbered 10) is 8. Therefore, the count value of the operator B corresponding to the position numbered i-cost-1 is greater than or equal to the count value of the operator A corresponding to the previous position. In this case, the position numbered i-cost-1 (i.e. the position numbered 10) can be taken as a card switching candidate position (indicated by a black square in the figure), and the vehicle 100 can switch from the second SIM card to the first SIM card at the candidate position.
[0164] Therefore, through the above process, the electronic device can obtain a plurality of candidate positions, such as the positions numbered 9, 10, 11, 12, and 13 in FIG. 5, which are taken as candidate positions (indicated by black squares in the figure), and the SIM card switching direction of the candidate positions is from the second SIM card to the first SIM card.
[0165] When s=1, the formula of the fourth row is substituted into the above formula, and the following is obtained:
[0166] count(1, i)=max{count(1, i-1), count(mod(1+1, 2), i-cost-1)}+sig(1, i)
[0167] count (1, i-1) represents the count value of the operator B corresponding to the position numbered i-1. Since mod (1+1, 2) = 0, count (mod (1+1, 2), i-cost-1) = count (0, i-cost-1) represents the count value of the operator A corresponding to the position numbered i-cost-1. sig (1, i) represents the sig value of the operator B corresponding to the position numbered i. That is, for the position numbered i and cost < i ≤ points, the algorithm for determining the count value of the operator B corresponding to the position is as follows: determining the count value of the operator B corresponding to the previous position, and the count value of the operator A corresponding to the position numbered i-cost-1, taking the maximum of the two count values, and then determining the sum of the maximum and the sig value of the operator B corresponding to the position numbered i.
[0168] Continuing to take FIG. 5 as an example, for the position numbered i = 4, since i is greater than cost (cost = 3), the algorithm for determining the count value of the operator B corresponding to the position is as follows: determining that the count value of the operator B corresponding to the previous position (i.e., the position numbered i = 3) of the position is 0, and determining that the count value of the operator A corresponding to the position numbered i-cost-1 (i-cost-1 = 0, i.e., the position numbered 0, since i = 4) is 1, determining that the maximum of the two count values is 1, and further determining that the sig value of the operator B corresponding to the position numbered i = 4 is 1. Therefore, the count value of the operator B corresponding to the position numbered i = 4 is equal to the sum of the maximum (i.e., 1) and the sig value of the operator B corresponding to the position numbered i = 4 (i.e., 1), i.e., 2.
[0169] It should be noted that, for the position numbered i = 4, since the count value of the operator B corresponding to the previous position (i.e., the position numbered i = 3) is 0, and the count value of the operator A corresponding to the position numbered i-cost-1 (i-cost-1 = 0, i.e., the position numbered 0, since i = 4) is 1. Therefore, the count value of the operator A corresponding to the position numbered i-cost-1 (which can be understood as the second position in the foregoing) is greater than or equal to the count value of the operator B corresponding to the previous position (which can be understood as the third position in the foregoing). In this case, the position numbered i-cost-1 (i.e., the position numbered 0) can be taken as a candidate position (represented by a black square in the figure), and the vehicle 100 can switch from the first SIM card to the second SIM card at the candidate position.
[0170] Continuing to take FIG. 5 as an example, for the position numbered i = 5, since i is greater than cost (cost = 3), the algorithm for determining the count value of the operator B corresponding to the position is as follows: it is determined that the count value of the operator B corresponding to the previous position (i.e., the position numbered i = 4) is 2, it is determined that the count value of the operator A corresponding to the position numbered i - cost - 1 (i - cost - 1 = 1 since i = 5, i.e., the position numbered 1) is 2, it is determined that the maximum of the two count values is 2, and it is determined that the sig value of the operator B corresponding to the position numbered i = 5 is 1. Therefore, the count value of the operator B corresponding to the position numbered i = 5 is equal to the sum of the maximum (i.e., 2) and the sig value of the operator B corresponding to the position numbered i = 5 (i.e., 1), i.e., 3.
[0171] It should be noted that, for the position numbered i = 5, since the count value of the operator B corresponding to the previous position (i.e., the position numbered i = 4) is 2, and the count value of the operator A corresponding to the position numbered i - cost - 1 (i - cost - 1 = 1 since i = 5, i.e., the position numbered 1) is 2. Therefore, the count value of the operator A corresponding to the position numbered i - cost - 1 is greater than or equal to the count value of the operator B corresponding to the previous position. In this case, the position numbered i - cost - 1 (i.e., the position numbered 1) can be taken as a candidate position (indicated by a black square in the figure), and the vehicle 100 can switch from the first SIM card to the second SIM card at the candidate position.
[0172] The foregoing illustrates the calculation process of the count value of the operator B corresponding to the positions numbered i = 4 and 5 in FIG. 5. The algorithm for the count value of the operator B corresponding to other positions is the same, and is not repeated here.
[0173] Therefore, through the foregoing process, the electronic device can obtain a plurality of candidate positions, such as the positions numbered 0, 1, 2, 3, 4, and 5 in FIG. 5, which are all taken as candidate positions (indicated by a black square in the figure), and the SIM card switching direction of the candidate position is from the first SIM card to the second SIM card.
[0174] Therefore, through the foregoing process, the electronic device determines a plurality of candidate positions. For ease of understanding, the set of candidate positions is represented by Table 2 below.
[0175] Table 2
[0176] After obtaining the set of candidate positions, the vehicle 100 can determine the card switching position according to the set of candidate positions.
[0177] For example, as shown in FIG. 5, the vehicle 100 determines which operator's count has the maximum value at the last position according to the count(s, i) of each position, for example, in FIG. 5, the count value of the operator A (i.e. 16) is greater than the count value of the operator B (i.e. 14) at the last position, so it is determined that the vehicle 100 should use the first SIM card corresponding to the operator A when it is at the last position. Then, the vehicle 100 finds the candidate positions whose switching direction is from the second SIM card to the first SIM card, for example, positions numbered 9, 10, 11, 12, 13, from the last position to the front according to the set of candidate positions (for example, Table 2 above). The vehicle 100 can select one of the positions numbered 9, 10, 11, 12, 13 as the card switching position from the second SIM card to the first SIM card, for example, position 11 numbered 11 is selected. After that, the vehicle 100 continues to find the candidate positions whose switching direction is from the first SIM card to the second SIM card, for example, positions numbered 0, 1, 2, 3, 4, 5, from the front according to Table 2. The vehicle 100 can select one of the positions numbered 0, 1, 2, 3, 4, 5 as the card switching position from the first SIM card to the second SIM card, for example, position 0 numbered 0 is selected. Therefore, the vehicle 100 can determine the card switching positions on the parking route as follows:
[0178] {Position numbered 0, from the first SIM card to the second SIM card}
[0179] {Position numbered 11, from the second SIM card to the first SIM card}
[0180] Therefore, the vehicle 100 switches from the first SIM card to the second SIM card when it drives to the position numbered 0, and switches from the second SIM card to the first SIM card when it drives to the position numbered 11.
[0181] In the above embodiment, the vehicle 100 switches from the first SIM card to the second SIM card. The vehicle 100 communicates with the device 200 through the first SIM card before switching to the second SIM card, and communicates with the device 200 through the second SIM card after switching to the second SIM card.
[0182] Optionally, the communication between the vehicle 100 and the device 200 can include: the vehicle 100 sending third information to the device 200. Optionally, the third information can include the geographical position of the vehicle 100. For example, the vehicle 100 can collect the geographical position in real time, and send the geographical position to the device 200. In this way, the device 200 (for example, the first application in the device 200) can show the real-time position of the vehicle 100, and the user can know the parking progress of the vehicle 100, for example, the remaining distance between the vehicle 100 and the target parking space. For example, as shown in FIG. 6A, the display interface of the first application in the device 200 can include the real-time position of the vehicle 100, the remaining distance between the vehicle 100 and the target parking space, and other information, such as the speed of the vehicle 100, the gear of the vehicle 100, and the like. Optionally, the third information can also include the image collected by the vehicle 100. For example, the front of the vehicle 100 can be provided with a camera (for example, a front-view camera), which can be used to collect images around the vehicle 100 in real time. The images can include the road conditions in front of the vehicle 100. The vehicle 100 can send the images collected by the camera to the device 200. In this way, the user can see the real-time road conditions during the driving of the vehicle 100 through the device 200 (for example, the first application in the device 200). For example, as shown in FIG. 6A, the interface of the first application can include the images sent by the vehicle 100, and the images can include the road conditions in front of the vehicle 100.
[0183] Optionally, the communication between the vehicle 100 and the device 200 can include: the vehicle 100 receiving fourth information from the device 200. The fourth information can be used to control the parking progress of the vehicle 100. For example, the user can control the vehicle 100 to pause / continue parking, and can also control the speed and gear of the vehicle 100, and the like, in the interface shown in FIG. 6A.
[0184] In the above embodiment, the vehicle 100 determines the position on the parking route at which the card is cut according to the second information (for example, Table 1). The following describes the manner of obtaining the second information.
[0185] A. The second information is pre-stored in the vehicle 100. For example, for the parking route frequently traveled by the vehicle 100, the second information (for example, Table 1) can have been stored in the vehicle 100.
[0186] B. The second information is downloaded by the vehicle 100 from the cloud server 500.
[0187] C. The second information is sent by the device 200 to the vehicle. The device 200 can send the second information to the vehicle 100 through the cloud server 500, or through other manners, for example, through an instant messaging application, without limitation.
[0188] For example, the cloud server 500 stores a communication map of the parking lot where the vehicle 100 is currently located, and the communication map includes cell information of each operator at each location in the parking lot. For example, referring to FIG. 6B, (a) is a schematic diagram of the communication map of the parking lot stored in the cloud server 500. The communication map includes a distribution diagram of each location in the parking lot, for example, a black dot represents a location. The communication map stores cell information of each operator corresponding to each location, for example, location 1 corresponds to 3 cells of operator A and 2 cells of operator B. For ease of understanding, the communication map can be divided into two layers, for example, layer 1 and layer 2 in (b) of FIG. 6B. Layer 1 includes cell information of operator A at each location, for example, location 1 corresponds to 3 cells of operator A; layer 2 includes cell information of operator B at each location, for example, location 1 corresponds to 2 cells of operator B. After determining the parking route, the vehicle 100 has two processing methods. One way is that the vehicle 100 sends the parking route to the cloud server 500, and the cloud server 500 determines the cell information of each operator at each location on the parking route (i.e., the second information) according to the communication map and then sends the information to the vehicle 100. For example, the cloud server 500 determines the parking route in the communication map in (a) of FIG. 6B, and then sends the cell information of each operator at each location on the parking route to the vehicle 100. Another way is that the vehicle 100 downloads the complete communication map from the cloud server 500, and then determines the parking route and the cell information of each operator at each location on the parking route (i.e., the second information) in the communication map by itself.
[0189] In practical application scenarios, a parking lot can have multiple layers. For a parking lot with multiple layers, the communication map can also have multiple layers. Taking a parking lot with two layers as an example, the communication map of the parking lot can be, for example, the communication map shown in (a) of FIG. 6C. Taking the two layers of the parking lot as an example, the first underground layer corresponds to a communication map including a distribution diagram of each position in the first underground layer, for example, a black dot representing a position. The communication map stores the cell information of each operator corresponding to each position, for example, position 1 corresponds to 3 cells of operator A and 2 cells of operator B. The communication map corresponding to the first underground layer can be split into two layers, for example, layer 1 and layer 2 in (b) of FIG. 6C. Layer 1 includes the cell information of operator A corresponding to each position in the first underground layer; layer 2 includes the cell information of operator B corresponding to each position in the first underground layer. The communication map corresponding to the second underground layer includes a distribution diagram of each position in the second underground layer, for example, a black dot representing a position. The communication map stores the cell information of each operator corresponding to each position, for example, position 1 corresponds to 2 cells of operator A and 1 cell of operator B. The communication map corresponding to the second underground layer can be split into two layers, for example, layer 3 and layer 4 in (b) of FIG. 6C. Layer 3 includes the cell information of operator A corresponding to each position in the second underground layer; layer 4 includes the cell information of operator B corresponding to each position in the second underground layer. For a parking lot with multiple layers, the vehicle can also have two processing methods after determining the parking route. One method is that the vehicle 100 sends the parking route to the cloud server 500, and the cloud server 500 determines the cell information of each operator (i.e., the second information) of each position on the parking route according to the multi-layer communication map and then sends the information to the vehicle 100. For example, the cloud server 500 determines the parking route in the two-layer communication map in (a) of FIG. 6C, and then sends the cell information of each operator of each position on the parking route to the vehicle 100. Another method is that the vehicle 100 downloads the complete communication map (i.e., the two-layer communication map) from the cloud server 500, and then determines the parking route and the cell information of each operator (i.e., the second information) at each position on the parking route in the communication map by itself.
[0190] It can be understood that the cloud server 500 can store a large number of communication maps of parking lots. The vehicle 100 needs to download the communication map of the parking lot where the vehicle 100 is currently located. A possible way is that the vehicle 100 sends a download request to the cloud server 500, the download request including the identification of the parking lot where the vehicle 100 is currently located, the cloud server 500 determines the corresponding communication map based on the parking lot identification, and then sends the communication map to the vehicle 100. Alternatively, the vehicle 100 can download the communication map of the parking lot in advance before entering the parking lot, or can download the communication map of the parking lot after receiving the first information sent by the device 200.
[0191] As described above, the cloud server 500 can store a large number of communication maps of parking lots. A possible way is that the cloud server 500 can use various vehicles to construct a large number of communication maps of parking lots. For example, a vehicle can include a map learning stage and a map using stage. In the map learning stage, when the vehicle travels in the parking lot, a set of data can be recorded after passing each position, and the set of data can include the position and the cell information of the residable cell of the first SIM card (the current SIM card) of the vehicle at the position. The cell information of the residable cell of the first SIM card can include the operator information of the cell, the signal strength of the cell, and the like. Exemplarily, the cell information can include one or more of the following: the identification (for example, cell ID) of the cell, the mobile country code, the mobile network code, the network type, the frequency point, the signal strength, the physical cell identity (PCI), and the like. The signal strength can be described by the measurement signal of the cell, and the measurement signal is described above. The map learning stage of the vehicle can be automatically entered by the vehicle or manually entered by the user. For example, the vehicle automatically triggers the map learning stage every certain period to report data to the cloud server 500. Alternatively, the vehicle enters the map learning stage when receiving the triggering operation of the user, and reports data to the cloud server 500. The above is the map learning stage of one vehicle. If multiple vehicles report data to the cloud server 500 by using the map learning stage, the cloud server 500 can integrate the data reported by the vehicles to obtain a large number of communication maps of parking lots, for example, the maps in (a) of FIG. 6B and (a) of FIG. 6C. In the map using stage, the vehicle can download the communication map of the parking lot from the cloud server 500 for use. The use process is described above and will not be repeated here. It should be noted that the map learning stage and the map using stage can be performed synchronously or asynchronously, which is not limited.
[0192] Second form of second information
[0193] The second information in the second form is different from the first form of the second information (e.g., Table 1). In this form, the second information can include the signal strength of the dual SIM cards at each location. For example, as Table 3 below, another example of the second information. The second information includes the signal strength of the first SIM card and the signal strength of the second SIM card at each location. The signal strength of the SIM card can be described by the network speed of the SIM card. The network speed can be in units of KB, M, G, etc.
[0194] Table 3: Another example of the second information
[0195] By the second information (e.g., Table 1 above), the vehicle 100 can determine at which location to switch the SIM card.
[0196] As an example, the vehicle 100 determines, according to the second information, a first location on the parking route at which the signal strength of the first SIM card is lower than the signal strength of the second SIM card. Thus, the vehicle 100 switches the SIM card before driving to the first location. For example, as Fig. 7, the vehicle 100 is driving to a target parking space. Assume that the vehicle 100 is currently using the first SIM card, and the vehicle 100 is currently at location a. The vehicle 100 can predict that at location b ahead, the signal strength of the first SIM card is lower than the signal strength of the second SIM card. Thus, the vehicle 100 can switch the SIM card before driving to location b. For example, as Fig. 7, the vehicle 100 switches the SIM card when driving to location c before location b. After the vehicle 100 switches to the second SIM card, the vehicle 100 can continue to predict whether the signal strength of the second SIM card at the location ahead is lower than the signal strength of the first SIM card. Continue as Fig. 7, the vehicle 100 predicts that at location d, the signal strength of the second SIM card is lower than the signal strength of the first SIM card, then the vehicle 100 switches the SIM card again before reaching location d. For example, the vehicle 100 switches the SIM card when driving to location e before location d.
[0197] As another example, the vehicle determines, according to the second information, a first position on the parking route at which the signal strength of the first SIM card is lower than the signal strength of the second SIM card. The first position can be a starting position of a route segment on the parking route, and there are multiple positions on the route segment at which the signal strength of the first SIM card is lower than the signal strength of the second SIM card. In this case, the vehicle 100 can perform the card switching before reaching the starting position of the route segment. For example, as shown in FIG. 7, it is assumed that the vehicle 100 currently uses the first SIM card, and the vehicle 100 is currently located at position a. The vehicle 100 determines that there is a route segment 1 in front, and the signal strength of the first SIM card is lower than the signal strength of the second SIM card in the route segment 1. Therefore, the vehicle 100 performs the card switching before reaching the starting position of the route segment 1, for example, when the vehicle 100 moves to position c before position b, the card switching is performed. After the vehicle 100 switches to the second SIM card, the vehicle 100 can continue to determine the signal condition of the second SIM card at the front position. Continuing with FIG. 7, the vehicle 100 determines that the signal strength of the second SIM card is lower than the signal strength of the first SIM card in route segment 2. Therefore, the vehicle 100 performs the card switching before reaching the starting position of the route segment 2, for example, when the vehicle 100 moves to position e before position d, the card switching is performed.
[0198] Please refer to FIG. 8, which is a schematic diagram of a system architecture of a vehicle provided in an embodiment of the present application. The vehicle can be the vehicle 100 in FIG. 1. As shown in FIG. 8, the vehicle includes an autonomous driving solution (ADS) and a T-Box. The ADS includes a network position fusion module, an entry detection module, and an AVP module. The T-Box includes a network perception module, a preferred frequency point module, an AVP map module, a position quality evaluation module, a card switching time consumption evaluation module, a vehicle speed module, a decision center, and a card switching module. Hereinafter, the working process of the technical solution provided in the embodiment of the present application will be described with reference to FIG. 8.
[0199] For example, when the vehicle currently uses the first SIM card, in the map learning stage, the network quality perception module in the T-Box is configured to perceive the cell information of the camped cell of the first SIM card at each position. The network quality perception module sends the perceived cell information of each position to the network position fusion module in the ADS. The network position fusion module is configured to send the position information of each position and the cell information corresponding to each position to the cloud server 500, so that the cloud server 500 forms a communication map.
[0200] The entry detection module in the ADS can be used to detect whether the vehicle is about to enter the parking lot, for example, by capturing images in real time through the front-view camera, and if the image includes a gate, it is determined that the vehicle is about to enter the parking lot. Of course, other ways can also be used to detect whether the vehicle is about to enter the parking lot, which are not listed here. Considering that after entering the parking lot, the signal of the vehicle may be interrupted, resulting in the inability to download the communication map of the parking lot from the cloud server 500 in time, so when the entry detection module detects that the vehicle is about to enter the parking lot, the communication map of the parking lot can be downloaded from the cloud server 500. For example, when the entry detection module detects that the vehicle is about to enter the parking lot, the AVP module downloads the communication map from the cloud server 500, and sends the downloaded communication map to the AVP map module in the T-BOX.
[0201] In the map use stage, when the vehicle receives the first information sent by the device 200, the AVP map module determines the parking route between the current position and the target parking space, and then determines the second information based on the downloaded communication map, the second information including the cell information of operator A and the cell information of operator B at each position on the parking route, such as Table 1 in the foregoing. The position quality assessment module in the T-Box respectively assesses the cells of operator A and operator B at each position according to the second information. For example, the position quality assessment module can obtain sig(s, i) corresponding to each position. The decision center can determine a first position on the parking route according to sig(s, i) corresponding to each position, and determine a second position on the parking route according to the first position. After the decision center determines the second position, when it is detected that the vehicle travels to the second position, it can send an instruction to the card switching module, and the card switching module performs card switching. Optionally, the card switching mode can include two modes of soft switching and hard switching. Soft switching can be understood as switching the card by running software code, and hard switching can be understood as switching the card by powering on / off, for example, switching from the first SIM card to the second SIM card, and powering off the first SIM card and powering on the second SIM card.
[0202] In some embodiments, considering that the vehicle needs to perform cell switching when switching the card, the signal will be affected to a certain extent, in order to restore the signal as soon as possible, the vehicle can quickly complete cell switching according to the preferred frequency of the cell. One possible way is that the communication map downloaded by the vehicle includes the preferred frequency of the cell at each position. The vehicle determines the preferred frequency of the cell at each position on the parking route according to the communication map. Assuming that the vehicle determines that it needs to switch from the first SIM card to the second SIM card at position a, the preferred frequency of the campable cell of the second SIM card at position a is determined, and after the vehicle switches from the first SIM card to the second SIM card, the second SIM card is used to quickly access the corresponding cell at the preferred frequency.
[0203] In the above embodiments, the communication system shown in FIG. 1 is mainly taken as an example of being applicable to the automatic valet parking scenario. Alternatively, the communication system shown in FIG. 1 can also be applicable to other scenarios, such as a vehicle recall scenario. For example, referring to FIG. 9, the vehicle is currently parked at a target parking space, the user is located at position A (for example, the parking lot entrance), and wants to let the vehicle automatically drive to the vicinity of the user. One possible way is that the user performs some operations on the device 200 to control the vehicle 100 to move out of the target parking space and drive to the target position (for example, the vicinity of the user) through the device 200. For example, the vehicle recall function is included in the first application in the device 200. After the device 200 detects that the user clicks the vehicle recall function in the first application, the first application displays an interface, which can include a parking lot layout map. The user can select a position to which the vehicle is recalled (or the recall position of the vehicle can also be the current position of the device 200, without the need for the user to select). After the device 200 determines that the user selects the recall position, the device 200 can send fifth information to the vehicle 100, where the fifth information is used to instruct the vehicle 100 to automatically drive from the target parking space to the recall position. One way for the vehicle 100 to receive the fifth information is that the vehicle 100 currently uses the second SIM card to receive the fifth information through the second SIM card. For example, the vehicle 100 accesses the mobile network through the second SIM card, connects the cloud server 500 through the mobile network, and receives the fifth information from the cloud server 500 (the device 200 sends the fifth information to the cloud server 500), as described above with reference to the cloud server 500. After the vehicle 100 receives the fifth information, the vehicle 100 can plan a recall route according to the current position of the vehicle (that is, the position of the target parking space) and the target position (that is, the recall position).
[0204] In the embodiments of the present application, after the vehicle plans the recall route, the vehicle 100 can determine a fifth position on the recall route according to the sixth information, where the signal strength of the second SIM card at the fifth position is lower than the signal strength of the first SIM card. Then, the vehicle 100 can switch the SIM card before driving to the fifth position. For example, the vehicle 100 determines a sixth position on the parking route according to the fifth position, where the distance between the sixth position and the starting position of the recall route is less than the distance between the fifth position and the starting position of the recall route, that is, the vehicle 100 drives to the sixth position first and then drives to the fifth position according to the recall route. Therefore, the vehicle 100 can switch the SIM card when driving to the sixth position, that is, switch from the second SIM card to the first SIM card.
[0205] As described above, the vehicle 100 determines the fifth position on the recall route according to the sixth information. In the embodiment of the present application, the sixth information is used to describe the signal strength of the first SIM card and the signal strength of the second SIM card corresponding to n positions on the recall route, n is an integer greater than 1, and the fifth position is one of the n positions. Optionally, the sixth information has the same implementation principle as the second information described above, and is not repeated here.
[0206] FIG. 10 shows a schematic diagram of a vehicle 100. As shown in FIG. 10, the vehicle 100 can include various subsystems, such as a travel system 102, a sensor system 104, a control system 106, one or more peripheral systems 108, and a power source 110, a computer system 112, and a user interface 116. Optionally, the vehicle 100 can also include a vehicle auxiliary device 160; further optionally, the vehicle 100 can include more or fewer subsystems, and each subsystem can include multiple components. In addition, each subsystem and component of the vehicle 100 can be interconnected by wire or wirelessly.
[0207] The travel system 102 can include components that provide powered movement for the vehicle 100. In one embodiment, the travel system 102 can include an engine 118, an energy source 119, a transmission 120, and wheels (also referred to as tires) 121. The engine 118 can be an internal combustion engine, an electric motor, an air compression engine, or other types of engine combinations, such as a hybrid engine composed of a gasoline engine and an electric motor, a hybrid engine composed of an internal combustion engine and an air compression engine. The engine 118 converts the energy source 119 into mechanical energy. Examples of the energy source 119 include gasoline, diesel, other petroleum-based fuels, solar panels, batteries, and other sources of electrical power. The energy source 119 can also provide energy for other systems of the vehicle 100. The transmission 120 can transmit mechanical power from the engine 118 to the wheels 121. The transmission 120 can include a gearbox, a differential, and a drive shaft. In one embodiment, the transmission 120 can also include other devices, such as a clutch.
[0208] The sensor system 104 can include several sensors that sense information about the environment surrounding the vehicle 100. For example, the sensor system 104 can include a positioning system 122 (which can be a global positioning system (GPS), a Beidou system, or other positioning system), an inertial measurement unit (IMU) 124, a radar 126, a laser rangefinder 128, and a camera 130. The sensor system 104 can also include sensors that monitor internal systems of the vehicle 100 (e.g., an in-vehicle air quality monitor, a fuel gauge, etc.). Sensor data from one or more of these sensors can be used to detect objects and their respective characteristics (location, shape, orientation, velocity, etc.). Such detection and identification is a key function for the safe operation of the autonomous vehicle 100.
[0209] The positioning system 122 can be used to estimate the geographic location of the vehicle 100. The IMU 124 is used to perceive changes in the position and orientation of the vehicle 100 based on inertial acceleration. In one embodiment, the IMU 124 can be a combination of an accelerometer and a gyroscope. The radar 126 can utilize radio signals to perceive objects within the surrounding environment of the vehicle 100, which can be manifested as a millimeter wave radar or a laser radar. In some embodiments, in addition to perceiving objects, the radar 126 can also be used to perceive the velocity and / or heading of the objects. The laser rangefinder 128 can utilize laser light to perceive objects in the environment in which the vehicle 100 is located. In some embodiments, the laser rangefinder 128 can include one or more laser sources, a laser scanner, and one or more detectors, among other system components. The camera 130 can be used to capture multiple images of the surrounding environment of the vehicle 100. The camera 130 can be a still camera or a video camera.
[0210] In some embodiments of the present application, the sensor system 104 can include a pressure sensor or a human infrared sensor, etc. arranged for each seat in the vehicle 100.
[0211] In some other embodiments of the present application, the sensor system 104 can include a plurality of cameras 130.
[0212] The control system 106 is an operational system that controls the vehicle 100 and its components. The control system 106 can include various components, including a steering system 132, a throttle 134, a braking unit 136, a computer vision system 140, a route control system 142, and an obstacle avoidance system 144. The steering system 132 is used to adjust the heading of the vehicle 100. In one embodiment, the steering system 132 can be a steering wheel system. The throttle 134 is used to control the operational speed of the engine 118 and, in turn, the speed of the vehicle 100. The braking unit 136 is used to control the deceleration of the vehicle 100. The braking unit 136 can use friction to slow the wheels 121. In other embodiments, the braking unit 136 can convert the kinetic energy of the wheels 121 into electrical current. The braking unit 136 can also take other forms to slow the wheels 121 and, in turn, control the speed of the vehicle 100. The route control system 142 is used to determine the route and speed of travel of the vehicle 100. In some embodiments, the route control system 142 can include a lateral planning module 1421 and a longitudinal planning module 1422 that are used to determine the route and speed of travel of the vehicle 100 in conjunction with data from the obstacle avoidance system 144, the GPS 122, and one or more predetermined maps, respectively. The obstacle avoidance system 144 is used to identify, evaluate, and avoid or otherwise navigate around obstacles in the environment of the vehicle 100, which can be actual obstacles and virtual moving obstacles that can collide with the vehicle 100. In one instance, the control system 106 can include additional components in addition to those shown and described, or some of the components shown can be reduced.
[0213] The vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users through the peripheral system 108. The peripheral system 108 can include a wireless communication system 146, a microphone 148, a speaker 150, and / or an on-board computer 152. In some embodiments, the peripheral system 108 provides a means for a user of the vehicle 100 to interact with the user interface 116. For example, the on-board computer 152 can provide information to a user of the vehicle 100. The user interface 116 can also operate the on-board computer 152 to receive input from the user. The on-board computer 152 can be operated through a touch screen.
[0214] In other instances, the peripheral system 108 can provide a means for the vehicle 100 to communicate with other devices located within the vehicle. For example, the microphone 148 can receive audio (e.g., voice commands or other audio input) from a user of the vehicle 100. Similarly, the speaker 150 can output audio to a user of the vehicle 100.
[0215] In some embodiments of the present application, the peripheral system 108 can include one or more speakers 150.
[0216] Wireless communication system 146 can wirelessly communicate with one or more devices directly or via a communication network. For example, wireless communication system 146 can use 3G cellular communication, 4G cellular communication, 5G cellular communication, or wireless local area network (WLAN) communication, among others. In some embodiments, wireless communication system 146 can communicate directly with devices using an infrared link, Bluetooth, or ZigBee. Other wireless protocols, such as various vehicle communication systems, for example, wireless communication system 146 can include one or more dedicated short range communications (DSRC) devices, which can include public and / or private data communications between vehicles and / or roadside stations.
[0217] [Corrected according to Rule 91 on 06.11.2025] In some embodiments of the present application, after the vehicle 100 can establish a connection with the device (such as a mobile phone, a wearable device, a tablet computer, etc.) through the wireless communication system 146, the device can be projected through the center screen of the vehicle 100. During the process of projecting the device through the center screen of the vehicle 100, the content displayed on the center screen of the vehicle 100 can not be exactly the same as the screen content of the device, and the content displayed on the center screen can be the application program already configured by the vehicle 100 and multiple application programs in the terminal device.
[0218] [Corrected according to Rule 91 on 06.11.2025] In some embodiments of the present application, the vehicle 100 can establish a wireless connection (such as a Bluetooth connection or a Wi-Fi connection, etc.) with the device (such as a wearable device, such as a smart watch, a smart bracelet) carried by the passenger through the wireless communication system 146.
[0219] Power source 110 can provide power to various components of vehicle 100. In one embodiment, power source 110 can be a rechargeable lithium-ion or lead-acid battery. One or more battery packs of such a battery can be configured to power source to provide power to various components of vehicle 100. In some embodiments, power source 110 and energy source 119 can be implemented together, such as in some all-electric vehicles.
[0220] Some or all of the functionality of vehicle 100 is controlled by computer system 112. Computer system 112 can include at least one processor 113 that executes instructions 115 stored in a non-transitory computer readable medium such as memory 114. Computer system 112 can also be a plurality of computing devices that control individual components or subsystems of vehicle 100 in a distributed manner. Processor 113 can be any conventional processor such as a commercially available central processing unit (CPU). Alternatively, processor 113 can be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor. Although FIG. 10 functionally illustrates the processor, memory, and other components of computer system 112 within the same block, it will be understood by those skilled in the art that the processor, or memory, can actually comprise a plurality of processors, or memories, that can or can not be stored within the same physical housing. For example, memory 114 can be a hard drive or other storage media located in a housing different from that of computer system 112. Accordingly, references to processor 113 or memory 114 will be understood to include references to a collection of processors or memories that can or can not operate in parallel. Rather than using a single processor to perform the steps described herein, some components such as the steering assembly and the deceleration assembly can each have their own processor that only performs calculations related to the functionality specific to that component.
[0221] In various aspects described herein, processor 113 can be located remotely from vehicle 100 and in wireless communication with vehicle 100. In other aspects, some of the processes described herein are performed on processor 113 disposed within vehicle 100 while others are performed by a remote processor 113, including taking the necessary steps to perform a single maneuver.
[0222] In some embodiments, the memory 114 can include instructions 115 (e.g., program logic) that can be executed by the processor 113 to perform various functions of the vehicle 100, including those described above. The memory 114 can also include additional instructions, including instructions to send data to, receive data from, interact with, and / or control one or more of the travel system 102, the sensor system 104, the control system 106, and the peripheral system 108. In addition to the instructions 115, the memory 114 can also store data, such as road maps, route information, the vehicle's location, direction, speed, and other such vehicle data, and other information. Such information can be used by the vehicle 100 and the computer system 112 during operation of the vehicle 100 in autonomous, semi-autonomous, and / or manual modes. The user interface 116 is used to provide information to or receive information from a user of the vehicle 100. Optionally, the user interface 116 can include one or more input / output devices within the set of peripheral systems 108, such as the wireless communication system 146, the on-board computer 152, the microphone 148, and the speaker 150.
[0223] The computer system 112 can control the functions of the vehicle 100 based on inputs received from various subsystems (e.g., the travel system 102, the sensor system 104, and the control system 106), as well as from the user interface 116. For example, the computer system 112 can utilize inputs from the control system 106 in order to control the steering system 132 to avoid obstacles detected by the sensor system 104 and the obstacle avoidance system 144. In some embodiments, the computer system 112 can be operable to provide control over many aspects of the vehicle 100 and its subsystems.
[0224] Optionally, one or more of the above-described components can be installed separately from or associated with the vehicle 100. For example, the memory 114 can exist partially or entirely separately from the vehicle 100. The above-described components can be communicatively coupled together in a wired and / or wireless manner.
[0225] Optionally, the above-described components are just one example, and in actual applications, components in each of the above-described modules can be added or deleted according to actual needs, and FIG. 10 should not be understood as a limitation on the embodiments of the present application. An autonomous vehicle traveling on a road, such as the vehicle 100 above, can identify objects within its surrounding environment to determine an adjustment to a current speed. The objects can be other vehicles, traffic control devices, or other types of objects. In some examples, each identified object can be considered independently, and based on respective characteristics of the object, such as its current speed, acceleration, spacing from the vehicle, etc., can be used to determine a speed at which the autonomous vehicle is to adjust.
[0226] In some implementations, the vehicle control method provided by the embodiments of the present application is preloaded into the memory 114 in the form of a program product. The processor 113 in the vehicle 100 can execute the instructions in the memory 114 to cause the vehicle to perform the card switching when the vehicle travels to the corresponding position.
[0227] In some embodiments, the software system of the processor 113 in the vehicle 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, etc. For example, the processor 113 of the vehicle 100 can adopt an Android system or a Harmony system with a layered architecture, etc.
[0228] In other implementations, the execution subject of the vehicle control method provided by the embodiments of the present application can be the vehicle auxiliary device 160. The vehicle auxiliary device 160 can be loaded in the vehicle 100 in the form of a stand-alone device. The vehicle auxiliary device 160 can specifically be a T-BOX or other product form in the vehicle, etc., which is not limited here.
[0229] FIG. 11 is a structural schematic diagram of a device 1100 provided by an embodiment of the present application. The device 1100 can be the device 200 (for example, a mobile phone) or the vehicle 100 described above. As shown in FIG. 11, the device 1100 can include one or more processors 1101, one or more memories 1102, a communication interface 1103, and one or more programs 1104. The above devices can be connected through one or more communication buses 1105. The one or more programs 1104 are stored in the memory 1102 and configured to be executed by the one or more processors 1101. The one or more programs 1104 include instructions. For example, when the device 1100 is the vehicle 100 described above, the instructions can be used to perform the related steps of the vehicle 100 in the above corresponding embodiments, for example, to perform the related steps of the vehicle 100 in FIGS. 1 to 9. For example, when the device 1100 is the device 200 described above, the instructions can be used to perform the related steps of the device 200 in the above corresponding embodiments, for example, to perform the related steps of the device 200 in FIGS. 1 to 9. The communication interface 1103 is used to realize the communication between the device 1100 and other devices. For example, the communication interface can be a transceiver.
[0230] The above embodiments provided by the present application are introduced from the perspective of the device (for example, a vehicle or a mobile phone) as an execution subject. In order to implement each function in the above method provided by the embodiments of the present application, the device can include a hardware structure and / or a software module, and each function is implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a certain function in the above is implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application of the technical solution and the design constraint conditions.
[0231] In the above embodiments, the implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a program product (also known as a computer program product).
[0232] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a program product embodied on one or more usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0233] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope and intent of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and variations.
Claims
1. A vehicle control method characterized by, The application is applied to a vehicle, the vehicle comprises a first SIM card and a second SIM card, the vehicle currently uses the first SIM card, and the method comprises: receiving first information, the first information is used to indicate that the vehicle automatically parks in a target parking space; determining a parking route according to the current position of the vehicle and the target parking space; determining a first position on the parking route according to second information, the signal strength of the first SIM card corresponding to the first position is lower than the signal strength of the second SIM card corresponding to the first position, the second information is used to describe the signal strength of the first SIM card and the signal strength of the second SIM card corresponding to m positions on the parking route, m is an integer greater than 1, and the first position is one of the m positions; determining a second position on the parking route according to the first position, the distance between the second position and the current position is less than the distance between the first position and the current position; driving to the target parking space according to the parking route, and switching from the first SIM card to the second SIM card when driving to the second position.
2. The method of claim 1, wherein, The first position is the starting position of a section of route on the parking route, and there are multiple positions in the section of route, and the signal strength of the first SIM card corresponding to each position in the multiple positions is lower than the signal strength of the second SIM card corresponding to each position.
3. The method of claim 2, wherein, The route length of the section of route is greater than or equal to a preset length.
4. The method of claim 3, wherein, The preset length is greater than or equal to the driving distance of the vehicle within a first time length, and the first time length is the card switching time of the vehicle from the first SIM card to the second SIM card.
5. The method according to any one of claims 1 to 4, characterized in that, The switching from the first SIM card to the second SIM card when driving to the second position comprises: if it is determined that the card switching time of the vehicle is greater than a preset time length, switching from the first SIM card to the second SIM card when driving to the second position.
6. The method of claim 5, wherein, The method further comprises: if it is determined that the card switching time is less than or equal to the preset time length, not switching the card when driving to the second position, and starting to detect the signal strength of the first SIM card and the second SIM card in real time, and switching from the first SIM card to the second SIM card when it is detected that the signal strength of the first SIM card is lower than the signal strength of the second SIM card.
7. The method according to any one of claims 1 to 6, characterized in that, The signal strength of the first SIM card corresponding to the second position is higher than a first threshold value.
8. The method according to any one of claims 1 to 7, characterized in that, The first cumulative position quantity of the second position is greater than or equal to a preset quantity, and the first cumulative position quantity is used to represent the position quantity of the first SIM card whose signal strength is higher than a second threshold value on the route from the current position to the second position.
9. The method of claim 8, wherein, The first cumulative position quantity of the second position is greater than or equal to a preset quantity, and the first cumulative position quantity is used to represent the position quantity of the first SIM card whose signal strength is higher than a second threshold value on the route from the current position to the second position. The first cumulative position quantity of the second position is greater than or equal to a second cumulative position quantity of a third position, the second cumulative position quantity is used to represent a position quantity of the signal strength of the second SIM card being higher than the second threshold on a route from the current position to the third position, the distance from the third position to the current position is greater than the distance from the second position to the current position, and the distance between the third position and the second position is a first distance, the first distance is a distance traveled by the vehicle within a first time length, and the first time length is the card switching time of the vehicle.
10. The method according to any one of claims 1 to 9, characterized in that, The second position is a card switching starting position, and a card switching ending position is a fourth position, the fourth position is determined according to the second position, the switching time of the vehicle, and the driving speed, and the signal strength of the second SIM card corresponding to a route from the fourth position to the first position is higher than the signal strength of the first SIM card.
11. The method according to any one of claims 1 to 10, characterized in that, The second information includes the signal strength of the residable cell of the first SIM card and the signal strength of the residable cell of the second SIM card corresponding to each of the m positions on the parking route. The signal strength of the first SIM card corresponding to the first position is lower than the signal strength of the second SIM card corresponding to the first position, including that the signal strength of the residable cell of the first SIM card corresponding to the first position is lower than the signal strength of the residable cell of the second SIM card corresponding to the first position.
12. The method according to any one of claims 1 to 11, characterized in that, The method further includes: Before the vehicle travels to the second position, the vehicle accesses a first mobile network through the first SIM card and communicates with a device through the first mobile network; After the vehicle switches from the first SIM card to the second SIM card, the vehicle accesses a second mobile network through the second SIM card and communicates with the device through the second mobile network.
13. The method of claim 12, wherein, The vehicle communicates with the device, including: The vehicle sends third information to the device, the third information including the geographic position of the vehicle and / or the image collected by the vehicle.
14. The method of claim 12, wherein, The vehicle communicates with the device, including: The vehicle receives fourth information sent by the device, the fourth information being used to control the parking progress of the vehicle.
15. The method according to any one of claims 1 to 14, characterized in that, After the vehicle switches to the second SIM card, the method further includes: The vehicle is parked on the target parking space; fifth information is received, the fifth information being used to indicate that the vehicle travels from the target parking space to a target position; a travel route is determined according to the target parking space and the target position; a fifth position on the travel route is determined according to sixth information, the signal strength of the second SIM card corresponding to the fifth position being lower than the signal strength of the first SIM card corresponding to the fifth position, the sixth information being used to describe the signal strength of the first SIM card and the signal strength of the second SIM card corresponding to n positions on the travel route, n being an integer greater than 1, and the fifth position being one of the n positions. According to the fifth position, a sixth position on the driving route is determined, a distance between the sixth position and the target parking space is less than a distance between the fifth position and the target parking space; Driving to the target position according to the driving route, switching from the second SIM card to the first SIM card when driving to the sixth position.
16. A vehicle control device characterized by comprising: The vehicle control device is configured to perform the method of any one of claims 1-15.
17. A vehicle characterized by comprising: The vehicle comprises the vehicle control device of claim 16.
18. A communication system, characterized by Comprise: An apparatus and a vehicle; The apparatus is configured to send first information to the vehicle, the first information being used to instruct the vehicle to automatically park in a target parking space; The vehicle is configured to perform the method of any one of claims 1-15.
19. A readable storage medium, characterized by, The readable storage medium is configured to store a program, when the program is run on an apparatus, the apparatus is caused to perform the method of any one of claims 1-15.
Citation Information
Patent Citations
Parking network switching method and device, movable carrier and storage medium
CN113015136A
Network switching method and electronic equipment
CN115396964A
Automatic parking mobile terminal outside-vehicle control method, electronic equipment and storage medium
CN115776652A
Vehicle network automatic switching method and device and storage medium
CN116709294A
Predictive make-before-break connected vehicle connectivity
US20200008122A1