CN111050380B - Hot spot starting method and device, terminal equipment and storage medium - Google Patents

Hot spot starting method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN111050380B
CN111050380B CN201911148375.1A CN201911148375A CN111050380B CN 111050380 B CN111050380 B CN 111050380B CN 201911148375 A CN201911148375 A CN 201911148375A CN 111050380 B CN111050380 B CN 111050380B
Authority
CN
China
Prior art keywords
hot spot
hotspot
opening
target
application scene
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.)
Active
Application number
CN201911148375.1A
Other languages
Chinese (zh)
Other versions
CN111050380A (en
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 Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion 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 Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN201911148375.1A priority Critical patent/CN111050380B/en
Publication of CN111050380A publication Critical patent/CN111050380A/en
Application granted granted Critical
Publication of CN111050380B publication Critical patent/CN111050380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a hot spot opening method, a hot spot opening device, terminal equipment and a storage medium, wherein the method is applied to the terminal equipment and comprises the following steps: receiving a hot spot opening instruction input by a user; the hot spot opening instruction comprises: a hot spot 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 starting the target hot spot according to the target hot spot information. According to the method, 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, so that access control and management of the hotspot are realized, and the security and data transmission efficiency of the hotspot are improved.

Description

Hot spot starting 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 apparatus for starting a hot spot, a terminal device, and a storage medium.
Background
The hotspot technology is to transmit and share network signals in wifi, bluetooth and other modes, so that other electronic equipment can access data and networks through hotspots, for example, a smart phone is used for starting hotspots, and 4G signals received by the mobile phone are converted into wifi signals for other terminal equipment to surf the internet.
At present, users often turn on hotspots through terminal devices such as mobile phones and notebook computers, and convert wired network, GPRS, 3G, 4G or 5G signals into wifi or Bluetooth hotspots, and other terminal devices are connected with the hotspots to achieve the purpose of connecting networks or transmitting data.
In the prior art, since the terminal equipment for starting the hot spot can only start one same hot spot at a time, the hot spots can not be distinguished and started, so that access control and management of the hot spots can not be realized, and the safety and the data transmission efficiency of the hot spots are affected.
Disclosure of Invention
The invention provides a hot spot opening method, a hot spot opening device, terminal equipment and a storage medium, which are used for solving the problems that access control and management of hot spots cannot be realized, and the safety and data transmission efficiency of the hot spots are affected.
According to a first aspect of an embodiment of the present disclosure, the present invention provides a hot spot opening method, applied to a terminal device, where the method includes:
Receiving a hot spot opening instruction input by a user; the hot spot opening instruction comprises: a hot spot 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 starting the target hot spot according to the target hot spot information.
Optionally, the obtaining the corresponding target hotspot identifier according to the hotspot opening type includes:
If the hot spot opening type is a one-key opening type, acquiring application scene characteristics corresponding to the hot spot opening instruction;
and acquiring a target hot spot identifier matched with the application scene feature.
Optionally, the obtaining the application scene feature corresponding to the hotspot opening instruction includes:
Obtaining time information when the hot spot opening instruction is received and/or obtaining time information when the hot spot opening instruction is received,
And acquiring the position information of the terminal equipment determined by the positioning device.
Optionally, the obtaining the target hotspot identifier matched with the application scene feature includes:
acquiring a preset mapping relation between each application scene feature and a hot spot mark;
and determining the target hotspot identification according to the mapping relation and the application scene characteristics.
Optionally, the obtaining the corresponding target hotspot identifier according to the hotspot opening type includes:
if the hot spot opening type is a custom opening type, acquiring a hot spot identifier carried in the hot spot 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 feature.
Optionally, before receiving the hotspot opening instruction input by the user, the method further includes:
Displaying at least one hot spot opening operation item corresponding to the hot spot on an operation interface;
The receiving the hot spot opening instruction input by the user comprises the following steps:
and receiving a hot spot opening instruction sent by the user through a hot spot opening operation item.
According to a second aspect of the embodiments of the present disclosure, the present invention provides a hotspot opening apparatus, which is applied to a terminal device, and the method includes:
The receiving module is used for receiving a hot spot opening instruction input by a user; the hot spot opening instruction comprises: a hot spot opening type;
The first acquisition module is used for acquiring a corresponding target hotspot identification according to the hotspot opening type by a user;
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 hot spot according to the target hot spot information.
Optionally, the first obtaining module is specifically configured to:
If the hot spot opening type is a one-key opening type, acquiring application scene characteristics corresponding to the hot spot opening instruction;
and acquiring a target hot spot identifier matched with the application scene feature.
Further optionally, when the first obtaining module obtains the application scene feature corresponding to the hotspot opening instruction, the first obtaining module is specifically configured to:
Obtaining time information when the hot spot opening instruction is received and/or obtaining time information when the hot spot opening instruction is received,
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 identifier matched with the application scene feature, the first obtaining module is specifically configured to:
acquiring a preset mapping relation between each application scene feature and a hot spot mark;
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 hot spot opening type is a custom opening type, acquiring a hot spot identifier carried in the hot spot opening instruction;
And taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type.
Optionally, the hot spot opening device further includes:
The application scene acquisition module is used for acquiring application scene characteristics corresponding to the target hotspot identification;
And the mapping establishing module is used for establishing the mapping relation between the target hotspot identification and the corresponding application scene characteristic.
Optionally, the hot spot opening device further includes:
the display module is used for displaying at least one hot spot opening operation item corresponding to the hot spot on the operation interface;
Correspondingly, the receiving module is specifically configured to:
and receiving a hot spot opening instruction sent by the user through a hot spot opening operation item.
According to a third aspect of the embodiments of the present disclosure, the present disclosure provides a terminal device, including: a memory, a processor, and a computer program;
Wherein the computer program is stored in the memory and is configured to be executed by the processor to implement the hotspot opening method as in any of the first aspects 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, where computer-executable instructions are stored, where the computer-executable instructions are used to implement the hot spot opening method according to any one of the first aspects of the embodiments of the present disclosure when the computer-executable instructions are executed by a processor.
According to the method, the device, the terminal equipment and the storage medium for starting the hot spot, the target hot spot identification is obtained by receiving the hot spot starting instruction which is input by the user and comprises the hot spot starting type, the target hot spot information is obtained according to the target hot spot identification, and the corresponding target hot spot is started according to the target hot spot information.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is an application scenario diagram of a hot spot opening method provided in an 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 according to an 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 view of still 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.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
First, the terms involved in the present invention will be explained:
Hot spot: also called wireless access points (WirelessAccessPoint, AP for short), which are bridges between wireless networks and wired networks and are core devices that constitute Wireless Local Area Networks (WLANs). It mainly provides mutual access between wireless terminals so that wireless terminals within the coverage of an AP signal 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. In general, a terminal device hotspot refers to a mobile communication device such as a mobile phone, a tablet computer and the like capable of receiving mobile communication network signals such as GPRS, 3G, 4G or 5G, and the like, and converts the mobile communication network signals into wireless fidelity (WIRELESS FIDELITY, wi-Fi) signals by using its own wireless AP function, so that other terminal devices such as a tablet or a notebook and the like are connected with the Wi-Fi signals through a wireless network card or a wireless network module, and surfing the internet in places without networks such as outdoors and the like is realized, thereby realizing sharing of network resources.
The following explains the application scenario of the embodiment of the present invention:
Fig. 1 is an application scenario diagram of a hot spot opening method provided by an embodiment of the present invention, where, as shown in fig. 1, a terminal device provided by the embodiment of the present invention is a smart phone with an AP function. In a specific application scenario provided by the embodiment of the invention, a user opens a first hotspot of the smart phone, wherein the first hotspot is preset for the user and is a target hotspot for providing Wi-Fi services for a device and b device only. After the first hotspot is opened, the smart phone sends out hotspot broadcast information, wherein the hotspot broadcast information comprises Identification (ID) of the hotspot. The device a, the device b and the device c in the hot spot searching mode receive the first hot spot broadcasting information, the device a and the device b prestore connection passwords corresponding to the first hot spot ID, and the device a and the device b send connection requests containing the connection passwords to the first hot spot and then connect with the first hot spot, so that the purpose of surfing the Internet through the first hot spot is achieved. In the device c, the connection password corresponding to the first hotspot ID is not stored, so that the device c cannot be connected with the first hotspot and cannot access the internet through the first hotspot.
And then, closing the first hot spot by the user, and opening the second hot spot, wherein the second hot spot is preset by the user and is a target hot spot for providing Wi-Fi service for the c equipment. With the first hotspot closed, the a-device and the b-device then disconnect from the first hotspot. Similar to the above process, the c device is connected to the second hotspot, so as to achieve the purpose of enabling the c device to access the internet through the second hotspot.
In an application scenario of the hotspot opening method provided by the embodiment of the invention, the target hotspot identification is obtained by receiving different hotspot opening instructions input by a 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.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a hot spot opening method according to an embodiment of the present invention, which is applied to a terminal device, and as shown in fig. 2, the hot spot opening method according to the embodiment includes the following steps:
step S201, receiving a hot spot opening instruction input by a user; the hot spot opening instruction includes: a hot spot opening type;
Specifically, receiving the hotspot opening instruction input by the user includes receiving a specific instruction or an 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 order to realize the hotspot function opening, and all the N steps are regarded as the hotspot opening instruction input by the user. Optionally, the hotspot opening instruction includes a step of operating the hotspot function operation interface and its sub-interface. It can be understood that there are various ways in which the user inputs the hot spot opening instruction, for example, by sliding or clicking a finger, a virtual switch corresponding to a hot spot function in the operating system of the terminal device is opened; or the hot spot function is started by means of a voice command, and the specific mode of receiving the hot spot starting command input by the user is not limited.
When a hotspot is started, hotspot broadcasting information containing a hotspot ID is required to be broadcasted, therefore, hotspot starting parameters such as the hotspot ID and the like are required to be set in advance in the hotspot, in order to solve the problem of setting the hotspot starting parameters, the starting instruction comprises a hotspot starting type, optionally, the starting type comprises a manual selection mode and an automatic selection mode, wherein the manual selection mode is that a user determines the hotspot starting parameters through a specific instruction, and the automatic selection mode automatically determines the hotspot starting parameters for terminal equipment.
Step S202, obtaining a corresponding target hotspot identification according to the hotspot opening type.
Specifically, the terminal device or the cloud device in communication with the terminal device is preset with a mapping relation or a mapping method of a hot spot opening type and a corresponding target hot spot identifier, and the target hot spot identifier can be obtained according to the hot spot opening type and the mapping relation or the deriving logic, optionally, according to the hot spot opening type and the mapping relation or the deriving logic, the target hot spot identifier can be uniquely determined according to a hot spot opening instruction corresponding to the hot spot opening type and the hot spot 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, the terminal device or the cloud device in communication with the terminal device is preset with hotspot information of a plurality of hotspots, and the target hotspot information of the target hotspot can be obtained according to the target hotspot identification. 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.
Step S204, starting the target hot spot according to the target hot spot information.
After the target hotspot information is obtained, the responsive target hotspot can be started according to the target hotspot information, so that the aim of starting one hotspot through the terminal equipment is fulfilled. 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 starts a hotspot with an android_cy_ap_32889 as a hotspot ID, connects a WiFi hotspot with a 123456 password, and broadcasts the hotspot to the outside, and other terminal devices with a WiFi connection function in the hotspot coverage area can find out that the ID is a hotspot with an android_cy_ap_32889, wherein the terminal device with the ID and the connection password is stored, and can establish connection with the hotspot to realize data transmission.
In this embodiment, a target hotspot identifier is obtained by receiving a hotspot opening instruction including a hotspot opening type input by a user, target hotspot information is obtained according to the target hotspot identifier, and a 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, where, based on the hot spot opening method according to the embodiment shown in fig. 2, step S202 is further refined, and further includes a step of displaying a hot spot opening operation item before step S201, and a corresponding further refinement of a hot spot opening instruction input by a user, the hot spot opening method according to the present embodiment includes the following steps:
Step S301, displaying at least one hot spot opening operation item corresponding to the hot spot on the operation interface.
Fig. 4 is a schematic diagram of an operation interface provided in another embodiment of the present invention, where 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 man-machine interaction interface of the operation system for starting the hotspot function, or may be a man-machine interaction interface of a piece 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 a virtual button, a slider and other interactive controls in the operation interface, or may be an interactive control which inputs a certain input control in a digital, letter, symbol and other modes to realize the hot spot opening function, where the specific implementation mode of opening the hot spot by the opening operation item is not specifically limited, so long as the hot spot opening function can be realized.
And displaying at least one hot spot opening operation item corresponding to the hot spot on the operation interface, specifically displaying at least one hot spot opening item on the operation interface, and performing opening operation on the at least one hot spot through the operation interface. In a specific embodiment, on the operation interface, a hotspot opening item named "company", "family" and "outdoor" is displayed, which corresponds to the first hotspot, the second hotspot and the third hotspot respectively. Through the operation interface, a user can manually and selectively open the first hot spot, the second hot spot and the third hot spot corresponding to the company, the family and the outdoor, so that the hot spot can be managed differently, and the method is flexible and convenient. In another specific embodiment, a hot spot opening item named as "one-key opening" is displayed on an operation interface, a user does not need to select a specific identification of a hot spot through the "one-key opening" hot spot opening item, and the terminal equipment opens according to a preset hot spot opening rule, so that the operation is simple and quick, and the use efficiency of the user is improved.
Step S302, a hot spot opening instruction sent by a user through a hot spot opening operation item is received; the hot spot opening instruction includes: type of hot spot on.
Specifically, when the user operates the opening operation item, the opening operation item changes state in response to a user instruction, for example, the opening operation item is changed from the "off" state to the "on" state, and the process of changing the state of the opening operation item corresponds 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 hot spot opening operation item of "first hot spot" corresponds to a hot spot opening type of a first type; a hot spot opening operation item of the second hot spot, wherein the corresponding hot spot opening type is a first type; the hot spot opening operation item of quick opening is the second type corresponding to the hot spot opening type.
Optionally, the first type is a custom opening type, that is, the opening of the hot spot is implemented according to the custom setting of the user. For example, the user specifies to turn on a "first hotspot," i.e., a custom turn-on type.
The second type is a one-key opening type, namely, the user does not specify the hot spot opening of a specific identifier, and the terminal equipment opens the hot spot of the corresponding identifier according to a preset hot spot opening rule.
In step S303, if the hot spot opening type is the one-key opening type, the application scene feature corresponding to the hot spot opening instruction is obtained.
And acquiring time information when a hot spot opening instruction is received and/or acquiring position information of the terminal equipment determined by the positioning device.
Specifically, the application scene feature corresponding to the hot spot opening instruction refers to some feature parameters of the terminal device in the application scene when the terminal device receives the user opening instruction, and optionally, the feature parameters may be location information of the terminal device, for example: the positioning information of the terminal equipment, optionally, a positioning device is arranged in the terminal equipment, and the positioning information of the terminal equipment is determined according to the positioning device. The characteristic parameter may be time information about the terminal device, such as: the current time in the terminal device operating system, the current time provided by the application software, is not specifically limited herein.
When the hot spot opening type is a one-key opening type, a user does not designate to open a hot spot with a specific identifier any more, and opens a corresponding hot spot through a preset hot spot opening rule. The hot spot opening rule is related to application scene characteristics, and specific target hot spot identification can be determined by utilizing the application scene characteristics corresponding to the hot spot opening instruction, so that the purposes of automatically determining the target hot spot and opening the target hot spot by the terminal equipment are realized.
Step S304, obtaining a target hot spot identifier matched with the application scene characteristics.
Specifically, a certain mapping relation exists between the application scene features and the target hotspot identification, and after the application scene features are acquired, the target hotspot identification matched with the application scene features can be acquired according to the mapping relation.
Optionally, as shown in fig. 5, step S304 includes two specific implementation steps of step S3041 and step S3042:
step S3041, obtaining a mapping relationship between each preset application scene feature and the hotspot identification.
And the terminal equipment or cloud equipment communicated with the terminal equipment stores a mapping relation table of the application scene characteristics and the target hotspot identification, acquires the mapping relation table, and can determine the mapping relation of 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 identifier; more specifically, the first application scenario features are time information when the hotspot opening instruction is acquired, the time information has a mapping relationship with the first target hotspot identifier, and when the time information is acquired, the corresponding first target hotspot identifier 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 an application scene feature to form a mapping relationship with the target hotspot identifier.
Specifically, for example, the first application scenario feature includes time information when the hotspot opening instruction is acquired and location information of the terminal device, where the set of time information and location information has a mapping relationship with the first target hotspot identifier, and the acquired time information and location information can uniquely determine the corresponding first target hotspot identifier.
And step S3042, determining a target hot spot identifier according to the mapping relation 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; when the obtained application scene features are the second application scene features, the terminal equipment starts the second target hot spot according to the mapping relation, so that the aim of automatically starting the corresponding target hot spot according to the application scene features is fulfilled.
In a specific embodiment, the application scene feature is time information when the terminal device receives a user start instruction, more specifically, when the terminal device receives the user start instruction, the current time in the terminal device operating system is 0410, and according to the mapping relationship, when the current time in the terminal device operating system is 0410, the corresponding target hotspot identification is 01, so that the purpose of determining the target hotspot identification according to the mapping relationship and the application scene feature is achieved.
In another specific embodiment, the application scenario features are time information and location information when the terminal device receives the user start command, more specifically, when the time information is the current time in the operating system of the terminal device and the value is "1820", and when the location information is the location information of the terminal device when the terminal device receives the user start command, the value is "[2134.2,2214.1]" according to the mapping relationship, and 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"), the corresponding target hotspot identifier is "02", so that the purpose of determining the target hotspot identifier according to the mapping relationship and the application scenario features is achieved.
Optionally, the mapping relation table is preset, and can be continuously updated along with the starting of the hot spot function of the terminal equipment by the user, so that the mapping relation table can be better matched with the application scene of the user.
Step S305, obtaining target hotspot information corresponding to the target hotspot identifier.
Step S306, starting the target hot spot according to the target hot spot information.
In this embodiment, the implementation manner of step S305 to step S306 is the same as the implementation manner of step S203 to step S204 in the embodiment shown in fig. 2 of the present invention, and will not be described in detail here.
In this embodiment, when the hotspot opening type is a one-key opening type, the target hotspot identification is determined by acquiring the application scene feature corresponding to the hotspot opening instruction and determining the target hotspot identification according to the application scene feature, so that the target hotspot is opened.
Fig. 6 is a flowchart of a hot spot opening method according to another embodiment of the present invention, as shown in fig. 5, where, based on the hot spot opening method according to the embodiment of fig. 2, step S202 is further refined, and further includes a step of displaying a hot spot opening operation item before step S201, and a step of establishing a mapping relationship between a target hot spot identifier and a corresponding application scenario feature after step S204, the hot spot opening method according to the present embodiment includes the following steps:
step S401, displaying at least one hot spot opening operation item corresponding to the hot spot on the operation interface.
Step S402, receiving a hot spot opening instruction sent by a user through a hot spot opening operation item; the hot spot opening instruction includes: type of hot spot on.
In this embodiment, the implementation manner of step S401 to step S402 is the same as the implementation manner of step S301 to step S302 in the embodiment shown in fig. 3 of the present invention, and will not be described in detail here.
In step S403, if the hotspot opening type is the custom opening type, the hotspot identifier carried in the hotspot opening instruction is obtained.
Specifically, the hotspot opening types further include custom opening types, that is, a user can specify and open specific target hotspots according to specific requirements, so as to adapt to different application scenes. For example, in a corporate environment, a user needs to start a hotspot of a terminal device, establishes a WiFi network, exchanges data with a plurality of other wireless communication terminals, inputs a hotspot start instruction to the terminal device according to the application scenario, designates a first hotspot with a hotspot start identifier of "corporation", and the hotspot start type corresponding to the first hotspot start instruction is a custom start type. Correspondingly, the starting instruction carries a hotspot identifier, and the hotspot identifier is an identifier 'company' corresponding to the first hotspot designated by the user.
Optionally, because the hot spot opening instruction has a hot spot opening operation item to send, correspondingly, when the opening type is a custom opening type, the user triggers different hot spot opening instructions by operating the designated hot spot opening operation item, thereby achieving the purpose of inputting different hot spot opening instructions to the terminal equipment differently. 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, so that a first hotspot identified as a "company" is opened.
The hot spot opening operation items correspond to hot spot opening instructions, optionally, a user can add, delete and modify the hot spot opening operation items in advance on the operation interface according to own needs, and send corresponding hot spot opening instructions through different hot spot opening operation items, so that the aim of presetting different hot spot opening instructions is fulfilled. For example, a user may add three hot spot opening operation items, namely, a hot spot with a hot spot identifier of "company", a hot spot with a hot spot identifier of "family", and a hot spot with a hot spot identifier of "outdoor", to the operation interface, where the three hot spot opening operation items correspond to three different hot spot opening instructions, namely, a hot spot with a hot spot identifier of "company", a hot spot with a hot spot identifier of "family", and a hot spot with a hot spot identifier of "outdoor". The user may also delete a hotspot identified as "company" or hotspot information identifying the hotspot as "company" hotspot, such as the ID of the hotspot, the connection password, and the hotspot transmission type.
Step S404, taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type.
Specifically, when the hotspot opening type is a custom opening type, the target hotspot identification can be directly determined through the hotspot opening instruction input by the user without performing other judgment, so that the hotspot identification carried in the hotspot opening instruction is 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 equipment through a first hotspot opening operation item, and the first hotspot opening operation item controls the opening of a first hotspot identified as 'home', so that the first hotspot opening instruction carries a hotspot identification 'home' designated by the user, and the hotspot identification is used as a target hotspot identification to realize the determination of the target hotspot identification.
Step S405, obtaining target hotspot information corresponding to the target hotspot identifier.
In step S406, the target hotspot is started according to the target hotspot information.
In this embodiment, the implementation manners of step S405 to step S406 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 in detail herein.
Step S407, obtaining application scene characteristics corresponding to the target hotspot identification.
After the target hot spot is started, the terminal equipment is connected with wireless communication terminals in the coverage range of other hot spots through the hot spot, and data exchange is carried out, so that a specific application scene is realized. Therefore, the application scene can be stored as a proper application scene to form hot spot opening historical data, so that a user can conveniently and quickly open the hot spot according to the hot spot opening historical data when using the hot spot next time.
Specifically, after the target hotspot is started, the application scene feature corresponding to the target hotspot identifier is obtained, for example, the target hotspot identifier is "family", and after the hotspot corresponding to the hotspot identifier is started, the corresponding application scene feature is: the time information is 16 pm 10 minutes and the position information is [2134.2,2214.1].
Step S408, a mapping relation between the target hotspot identification and the corresponding application scene feature is established.
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 feature with the time information of 16 to 17 points and the position information of [2134,2214] is 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 the existing mapping relationship, the mapping relationship is updated according to a preset rule.
In this embodiment, when the hotspot opening type is a custom opening type, the target hotspot identifier is directly determined by acquiring the hotspot identifier 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, the mapping relationship between the application scene feature and the target hotspot identifier is established by acquiring the application scene feature of the opened hotspot, so that the support of historical data 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 view of a hot spot opening device according to an embodiment of the present invention. As shown in fig. 7, the hot spot opening device 7 provided in this embodiment includes:
A receiving module 71, configured to receive a hotspot opening instruction input by a user; the hot spot opening instruction includes: type of hot spot on.
The first obtaining module 72 obtains the corresponding target hotspot identification according to the hotspot opening type.
A second obtaining module 73, configured to obtain target hotspot information corresponding to the target hotspot identifier.
An opening module 74, configured to open 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 sequentially connected. The hot spot opening device 7 provided in this embodiment may implement the technical scheme of the method embodiment shown in fig. 2, and its implementation principle and technical effects are similar, and will not be described herein again.
Fig. 8 is a schematic view of a hot spot opening device according to another embodiment of the present 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, on the operation interface, a hot spot opening operation item corresponding to at least one hot spot.
Optionally, the receiving module 71 is specifically configured to:
And receiving a hotspot opening instruction sent by the user through the hotspot opening operation item.
Optionally, the first obtaining module 72 is specifically configured to.
And if the hot spot opening type is the one-key opening type, acquiring the application scene characteristics corresponding to the hot spot opening instruction.
And obtaining a target hot spot identifier matched with the application scene characteristics.
Optionally, when acquiring the application scenario feature corresponding to the hot spot opening instruction, the first acquiring module 72 is specifically configured to:
Obtain time information and/or when the hot spot start instruction is received,
And acquiring the position information of the terminal equipment determined by the positioning device.
Optionally, the first obtaining module 72 is specifically configured to, when obtaining the target hotspot identification matched with the application scene feature:
And acquiring a preset mapping relation between each application scene feature 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 to 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 5, and its implementation principle and technical effects are similar, and are not repeated here.
Fig. 9 is a schematic diagram of a hot spot opening device according to another embodiment of the present 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 hot spot opening operation item corresponding to at least one hot spot on the operation interface.
Optionally, the receiving module 71 is specifically configured to:
And receiving a hotspot opening instruction sent by the user through the hotspot opening operation item.
Optionally, the first obtaining module 72 is specifically configured to:
And if the hot spot opening type is the custom opening type, acquiring a hot spot identifier carried in the hot spot opening instruction.
And taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type.
The application scene acquisition module 92 is configured to acquire 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 opening module 74 is connected to the application scenario acquisition module 92 and the mapping establishment module 93 in sequence. The hot spot opening device 9 provided in this embodiment may implement the technical scheme of the method embodiment shown in fig. 6, and its implementation principle and technical effects are similar, and will not be described herein again.
Fig. 10 is a schematic diagram of a terminal device according to an embodiment of the present invention, as shown in fig. 10, where the terminal device provided in this embodiment includes: memory 1001, processor 1002, and computer programs.
The computer program is stored in the memory 1001 and is configured to be executed by the processor 1002 to implement the hot spot opening method provided in any of the embodiments corresponding to fig. 2,3 and 6 of the present invention.
Wherein the memory 1001 and the processor 1002 are connected by a bus 1003.
The relevant descriptions and effects corresponding to the steps of fig. 2, 3 and 6 can be understood correspondingly, and are not repeated here.
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 a hot spot opening method provided in any one of the embodiments corresponding to fig. 2,3, and 6.
The computer readable storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
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 is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (4)

1. A method for starting a hot spot, which is applied to a terminal device, wherein the terminal device is preset with hot spot information of a plurality of hot spots, and the method comprises the following steps:
Displaying at least one hot spot opening operation item corresponding to the hot spot on an operation interface;
receiving a hot spot opening instruction sent by a user through a hot spot opening operation item; the hot spot opening instruction comprises: a hot spot opening type;
acquiring a corresponding target hotspot identification according to the hotspot opening type;
acquiring target hotspot information corresponding to the target hotspot identification;
starting the target hot spot according to the target hot spot information;
the obtaining the corresponding target hotspot identification according to the hotspot opening type includes:
If the hot spot opening type is a one-key opening type, acquiring application scene characteristics corresponding to the hot spot opening instruction; the application scene characteristics comprise time information when the terminal equipment receives the hot spot opening instruction and/or position information when the terminal equipment receives the hot spot opening instruction;
acquiring a preset mapping relation between each application scene feature and a hot spot mark;
Determining the target hotspot identification according to the mapping relation and the application scene characteristics;
if the hot spot opening type is a custom opening type, acquiring a hot spot identifier carried in the hot spot opening instruction;
taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type;
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 and storing the mapping relation between the target hotspot identification and the corresponding application scene characteristic.
2. A hotspot opening device applied to a terminal device, wherein the terminal device is preset with hotspot information of a plurality of hotspots, the device comprises:
the display module is used for displaying at least one hot spot opening operation item corresponding to the hot spot on the operation interface;
the receiving module is used for receiving a hot spot opening instruction sent by a user through the hot spot opening operation item; the hot spot opening instruction comprises: a hot spot opening type;
the first acquisition module is used for acquiring a corresponding target hotspot identification according to the hotspot opening type;
the second acquisition module is used for acquiring target hotspot information corresponding to the target hotspot identification;
the starting module is used for starting the target hot spot according to the target hot spot information;
The first obtaining module is specifically configured to obtain an application scenario feature corresponding to the hotspot opening instruction if the hotspot opening type is a one-key opening type; the application scene characteristics comprise time information when the terminal equipment receives the hot spot opening instruction and/or position information when the terminal equipment receives the hot spot opening instruction; acquiring a preset mapping relation between each application scene feature and a hot spot mark; determining the target hotspot identification according to the mapping relation and the application scene characteristics; if the hot spot opening type is a custom opening type, acquiring a hot spot identifier carried in the hot spot opening instruction; taking the carried hotspot identification as a target hotspot identification corresponding to the hotspot opening type;
The application scene acquisition module is used for acquiring application scene characteristics corresponding to the target hotspot identification;
And the mapping establishing module is used for establishing and storing the mapping relation between the target hotspot identification and the corresponding application scene characteristic.
3. 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 hot spot start-up method of claim 1.
4. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to implement the hot spot opening method of claim 1.
CN201911148375.1A 2019-11-21 2019-11-21 Hot spot starting method and device, terminal equipment and storage medium Active CN111050380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911148375.1A CN111050380B (en) 2019-11-21 2019-11-21 Hot spot starting method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911148375.1A CN111050380B (en) 2019-11-21 2019-11-21 Hot spot starting method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111050380A CN111050380A (en) 2020-04-21
CN111050380B true CN111050380B (en) 2024-07-02

Family

ID=70232792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911148375.1A Active CN111050380B (en) 2019-11-21 2019-11-21 Hot spot starting method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111050380B (en)

Families Citing this family (2)

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

Citations (1)

* 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

Family Cites Families (3)

* 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
CN106714181B (en) * 2016-12-07 2020-05-26 Oppo广东移动通信有限公司 Method and device for connecting 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 (1)

* 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

Also Published As

Publication number Publication date
CN111050380A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN110650070B (en) Household appliance network configuration method and WiFi module
US10314098B2 (en) Method and apparatus for connecting short-range wireless communication in terminal
WO2016068550A1 (en) Method of changing profile using identification module and electronic device implementing same
EP3151628A1 (en) Method, device and system for accessing a wireless network
CN109076377B (en) Cell measurement method, device, equipment and storage medium
CN106358189B (en) Method and device for accessing wireless local area network
TWI766319B (en) Dual-network dual-system mobile device
CN106792491B (en) Network sharing method based on double cards and mobile terminal
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN110708694A (en) Method, system, storage medium and electronic device for realizing simultaneous online public and private networks
CN111050380B (en) Hot spot starting method and device, terminal equipment and storage medium
CN109392030B (en) Method for switching between base stations and wireless network
CN102932863A (en) QOS (Quality of Service)-based method for selecting network connection mode by terminal equipment
CN105744646A (en) Mobile terminal and communication method
CN113178028A (en) Control method, wearable device, mobile terminal and readable storage medium
CN106792823A (en) A kind of terminal connection method and device based on Miracast
CN107466022B (en) SIM card switching method, mobile terminal and storage medium
CN105848251B (en) Hotspot access method, device and terminal
US9258774B2 (en) Method for information processing and electronic apparatus thereof
CN106488530A (en) Presentation of information and sending method, focus cut-in method and system
CN114531712B (en) Wireless communication method and device, mobile terminal and non-transitory readable storage medium
EP4297480A1 (en) Wi-fi hotspot switching method, terminal device, and storage medium
CN106488470B (en) Method, device and terminal for realizing Miracast and wireless hotspot coexistence
CN104812026A (en) Cell residence method, device and mobile terminal
CN111654898B (en) Information display method and device, storage medium and terminal

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
GR01 Patent grant