CN106658623A - Hotspot network switching method and terminal equipment - Google Patents

Hotspot network switching method and terminal equipment Download PDF

Info

Publication number
CN106658623A
CN106658623A CN201610825435.9A CN201610825435A CN106658623A CN 106658623 A CN106658623 A CN 106658623A CN 201610825435 A CN201610825435 A CN 201610825435A CN 106658623 A CN106658623 A CN 106658623A
Authority
CN
China
Prior art keywords
terminal
focus
data
data transfer
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610825435.9A
Other languages
Chinese (zh)
Inventor
马志峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610825435.9A priority Critical patent/CN106658623A/en
Publication of CN106658623A publication Critical patent/CN106658623A/en
Priority to PCT/CN2017/098852 priority patent/WO2018049971A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1443Reselecting a network or an air interface over a different radio air interface technology between licensed networks

Abstract

The embodiment of the invention discloses a hotspot network switching method and terminal equipment. The method includes the following steps: when moving project data is a first terminal needs to be transferred to a second terminal, establishing a first data transfer hotspot based on a first hotspot network; judging whether the remaining electric quantity o the first terminal is larger than or equal to a preset electric quantity; if yes, detecting whether the second terminal supports a second hotspot network under the condition that the first terminal supports the second hotspot network; and if the second terminal supports the second hotspot network, switching the first data transfer hotspot to a second data transfer hotspot. According to the hotspot network switching method provided by the embodiment of the invention, the remaining electric quantity of the terminal is judged, and only when the remaining electric quantity of the terminal is larger than the preset electric quantity does a user choose to switch the hotspot network of the terminal from the first hotspot network to the second hotspot network, thus the hotspot network type can be decided through weighing of the terminal electric quantity and the network transmission rate, and user experience is improved.

Description

A kind of hot spot networks changing method and terminal device
Technical field
The present invention relates to the communications field, and in particular to a kind of hot spot networks changing method and terminal device.
Background technology
With the development of information age, smart mobile phone has become the information center of everyone life, but produces in the face of mobile phone Product iteratively faster, user frequently changes mobile phone, in order to keep new and old two machine consistent in software environment with data information, at present The method for commonly using is that the data on mobile phone is backed up and recovered, so as to by the data resource on mobile phone from a mobile phone In being transferred to another mobile phone, namely " mobile phone removal of home ", " mobile phone removal of home " can complete to include address list, information (note, coloured silk Letter), message registration, schedule, picture, audio frequency, video, document, application program even application data, memorandum, alarm clock, clear Look at device bookmark, old mobile phone preference arrange etc. all data migration work.
Mobile phone is to set up hotspot by a mobile phone when Data Migration is carried out, all, and then another mobile phone is connected to Then the hotspot carries out data transmission, current mobile phone when hotspot is set up, can by the hot spot networks of 2.4G or 5G hot spot networks are set up focus and are communicated, and the efficiency of transmission of the communication connection set up based on 5G hot spot networks is high, but inevitable Cause high power consumption, so how to select hot spot networks to be a problem for needing to solve.
The content of the invention
A kind of hot spot networks changing method and terminal device are embodiments provided, to can be according to terminal power To choose whether to switch hot spot networks, power consumption of terminal is reduced while improving " mobile phone removal of home " efficiency, improve operating flexibility.
Embodiment of the present invention first aspect provides a kind of hot spot networks changing method, including:
When needing for the removal of home project data in first terminal to be transferred to second terminal, set up based on the first hot spot networks First data shift focus and shift focus by first data and set up between the first terminal and the second terminal First communication connection;
Judge the dump energy of the first terminal whether more than or equal to default electricity;
If the dump energy of the first terminal supports that second is hot more than or equal to default electricity in the first terminal Detect whether the second terminal supports second hot area network, the data transfer of the second hot area network in the case of spot net Speed is higher than first hot spot networks;
If second terminal supports second hot area network, first data transfer focus is switched into the transfer of the second data Focus, the second data transfer focus is set up based on the second hot area network.
Embodiment of the present invention second aspect provides a kind of terminal device, including:
Module is set up, for when needing for the removal of home project data in terminal device to be transferred to second terminal, based on One hot spot networks set up the first data transfer focus and shift focus by first data and set up the terminal device and institute State the first communication connection between second terminal;
Judge module, for judging the dump energy of the terminal device whether more than or equal to default electricity;
Detection module, if the dump energy for the terminal device is more than or equal to default electricity, in the terminal Equipment detects whether the second terminal supports second hot area network, the second hot area in the case of supporting second hot area network The message transmission rate of network is higher than first hot spot networks;
Handover module, if supporting second hot area network for second terminal, by first data transfer focus switching Focus is shifted to the second data, the second data transfer focus is set up based on the second hot area network.
The embodiment of the present invention third aspect provides a kind of terminal device, including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs first aspect present invention Described method.
As can be seen that in technical scheme provided in an embodiment of the present invention, when needing the removal of home project in first terminal When data are transferred to second terminal, set up the first data transfer focus based on the first hot spot networks and turned by first data Move the first communication connection that focus is set up between the first terminal and the second terminal;Judge the residue of the first terminal Whether electricity is more than or equal to default electricity;If the dump energy of the first terminal is more than or equal to default electricity, in institute State and detect whether the second terminal supports second hot area network in the case that first terminal supports second hot area network, described the The message transmission rate of two hot spot networks is higher than first hot spot networks;If second terminal supports second hot area network, will The first data transfer focus switches to the second data transfer focus, and the second data transfer focus is warm based on described second Spot net is set up.By the dump energy for judging terminal, and only just select when the dump energy of terminal is more than default electricity general The hot spot networks of terminal switch to second hot area network from the first hot spot networks, so as to weigh terminal power with network transmission speed Rate determines hot spot networks type, lifts Consumer's Experience.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1-a are the network architecture diagrams of hot spot networks switched system provided in an embodiment of the present invention;
Fig. 1-b are a kind of first embodiment schematic flow sheets of hot spot networks changing method provided in an embodiment of the present invention;
Fig. 2 is data heat of transfer point checking schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of second embodiment schematic flow sheet of hot spot networks changing method provided in an embodiment of the present invention;
Fig. 4 is a kind of 3rd embodiment schematic flow sheet of hot spot networks changing method provided in an embodiment of the present invention;
Fig. 5 is a kind of fourth embodiment schematic flow sheet of hot spot networks changing method provided in an embodiment of the present invention;
Fig. 6 is a kind of first embodiment structural representation of terminal device provided in an embodiment of the present invention;
Fig. 7 is a kind of second embodiment structural representation of terminal device provided in an embodiment of the present invention;
Fig. 8 is a kind of 3rd embodiment structural representation of terminal device provided in an embodiment of the present invention;
Fig. 9 is a kind of fourth embodiment structural representation of terminal device provided in an embodiment of the present invention.
Specific embodiment
A kind of hot spot networks changing method and terminal device are embodiments provided, to can be according to terminal power To choose whether to switch hot spot networks, power consumption of terminal is reduced while improving " mobile phone removal of home " efficiency, improve operating flexibility.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection Enclose.
Term " first ", " second " and " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing etc. is For distinguishing different objects, not for description particular order.Additionally, term " including " and their any deformations, it is intended that Non-exclusive include in covering.For example containing process, method, system, product or the equipment of series of steps or unit does not have The step of listing or unit are defined in, but alternatively also include the step of not listing or unit, or alternatively also included Other steps intrinsic for these processes, method, product or equipment or unit.
A kind of hot spot networks changing method of the embodiment of the present invention, including:When needing the removal of home project in first terminal When data are transferred to second terminal, set up the first data transfer focus based on the first hot spot networks and turned by first data Move the first communication connection that focus is set up between the first terminal and the second terminal;Judge the residue of the first terminal Whether electricity is more than or equal to default electricity;If the dump energy of the first terminal is more than or equal to default electricity, in institute State and detect whether the second terminal supports second hot area network in the case that first terminal supports second hot area network, described the The message transmission rate of two hot spot networks is higher than first hot spot networks;If second terminal supports second hot area network, will The first data transfer focus switches to the second data transfer focus, and the second data transfer focus is warm based on described second Spot net is set up.
Referring first to Fig. 1-a, Fig. 1-a are the network architecture diagrams of hot spot networks switched system provided in an embodiment of the present invention, In the network architecture diagram shown in Fig. 1-a, first terminal 100 and second terminal 200 can be mobile for mobile phone, panel computer etc. Intelligent terminal, in embodiments of the present invention, first terminal 100 is " mobile phone removal of home " sender, and second terminal 200 is for " mobile phone is removed Family " recipient, first terminal 100 shifts focus by setting up data, and then second terminal 200 is connected to the data transfer focus On, so as to set up the communication connection between first terminal 100 and second terminal 200, first terminal 100 will based on the communication connection Removal of home project data is transferred to second terminal 200, so as to complete " mobile phone removal of home " process.
In embodiments of the present invention, the data transfer focus can give tacit consent to foundation in 2.4G hot spot networks, but if During " mobile phone removal of home " it is higher to data transmission rates demands in the case of, it is contemplated that in first terminal 100 and second terminal In the case that 200 support 5G networks, data transfer focus is switched into 5G hot spot networks from 2.4G hot spot networks, but if this When terminal power it is not high when also switch to 5G hot spot networks and would be possible to cause terminal not enough cannot use due to electricity, so The embodiment of the present invention has considered terminal power to switch over hot spot networks.
Referring first to Fig. 1, Fig. 1 is a kind of first embodiment stream of hot spot networks changing method provided in an embodiment of the present invention Journey schematic diagram.Wherein, as shown in figure 1, the hot spot networks changing method may comprise steps of:
S101, when needing for the removal of home project data in first terminal to be transferred to second terminal, based on the first focus net Network sets up the first data transfer focus and shifts focus by first data and sets up the first terminal with described second eventually The first communication connection between end.
Wherein, application or file data that project data of moving is referred in first terminal etc., for example, can be address list, letter Breath (note, multimedia message), message registration, schedule, picture, audio frequency, video, document, application program even application data, memorandum All data such as record, alarm clock, browser bookmark, the preference setting of old mobile phone.Preset data is transferred into second from first terminal The process of terminal namely " mobile phone removal of home ".
In embodiments of the present invention, first hot spot networks can be 2.4G hot spot networks.
Wherein, data shift focus and refer to when needing for the preset data in first terminal to be transferred to second terminal, are The point-to-point data channel set up between first terminal and second terminal, and it is arranged on a heat of first terminal Point, so as to second terminal can shift the data company that focus is set up between first terminal and second terminal by the data Connect, the data transfer that then can realize between first terminal and second terminal by the data channel again, and at this moment Need not be by means of other any such as data networks or the communication connection of Wireless Fidelity WiFi, but if now first terminal and the Data network between two terminals is connection status, will cause to be transferred to the preset data in first terminal the mistake of second terminal In journey also can consumption data network flow.
It is alternatively possible to by install in first terminal and second terminal a data transfer application, so as to when need by When preset data in first terminal is transferred to second terminal, first terminal and the application in second terminal can be simultaneously opened.
Further, user can set up data and shift focus by the application operating terminal.To trigger, " mobile phone is removed Family " process.
Further, after the communication connection set up between first terminal and second terminal, first terminal and second is eventually Can be communicated by the communication connection between end, be judged whether other side supports second hot area net such that it is able to exchange information Network.
S102, judge the dump energy of the first terminal whether more than or equal to default electricity.
Wherein, default electricity refer to terminal it is default one be used for support terminal can normally use certain hour electricity Amount.
Alternatively, in embodiments of the present invention, the default electricity can be the 10%-30% of terminal total electricity.
Preferably, the default electricity can be 20%.
If the dump energy of S103, the first terminal is supported more than or equal to default electricity in the first terminal Detect whether the second terminal supports second hot area network, the number of the second hot area network in the case of second hot area network It is higher than first hot spot networks according to transfer rate.
In embodiments of the present invention, when the first hot spot networks are 2.4G hot spot networks, the second hot area network can be 5G hot spot networks.
In embodiments of the present invention, the communication connection transfer rate by the foundation of the first hot spot networks is low, but small power consumption, leads to The communication connection transfer rate for crossing the foundation of second hot area network is high, but power consumption is big.
In embodiments of the present invention, the network of 2.4G speed maximum at present is less than 9MB/s, and the current mobile phone of 5G networks is true Actual measurement examination as shown by data maximal rate can reach 25MB/s.
In embodiments of the present invention, because 5G hot spot networks power consumption is big, when the dump energy of terminal is more than default electricity, this When can ensure that terminal has enough electricity to support under, then support the situation of 5G hot spot networks in first terminal and second terminal Down connection is re-established based on 5G hot spot networks, now first terminal just selects to switch hot spot networks.
If S104, second terminal support second hot area network, first data transfer focus is switched into the second number According to transfer focus, the second data transfer focus is set up based on the second hot area network.
Specifically, after first terminal and second terminal set up communication connection based on the first data transfer focus, to second Terminal sends request query, and whether it supports second hot area network, so as to whether it will be supported second hot area net by second terminal The information of network is sent to first terminal.
Further, its information for whether supporting second hot area network can be sent to second terminal by first terminal.
As can be seen that in technical scheme provided in an embodiment of the present invention, when needing the removal of home item number in first terminal During according to being transferred to second terminal, setting up the first data transfer focus based on the first hot spot networks and being shifted by first data The first communication connection that focus is set up between the first terminal and the second terminal;Judge the residue electricity of the first terminal Whether amount is more than or equal to default electricity;If the dump energy of the first terminal is more than or equal to default electricity, described First terminal detects whether the second terminal supports second hot area network in the case of supporting second hot area network, described second The message transmission rate of hot spot networks is higher than first hot spot networks;If second terminal supports second hot area network, by institute State the first data transfer focus and switch to the second data transfer focus, the second data transfer focus is based on the second hot area Network is set up.By the dump energy for judging terminal, and only just select when the dump energy of terminal is more than default electricity will be whole The hot spot networks at end switch to second hot area network from the first hot spot networks, so as to weigh terminal power and network transmission speed Hot spot networks type is determined, Consumer's Experience is lifted.
Alternatively, in other embodiments of the present invention, if first terminal is initially namely based on network transmission speed height Hot spot networks set up focus, and when now detecting terminal power less than default electricity, then first terminal is passed from network The high hot spot networks of defeated speed switch to the low hot spot networks of network transmission speed.
Alternatively, in other embodiments of the present invention, if to be initially namely based on network transmission speed low for first terminal Hot spot networks set up focus, and when now detecting terminal power less than default electricity, now do not switch first terminal Hot spot networks.
Alternatively, in some embodiments of the invention, methods described also includes:
If the dump energy of the first terminal is communicated to connect described first less than default electricity by described first Removal of home project data in terminal is transferred to the second terminal, and first communication connection is based on the first data heat of transfer Point is set up.
Illustrate, in an example of the present invention, when needs are carried out " mobile phone removal of home " between mobile phone A and mobile phone B When, the hot spot networks for being primarily based on 2.4G set up the first data transfer focus, then when terminal power is more than 20%, in order to carry High data rate, so now hot spot networks are switched into 5G hot spot networks, and if now terminal power is less than 20%, Hot spot networks are not now switched.
It is appreciated that when the dump energy of first terminal is inadequate, directly being carried out by the first communication connection of small power consumption Data transfer, it is ensured that first terminal is normally used.
Further, when the dump energy of first terminal is less than default electricity, now also can send a pair to user Words frame, for asking the user whether to switch hot spot networks, referring to Fig. 2, Fig. 2 is hot spot networks switching provided in an embodiment of the present invention Schematic diagram.
Alternatively, in some embodiments of the invention, whether the dump energy for judging the first terminal is more than Or equal to default electricity before, methods described also includes:
Judge the default removal of home project data whether more than or equal to preset flow;
It is whole by described first based on the described first communication connection if the default removal of home project data is less than preset flow Removal of home project data in end is transferred to the second terminal.
Illustrate, in an example of the present invention, if desired the address list in mobile phone A is transferred in mobile phone B, this When due to the flow of address list it is less, so now when first terminal is set up based on the low hot spot networks of message transmission rate When, then the connection directly set up by the hot spot networks is communicated.
Alternatively, in some embodiments of the invention, methods described also includes:
If whether the default removal of home project data is more than or equal to preset flow, execution judges the first terminal The step of whether dump energy is more than or equal to default electricity.
It is appreciated that when the flow-rate ratio of project data of moving is less, network switching is not carried out, only in removal of home item number According to flow-rate ratio it is larger when, then perform subsequent step, " mobile phone removal of home " efficiency can be improved.
Alternatively, in some embodiments of the invention, it is described that first data transfer focus is switched into the second number After according to transfer focus, methods described also includes:
Second set up between the first terminal and the second terminal by second data transfer focus is communicated Connection;
Removal of home project data in the first terminal is transferred to by the second terminal based on the described second communication connection.
Alternatively, in some embodiments of the invention, first hot spot networks that are based on set up the first data heat of transfer After point, methods described also includes:
Generate Quick Response Code so that the second terminal obtain by the Quick Response Code and preserve the first data shift focus match somebody with somebody Put, the first data transfer focus configuration includes that the hotspot name of the first data transfer focus, first data turn Move the port of the focus password, the service end address of first data transfer focus and the first transfer focus of focus;
After first data transfer focus switches to the second data transfer focus, receive the second terminal and be based on institute State the first data transfer focus and configure sent focus connection request, the focus connection request turns including first data Move the focus password of focus;
By the focus connection request and based on first data transfer focus configuration set up the first terminal with The second communication connection between the second terminal.
Illustrate, in an example of the present invention, A mobile phones set up the first data with password by 2.4G first After transfer focus, Quick Response Code is generated, and set up service end;Then B mobile phones learn the first number of A mobile phones by scanning Quick Response Code According to the hotspot name of transfer focus, the first data shift the focus password of focus, and the first data shift the service end address of focus And first data shift the port of focus, and be stored in B mobile phones.Then B mobile phones first connect the focus of A mobile phones, after connection, The service end for connecting A mobile phones by Socket modes again sets up TCP connections.After setting up connection, B mobile phones send whether support 5G nets The information of network gives A mobile phones, and when A mobile phones support 5G networks, A handset replies support that the 5G network informations give B mobile phones, then now A Mobile phone disconnects the first data transfer focus of original 2.4G, and uses 5G networks instead and set up new the second data transfer focus.So Afterwards B mobile phones uninterruptedly scan network, and the first data recorded before search shift the hotspot name of focus.Due to the first number The focus of A mobile phones is according to transfer focus and the second data transfer focus, so hotspot name and password keep constant, so as to work as The scanning of B mobile phones selects the focus, then the password by before to be attached second data and turn to after the hotspot name of A mobile phones Focus is moved, last B mobile phones set up TCP and connect and communicate by service end address and port, and being then based on the connection will can realize " mobile phone removal of home " process from A mobile phones to B mobile phones.
It is appreciated that first terminal in the form of Quick Response Code by recording focus configuration, and second terminal is set to know and protect Deposit, so as to second terminal can pass through the new focus that preserved focus configuration accesses first terminal, improve focus and access effect Rate.
Alternatively, in some embodiments of the invention, first hot spot networks that are based on set up the first data heat of transfer After point, methods described also includes:
Hotspot name and focus password are arranged to first data transfer focus;
It is described to shift the communication that focus is set up between the first terminal and the second terminal by first data Connection, including:
Receive the checking password that the second terminal sends;
Described the is set up when the checking password is with the focus password match by first data transfer focus Communication connection between one terminal and the second terminal.
Wherein, focus password refers to the password of the identity of the second terminal that first terminal foundation is connected to for checking.
Wherein, verify that password refers to that second eventually required for first terminal when second terminal request is connected to first terminal The checking password of end input.
Specifically, user input Crypted password is pointed out while first terminal sets up data transfer focus.
Specifically, when second terminal sends connection request to first terminal, first terminal is received after the connection request, Second terminal input validation password is indicated, then a dialog box is ejected at the interface of second terminal, instruction user input validation is close Code.
It is appreciated that the Crypted password that the data shift focus is arranged by first terminal, then in other terminal requests When accessing the data transfer focus, only when the authentication verification password that other terminals send is with the data heat of transfer Point matching, By the connection request, so as to prevent other illegal terminals to be connected to the data transfer focus of first terminal, communication security is improved.
Alternatively, in some embodiments of the invention, it is described to shift focus by first data and set up described the After communication connection between one terminal and the second terminal, methods described also includes:
Preserve the communication connection configuration between the first terminal and the second terminal, the communication connection configuration Including the hotspot name, second terminal mark, the server address of the communication connection and the communication connection Port.
Wherein, hotspot name refers to the title for identifying the focus that first terminal is set up, and second terminal mark is referred to For identifying the mark of second terminal, the server address of communication connection and the port of communication connection are referred to for mark first Terminal server address used when being connected with second terminal foundation and port, so as to next first terminal and second terminal are built Still can be set up based on the server address and port during vertical connection.
Further, the communication connection configuration can also include focus password.
Alternatively, in some embodiments of the invention, between the preservation first terminal and the second terminal The communication connection configuration after, methods described also includes:
The focus connection of the second terminal is received after the first terminal switches to the second data transfer focus During request, based on the communication connection that the communication connection configuration is set up between the first terminal and the second terminal.
It is appreciated that by preserving the communication connection configuration, so as to cause next first terminal and second terminal to set up During connection, can be set up based on the communication connection configuration, be improved joint efficiency.
Alternatively, in some embodiments of the invention, the data of the first terminal receive user shift building for focus After vertical request, methods described also includes:
Whether the current state for judging Wireless Fidelity WiFi of the first terminal is opening;
If the current state of Wireless Fidelity WiFi of the first terminal is opening, the WiFi is closed.
It is appreciated that when needing to set up focus in the terminal, need the WiFi for ensureing terminal to be closed, so May determine that whether the WiFi in terminal is closed mode, and the WiFi in closing a terminal in the case where not being closed mode, to ensure Focus can smoothly be set up.
Alternatively, in some embodiments of the invention, it is described to set up between the first terminal and the second terminal Data cube computation after, methods described also includes:
Data cube computation title is set to the data cube computation, and the data cube computation title is whole for described in unique mark first Data cube computation between end and the second terminal.
Further, when there is third terminal to be connected to first terminal, a data cube computation title can be again set for identifying Data cube computation between first terminal and third terminal.
It is appreciated that by arranging data cube computation title, so when next second terminal will be connected to first terminal again, Then the data cube computation can be recognized by title, be also prevented from other terminals and pretend to be second terminal to be connected in first terminal, be improved Communication security.
Further, when second terminal is connected to first terminal, due to preserve in first terminal first terminal with The data cube computation title of second terminal, so now need not verify to second terminal again.
For the ease of being best understood from and implementing the such scheme of the embodiment of the present invention, with reference to some specific applied fields Scape is illustrated.
Fig. 3 is referred to, Fig. 3 is a kind of second embodiment flow process of hot spot networks changing method provided in an embodiment of the present invention Schematic diagram.In method shown in Fig. 3, the detailed description in Fig. 1 is may be referred to the same or similar content of method shown in Fig. 1, Here is omitted.Wherein, as shown in figure 3, the hot spot networks changing method may comprise steps of:
S301, when needing for the removal of home project data in first terminal to be transferred to second terminal, based on the first focus net Network sets up the first data transfer focus and shifts focus is set up between first terminal and second terminal first by the first data Communication connection.
S302, judge the dump energy of first terminal whether more than or equal to default electricity.
If the dump energy of S303, first terminal supports second hot area more than or equal to default electricity in first terminal Detect whether second terminal supports second hot area network in the case of network, the message transmission rate of the second hot area network is higher than First hot spot networks.
Alternatively, if the dump energy of the first terminal is less than default electricity, execution step S305.
If S304, second terminal support second hot area network, the first data transfer focus is switched into the second data and is turned Focus is moved, the second data are shifted focus and set up based on second hot area network.
If the dump energy of S305, first terminal is less than default electricity, by the first communication connection by first terminal Removal of home project data be transferred to second terminal, this first communication connection based on first data transfer focus set up.
The embodiment of the present invention passes through the dump energy for judging terminal, and only when the dump energy of terminal is more than default electricity Just select for the hot spot networks of terminal to switch to second hot area network from the first hot spot networks, and in the dump energy of first terminal During less than default electricity, directly data transfer is carried out using the first hot spot networks, so as to terminal power and network transmission can be weighed Speed determines hot spot networks type, lifts Consumer's Experience.
Referring to Fig. 4, Fig. 4 is that a kind of 3rd embodiment flow process of hot spot networks changing method provided in an embodiment of the present invention is shown It is intended to.In method shown in Fig. 4, the detailed description in Fig. 1 is may be referred to the same or similar content of method shown in Fig. 1, this Place repeats no more.Wherein, as shown in figure 4, the hot spot networks changing method may comprise steps of:
S401, when needing for the removal of home project data in first terminal to be transferred to second terminal, based on the first focus net Network sets up the first data transfer focus and shifts focus is set up between first terminal and second terminal first by the first data Communication connection.
Whether S402, the default removal of home project data of judgement are more than or equal to preset flow.
Alternatively, if default removal of home project data is less than preset flow, execution step S403.
Alternatively, if whether default removal of home project data is more than or equal to preset flow, execution step S404.
If S403, default removal of home project data are less than preset flow, based on the first communication connection by first terminal Removal of home project data is transferred to the second terminal.
If S404, default removal of home project data are more than or equal to preset flow, judging the dump energy of first terminal is It is no more than or equal to default electricity.
If the dump energy of S405, first terminal supports second hot area more than or equal to default electricity in first terminal Detect whether second terminal supports second hot area network in the case of network, the message transmission rate of the second hot area network is higher than First hot spot networks.
If S406, second terminal support second hot area network, the first data transfer focus is switched into the second data and is turned Focus is moved, the second data are shifted focus and set up based on second hot area network.
The embodiment of the present invention passes through the size for judging removal of home project flow, so as to smaller in the flow of removal of home project data When, network switching is not carried out, only when the flow-rate ratio of project data of moving is larger, then subsequent step is performed, " mobile phone can be improved Removal of home " efficiency.
Referring to Fig. 5, Fig. 5 is that a kind of fourth embodiment flow process of hot spot networks changing method provided in an embodiment of the present invention is shown It is intended to.In method shown in Fig. 5, the detailed description in Fig. 1 is may be referred to the same or similar content of method shown in Fig. 1, this Place repeats no more.Wherein, as shown in figure 5, the hot spot networks changing method may comprise steps of:
S501, when needing for the removal of home project data in first terminal to be transferred to second terminal, based on the first focus net Network sets up the first data transfer focus and shifts focus is set up between first terminal and second terminal first by the first data Communication connection.
S502, judge the dump energy of first terminal whether more than or equal to default electricity.
If the dump energy of S503, first terminal supports second hot area more than or equal to default electricity in first terminal Detect whether second terminal supports second hot area network in the case of network, the message transmission rate of the second hot area network is higher than First hot spot networks.
Alternatively, if the dump energy of the first terminal is less than default electricity, execution step S507.
If S504, second terminal support second hot area network, the first data transfer focus is switched into the second data and is turned Focus is moved, the second data are shifted focus and set up based on second hot area network.
S505, second set up between the first terminal and the second terminal by second data transfer focus Communication connection.
S506, based on described second communication connection the removal of home project data in the first terminal is transferred into described second Terminal.
If the dump energy of S507, first terminal is less than default electricity, by the first communication connection by first terminal Removal of home project data be transferred to second terminal, this first communication connection based on first data transfer focus set up.
The embodiment of the present invention passes through the dump energy for judging terminal, and only when the dump energy of terminal is more than default electricity Just select for the hot spot networks of terminal to switch to second hot area network from the first hot spot networks, and in the dump energy of first terminal During less than default electricity, directly data transfer is carried out using the first hot spot networks, so as to terminal power and network transmission can be weighed Speed determines hot spot networks type, lifts Consumer's Experience.
The embodiment of the present invention also provides a kind of terminal device, and the terminal device includes:
Module is set up, for when needing for the removal of home project data in terminal device to be transferred to second terminal, based on One hot spot networks set up the first data transfer focus and shift focus by first data and set up the terminal device and institute State the first communication connection between second terminal;
Judge module, for judging the dump energy of the terminal device whether more than or equal to default electricity;
Detection module, if the dump energy for the terminal device is more than or equal to default electricity, in the terminal Equipment detects whether the second terminal supports second hot area network, the second hot area in the case of supporting second hot area network The message transmission rate of network is higher than first hot spot networks;
Handover module, if supporting second hot area network for second terminal, by first data transfer focus switching Focus is shifted to the second data, the second data transfer focus is set up based on the second hot area network.
Specifically, Fig. 6 is referred to, Fig. 6 is a kind of first embodiment structure of terminal device provided in an embodiment of the present invention Schematic diagram, for realizing hot spot networks changing method disclosed in the embodiment of the present invention.Wherein, as shown in fig. 6, the terminal device 600 can include:
Set up module 610, the detection module 630 of judge module 620 and handover module 640.
Wherein, module 610 is set up, needs for the removal of home project data in terminal device to be transferred to second terminal for working as When, set up the first data transfer focus and shift focus by first data based on the first hot spot networks and set up the terminal The first communication connection between equipment and the second terminal.
Judge module 620, for judging the dump energy of the terminal device whether more than or equal to default electricity.
Detection module 630, if the dump energy for the terminal device is more than or equal to default electricity, at the end End equipment detects whether the second terminal supports second hot area network in the case of supporting second hot area network, and described second is hot The message transmission rate of spot net is higher than first hot spot networks.
Handover module 640, if supporting second hot area network for second terminal, first data transfer focus is cut The second data transfer focus is shifted to, the second data transfer focus is set up based on the second hot area network.
It is understood that the function of each functional module of the terminal device 600 of the present embodiment can be according to said method reality The method applied in example is implemented, and it implements the associated description that process is referred to said method embodiment, herein no longer Repeat.
As can be seen that in the scheme of the present embodiment, it can be seen that in technical scheme provided in an embodiment of the present invention, when need When removal of home project data in terminal device 600 is transferred into second terminal, based on the first hot spot networks the first data are set up Transfer focus simultaneously shifts focus is set up between the terminal device 600 and the second terminal first by first data Communication connection;Judge the dump energy of the terminal device 600 whether more than or equal to default electricity;If the terminal device 600 dump energy is then examined more than or equal to default electricity in the case where the terminal device 600 supports second hot area network Survey whether the second terminal supports second hot area network, the message transmission rate of the second hot area network is higher than described first Hot spot networks;If second terminal supports second hot area network, first data transfer focus is switched into the second data and is turned Focus is moved, the second data transfer focus is set up based on the second hot area network.By the dump energy for judging terminal, and Only when the dump energy of terminal is more than default electricity, just the hot spot networks of terminal are switched to the by selection from the first hot spot networks Two hot spot networks, hot spot networks type is determined so as to weigh terminal power with network transmission speed, lifts Consumer's Experience.
Fig. 7 is referred to, Fig. 7 is the second embodiment structural representation of terminal device provided in an embodiment of the present invention, is used for Realize hot spot networks changing method disclosed in the embodiment of the present invention.Wherein, the terminal device shown in Fig. 7 is end as shown in Figure 6 End equipment is optimized what is obtained.Terminal device shown in Fig. 7 except the module and function including the terminal device shown in Fig. 6 it Outward, also following extension:
Alternatively, in some possible embodiments of the present invention,
The terminal device 700 also includes:
Shift module 750 is logical by described first if the dump energy for the terminal device is less than default electricity Removal of home project data in the terminal device is transferred to the second terminal by letter connection, and first communication connection is based on institute State the first data transfer focus to set up.
Alternatively, in some possible embodiments of the present invention, the judge module 720 is additionally operable to judge described pre- If whether removal of home project data is more than or equal to preset flow;
If the shift module 750 is additionally operable to the default removal of home project data less than preset flow, based on described the Removal of home project data in the terminal device is transferred to the second terminal by one communication connection.
Alternatively, in some possible embodiments of the present invention, the terminal device 800 also includes:
If whether the judge module 720 is additionally operable to the default removal of home project data more than or equal to preset flow, The step of whether execution judges the dump energy of the terminal device more than or equal to default electricity.
Alternatively, in some possible embodiments of the present invention, the module 710 of setting up is additionally operable to by described the The second communication connection that two data transfer focus is set up between the terminal device and the second terminal;
The shift module 750 is additionally operable to be communicated to connect the removal of home item number in the terminal device based on described second According to being transferred to the second terminal.
Alternatively, in some possible embodiments of the present invention, the terminal device also includes:
Generation module 760, for generating Quick Response Code so that the second terminal is obtained by the Quick Response Code and preserves One data transfer focus configuration, the first data transfer focus configuration includes that first data shift the focus name of focus Claim, the focus password of first data transfer focus, the service end address and described the of first data transfer focus The port of one transfer focus;
Receiver module 770, for after first data transfer focus switches to the second data transfer focus, receiving institute State second terminal and shift the sent focus connection request of focus configuration, the focus connection request bag based on first data Include the focus password that first data shift focus;
The module 710 of setting up is additionally operable to by the focus connection request and based on first data transfer focus match somebody with somebody Set up the second communication connection between the vertical terminal device and the second terminal.
It is understood that the function of each functional module of the terminal device 700 of the present embodiment can be according to said method reality The method applied in example is implemented, and it implements the associated description that process is referred to said method embodiment, herein no longer Repeat.
As can be seen that in the scheme of the present embodiment, it can be seen that in technical scheme provided in an embodiment of the present invention, when need When removal of home project data in terminal device 700 is transferred into second terminal, based on the first hot spot networks the first data are set up Transfer focus simultaneously shifts focus is set up between the terminal device 700 and the second terminal first by first data Communication connection;Judge the dump energy of the terminal device 700 whether more than or equal to default electricity;If the terminal device 700 dump energy is then examined more than or equal to default electricity in the case where the terminal device 700 supports second hot area network Survey whether the second terminal supports second hot area network, the message transmission rate of the second hot area network is higher than described first Hot spot networks;If second terminal supports second hot area network, first data transfer focus is switched into the second data and is turned Focus is moved, the second data transfer focus is set up based on the second hot area network.By the dump energy for judging terminal, and Only when the dump energy of terminal is more than default electricity, just the hot spot networks of terminal are switched to the by selection from the first hot spot networks Two hot spot networks, hot spot networks type is determined so as to weigh terminal power with network transmission speed, lifts Consumer's Experience.
Referring to Fig. 8, Fig. 8 is the structural representation of the 3rd embodiment of terminal device provided in an embodiment of the present invention.Such as Fig. 8 Shown, the terminal device 800 can include:At least one input equipment 801;At least one output equipment 802;At at least one Reason device 803, such as CPU;With memory 804, above-mentioned input equipment 801, output equipment 802, processor 803 and memory 804 Connected by bus 805.
Above-mentioned memory 804 can be high-speed RAM memory, alternatively non-labile memory (non-volatile Memory), such as magnetic disc store.Above-mentioned memory 604 is used to store batch processing code, above-mentioned input equipment 801, output Equipment 802 and processor 803 are used to call the program code stored in memory 804, perform following operation:
Above-mentioned processor 803, for when needing for the removal of home project data in terminal device to be transferred to second terminal, base Set up the first data transfer focus and shift focus by first data in the first hot spot networks and set up the terminal device The first communication connection between the second terminal.
Whether above-mentioned processor 803, be additionally operable to judge the dump energy of the terminal device more than or equal to default electricity;
Above-mentioned processor 803, if being additionally operable to the dump energy of the terminal device more than or equal to default electricity, in institute State and detect whether the second terminal supports second hot area network in the case that terminal device supports second hot area network, described the The message transmission rate of two hot spot networks is higher than first hot spot networks.
Above-mentioned processor 803, if being additionally operable to second terminal supports second hot area network, by the first data heat of transfer Point switches to the second data transfer focus, and the second data transfer focus is set up based on the second hot area network.
Above-mentioned processor 803, if being additionally operable to the dump energy of the terminal device less than default electricity, by described the Removal of home project data in the terminal device is transferred to the second terminal, the first communication connection base by one communication connection Set up in first data transfer focus.
Whether above-mentioned processor 803, be additionally operable to judge the default removal of home project data more than or equal to preset flow;
If the default removal of home project data is less than preset flow, the terminal is set based on the described first communication connection Removal of home project data in standby is transferred to the second terminal.
Above-mentioned processor 803, if whether being additionally operable to the default removal of home project data more than or equal to preset flow, holds The step of whether row judges the dump energy of the terminal device more than or equal to default electricity.
Above-mentioned processor 803, is additionally operable to shift focus by second data and sets up the terminal device with described the The second communication connection between two terminals;
Removal of home project data in the terminal device is transferred to by the second terminal based on the described second communication connection
Above-mentioned processor 803, is additionally operable to generate Quick Response Code so that the second terminal is obtained and protected by the Quick Response Code The transfer focus configuration of the first data is deposited, the first data transfer focus configuration includes that first data shift the focus of focus Title, the focus password of first data transfer focus, first data transfer service end address of focus and described The port of the first transfer focus;
After first data transfer focus switches to the second data transfer focus, receive the second terminal and be based on institute State the first data transfer focus and configure sent focus connection request, the focus connection request turns including first data Move the focus password of focus;
By the focus connection request and based on first data transfer focus configuration set up the terminal device with The second communication connection between the second terminal.
It is understood that the function of each functional module of the terminal device 800 of the present embodiment can be according to said method reality The method applied in example is implemented, and it implements the associated description that process is referred to said method embodiment, herein no longer Repeat.
As can be seen that in the scheme of the present embodiment, it can be seen that in technical scheme provided in an embodiment of the present invention, when need When removal of home project data in terminal device 800 is transferred into second terminal, based on the first hot spot networks the first data are set up Transfer focus simultaneously shifts focus is set up between the terminal device 800 and the second terminal first by first data Communication connection;Judge the dump energy of the terminal device 800 whether more than or equal to default electricity;If the terminal device 800 dump energy is then examined more than or equal to default electricity in the case where the terminal device 800 supports second hot area network Survey whether the second terminal supports second hot area network, the message transmission rate of the second hot area network is higher than described first Hot spot networks;If second terminal supports second hot area network, first data transfer focus is switched into the second data and is turned Focus is moved, the second data transfer focus is set up based on the second hot area network.By the dump energy for judging terminal, and Only when the dump energy of terminal is more than default electricity, just the hot spot networks of terminal are switched to the by selection from the first hot spot networks Two hot spot networks, hot spot networks type is determined so as to weigh terminal power with network transmission speed, lifts Consumer's Experience.
The embodiment of the present invention additionally provides a more specifically application scenarios, as follows:Above-mentioned terminal device is mobile phone, under Each component parts of mobile phone is specifically introduced with reference to Fig. 9 in face:
RF circuits 910 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, process to processor 980;In addition, up data is activation will be designed to base station.Generally, RF circuits 910 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 910 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can be using arbitrary 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), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used to store software program and module, and processor 980 is stored in memory 920 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 920 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as screen locking image display method) etc.;Storage data field can be stored and use created data (difference point according to mobile phone The screen locking picture of resolution and compression factor) etc..Additionally, memory 920 can include high-speed random access memory, can also wrap Include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 930 can be used for the numeral or character information of receives input, and produce with the user of mobile phone arrange with And the key signals input that function control is relevant.Specifically, input block 930 may include contact panel 931, other input equipments 932.Contact panel 931, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses hand The operation of any suitable object such as finger, stylus or annex on contact panel 931 or near contact panel 931), and according to Formula set in advance drives corresponding attachment means.Optionally, contact panel 931 may include touch detecting apparatus and touch control Two parts of device processed.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, will Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact Coordinate, then give processor 980, and the order sent of receiving processor 980 and can be performed.Furthermore, it is possible to using resistance The polytypes such as formula, condenser type, infrared ray and surface acoustic wave realize contact panel 931.Divided by contact panel 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to secondary or physical bond At least one in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 940 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display floater 941, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 941.Further, contact panel 931 can cover display floater 941, when contact panel 931 detect it is thereon or attached After near touch operation, processor 980 is sent to determine the type of touch event, with preprocessor 980 according to touch event Type corresponding visual output is provided on display floater 941.Although in fig .9, contact panel 931 and display floater 941 Be as two independent parts realizing input and the input function of mobile phone, but in some embodiments it is possible to by touch-control Panel 931 and display floater 941 be integrated and input that realize mobile phone and output function.
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 transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater 941, proximity transducer can close display floater 941 when mobile phone is moved in one's ear And/or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, size and the direction of gravity is can detect that when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor of configuration, will not be described here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 961 by road 960, and by loudspeaker 961 sound is converted to Signal output;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 Be changed to voice data, then after voice data output processor 980 is processed, Jing RF circuits 910 to be sent to such as another mobile phone, Or voice data is exported to memory 920 so as to further process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 9 shows WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module that are stored in memory 920, and call and be stored in memory 920 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can be wrapped Include one or more processing units;Preferably, processor 980 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 980, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In previous embodiment, each step method flow process can be based on the structure of the terminal device shown in Fig. 9 and realize.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, including the part or all of step of any picture method of calibration described in said method embodiment during the program performing.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematic, such as division of described unit, is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can with reference to or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit, Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, also may be used Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) perform the whole of each embodiment methods described of the invention or Part steps.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to front State embodiment to be described in detail the present invention, it will be understood by those within the art that:It still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.

Claims (13)

1. a kind of hot spot networks changing method, it is characterised in that methods described includes:
When needing for the removal of home project data in first terminal to be transferred to second terminal, based on the first hot spot networks first is set up Data transfer focus and set up between the first terminal and the second terminal by first data transfer focus the One communication connection;
Judge the dump energy of the first terminal whether more than or equal to default electricity;
If the dump energy of the first terminal supports second hot area net more than or equal to default electricity in the first terminal Detect whether the second terminal supports second hot area network, the message transmission rate of the second hot area network in the case of network Higher than first hot spot networks;
If second terminal supports second hot area network, first data transfer focus is switched into the second data heat of transfer Point, the second data transfer focus is set up based on the second hot area network.
2. method according to claim 1, it is characterised in that methods described also includes:
If the dump energy of the first terminal is communicated to connect the first terminal less than default electricity by described first In removal of home project data be transferred to the second terminal, first communication connection is built based on first data transfer focus It is vertical.
3. method according to claim 2, it is characterised in that whether the dump energy for judging the first terminal is big In or equal to default electricity before, methods described also includes:
Judge the default removal of home project data whether more than or equal to preset flow;
If the default removal of home project data is less than preset flow, based on the described first communication connection by the first terminal Removal of home project data be transferred to the second terminal.
4. method according to claim 3, it is characterised in that methods described also includes:
If whether the default removal of home project data is more than or equal to preset flow, execution judges the residue of the first terminal The step of whether electricity is more than or equal to default electricity.
5. method according to claim 1 and 2, it is characterised in that described to switch to first data transfer focus After second data transfer focus, methods described also includes:
The second communication connection that focus is set up between the first terminal and the second terminal is shifted by second data;
Removal of home project data in the first terminal is transferred to by the second terminal based on the described second communication connection.
6. method according to claim 1, it is characterised in that first hot spot networks that are based on set up the transfer of the first data After focus, methods described also includes:
Quick Response Code is generated so that the second terminal obtains and preserve the transfer focus configuration of the first data, institute by the Quick Response Code Stating the transfer focus configuration of the first data includes the hotspot name of the first data transfer focus, first data transfer focus Focus password, first data transfer focus service end address and it is described first transfer focus port;
After first data transfer focus switches to the second data transfer focus, the second terminal is received based on described the One data transfer focus configures sent focus connection request, and the focus connection request includes the first data heat of transfer The focus password of point;
By the focus connection request and based on first data transfer focus configuration set up the first terminal with it is described The second communication connection between second terminal.
7. a kind of terminal device, it is characterised in that the terminal device includes:
Module is set up, it is hot based on first for when needing for the removal of home project data in terminal device to be transferred to second terminal Spot net sets up the first data transfer focus and shifts focus by first data and sets up the terminal device with described the The first communication connection between two terminals;
Judge module, for judging the dump energy of the terminal device whether more than or equal to default electricity;
Detection module, if the dump energy for the terminal device is more than or equal to default electricity, in the terminal device Detect whether the second terminal supports second hot area network, the second hot area network in the case of supporting second hot area network Message transmission rate be higher than first hot spot networks;
Handover module, if supporting second hot area network for second terminal, by first data transfer focus the is switched to Two data shift focus, and the second data transfer focus is set up based on the second hot area network.
8. terminal device according to claim 7, it is characterised in that the terminal device also includes:
Shift module, if the dump energy for the terminal device is less than default electricity, communicates to connect by described first Removal of home project data in the terminal device is transferred into the second terminal, first communication connection is based on described first Data transfer focus is set up.
9. terminal device according to claim 8, it is characterised in that
Whether the judge module is additionally operable to judge the default removal of home project data more than or equal to preset flow;
If the shift module is additionally operable to the default removal of home project data less than preset flow, based on first communication link Connect and the removal of home project data in the terminal device is transferred into the second terminal.
10. terminal device according to claim 9, it is characterised in that
If whether the judge module is additionally operable to the default removal of home project data more than or equal to preset flow, judgement is performed The step of whether dump energy of the terminal device is more than or equal to default electricity.
11. terminal devices according to claim 7 or 8, it is characterised in that
The module of setting up is additionally operable to set up the terminal device with the second terminal by second data transfer focus Between second communication connection;
The shift module is additionally operable to shift the removal of home project data in the terminal device based on the described second communication connection To the second terminal.
12. terminal devices according to claim 7, it is characterised in that the terminal device also includes:
Generation module, for generating Quick Response Code so that the second terminal obtains and preserve the first data turn by the Quick Response Code Move focus configuration, first data transfer focus configuration include first data shift the hotspot name of focus, described the The focus password of one data transfer focus, first data shift the service end address of focus and the first transfer focus Port;
Receiver module, for after first data transfer focus switches to the second data transfer focus, receiving described second Terminal shifts focus and configures sent focus connection request based on first data, and the focus connection request includes described First data shift the focus password of focus;
The module of setting up is additionally operable to by the focus connection request and based on first data transfer focus configuration set up The second communication connection between the terminal device and the second terminal.
13. a kind of terminal devices, it is characterised in that the terminal device includes:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs as claim 1 to 6 is arbitrary Method described in.
CN201610825435.9A 2016-09-14 2016-09-14 Hotspot network switching method and terminal equipment Pending CN106658623A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610825435.9A CN106658623A (en) 2016-09-14 2016-09-14 Hotspot network switching method and terminal equipment
PCT/CN2017/098852 WO2018049971A1 (en) 2016-09-14 2017-08-24 Hotspot network switching method and terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610825435.9A CN106658623A (en) 2016-09-14 2016-09-14 Hotspot network switching method and terminal equipment

Publications (1)

Publication Number Publication Date
CN106658623A true CN106658623A (en) 2017-05-10

Family

ID=58852543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610825435.9A Pending CN106658623A (en) 2016-09-14 2016-09-14 Hotspot network switching method and terminal equipment

Country Status (2)

Country Link
CN (1) CN106658623A (en)
WO (1) WO2018049971A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049971A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Hotspot network switching method and terminals
CN110708747A (en) * 2019-09-18 2020-01-17 Tcl移动通信科技(宁波)有限公司 Data transmission rate adjusting method, system, storage medium and mobile terminal
CN111356209A (en) * 2020-02-17 2020-06-30 Oppo广东移动通信有限公司 Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment
CN111787599A (en) * 2020-08-06 2020-10-16 Oppo(重庆)智能科技有限公司 WIFI frequency band selection method and device, electronic equipment and storage medium
CN114173401A (en) * 2021-11-30 2022-03-11 Oppo广东移动通信有限公司 Equipment control method and related product

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2949148T3 (en) 2018-07-30 2023-09-26 Nagravision Sarl A method of transmitting messages between a device and a remote server
CN112188592B (en) * 2020-09-29 2023-03-31 维沃移动通信有限公司 Wireless hotspot connection control method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101897124A (en) * 2007-12-14 2010-11-24 微软公司 Computer radio electric installation with pre-defined configuration set
CN103369714A (en) * 2013-06-17 2013-10-23 华为技术有限公司 Method and device for establishing data connection and terminal equipment
CN105392169A (en) * 2015-10-19 2016-03-09 小米科技有限责任公司 File transmission method, device and system
CN105391470A (en) * 2015-11-28 2016-03-09 广东欧珀移动通信有限公司 Network switching method, apparatus and terminal
CN106688284A (en) * 2014-09-19 2017-05-17 高通股份有限公司 Collaborative demand-based dual-mode wi-fi network control to optimize wireless power and performance

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658623A (en) * 2016-09-14 2017-05-10 广东欧珀移动通信有限公司 Hotspot network switching method and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101897124A (en) * 2007-12-14 2010-11-24 微软公司 Computer radio electric installation with pre-defined configuration set
CN103369714A (en) * 2013-06-17 2013-10-23 华为技术有限公司 Method and device for establishing data connection and terminal equipment
CN106688284A (en) * 2014-09-19 2017-05-17 高通股份有限公司 Collaborative demand-based dual-mode wi-fi network control to optimize wireless power and performance
CN105392169A (en) * 2015-10-19 2016-03-09 小米科技有限责任公司 File transmission method, device and system
CN105391470A (en) * 2015-11-28 2016-03-09 广东欧珀移动通信有限公司 Network switching method, apparatus and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049971A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Hotspot network switching method and terminals
CN110708747A (en) * 2019-09-18 2020-01-17 Tcl移动通信科技(宁波)有限公司 Data transmission rate adjusting method, system, storage medium and mobile terminal
CN111356209A (en) * 2020-02-17 2020-06-30 Oppo广东移动通信有限公司 Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment
CN111356209B (en) * 2020-02-17 2022-04-26 Oppo广东移动通信有限公司 Multi-frequency WiFi hotspot opening method and device, storage medium and electronic equipment
CN111787599A (en) * 2020-08-06 2020-10-16 Oppo(重庆)智能科技有限公司 WIFI frequency band selection method and device, electronic equipment and storage medium
CN111787599B (en) * 2020-08-06 2022-09-16 Oppo(重庆)智能科技有限公司 WIFI frequency band selection method and device, electronic equipment and storage medium
CN114173401A (en) * 2021-11-30 2022-03-11 Oppo广东移动通信有限公司 Equipment control method and related product

Also Published As

Publication number Publication date
WO2018049971A1 (en) 2018-03-22

Similar Documents

Publication Publication Date Title
CN103501333B (en) Method, device and terminal equipment for downloading files
CN106658623A (en) Hotspot network switching method and terminal equipment
CN104135501B (en) Page sharing method, Apparatus and system
CN103489303B (en) A kind of remote control thereof and device
CN106686626A (en) Setting method for Wi-Fi roaming and terminal equipment
CN104168175A (en) Message group sensing method and terminal in instant messaging
CN106302808A (en) Data transmission method and mobile terminal
CN103310004A (en) Method, device and equipment for displaying number of unread messages
CN104426919A (en) Page sharing method, device and system
CN104301504A (en) Message viewing method and device and mobile terminal
CN104901806B (en) A kind of virtual resource processing method, device and system
CN106507482A (en) A kind of network locating method and terminal device
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN106454975A (en) Hotspot network switching method and terminal equipment
CN106170034A (en) A kind of sound effect treatment method and mobile terminal
CN108307529A (en) A kind of hotspot connection method and its mobile terminal
CN106445596A (en) Method and device for managing setting items
CN106484326A (en) A kind of data transmission processing method and mobile terminal
CN105246075A (en) Access point connecting method and device
CN104363590A (en) Access point connection method and device
CN103561155B (en) Send the method for note, device and terminal
CN103533139B (en) Data management method and device of multi-card user and mobile terminal
CN103227832B (en) Share method for processing resource and device
CN106413032A (en) Hotspot establishing method and terminal equipment
CN106332058A (en) Data transmission method and terminal equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510