CN103888983A - WIFI work mode automatic switching method and system of terminal - Google Patents

WIFI work mode automatic switching method and system of terminal Download PDF

Info

Publication number
CN103888983A
CN103888983A CN201410129645.5A CN201410129645A CN103888983A CN 103888983 A CN103888983 A CN 103888983A CN 201410129645 A CN201410129645 A CN 201410129645A CN 103888983 A CN103888983 A CN 103888983A
Authority
CN
China
Prior art keywords
mode
focus
wifi
terminal
described terminal
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
Application number
CN201410129645.5A
Other languages
Chinese (zh)
Other versions
CN103888983B (en
Inventor
区志财
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Original Assignee
Midea Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201410129645.5A priority Critical patent/CN103888983B/en
Publication of CN103888983A publication Critical patent/CN103888983A/en
Application granted granted Critical
Publication of CN103888983B publication Critical patent/CN103888983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a WIFI work mode automatic switching method and system of a terminal. When the terminal operates in a client end work mode, the terminal obtains work states of a WIFI hot spot where the terminal is connected in real time or in a timed mode, and when the WIFI hot spot where the terminal is connected fails, the work mode of the terminal is switched to a hot spot work mode, so that the terminal works in the hot spot work mode when the WIFI hot spot where the terminal is connected to fails. According to the scheme, when the WIFI work mode meets the switching condition, automatic switching of the WIFI work mode is carried out, and automatic switching of the WIFI work mode is more convenient and accurate.

Description

Terminal WIFI mode of operation automatic switching method and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of terminal WIFI mode of operation automatic switching method and system.
Background technology
Along with the popularity of the universal of intelligent terminal and the covering of WIFI focus, make the core communication technology of increasing producer using the WIFI communication technology as Internet of Things.Due to the advantage of power consumption and cost, existing terminal adopts WIFI chip as WAP (wireless access point) conventionally, WIFI chip moves with focus mode of operation in the time carrying out network configuration, in the time carrying out Internet of Things communication, move with client mode, and prior art generally adopts the mode of operation of manual mode switching WIFI chip, convenient not, accurate.
Summary of the invention
Main purpose of the present invention is to provide a kind of WIFI mode of operation automatic switching method and system, makes the WIFI mode of operation automatic switchover of terminal more convenient and accurate.
The present invention proposes a kind of terminal WIFI mode of operation automatic switching method, comprising:
Terminal is determined the mode of operation that it is current;
In the time that current mode of operation is client mode of operation, described terminal in real time or the operating state of the WIFI focus of its access of timing acquisition;
In the time that the WIFI focus of described terminal access breaks down, its mode of operation is switched to focus mode of operation by described terminal.
Preferably, described terminal obtain the step of its current mode of operation after the method also comprise:
Be client mode of operation in current mode of operation, and described terminal is not while accessing WIFI focus, described terminal searching WIFI focus;
The WIFI focus that described terminal adopts its accounts information prestoring to login and search, moves with client mode of operation.
Preferably, described in the time that current mode of operation is client mode of operation, described terminal in real time or after the step of the operating state of the WIFI focus of its access of timing acquisition the method comprise:
In the time that the WIFI focus of described terminal access breaks down, determine fault type;
If when definite fault type is default Fisrt fault type, described terminal in real time or the operating state of this fault of timing acquisition WIFI focus;
In the time that the operating state of this fault WIFI focus recovers normal, described terminal adopts its accounts information prestoring to login and access the normal WIFI focus of this recovery, moves with client mode of operation.
Preferably, when the described WIFI focus in described terminal access breaks down, after determining the step of fault type, the method also comprises:
In the time that definite fault type is the second fault type of presetting, its mode of operation is switched to focus mode of operation by described terminal.
Preferably, after described terminal is determined the step of its current mode of operation, the method also comprises:
In the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction, and WIFI hot spot networks state;
Detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, work at present pattern is switched to client mode of operation by described terminal.
Preferably, detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, after work at present pattern is switched to the step of client mode of operation by described terminal, the method also comprises:
Described terminal timing or real-time search focus;
Described terminal adopts its accounts information prestoring to login the WIFI focus searching, and accesses the WIFI focus logining successfully, and moves with client mode of operation.
Preferably, the method also comprises:
Described terminal, after powering on, is moved with client mode of operation;
Described terminal timing or real-time search focus;
Described terminal does not search focus within a preset time interval, or the focus that adopts the accounts information that prestores login to search out is when failed, and described terminal switches to focus mode of operation by client mode of operation;
When the accounts information prestoring in employing is logined the focus success searching out, the WIFI focus that access logins successfully, moves with client mode of operation.
Preferably, after its mode of operation is switched to the step of focus mode of operation by described terminal, the method comprises:
Control out of service or the first operational mode operation to preset of client mode indicator light, control focus mode of operation indicator light simultaneously and move with the second operational mode.
Preferably, described terminal adopts its accounts information prestoring to login and access the WIFI focus searching, and also comprises with the method after the step of client mode of operation operation:
Control the operation of client mode indicator light with the second operational mode operation, control out of service or the first operational mode to preset of focus mode of operation indicator light simultaneously.
Preferably, the method also comprises: in the time that the client functionality of terminal breaks down, control the three operational mode operation of client mode indicator light to preset.
The present invention also proposes a kind of terminal WIFI mode of operation automatic switchover system, and this terminal WIFI mode of operation automatic switchover system comprises the functional module that realizes the corresponding step of method described in above any one.
The present invention also proposes a kind of terminal WIFI mode of operation automatic switching method, comprising:
Terminal is determined the mode of operation that it is current;
In the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction, and WIFI hot spot networks state;
Detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, work at present pattern is switched to client mode of operation by described terminal.
Preferably, before described terminal is obtained the step of its current mode of operation, the method comprises:
Described terminal, after powering on, is moved with client mode of operation;
Described terminal timing or real-time search focus;
Described terminal does not search focus within a preset time interval, or the focus that adopts the accounts information that prestores login to search out is when failed, and described terminal switches to focus mode of operation by client mode of operation.
Preferably, described detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, after work at present pattern is switched to the step of client mode of operation by described terminal, the method comprises:
Described terminal timing or real-time search focus;
Described terminal adopts its accounts information prestoring to login the WIFI focus searching, and accesses the WIFI focus logining successfully, and moves with client mode of operation.
Preferably, this terminal WIFI mode of operation automatic switchover system comprises the functional module that realizes the corresponding step of method described in claim 1 to 10 any one.
The present invention also proposes a kind of terminal WIFI mode of operation automatic switchover system, and this terminal WIFI mode of operation automatic switchover system comprises the functional module that realizes the corresponding step of method described in above any one.
WIFI mode of operation automatic switching method and system that the present invention proposes, in the time that terminal move with client mode of operation, the operating state of the WIFI focus of real-time or its access of timing acquisition of terminal; In the time that the WIFI focus of described terminal access breaks down, its mode of operation is switched to focus mode of operation by described terminal, make terminal in the time that the WIFI of its access focus breaks down, with focus mode of operation, this scheme is in the time that WIFI mode of operation meets switching condition, carry out the automatic switchover of WIFI mode of operation, WIFI mode of operation is automatically switched more convenient and accurate.
Brief description of the drawings
Fig. 1 is the hardware structure diagram that the present invention realizes the terminal preferred embodiment of WIFI mode of operation automatic switchover;
Fig. 2 is the high-level schematic functional block diagram of WIFI mode of operation automatic switchover system of the present invention the first embodiment;
Fig. 3 is the high-level schematic functional block diagram of WIFI mode of operation automatic switchover system of the present invention the second embodiment;
Fig. 4 is the schematic flow sheet of WIFI mode of operation automatic switching method of the present invention the first embodiment;
Fig. 5 is the schematic flow sheet of WIFI mode of operation automatic switching method of the present invention the second embodiment.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Be described further with regard to technical scheme of the present invention below in conjunction with drawings and the specific embodiments.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the hardware structure diagram that the present invention realizes the terminal preferred embodiment of WIFI mode of operation automatic switchover.
This terminal 1 comprises processing unit 11, memory cell 12, WIFI module 13 and WIFI mode of operation automatic switchover system 14, and described control terminal 1 can be mobile phone, panel computer, remote controller or other any suitable electronic equipments (preferably mobile phone).
Memory cell 12, the accounts information when storing this WIFI mode of operation automatic switchover system 14 and service data thereof and terminal as focus and the accounts information of other focus.It is emphasized that this memory cell 12 can be both an independent storage device, can be also the general designation of multiple different storage devices, and therefore not to repeat here.
WIFI module 13, in the time moving with terminal pattern, under the control of this processing unit 11, search hot information, and send the logging request that comprises the focus accounts information searching to the focus searching, send packet to the focus of its access simultaneously; And when with focus mode operation, broadcast the wireless network identification of its wireless network providing, accept the packet that other-end sends simultaneously.
This processing unit 11, be used for calling and carry out this WIFI mode of operation automatic switchover system 14, and in terminal during in focus mode of operation, control WIFI module 13 its wireless network identification as focus of broadcast, or in terminal during in terminal work mode, control WIFI module 14 and search for WIFI focus, and the focus searching sends logging request, the accounts information that this logging request comprises the focus searching.This processing unit 11 and memory cell 12 can be respectively both independent unit, also can integrate, and formed a controller, and therefore not to repeat here.
With reference to Fig. 2, Fig. 2 is the high-level schematic functional block diagram of WIFI mode of operation automatic switchover system of the present invention the first embodiment.
The present embodiment proposes a kind of WIFI mode of operation automatic switchover system 14, comprising:
Determination module 141, for determining the current mode of operation of its place terminal;
In the present embodiment, determination module 141 can be according to the wireless network identification whether its wireless network providing is provided of WIFI module, or whether stores its information of terminal of access according to memory module and determine the mode of operation that terminal is current.The mode of operation of this terminal comprises client end pattern and focus mode of operation.
Acquisition module 142, in the time that current mode of operation is client mode of operation, in real time or the operating state of the WIFI focus of its access of timing acquisition;
Handover module 143, in the time that the WIFI focus of access breaks down, switches to focus mode of operation by its mode of operation.
In the present embodiment, the terminal at determination module 141 places, can regularly or in real time send status monitoring request to its access heating WIFI focus, if the replying state information based on described status monitoring request feedback sending for receiving the WIFI focus of its access within the default time interval, illustrates that the WIFI focus of its access breaks down; Or the timing of WIFI focus or the real-time terminal to determination module 141 places of terminal access send work state information, if the terminal at the terminal place at determination module 141 places does not receive the work state information that the focus of its access sends within the default time interval, think that the focus of its access breaks down.
In the present embodiment, handover module 143, after the mode of operation of terminal is switched to focus mode of operation, can be broadcasted the wireless title of its wireless network providing, and realizes this terminal of login for other terminal according to the accounts information prestoring.For example, in the time that the terminal at determination module 141 places is air conditioner, air conditioner switches to its mode of operation after focus mode of operation, broadcast its wireless network identification, the remote controller that air conditioner is controlled or intelligent terminal (as smart mobile phone) are in the time receiving this wireless network identification, the accounts information login air conditioner prestoring according to it, realizes the control to air conditioner with the wireless network providing by air conditioner.
The WIFI mode of operation automatic switchover system that the present embodiment proposes, in the time that terminal move with client mode of operation, the operating state of the WIFI focus of real-time or its access of timing acquisition of terminal; In the time that the WIFI focus of described terminal access breaks down, its mode of operation is switched to focus mode of operation by described terminal, make terminal in the time that the WIFI of its access focus breaks down, with focus mode of operation, this scheme is in the time that WIFI mode of operation meets switching condition, carry out the automatic switchover of WIFI mode of operation, WIFI mode of operation is automatically switched more convenient and accurate.
Further, for make WIFI mode of operation automatic switchover system carry out WIFI mode of operation switch time more accurate, described handover module 143 also, in the time that the client functionality of terminal breaks down, switches to focus mode of operation by its mode of operation.
The client functionality of terminal breaks down and comprises that information cannot receive and dispatch, and cannot log in focus etc.
Further, for make WIFI mode of operation automatic switchover system carry out WIFI mode of operation switch time more accurate, this WIFI mode of operation automatic switchover system also comprises search module and login module, it is client mode of operation in current mode of operation that described search module is used for, and when described terminal does not access WIFI focus, search WIFI focus; Described login module is used for adopting its accounts information prestoring to login the WIFI focus searching, and accesses the WIFI focus logining successfully, and moves with client mode of operation.
In the present embodiment, in the time searching other focus, the wireless network identification of the WIFI focus searching can be mated with the wireless network identification in the account information prestoring, in the time having wireless network identification in the account information prestoring to mate with the wireless network identification searching, adopt the account information of this coupling to login the network searching; When wireless network identification in the account information prestoring is not mated with the wireless network identification searching, search module continues other WIFI focuses of search, until traveled through all WIFI focuses that search, terminal continues to move with client mode.Or, in the time that terminal does not store accounts information, move with client mode.
Further, more accurate while switching for making WIFI mode of operation automatic switchover system carry out WIFI mode of operation, described determination module also, in the time that the WIFI focus of described terminal access breaks down, is determined fault type; If when described acquisition module is also default Fisrt fault type for definite fault type, in real time or the operating state of this fault of timing acquisition WIFI focus; Described login module also, in the time that the operating state of this fault WIFI focus recovers normal, adopts its accounts information prestoring to login and access the normal WIFI focus of this recovery, moves with client mode of operation.
In the present embodiment, the accessible WIFI focus of terminal in Fisrt fault type, but occur comprising that WIFI focus signal strength signal intensity is lower, the problems such as packet cannot forward, cause the hotspot of terminal based on access cannot carry out data retransmission, now, this fault focus may can recover normal at short notice, now acquisition module in real time or the operating state of this fault of timing acquisition WIFI focus, in the time that the operating state of this fault WIFI focus recovers normal, login module adopts its accounts information prestoring to login and access the normal WIFI focus of this recovery, move with client mode of operation, the normal client mode of terminal is moved.
In other variant embodiment, predeterminable WIFI focus interval recovery time, acquisition module is in the time of the operating state of real-time or this fault of timing acquisition WIFI focus, if WIFI focus does not also recover normal in default WIFI focus interval recovery time, mode of operation current terminal is switched to focus mode of operation by handover module.
Further, for make WIFI mode of operation automatic switchover system carry out WIFI mode of operation switch time more accurate, described handover module 30 also, in the time that definite fault type is the second fault type of presetting, switches to focus mode of operation by its mode of operation.
In the present embodiment, the second fault type comprises that WIFI focus disappears and terminal cannot access WIFI focus etc., terminal cannot access the accounts information (comprising that wireless network identification and login password are modified) of WIFI focus explanation WIFI focus, and the disappearance of WIFI focus illustrates that WIFI focus possibility is out of service or switches to other mode of operation operation, this WIFI focus fault cannot be recovered in the short time, now, its mode of operation is switched to focus mode of operation, after the WIFI mode of operation of terminal is switched to focus mode of operation, can continue timing or real-time search WIFI focus, and adopt the accounts information prestoring to login the focus searching.
In other variant embodiment, have multiple WIFI focus in the residing region of terminal time, in the time that definite fault type is the second fault type of presetting, can search for other WIFI focus in its region of living in, and in the time searching other WIFI focus, adopt its accounts information prestoring to login the focus searching.
Further, for make WIFI mode of operation automatic switchover system carry out WIFI mode of operation switch time more accurate, this system also comprises detecting module, for in the time that current mode of operation is focus mode of operation, detect its accounts information in real time or regularly and upgrade instruction, and WIFI hot spot networks state; Described handover module 30 is also for detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, and work at present pattern is switched to client mode of operation by described terminal.
In the present embodiment, if when the mode of operation of current terminal is focus mode of operation, in the time that the focus of terminal access breaks down, may cause terminal to communicate, simultaneously terminal as focus time accounts information while upgrading, may cause other-end cannot access the wireless network that this terminal provides, now its WIFI mode of operation is switched to client mode of operation by terminal.
Further, more accurate while switching for making WIFI mode of operation automatic switchover system carry out WIFI mode of operation, described search module is also for after work at present pattern is switched to client mode of operation by handover module, timing or real-time search focus; Described login module is also for adopting its accounts information prestoring to login the WIFI focus searching, and the WIFI focus that logins successfully of access, moves with client mode of operation.
In the present embodiment, in the time that terminal is moved with client mode of operation, timing or real-time search focus, and communicate between the wireless network that provides of focus based on searching and other terminal.
Further, for ensureing the proper communication of terminal, this system also comprises control module, after powering in terminal, moves with client mode of operation; Described search module is for timing or real-time search focus; Described handover module is also for not searching within a preset time interval focus, or the focus that adopts the accounts information prestoring login to search out is when failed, switches to focus mode of operation by client mode of operation; When described operation module also logins for the accounts information prestoring in employing the focus success searching out, the WIFI focus that access logins successfully, moves with client mode of operation.
Further, the function of horn of plenty WIFI mode of operation automatic switchover system, described control module is also in the time switching to focus mode of operation by terminal work mode by client mode of operation, control out of service or the first operational mode operation to preset of client mode indicator light, control focus mode of operation indicator light simultaneously and move with the second operational mode.
In the present embodiment, for the current WIFI mode of operation of identification terminal, the first operational mode and the second run-mode pattern have obvious difference, to ensure that user can accurately learn the WIFI mode of operation that terminal is current, it is out of service that for example terminal control module can directly be controlled client mode indicator light, and the second operational mode is normal unlatching simultaneously; Or the first color operation that the first operational mode also can be to preset, the second color operation that the second operational mode also can be to preset, this first color is different from the color of the second color, or the first operational mode is the frequency scintillation of client mode indicator light to preset, and being focus mode of operation indicator light, the second operational mode normally lights.Such scheme is only the enumerating of the specific embodiment of the application by client mode indicator light and focus pattern indicator light difference terminal WIFI mode of operation, and does not represent that the application distinguishes all embodiment of terminal WIFI mode of operation.
Further, described control module also adopts its accounts information prestoring to login and access the WIFI focus searching for login module, after the operation of client mode of operation, control the operation of client mode indicator light with the second operational mode operation, control out of service or the first operational mode to preset of focus mode of operation indicator light simultaneously.
This control module control client mode indicator light operation is with the second operational mode operation, control focus mode of operation indicator light out of service or with the principle of the first operational mode of presetting simultaneously, with in above-described embodiment, control out of service or the first operational mode operation to preset of client mode indicator light, control focus mode of operation indicator light similar with the principle of the second operational mode operation simultaneously, do not repeat them here.
Further, in the time that the client functionality of terminal breaks down, control the three operational mode operation of client mode indicator light to preset.The 3rd operational mode and above-mentioned the first operational mode and the second operational mode have certain difference, to ensure the user's WIFI mode of operation of identification terminal and fault that terminal occurs accurately.
The 3rd operational mode can be client mode indicator light with certain frequency scintillation, or switches color (this color can be the comparatively significantly color such as redness or green).
With reference to Fig. 3, Fig. 3 is the high-level schematic functional block diagram of WIFI mode of operation automatic switchover system of the present invention the second embodiment.
The present embodiment also proposes a kind of WIFI mode of operation automatic switchover system 14, comprising:
Determination module 144, for determining its current mode of operation;
In the present embodiment, determination module 144 can be according to the wireless network identification whether its wireless network providing is provided of WIFI module, or whether stores its information of terminal of access according to memory module and determine the mode of operation that terminal is current.The mode of operation of this terminal comprises client end pattern and focus mode of operation.
Detecting module 145, in the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction, and WIFI hot spot networks state;
Handover module 146, for detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, work at present pattern is switched to client mode of operation by described terminal.
In the present embodiment, user can, by the input unit in terminal as touch-screen and keyboard etc., carry out the change of terminal accounts information, and this change comprises wireless network identification and or the amendment of login password.
In the present embodiment, if when the mode of operation of current terminal is focus mode of operation, in the time that the focus of terminal access breaks down, may cause terminal to communicate, simultaneously terminal as focus time accounts information while upgrading, may cause other-end cannot access the wireless network that this terminal provides, now its WIFI mode of operation is switched to client mode of operation by terminal
The WIFI mode of operation automatic switchover system that the present embodiment proposes, in the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction; Detecting accounts information when upgrading instruction or WIFI focus function and breaking down, work at present pattern is switched to client mode of operation by described terminal, making terminal automatically switch to client mode in the time of its focus functional fault or accounts information renewal communicates, this scheme is in the time that WIFI mode of operation meets switching condition, carry out the automatic switchover of WIFI mode of operation, WIFI mode of operation is automatically switched more convenient and accurate.
Further, more accurate while switching for making WIFI mode of operation automatic switchover system carry out WIFI mode of operation, described search module is also for after work at present pattern is switched to client mode of operation by handover module, timing or real-time search focus; Described login module is also for adopting its accounts information prestoring to login the WIFI focus searching, and the WIFI focus that logins successfully of access, moves with client mode of operation.
In the present embodiment, in the time that terminal is moved with client mode of operation, timing or real-time search focus, and communicate between the wireless network that provides of focus based on searching and other terminal.
Further, this system also comprises operation module and search module, and described operation module, for after terminal powers on, is moved with client mode of operation; Described search module search timing or real-time search focus; Described handover module is also for not searching within a preset time interval focus, or the focus that adopts the accounts information prestoring login to search out is when failed, switches to focus mode of operation by client mode of operation.
With reference to Fig. 4, Fig. 4 is the schematic flow sheet of WIFI mode of operation automatic switching method of the present invention the first embodiment.
The present embodiment proposes a kind of WIFI mode of operation automatic switching method, comprising:
Step S10, terminal is determined the mode of operation that it is current;
In the present embodiment, terminal can be according to the wireless network identification whether its wireless network providing is provided of WIFI module, or whether stores its information of terminal of access according to memory module and determine the mode of operation that terminal is current.The mode of operation of this terminal comprises client end pattern and focus mode of operation.
Step S20, in the time that current mode of operation is client mode of operation, described terminal is in real time or the operating state of the WIFI focus of its access of timing acquisition;
Step S30, in the time that the WIFI focus of described terminal access breaks down, its mode of operation is switched to focus mode of operation by described terminal.
In the present embodiment, terminal can regularly or in real time send status monitoring request to its access heating WIFI focus, if the replying state information based on described status monitoring request feedback sending for receiving the WIFI focus of its access within the default time interval, illustrates that the WIFI focus of its access breaks down; Or the WIFI focus of terminal access regularly or in real time sends work state information to terminal, if the terminal at terminal place does not receive the work state information that the focus of its access sends within the default time interval, think that the focus of its access breaks down.
In the present embodiment, terminal, after its WIFI mode of operation is switched to focus mode of operation, can be broadcasted the wireless title of its wireless network providing, and realizes this terminal of login for other terminal according to the accounts information prestoring.For example, when this terminal is air conditioner, air conditioner switches to its mode of operation after focus mode of operation, broadcast its wireless network identification, the remote controller that air conditioner is controlled or intelligent terminal (as smart mobile phone) are in the time receiving this wireless network identification, the accounts information login air conditioner prestoring according to it, realizes the control to air conditioner with the wireless network providing by air conditioner.
The WIFI mode of operation automatic switching method that the present embodiment proposes, in the time that terminal move with client mode of operation, the operating state of the WIFI focus of real-time or its access of timing acquisition of terminal; In the time that the WIFI focus of described terminal access breaks down, its mode of operation is switched to focus mode of operation by described terminal, make terminal in the time that the WIFI of its access focus breaks down, with focus mode of operation, this scheme is in the time that WIFI mode of operation meets switching condition, carry out the automatic switchover of WIFI mode of operation, WIFI mode of operation is automatically switched more convenient and accurate.
Further, more accurate while switching for making WIFI mode of operation automatic switchover system carry out WIFI mode of operation, the method also comprises after step S10:
Step S40, is client mode of operation in current mode of operation, and described terminal is not while accessing WIFI focus, described terminal searching WIFI focus;
Step S50, the WIFI focus that described terminal adopts its accounts information prestoring to login and search, moves with client mode of operation.
In the present embodiment, in the time searching other focus, the wireless network identification of the WIFI focus searching can be mated with the wireless network identification in the account information prestoring, in the time having wireless network identification in the account information prestoring to mate with the wireless network identification searching, adopt the account information of this coupling to login the network searching; When wireless network identification in the account information prestoring is not mated with the wireless network identification searching, search module continues other WIFI focuses of search, until traveled through all WIFI focuses that search, terminal continues to move with client mode.Or, in the time that terminal does not store accounts information, move with client mode.
Further, for make WIFI mode of operation automatic switchover system carry out WIFI mode of operation switch time more accurate, after step S20, the method comprises:
Step S60, in the time that the WIFI focus of described terminal access breaks down, determines fault type;
Step S70, if when definite fault type is default Fisrt fault type, described terminal is in real time or the operating state of this fault of timing acquisition WIFI focus;
Step S80, in the time that the operating state of this fault WIFI focus recovers normal, described terminal adopts its accounts information prestoring to login and access the normal WIFI focus of this recovery, moves with client mode of operation.
In the present embodiment, the accessible WIFI focus of terminal in Fisrt fault type, but occur comprising that WIFI focus signal strength signal intensity is lower, the problems such as packet cannot forward, cause the hotspot of terminal based on access cannot carry out data retransmission, now, this fault focus may can recover normal at short notice, now acquisition module in real time or the operating state of this fault of timing acquisition WIFI focus, in the time that the operating state of this fault WIFI focus recovers normal, login module adopts its accounts information prestoring to login and access the normal WIFI focus of this recovery, move with client mode of operation, the normal client mode of terminal is moved.
In other variant embodiment, predeterminable WIFI focus interval recovery time, acquisition module is in the time of the operating state of real-time or this fault of timing acquisition WIFI focus, if WIFI focus does not also recover normal in default WIFI focus interval recovery time, mode of operation current terminal is switched to focus mode of operation by handover module.
Further, for make WIFI mode of operation automatic switchover system carry out WIFI mode of operation switch time more accurate, after step S60, the method comprises:
Step S90, in the time that definite fault type is the second fault type of presetting, its mode of operation is switched to focus mode of operation by described terminal
In the present embodiment, the second fault type comprises that WIFI focus disappears and terminal cannot access WIFI focus etc., terminal cannot access the accounts information (comprising that wireless network identification and login password are modified) of WIFI focus explanation WIFI focus, and the disappearance of WIFI focus illustrates that WIFI focus possibility is out of service or switches to other mode of operation operation, this WIFI focus fault cannot be recovered in the short time, now, its mode of operation is switched to focus mode of operation, after the WIFI mode of operation of terminal is switched to focus mode of operation, can continue timing or real-time search WIFI focus, and adopt the accounts information prestoring to login the focus searching.
In other variant embodiment, have multiple WIFI focus in the residing region of terminal time, in the time that definite fault type is the second fault type of presetting, can search for other WIFI focus in its region of living in, and in the time searching other WIFI focus, adopt its accounts information prestoring to login the focus searching.
Further, more accurate while switching for making WIFI mode of operation automatic switchover system carry out WIFI mode of operation, the method comprises after step S10:
Step S100, in the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction, and WIFI hot spot networks state;
Step S110, detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, work at present pattern is switched to client mode of operation by described terminal.
In the present embodiment, if when the mode of operation of current terminal is focus mode of operation, in the time that the focus of terminal access breaks down, may cause terminal to communicate, simultaneously terminal as focus time accounts information while upgrading, may cause other-end cannot access the wireless network that this terminal provides, now its WIFI mode of operation is switched to client mode of operation by terminal.
Further, more accurate while switching for making WIFI mode of operation automatic switchover system carry out WIFI mode of operation, the method also comprises after step S110:
Step S120, described terminal timing or real-time search focus;
Step S130, described terminal adopts its accounts information prestoring to login the WIFI focus searching, and accesses the WIFI focus logining successfully, and moves with client mode of operation.
In the present embodiment, in the time that terminal is moved with client mode of operation, timing or real-time search focus, and communicate between the wireless network that provides of focus based on searching and other terminal.
Further, for ensureing the proper communication of terminal, the method also comprises:
Step S140, described terminal, after powering on, is moved with client mode of operation;
Step S140, described terminal timing or real-time search focus;
Step S160, described terminal does not search focus within a preset time interval, or the focus that adopts the accounts information that prestores login to search out is when failed, and described terminal switches to focus mode of operation by client mode of operation;
Step S170, when the accounts information prestoring in employing is logined the focus success searching out, the WIFI focus that access logins successfully, moves with client mode of operation.
Further, the function of horn of plenty WIFI mode of operation automatic switchover system, comprise step after step S30 and S90: control out of service or the first operational mode operation to preset of client mode indicator light, control focus mode of operation indicator light simultaneously and move with the second operational mode
In the present embodiment, for the current WIFI mode of operation of identification terminal, in terminal during with focus mode operation, the first operational mode and the second run-mode pattern have obvious difference, to ensure that user can accurately learn the WIFI mode of operation that terminal is current, it is out of service that for example terminal control module can directly be controlled client mode indicator light, and the second operational mode is normal unlatching simultaneously; Or the first color operation that the first operational mode also can be to preset, the second color operation that the second operational mode also can be to preset, this first color is different from the color of the second color, or the first operational mode is the frequency scintillation of client mode indicator light to preset, and being focus mode of operation indicator light, the second operational mode normally lights.Such scheme is only the enumerating of the specific embodiment of the application by client mode indicator light and focus pattern indicator light difference terminal WIFI mode of operation, and does not represent that the application distinguishes all embodiment of terminal WIFI mode of operation.
Further, the function of horn of plenty WIFI mode of operation automatic switchover system, comprise step after step S110, S130 and S170: control the operation of client mode indicator light with the second operational mode operation, control out of service or the first operational mode to preset of focus mode of operation indicator light simultaneously.
This control module control client mode indicator light operation is with the second operational mode operation, control focus mode of operation indicator light out of service or with the principle of the first operational mode of presetting simultaneously, with in above-described embodiment, control out of service or the first operational mode operation to preset of client mode indicator light, control focus mode of operation indicator light similar with the principle of the second operational mode operation simultaneously, do not repeat them here.
Further, the function of horn of plenty WIFI mode of operation automatic switchover system, the method also comprises step: in the time that the client functionality of terminal breaks down, control the three operational mode operation of client mode indicator light to preset.The 3rd operational mode and above-mentioned the first operational mode and the second operational mode have certain difference, to ensure the user's WIFI mode of operation of identification terminal and fault that terminal occurs accurately.
The 3rd operational mode can be client mode indicator light with certain frequency scintillation, or switches color (this color can be the comparatively significantly color such as redness or green).
With reference to Fig. 5, Fig. 5 is the schematic flow sheet of WIFI mode of operation automatic switching method of the present invention the second embodiment.
The present embodiment also proposes a kind of WIFI mode of operation automatic switching method, comprising:
Step S180, terminal is determined the mode of operation that it is current;
In the present embodiment, terminal can be according to the wireless network identification whether its wireless network providing is provided of WIFI module, or whether stores its information of terminal of access according to memory module and determine the mode of operation that terminal is current.The mode of operation of this terminal comprises client end pattern and focus mode of operation.
Step S190, in the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction, and WIFI hot spot networks state;
Step S200, detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, work at present pattern is switched to client mode of operation by described terminal.
In the present embodiment, user can, by the input unit in terminal as touch-screen and keyboard etc., carry out the change of terminal accounts information, and this change comprises wireless network identification and or the amendment of login password.
In the present embodiment, if when the mode of operation of current terminal is focus mode of operation, in the time that the focus of terminal access breaks down, may cause terminal to communicate, simultaneously terminal as focus time accounts information while upgrading, may cause other-end cannot access the wireless network that this terminal provides, now its WIFI mode of operation is switched to client mode of operation by terminal
The WIFI mode of operation automatic switching method that the present embodiment proposes, in the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction; Detecting accounts information when upgrading instruction or WIFI focus function and breaking down, work at present pattern is switched to client mode of operation by described terminal, making terminal automatically switch to client mode in the time of its focus functional fault or accounts information renewal communicates, this scheme is in the time that WIFI mode of operation meets switching condition, carry out the automatic switchover of WIFI mode of operation, WIFI mode of operation is automatically switched more convenient and accurate.
Further, more accurate while switching for making WIFI mode of operation automatic switchover system carry out WIFI mode of operation, the method comprises after step S200:
Step S210, described terminal timing or real-time search focus;
Step S220, described terminal adopts its accounts information prestoring to login the WIFI focus searching, and accesses the WIFI focus logining successfully, and moves with client mode of operation.
In the present embodiment, in the time that terminal is moved with client mode of operation, timing or real-time search focus, and communicate between the wireless network that provides of focus based on searching and other terminal.
Further, more accurate while switching for making WIFI mode of operation automatic switchover system carry out WIFI mode of operation, the method also comprises before step S180:
Step S230, described terminal, after powering on, is moved with client mode of operation;
Step S240, described terminal timing or real-time search focus;
Step S250, described terminal does not search focus within a preset time interval, or the focus that adopts the accounts information that prestores login to search out is when failed, and described terminal switches to focus mode of operation by client mode of operation.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions (can be mobile phones in order to make a station terminal equipment, computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure transformation that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (15)

1. a terminal WIFI mode of operation automatic switching method, is characterized in that, comprising:
Terminal is determined the mode of operation that it is current;
In the time that current mode of operation is client mode of operation, described terminal in real time or the operating state of the WIFI focus of its access of timing acquisition;
In the time that the WIFI focus of described terminal access breaks down, its mode of operation is switched to focus mode of operation by described terminal.
2. method according to claim 1, is characterized in that, described terminal obtain the step of its current mode of operation after the method also comprise:
Be client mode of operation in current mode of operation, and described terminal is not while accessing WIFI focus, described terminal searching WIFI focus;
The WIFI focus that described terminal adopts its accounts information prestoring to login and search, moves with client mode of operation.
3. method according to claim 1, is characterized in that, described in the time that current mode of operation is client mode of operation, described terminal in real time or after the step of the operating state of the WIFI focus of its access of timing acquisition the method comprise:
In the time that the WIFI focus of described terminal access breaks down, determine fault type;
If when definite fault type is default Fisrt fault type, described terminal in real time or the operating state of this fault of timing acquisition WIFI focus;
In the time that the operating state of this fault WIFI focus recovers normal, described terminal adopts its accounts information prestoring to login and access the normal WIFI focus of this recovery, moves with client mode of operation.
4. method according to claim 3, it is levied and is, and when the described WIFI focus in described terminal access breaks down, after determining the step of fault type, the method also comprises:
In the time that definite fault type is the second fault type of presetting, its mode of operation is switched to focus mode of operation by described terminal.
5. method according to claim 1, it is levied and is, and after described terminal is determined the step of its current mode of operation, the method also comprises:
In the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction, and WIFI hot spot networks state;
Detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, work at present pattern is switched to client mode of operation by described terminal.
6. method according to claim 5, is characterized in that, detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, after work at present pattern is switched to the step of client mode of operation by described terminal, the method also comprises:
Described terminal timing or real-time search focus;
Described terminal adopts its accounts information prestoring to login the WIFI focus searching, and accesses the WIFI focus logining successfully, and moves with client mode of operation.
7. method according to claim 1, is characterized in that, the method also comprises:
Described terminal, after powering on, is moved with client mode of operation;
Described terminal timing or real-time search focus;
Described terminal does not search focus within a preset time interval, or the focus that adopts the accounts information that prestores login to search out is when failed, and described terminal switches to focus mode of operation by client mode of operation;
When the accounts information prestoring in employing is logined the focus success searching out, the WIFI focus that access logins successfully, moves with client mode of operation.
8. method according to claim 1, is characterized in that, after its mode of operation is switched to the step of focus mode of operation by described terminal, the method comprises:
Control out of service or the first operational mode operation to preset of client mode indicator light, control focus mode of operation indicator light simultaneously and move with the second operational mode.
9. according to the method described in claim 2-4 any one, it is characterized in that, described terminal adopts its accounts information prestoring to login and access the WIFI focus searching, and also comprises with the method after the step of client mode of operation operation:
Control the operation of client mode indicator light with the second operational mode operation, control out of service or the first operational mode to preset of focus mode of operation indicator light simultaneously.
10. method according to claim 1, is characterized in that, the method also comprises: in the time that the client functionality of terminal breaks down, control the three operational mode operation of client mode indicator light to preset.
11. 1 kinds of terminal WIFI mode of operation automatic switching methods, is characterized in that, comprising:
Terminal is determined the mode of operation that it is current;
In the time that current mode of operation is focus mode of operation, described terminal is detected its accounts information in real time or regularly and is upgraded instruction, and the network state of WIFI focus;
Detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, work at present pattern is switched to client mode of operation by described terminal.
12. methods according to claim 9, is characterized in that, before described terminal is obtained the step of its current mode of operation, the method comprises:
Described terminal, after powering on, is moved with client mode of operation;
Described terminal timing or real-time search focus;
Described terminal does not search focus within a preset time interval, or the focus that adopts the accounts information that prestores login to search out is when failed, and described terminal switches to focus mode of operation by client mode of operation.
13. methods according to claim 9, it is characterized in that, described detecting accounts information when upgrading instruction or WIFI focus operating state and recovering normal, after work at present pattern is switched to the step of client mode of operation by described terminal, the method comprises:
Described terminal timing or real-time search focus;
Described terminal adopts its accounts information prestoring to login the WIFI focus searching, and accesses the WIFI focus logining successfully, and moves with client mode of operation.
14. 1 kinds of terminal WIFI mode of operation automatic switchover systems, is characterized in that, this terminal WIFI mode of operation automatic switchover system comprises the functional module that realizes the corresponding step of method described in claim 1 to 10 any one.
15. 1 kinds of terminal WIFI mode of operation automatic switchover systems, is characterized in that, this terminal WIFI mode of operation automatic switchover system comprises the functional module that realizes the corresponding step of method described in claim 11 to 13 any one.
CN201410129645.5A 2014-03-31 2014-03-31 Terminal WIFI mode of operations automatic switching method and system Active CN103888983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410129645.5A CN103888983B (en) 2014-03-31 2014-03-31 Terminal WIFI mode of operations automatic switching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410129645.5A CN103888983B (en) 2014-03-31 2014-03-31 Terminal WIFI mode of operations automatic switching method and system

Publications (2)

Publication Number Publication Date
CN103888983A true CN103888983A (en) 2014-06-25
CN103888983B CN103888983B (en) 2018-03-13

Family

ID=50957667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410129645.5A Active CN103888983B (en) 2014-03-31 2014-03-31 Terminal WIFI mode of operations automatic switching method and system

Country Status (1)

Country Link
CN (1) CN103888983B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679630A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Adjustment method and device for working mode of intelligent terminal
CN104853373A (en) * 2015-05-04 2015-08-19 海信集团有限公司 Method and device for switching operating modes of wireless module
CN105792388A (en) * 2015-12-30 2016-07-20 上海近游信息科技有限公司 Local area network connection system and method
CN107483254A (en) * 2017-08-23 2017-12-15 绵阳美菱软件技术有限公司 A kind of production test method and device of Internet of Things intelligent object
WO2018018465A1 (en) * 2016-07-27 2018-02-01 北京小米移动软件有限公司 Method and apparatus for switching network functions
WO2019041287A1 (en) * 2017-08-31 2019-03-07 深圳市云中飞网络科技有限公司 Terminal location sending method and device
CN116016143A (en) * 2022-12-14 2023-04-25 广州市保伦电子有限公司 Internet of things equipment debugging method and Internet of things equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699861A (en) * 2009-10-29 2010-04-28 中兴通讯股份有限公司 Method and system for restoring video monitoring service
CN101822089A (en) * 2007-10-11 2010-09-01 日本电气株式会社 Wireless communication system and method
CN102932958A (en) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 Method, device and system for real-time data sharing
CN103200087A (en) * 2010-05-27 2013-07-10 华为终端有限公司 Wireless router, wireless routing method and wireless routing system
US8522315B2 (en) * 2003-03-14 2013-08-27 Thomson Licensing Automatic configuration of client terminal in public hot spot
CN103442410A (en) * 2013-08-27 2013-12-11 上海汉枫电子科技有限公司 Network breakdown re-access method based on internet of things embedded Wi-Fi module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8522315B2 (en) * 2003-03-14 2013-08-27 Thomson Licensing Automatic configuration of client terminal in public hot spot
CN101822089A (en) * 2007-10-11 2010-09-01 日本电气株式会社 Wireless communication system and method
CN101699861A (en) * 2009-10-29 2010-04-28 中兴通讯股份有限公司 Method and system for restoring video monitoring service
CN103200087A (en) * 2010-05-27 2013-07-10 华为终端有限公司 Wireless router, wireless routing method and wireless routing system
CN102932958A (en) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 Method, device and system for real-time data sharing
CN103442410A (en) * 2013-08-27 2013-12-11 上海汉枫电子科技有限公司 Network breakdown re-access method based on internet of things embedded Wi-Fi module

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679630A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Adjustment method and device for working mode of intelligent terminal
CN104853373A (en) * 2015-05-04 2015-08-19 海信集团有限公司 Method and device for switching operating modes of wireless module
CN105792388A (en) * 2015-12-30 2016-07-20 上海近游信息科技有限公司 Local area network connection system and method
WO2018018465A1 (en) * 2016-07-27 2018-02-01 北京小米移动软件有限公司 Method and apparatus for switching network functions
CN107483254A (en) * 2017-08-23 2017-12-15 绵阳美菱软件技术有限公司 A kind of production test method and device of Internet of Things intelligent object
WO2019041287A1 (en) * 2017-08-31 2019-03-07 深圳市云中飞网络科技有限公司 Terminal location sending method and device
CN116016143A (en) * 2022-12-14 2023-04-25 广州市保伦电子有限公司 Internet of things equipment debugging method and Internet of things equipment
CN116016143B (en) * 2022-12-14 2023-11-21 广东保伦电子股份有限公司 Internet of things equipment debugging method and Internet of things equipment

Also Published As

Publication number Publication date
CN103888983B (en) 2018-03-13

Similar Documents

Publication Publication Date Title
CN103888983A (en) WIFI work mode automatic switching method and system of terminal
CN102917425B (en) Operator network switching method and device
CN102917426B (en) Operator network switching method and device for IOT (Internal of Things) terminal
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN103686674A (en) Network access method, intelligent terminal and WiFi access equipment
KR101737746B1 (en) Method, terminal, client, smart card and system for accessing wireless network
CN107592634B (en) Method and system for realizing multi-network coverage based on cloud SIM technology
CN104678851A (en) Switch control method and switch control device of intelligent socket
CN104333890A (en) Signal transmission control method, device and electronic equipment
CN103941686A (en) Voice control method and system
KR101065092B1 (en) Network controller and small sized base station
CN104066129A (en) Network switching method and system
CN105657768A (en) Device and method for switching operator networks based on eSIM (embedded subscriber identity module)
CN105163372A (en) Network access method and network access device of intelligent household appliance
CN103945499A (en) Switching method and device of working modes of WIFI module
CN105491635A (en) Wireless device matching method, device and system
CN105323824A (en) WIFI equipment, electronic device and method for assisting WIFI equipment access to network
CN107820289B (en) WIFI network switching method, device, terminal and medium
CN110426718B (en) Radio station self-checking method and storage device of GNSS receiver
CN111064552B (en) Intelligent device control method and device, electronic device and storage medium
KR20140112331A (en) Communication Connection Control Method And Electronic Device Supporting the same
CN104105227A (en) A WIFI module work method and device based on different application scenarios
CN105099839A (en) Intelligent socket and networking method and system, wireless gateway and pairing method
CN110891292A (en) Method and device for automatically switching network for terminal
CN106576277B (en) Method and device for controlling communication connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant