Vehicle control method and device, vehicle and storage medium
By obtaining, storing and updating the configuration information of target hotspots in the vehicle, the problem of failed connection between mobile phones and vehicles is solved, and the automatic connection between mobile devices and car computer hotspots is realized, improving the user experience.
Patent Information
- Application Number
- CN202411948605.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-27
Smart Images

Figure CN119767439A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle control method, device, vehicle and storage medium in the field of vehicle technology. Background Art
[0002] With the development of the interconnection between mobile devices (such as mobile phones) and vehicles, more and more vehicles are beginning to communicate with mobile devices to provide users with a convenient and intelligent travel experience.
[0003] At present, mobile phones can be connected to the car computer through the hotspot provided by the car computer to achieve the interconnection between the mobile phone and the vehicle. However, there are still many connection problems between the mobile phone and the vehicle, which may cause the mobile phone to fail to connect to the vehicle. For example, when the hotspot of the car computer is successfully connected to the mobile phone, the next time the mobile phone connects to the same hotspot, it may still fail to connect. At this time, the user needs to manually connect to the hotspot, which brings inconvenience to the user.
[0004] Therefore, how to achieve automatic connection between mobile devices and car hotspots to improve user experience is a technical problem that urgently needs to be solved. Summary of the invention
[0005] The present application provides a vehicle control method, device, vehicle and storage medium, which can realize automatic connection between a mobile device and a vehicle hotspot to improve the user experience.
[0006] In a first aspect, a vehicle control method is provided, the method comprising: obtaining target configuration information of a target hotspot in a vehicle; wherein the target configuration information is configuration information before the target hotspot is connected to a mobile device; storing the target configuration information of the target hotspot; and if it is detected that the mobile device exits the target hotspot, updating the configuration information of the target hotspot to the target configuration information.
[0007] In an embodiment of the present application, target configuration information of a target hotspot in a vehicle is obtained; and the target configuration information of the target hotspot is stored; since the target configuration information is the configuration information before the target hotspot is connected to a mobile device, when it is detected that the mobile device exits the target hotspot, the configuration information of the target hotspot can be updated to the stored target configuration information, that is, when it is detected that the mobile device exits the target hotspot, the configuration information of the target hotspot is updated to the configuration information before the mobile device is connected; compared with the related art in which the configuration information of the target hotspot after the mobile device exits the target hotspot is the configuration information modified when the mobile device is connected, resulting in the mobile device being unable to automatically connect to the target hotspot again after exiting the target hotspot, since the present solution can store the configuration information before the target hotspot is connected to the mobile device in advance; after the connection between the mobile device and the target hotspot is disconnected, the configuration information of the target hotspot is updated to the configuration information before the mobile device is connected, thereby enabling subsequent mobile devices to automatically access the target hotspot again without the need for manual connection by the user; based on this, the present solution can realize automatic connection between mobile devices and vehicle hotspots to improve the user experience.
[0008] In combination with the first aspect, in certain implementations of the first aspect, the method provided in the embodiments of the present application also includes: determining a target storage location based on target configuration information; wherein the target storage location includes a first target storage location in the memory and a second target storage location in the flash memory; storing the target configuration information of the target hotspot, including: storing the target configuration information in the target storage location.
[0009] In the embodiments of the present application, by storing the target configuration information in the target storage location, it is possible to ensure that the target configuration information can be obtained after the configuration information of the target hotspot is subsequently modified; and then the configuration information of the target hotspot can be updated to the stored target configuration information; this ensures the integrity of the target configuration information, thereby improving the reliability of subsequent mobile devices automatically connecting to the target hotspot.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, storing the target configuration information in the target storage location includes: detecting whether the target configuration information exists in the target storage location; if the target configuration information does not exist in the target storage location, storing the target configuration information in the target storage location.
[0011] In an embodiment of the present application, whether the same target configuration information is stored in the target storage location is detected; if the target configuration information does not exist in the target storage location, the target configuration information is stored in the target storage location, thereby avoiding an increase in data processing volume caused by duplicate storage.
[0012] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, if it is detected that the mobile device exits the target hotspot, the method provided in the embodiment of the present application also includes: detecting the current state of the vehicle computer in the vehicle; based on the current state, reading the stored target configuration information of the target hotspot.
[0013] In the embodiment of the present application, the current state of the vehicle computer is used to determine a suitable method for reading the target configuration information in the current state, which can improve the rationality and flexibility of the acquisition source of the target configuration information.
[0014] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, based on the current state, the target configuration information of the stored target hotspot is read, including: if the current state is the running state, the target configuration information is read from the first storage location in the memory; if the current state is the restart state, the target configuration information is read from the second storage location in the flash memory.
[0015] In an embodiment of the present application, the target storage location from which the target configuration information of the target hotspot is read is determined according to the current state of the vehicle computer. This can take into account the characteristics and requirements of data access under different states of the vehicle computer, thereby improving reading efficiency and reliability.
[0016] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, the method provided in the embodiment of the present application also includes: if it is detected that the mobile device accesses the target hotspot, generating second configuration information of the target hotspot based on the target algorithm; updating the target configuration information of the target hotspot to the second configuration information, and hiding the second configuration information in the vehicle's computer; wherein the second configuration information is the configuration information of the target hotspot.
[0017] In an embodiment of the present application, the second configuration information is generated by a target algorithm, and the target configuration information is modified to the second configuration information, and the second configuration information is hidden in the vehicle computer at the same time, so as to prevent other mobile devices from connecting to the target hotspot and improve the stability of the target hotspot connection.
[0018] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the method provided in the embodiment of the present application also includes: if it is detected that the mobile device exits the target hotspot, the target configuration information is displayed in the vehicle computer.
[0019] In an embodiment of the present application, by displaying the target configuration information on the vehicle computer, it can be ensured that the user can conveniently view the content of the configuration information of the target hotspot when needed, thereby improving the user's usage experience.
[0020] In a second aspect, a vehicle control device is provided, the control device comprising:
[0021] An acquisition module is used to acquire target configuration information of a target hotspot in a vehicle; wherein the target configuration information is configuration information before the target hotspot is connected to a mobile device;
[0022] A storage module, used to store target configuration information of a target hotspot;
[0023] The updating module is used to update the configuration information of the target hotspot to the target configuration information if it is detected that the mobile device exits the target hotspot.
[0024] As a possible implementation method, the control device also includes: a determination module, used to determine the target storage location based on the target configuration information; wherein the target storage location includes a first target storage location in the memory and a second target storage location in the flash memory; and a storage module, specifically used to store the target configuration information in the target storage location.
[0025] As a possible implementation manner, the storage module is specifically used to detect whether the target configuration information exists in the target storage location; if the target configuration information does not exist in the target storage location, the target configuration information is stored in the target storage location.
[0026] As a possible implementation, the control device further includes: a reading module, which is used to detect the current state of the vehicle computer in the vehicle; based on the current state, read the target configuration information of the stored target hotspot.
[0027] As a possible implementation, the reading module is specifically used to read the target configuration information from the first storage location in the memory if the current state is the running state; and read the target configuration information from the second storage location in the flash memory if the current state is the restart state.
[0028] As a possible implementation method, the control device also includes: a generation module, which is used to generate second configuration information of the target hotspot based on the target algorithm if it is detected that the mobile device is accessing the target hotspot; an update module, which is also used to update the target configuration information of the target hotspot to the second configuration information, and hide the second configuration information in the vehicle's computer; wherein the second configuration information is the configuration information of the target hotspot.
[0029] As a possible implementation, the control device further includes: a display module, which displays the target configuration information in a vehicle computer if it is detected that the mobile device exits the target hotspot.
[0030] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.
[0031] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0032] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a schematic diagram of a related technology provided by an embodiment of the present application;
[0034] Figure 2 is a flow chart of a vehicle control method provided in an embodiment of the present application;
[0035] Figure 3 It is a schematic diagram of a scenario of a change in configuration information of a target hotspot provided in an embodiment of the present application;
[0036] Figure 4 It is a scene schematic diagram of a vehicle-machine interface provided in an embodiment of the present application;
[0037] Figure 5 is a schematic flow chart of another vehicle control method provided in an embodiment of the present application;
[0038] Figure 6 is a schematic flow chart of another vehicle control method provided in an embodiment of the present application;
[0039] Figure 7 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;
[0040] Figure 8 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0042] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0043] First, the technical background and related technologies involved in this solution are described exemplarily.
[0044] With the development of the interconnection between mobile devices (such as mobile phones) and vehicles, more and more vehicles are beginning to communicate with mobile devices to provide users with a convenient and intelligent travel experience.
[0045] It is understandable that when a mobile phone is connected to a vehicle (also known as hand-car interconnection), the mobile phone needs to connect to the hotspot of the vehicle computer for data transmission between the mobile phone and the vehicle computer. In order to ensure the stability of the connection, improve the bandwidth and rate of data transmission, and enhance the security of data transmission, the hand-car interconnection application will make a series of modifications to the configuration information of the vehicle computer hotspot: for the stability of the hotspot connection, the hotspot name and hotspot password can be modified to randomly generated values during the process of connecting the mobile phone to the vehicle to prevent other devices from connecting to the vehicle computer hotspot; in order to provide better bandwidth and faster data transmission rate, the hotspot frequency band of the vehicle computer can be modified to a single frequency band during the process of connecting the mobile phone to the vehicle; for the security of data transmission, if the security type set for the hotspot does not meet the requirements, it can be modified to a specific security type.
[0046] At present, mobile phones can be connected to the car computer through the hotspot provided by the car computer to achieve the interconnection between the mobile phone and the vehicle. However, there are still many connection problems between the mobile phone and the vehicle, which may cause the mobile phone to fail to connect to the vehicle. For example, when the hotspot of the car computer is successfully connected to the mobile phone, the next time the mobile phone connects to the same hotspot, it may still fail to connect. At this time, the user needs to manually connect to the hotspot, which brings inconvenience to the user.
[0047] For example, Figure 1 As shown, Figure 1 A schematic diagram of a related technology scenario provided by an embodiment of the present application. Figure 1 (a) is a schematic diagram before the mobile phone and the vehicle are connected; Figure 1 (b) is a schematic diagram of the interconnection between a mobile phone and a vehicle; Figure 1 (c) in the figure is a schematic diagram after the mobile phone and the vehicle are connected.
[0048] like Figure 1As shown in (a) in FIG, before the mobile phone is connected to the vehicle, the configuration information 1 of the hotspot of the vehicle is "hotspot name: WEY8622; hotspot password: ab123456". At this time, mobile phone A and mobile phone B can automatically connect to the hotspot of the vehicle based on configuration information 1. Figure 1 As shown in (b), during the process of mobile phone and vehicle interconnection, mobile phone A accesses the hotspot of the vehicle based on configuration information 1, and the configuration information on the hotspot of the vehicle is changed to configuration information 2, that is, "hotspot name: axy2342369; hotspot password: 457xtd16". At this time, mobile phone B cannot connect to the hotspot of the vehicle based on configuration information 1. Figure 1 As shown in (c), after the mobile phone is connected to the vehicle, mobile phone A exits the hotspot of the vehicle computer. Since the vehicle computer changes configuration information 1 to configuration information 2, it cannot return to the original configuration information 1, resulting in mobile phone A and mobile phone B being unable to automatically connect to the hotspot of the vehicle computer based on configuration information 1.
[0049] In short, every time the mobile phone is connected to the car computer, the configuration information of the car computer's hotspot (for example, hotspot name, hotspot password, etc.) will change, resulting in the mobile phone that has previously connected to this hotspot being unable to automatically connect to the hotspot. The user needs to manually connect to the hotspot, which brings inconvenience to the user.
[0050] Therefore, how to achieve automatic connection between mobile devices and car hotspots to improve user experience is a technical problem that urgently needs to be solved.
[0051] In view of this, an embodiment of the present application provides a vehicle control method, device, vehicle and storage medium, which can store the configuration information of the target hotspot before connecting to the mobile device in advance; after the connection between the mobile device and the target hotspot is disconnected, the configuration information of the target hotspot is updated to the target configuration information, so that the mobile device can access the target hotspot based on the target configuration information; this solution can realize automatic connection between the mobile device and the vehicle hotspot to improve the user experience.
[0052] In order to illustrate the technical solution of the present application, the following is a description through specific embodiments. Figures 2 to 6 The vehicle control method provided in the embodiment of the present application is described in detail.
[0053] It should be understood that the embodiments of the present application do not particularly limit the execution subject of the vehicle control method, as long as the program that records the code of the vehicle control method of the embodiments of the present application can be run to communicate according to the vehicle control method of the embodiments of the present application. For example, the execution subject of the vehicle control method provided in the embodiments of the present application can be a vehicle, or a vehicle control device used in a vehicle, such as a chip.
[0054] Figure 2It is a flow chart of a vehicle control method provided in an embodiment of the present application.
[0055] S201. Obtain target configuration information of target hotspots in the vehicle.
[0056] The target configuration information is the configuration information before the target hotspot is connected to the mobile device.
[0057] Exemplarily, the target configuration information can be used for the mobile device to connect to the target hotspot in the vehicle based on the target configuration information. For example, the target configuration information can include configuration parameters such as the name and password of the target hotspot.
[0058] Exemplarily, the target hotspot may refer to a wireless network access point provided inside the vehicle; wherein the target hotspot allows a mobile device (eg, a mobile phone, a tablet computer, etc.) to establish a wireless connection with the vehicle.
[0059] As an example, a query request may be sent to an interface (eg, Simple Network Management Protocol (SNMP) etc.) of configuration information corresponding to a hotspot in a vehicle to obtain target configuration information of a target hotspot.
[0060] As another example, the configuration information of the target hotspot may also be obtained from a network management system in the vehicle (eg, an in-vehicle infotainment system, an Internet of Vehicles platform, etc.).
[0061] Exemplarily, the target configuration information of the target hotspot may be obtained during the process of establishing a connection between the target hotspot and the mobile device. Optionally, the target configuration information of the target hotspot may also be obtained before the target hotspot is connected to the mobile device.
[0062] It can be understood that by obtaining the target configuration information of the target hotspot, when the configuration information of the target hotspot changes when a subsequent vehicle is connected to a mobile device, the configuration information of the target hotspot can be restored to the target configuration information to ensure that the subsequent mobile device can again connect to the target hotspot of the vehicle based on the target configuration information.
[0063] S202. Store target configuration information of the target hotspot.
[0064] It is understandable that the previously acquired target configuration information (e.g., hotspot name, hotspot password, etc.) can be stored so that the configuration information of the target hotspot can be quickly and accurately restored to the target configuration information later, thereby improving the reliability of the mobile device automatically connecting to the vehicle's target hotspot.
[0065] As an example, the target configuration information can be stored in a physical storage device. The physical storage device can be a device connected to the vehicle or a storage module in the vehicle, and the embodiments of the present application do not specifically limit this. For example, the physical storage device can be a memory or a flash memory. For details, please refer to the following embodiments, which will not be repeated here.
[0066] Optionally, the target configuration information may also be stored in a virtual storage device, such as a cloud database or a network attached storage. The cloud database is connected to the vehicle in communication. After the vehicle obtains the target configuration information, the target configuration information may be sent to the cloud database, which can reduce the storage pressure of the vehicle.
[0067] Exemplarily, usually, since the target configuration information is in a text format (e.g., a text file (TXT) format or an initialization file (INI) format), the target configuration information may be format-converted when the target configuration information is stored; for example, the text format of the target configuration information may be converted into a JavaScript Object Notation (JSON) format. In this way, the data complexity of the target configuration information may be reduced.
[0068] For a detailed description of S202, please refer to the following embodiments, which will not be described again here.
[0069] S203. If it is detected that the mobile device exits the target hotspot, the configuration information of the target hotspot is updated to the target configuration information.
[0070] It is understandable that when it is detected that a mobile device (eg, a cell phone) is disconnected from a target hotspot, the configuration information of the target hotspot may be updated to the target configuration information so that the mobile device automatically connects to the target hotspot of the vehicle next time.
[0071] As an example, the mobile device exiting the target hotspot can be detected through the hotspot management interface in the vehicle. For example, the device list of mobile devices currently connected to the vehicle can be displayed in real time in the hotspot management interface. When the mobile device disappears from the device list, it can be determined that the mobile device has exited the target hotspot.
[0072] As another example, the network connection status of the target hotspot in the vehicle may also be monitored by a network monitoring tool in the vehicle; when it is detected that a mobile device is disconnected from the target hotspot, the vehicle may be promptly notified that the mobile device has exited the target hotspot.
[0073] Exemplarily, when the mobile device exits the target hotspot, the configuration information of the target hotspot may be changed. At this time, the previously stored target configuration information can be read to restore the configuration information of the target hotspot to the target configuration information.
[0074] It should also be noted that updating the configuration information of the target hotspot to the target configuration information can not only enable the mobile device connected to the target hotspot this time to automatically connect to the target hotspot next time, but also enable other mobile devices that have recorded the target configuration information to automatically connect to the target hotspot; this can also avoid the situation where other mobile devices cannot connect to the target hotspot based on the target configuration information after the mobile device is connected to the target hotspot this time.
[0075] For example, take a mobile device as a mobile phone: Figure 3 As shown, Figure 3 A schematic diagram of a scenario in which the configuration information of a target hotspot changes according to an embodiment of the present application. Figure 3 (a) is a schematic diagram before the mobile phone and the vehicle are connected; Figure 3 (b) is a schematic diagram of the interconnection between a mobile phone and a vehicle; Figure 3 (c) in the figure is a schematic diagram after the mobile phone and the vehicle are connected. Figure 3 As shown in (a) in the figure: before the mobile phone is connected to the vehicle, the target configuration information of the vehicle's target hotspot is "hotspot name: WEY8622; hotspot password: ab123456". At this time, mobile phone A and mobile phone B can automatically connect to the vehicle's target hotspot based on the target configuration information. Figure 3 As shown in (b), during the process of mobile phone and vehicle interconnection, mobile phone A accesses the target hotspot of the vehicle based on the target configuration information, and the configuration information of the target hotspot of the vehicle is modified to the second configuration information, namely "hotspot name: axy2342369; hotspot password: 457xtd16". At this time, mobile phone B cannot connect to the hotspot of the vehicle based on configuration information 1, thereby improving the stability of the target hotspot connection. Figure 3 As shown in (c), after mobile phone A exits the target hotspot of the vehicle, the configuration information of the target hotspot can be updated to the target configuration information, that is, "hotspot name: WEY8622; hotspot password: ab123456". In this way, the next time the target hotspot is connected, mobile phone A and mobile phone B can still automatically connect to the target hotspot of the vehicle based on the target configuration information.
[0076] In an embodiment of the present application, target configuration information of a target hotspot in a vehicle is obtained; and the target configuration information of the target hotspot is stored; since the target configuration information is the configuration information before the target hotspot is connected to a mobile device, when it is detected that the mobile device exits the target hotspot, the configuration information of the target hotspot can be updated to the stored target configuration information, that is, when it is detected that the mobile device exits the target hotspot, the configuration information of the target hotspot is updated to the configuration information before the mobile device is connected; compared with the related art in which the configuration information of the target hotspot after the mobile device exits the target hotspot is the configuration information modified when the mobile device is connected, resulting in the mobile device being unable to automatically connect to the target hotspot again after exiting the target hotspot, since the present solution can store the configuration information before the target hotspot is connected to the mobile device in advance; after the connection between the mobile device and the target hotspot is disconnected, the configuration information of the target hotspot is updated to the configuration information before the mobile device is connected, thereby enabling subsequent mobile devices to automatically access the target hotspot again without the need for manual connection by the user; based on this, the present solution can realize automatic connection between mobile devices and vehicle hotspots to improve the user experience.
[0077] In a possible embodiment of the present application, the method provided in the embodiment of the present application further includes: determining a target storage location based on target configuration information; the above S202 includes: storing the target configuration information in the target storage location.
[0078] The target storage location includes a first target storage location in the memory and a second target storage location in the flash memory.
[0079] Exemplarily, the target storage location may be a storage area for storing the target configuration information. The target storage location may be a storage area in a storage device in the vehicle; the target configuration information may be stored in the target storage location based on the storage path of the target storage location to ensure data security and accessibility.
[0080] Exemplarily, the target storage location may include a first target storage location in a memory. The memory is a random access memory (RAM). The memory is a volatile memory, that is, the stored data will be lost after power failure. The memory is characterized by extremely fast access speed and is suitable for temporarily storing data being processed.
[0081] It can be understood that when a mobile device is connected to a vehicle, in order to improve the reading and writing speed of the target configuration information of the target hotspot, the target configuration information can be stored in the memory; in this way, when the mobile device subsequently exits the target hotspot, the target configuration information can be quickly read to improve the efficiency of updating the configuration information of the target hotspot to the target configuration information.
[0082] Exemplarily, the target storage location may include a second storage location in a flash memory. The flash memory is a non-volatile memory, which means that the stored data will not be lost even after a power outage. The flash memory is generally used to store data persistently; for example, the flash memory may be a secure digital card (SD Card), a solid state drive (SSD), etc.
[0083] It can be understood that when the mobile device is connected to the vehicle, by storing the target configuration information of the target hotspot in the flash memory, it can be ensured that the target configuration information will not be lost when the vehicle computer in the vehicle is turned off or fails, so that the target configuration information can be read when the configuration information of the target hotspot is updated to the target configuration information.
[0084] Exemplarily, the storage path of the target storage location can be determined based on the target field information of the target configuration information; then, based on the storage path of the target storage location, the target configuration information is written into the target storage location. The storage path can be used to uniquely identify the target storage location storing the target configuration information.
[0085] For example, the target configuration information of the target hotspot obtained is:
[0086] “Hotspot Name:WEY8622
[0087] Hotspot Password:ab123456”
[0088] The target field information can be extracted from the target configuration information, for example, the target field information is "hotspot"; based on the target field information "hotspot", the storage path of the target storage location can be determined to be " / vehicle_hotspot_configs / carwifi_config.json"; after determining the storage path of the target storage location, the target configuration information can be written to the target storage location pointed to by the target storage path.
[0089] As a possible implementation method, based on the target field information of the target configuration information, it can be determined whether there is a storage path corresponding to the target field information in the storage device. If the storage path does not exist, it is determined that there is no target storage location. At this time, a storage location corresponding to the storage path can be created, and the storage location is determined as the target storage location.
[0090] In the embodiments of the present application, by storing the target configuration information in the target storage location, it is possible to ensure that the target configuration information can be obtained after the configuration information of the target hotspot is subsequently modified; and then the configuration information of the target hotspot can be updated to the stored target configuration information; this ensures the integrity of the target configuration information, thereby improving the reliability of subsequent mobile devices automatically connecting to the target hotspot.
[0091] In a possible embodiment of the present application, storing the target configuration information in the target storage location includes: detecting whether the target configuration information exists in the target storage location; if the target configuration information does not exist in the target storage location, storing the target configuration information in the target storage location.
[0092] It should be understood that when storing target configuration information in a target storage location, it is possible to first detect whether the same target configuration information has already been stored in the target storage location; if the target configuration information does not exist, the new target configuration information is stored in the target storage location to avoid duplicate storage and thereby increase the amount of data processing.
[0093] Optionally, if the target configuration information exists in the target storage location, the target configuration information may not be repeatedly stored in the target storage location.
[0094] As an example, if it is detected that the target storage location does not have the target configuration information, this may be because the target storage location does not store any configuration information. At this time, the information in the target storage location is empty, which can be represented by "null".
[0095] As another example, if it is detected that the target storage location does not contain the target configuration information, it may be because the target storage location stores other historical configuration information that is different in content from the target configuration information. The different content may mean that the content of the target configuration information is completely different from the content of the historical configuration information; it may also mean that the content of the target configuration information is different from part of the content of the historical configuration information.
[0096] For example, the hotspot name of the historical configuration information is "WEY190" and the hotspot password is "ac576456". The hotspot name of the target configuration information is "WEY8622" and the hotspot password is "ab123456". At this time, the hotspot name of the historical configuration information is different from the hotspot name of the target configuration information, and the hotspot password of the historical configuration information is also different from the hotspot password of the target configuration information.
[0097] For another example, the hotspot name of the historical configuration information is "WEY190" and the hotspot password is "ab123456". The hotspot name of the target configuration information is "WEY8622" and the hotspot password is "ab123456". At this time, the hotspot name of the historical configuration information is different from the hotspot name of the target configuration information, while the hotspot password of the historical configuration information is the same as the hotspot password of the target configuration information; in other words, the content of the target configuration information is different from part of the content of the historical configuration information.
[0098] It is understandable that, since the configuration information of the target hotspot in the vehicle computer can be manually modified by the user, the target configuration information may be the configuration information obtained by the user manually modifying the configuration information of the target hotspot before; and the historical configuration information may be the configuration information before the manual modification.
[0099] In an embodiment of the present application, whether the same target configuration information is stored in the target storage location is detected; if the target configuration information does not exist in the target storage location, the target configuration information is stored in the target storage location, thereby avoiding an increase in data processing volume caused by duplicate storage.
[0100] In a possible embodiment of the present application, if it is detected that the mobile device exits the target hotspot, the method provided in the embodiment of the present application also includes: detecting the current state of the vehicle computer in the vehicle; based on the current state, reading the stored target configuration information of the target hotspot.
[0101] It should be understood that when it is detected that the mobile device exits the target hotspot in the vehicle, it can be determined from which target storage location to read the target configuration information based on the current state of the vehicle computer, thereby improving the reliability and flexibility of obtaining the target configuration information.
[0102] For example, the current state in the vehicle computer can be used to reflect the operation status of the vehicle computer when the mobile device is disconnected from the target hotspot. The current state can include an operation state, a restart state, etc.
[0103] For example, the running state can be used to reflect that the current vehicle computer is working normally, and the functional modules in the vehicle computer (for example, the target hotspot) are working normally. For another example, the restarting state can be used to reflect that the vehicle computer is restarting or has just restarted, and the functional modules in the vehicle computer (for example, the target hotspot) are also running again.
[0104] For example, when it is detected that the mobile device has exited the target hotspot, the current state of the vehicle computer can be detected first, such as the running state or the restart state; then, based on the current state, a suitable target storage location in the current state is selected, and the target configuration information is read from the target storage location.
[0105] Regarding how to read the stored target configuration information of the target hotspot based on the current state, please refer to the following embodiment, which will not be repeated here.
[0106] In the embodiment of the present application, the current state of the vehicle computer is used to determine a suitable method for reading the target configuration information in the current state, which can improve the rationality and flexibility of the acquisition source of the target configuration information.
[0107] In a possible embodiment of the present application, based on the current state, the target configuration information of the stored target hotspot is read, including: if the current state is the running state, the target configuration information is read from the first target storage location in the memory; if the current state is the restart state, the target configuration information is read from the second target storage location in the flash memory.
[0108] As an example, when the current state is the running state, the target hotspot in the vehicle computer is working normally; it can be determined that the target configuration information is stored in the first target storage location of the memory at this time; at this time, since the speed of reading data from the memory is much faster than the speed of reading data from the flash memory, the target configuration information can be read from the memory, so that the configuration information of the target hotspot can be quickly updated to the target configuration information, reducing the user's waiting time and thereby improving the user's experience.
[0109] As another example, when the current state is the restart state, the target hotspot in the vehicle computer is in the restart state; at this time, since the data in the memory in the vehicle computer is lost, and the target configuration information is still stored in the flash memory, the target configuration information can be read from the second target storage location in the flash memory, thereby ensuring that even if the vehicle computer is restarted, the configuration information of the target hotspot can be updated to the target configuration information, thereby improving the reliability of data acquisition and the persistence of data storage.
[0110] In an embodiment of the present application, the target storage location from which the target configuration information of the target hotspot is read is determined according to the current state of the vehicle computer. This can take into account the characteristics and requirements of data access under different states of the vehicle computer, thereby improving reading efficiency and reliability.
[0111] In a possible embodiment of the present application, the method provided in the embodiment of the present application also includes: if it is detected that the mobile device accesses the target hotspot, generating second configuration information of the target hotspot based on the target algorithm; updating the target configuration information of the target hotspot to the second configuration information, and hiding the second configuration information in the vehicle's computer.
[0112] The second configuration information is the configuration information of the target hotspot.
[0113] Exemplarily, the second configuration information is the configuration information obtained by modifying the target configuration information of the target hotspot when the mobile device is connected to the target hotspot. For example, when it is detected that the mobile device is in the process of connecting to the target hotspot, a specific algorithm is triggered to generate the second configuration information, and the target configuration information is updated to the second configuration information.
[0114] Exemplarily, the target algorithm can be used to modify the configuration information of the target hotspot into randomly generated content. For example, the target algorithm can be a hash algorithm, a random number generation algorithm, etc.
[0115] It should be explained that the hash algorithm can convert input data into a hash value of fixed length, and different inputs usually produce different hash values, so random hotspot names and hotspot passwords can be generated based on the hash algorithm. The random number generation algorithm can generate a series of seemingly random numbers or character sequences, which are used to generate hotspot names and hotspot passwords.
[0116] Exemplarily, by updating the target configuration information of the target hotspot to the second configuration information, it is possible to avoid other devices connecting to the target hotspot based on the target configuration information during the process of the mobile device connecting to the target hotspot, so as to achieve stability of the target hotspot connection.
[0117] For example, after the target configuration information of the target hotspot is updated to the second configuration information, the content of the second configuration information can be hidden in the vehicle interface, so as to avoid the second configuration information being directly displayed to the user or being captured by other mobile devices. By hiding the second configuration information, the security of the data can be improved while maintaining the simplicity of the vehicle interface.
[0118] Optionally, before the mobile device accesses the target hotspot, the target configuration information may be displayed in the vehicle's computer.
[0119] For example, Figure 4 As shown, Figure 4 A schematic diagram of a vehicle interface scenario provided by an embodiment of the present application. Figure 4 As shown in (a) in FIG. 4 , before the mobile phone is connected to the vehicle, that is, before the mobile device accesses the target hotspot, the vehicle interface 410 may display: “Hotspot name: WEY8622; Hotspot password: ab123456”. At this time, the mobile device does not exist in the list of connected devices. Figure 4As shown in (b), during the process of interconnection between the mobile phone and the vehicle, that is, when the mobile phone A accesses the target hotspot of the vehicle computer based on the target configuration information, the configuration information of the target hotspot is hidden in the vehicle computer; at the same time, it can be displayed on the vehicle computer interface 420 that "in use, connection to other devices is not supported". At this time, the model of mobile phone A, such as model A17, exists in the list of connected devices.
[0120] In an embodiment of the present application, the second configuration information is generated by a target algorithm, and the target configuration information is modified to the second configuration information, and the second configuration information is hidden in the vehicle computer at the same time, so as to prevent other mobile devices from connecting to the target hotspot and improve the stability of the target hotspot connection.
[0121] In a possible embodiment of the present application, the method provided in the embodiment of the present application further includes: if it is detected that the mobile device exits the target hotspot, displaying the target configuration information in the vehicle computer.
[0122] For example, after detecting that the mobile device exits the target hotspot, the target configuration information can be displayed on the vehicle computer so that the user can be aware of the content of the current vehicle computer configuration information; and the user does not need to modify the vehicle computer configuration information subsequently.
[0123] Example: Give an example, such as Figure 4 As shown, Figure 4 A schematic diagram of a vehicle interface scenario provided by an embodiment of the present application. Figure 4 As shown in (c), when the mobile phone and the vehicle are connected, that is, after the mobile phone A exits the target hotspot of the vehicle, the vehicle interface 430 may display: "Hotspot name: WEY8622; Hotspot password: ab123456". At this time, there is no mobile device in the list of connected devices.
[0124] In an embodiment of the present application, by displaying the target configuration information on the vehicle computer, it can be ensured that the user can conveniently view the content of the configuration information of the target hotspot when needed, thereby improving the user's usage experience.
[0125] Figure 5 It is a schematic flow chart of another vehicle control method provided in an embodiment of the present application.
[0126] For example, Figure 5 The vehicle control method shown can be executed by the vehicle, and can also be executed by a vehicle control device in the vehicle, such as a chip.
[0127] For example, Figure 5 As shown, the vehicle control method includes three stages: a target configuration information backup stage, a target configuration information modification stage, and a target configuration information recovery stage.
[0128] After executing the target configuration information backup phase, the target configuration information modification phase may be executed; after executing the target configuration information modification phase, the target configuration information restoration phase may be executed.
[0129] Optionally, before executing the backup phase of the target configuration information, the vehicle computer may enter the target application for interconnecting the mobile phone with the vehicle. After executing the recovery phase of the target configuration information, the vehicle computer may exit the target application for interconnecting the mobile phone with the vehicle.
[0130] against Figure 5 The three stages described in Figure 6 As shown, Figure 6 It is a schematic flow chart of another vehicle control method provided in an embodiment of the present application.
[0131] For example, Figure 6 The vehicle control method shown can be executed by the vehicle, and can also be executed by a vehicle control device in the vehicle, such as a chip.
[0132] Exemplarily, the backup phase of the target configuration information includes: S601 to S604; the modification phase of the target configuration information includes: S605 to S607; and the restoration phase of the target configuration information includes: S608 to S611.
[0133] Phase 1: Backup of target configuration information
[0134] Exemplarily, in the backup phase of the target configuration information, the target configuration information may be acquired in advance and stored, so that the configuration information of the target hotspot may be subsequently restored to the target configuration information.
[0135] S601. Receive a hotspot access request sent by a mobile phone.
[0136] Exemplarily, the hotspot access request is used to request access to a target hotspot of the vehicle computer.
[0137] Exemplarily, the target hotspot may refer to a wireless network access point provided inside a vehicle; wherein the target hotspot allows a mobile phone (eg, a mobile phone, a tablet computer, etc.) to establish a wireless connection with the vehicle.
[0138] S602. In the process of establishing a connection between the mobile phone and the target hotspot, obtain target configuration information of the target hotspot.
[0139] Exemplarily, the target configuration information is configuration information before the target hotspot is connected to the mobile phone.
[0140] Exemplarily, the target configuration information can be used for the mobile phone to connect to the target hotspot in the vehicle based on the target configuration information. For example, the target configuration information can include configuration parameters such as the name and password of the target hotspot.
[0141] Exemplarily, the target configuration information of the target hotspot can be obtained at a preset time during the process of establishing a connection between the mobile phone and the target hotspot. The preset time can be a preconfigured time of the vehicle or a manually set time, and the present application embodiment does not specifically limit this.
[0142] It can be understood that by obtaining the target configuration information of the target hotspot, when the configuration information of the target hotspot changes when the vehicle is subsequently connected to the mobile phone, the configuration information of the target hotspot can be restored to the target configuration information to ensure that the subsequent mobile phone can connect to the vehicle's target hotspot again based on the target configuration information.
[0143] S603. Determine whether the target storage location exists in the SD card. If yes, execute S605; if no, execute S604.
[0144] Exemplarily, the target storage location may be a storage area for storing the target configuration information. The target storage location may be a storage area in a storage device in the vehicle; the target configuration information may be stored in the target storage location based on the storage path of the target storage location to ensure data security and accessibility.
[0145] For example, an SD card is a portable storage device based on semiconductor flash memory technology. The target configuration information (such as hotspot name, hotspot password, etc.) can be backed up on the SD card. After the mobile phone exits the target hotspot, the previously backed up target configuration information is read from the SD card and restored to the target hotspot of the vehicle computer.
[0146] As an example, the target configuration information can be stored in a physical storage device. The physical storage device can be a device connected to the vehicle or a storage module in the vehicle, and the embodiments of the present application do not specifically limit this. For example, the physical storage device can be a memory or a flash memory. For details, please refer to the following embodiments, which will not be repeated here.
[0147] Optionally, the target configuration information may also be stored in a virtual storage device, such as a cloud database or a network attached storage. The cloud database is connected to the vehicle in communication. After the vehicle obtains the target configuration information, the target configuration information may be sent to the cloud database, which can reduce the storage pressure of the vehicle.
[0148] S604. Write target configuration information into the target storage location.
[0149] Exemplarily, the storage path of the target storage location can be determined based on the target field information of the target configuration information; then, based on the storage path of the target storage location, the target configuration information is written into the target storage location. The storage path can be used to uniquely identify the target storage location storing the target configuration information.
[0150] Phase 2: Modification of target configuration information
[0151] For example, during the backup phase of the target configuration information, in order to prevent other devices from connecting to the target hotspot of the vehicle computer, the configuration information of the target hotspot, such as the hotspot name, hotspot password, etc., may be modified.
[0152] S605. Generate second configuration information based on the target algorithm.
[0153] Exemplarily, the target algorithm can be used to modify the configuration information of the target hotspot into randomly generated content. For example, the target algorithm can be a hash algorithm, a random number generation algorithm, etc.
[0154] For example, a hash algorithm can convert input data into a hash value of fixed length, and different inputs usually produce different hash values, so a random hotspot name and hotspot password can be generated based on the hash algorithm. A random number generation algorithm can generate a series of seemingly random numbers or character sequences, which are used to generate hotspot names and hotspot passwords.
[0155] S606. Modify the target configuration information to the second configuration information.
[0156] Exemplarily, the second configuration information is the configuration information obtained by modifying the target configuration information of the target hotspot when the mobile phone is connected to the target hotspot. For example, when it is detected that the mobile phone is in the process of connecting to the target hotspot, a specific algorithm based on a specific algorithm is triggered to generate the second configuration information, and the target configuration information is updated to the second configuration information.
[0157] Exemplarily, by updating the target configuration information of the target hotspot to the second configuration information, it is possible to avoid other devices accessing the target hotspot based on the target configuration information during the process of connecting the mobile device to the target hotspot, so as to achieve stability of the target hotspot connection.
[0158] S607. Hide the second configuration information on the vehicle computer interface.
[0159] For example, after the target configuration information of the target hotspot is updated to the second configuration information, the content of the second configuration information can be hidden in the vehicle interface, so as to avoid directly displaying the second configuration information to the user or being captured by other mobile phones. By hiding the second configuration information, the security of the data can be improved while maintaining the simplicity of the vehicle interface.
[0160] Optionally, before the mobile phone accesses the target hotspot, the target configuration information may be displayed in the vehicle's computer.
[0161] Phase 3: Recovery of target configuration information
[0162] Exemplarily, in the target configuration information recovery phase, the configuration information of the target hotspot may be recovered as the target configuration information so that a device that has previously connected to the target hotspot may automatically connect to the target hotspot.
[0163] S608. Detect whether the mobile phone has exited the target hotspot. If so, execute S609.
[0164] As an example, the mobile phone exiting the target hotspot can be detected through the hotspot management interface in the vehicle. For example, the device list of the mobile phone currently connected to the vehicle can be displayed in real time in the hotspot management interface. When the mobile phone disappears from the device list, it can be determined that the mobile phone has exited the target hotspot.
[0165] As another example, the network connection status of the target hotspot in the vehicle can also be monitored by a network monitoring tool in the vehicle; when it is detected that the connection between the mobile phone and the target hotspot is disconnected, the vehicle can be promptly notified that the mobile phone has exited the target hotspot.
[0166] Exemplarily, when the mobile phone exits the target hotspot, the configuration information of the target hotspot may be changed. At this time, the previously stored target configuration information can be read to restore the configuration information of the target hotspot to the target configuration information.
[0167] S609. Read target configuration information from the target storage location.
[0168] S610. Update the second configuration information to the target configuration information.
[0169] It is understandable that when it is detected that the mobile phone is disconnected from the target hotspot, the configuration information of the target hotspot can be updated to the target configuration information so that the mobile phone automatically connects to the target hotspot of the vehicle next time.
[0170] It should be noted that updating the configuration information of the target hotspot to the target configuration information can not only enable the mobile phone connected to the target hotspot this time to automatically connect to the target hotspot next time, but also enable other mobile phones that have recorded the target configuration information to automatically connect to the target hotspot; this can also avoid the situation where other mobile phones cannot connect to the target hotspot based on the target configuration information after the current mobile phone connects to the target hotspot.
[0171] S611. Display the target configuration information on the vehicle computer interface.
[0172] For example, after detecting that the mobile phone has exited the target hotspot, the target configuration information can be displayed on the vehicle computer so that the user can be aware of the content of the current configuration information of the vehicle computer; and the user does not need to modify the configuration information of the vehicle computer subsequently.
[0173] For detailed description of S601 to S611, please refer to the above Figures 2 to 4 And related descriptions will not be elaborated here.
[0174] In an embodiment of the present application, by obtaining target configuration information during the process of establishing a connection between a mobile phone and a target hotspot; and storing the target configuration information of the target hotspot in a target storage location in an SD card; in this way, the target configuration information can be obtained in advance before modifying the configuration information of the target hotspot to ensure the integrity of the target configuration information; when it is detected that the mobile phone exits the target hotspot, the configuration information of the target hotspot can be updated to the stored target configuration information, that is, when it is detected that the mobile phone exits the target hotspot, the configuration information of the target hotspot is updated to the configuration information before connecting to the mobile phone; compared with the configuration information of the target hotspot after the mobile phone exits the target hotspot in the related art, which is the configuration information modified when the mobile phone is connected, resulting in the mobile phone being unable to connect to the target hotspot again automatically after exiting the target hotspot, because the present solution can store the configuration information before the target hotspot is connected to the mobile phone in advance; after the connection between the mobile phone and the target hotspot is disconnected, the configuration information of the target hotspot is updated to the configuration information before connecting to the mobile phone, thereby enabling the mobile phone to automatically access the target hotspot again; in addition, by modifying the configuration information of the target hotspot to the second configuration information, other mobile phones can be prevented from accessing the target hotspot; based on this, the present solution can realize automatic connection between mobile devices and vehicle hotspots to improve the user experience.
[0175] It should be understood that the above examples are intended to help those skilled in the art understand the embodiments of the present application, rather than to limit the embodiments of the present application to the specific numerical values or specific scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, and such modifications or changes also fall within the scope of the embodiments of the present application.
[0176] Combination of the above Figures 2 to 6 The vehicle control method provided by the embodiment of the present application is described in detail; Figure 7 and Figure 8 The device embodiments of the present application are described in detail. It should be understood that the device in the embodiments of the present application can execute the various methods of the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.
[0177] Combine the following Figure 7 The vehicle control device provided in the embodiment of the present application is described in detail.
[0178] like Figure 7 As shown, Figure 7 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.
[0179] For example, Figure 7 As shown, the control device includes:
[0180] The acquisition module 710 is used to acquire target configuration information of the target hotspot in the vehicle; wherein the target configuration information is configuration information before the target hotspot is connected to the mobile device;
[0181] Storage module 720, used to store target configuration information of target hotspot;
[0182] The updating module 730 is used to update the configuration information of the target hotspot to the target configuration information if it is detected that the mobile device exits the target hotspot.
[0183] As a possible implementation method, the control device also includes: a determination module, used to determine the target storage location based on the target configuration information; wherein the target storage location includes a first target storage location in the memory and a second target storage location in the flash memory; a storage module 720, specifically used to store the target configuration information in the target storage location.
[0184] As a possible implementation manner, the storage module 720 is specifically configured to detect whether the target configuration information exists in the target storage location; if the target configuration information does not exist in the target storage location, the target configuration information is stored in the target storage location.
[0185] As a possible implementation, the control device further includes: a reading module, which is used to detect the current state of the vehicle computer in the vehicle; based on the current state, read the target configuration information of the stored target hotspot.
[0186] As a possible implementation, the reading module is specifically used to read the target configuration information from the first storage location in the memory if the current state is the running state; and read the target configuration information from the second storage location in the flash memory if the current state is the restart state.
[0187] As a possible implementation method, the control device also includes: a generation module, which is used to generate second configuration information of the target hotspot based on the target algorithm if it is detected that the mobile device is connected to the target hotspot; an update module 730, which is also used to update the target configuration information of the target hotspot to the second configuration information, and hide the second configuration information in the vehicle's computer; wherein the second configuration information is the configuration information of the target hotspot.
[0188] As a possible implementation, the control device further includes: a display module, which displays the target configuration information in a vehicle computer if it is detected that the mobile device exits the target hotspot.
[0189] It should be noted that, when the vehicle control device provided in the above embodiment executes the vehicle control method, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0190] In addition, the vehicle control device and vehicle control method embodiments provided in the above embodiments belong to the same concept. Therefore, for details not disclosed in the device embodiments of this specification, please refer to the above-mentioned vehicle control method embodiments of this specification, which will not be repeated here.
[0191] Figure 8 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0192] For example, Figure 8 As shown, the vehicle 800 includes: a memory 801 and a processor 802, wherein the memory 801 stores an executable program code 803, and the processor 802 is used to call and execute the executable program code 803 to perform a vehicle control method.
[0193] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a vehicle control method provided by an embodiment of the present application.
[0194] In this embodiment, the control device can be divided into functional modules according to the above method example. For example, each functional module can be corresponded to, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0195] In the case of dividing each functional module according to each function, the control device may also include an acquisition module, a detection module, a processing module, a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0196] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.
[0197] In the case of an integrated unit, the control device may include a processing module and a storage module. When the control device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle, for example: obtaining target configuration information of a target hotspot in the vehicle; wherein the target configuration information is the configuration information before the target hotspot is connected to the mobile device; storing the target configuration information of the target hotspot; if it is detected that the mobile device exits the target hotspot, updating the configuration information of the target hotspot to the target configuration information. The storage module may be used to support the vehicle to execute related program codes, etc.
[0198] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0199] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.
[0200] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above-mentioned embodiment.
[0201] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method provided by the above-mentioned embodiment.
[0202] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0203] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0204] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0205] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle control method, characterized in that: The method comprises: Obtain target configuration information of a target hotspot in a vehicle; wherein the target configuration information is configuration information before the target hotspot is connected to a mobile device; Storing target configuration information of the target hotspot; If it is detected that the mobile device exits the target hotspot, the configuration information of the target hotspot is updated to the target configuration information.
2. The method according to claim 1, characterized in that The method further comprises: Determine a target storage location based on the target configuration information; wherein the target storage location includes a first target storage location in the memory and a second target storage location in the flash memory; The storing of the target configuration information of the target hotspot includes: The target configuration information is stored in the target storage location.
3. The method according to claim 2, characterized in that The storing the target configuration information in the target storage location includes: Detecting whether the target configuration information exists in the target storage location; If the target storage location does not contain the target configuration information, the target configuration information is stored in the target storage location.
4. The method according to claim 1, characterized in that: If it is detected that the mobile device exits the target hotspot, the method further includes: Detecting the current state of a vehicle computer in the vehicle; Based on the current state, the stored target configuration information of the target hotspot is read.
5. The method according to claim 4, characterized in that The step of reading the stored target configuration information of the target hotspot based on the current state includes: If the current state is a running state, reading the target configuration information from a first storage location in the memory; If the current state is a restart state, the target configuration information is read from a second storage location in the flash memory.
6. The method according to claim 1, characterized in that The method further comprises: If it is detected that the mobile device is connected to the target hotspot, generating second configuration information of the target hotspot based on a target algorithm; The target configuration information of the target hotspot is updated to the second configuration information, and the second configuration information is hidden in the vehicle computer of the vehicle; wherein the second configuration information is the configuration information of the target hotspot.
7. The method according to claim 1, characterized in that The method further comprises: If it is detected that the mobile device exits the target hotspot, the target configuration information is displayed in the vehicle computer of the vehicle.
8. A vehicle control device, characterized in that: The device comprises: An acquisition module, used to acquire target configuration information of a target hotspot in a vehicle; wherein the target configuration information is configuration information before the target hotspot is connected to a mobile device; A storage module, used to store target configuration information of the target hotspot; An updating module is used to update the configuration information of the target hotspot to the target configuration information if it is detected that the mobile device exits the target hotspot.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Vehicle-mounted equipment pairing method and device, electronic equipment and storage medium
CN112929988A
Equipment connection method and related equipment
CN113840393A
Vehicle-mounted DVR (Digital Video Recorder) and interaction unit connection method meeting information security
CN116800414A
Vehicle-mounted network access method and device, storage medium and chip
CN117939573A
Wireless connection establishment method and device, and vehicle
CN118741760A