CN108924911B - Method and device for starting wifi hotspot sharing network - Google Patents

Method and device for starting wifi hotspot sharing network Download PDF

Info

Publication number
CN108924911B
CN108924911B CN201810846594.6A CN201810846594A CN108924911B CN 108924911 B CN108924911 B CN 108924911B CN 201810846594 A CN201810846594 A CN 201810846594A CN 108924911 B CN108924911 B CN 108924911B
Authority
CN
China
Prior art keywords
wifi hotspot
sharing network
mobile terminal
hotspot sharing
starting
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
CN201810846594.6A
Other languages
Chinese (zh)
Other versions
CN108924911A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810846594.6A priority Critical patent/CN108924911B/en
Publication of CN108924911A publication Critical patent/CN108924911A/en
Application granted granted Critical
Publication of CN108924911B publication Critical patent/CN108924911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The invention discloses a method and a device for starting a wifi hot spot sharing network, wherein the method comprises the following steps: when the wifi hotspot sharing network function is not started, acquiring current environmental parameters; the environmental parameter includes at least one of: location information, detected bluetooth device information, and detected NFC tag information; and under the condition that the environmental parameters are matched with preset starting conditions, executing the relevant operation of starting the wifi hotspot sharing network of the mobile terminal. The method of the embodiment of the invention can quickly start the wifi hotspot sharing network of the mobile terminal according to the environmental parameters, thereby avoiding the technical problem that the intelligent equipment can share the wifi hotspot sharing network by manually opening the wifi hotspot sharing network of the mobile terminal in each environment.

Description

Method and device for starting wifi hotspot sharing network
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method and a device for starting a wifi hotspot sharing network.
Background
With the development of scientific technology, most intelligent devices without 4G internet access capability, such as smart homes and vehicle-mounted devices, have the wifi wireless internet access function so that users can intelligently control the intelligent devices. With the rapid development of the 4G technology, the mobile network speed is increased dramatically, and three mobile network providers offer various unlimited flow packages for different user groups, so that the mobile network charges are reduced to a more reasonable degree. Therefore, a prerequisite is created for converting the 4G signal into a wifi hotspot sharing network through one mobile terminal and sharing the network to other equipment.
However, in the prior art, when the wifi hotspot sharing network of the mobile terminal needs to be started, the user manually opens the wifi hotspot of the mobile terminal, and then manually connects the smart device to the wifi hotspot of the mobile terminal. And need in time close intelligent mobile terminal's wifi focus shared network function after finishing using to avoid mobile terminal to send unnecessary wifi signal to lead to the phenomenon of power consumption sharply increasing, if the user removes to this current environment once more, need manually start mobile terminal's wifi focus shared network once more, thereby lead to the speed of starting wifi focus shared network slower, bring inconvenience for the user.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for starting a wifi hot spot sharing network, so as to solve the technical problem that in the prior art, after a user moves to the current environment again, the wifi hot spot sharing network of a mobile terminal still needs to be manually opened, so that the speed of starting the wifi hot spot sharing network is reduced.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for starting a wifi hotspot sharing network, which is applied to a mobile terminal having a wifi hotspot sharing network function, and the method includes:
when the wifi hotspot sharing network function is not started, acquiring current environmental parameters; the environmental parameter includes at least one of: location information, detected bluetooth device information, and detected NFC tag information;
and under the condition that the environmental parameters are matched with preset starting conditions, executing the relevant operation of starting the wifi hotspot sharing network of the mobile terminal.
In a second aspect, an embodiment of the present invention further provides a device for starting a wifi hotspot sharing network, which is applied to a mobile terminal having a wifi hotspot sharing network function, where the device includes:
the acquisition module is used for acquiring the current environmental parameters when the wifi hotspot sharing network function is not started; the environmental parameter includes at least one of: location information, detected bluetooth device information, and detected NFC tag information;
and the execution module is used for executing the relevant operation of starting the wifi hotspot sharing network of the mobile terminal under the condition that the environmental parameters are matched with the preset starting conditions.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the method for starting the wifi hotspot sharing network described in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the method for starting a wifi hotspot sharing network described in the first aspect.
In the embodiment of the invention, the current environmental parameters are obtained when the wifi hotspot sharing network of the mobile terminal is in an unopened state, and the relevant operation of starting the wifi hotspot sharing network of the mobile terminal is executed when the environmental parameters are matched with the preset starting conditions. In the embodiment of the invention, when the acquired environmental parameters are matched with the preset starting conditions, the related operation of starting the wifi hotspot sharing network of the mobile terminal is executed, so that the method of the embodiment of the invention can quickly start the wifi hotspot sharing network of the mobile terminal according to the environmental parameters, and the technical problem that peripheral intelligent equipment can share the wifi hotspot sharing network by manually opening the wifi hotspot sharing network of the mobile terminal in each environment is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart illustrating a first method for enabling a wifi hotspot sharing network of a mobile terminal in an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second method for enabling a wifi hotspot sharing network of a mobile terminal in an embodiment of the invention;
FIG. 3 is a flow diagram of determining a security level of a wifi hotspot sharing network based on environmental information in one embodiment of the invention;
FIG. 4 is a schematic structural diagram of a wifi hot spot sharing network device for enabling a mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a mobile terminal in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method for starting a wifi hot spot sharing network, which is applied to a mobile terminal with the function of the wifi hot spot sharing network.
The mobile terminal can be a mobile terminal such as a mobile phone and a tablet computer.
Example one
Fig. 1 is a flowchart of a first method for starting a wifi hotspot sharing network according to an embodiment of the present invention, where the method shown in fig. 1 at least includes the following steps:
step S102, when the wifi hotspot sharing network function is not started, acquiring current environmental parameters; the environmental parameter includes at least one of: location information, detected bluetooth device information, and detected NFC tag information.
In the embodiment of the invention, the position information, the Bluetooth device information and the NFC label information of certain intelligent device of the wifi hotspot sharing network of the mobile terminal to be shared can be simultaneously obtained, and only one or more environmental parameters of the intelligent device can be obtained. In the embodiment of the present invention, the environment parameters of a plurality of smart devices may also be obtained simultaneously, where the environment parameter of each smart device may be one or more, and is not specifically limited herein.
In the embodiment of the invention, the mobile terminal can be provided with an acquisition module for acquiring the position information of the intelligent device, the Bluetooth signal of the peripheral device and the NFC label information; the acquisition device can be independently arranged on the mobile terminal to finish the acquisition of the position information, the Bluetooth signal and the NFC label information.
Specifically, in the embodiment of the present invention, when wifi hotspot information of the mobile terminal is in an unopened state, the location information, the bluetooth signal, and the NFC tag information of the smart device may be detected at a set frequency, where the frequency may be 0.5min, 1min, and the like.
In the embodiment of the present invention, the location information may be current location information acquired by the mobile terminal through a map module of the mobile terminal, or may be location information of the intelligent device acquired by the acquisition module.
In the embodiment of the invention, the bluetooth signal may be a name of bluetooth of the smart device that once shares the wifi hotspot sharing network of the mobile terminal, and the NFC tag information may be information such as a name of an NFC tag on a support on which the smart device is placed.
And step S104, under the condition that the environmental parameters are matched with preset starting conditions, executing the relevant operation of starting the wifi hotspot sharing network of the mobile terminal.
In the embodiment of the invention, whether the environmental parameters are matched with the preset starting conditions or not is judged according to the environmental parameters obtained in the step, and if the environmental parameters are matched with the preset starting conditions, the related operation of starting the wifi hotspot sharing network of the mobile terminal is executed.
If the environmental parameters can represent that the mobile terminal is in the environment where the wifi hotspot sharing network should be opened, the wifi hotspot sharing network of the mobile terminal can be quickly started according to the environmental parameters.
In the embodiment of the invention, when the judgment result according to the environmental parameters is that the current environmental parameters are matched with the preset starting conditions, the related operation of starting the wifi hot spot sharing network of the mobile terminal is executed, so that the technical defect that in the traditional technical scheme, the wifi hot spot sharing network of the mobile terminal needs to be manually opened each time to enable the intelligent equipment in the current environment to share the wifi hot spot sharing network of the mobile terminal is effectively overcome, the technical scheme provides convenience for users, and the efficiency of connecting the intelligent equipment to the network is improved.
Example two
Referring to fig. 2, in an embodiment of the present invention, in step S204, if the environmental parameter matches a preset starting condition, the relevant operation of starting the wifi hotspot sharing network of the mobile terminal is executed, including:
s2041, starting a wifi hot spot sharing network of the mobile terminal;
in the embodiment of the invention, a storage module can be arranged on the mobile terminal and is used for storing the relationship among the environment parameters, the states of the wifi hotspot sharing networks of the mobile terminal and the opening times, if the number of times that the mobile terminal (such as the mobile terminal C) starts the wifi hotspot sharing network in a certain environment exceeds the preset times (such as the preset starting condition is 5 times), the mobile terminal C can execute the operation of quickly starting the wifi hotspot sharing network when entering the environment again, and simultaneously, the relationship among the environment parameters and the opening times is updated to the storage module.
According to the method for starting the wifi hotspot sharing network of the mobile terminal, when the same mobile terminal enters the same environment for multiple times, the wifi hotspot sharing network of the mobile terminal can be started according to the relation between the environment parameters stored in the storage module of the mobile terminal and the opening times. The technical problem that when the same mobile terminal enters the same environment for multiple times, the wifi hotspot sharing network is manually started, so that inconvenience in use is brought is effectively avoided.
Or
Step S2042, displaying prompt information for confirming whether the association with the environmental parameters is established;
in the application embodiment, the mobile terminal has a display function, for example, when the mobile terminal detects that the mobile terminal enters a new environment, prompt information whether to establish association with new environment parameters can be displayed.
Step S2044, receiving a first input of the prompt message from a user;
in the embodiment of the invention, after the prompt message for confirming whether the association with the environmental parameter is established is displayed, a first input of a user to the prompt message can be received, wherein the first input is used for representing the establishment of the association between the environmental parameter and the wifi hotspot sharing network function.
The first input may be implemented by clicking a relevant button on a screen of the mobile terminal, for example, displaying a yes button for confirming whether to establish the association with the environment parameter and a no button for non-confirmation while displaying a prompt message for confirming whether to establish the association with the environment parameter, and when it is required to establish the association, completing the first input by clicking the yes button.
Step S2046, responding to the first input, establishing association between the environment parameters and the wifi hotspot sharing network function, and starting the wifi hotspot sharing network function of the mobile terminal.
And after the mobile terminal receives the first input, executing the operation of establishing the association between the environment parameter and the wifi hotspot sharing network function, and after the mobile terminal establishes the association with the environment parameter, executing the operation of quickly starting the wifi hotspot sharing network when the mobile terminal moves to the current environment again.
And after the association between the environmental parameters of the current environment and the wifi hotspot sharing network function of the mobile terminal is established, the wifi hotspot sharing network function of the mobile terminal is started.
Specifically, when the association is established, a limitation may be made on the smart devices sharing the wifi hotspot sharing network of the mobile terminal, for example, only the smart devices related to the acquired environmental parameters are allowed to share the wifi hotspot sharing network; the limitation on the intelligent device sharing the wifi hotspot sharing network of the mobile terminal is also avoided, that is, the wifi hotspot sharing network of the mobile terminal can be shared as long as the intelligent device can obtain the wifi hotspot signal of the mobile terminal.
EXAMPLE III
Referring to fig. 3, in one embodiment of the invention, the method further comprises:
in the step S303, determining the security level of the wifi hotspot sharing network according to the environment parameters, wherein the security level comprises a quasi security level and a non-quasi security level; the method specifically comprises the following steps:
step S3031, acquiring a physical device identifier in the current environment;
and S3032, determining the security level of the wifi hotspot sharing network according to the physical equipment identifier.
In this embodiment of the present invention, step S304 includes:
step S3041, if the security level is a quasi security level, executing an operation of starting a wifi hotspot sharing network of the mobile terminal;
in the embodiment of the invention, if the security level of the current environment is determined to be the quasi security level according to the current environment parameters, the operation of starting the wifi hotspot sharing network of the mobile terminal is executed.
Step S3042, if the security level is a non-quasi security level, executing the following steps:
1) displaying prompt information for confirming whether to establish association with the environmental parameters;
prompt information whether to establish association with the environmental parameters or not can be displayed on a display screen of the mobile terminal, so that a user is reminded whether to establish association between the wifi hotspot sharing network function of the mobile terminal and the current environmental parameters or not through the mobile terminal.
2) Receiving a second input of the prompt message from the user;
in the embodiment of the invention, the second input is used for establishing association between the wifi hotspot sharing network of the mobile terminal and the environmental parameters of the current environment.
3) And responding to the second input, and executing the operation of starting the wifi hotspot sharing network of the mobile terminal.
And after the mobile terminal receives the second input, the operation of establishing the association between the wifi hotspot sharing network of the mobile terminal and the environmental parameters of the current environment is executed, and meanwhile, the mobile terminal can simultaneously execute the function of starting the wifi hotspot sharing network. Therefore, because the environmental parameters of the current environment are associated with the wifi hotspot sharing network of the mobile terminal, when the mobile terminal enters the current environment again, the mobile terminal can execute the operation of starting the wifi hotspot sharing network according to the identification result after acquiring the environmental parameters of the current environment.
In the embodiment of the present invention, after the wifi hotspot sharing network of the mobile terminal is started, the current environmental parameters, wifi hotspot information, and the number of successful connections are updated to the cloud server, where the environmental parameters further include: a physical device identification.
In the embodiment of the invention, the current environmental parameters, the wifi hotspot information and the connection success times are updated to the cloud server, so that convenience is provided for the subsequent start of the wifi hotspot sharing network of the mobile terminal: for a new mobile terminal, after the environment where the mobile terminal is located is determined to be a quasi-safe environment according to the data relation stored in the server, the operation of starting the wifi hotspot sharing network can be executed.
In the embodiment of the invention, the wifi hotspot information can be an SSID and a password of wifi.
As follows, a specific example is illustrated:
after the vehicles are enabled to share the wifi hotspot sharing network of the mobile terminal for a plurality of times, the mobile terminal sends prompt information whether to establish the association between the intelligent device in the environment and the wifi hotspot sharing network of the mobile terminal, and after receiving relevant input information of establishing the association, the mobile terminal establishes the association between the environmental parameters including the physical device identification (which can be but is not limited to the ID of the engine of the vehicle) of the vehicles and the wifi hotspot sharing network of the mobile terminal. And updating the current physical device identification, the SSID and the password of the wifi hotspot and the successful connection times to the cloud server. If before a connection succeeds, the relationship between the physical identifier of the current device, the SSID and password of the wifi hotspot, and the number of successful connections may be as shown in table 1:
Figure BDA0001746747970000071
TABLE 1
After the connection is successful and the current environment and the connection times are updated, the relationship among the physical identifier of the current device, the SSID and the password of the wifi hotspot, and the connection success times stored in the cloud server may be as shown in table 2:
Figure BDA0001746747970000072
TABLE 2
In the embodiment of the invention, the cloud server divides the security level according to the acquired environment parameters, for example, the type of the vehicle, and when the physical device identifier (which may be but is not limited to the ID of the engine) of the vehicle acquired by another mobile terminal or an independent acquisition module in a new environment indicates that the engine is an engine produced by a regular manufacturer, the security level of the current environment can be divided into the quasi-security level. After the current environment is determined to be the environment with the quasi-security level, the wifi hotspot sharing network of the mobile terminal can be started:
if a relation database of the PASSAT vehicle and the VIVO mobile phone exists in the cloud server, and when another new VIVO mobile phone detects another PASSAT vehicle, the new VIVO mobile phone can be considered to be in a quasi-safe environment, and a wifi hotspot sharing network of the new VIVO mobile phone is started.
In the embodiment of the invention, the association between the new VIVO mobile phone and the new PASSAT vehicle can be established while the wifi hotspot sharing network function of the new VIVO mobile phone is started under the quasi-security environment, for the sake of security, a prompt message can be sent before the association is established, the prompt message prompts the judgment result of the server to the user, and after the confirmation message is received, the association is established and the new PASSAT vehicle is enabled to share the wifi hotspot sharing network of the new VIVO mobile phone.
And if the security level is a non-quasi security level, displaying prompt information for confirming whether to establish association with the environment parameter, popping up a prompt whether to start the wifi hotspot sharing network, and after receiving second input of the prompt information, responding to the second input and executing operation for starting the wifi hotspot sharing network function of the mobile terminal.
Correspondingly, for the vehicle-mounted device, when the obtained physical device identifier represents that the vehicle of the user is a "PASSAT" vehicle, but the obtained physical device identifier (such as an ID of an engine) cannot be obtained by querying in a popular server, that is, it cannot be proved that the engine of the PASSAT vehicle is an original engine of a mass manufacturer, the environment is a non-quasi-secure environment, at this time, a prompt message similar to "whether the environment is the non-quasi-secure environment and association is continuously established" may be sent, and after a second input is received, the operation of starting the wifi hotspot sharing network of the mobile terminal is executed.
In the embodiment of the invention, when the wifi hotspot sharing network of the mobile terminal is successfully shared by the intelligent device, the following steps can be executed:
a storage module is arranged at the mobile terminal and used for storing the relationship between the environmental parameters, the open state of the wifi hotspot sharing network and the successful connection times, and the relationship can be specifically shown in table 3:
Figure BDA0001746747970000081
Figure BDA0001746747970000091
TABLE 3
And when the connection times reach the preset times, storing the relationship among the environment parameters, the opening state of the wifi hotspot sharing network, the wifi hotspot information and the connection success times to the cloud server, and when a new mobile terminal enters the environment, directly judging whether to rapidly start the wifi hotspot sharing network of the mobile terminal according to the data which is stored in the cloud server and represents the habit of the user.
In the embodiment of the invention, in the cloud server, a time period for the mobile terminal to start the wifi hotspot sharing network can be stored, for example, the time period is half an hour. Such as: mobile terminal a has the habit of initiating a wifi hotspot sharing network at some geographical location (e.g., home) for some period of time (e.g., 19:00-19: 30). However, due to some reason, the mobile terminal a is damaged, but the cloud server stores a corresponding relationship between the environment parameters and the connection times, when a new mobile terminal B moves into the environment in the time period (for example, 19:00-19:30), the smart device based on the geographic location has a large demand for the wifi hotspot sharing network (for example, when a certain smart device frequently opens the wifi hotspot sharing network at home after work), and when no other mobile terminal starts the wifi hotspot sharing network in the environment at present, the new mobile terminal is reminded whether to establish association with the current environment. And after the association is established, updating the new relationship among the environment parameter, the opening state of the wifi hotspot sharing network, the wifi hotspot information and the connection success times to the cloud server. Specifically, it can be seen from table 4:
Figure BDA0001746747970000092
TABLE 4
Through setting at the mobile terminal, the SSID of the wifi hotspot of the mobile terminal B can be set to wifi _ free as well, and the password of the wifi of the mobile terminal B is set to 253012. Thus, compared with the mobile terminal a, only the number of times of connection success is different, that is, since the mobile terminal B is a new mobile terminal which starts the wifi hotspot sharing network in the current environment, the number of times of opening the wifi hotspot sharing network is "1".
According to the method for starting the wifi hotspot sharing network provided by the embodiment of the invention, when a new mobile terminal enters an environment of other mobile terminals for starting the wifi hotspot sharing network at a high frequency, the wifi hotspot sharing network can be started according to environmental parameters so that peripheral intelligent devices can share the wifi hotspot sharing network, and great convenience is provided for starting the wifi hotspot sharing network of the mobile terminal.
Based on the same idea as the method for starting the wifi hotspot sharing network provided by the embodiment of the present invention, an embodiment of the present invention further provides a device for starting the wifi hotspot sharing network, the device is applied to a mobile terminal having at least a function of the wifi hotspot sharing network, fig. 4 shows a schematic structural diagram of the device for starting the wifi hotspot sharing network provided by the embodiment of the present invention, and the device shown in fig. 4 includes:
the obtaining module 42 is configured to obtain a current environment parameter when the wifi hotspot sharing network function is in an inactivated state; the environmental parameter includes at least one of: location information, detected bluetooth device information, and detected NFC tag information;
and the execution module 44 is configured to execute the relevant operation of starting the wifi hotspot sharing network of the mobile terminal under the condition that the environment parameter matches a preset starting condition.
Optionally, the execution module 44 includes,
the first starting unit is used for starting a wifi hotspot sharing network of the mobile terminal;
the first display unit is used for displaying prompt information used for confirming whether the association with the environment parameter is established or not;
the first receiving unit is used for receiving first input of the prompt message by a user;
and the first association establishing unit is used for executing the association establishment of the environmental parameters and the wifi hotspot sharing network function and starting the wifi hotspot sharing network function of the mobile terminal.
Optionally, the system further comprises a determining module, specifically configured to,
determining the security level of the wifi hotspot sharing network according to the environment parameters: the security levels comprise a quasi-security level and a non-quasi-security level;
the execution module 44 includes:
the second starting unit is used for executing the operation of starting the wifi hotspot sharing network of the mobile terminal if the security level is the quasi security level;
the second display unit is used for displaying prompt information used for confirming whether the association with the environment parameter is established;
the second receiving unit is used for receiving second input of the prompt message from the user;
and the second association establishing unit is used for establishing association between the environmental parameters and the wifi hotspot sharing network function and starting the wifi hotspot sharing network function of the mobile terminal.
It is noted that the first enabling unit and the second enabling unit may be relatively independent enabling units, or may be one enabling unit that performs the enabling of the wifi hot spot sharing network of the mobile terminal according to different situations, which is not specifically limited herein, and the same situation applies to the first display unit and the second display unit, the first receiving unit and the second receiving unit, and the first association establishing unit and the second association establishing unit.
Optionally, the obtaining module 42 is further configured to:
acquiring a physical device identifier of a physical device in a current environment;
and the judgment module is used for determining the security level of the wifi hotspot sharing network according to the physical identification.
Optionally, the method for starting a wifi hotspot sharing network device of the mobile terminal further includes:
the database updating module is used for updating the current environmental parameters, the wifi hotspot information and the connection success times to the cloud server after the wifi hotspot sharing network of the mobile terminal is started, and the environmental parameters further comprise: a physical device identification.
The device for starting the wifi hot spot sharing network provided by the embodiment of the present invention implements each process of the method for starting the wifi hot spot sharing network in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
According to the device for starting the wifi hotspot sharing network provided by the embodiment of the invention, when the wifi hotspot sharing network function of the mobile terminal is in an unopened state, the acquisition module acquires the current environmental parameters, and the execution module is used for executing the relevant operation of starting the wifi hotspot sharing network of the mobile terminal under the condition that the environmental parameters are matched with the preset starting conditions. In the embodiment of the invention, when the acquired environmental parameters meet the preset starting conditions for starting the wifi hotspot sharing network of the mobile terminal, the execution module executes the related operation for starting the wifi hotspot sharing network of the mobile terminal.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 500 shown in fig. 5 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, and the like.
In the embodiment of the present invention, the memory 509 stores therein a computer program, and when the computer program is executed by the processor 510, the following steps can be implemented:
when the wifi hotspot sharing network function is not started, acquiring current environmental parameters; the environmental parameter includes at least one of: location information, detected bluetooth device information, and detected NFC tag information;
and under the condition that the environmental parameters are matched with preset starting conditions, executing the relevant operation of starting the wifi hotspot sharing network of the mobile terminal.
Optionally, when executed by the processor 510, the computer program performs operations related to starting the wifi hotspot sharing network of the mobile terminal in case that the environmental parameter matches a preset starting condition, including:
enabling a wifi hotspot sharing network function of the mobile terminal; alternatively, the first and second electrodes may be,
displaying prompt information for confirming whether to establish association with the environmental parameters;
receiving a first input of the prompt message from a user;
responding to the first input, establishing association between the environment parameter and a wifi hotspot sharing network function, and enabling the wifi hotspot sharing network function of the mobile terminal.
Optionally, when the computer program is executed by the processor 510, the method further comprises:
determining the security level of the wifi hotspot sharing network according to the environment parameters, wherein the security level comprises a quasi security level and a non-quasi security level;
under the condition that the environmental parameters are matched with preset starting conditions, executing relevant operations of starting the wifi hotspot sharing network of the mobile terminal, wherein the operations comprise:
if the security level is a quasi security level, executing the operation of starting the wifi hotspot sharing network of the mobile terminal;
if the security level is a non-quasi security level, then:
displaying prompt information for confirming whether to establish association with the environmental parameters;
receiving a second input of the prompt message from the user;
and responding to the second input, and executing the operation of starting the wifi hotspot sharing network of the mobile terminal.
Optionally, the environment parameters further comprise physical device identification when the computer program is executed by the processor 510;
the determining the security level of the wifi hotspot sharing network according to the environment information comprises:
acquiring a physical device identifier in the current environment;
and determining the security level of the wifi hotspot sharing network according to the physical equipment identifier.
Optionally, when executed by the processor 510, after the mobile terminal enables the wifi hotspot sharing network function, the computer program updates the current environmental parameters, the wifi hotspot information, and the number of successful connections to the cloud server, where the environmental parameters further include: a physical device identification.
According to the mobile terminal provided by the embodiment of the invention, when the function of the wifi hotspot sharing network of the mobile terminal is in an unopened state, the current environmental parameter is obtained, whether the preset starting condition of the wifi hotspot sharing network of the mobile terminal is met or not is determined according to the environmental parameter, and when the environmental parameter meets the preset starting condition of the wifi hotspot sharing network of the mobile terminal, the relevant operation of starting the wifi hotspot sharing network of the mobile terminal is executed. In the embodiment of the invention, the wifi hotspot sharing network of the mobile terminal is quickly started according to the environmental parameters, so that the technical problems that when the wifi hotspot sharing network of the mobile terminal is not started, a user needs to manually start the wifi hotspot sharing network of the mobile terminal every time, the inconvenience of starting the wifi hotspot sharing network is caused, and the like are solved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 5609 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 510, a memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program is executed by the processor 510 to implement each process of the above-mentioned wifi hotspot sharing network starting method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
Further, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements each process of the above-mentioned method for starting a wifi hotspot sharing network, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for starting a wifi hotspot sharing network is applied to a mobile terminal with a wifi hotspot sharing network function, and is characterized by comprising the following steps:
when the wifi hotspot sharing network function is in an unopened state, acquiring the current environmental parameters at a set frequency; the environmental parameters include: location information, detected bluetooth device information, and detected NFC tag information;
under the condition that the environmental parameters are matched with preset starting conditions, executing the relevant operation of starting the wifi hotspot sharing network of the mobile terminal;
the method further comprises the following steps:
determining the security level of the wifi hotspot sharing network according to the environment parameters, wherein the security level comprises a quasi security level and a non-quasi security level;
under the condition that the environmental parameters are matched with preset starting conditions, executing relevant operations of starting the wifi hotspot sharing network of the mobile terminal, wherein the operations comprise:
if the security level is a quasi security level, executing the operation of starting the wifi hotspot sharing network of the mobile terminal;
if the security level is a non-quasi security level, then:
displaying prompt information for confirming whether to establish association with the environmental parameters;
receiving a second input of the prompt message from the user;
and responding to the second input, and executing operation for enabling the wifi hotspot sharing network function of the mobile terminal.
2. The method according to claim 1, wherein the performing, in the case that the environmental parameter matches a preset starting condition, a relevant operation of starting a wifi hotspot sharing network of the mobile terminal includes:
enabling a wifi hotspot sharing network function of the mobile terminal; alternatively, the first and second electrodes may be,
displaying prompt information for confirming whether to establish association with the environmental parameters;
receiving a first input of the prompt message from a user;
responding to the first input, establishing association between the environment parameter and a wifi hotspot sharing network function, and enabling the wifi hotspot sharing network function of the mobile terminal.
3. The method of claim 1, wherein the environmental parameters further include a physical device identification;
the determining the security level of the wifi hotspot sharing network according to the environmental parameters comprises:
acquiring a physical device identifier in the current environment;
and determining the security level of the wifi hotspot sharing network according to the physical equipment identifier.
4. The method of claim 1, comprising:
after the mobile terminal starts the wifi hotspot sharing network function, updating the current environmental parameters, wifi hotspot information and the connection success times to the cloud server, wherein the environmental parameters further comprise: a physical device identification.
5. The utility model provides a start device of wifi focus shared network, is applied to the mobile terminal who has wifi focus shared network function, its characterized in that includes:
the acquisition module is used for acquiring the current environmental parameters at a set frequency when the wifi hotspot sharing network function is not started; the environmental parameters include: location information, detected bluetooth device information, and detected NFC tag information;
the execution module is used for executing the relevant operation of starting the wifi hotspot sharing network of the mobile terminal under the condition that the environmental parameters are matched with the preset starting conditions;
the device further comprises a judging module for:
determining the security level of the wifi hotspot sharing network according to the environment parameters: the security levels comprise a quasi-security level and a non-quasi-security level;
the execution module includes:
the second starting unit is used for executing the operation of starting the wifi hotspot sharing network of the mobile terminal if the security level is the quasi security level;
the second display unit is used for displaying prompt information used for confirming whether the association with the environment parameter is established;
the second receiving unit is used for receiving second input of the prompt message from the user;
and the second association establishing unit is used for executing the association establishment of the environmental parameters and the wifi hotspot sharing network function and starting the wifi hotspot sharing network function of the mobile terminal.
6. The apparatus of claim 5, wherein the execution module comprises:
the first starting unit is used for starting a wifi hotspot sharing network of the mobile terminal;
the first display unit is used for displaying prompt information used for confirming whether the association with the environment parameter is established or not;
the first receiving unit is used for receiving first input of the prompt message by a user;
and the first association establishing unit is used for executing the association establishment of the environmental parameters and the wifi hotspot sharing network function and starting the wifi hotspot sharing network function of the mobile terminal.
7. The apparatus of claim 5, wherein the obtaining module is further configured to obtain an identifier of a physical device in a current environment;
and the judgment module is used for determining the security level of the wifi hotspot sharing network according to the physical equipment identifier.
8. The apparatus of claim 5, further comprising:
the database updating module is used for updating the current environmental parameters, the wifi hotspot information and the connection success times to the cloud server after the mobile terminal starts the wifi hotspot sharing network function, and the environmental parameters further comprise: a physical device identification.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of initiating a wifi hotspot sharing network according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, carries out the steps of the method of launching a wifi hotspot sharing network according to any one of claims 1 to 4.
CN201810846594.6A 2018-07-27 2018-07-27 Method and device for starting wifi hotspot sharing network Active CN108924911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810846594.6A CN108924911B (en) 2018-07-27 2018-07-27 Method and device for starting wifi hotspot sharing network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810846594.6A CN108924911B (en) 2018-07-27 2018-07-27 Method and device for starting wifi hotspot sharing network

Publications (2)

Publication Number Publication Date
CN108924911A CN108924911A (en) 2018-11-30
CN108924911B true CN108924911B (en) 2021-07-06

Family

ID=64418899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810846594.6A Active CN108924911B (en) 2018-07-27 2018-07-27 Method and device for starting wifi hotspot sharing network

Country Status (1)

Country Link
CN (1) CN108924911B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996335B (en) * 2019-11-25 2022-09-02 维沃移动通信有限公司 Orientation method of radiation area and electronic equipment
CN111246546A (en) * 2020-01-19 2020-06-05 深圳拓邦股份有限公司 Networking working method of off-line electric embedded equipment
CN112333683A (en) * 2020-11-27 2021-02-05 北京小米移动软件有限公司 Hotspot sharing method and device, mobile terminal and storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8761064B2 (en) * 2010-04-14 2014-06-24 Qualcomm Incorporated Power savings through cooperative operation of multiradio devices
US8681741B1 (en) * 2010-05-07 2014-03-25 Qualcomm Incorporated Autonomous hybrid WLAN/GPS location self-awareness
KR101976034B1 (en) * 2012-10-30 2019-05-09 에스케이플래닛 주식회사 System and method for providing tethering using near field communication
CN103888488A (en) * 2012-12-20 2014-06-25 三星电子(中国)研发中心 WIFI-based data sharing method
CN104244239A (en) * 2013-06-06 2014-12-24 中兴通讯股份有限公司 Mobile hotspot starting device, method and system
CN103619077A (en) * 2013-11-26 2014-03-05 深圳市诺威达科技有限公司 Method for sharing WIFI of mobile terminal
CN105323757B (en) * 2014-06-27 2020-09-15 中兴通讯股份有限公司 Anti-network-rubbing wireless routing equipment and method
US9220123B1 (en) * 2014-07-10 2015-12-22 International Business Machines Corporation Peer-to-peer sharing of network resources
CN105610842B (en) * 2015-12-30 2019-04-02 Oppo广东移动通信有限公司 A kind of WIFI hot spot cut-in method and mobile device
CN105636176A (en) * 2016-03-24 2016-06-01 北京小米移动软件有限公司 Network sharing method and device
CN106059780A (en) * 2016-05-05 2016-10-26 广东小天才科技有限公司 Method and system of sharing traffic between mobile terminals
CN106211164A (en) * 2016-07-28 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Terminal network changing method, terminal network switching device and terminal
CN107635231A (en) * 2017-09-12 2018-01-26 中国联合网络通信集团有限公司 Control method, device and the mobile terminal of focus WIFI switches
CN107896371A (en) * 2017-11-08 2018-04-10 深圳天珑无线科技有限公司 A kind of data traffic sharing method, mobile device and storage device

Also Published As

Publication number Publication date
CN108924911A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108845853B (en) Application program starting method and mobile terminal
CN107222613B (en) Display method and terminal
CN108279948B (en) Application program starting method and mobile terminal
CN110972334A (en) Bluetooth pairing connection method and device and readable storage medium
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN108391008B (en) Message reminding method and mobile terminal
CN109521684B (en) Household equipment control method and terminal equipment
CN110750189B (en) Icon display method and device
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN108282759B (en) Service processing method and mobile communication terminal
CN108924911B (en) Method and device for starting wifi hotspot sharing network
CN108009031B (en) Application program control method and mobile terminal
CN108008892B (en) Function starting method and terminal
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN111107223B (en) Message processing method and electronic equipment
CN109982273B (en) Information reply method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN111343695A (en) Network connection method, first electronic device, and medium
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN109151741B (en) Multimedia message receiving method and terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN111313114B (en) Charging method and electronic equipment
CN110266885B (en) Binding method of terminal and terminal
CN108512929B (en) Proxy server setting method and mobile 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
GR01 Patent grant