CN108601063A - Personal hot spot implementation method and Related product - Google Patents
Personal hot spot implementation method and Related product Download PDFInfo
- Publication number
- CN108601063A CN108601063A CN201810195230.6A CN201810195230A CN108601063A CN 108601063 A CN108601063 A CN 108601063A CN 201810195230 A CN201810195230 A CN 201810195230A CN 108601063 A CN108601063 A CN 108601063A
- Authority
- CN
- China
- Prior art keywords
- hot spot
- coordinate
- current location
- office
- flow
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
This application provides a kind of implementation methods and Related product of personal hot spot, and described method includes following steps:When opening personal hot spot, the selection prompt of shared model or unshared pattern is exported;It such as determines selection shared model, starts pre-loaded shared flow and realize personal hot spot;It such as determines and selects unshared pattern, start pre-loaded unshared flow and realize personal hot spot.Technical solution provided by the present application has the advantages that user experience is high.
Description
Technical field
This application involves terminal device and fields of communication technology, and in particular to a kind of individual's hot spot implementation method and correlation
Product.
Background technology
In the prior art, mobile terminal (such as mobile phone, tablet computer) has become user's first choice and frequency of use highest
Electronic device.With universal, the Wireless LAN (English of smart mobile phone:Wireless Local Area Networks,
wlan);It belongs to convenient network data transmission system, it realizes the transmission to network data using Radio Transmission Technology.
Wifi (English:Wireless fidelity, Wireless Fidelity) hot spot is commonly called as hot spot, and it is GPRS, 3G or 4G letter for receiving terminal
It number is converted into the technology that wifi signals are sent out, terminal there must be wireless aps (English:Access point, access point) function,
It can realize hot spot.
Existing terminal can not select the type of network insertion after opening hot spot, reduce user experience.
Apply for content
The embodiment of the present application provides a kind of personal hot spot implementation method and Related product, can allow use when opening hot spot
Family selects the type of network insertion, improves user experience.
In a first aspect, the embodiment of the present application provides a kind of implementation method of personal hot spot, described method includes following steps:
When opening personal hot spot, the selection prompt of shared model or unshared pattern is exported;
It such as determines selection shared model, starts pre-loaded shared flow and realize personal hot spot;Such as determine that selection is non-total
Pattern is enjoyed, starts pre-loaded unshared flow and realizes personal hot spot;
The shared flow is:The flow of real-time performance individual's hot spot is accessed by mobile communications network;It is described unshared
Flow is:The flow of real-time performance individual's hot spot is accessed by WLAN.
Second aspect, provides a kind of electronic device, and the electronic device includes:Output module, application processor and logical
Believe module, wherein the communication module, the output module are connect by least one circuit with application processor;
The output module, the selection prompt for when opening personal hot spot, exporting shared model or unshared pattern;
The application processor, for as determined selection shared model, it is personal to start pre-loaded shared flow realization
Hot spot;It such as determines and selects unshared pattern, start pre-loaded unshared flow and realize personal hot spot;
The shared flow is:The flow of real-time performance individual's hot spot is accessed by mobile communications network;It is described unshared
Flow is:The flow of real-time performance individual's hot spot is accessed by WLAN.
The third aspect provides a kind of computer readable storage medium, computer journey of the storage for electronic data interchange
Sequence, wherein the computer program makes computer execute the method that first aspect provides.
Fourth aspect, provides a kind of computer program product, and the computer program product includes storing computer journey
The non-transient computer readable storage medium of sequence, the computer program are operable to that computer is made to execute first aspect offer
Method.
Implement the embodiment of the present application, has the advantages that:
As can be seen that technical solution provided by the present application provides shared model or unshared pattern, correspond to respectively
WLAN realizes that personal hot spot and mobile network realize personal hot spot, and when opening personal hot spot, and output prompt is to prompt
User selects, then user is in the personal hot spot of selection, you can by the determination being perfectly clear is provided in a manner of WLAN
Personal hot spot still realizes personal hot spot by mobile communications network, can be improved in this way to avoid the waste to mobile network
The Experience Degree of user.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of structural schematic diagram of electronic device provided by the embodiments of the present application.
Fig. 1 a are that a kind of personal hot spot of mobile terminal opens page schematic diagram.
Fig. 1 b are the page schematic diagram after a kind of personal hot spot of mobile terminal is opened.
Fig. 2 is a kind of method flow schematic diagram of the realization of individual's hot spot disclosed in the embodiment of the present application.
Fig. 3 a are a kind of flow diagrams accessing real-time performance individual's hot spot by WLAN of the embodiment of the present application.
Fig. 3 b are a kind of flow diagrams accessing real-time performance individual's hot spot by mobile network of the embodiment of the present application.
Fig. 4 is a kind of structural schematic diagram of electronic device provided by the embodiments of the present application.
Fig. 5 is a kind of structural schematic diagram of mobile phone disclosed in the embodiment of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen
Please in embodiment, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall in the protection scope of this application.
Term " first ", " second ", " third " in the description and claims of this application and the attached drawing and "
Four " etc. be for distinguishing different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process of series of steps or unit, method, be
The step of system, product or equipment are not limited to list or unit, but further include the steps that optionally not listing or list
Member, or further include optionally for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
In the method that first aspect provides, the unshared flow includes:
It determines that WLAN is opened, connects the access point for the WLAN that can surf the Internet, open hot spot and realize that WLAN access real-time performances are personal
Hot spot.
In the method that first aspect provides, the shared flow includes:
It determines that mobile network opens, connects the access point for the mobile network that can be surfed the Internet, open hot spot and realize that mobile network connects
Enter real-time performance individual's hot spot.
In the method that first aspect provides, the connection can surf the Internet the access point of WLAN, including:
It executes single pass and obtains access point AP lists, the AP lists include:Scan the obtained title of multiple AP with
And signal quality;
The coordinate for obtaining current location determines whether current location is in or office, such as according to the seat according to the coordinate
Mark determines that the current location is in, and selects corresponding first AP of family to send access request from AP lists and realizes access, such as foundation
The coordinate determines the current location in office, selects corresponding 2nd AP of office to send access request from AP lists and realizes
Access.
In the method that first aspect provides, the connection can surf the Internet the access point of WLAN, including:
The coordinate for obtaining current location determines whether current location is in or office, such as according to the seat according to the coordinate
Mark determines that the current location is in, and the title and password of corresponding first AP of extraction man send access request to the first AP and realize
Access such as determines the current location in office, the title and password of corresponding 2nd AP of extraction office according to the coordinate
Access request, which is sent, to the 2nd AP realizes access.
In the method that first aspect provides, the method further includes:
Such as determine that the current location in office, determines the temperature of the temperature sensor detection of electronic equipment according to the coordinate
Whether it is more than given threshold, such as determines that the temperature is more than given threshold, the signal strength of predetermined angle is detected, such as the signal strength
More than given threshold, determine that the 2nd AP has access to network, the title of corresponding 2nd AP of extraction office and password to
2nd AP sends access request and realizes access, if the signal strength is less than given threshold, does not access the 2nd AP.
In the electronic device that second aspect provides, the unshared flow includes:
It determines that WLAN is opened, connects the access point for the WLAN that can surf the Internet, open hot spot and realize that WLAN access real-time performances are personal
Hot spot.
In the electronic device that second aspect provides, the shared flow includes:
It determines that mobile network opens, connects the access point for the mobile network that can be surfed the Internet, open hot spot and realize that mobile network connects
Enter real-time performance individual's hot spot.
In the electronic device that second aspect provides, the application processor is connect specifically for executing single pass
Access point AP lists, the AP lists include:Scan the title and signal quality of obtained multiple AP;Obtain the seat of current location
Mark determines that whether current location is in or office, such as determines that the current location is in, from AP according to the coordinate according to the coordinate
It selects corresponding first AP of family to send access request in list and realizes access, such as determine that the current location is being handled official business according to the coordinate
Room selects corresponding 2nd AP of office to send access request from AP lists and realizes access.
In the electronic device that second aspect provides, the application processor is specifically used for obtaining the coordinate of current location,
It determines that whether current location is in or office, such as determines that the current location is according to the coordinate according to the coordinate, extracts house
The title and password of corresponding first AP sends access request to the first AP and realizes access, such as determines that this is current according to the coordinate
Position sends access request realization to the 2nd AP and connects in office, the title and password of corresponding 2nd AP of extraction office
Enter.
In the electronic device that second aspect provides, the application processor is specifically used for such as determining according to the coordinate and be somebody's turn to do
Current location determines whether the temperature of the temperature sensor detection of electronic equipment is more than given threshold, and such as determining should in office
Temperature is more than given threshold, detects the signal strength of predetermined angle, if the signal strength is more than given threshold, determines the 2nd AP
Network is had access to, the title and password of corresponding 2nd AP of extraction office send access request realization to the 2nd AP and connect
Enter, if the signal strength is less than given threshold, does not access the 2nd AP.
Electronic device in the application may include smart mobile phone (such as Android phone, iOS mobile phones, Windows
Phone mobile phones etc.), tablet computer, palm PC, laptop, mobile internet device (MID, Mobile Internet
Devices) or Wearable etc., above-mentioned electronic device are only citings, and non exhaustive, are filled including but not limited to above-mentioned electronics
It sets, for convenience of description, above-mentioned electronic device is known as user equipment (User equipment, UE) in following example.
Certainly in practical applications, above-mentioned user equipment is also not necessarily limited to above-mentioned realization form, such as can also include:Intelligent vehicle-carried end
End, computer equipment etc..
Referring to Fig. 1, Fig. 1, which is the embodiment of the present application, provides a kind of electronic device, referring to Fig. 1, Fig. 1 is of the invention real
The structural schematic diagram that example provides a kind of electronic device 100 is applied, above-mentioned electronic device 100 includes:Shell 110, circuit board 120,
The circuit board 120, the battery is arranged on the shell 110 in battery 130, cover board 140, touching display screen 150, antenna 170
130 and the cover board 140, the circuit board 120 is additionally provided with the circuit for connecting the touching display screen 150;The circuit board
120 can also include:Application processor AP190, modem 180.Above-mentioned modem 180 can be specifically integrated in
In AP190, certainly in practical applications, can also individually it be arranged, which passes through at least one circuit and the modulatedemodulate
It can be single antenna to adjust 180 connections, above-mentioned antenna 170, certainly in practical applications, or double antenna or more days
Line can form aerial array when for more antennas, and the application specific implementation mode does not limit to the specific table of above-mentioned antenna
Existing form.
Above-mentioned touching display screen is specifically as follows Thin Film Transistor-LCD (Thin Film Transistor-
Liquid Crystal Display, TFT-LCD), light emitting diode (Light Emitting Diode, LED) display screen, have
Machine light emitting diode (Organic Light-Emitting Diode, OLED) display screen etc..
For the intelligent terminal of Android operation system, for network hotspot, STA+SAP (station+Soft are generally supported
Access Point, base station+soft access point) co-existence schemes, you can with the connection network of WLAN is (such as intelligent by this equipment
Mobile phone, tablet computer or personal digital assistant) open hot spot be shared with miscellaneous equipment.But shape coexists in the STA+SAP of system
State acquiescence can only be determined when system version compiles, and can not be set at dynamic in frame, be caused to execute when unlatching coexists
Different execution state flows.When needing real personal hot spot and the interaction separation of wlan network sharing functionality, it is difficult to from executing stream
Journey separates personal hot spot and the interaction of wlan network sharing functionality.
Illustrate below by an actual example, a is that a kind of personal hot spot of mobile terminal opens the page refering to fig. 1
Schematic diagram before personal hot spot is opened in selection, accesses network, refering to fig. 1 b if the upper left corners Fig. 1 a are shown by wifi
For the page schematic diagram after a kind of personal hot spot unlatching of mobile terminal unlatching is shown in as shown in the upper left corner of Fig. 1 b
After people's hot spot, it is modified to mobile communications network from pervious wifi accesses and accesses network.Variation according to Fig. 1 a and Fig. 1 b
As can be seen that for STA+SAP coexisting states, for user in the individual of wlan, the mode for accessing network is (general from wifi modes
For fixed fee mode) it is altered to mobile communications network (generally flow charging mode) access network, and such variation is only
Only prompted in the very unconspicuous position in the upper left corner of full page, if user is not the variation of the very familiar page,
It is easy to be mistakenly considered individual's hot spot or original wifi access ways, this may result in the mobile communication flow of user in this way
A large amount of waste, influences the Experience Degree of user.
Referring to Fig.2, Fig. 2 provides a kind of personal hot spot implementation method, as shown in Fig. 2, this method is by mobile terminal execution,
The mobile terminal can be the mobile terminal of Android system, tablet computer, personal numerical value assistant, intelligent vehicle mounted terminal etc., be somebody's turn to do
Android system is specifically as follows, Android system and the other systems based on Android system exploitation.As shown in Fig. 2, this method packet
Include following steps:
Step S201, when opening personal hot spot, the selection prompt of shared model or unshared pattern is exported.
In above-mentioned steps S201 output selection shared model or unshared pattern prompt mode can there are many, example
Such as, in an alternative embodiment, selection shared model or unshared pattern can be shown by Pop-up message
Prompt.Certainly in another optional embodiment, selection shared model or non-total can be exported by a speech message
Enjoy the prompt of pattern.Certainly in practical applications, can also be by the way of some other, the application specific implementation mode is not
It is limited to the specific manifestation mode of above-mentioned prompt, such as selection shared model or unshared pattern can be exported by a vibrations
Prompt, for another example can by breath light flicker come export selection shared model or unshared pattern prompt.
Step S202, it such as determines selection shared model, starts pre-loaded shared flow and realize personal hot spot.
Step S203, it such as determines and selects unshared pattern, start pre-loaded unshared flow and realize personal hot spot.
Above-mentioned shared flow is specifically as follows:The flow of real-time performance individual's hot spot is accessed by mobile communications network, on
Unshared flow is stated to be specifically as follows:The flow of real-time performance individual's hot spot is accessed by WLAN.
Technical solution provided by the present application provides shared model or unshared pattern, corresponds to WLAN respectively and realizes individual
Hot spot and the personal hot spot of mobile network's realization, and when opening personal hot spot, output is prompted to prompt user to select,
So user is in the personal hot spot of selection, you can by the determination being perfectly clear is that personal hot spot or logical is provided in a manner of WLAN
It crosses mobile communications network and realizes personal hot spot, can improve the Experience Degree of user to avoid the waste to mobile network in this way.
Refering to Fig. 3 a, Fig. 3 a are a kind of schematic diagram for the flow accessing real-time performance individual's hot spot by WLAN, such as Fig. 3 a
Shown, this method can be executed by terminal, be included the following steps:
Step S301a, detection user is in setting page open first switch (i.e. WNS switches).
Step S302a, determine whether WLAN opens;
Step S303a, such as WLAN is not opened, and step S305a is executed after opening WLAN;
Step S304a, it determines whether WLAN connects access point AP, such as no execution step S305a, executes step in this way
S306a;
Step S305a, the AP for the WLAN that can surf the Internet is connected;
Step S306a, it opens hot spot and realizes that WLAN accesses real-time performance individual's hot spot.
Optionally, can the surf the Internet concrete methods of realizing of the AP of WLAN of above-mentioned connection may include:
Such as the AP for the WLAN for not receiving selection, executes single pass and obtain AP lists, which includes:Scanning obtains
Multiple AP title and signal quality;The coordinate for obtaining current location, determines whether current location is according to the coordinate
Or office, it such as determines that the current location is according to the coordinate, corresponding first AP of family is selected to send access from AP lists
Access is realized in request, such as determines the current location in office according to the coordinate, selection office corresponding the from AP lists
Two AP send access request and realize access.
The technical solution of the application combines the technical solution of positioning and scans the technical solution simplification WLAN of AP lists
AP access process, such as family or as office technology scene in;Such as stay at home, AP is generally a fixed AP,
Its title is also fixed, and AP lists at this time can carry out the title of the AP remarks or are labeled to the mark of the AP to show,
Conversely, same in office, the title of AP is relatively fixed, for the two scenes, for a user, selection access
AP be fixed, if user can not access its fixed AP, will not select to access other AP, or more
It states flow and determines that it is located at after family or office according to coordinate, just the request access position is corresponding directly from AP lists
AP, and the AP of family or office must be accessed repeatedly, for terminal, it centainly remains with password, is thus not necessarily to defeated
Enter password and be directly entered corresponding AP, and since the AP is fixed unique, so it does not have to carry out repeatedly from AP lists
The selection of AP.Reduce the input of corresponding password in this way.
Optionally, can the surf the Internet concrete methods of realizing of the AP of WLAN of above-mentioned connection may include:
Such as the AP for the WLAN for not receiving selection, the coordinate of current location is obtained, determines that current location is according to the coordinate
It is no to be in or office, such as determine that the current location is according to the coordinate, the title of corresponding first AP of extraction man and close
Code sends access request to the first AP and realizes access, such as determines that office in office, is extracted in the current location according to the coordinate
The title and password of corresponding 2nd AP sends access request to the 2nd AP and realizes access.
The technical solution of the application combines the technical solution of positioning and scans the technical solution simplification WLAN of AP lists
AP access process, such as family or as office technology scene in;Such as stay at home, AP is generally a fixed AP,
Its title is also fixed, and AP lists at this time can carry out the title of the AP remarks or are labeled to the mark of the AP to show,
Conversely, same in office, the title of AP is relatively fixed, for the two scenes, for a user, selection access
AP be fixed, if user can not access its fixed AP, will not select to access other AP, or more
It states flow and determines that it is located at after family or office according to coordinate, the corresponding AP in the position is accessed with regard to direct request, and for family
Or the AP of office must be accessed repeatedly, for terminal, it centainly remains with password, thus direct without inputting password
Into corresponding AP, and since the AP is fixed unique, the advantages of this flow, is that the access in these fixed positions is
It is directly accessed, without executing the scanning of a WLAN, corresponding AP can be selected with the direct basis position, simplify scanning
Flow realizes quickly accessing for WLAN.
Optionally, the above method can also include:
Such as determine that the current location in office, determines the temperature of the temperature sensor detection of electronic equipment according to the coordinate
Whether it is more than given threshold, such as determines that the temperature is more than given threshold, the signal strength of predetermined angle is detected, such as the signal strength
More than given threshold, determine that the 2nd AP has access to network, the title of corresponding 2nd AP of extraction office and password to
2nd AP sends access request and realizes access, if the signal strength is less than given threshold, does not access the 2nd AP.
For the scene of office, the position of AP is relatively fixed, and is generally set in desktop computer or fixed position,
The situations different from the technology scene of family are that for a user, position is also relatively fixed, generally in the station of office
Position, then after relatively-stationary two location determinations, the intensity of the signal of the access according to history can determine default
Angle, as long as determining whether the signal strength of the set angle is more than threshold value, can be determined in opposite two fixed positions
Whether the 2nd AP starts, without start WIFI scanning can also realize to the 2nd AP whether online is detected, keep away
Exempt from the case where the 2nd AP of access can not be accessed to occur, and this mode is not necessarily to execute the scanning of WIFI.
Refering to Fig. 3 b, Fig. 3 b are a kind of flow accessing real-time performance individual's hot spot by mobile communications network, such as Fig. 3 b
Shown, this method can be executed by terminal, be included the following steps:
Step S301b, detection user is setting page open second switch (i.e. mobile network switchs).
Step S302b, determine whether mobile network opens;
Step S303b, such as mobile network does not open, and step S305b is executed after opening mobile network;
Step S304b, it determines whether mobile network connects access point AP, such as no execution step S305b, executes step in this way
S306b;
Step S305b, the AP for the mobile network that can surf the Internet is connected;
Step S306b, it opens hot spot mobile communications network and accesses real-time performance individual's hot spot.
Refering to Fig. 4, Fig. 4 provides a kind of electronic device, and the electronic device includes:Output module 401, application processor
402 and communication module 403, wherein communication module 403, output module 401 pass through at least one circuit and application processor
402 connections;Above-mentioned output module 401 is specifically as follows:Loud speaker or touching display screen certainly in practical applications can be with
For other equipment, such as vibrating motor etc..
Output module 401, the selection prompt for when opening personal hot spot, exporting shared model or unshared pattern;
Application processor 402, for as determined selection shared model, starting pre-loaded shared flow and realizing personal heat
Point;It such as determines and selects unshared pattern, start pre-loaded unshared flow and realize personal hot spot;
The shared flow is:The flow of real-time performance individual's hot spot is accessed by mobile communications network;It is described unshared
Flow is:The flow of real-time performance individual's hot spot is accessed by WLAN.
Optionally, the application processor obtains access point AP lists, the AP lists specifically for executing single pass
Including:Scan the title and signal quality of obtained multiple AP;The coordinate for obtaining current location determines current according to the coordinate
Whether position is in or office, such as determines that the current location is according to the coordinate, and family corresponding the is selected from AP lists
One AP sends access request and realizes access, such as determines that the current location in office, selects to do from AP lists according to the coordinate
Corresponding 2nd AP in public room sends access request and realizes access.
The technical solution of the application combines the technical solution of positioning and scans the technical solution simplification WLAN of AP lists
AP access process, such as family or as office technology scene in;Such as stay at home, AP is generally a fixed AP,
Its title is also fixed, and AP lists at this time can carry out the title of the AP remarks or are labeled to the mark of the AP to show,
Conversely, same in office, the title of AP is relatively fixed, for the two scenes, for a user, selection access
AP be fixed, if user can not access its fixed AP, will not select to access other AP, or more
It states flow and determines that it is located at after family or office according to coordinate, the corresponding AP in the position is accessed with regard to direct request, and for family
Or the AP of office must be accessed repeatedly, for terminal, it centainly remains with password, thus direct without inputting password
Into corresponding AP, and since the AP is fixed unique, the advantages of this flow, is that the access in these fixed positions is
It is directly accessed, without executing the scanning of a WLAN, corresponding AP can be selected with the direct basis position, simplify scanning
Flow realizes quickly accessing for WLAN.
Optionally, the application processor is specifically used for obtaining the coordinate of current location, present bit is determined according to the coordinate
Set and whether be in or office, such as determine that the current location is according to the coordinate, the title of corresponding first AP of extraction man with
And password sends access request to the first AP and realizes access, such as determines the current location in office according to the coordinate, extraction is done
The title and password of corresponding 2nd AP in public room sends access request to the 2nd AP and realizes access.
Optionally, the application processor, specifically for such as determining that the current location in office, determines according to the coordinate
Whether the temperature of the temperature sensor detection of electronic equipment is more than given threshold, such as determines that the temperature is more than given threshold, detection
The signal strength of predetermined angle determines that the 2nd AP has access to network, extraction office if the signal strength is more than given threshold
The title and password of corresponding 2nd AP in room sends access request to the 2nd AP and realizes access, as the signal strength is less than setting
Threshold value does not access the 2nd AP.
For the scene of office, the position of AP is relatively fixed, and is generally set in desktop computer or fixed position,
The situations different from the technology scene of family are that for a user, position is also relatively fixed, generally in the station of office
Position, then after relatively-stationary two location determinations, the intensity of the signal of the access according to history can determine default
Angle, as long as determining whether the signal strength of the set angle is more than threshold value, can be determined in opposite two fixed positions
Whether the 2nd AP starts, without start WIFI scanning can also realize to the 2nd AP whether online is detected, keep away
Exempt from the case where the 2nd AP of access can not be accessed to occur, and this mode is not necessarily to execute the scanning of WIFI.
Fig. 5 shows the block diagram with the part-structure of the relevant mobile phone of mobile terminal provided by the embodiments of the present application.Ginseng
Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, sensor
950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, application processor 980, Yi Ji electricity
The components such as source 990.It will be understood by those skilled in the art that handset structure shown in Fig. 5 does not constitute the restriction to mobile phone, it can
To include either combining certain components or different components arrangement than illustrating more or fewer components.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
Input unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with
And the related key signals input of function control.Specifically, input unit 930 may include touching display screen 933, fingerprint identification device
931, face identification device 936, iris identification device 937 and other input equipments 932.Input unit 930 can also include
Other input equipments 932.Specifically, other input equipments 932 can include but is not limited to physical button, function key (such as sound
Measure control button, switch key etc.), it is trace ball, mouse, one or more in operating lever etc..Wherein,
Voicefrequency circuit 960, the selection prompt for when opening personal hot spot, exporting shared model or unshared pattern;
Application processor 980, for as determined selection shared model, starting pre-loaded shared flow and realizing personal heat
Point;It such as determines and selects unshared pattern, start pre-loaded unshared flow and realize personal hot spot;
The shared flow is:The flow of real-time performance individual's hot spot is accessed by mobile communications network;It is described unshared
Flow is:The flow of real-time performance individual's hot spot is accessed by WLAN.
Optionally, application processor 980 obtain access point AP lists, the AP lists specifically for executing single pass
Including:Scan the title and signal quality of obtained multiple AP;
The coordinate for obtaining current location determines whether current location is in or office, such as according to the seat according to the coordinate
Mark determines that the current location is in, and selects corresponding first AP of family to send access request from AP lists and realizes access, such as foundation
The coordinate determines the current location in office, selects corresponding 2nd AP of office to send access request from AP lists and realizes
Access.
Optionally, application processor 980 are additionally operable to obtain the coordinate of current location, current location are determined according to the coordinate
Whether be in or office, such as determine that the current location is according to the coordinate, the title of corresponding first AP of extraction man and
Password sends access request to the first AP and realizes access, such as determines the current location in office, extraction office according to the coordinate
The title and password of corresponding 2nd AP in room sends access request to the 2nd AP and realizes access.
Optionally, application processor 980, specifically for such as determining that the current location in office, determines according to the coordinate
Whether the temperature of the temperature sensor detection of electronic equipment is more than given threshold, such as determines that the temperature is more than given threshold, detection
The signal strength of predetermined angle determines that the 2nd AP has access to network, extraction office if the signal strength is more than given threshold
The title and password of corresponding 2nd AP in room sends access request to the 2nd AP and realizes access, as the signal strength is less than setting
Threshold value does not access the 2nd AP.
Application processor 980 is the control centre of mobile phone, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 920, and calls and be stored in memory 920
Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, using processing
Device 980 may include one or more processing units;Optionally, application processor 980 can integrate application processor and modulation /demodulation
Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into application processor 980.
In addition, memory 920 may include high-speed random access memory, can also include nonvolatile memory, example
Such as at least one disk memory, flush memory device or other volatile solid-state parts.
RF circuits 910 can be used for sending and receiving for information.In general, RF circuits 910 include but not limited to antenna, at least one
A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition,
RF circuits 910 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile
Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more
Location (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division
Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service
(Short Messaging Service, SMS) etc..
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of touching display screen, proximity sensor can when mobile phone is moved in one's ear, close touching display screen and/
Or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) acceleration
Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 960, loud speaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric
The transformed electric signal of the audio data received can be transferred to loud speaker 961 by road 960, and sound is converted to by loud speaker 961
Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960
It is changed to audio data, then audio data is played after application processor 980 handles, it is such as another to be sent to through RF circuits 910
Mobile phone, or audio data is played to memory 920 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 5 is shown
WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can not change as needed completely
Become in the range of the essence of application and omits.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, and optionally, power supply can pass through power supply pipe
Reason system and application processor 980 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
Although being not shown, mobile phone can also be including camera, bluetooth module, light compensating apparatus, light sensor etc., herein not
It repeats again.
As can be seen that by the embodiment of the present application, after collecting acceleration information, electronics is determined according to acceleration information
The state of device, when being determined as falling state, by camera acquire ground the first picture, then according to acceleration value with
And acquisition time obtains the distance on the ground of electronic device, the second picture for extracting electronic device (is specifically as follows outline drawing
Piece), this makes it possible to generate the 3D animations for dropping into ground with electronic device, improve the Experience Degree of user.
The embodiment of the present application also provides a kind of computer storage media, wherein computer storage media storage is for electricity
The computer program that subdata exchanges, it is any as described in above method embodiment which so that computer is executed
A kind of some or all of implementation method step of individual's hot spot.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of the implementation method of any type individual's hot spot described in method embodiment step.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to alternative embodiment, involved action and module not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of
Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of software program module.
If the integrated unit is realized in the form of software program module and sells or use as independent product
When, it can be stored in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application
Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory
May include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (12)
1. a kind of implementation method of individual's hot spot, which is characterized in that described method includes following steps:
When opening personal hot spot, the selection prompt of shared model or unshared pattern is exported;
It such as determines selection shared model, starts pre-loaded shared flow and realize personal hot spot;It such as determines and selects unshared mould
Formula starts pre-loaded unshared flow and realizes personal hot spot;
The shared flow is:The flow of real-time performance individual's hot spot is accessed by mobile communications network;The unshared flow
For:The flow of real-time performance individual's hot spot is accessed by WLAN.
2. according to the method described in claim 1, it is characterized in that, the unshared flow includes:
It determines that WLAN is opened, connects the access point for the WLAN that can surf the Internet, open hot spot and realize that WLAN accesses real-time performance individual's hot spot.
3. according to the method described in claim 1, it is characterized in that, the shared flow includes:
It determines that mobile network opens, connects the access point for the mobile network that can be surfed the Internet, open hot spot and realize that mobile network accesses net
Network realizes personal hot spot.
4. according to the method described in claim 2, the access point of WLAN it is characterized in that, the connection can surf the Internet, including:
It executes single pass and obtains access point AP lists, the AP lists include:Scan the title and letter of obtained multiple AP
Number quality;
The coordinate for obtaining current location determines whether current location is in or office according to the coordinate, such as true according to the coordinate
The fixed current location is in, and is selected corresponding first AP of family to send access request from AP lists and is realized access, such as according to the seat
Mark determines the current location in office, selects corresponding 2nd AP of office to send access request realization from AP lists and connects
Enter.
5. according to the method described in claim 2, the access point of WLAN it is characterized in that, the connection can surf the Internet, including:
The coordinate for obtaining current location determines whether current location is in or office according to the coordinate, such as true according to the coordinate
The fixed current location is in, and the title and password of corresponding first AP of extraction man send access request realization to the first AP and connect
Enter, such as determine the current location in office according to the coordinate, the title of corresponding 2nd AP of extraction office and password to
2nd AP sends access request and realizes access.
6. a kind of electronic device, which is characterized in that the electronic device includes:Output module, application processor and communication mould
Block, wherein the communication module, the output module are connect by least one circuit with application processor;
The output module, the selection prompt for when opening personal hot spot, exporting shared model or unshared pattern;
The application processor, for as determined selection shared model, starting pre-loaded shared flow and realizing personal hot spot;
It such as determines and selects unshared pattern, start pre-loaded unshared flow and realize personal hot spot;
The shared flow is:The flow of real-time performance individual's hot spot is accessed by mobile communications network;The unshared flow
For:The flow of real-time performance individual's hot spot is accessed by WLAN.
7. electronic device according to claim 6, which is characterized in that the unshared flow includes:
It determines that WLAN is opened, connects the access point for the WLAN that can surf the Internet, open hot spot and realize that WLAN accesses real-time performance individual's hot spot.
8. electronic device according to claim 6, which is characterized in that the shared flow includes:
It determines that mobile network opens, connects the access point for the mobile network that can be surfed the Internet, open hot spot and realize that mobile network accesses net
Network realizes personal hot spot.
9. electronic device according to claim 7, which is characterized in that
The application processor obtains access point AP lists specifically for executing single pass, and the AP lists include:It scans
The title and signal quality of the multiple AP arrived;Obtain current location coordinate, according to the coordinate determine current location whether
Family or office, such as determine that the current location is according to the coordinate, and the corresponding first AP transmissions of family is selected to connect from AP lists
Enter request and realize access, such as determines that the current location in office, selects office corresponding from AP lists according to the coordinate
2nd AP sends access request and realizes access.
10. electronic device according to claim 7, which is characterized in that
The application processor is specifically used for obtaining the coordinate of current location, determines whether current location is according to the coordinate
Or office, such as determine that the current location is according to the coordinate, the title of extraction corresponding first AP of family and password are to the
One AP sends access request and realizes access, such as determines the current location in office according to the coordinate, extraction office is corresponding
The title and password of 2nd AP sends access request to the 2nd AP and realizes access.
11. a kind of computer readable storage medium, which is characterized in that it stores the computer program for electronic data interchange,
Wherein, the computer program makes computer execute method as described in any one in claim 1-5.
12. a kind of computer program product, which is characterized in that the computer program product includes storing computer program
Non-transient computer readable storage medium, the computer program are operable to that computer is made to execute such as claim 1-5
Method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810195230.6A CN108601063B (en) | 2018-03-09 | 2018-03-09 | Personal hotspot realization method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810195230.6A CN108601063B (en) | 2018-03-09 | 2018-03-09 | Personal hotspot realization method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108601063A true CN108601063A (en) | 2018-09-28 |
CN108601063B CN108601063B (en) | 2021-08-24 |
Family
ID=63625853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810195230.6A Active CN108601063B (en) | 2018-03-09 | 2018-03-09 | Personal hotspot realization method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108601063B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866779A (en) * | 2020-07-13 | 2020-10-30 | Oppo广东移动通信有限公司 | Configuration method and device of hotspot mode, electronic equipment and storage medium |
CN113038627A (en) * | 2019-12-05 | 2021-06-25 | 华为技术有限公司 | File sharing method, mobile device and computer storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102843745A (en) * | 2012-07-26 | 2012-12-26 | 东莞宇龙通信科技有限公司 | Method of accessing to mobile hotspot and mobile terminals |
CN102883449A (en) * | 2012-09-21 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method, related terminals and system for implementing data sharing |
US20130045683A1 (en) * | 2011-08-15 | 2013-02-21 | Adam James Wang | Vehicle wireless hub |
CN103024929A (en) * | 2012-12-20 | 2013-04-03 | 惠州Tcl移动通信有限公司 | Mobile terminal and method for connecting wireless network based on mobile terminal |
US20140310407A1 (en) * | 2013-04-11 | 2014-10-16 | Huawei Technologies Co., Ltd. | Terminal device |
CN105657635A (en) * | 2014-11-28 | 2016-06-08 | 广州市动景计算机科技有限公司 | Terminal traffic sharing method and system |
CN105682211A (en) * | 2016-01-18 | 2016-06-15 | 浙江工业大学 | User access and power joint scheduling method based on packet switching in cellular traffic unloading network |
CN106454810A (en) * | 2016-09-14 | 2017-02-22 | 广东欧珀移动通信有限公司 | Hotspot establishing method and terminal equipment |
-
2018
- 2018-03-09 CN CN201810195230.6A patent/CN108601063B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130045683A1 (en) * | 2011-08-15 | 2013-02-21 | Adam James Wang | Vehicle wireless hub |
CN102843745A (en) * | 2012-07-26 | 2012-12-26 | 东莞宇龙通信科技有限公司 | Method of accessing to mobile hotspot and mobile terminals |
CN102883449A (en) * | 2012-09-21 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method, related terminals and system for implementing data sharing |
CN103024929A (en) * | 2012-12-20 | 2013-04-03 | 惠州Tcl移动通信有限公司 | Mobile terminal and method for connecting wireless network based on mobile terminal |
US20140310407A1 (en) * | 2013-04-11 | 2014-10-16 | Huawei Technologies Co., Ltd. | Terminal device |
CN105657635A (en) * | 2014-11-28 | 2016-06-08 | 广州市动景计算机科技有限公司 | Terminal traffic sharing method and system |
CN105682211A (en) * | 2016-01-18 | 2016-06-15 | 浙江工业大学 | User access and power joint scheduling method based on packet switching in cellular traffic unloading network |
CN106454810A (en) * | 2016-09-14 | 2017-02-22 | 广东欧珀移动通信有限公司 | Hotspot establishing method and terminal equipment |
Non-Patent Citations (2)
Title |
---|
刘洋: "开着WiFi分享热点", 《泡泡网原创分享》 * |
王敏: "Fingerprint定位方法中的接入点选择及位置估计研究", 《中国优秀硕士学位论文》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113038627A (en) * | 2019-12-05 | 2021-06-25 | 华为技术有限公司 | File sharing method, mobile device and computer storage medium |
CN113038627B (en) * | 2019-12-05 | 2022-09-16 | 华为技术有限公司 | File sharing method, mobile device and computer storage medium |
CN111866779A (en) * | 2020-07-13 | 2020-10-30 | Oppo广东移动通信有限公司 | Configuration method and device of hotspot mode, electronic equipment and storage medium |
CN111866779B (en) * | 2020-07-13 | 2021-11-16 | Oppo广东移动通信有限公司 | Configuration method and device of hotspot mode, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108601063B (en) | 2021-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106502826B (en) | Data backup and transmission method and mobile terminal | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN104837042B (en) | The coding method of digital multimedia data and device | |
CN106447836A (en) | Access control terminal binding method and related equipment | |
CN106817540A (en) | A kind of camera control method and equipment | |
CN107967129A (en) | Display control method and related product | |
CN106484326B (en) | A kind of data transmission processing method and mobile terminal | |
CN106126174A (en) | The control method of a kind of scene audio and electronic equipment | |
CN108122528A (en) | Display control method and related product | |
WO2020147645A1 (en) | Link aggregation realization method and related product | |
CN107172671A (en) | A kind of channel switching method, device, storage medium and terminal | |
CN106455027A (en) | Network standard adjustment method and mobile terminal | |
CN108271142A (en) | Wireless Fidelity Wi-Fi scan methods and Related product | |
CN105959481A (en) | Control method of scene sound effect, and electronic equipment | |
CN108600887A (en) | Method of toch control based on wireless headset and Related product | |
CN103687063A (en) | Network connecting method, network connecting device and terminal equipment | |
CN106793010A (en) | A kind of method for network access and equipment | |
CN104702678B (en) | Document transmission method and device | |
CN105611446A (en) | Self-stick, self-stick identification method and apparatus, and mobile terminal | |
CN103227832B (en) | Share method for processing resource and device | |
CN103200077B (en) | The method of data interaction during a kind of voice call, Apparatus and system | |
CN108601063A (en) | Personal hot spot implementation method and Related product | |
CN105786439A (en) | Method and device for controlling sound in terminal | |
CN108037874B (en) | Screenshotss method and Related product | |
CN106776040A (en) | A kind of resource allocation methods and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co.,Ltd. Address before: No.18, Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |