CN114339673A - Control method and device for wireless network hotspot and storage medium - Google Patents

Control method and device for wireless network hotspot and storage medium Download PDF

Info

Publication number
CN114339673A
CN114339673A CN202011052729.5A CN202011052729A CN114339673A CN 114339673 A CN114339673 A CN 114339673A CN 202011052729 A CN202011052729 A CN 202011052729A CN 114339673 A CN114339673 A CN 114339673A
Authority
CN
China
Prior art keywords
vehicle
hotspot
wireless network
terminal device
network hotspot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011052729.5A
Other languages
Chinese (zh)
Inventor
江德祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011052729.5A priority Critical patent/CN114339673A/en
Publication of CN114339673A publication Critical patent/CN114339673A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure relates to a method and a device for controlling a wireless network hotspot and a storage medium, which are used for solving the problem that a user is not convenient and fast when the wireless network hotspot needing to use a terminal device is connected with a vehicle networking system each time the user enters a vehicle. The method comprises the following steps: responding to the successful unlocking of the vehicle by the vehicle key, and starting a wireless network hotspot of the terminal equipment; and under the condition of receiving a hotspot connection request initiated by the vehicle, establishing hotspot connection with the vehicle according to the hotspot connection request. Therefore, convenience is improved when a user needs to establish hot spot connection with the Internet of vehicles by using the terminal equipment when entering the vehicles every time.

Description

Control method and device for wireless network hotspot and storage medium
Technical Field
The present disclosure relates to the field of terminal device control technologies, and in particular, to a method and an apparatus for controlling a wireless network hotspot, and a storage medium.
Background
The car networking system utilizes wireless communication mode to access the internet, and the car networking system can support the WiFi mode to access the internet, for example, the car networking system can access the internet based on the network hotspot connection with the terminal equipment.
The wireless network hotspot on the terminal device is usually closed by default, because the wireless network hotspot for opening the terminal device by default can increase the extra power consumption of the terminal device, and the cruising ability of the terminal device is poor. Therefore, when a user enters a vehicle or the vehicle enters and needs to establish connection with the vehicle networking system by using the wireless network hotspot of the terminal device, the user needs to manually open the wireless network hotspot on the terminal device, search for a related wireless network hotspot on the vehicle networking system, and manually select the wireless network hotspot connected with the terminal device on the vehicle networking system, so that the purpose that the vehicle networking system accesses the internet is achieved.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and an apparatus for controlling a wireless network hotspot, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, a method for controlling a wireless network hotspot is provided, including:
responding to the successful unlocking of the vehicle by the vehicle key, and starting a wireless network hotspot of the terminal equipment;
and under the condition of receiving a hotspot connection request initiated by the vehicle, establishing hotspot connection with the vehicle according to the hotspot connection request.
Optionally, the starting the wireless network hotspot of the terminal device in response to the successful unlocking of the vehicle by the vehicle key includes:
in response to a vehicle key successfully unlocking a vehicle, determining whether an Internet of vehicles system of the vehicle is in a hotspot connection state;
and under the condition that the vehicle networking system is determined not to be in the hotspot connection state, starting a wireless network hotspot of the terminal equipment.
Optionally, the method further comprises:
starting timing in response to the starting of the wireless network hotspot of the terminal equipment;
when the timing reaches the preset time, determining whether the terminal equipment and the vehicle networking system of the vehicle establish hot spot connection;
and under the condition that the terminal equipment is determined not to establish the hotspot connection with the vehicle network system, closing the wireless network hotspot of the terminal equipment.
Optionally, the vehicle key is a wireless vehicle key built in the terminal device.
Optionally, the vehicle key is a vehicle key bound with the terminal device;
the response to the vehicle key successfully unlocking the vehicle, starting the wireless network hotspot of the terminal device, comprising:
and under the condition of receiving an unlocking success instruction sent by the vehicle key, starting a wireless network hotspot of the terminal equipment.
Optionally, the method further comprises:
sending the name information and the password information of the wireless network hotspot of the terminal device to the vehicle networking system of the vehicle;
the hotspot connection request is sent by the vehicle networking system according to the name information and the password information.
Optionally, the vehicle key communicates with the vehicle via short-range communication, wherein the short-range communication includes: a bluetooth communication mode and a near field communication mode.
According to a second aspect of the embodiments of the present disclosure, there is provided a control apparatus for a wireless network hotspot, including:
the starting module is configured to respond to the fact that the vehicle key successfully unlocks the vehicle, and start a wireless network hotspot of the terminal device;
the execution module is configured to establish hotspot connection with the vehicle according to the hotspot connection request under the condition that the hotspot connection request initiated by the vehicle is received.
Optionally, the opening module includes:
a first determination submodule configured to determine whether an internet of vehicles system of a vehicle is in a hotspot connection state in response to a vehicle key successfully unlocking the vehicle;
the starting sub-module is configured to start a wireless network hotspot of the terminal device under the condition that the vehicle networking system is determined not to be in a hotspot connection state.
Optionally, the apparatus further comprises:
the timing module is configured to respond to the starting of a wireless network hotspot of the terminal equipment and start timing;
the determining module is configured to determine whether the terminal device and the vehicle networking system of the vehicle establish hot spot connection or not when the timing reaches a preset time length;
the closing module is configured to close the wireless network hotspot of the terminal device under the condition that the terminal device is determined not to establish hotspot connection with the vehicle network system.
Optionally, the vehicle key is a wireless vehicle key built in the terminal device.
Optionally, the vehicle key is a vehicle key bound with the terminal device;
the starting module is configured to start a wireless network hotspot of the terminal device under the condition of receiving an unlocking success instruction sent by the vehicle key.
Optionally, the apparatus further comprises:
the sending module is configured to send the name information and the password information of the wireless network hotspot of the terminal device to the vehicle networking system of the vehicle;
the hotspot connection request is sent by the vehicle networking system according to the name information and the password information.
Optionally, the short-range communication mode includes: a bluetooth communication mode and a near field communication mode.
According to a third aspect of the embodiments of the present disclosure, there is provided a control apparatus for a wireless network hotspot, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
responding to the successful unlocking of the vehicle by the vehicle key, and starting a wireless network hotspot of the terminal equipment;
and under the condition of receiving a hotspot connection request initiated by the vehicle, establishing hotspot connection with the vehicle according to the hotspot connection request.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, which when executed by a processor, implement the steps of the method for controlling a wireless network hotspot provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps that a wireless network hotspot of the terminal device is started by responding to the successful unlocking of a vehicle by a vehicle key, and then the hotspot connection is established with the vehicle according to a hotspot connection request under the condition of receiving the hotspot connection request initiated by the vehicle. Therefore, when the user unlocks the vehicle by using the vehicle key at every time, the wireless network hotspot of the terminal device can be automatically opened, and then the vehicle networking system of the vehicle can be used based on the wireless network hotspot of the terminal device, so that the situation that the user enters the vehicle at every time and manually opens the wireless network hotspot of the terminal device is avoided, and convenience in establishing hotspot connection between the wireless network hotspot of the terminal device and the vehicle networking system is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram illustrating an implementation environment of a method for controlling a hotspot of a wireless network according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method for controlling a hotspot of a wireless network, according to an example embodiment.
Fig. 3 is a flowchart illustrating one implementation of step S21 in fig. 1, according to an example embodiment.
Fig. 4 is a flowchart illustrating another method for controlling a wireless network hotspot according to an example embodiment.
Fig. 5 is a flowchart illustrating another method for controlling a wireless network hotspot according to an example embodiment.
Fig. 6 is a block diagram illustrating an apparatus for controlling a hotspot of a wireless network, according to an example embodiment.
Fig. 7 is a block diagram illustrating a control apparatus 800 for a wireless network hotspot according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that in the present disclosure, the terms "first", "second", and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Likewise, the terms "S41", "S22", and the like are used to distinguish steps and are not necessarily to be construed as performing method steps in a particular order or sequence.
Before introducing the method, the apparatus, and the storage medium for controlling a wireless network hotspot provided by the present disclosure, an application scenario of the present disclosure is first introduced. Fig. 1 is a schematic diagram illustrating an implementation environment of a method for controlling a hotspot of a wireless network according to an exemplary embodiment. As shown in fig. 1, the system comprises an internet 101, a terminal device 102, a vehicle key 103 and a vehicle 104.
Wherein the terminal device 102 may be connected to the internet through a network, for example, the terminal device 102 may be installed with a SIM card that may provide at least one of a 2G, 3G, 4G or 5G network, so that the terminal device 102 may be connected to the internet through the network. The vehicle 104 includes a vehicle unlocking system, which optionally may include a bluetooth low energy module that is default to an on state (including when the vehicle is turned off) such that the vehicle may broadcast and scan via the bluetooth low energy module to receive an unlocking command or a locking command of the vehicle key, etc. when a bluetooth connection is established with the vehicle key having a bluetooth function. Optionally, the vehicle unlocking system may include a Near Field Communication (NFC) module, which enables the vehicle to receive an unlocking instruction or a locking instruction of the vehicle key when the vehicle key with the NFC function enters a Communication range. Accordingly, the vehicle key 103 is provided with at least one of a bluetooth function and a near field communication function. The vehicle also includes a vehicle networking system that may provide functions such as navigation updates, music downloads, etc., based on a hotspot connection with the terminal device.
In order to solve the above technical problem, the present disclosure provides a method for controlling a wireless network hotspot. Taking the method as an example that the method can be applied to a smart phone, fig. 2 is a flowchart illustrating a method for controlling a wireless network hotspot according to an exemplary embodiment, and as shown in fig. 2, the method includes the following steps.
In step S21, in response to the vehicle key successfully unlocking the vehicle, the wireless network hotspot of the terminal device is turned on.
In step S22, when a hotspot connection request initiated by the vehicle is received, a hotspot connection is established with the vehicle according to the hotspot connection request.
In an implementation, the vehicle key may be an independent wireless vehicle key, for example, a wireless vehicle key with a bluetooth low energy function, or a wireless vehicle key with a near field communication function, for example, a wireless vehicle key with an Embedded secure element (eSE) built therein. The vehicle key may also be a function carried by the terminal device. For example, a vehicle key is arranged in the terminal device, the vehicle key has a Bluetooth function, when a user carries the terminal device to approach a vehicle, the terminal device enters a Bluetooth signal coverage range to detect the internet of vehicles system, a Bluetooth Low Energy (BLE for short) broadcast can be found, and then a Bluetooth connection authentication and unlocking process can be completed according to conditions, and usually, the user does not enter the vehicle or the vehicle is not started. Or the terminal device can send an unlocking instruction or a vehicle locking instruction to the server through the application program and then through the application program, and the server unlocks the vehicle and the like.
Optionally, the vehicle networking system of the vehicle is turned off by default in an unopened state, such as when the vehicle is not started, and when the vehicle is started (ignited), the vehicle networking system is automatically turned on, and then the vehicle networking system can initiate a WLAN (Wireless Local Area Network) connection; or the vehicle networking system is connected with the vehicle and is powered on normally, the default vehicle networking system is always on, and the vehicle networking system always initiates the WLAN attempt connection.
For example, taking the vehicle key in communication connection with the vehicle unlocking system through bluetooth as an example, when a user carries the vehicle key and the terminal device to approach the vehicle, the vehicle key can be within a bluetooth signal coverage range of the vehicle unlocking system (for example, a vehicle body control module) of the vehicle, receive bluetooth low energy broadcast information sent by the vehicle unlocking system, that is, the vehicle key BLE can be within the bluetooth signal coverage range of the vehicle unlocking system, detect the vehicle unlocking system, and complete the unlocking operation of the vehicle according to conditions.
For example, taking the vehicle key in communication connection with the vehicle unlocking system through NFC as an example, when the user carries the vehicle key and the terminal device approaches the vehicle, the user may use the NFC function on the vehicle key to complete NFC information interaction and authentication unlocking processes in a door-swiping manner.
Further, when the user performs an operation of unlocking the vehicle through the vehicle key, the vehicle key sends information of successful unlocking of the vehicle to the terminal device, and the terminal device starts a wireless network hotspot of the terminal device after receiving the information of successful unlocking. And further, under the condition that a hotspot connection request initiated by the vehicle networking system of the vehicle is received, establishing hotspot connection with the vehicle networking system of the vehicle according to the hotspot connection request.
For another example, taking the case that the vehicle key is embedded in the terminal device and the terminal device supports near field communication, when the user carries the terminal device to approach the vehicle, the terminal device can unlock the vehicle under the near field communication function, and when the user performs an operation of unlocking the vehicle through the terminal device, the terminal device can open the wireless network hotspot of the terminal device after the vehicle is successfully unlocked. And further, under the condition that a hotspot connection request initiated by the vehicle networking system of the vehicle is received, establishing hotspot connection with the vehicle networking system of the vehicle according to the hotspot connection request.
In a possible implementation manner, when the vehicle is in a flameout state or in a non-flameout state and the user carries the terminal device away from the vehicle, the wireless network hotspot of the terminal device is closed under the condition that the wireless network hotspot of the terminal device is in a no-connection state within a preset time period. For example, when a user carries a terminal device away from a vehicle, the wireless network hotspot of the terminal device is disconnected from the vehicle networking system hotspot of the vehicle, and the wireless network hotspot of the terminal device is closed under the condition that the wireless network hotspot of the terminal device is in a no-connection state within a preset 2-minute time period. Therefore, the phenomenon that the wireless hotspot is always in a connectionless state to cause extra power consumption of the terminal equipment can be avoided.
In one possible implementation, the internet of vehicle system is in a closed state when the vehicle is not in an open state, for example, when the vehicle is not in an ignition state, but the terminal device has opened the wireless network hotspot in response to the vehicle key successfully unlocking the vehicle. When the vehicle is ignited and started, the Internet of vehicles system is automatically started, the Internet of vehicles system initiates a hotspot connection request, and then the terminal equipment can establish hotspot connection with the Internet of vehicles system of the vehicle according to the hotspot connection request.
In another possible implementation manner, even if the vehicle is in a flameout state, the vehicle networking system is started all the time by default, the vehicle networking system starts a hotspot connection request all the time by default, and when the terminal device successfully unlocks the vehicle in response to the vehicle key and already starts a wireless network hotspot, the terminal device can establish hotspot connection with the vehicle networking system of the vehicle according to the hotspot connection request.
According to the technical scheme, the wireless network hotspot of the terminal device is started by responding to the successful unlocking of the vehicle key, and then the hotspot connection is established with the vehicle according to the hotspot connection request under the condition of receiving the hotspot connection request initiated by the vehicle. Therefore, when the user unlocks the vehicle by using the vehicle key at every time, the wireless network hotspot of the terminal device can be automatically opened, and then the vehicle networking system of the vehicle can be used based on the wireless network hotspot of the terminal device, so that the situation that the user enters the vehicle at every time and manually opens the wireless network hotspot of the terminal device is avoided, and convenience in establishing hotspot connection between the wireless network hotspot of the terminal device and the vehicle networking system is improved.
Optionally, refer to the flowchart shown in fig. 3 for implementing step S21 in fig. 1. In step S21, the turning on the wireless network hotspot of the terminal device in response to the successful unlocking of the vehicle by the vehicle key includes the following steps:
in step S211, in response to a successful unlocking of a vehicle by a vehicle key, determining whether an internet of vehicles system of the vehicle is in a hotspot connection state;
in step S212, if it is determined that the vehicle networking system is not in the hotspot connection state, the wireless network hotspot of the terminal device is turned on.
It can be stated that, in the case that the vehicle networking system of the vehicle establishes a hotspot connection with the device, the vehicle networking system will not initiate the WLAN scan, and thus, it may be determined whether the WLAN scan initiated by the vehicle networking system is received in response to the vehicle key successfully unlocking the vehicle, and if the scan is not received, it is determined that the vehicle networking system has established a hotspot connection with another device. And if the scanning is received, determining that the hot spot connection is established between the Internet of vehicles and other equipment.
In a possible implementation manner, in response to that the vehicle key successfully unlocks the vehicle, whether a wireless network hotspot of other equipment exists around the vehicle can be scanned, and if the wireless network hotspot of other equipment is not scanned, it can be determined that the vehicle networking system of the vehicle is not in a hotspot connection state.
Optionally, the wireless network hotspot of the terminal device is not started in a case that it is determined that the vehicle networking system of the vehicle has established a network hotspot with other devices.
By adopting the technical scheme, the wireless network hotspot of the terminal equipment is not started under the condition that the network hotspot is established between the vehicle networking system of the vehicle and other equipment, because the hotspot connection cannot be successfully established between the terminal equipment and the vehicle even if the wireless network hotspot of the terminal equipment is started, the extra power consumption of the terminal equipment is increased, and the cruising ability of the terminal equipment is poor. The method and the device have the advantages that the wireless network hotspot of the terminal device is started under the condition that the network hotspot is not established between the vehicle networking system of the vehicle and other devices, and convenience in establishing hotspot connection between the terminal device and the vehicle by a user can be improved.
Optionally, fig. 4 is a flowchart illustrating another method for controlling a wireless network hotspot according to an exemplary embodiment, where as shown in fig. 4, the method further includes the following steps:
in step S41, in response to the wireless network hotspot of the terminal device being started, a timer is started.
In step S42, when the time count reaches a preset time, it is determined whether the terminal device and the vehicle networking system of the vehicle have established a hotspot connection.
In step S43, in a case where it is determined that the terminal device does not establish a hotspot connection with the vehicle network system, the wireless network hotspot of the terminal device is closed.
Illustratively, when a wireless network hotspot of the terminal device is started, timing is started, whether name information of the vehicle networking system of the vehicle exists in a wireless network hotspot connection list of the terminal device is checked under the condition that the timing reaches a preset time duration of 1 minute, if the name information of the vehicle networking system of the vehicle does not exist in the wireless network hotspot connection list of the terminal device, it is determined that no hotspot connection is established between the terminal device and the vehicle networking system, and then the wireless network hotspot of the terminal device is closed; if the name information of the vehicle networking system of the vehicle exists in the wireless network hotspot connection list of the terminal device, determining that the hotspot connection between the terminal device and the vehicle networking system is established, and further keeping the opening state of the wireless network hotspot of the terminal device.
In a possible implementation manner, a wireless network hotspot connection address of the vehicle may be set on the terminal device, and when the terminal device has established hotspot connection, a connection address of the device having established hotspot connection is obtained, and then the connection address of the device is compared with the wireless network hotspot connection address of the vehicle, and if the connection address of the device is not consistent with the wireless network hotspot connection address of the vehicle, it is determined that the terminal device has established hotspot connection with other devices, and does not establish hotspot connection with the vehicle networking system of the vehicle. And further closing the wireless network hotspot of the terminal equipment. Therefore, the phenomenon that the extra power consumption of the terminal equipment is increased by a wireless network hotspot of illegal equipment connected with the terminal equipment, and the endurance of the terminal equipment is poor can be prevented. And, prevent that illegal equipment from stealing the information of terminal equipment through the wireless network hotspot. The safety of the terminal equipment information is improved.
By adopting the technical scheme, after the wireless network hotspot of the terminal equipment is started, if the hotspot connection between the terminal equipment and the vehicle network system is not established within the preset time, the wireless network hotspot of the terminal equipment is closed, so that the phenomenon that the extra power consumption of the terminal equipment is increased due to the fact that the wireless network hotspot is not used can be avoided, and the cruising ability of the terminal equipment is poor.
Optionally, the vehicle key is a wireless vehicle key built in the terminal device.
Optionally, the vehicle key is a vehicle key bound with the terminal device;
in step S21, the unlocking the wireless network hotspot of the terminal device in response to the successful unlocking of the vehicle by the vehicle key includes:
and under the condition of receiving an unlocking success instruction sent by the vehicle key, starting a wireless network hotspot of the terminal equipment.
Specifically, the terminal device may be a smart device provided in a vehicle, for example, the smart device may provide in-vehicle WIFI. The vehicle key is a vehicle key bound with the intelligent device.
The terminal device is in communication connection with a vehicle unlocking system of a vehicle, and when a user successfully unlocks the vehicle by using a vehicle key, the terminal device starts a wireless network hotspot of the terminal device when receiving an unlocking success instruction sent by the vehicle unlocking system.
By adopting the technical scheme, when the user unlocks the vehicle by using the vehicle key, the wireless network hotspot of the terminal device is started, and the user does not need to enter the vehicle and then manually starts the wireless network hotspot of the intelligent device, so that the convenience of establishing hotspot connection between the terminal device and a vehicle network system by using the user is improved.
Optionally, the method further comprises:
sending the name information and the password information of the wireless network hotspot of the terminal device to the vehicle networking system of the vehicle;
the hotspot connection request is sent by the vehicle networking system according to the name information and the password information.
In specific implementation, in response to the successful unlocking of the vehicle by the vehicle key, the name information and the password information of the wireless network hotspot of the terminal device are sent to the vehicle through the vehicle key, and the vehicle networking system of the vehicle can acquire the name information and the password information of the wireless network hotspot, and further can scan the terminal device based on the name information of the wireless network hotspot and send a hotspot connection request after scanning the terminal device, wherein the hotspot connection request comprises the password information of the wireless network hotspot. The terminal equipment verifies the password information carried in the hotspot connection request under the condition of receiving the hotspot connection request, and if the password information is successfully verified, the wireless network hotspot of the terminal equipment is opened. And if the password information is not successfully verified, not opening the wireless network hotspot of the terminal equipment.
By adopting the technical scheme, the wireless network hotspot of the terminal equipment can be started under the condition that the password information is successfully verified, and the convenience of establishing hotspot connection between the terminal equipment and a vehicle network system by a user is improved. Under the condition that the password information is not successfully verified, the wireless network hotspot of the terminal device is not started, and even if the wireless network hotspot of the terminal device is started, the vehicle network system cannot establish hotspot connection with the terminal device, so that the extra power consumption of the terminal device is increased, and the cruising ability of the terminal device is poor.
Optionally, the vehicle key communicates with the vehicle via short-range communication, wherein the short-range communication includes: a bluetooth communication mode and a near field communication mode.
The method for controlling a wireless network hotspot provided by the present disclosure is specifically described in the following with specific embodiments, as shown in fig. 5, the method includes:
in step S501, the mobile terminal approaches the vehicle. For example, a user carries a mobile terminal with a vehicle key built in.
In a possible implementation manner, if the vehicle key is a wireless vehicle key with a bluetooth low energy function, in case that the terminal device enters a vehicle bluetooth signal coverage range, step S502 is executed, and the bluetooth vehicle key establishes a bluetooth connection with the vehicle. In case the bluetooth connection is successful, step S503 is executed, and the bluetooth vehicle key successfully unlocks the vehicle. For example, a vehicle unlock button in response to a user pressing a vehicle key.
In another possible implementation manner, if the vehicle key is a wireless vehicle key with an NFC function, when the user brings the terminal device close to the vehicle NFC receiver, step S504 is executed to determine whether the NFC receiver of the vehicle receives an NFC vehicle key signal. In the case where it is determined that the NFC receiver of the vehicle receives the NFC vehicle key signal, step S505 is performed, and the NFC vehicle key successfully unlocks the vehicle. For example, a door swipe action is performed in response to a user bringing a terminal device close to an NFC receiver of a vehicle.
Further, in response to the success of unlocking the vehicle by the vehicle key, executing step S506, and opening the wireless network hotspot of the terminal device. And executing step S507 under the condition that the wireless network hotspot of the terminal equipment is started, and determining whether the vehicle networking system of the vehicle is in a hotspot connection state. And executing step S508 when it is determined that the vehicle networking system of the vehicle is not in the hotspot connection state, receiving a hotspot connection request sent by the vehicle, and establishing hotspot connection with the vehicle.
Based on the same inventive concept, the present disclosure further provides a control apparatus 500 for a wireless network hotspot, configured to execute the steps of the control method for a wireless network hotspot provided in the foregoing method embodiment, where the apparatus 500 may implement the control method for a wireless network hotspot in a software, hardware, or a combination of the two. Fig. 6 is a block diagram illustrating an apparatus for controlling a hotspot of a wireless network according to an exemplary embodiment, where the apparatus 500, as shown in fig. 6, includes: an opening module 510 and an execution module 520.
Wherein the enabling module 510 is configured to enable the wireless network hotspot of the terminal device in response to the vehicle key successfully unlocking the vehicle;
the execution module 520 is configured to, in a case where a hotspot connection request initiated by the vehicle is received, establish a hotspot connection with the vehicle according to the hotspot connection request.
Optionally, the opening module 510 includes:
a first determination submodule configured to determine whether an internet of vehicles system of a vehicle is in a hotspot connection state in response to a vehicle key successfully unlocking the vehicle;
the starting sub-module is configured to start a wireless network hotspot of the terminal device under the condition that the vehicle networking system is determined not to be in a hotspot connection state.
Optionally, the apparatus 500 further comprises:
the timing module is configured to respond to the starting of a wireless network hotspot of the terminal equipment and start timing;
the determining module is configured to determine whether the terminal device and the vehicle networking system of the vehicle establish hot spot connection or not when the timing reaches a preset time length;
the closing module is configured to close the wireless network hotspot of the terminal device under the condition that the terminal device is determined not to establish hotspot connection with the vehicle network system.
Optionally, the vehicle key is a wireless vehicle key built in the terminal device.
Optionally, the vehicle key is a vehicle key bound with the terminal device;
the starting module is configured to start a wireless network hotspot of the terminal device under the condition of receiving an unlocking success instruction sent by the vehicle key.
Optionally, the apparatus further comprises:
the sending module is configured to send the name information and the password information of the wireless network hotspot of the terminal device to the vehicle networking system of the vehicle;
the hotspot connection request is sent by the vehicle networking system according to the name information and the password information.
Optionally, the vehicle key communicates with the vehicle via short-range communication, wherein the short-range communication includes: a bluetooth communication mode and a near field communication mode.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that, for convenience and brevity of description, the embodiments described in the specification all belong to the preferred embodiments, and the related parts are not necessarily essential to the present invention, for example, the first determining submodule and the opening submodule may be independent devices or may be the same device when being implemented specifically, and the disclosure is not limited thereto.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of controlling a wireless network hotspot provided by the present disclosure.
Fig. 7 is a block diagram illustrating a control apparatus 800 for a wireless network hotspot according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a smart band, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the method for controlling a wireless network hotspot described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described control method of the wireless network hotspot.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 800, to perform the above-described method of controlling a wireless network hotspot is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned method of controlling a wireless network hotspot when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for controlling a wireless network hotspot is characterized by comprising the following steps:
responding to the successful unlocking of the vehicle by the vehicle key, and starting a wireless network hotspot of the terminal equipment;
and under the condition of receiving a hotspot connection request initiated by the vehicle, establishing hotspot connection with the vehicle according to the hotspot connection request.
2. The method of claim 1, wherein the opening of the wireless network hotspot of the terminal device in response to successful vehicle key-to-vehicle unlocking comprises:
in response to a vehicle key successfully unlocking a vehicle, determining whether an Internet of vehicles system of the vehicle is in a hotspot connection state;
and under the condition that the vehicle networking system is determined not to be in the hotspot connection state, starting a wireless network hotspot of the terminal equipment.
3. The method of claim 1, further comprising:
starting timing in response to the starting of the wireless network hotspot of the terminal equipment;
when the timing reaches the preset time, determining whether the terminal equipment and the vehicle networking system of the vehicle establish hot spot connection;
and under the condition that the terminal equipment is determined not to establish the hotspot connection with the vehicle network system, closing the wireless network hotspot of the terminal equipment.
4. The method according to any one of claims 1 to 3, wherein the vehicle key is a wireless vehicle key built in the terminal device.
5. The method according to any one of claims 1-3, wherein the vehicle key is a vehicle key bound to the terminal device;
the response to the vehicle key successfully unlocking the vehicle, starting the wireless network hotspot of the terminal device, comprising:
and under the condition of receiving an unlocking success instruction sent by the vehicle key, starting a wireless network hotspot of the terminal equipment.
6. The method according to any one of claims 1-3, further comprising:
sending the name information and the password information of the wireless network hotspot of the terminal device to the vehicle networking system of the vehicle;
the hotspot connection request is sent by the vehicle networking system according to the name information and the password information.
7. The method of any one of claims 1-3, wherein the vehicle key communicates with the vehicle over a short range, wherein the short range communication comprises: a bluetooth communication mode and a near field communication mode.
8. An apparatus for controlling a hotspot in a wireless network, comprising:
the starting module is configured to respond to the fact that the vehicle key successfully unlocks the vehicle, and start a wireless network hotspot of the terminal device;
the execution module is configured to establish hotspot connection with the vehicle according to the hotspot connection request under the condition that the hotspot connection request initiated by the vehicle is received.
9. An apparatus for controlling a hotspot in a wireless network, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
responding to the successful unlocking of the vehicle by the vehicle key, and starting a wireless network hotspot of the terminal equipment;
and under the condition of receiving a hotspot connection request initiated by the vehicle, establishing hotspot connection with the vehicle according to the hotspot connection request.
10. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 7.
CN202011052729.5A 2020-09-29 2020-09-29 Control method and device for wireless network hotspot and storage medium Pending CN114339673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011052729.5A CN114339673A (en) 2020-09-29 2020-09-29 Control method and device for wireless network hotspot and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011052729.5A CN114339673A (en) 2020-09-29 2020-09-29 Control method and device for wireless network hotspot and storage medium

Publications (1)

Publication Number Publication Date
CN114339673A true CN114339673A (en) 2022-04-12

Family

ID=81011867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011052729.5A Pending CN114339673A (en) 2020-09-29 2020-09-29 Control method and device for wireless network hotspot and storage medium

Country Status (1)

Country Link
CN (1) CN114339673A (en)

Similar Documents

Publication Publication Date Title
US11485320B2 (en) Method and apparatus for vehicle function control, and storage medium
CN107393079B (en) Virtual vehicle key management method and device and storage medium
US10064000B2 (en) Method, apparatus, and storage medium for acquiring terminal information
CN106156561B (en) Application locking method, application unlocking method and device
CN108811179B (en) Wireless network connection method, device and storage medium
CN109039860B (en) Method and device for sending and displaying message and method and device for identity authentication
CN110400405B (en) Method, device and medium for controlling access control
CN108712736B (en) Method, device and system for searching equipment
CN110049062B (en) Verification code verification method, device, system, server, electronic equipment and storage medium
CN107733872B (en) Information printing method and device
CN109204231B (en) Vehicle unlocking method and device
CN108319419B (en) Method and device for starting application
US20220408238A1 (en) Verification information processing method and apparatus, terminal device and storage medium
CN111277984A (en) Wireless local area network access method and device
EP3190561A1 (en) Method and device for sending information
CN112163192A (en) root authority acquisition method, root authority acquisition device, root authority acquisition medium and electronic equipment
CN108470120B (en) Screen locking control method and device and readable storage medium
CN106980454B (en) Unlocking method and device
CN112636402A (en) Charging method and device and electronic equipment
CN106922005B (en) Method and device for accessing wireless access point and computer readable storage medium
CN114339673A (en) Control method and device for wireless network hotspot and storage medium
CN111079112B (en) Application control method, application control device and storage medium
CN108011882B (en) Method, device and system for data synchronization
CN113032849A (en) Data protection method, device, terminal and storage medium
CN109255601B (en) Terminal bus card processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination