CN111050380A - Hotspot opening method and device, terminal equipment and storage medium - Google Patents

Hotspot opening method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN111050380A
CN111050380A CN201911148375.1A CN201911148375A CN111050380A CN 111050380 A CN111050380 A CN 111050380A CN 201911148375 A CN201911148375 A CN 201911148375A CN 111050380 A CN111050380 A CN 111050380A
Authority
CN
China
Prior art keywords
hotspot
opening
target
identification
acquiring
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
CN201911148375.1A
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.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN201911148375.1A priority Critical patent/CN111050380A/en
Publication of CN111050380A publication Critical patent/CN111050380A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Abstract

The invention provides a hotspot opening method, a hotspot opening device, terminal equipment and a storage medium, wherein the method is applied to the terminal equipment and comprises the following steps: receiving a hotspot opening instruction input by a user; the hotspot opening instruction comprises the following steps: a hotspot opening type; acquiring a corresponding target hotspot identification according to the hotspot opening type; acquiring target hotspot information corresponding to the target hotspot identification; and opening the target hotspot according to the target hotspot information. The method comprises the steps of receiving a hotspot opening instruction which comprises a hotspot opening type and is input by a user, obtaining a target hotspot identification, obtaining target hotspot information according to the target hotspot identification, and opening a corresponding target hotspot according to the target hotspot information, thereby realizing access control and management of the hotspot and improving the security and data transmission efficiency of the hotspot.

Description

Hotspot opening method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for opening a hotspot, a terminal device, and a storage medium.
Background
The hot spot technology is used for transmitting and sharing network signals in a wifi mode, a bluetooth mode and the like, so that other electronic equipment can access data and a network through the hot spot, for example, the hot spot is opened through a smart phone, and 4G signals received by the phone are converted into wifi signals to be used by other terminal equipment for surfing the internet.
At present, a user often starts a hotspot through a mobile phone, a notebook computer and other terminal devices, a wired network, a GPRS (general packet radio service), a 3G, a 4G or a 5G signal is converted into a wifi or bluetooth hotspot, and other terminal devices achieve the purpose of connecting the network or transmitting data by connecting the hotspot.
In the prior art, because a terminal device for opening hotspots can only open one same hotspot every time, and cannot distinguish and open the hotspots, access control and management of hotspots cannot be realized, and the security and data transmission efficiency of hotspots are affected.
Disclosure of Invention
The invention provides a hotspot opening method and device, terminal equipment and a storage medium, which are used for solving the problems that access control and management of hotspots cannot be realized and the security and the data transmission efficiency of hotspots are influenced.
According to a first aspect of the embodiments of the present disclosure, the present disclosure provides a hotspot opening method, which is applied to a terminal device, and the method includes:
receiving a hotspot opening instruction input by a user; the hotspot opening instruction comprises the following steps: a hotspot opening type;
acquiring a corresponding target hotspot identification according to the hotspot opening type;
acquiring target hotspot information corresponding to the target hotspot identification;
and opening the target hotspot according to the target hotspot information.
Optionally, the obtaining a corresponding target hotspot identifier according to the hotspot opening type includes:
if the hotspot opening type is a one-key opening type, acquiring application scene characteristics corresponding to the hotspot opening instruction;
and acquiring a target hotspot identification matched with the application scene characteristics.
Optionally, the obtaining of the application scene feature corresponding to the hotspot opening instruction includes:
acquiring the time information when the hotspot opening instruction is received and/or,
and acquiring the position information of the terminal equipment determined by the positioning device.
Optionally, the obtaining of the target hotspot identification matched with the application scene feature includes:
acquiring a mapping relation between each preset application scene characteristic and a hotspot identification;
and determining the target hotspot identification according to the mapping relation and the application scene characteristics.
Optionally, the obtaining a corresponding target hotspot identifier according to the hotspot opening type includes:
if the hotspot opening type is a user-defined opening type, acquiring a hotspot identification carried in the hotspot opening instruction;
and taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type.
Optionally, after the target hotspot is opened according to the target hotspot information, the method further includes:
acquiring application scene characteristics corresponding to the target hotspot identification;
and establishing a mapping relation between the target hotspot identification and the corresponding application scene characteristics.
Optionally, before receiving the hotspot opening instruction input by the user, the method further includes:
displaying a hotspot starting operation item corresponding to at least one hotspot on an operation interface;
the receiving of the hotspot opening instruction input by the user includes:
and receiving a hotspot opening instruction sent by the user through the hotspot opening operation item.
According to a second aspect of the embodiments of the present disclosure, the present disclosure provides a hotspot opening device, which is applied to a terminal device, where the method includes:
the receiving module is used for receiving a hotspot opening instruction input by a user; the hotspot opening instruction comprises the following steps: a hotspot opening type;
the first acquisition module is used for acquiring a corresponding target hotspot identification by a user according to the hotspot opening type;
the second acquisition module is used for acquiring target hotspot information corresponding to the target hotspot identification;
and the starting module is used for starting the target hotspot according to the target hotspot information.
Optionally, the first obtaining module is specifically configured to:
if the hotspot opening type is a one-key opening type, acquiring application scene characteristics corresponding to the hotspot opening instruction;
and acquiring a target hotspot identification matched with the application scene characteristics.
Further optionally, when acquiring the application scene feature corresponding to the hotspot opening instruction, the first acquiring module is specifically configured to:
acquiring the time information when the hotspot opening instruction is received and/or,
and acquiring the position information of the terminal equipment determined by the positioning device.
Further optionally, when the first obtaining module obtains the target hotspot identification matched with the application scene feature, the first obtaining module is specifically configured to:
acquiring a mapping relation between each preset application scene characteristic and a hotspot identification;
and determining the target hotspot identification according to the mapping relation and the application scene characteristics.
Optionally, the first obtaining module is specifically configured to:
if the hotspot opening type is a user-defined opening type, acquiring a hotspot identification carried in the hotspot opening instruction;
and taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type.
Optionally, the hot spot opening apparatus further includes:
an application scene obtaining module, configured to obtain an application scene feature corresponding to the target hotspot identifier;
and the mapping establishing module is used for establishing the mapping relation between the target hotspot identification and the corresponding application scene characteristics.
Optionally, the hot spot opening apparatus further includes:
the display module is used for displaying a hotspot starting operation item corresponding to at least one hotspot on the operation interface;
correspondingly, the receiving module is specifically configured to:
and receiving a hotspot opening instruction sent by the user through the hotspot opening operation item.
According to a third aspect of the embodiments of the present disclosure, the present invention provides a terminal device, including: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the hotspot opening method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of the embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is configured to implement the hotspot opening method according to any one of the first aspect of the embodiments of the present disclosure.
According to the hotspot opening method, the hotspot opening device, the terminal device and the storage medium, the target hotspot identification is obtained by receiving the hotspot opening instruction which is input by the user and comprises the hotspot opening type, the target hotspot information is obtained according to the target hotspot identification, and the corresponding target hotspot is opened according to the target hotspot information.
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 an application scenario diagram of a hotspot opening method provided in the embodiment of the present invention;
fig. 2 is a flowchart of a hot spot opening method according to an embodiment of the present invention;
fig. 3 is a flowchart of a hot spot opening method according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of an operation interface provided in one embodiment of the present invention;
FIG. 5 is a flowchart of step S304 in the embodiment shown in FIG. 3;
fig. 6 is a flowchart of a hot spot opening method according to still another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a hot spot opening device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another hot spot opening device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another hot spot opening device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
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.
The terms to which the present invention relates will be explained first:
hot spot: also called as wireless Access Point (AP), a wireless AP is a bridge for communication between a wireless network and a wired network, and is a core device for establishing a Wireless Local Area Network (WLAN). It mainly provides mutual access between wireless terminals so that wireless terminals within the signal coverage of the AP can communicate with each other through it. The AP in the WLAN corresponds to the role of the transmitting base station in the mobile communication network. Generally, a terminal device hotspot refers to a mobile communication device, such as a mobile phone and a tablet computer, which can receive mobile communication network signals, such as GPRS, 3G, 4G, or 5G, and converts the mobile communication network signals into Wireless Fidelity (Wi-Fi) signals by using its own Wireless AP function, so that other terminal devices, such as a tablet or a notebook, are connected to the Wi-Fi signals through a Wireless network card or a Wireless network module, thereby accessing the internet in places without networks, such as outdoors, and realizing sharing of network resources.
The following explains an application scenario of the embodiment of the present invention:
fig. 1 is an application scenario diagram of a hotspot opening method provided in an embodiment of the present invention, and as shown in fig. 1, a terminal device provided in an embodiment of the present invention is a smart phone having an AP function. In a specific application scenario provided by the embodiment of the invention, a user starts a first hotspot of the smart phone, the first hotspot is preset by the user, and only a target hotspot for providing Wi-Fi service is provided for the device a and the device b. After the first hotspot is opened, the smart phone sends hotspot broadcast information to the outside, wherein the hotspot broadcast information contains an identification code (ID for short) of the hotspot. The device a, the device b and the device c in the hotspot searching mode receive first hotspot broadcast information, a connection password corresponding to a first hotspot ID is stored in the device a and the device b in advance, the device a and the device b send a connection request containing the connection password to the first hotspot, and then the first hotspot is connected, so that the purpose of surfing the internet through the first hotspot is achieved. And the device c does not store the connection password corresponding to the first hotspot ID, so that the device c cannot be connected with the first hotspot and cannot surf the internet through the first hotspot.
And then, the user closes the first hotspot and opens the second hotspot, wherein the second hotspot is a target hotspot which is preset by the user and only provides Wi-Fi service for the c device. With the first hotspot closed, the a device and the b device are disconnected from the first hotspot. Similar to the above process, the device c is connected with the second hotspot, so that the purpose of surfing the internet by the device c through the second hotspot is achieved.
In an application scenario of the hotspot opening method provided by the embodiment of the invention, a target hotspot identification is obtained by receiving different hotspot opening instructions input by a user, target hotspot information is obtained according to the target hotspot identification, and a corresponding target hotspot is opened according to the target hotspot information.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a hotspot opening method provided in an embodiment of the present invention, which is applied to a terminal device, and as shown in fig. 2, the hotspot opening method provided in this embodiment includes the following steps:
step S201, receiving a hotspot opening instruction input by a user; the hot spot opening instruction comprises the following steps: a hotspot opening type;
specifically, receiving a hotspot opening instruction input by a user includes receiving a specific instruction or operation step input by the user through the terminal device, for example, in an operating system of the terminal device, the user performs N necessary steps in total in order to implement hotspot function opening, and then the N steps are all regarded as the hotspot opening instruction input by the user. Optionally, the hot spot opening instruction includes a step of operating the hot spot function operation interface and the sub-interface thereof. It can be understood that there are various ways for the user to input the hot spot opening instruction, for example, by sliding or clicking with a finger, a virtual switch corresponding to the hot spot function in the operating system of the terminal device is opened; or, the hot spot function is turned on by means of a voice command, and here, the specific manner of receiving the hot spot turning-on command input by the user is not limited.
When a hotspot is started, hotspot broadcast information including a hotspot ID needs to be broadcast, and therefore, hotspot starting parameters such as a hotspot ID need to be set in advance in a hotspot, in order to solve the problem of setting the hotspot starting parameters, a starting instruction includes a hotspot starting type, optionally, the starting type includes a manual selection mode and an automatic selection mode, where the manual selection mode is that a user determines the hotspot starting parameters through a specific instruction, and the automatic selection mode is that a terminal device automatically determines the hotspot starting parameters.
Step S202, acquiring a corresponding target hotspot identification according to the hotspot opening type.
Specifically, a mapping relation or a mapping method of a hotspot opening type and a corresponding target hotspot identification is preset in the terminal device or a cloud device communicating with the terminal device, the target hotspot identification can be obtained according to the hotspot opening type and the mapping relation or the derivation logic, and optionally, the target hotspot identification can be uniquely determined according to the hotspot opening type and the mapping relation or the derivation logic and a hotspot opening instruction corresponding to the hotspot opening type and the hotspot opening type.
Step S203, obtaining target hotspot information corresponding to the target hotspot identification.
Specifically, after the target hotspot identification is determined, the target hotspot is also uniquely determined, optionally, hotspot information of a plurality of hotspots is preset in the terminal device or the cloud device communicating with the terminal device, and the target hotspot information of the target hotspot can be obtained according to the identification of the target hotspot. Optionally, the target hotspot information includes an ID of the target hotspot and a connection password corresponding to the ID of the target hotspot. Optionally, the target hotspot information further includes a hotspot transmission type, where the hotspot transmission type includes bluetooth transmission and WiFi transmission.
And step S204, starting the target hotspot according to the target hotspot information.
After the target hotspot information is acquired, the responding target hotspot can be started according to the target hotspot information, and the purpose of starting a hotspot through the terminal equipment is achieved. For example, the target hotspot information includes a target hotspot ID, a connection password, and a hotspot transmission type, where the target hotspot ID is: android _ CY _ ap _32889, the corresponding connection password is 123456, and the hotspot transmission type is WiFi. According to the target hotspot information, the terminal device opens a WiFi hotspot with a hotspot ID of Android _ CY _ ap _32889 and a connection password of 123456, broadcasts the WiFi hotspot to the outside, and other terminal devices with WiFi connection functions in the hotspot coverage range can find the hotspot with the ID of Android _ CY _ ap _32889, wherein the terminal device stored with the ID and the connection password can establish connection with the hotspot to realize data transmission.
In the embodiment, the target hotspot identification is obtained by receiving the hotspot opening instruction including the hotspot opening type input by the user, the target hotspot information is obtained according to the target hotspot identification, and the corresponding target hotspot is opened according to the target hotspot information.
Fig. 3 is a flowchart of a hot spot opening method according to another embodiment of the present invention, as shown in fig. 3, the hot spot opening method according to this embodiment further details step S202 based on the hot spot opening method according to the embodiment shown in fig. 2, and further includes a step of displaying a hot spot opening operation item before step S201, and correspondingly further details a hot spot opening instruction input by a user, so that the hot spot opening method according to this embodiment includes the following steps:
step S301, displaying a hotspot opening operation item corresponding to at least one hotspot on an operation interface.
Fig. 4 is a schematic view of an operation interface according to another embodiment of the present invention, and as shown in fig. 4, the operation interface is an interactive interface set on an operation system of a terminal device to implement a hot spot starting function. Optionally, the operation interface may be a human-computer interaction interface provided by the operating system and used for starting the hotspot function, or may be a human-computer interaction interface of software capable of starting the hotspot function of the terminal device.
The hot spot opening operation item may be an operation object arranged in the operation interface and used for opening the hot spot, optionally, the operation object includes interactive controls such as a virtual button and a slider in the operation interface, or an interactive control for inputting an input control in a manner of numbers, letters, symbols, and the like to implement the hot spot opening function, where a specific execution manner for opening the hot spot by the operation item is not specifically limited as long as the hot spot opening function can be implemented.
The method includes the steps that a hotspot opening operation item corresponding to at least one hotspot is displayed on an operation interface, specifically, at least one hotspot opening item is displayed on the operation interface, and opening operation can be performed on at least one hotspot through the operation interface. In a specific embodiment, hotspot opening items named 'company', 'family' and 'outdoor' are displayed on the operation interface and respectively correspond to a first hotspot, a second hotspot and a third hotspot. A user can manually and selectively open a first hot spot, a second hot spot and a third hot spot corresponding to 'company', 'family' and 'outdoor' through an operation interface so as to realize the different management of the hot spots, and the operation is flexible and convenient. In another specific embodiment, a hotspot opening item named 'one-key opening' is displayed on the operation interface, and a user can open the hotspot opening item through 'one-key opening' without selecting a specific identifier of the hotspot, and the hotspot opening item is opened by the terminal device according to a preset hotspot opening rule, so that the method is simple and rapid, and the use efficiency of the user is improved.
Step S302, receiving a hotspot opening instruction sent by a user through a hotspot opening operation item; the hot spot opening instruction comprises the following steps: a hotspot open type.
Specifically, when the user operates the opening operation item, the opening operation item changes the state in response to the instruction of the user, for example, the opening operation item changes from the "off" state to the "on" state, and the process of changing the state of the opening operation item is equivalent to the expression of the user instruction, so that the terminal device can receive the hotspot opening instruction of the user through the change of the state of the hotspot opening operation item.
Optionally, the hotspot opening operation items correspond to hotspot opening types, and each hotspot opening operation item uniquely corresponds to one hotspot opening type. For example, a hotspot opening operation item of "first hotspot" has a corresponding hotspot opening type of a first type; a hotspot opening operation item of the second hotspot, wherein the corresponding hotspot opening type is the first type; and the hotspot opening type corresponding to the hotspot opening operation item is a second type.
Optionally, the first type is a custom opening type, that is, opening of the hotspot is realized according to a custom setting of a user. For example, the user specifies to open a "first hotspot," i.e., a custom open type.
The second type is a one-key starting type, that is, the user does not designate hot spot starting of a specific identifier, and the terminal device starts the hot spot of the corresponding identifier according to a preset hot spot starting rule.
Step S303, if the hotspot opening type is a one-key opening type, acquiring an application scene characteristic corresponding to the hotspot opening instruction.
And acquiring time information when the hotspot opening instruction is received and/or acquiring the position information of the terminal equipment determined by the positioning device.
Specifically, the application scene characteristics corresponding to the hotspot opening instruction refer to some characteristic parameters of the terminal device in the application scene when the terminal device receives the user opening instruction, and optionally, the characteristic parameters may be position information of the terminal device, for example: and optionally, a positioning device is arranged in the terminal equipment, and the position information of the terminal equipment is determined according to the positioning device. The characteristic parameter may be time information related to the terminal device, such as: the current time in the operating system of the terminal device and the current time provided by the application software are not specifically limited herein.
When the hotspot opening type is a one-key opening type, the user does not designate to open a certain specific identified hotspot, but opens the corresponding hotspot according to a preset hotspot opening rule. The hotspot opening rule is related to the application scene characteristics, and the specific target hotspot identification can be determined by using the application scene characteristics corresponding to the hotspot opening instruction, so that the purposes of automatically determining the target hotspot and opening the target hotspot by the terminal device are achieved.
And step S304, acquiring a target hotspot identification matched with the application scene characteristics.
Specifically, the application scene features and the target hotspot identification have a determined mapping relationship, and after the application scene features are obtained, the target hotspot identification matched with the application scene features can be obtained according to the mapping relationship.
Optionally, as shown in fig. 5, step S304 includes two specific implementation steps, that is, step S3041 and step S3042:
step S3041, obtaining a mapping relationship between each preset application scene feature and the hotspot identifier.
The terminal device or the cloud device communicating with the terminal device stores a mapping relation table of the application scene characteristics and the target hotspot identification, obtains the mapping relation table, and can determine the mapping relation between the application scene characteristics and the target hotspot identification according to the mapping relation table.
Specifically, for example, in the mapping relationship table, the first application scene feature corresponds to the first target hotspot identification; more specifically, the first application scenario feature is time information when a hotspot opening instruction is acquired, the time information and the first target hotspot identification have a mapping relationship, and when the time information is acquired, the corresponding first target hotspot identification can be uniquely determined.
Optionally, when the application scene feature includes a plurality of sub-features, a set formed by the plurality of sub-features is used as one application scene feature to form a mapping relationship with the target hotspot identification.
Specifically, for example, the first application scene feature includes time information when the hotspot opening instruction is acquired and location information of the terminal device, a set formed by the time information and the location information has a mapping relationship with the first target hotspot identifier, and the acquired time information and location information may uniquely determine the corresponding first target hotspot identifier.
Step S3042, determining a target hotspot identification according to the mapping relationship and the application scene characteristics.
Optionally, when the obtained application scene feature is a first application scene feature, the terminal device starts a first target hotspot according to the mapping relation; and when the acquired application scene characteristics are second application scene characteristics, the terminal equipment starts a second target hotspot according to the mapping relation, so that the aim of automatically starting the corresponding target hotspot according to the application scene characteristics is fulfilled.
In a specific embodiment, the application scenario feature is time information when the terminal device receives a user start instruction, and more specifically, when the terminal device receives the user start instruction, a current time in an operating system of the terminal device is given a value of "0410", and according to the mapping relationship, when the current time in the operating system of the terminal device is given the value of "0410", a corresponding target hotspot identifier is given a value of "01", so that the purpose of determining the target hotspot identifier according to the mapping relationship and the application scenario feature is achieved.
In another specific embodiment, the application scenario feature is time information and location information when the terminal device receives a user start instruction, and more specifically, the time information is current time in an operating system of the terminal device when the terminal device receives the user start instruction, and the value is "1820", and the location information is location information of the terminal device when the terminal device receives the user start instruction, and the value is "[ 2134.2,2214.1 ]", according to the mapping relationship, when the current time in the operating system of the terminal device is "1820", and the location information of the terminal device is "[ 2134.2,2214.1 ]", a corresponding target hotspot identifier is "02", thereby achieving the purpose of determining the target hotspot identifier according to the mapping relationship and the application scenario feature.
Optionally, the mapping relation table is preset and is continuously updated as the user opens the hotspot function of the terminal device, so that the mapping relation table can better match the application scenario of the user.
Step S305, obtaining target hotspot information corresponding to the target hotspot identification.
And step S306, starting the target hotspot according to the target hotspot information.
In this embodiment, the implementation manners of step S305 to step S306 are the same as the implementation manners of step S203 to step S204 in the embodiment shown in fig. 2 of the present invention, and are not described again.
In this embodiment, when the hotspot opening type is the one-key opening type, the target hotspot is opened by acquiring the application scene characteristics corresponding to the hotspot opening instruction and determining the target hotspot identification according to the application scene characteristics.
Fig. 6 is a flowchart of a hotspot opening method according to another embodiment of the present invention, as shown in fig. 5, the hotspot opening method according to this embodiment further refines step S202 on the basis of the hotspot opening method according to the embodiment shown in fig. 2, and further includes a step of displaying a hotspot opening operation item before step S201, and a step of establishing a mapping relationship between a target hotspot identifier and a corresponding application scene feature after step S204, and then the hotspot opening method according to this embodiment includes the following steps:
step S401, displaying a hotspot opening operation item corresponding to at least one hotspot on an operation interface.
Step S402, receiving a hotspot opening instruction sent by a user through a hotspot opening operation item; the hot spot opening instruction comprises the following steps: a hotspot open type.
In this embodiment, the implementation manners of step S401 to step S402 are the same as the implementation manners of step S301 to step S302 in the embodiment shown in fig. 3 of the present invention, and are not described again.
Step S403, if the hotspot opening type is the custom opening type, acquiring a hotspot identifier carried in the hotspot opening instruction.
Specifically, the hotspot opening type further comprises a custom opening type, that is, a user can specify and open a specific target hotspot according to specific requirements, so that the method is suitable for different application scenarios. For example, in a corporate environment, a user needs to open a hotspot of a terminal device, establish a WiFi network, perform data exchange with a plurality of other wireless communication terminals, input a hotspot opening instruction to the terminal device by the user according to the application scenario, designate a first hotspot identified as a "corporate" to be opened, and the hotspot opening type corresponding to the first hotspot opening instruction is the custom opening type. Correspondingly, the opening instruction carries a hotspot identification, and the hotspot identification is an identification 'company' corresponding to the first hotspot specified by the user.
Optionally, since the hotspot opening instruction is sent by a hotspot opening operation item, correspondingly, when the opening type is the user-defined opening type, the user triggers different hotspot opening instructions by operating the specified hotspot opening operation item, so as to achieve the purpose of inputting different hotspot opening instructions to the terminal device in different directions. For example, the user clicks or touches a virtual button of the first hotspot opening operation item, and accordingly, triggers a first hotspot opening instruction, thereby opening a first hotspot identified as "company".
The hotspot opening operation item corresponds to the hotspot opening instruction, optionally, a user can add, delete and modify the hotspot opening operation item in advance on the operation interface according to own needs, and send corresponding hotspot opening instructions through different hotspot opening operation items, so that the purpose of presetting different hotspot opening instructions is achieved. For example, a user may add three hotspot opening operation items with hotspot identifications of "company", "family", and "outdoors" on an operation interface, and the three hotspot opening operation items correspond to three different hotspot opening instructions, that is, an opening hotspot with hotspot identification of "company", an opening hotspot with hotspot identification of "family", and an opening hotspot with hotspot identification of "outdoors". The user may also delete or identify the hotspot identified as a "company" hotspot, or hotspot information such as the hotspot's ID, connection password, and hotspot transmission type.
And S404, taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type.
Specifically, when the hotspot opening type is the custom opening type, the target hotspot identification may be directly determined through a hotspot opening instruction input by the user without performing other determination, and therefore, the hotspot identification carried in the hotspot opening instruction may be used as the target hotspot identification corresponding to the hotspot opening type, for example: the user inputs a first hotspot opening instruction to the terminal device through the first hotspot opening operation item, and the first hotspot opening operation item controls the opening of a first hotspot marked as a 'family', so that the first hotspot opening instruction carries the hotspot mark 'family' designated by the user, and the target hotspot mark can be determined by taking the hotspot mark as the target hotspot mark.
Step S405, target hotspot information corresponding to the target hotspot identification is obtained.
Step S406, starting the target hotspot according to the target hotspot information.
In this embodiment, the implementation manners of steps S405 to S406 are the same as the implementation manners of steps S203 to S204 in the embodiment shown in fig. 2 of the present invention, and are not described again.
Step S407, acquiring application scene characteristics corresponding to the target hotspot identification.
After the target hotspot is opened, the terminal equipment is connected with the wireless communication terminals in the coverage range of other hotspots through the hotspot to exchange data, so that a specific application scene is realized. Therefore, the application scene can be stored as a suitable application scene to form historical data of hot spot opening, and the hot spot can be opened quickly according to the historical data of the hot spot opening when a user uses the application scene next time.
Specifically, after a target hotspot is opened, an application scene characteristic corresponding to a target hotspot identifier is obtained, for example, when the target hotspot identifier is "home", and after the hotspot corresponding to the hotspot identifier is opened, the corresponding application scene characteristic is as follows: the time information is 16 pm 10 minutes, and the position information is [2134.2,2214.1 ].
Step S408, establishing a mapping relation between the target hotspot identification and the corresponding application scene characteristics.
And establishing a mapping relation between the application scene characteristics and the target hotspot identification, wherein the mapping relation can be used as a rule for determining the target hotspot identification according to the application scene characteristics. For example, the application scene features with the time information of 16 to 17 points and the location information of [2134,2214] in the application scene features are mapped to the target hotspot identification with the hotspot identification of "family".
Optionally, after the mapping relationship is established, the mapping relationship is stored, and if the established mapping relationship conflicts with an existing mapping relationship, the mapping relationship is updated according to a preset rule.
In this embodiment, when the hotspot opening type is the user-defined opening type, the target hotspot identification is directly determined by obtaining the hotspot identification carried in the hotspot opening instruction, no other judgment is needed, the hotspot opening process is more flexible and convenient, the applicable scene is wider, and meanwhile, by obtaining the application scene characteristics of the opened hotspot, the mapping relationship between the application scene characteristics and the target hotspot identification is established, so that the historical data support is provided for the hotspot opening instruction of the one-key opening type, and the use efficiency of the user is improved.
Fig. 7 is a schematic diagram of a hot spot opening device according to an embodiment of the invention. As shown in fig. 7, the hot spot opening device 7 provided in this embodiment includes:
the receiving module 71 is configured to receive a hotspot starting instruction input by a user; the hot spot opening instruction comprises the following steps: a hotspot open type.
The first obtaining module 72 obtains a corresponding target hotspot identification according to the hotspot opening type.
And a second obtaining module 73, configured to obtain target hotspot information corresponding to the target hotspot identifier.
And the starting module 74 is configured to start the target hotspot according to the target hotspot information.
The receiving module 71, the first obtaining module 72, the second obtaining module 73 and the opening module 74 are connected in sequence. The hot spot opening device 7 provided in this embodiment may implement the technical solution of the method embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic diagram of a hot spot opening device according to another embodiment of the invention. As shown in fig. 8, the hot spot opening device 8 provided in this embodiment further includes, on the basis of the hot spot opening device shown in fig. 7:
the display module 81 is configured to display a hotspot starting operation item corresponding to at least one hotspot on the operation interface.
Optionally, the receiving module 71 is specifically configured to:
and receiving a hotspot opening instruction sent by a user through the hotspot opening operation item.
Optionally, the first obtaining module 72 is specifically configured to.
And if the hotspot opening type is a one-key opening type, acquiring application scene characteristics corresponding to the hotspot opening instruction.
And acquiring a target hotspot identification matched with the application scene characteristics.
Optionally, when acquiring the application scene feature corresponding to the hotspot opening instruction, the first acquiring module 72 is specifically configured to:
acquiring time information when the hotspot opening instruction is received and/or,
and acquiring the position information of the terminal equipment determined by the positioning device.
Optionally, when acquiring the target hotspot identifier matched with the application scene feature, the first acquiring module 72 is specifically configured to:
and acquiring a mapping relation between each preset application scene characteristic and the hotspot identification.
And determining the target hotspot identification according to the mapping relation and the application scene characteristics.
Wherein, the display module 81 is connected with the receiving module 71. The hot spot opening device 8 provided in this embodiment may implement the technical solutions of the method embodiments shown in fig. 3 and fig. 5, and the implementation principles and technical effects thereof are similar and will not be described herein again.
Fig. 9 is a schematic diagram of a hot spot opening device according to another embodiment of the invention. As shown in fig. 9, the hot spot opening device 9 provided in this embodiment further includes, on the basis of the hot spot opening device shown in fig. 7:
the display module 91 is configured to display a hotspot starting operation item corresponding to at least one hotspot on the operation interface.
Optionally, the receiving module 71 is specifically configured to:
and receiving a hotspot opening instruction sent by a user through the hotspot opening operation item.
Optionally, the first obtaining module 72 is specifically configured to:
and if the hotspot opening type is the user-defined opening type, acquiring a hotspot identification carried in the hotspot opening instruction.
And taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type.
And an application scene obtaining module 92, configured to obtain an application scene feature corresponding to the target hotspot identifier.
The mapping establishing module 93 is configured to establish a mapping relationship between the target hotspot identifier and the corresponding application scene feature.
Wherein, the display module 91 is connected with the receiving module 71; the starting module 74 is connected to the application scene obtaining module 92 and the mapping establishing module 93 in sequence. The hot spot opening device 9 provided in this embodiment may implement the technical solution of the method embodiment shown in fig. 6, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 10, the terminal device according to the embodiment includes: a memory 1001, a processor 1002, and computer programs.
The computer program is stored in the memory 1001 and configured to be executed by the processor 1002 to implement the hot spot opening method provided in any one of the embodiments corresponding to fig. 2, fig. 3, and fig. 6 of the present invention.
The memory 1001 and the processor 1002 are connected by a bus 1003.
The related description may be understood by referring to the related description and effects corresponding to the steps in fig. 2, fig. 3, and fig. 6, and will not be described in detail herein.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the hotspot opening method provided in any one of the embodiments corresponding to fig. 2, fig. 3, and fig. 6 of the present invention.
The computer readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention 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 invention is limited only by the appended claims.

Claims (10)

1. A hotspot opening method is applied to terminal equipment and is characterized by comprising the following steps:
receiving a hotspot opening instruction input by a user; the hotspot opening instruction comprises the following steps: a hotspot opening type;
acquiring a corresponding target hotspot identification according to the hotspot opening type;
acquiring target hotspot information corresponding to the target hotspot identification;
and opening the target hotspot according to the target hotspot information.
2. The method of claim 1, wherein the obtaining of the corresponding target hotspot identification according to the hotspot opening type comprises:
if the hotspot opening type is a one-key opening type, acquiring application scene characteristics corresponding to the hotspot opening instruction;
and acquiring a target hotspot identification matched with the application scene characteristics.
3. The method according to claim 2, wherein the obtaining of the application scene feature corresponding to the hotspot opening instruction comprises:
acquiring the time information when the hotspot opening instruction is received, and/or,
and acquiring the position information of the terminal equipment determined by the positioning device.
4. The method of claim 2, wherein obtaining the target hotspot identification matching the application scene feature comprises:
acquiring a mapping relation between each preset application scene characteristic and a hotspot identification;
and determining the target hotspot identification according to the mapping relation and the application scene characteristics.
5. The method of claim 1, wherein the obtaining of the corresponding target hotspot identification according to the hotspot opening type comprises:
if the hotspot opening type is a user-defined opening type, acquiring a hotspot identification carried in the hotspot opening instruction;
and taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type.
6. The method of claim 5, wherein after the target hotspot is opened according to the target hotspot information, the method further comprises:
acquiring application scene characteristics corresponding to the target hotspot identification;
and establishing a mapping relation between the target hotspot identification and the corresponding application scene characteristics.
7. The method of claim 1, wherein before receiving the hotspot opening instruction input by the user, the method further comprises:
displaying a hotspot starting operation item corresponding to at least one hotspot on an operation interface;
the receiving of the hotspot opening instruction input by the user includes:
and receiving a hotspot opening instruction sent by the user through the hotspot opening operation item.
8. A hot spot opening device is applied to terminal equipment and is characterized by comprising:
the receiving module is used for receiving a hotspot opening instruction input by a user; the hotspot opening instruction comprises the following steps: a hotspot opening type;
the first acquisition module is used for acquiring a corresponding target hotspot identification by a user according to the hotspot opening type;
the second acquisition module is used for acquiring target hotspot information corresponding to the target hotspot identification;
and the starting module is used for starting the target hotspot according to the target hotspot information.
9. A terminal device, comprising: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the hotspot opening method according to any one of claims 1-7.
10. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions are used for implementing the hotspot opening method according to any one of claims 1 to 7.
CN201911148375.1A 2019-11-21 2019-11-21 Hotspot opening method and device, terminal equipment and storage medium Pending CN111050380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911148375.1A CN111050380A (en) 2019-11-21 2019-11-21 Hotspot opening method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911148375.1A CN111050380A (en) 2019-11-21 2019-11-21 Hotspot opening method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111050380A true CN111050380A (en) 2020-04-21

Family

ID=70232792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911148375.1A Pending CN111050380A (en) 2019-11-21 2019-11-21 Hotspot opening method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111050380A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501674A (en) * 2021-06-10 2022-05-13 荣耀终端有限公司 Hotspot connection method, terminal device and electronic device
CN115297530A (en) * 2022-09-28 2022-11-04 荣耀终端有限公司 Network connection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430713A (en) * 2015-11-30 2016-03-23 东莞酷派软件技术有限公司 Identification method of wireless fidelity WiFi hotspot and terminal
CN105554752A (en) * 2015-11-27 2016-05-04 东莞酷派软件技术有限公司 Hotspot sharing method and related equipment
CN106714181A (en) * 2016-12-07 2017-05-24 广东欧珀移动通信有限公司 Method and apparatus for accessing WiFi hotspot
CN110337136A (en) * 2019-06-18 2019-10-15 特斯联(北京)科技有限公司 It is connected to the network strategy adjusting method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554752A (en) * 2015-11-27 2016-05-04 东莞酷派软件技术有限公司 Hotspot sharing method and related equipment
CN105430713A (en) * 2015-11-30 2016-03-23 东莞酷派软件技术有限公司 Identification method of wireless fidelity WiFi hotspot and terminal
CN106714181A (en) * 2016-12-07 2017-05-24 广东欧珀移动通信有限公司 Method and apparatus for accessing WiFi hotspot
CN110337136A (en) * 2019-06-18 2019-10-15 特斯联(北京)科技有限公司 It is connected to the network strategy adjusting method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501674A (en) * 2021-06-10 2022-05-13 荣耀终端有限公司 Hotspot connection method, terminal device and electronic device
CN114501674B (en) * 2021-06-10 2022-12-30 荣耀终端有限公司 Hotspot connection method, terminal device and storage medium
CN115297530A (en) * 2022-09-28 2022-11-04 荣耀终端有限公司 Network connection method and device
CN115297530B (en) * 2022-09-28 2023-04-07 荣耀终端有限公司 Network connection method and device

Similar Documents

Publication Publication Date Title
CN113841339B (en) Service connection establishing method, bluetooth main device, chip and Bluetooth system
CN109391648B (en) Method and device for associating application with network slice and communication system
CN110650070B (en) Household appliance network configuration method and WiFi module
CN101959321B (en) Scene mode switching method based on mobile phone WIFI and mobile phone
CN103327644B (en) A kind of method and apparatus of wireless connections
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
EP2642773A2 (en) Method and apparatus to manage wireless direct access communication group
US10887745B2 (en) Method and device for sharing file between different terminals
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN109195204B (en) Wireless network access method and device, computer readable medium and communication terminal
CN104185253A (en) Method for accessing wireless router, related device and system thereof
CN104486816A (en) Quick automatic scanning method of Wifi (Wireless Fidelity) terminal equipment in multiple access points
CN108173725A (en) Apparatus control method, device, terminal and computer readable storage medium
CN106131816A (en) Virtual sim card management method and terminal
CN102932863A (en) QOS (Quality of Service)-based method for selecting network connection mode by terminal equipment
CN104754761A (en) Wireless local area network connection processing method and wireless local area network connection processing device
CN111050380A (en) Hotspot opening method and device, terminal equipment and storage medium
CN111356209A (en) Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment
CN108829481A (en) The rendering method of remote interface based on controlling electronic devices
CN110601986A (en) Router supporting peripheral control over mobile terminal equipment, control method and device
CN111278071B (en) Personal hotspot opening method and system
CN113207115A (en) Mobile terminal and network searching control method
CN112333062A (en) Control method and control device for household equipment and computer readable storage medium
CN105848251B (en) Hotspot access method, device and terminal
CN105101336A (en) Wi-Fi access method and apparatus, mobile terminal, and server

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