CN102880512A - Working state switching method, working state switching device and electronic equipment terminal - Google Patents
Working state switching method, working state switching device and electronic equipment terminal Download PDFInfo
- Publication number
- CN102880512A CN102880512A CN2011101951388A CN201110195138A CN102880512A CN 102880512 A CN102880512 A CN 102880512A CN 2011101951388 A CN2011101951388 A CN 2011101951388A CN 201110195138 A CN201110195138 A CN 201110195138A CN 102880512 A CN102880512 A CN 102880512A
- Authority
- CN
- China
- Prior art keywords
- duty
- scanning result
- terminal
- list item
- corresponding relation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a working state switching method, a working state switching device and an electronic equipment terminal. The switching method is applied to a first terminal; the first terminal has at least two different working states; the switching method comprises the following steps: scanning a wireless network at which the first terminal is located and obtaining a first scanning result, wherein the first scanning result comprises an access point list, and the access point list comprises an access point connected with the first terminal and/or an access point which is not connected with the first terminal; obtaining a preset working state table; obtaining a first working state corresponding to the first scanning result according to the first scanning result and the working state table; and setting the working state of the first terminal as the first working state. According to the switching method, the switching of working states of the terminal is implemented according to a wireless network environment at which the terminal is located.
Description
Technical field
The present invention relates to terminal operating status control technology field, be specifically related to a kind of changing method, switching device shifter and electronic device terminal of duty.
Background technology
Be accompanied by enriching constantly that hardware performance promotes, the network bandwidth improves and uses, mobile interconnecting terminal all has universal application in different scenes such as work, amusement, commercial affairs and study, mobile interconnecting terminal also more and more is deep in people's the routine work life, and brings great convenience.
The geographic position of user when using the mobile internet terminal is not what fix, and the movement in geographic position may occur when using terminal the user, and terminal may be in the wireless network environment of variation.In different wireless network environments, the user may have different user demands to terminal.Therefore, be badly in need of a kind of method, can according to the residing wireless network environment of terminal, realize the switching of terminal operating status, to meet consumers' demand.
Summary of the invention
Embodiment of the invention technical matters to be solved provides a kind of changing method, switching device shifter and electronic device terminal of duty, in order to according to the residing wireless network environment of terminal, realizes the switching of terminal operating status.
For solving the problems of the technologies described above, the embodiment of the invention provides scheme as follows:
A kind of changing method of duty is applied to first terminal, and described first terminal has at least two kinds of different duties, and described method comprises:
Scan the wireless network of described first terminal position, obtain the first scanning result, described the first scanning result comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described first terminal and/or the access point that is not connected with described first terminal;
Obtain a predefined workshation state table;
According to described the first scanning result and described workshation state table, obtain the first duty corresponding to described the first scanning result;
The duty of described first terminal is set to described the first duty.
Preferably, in the above-mentioned changing method, described workshation state table includes at least one the corresponding relation list item between scanning result and the duty;
Described the first scanning result of described foundation and described workshation state table, obtaining the first duty corresponding to described the first scanning result is specially: according to described the first scanning result, mate described workshation state table, obtain described the first duty corresponding to described the first scanning result.
Preferably, in the above-mentioned changing method,
Described at least one corresponding relation list item comprises the first corresponding relation list item, and described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty;
Describedly mate described workshation state table according to described the first scanning result, comprising:
Resolve described the first corresponding relation list item, obtain the information of described the first access point;
Judge and whether have described the first access point in described the first scanning result;
When in described the first scanning result, having described the first access point, judge that described the first scanning result and described the first corresponding relation list item are complementary, and determine that described the first duty is described the 3rd duty.
Preferably, in the above-mentioned changing method,
Describedly mate described workshation state table according to described the first scanning result, comprising:
With described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
Obtain corresponding described the first duty of described the second corresponding relation list item.
Preferably, in the above-mentioned changing method,
Described workshation state table includes the second corresponding list item between position scene and the duty;
Described the first scanning result of described foundation and described workshation state table obtain the first duty corresponding to described the first scanning result and comprise:
According to the access point inventory in described the first scanning result, determine the residing primary importance scene of described first terminal;
According to described primary importance scene, mate described workshation state table, obtain described the first duty corresponding to described primary importance scene.
Preferably, in the above-mentioned changing method,
The duty of described first terminal is set to described the first duty and comprises:
Obtain the second current duty of described first terminal;
Judge whether described the second duty is described the first duty;
When described the second duty is not described the first duty, described first terminal is switched to described the first duty from described the second duty.
The embodiment of the invention also provides a kind of switching device shifter of duty, is applied to first terminal, and described first terminal has at least two kinds of different duties, and described switching device shifter comprises:
Scanning element, be used for scanning the wireless network of described first terminal position, obtain the first scanning result, described the first scanning result comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described first terminal and/or the access point that is not connected with described first terminal;
First obtains the unit, is used for obtaining a predefined workshation state table;
Second obtains the unit, is used for obtaining the first duty corresponding to described the first scanning result according to described the first scanning result and described workshation state table;
Setting unit, the duty that is used for described first terminal is set to described the first duty.
Preferably, in the above-mentioned switching device shifter, also comprise:
The first storage unit is used for preserving described workshation state table, includes at least one the corresponding relation list item between scanning result and the duty in the described workshation state table;
Described second obtains the unit comprises:
The first matching unit is used for according to described the first scanning result, mates described workshation state table, obtains described the first duty corresponding to described the first scanning result.
Preferably, in the above-mentioned switching device shifter,
Described at least one corresponding relation list item comprises the first corresponding relation list item, and described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty;
Described matching unit comprises:
Resolution unit is used for resolving described the first corresponding relation list item, obtains the information of described the first access point;
The first judging unit is used for judging whether described the first scanning result exists described the first access point;
The first determining unit is used for judging that described the first scanning result and described the first corresponding relation list item are complementary when there is described the first access point in described the first scanning result, and determines that described the first duty is described the 3rd duty.
Preferably, in the above-mentioned switching device shifter,
Described matching unit comprises:
Processing unit, be used for described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
The 3rd obtains the unit, is used for obtaining corresponding described the first duty of described the second corresponding relation list item.
Preferably, in the above-mentioned switching device shifter, also comprise:
The second storage unit is used for preserving described workshation state table, and described workshation state table includes the second corresponding list item between position scene and the duty;
Described second obtains the unit comprises:
The second determining unit is used for the access point inventory according to described the first scanning result, determines the residing primary importance scene of described first terminal;
The second matching unit is used for according to described primary importance scene, mates described workshation state table, obtains described the first duty corresponding to described primary importance scene.
Preferably, in the above-mentioned switching device shifter, described setting unit comprises:
The 4th obtains the unit, is used for obtaining the second current duty of described first terminal;
The second judging unit is used for judging whether described the second duty is described the first duty;
Switch unit is used for when described the second duty is not described the first duty described first terminal being switched to described the first duty from described the second duty.
The embodiment of the invention also provides a kind of electronic device terminal, and wherein, described electronic device terminal has at least two different duties, and described electronic device terminal comprises:
Power supply unit is used for to described electronic device terminal power supply;
Switching device shifter is connected with described power supply unit, and wherein, described switching device shifter comprises:
Scanning element, be used for scanning the wireless network of described terminal position, obtain the first scanning result, described the first scanning result comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described terminal and/or the access point that is not connected with described terminal;
First obtains the unit, is used for obtaining a predefined workshation state table;
Second obtains the unit, is used for obtaining the first duty corresponding to described the first scanning result according to described the first scanning result and described workshation state table;
Setting unit, the duty that is used for described terminal is set to described the first duty.
Preferably, in the above-mentioned electronic device terminal, also comprise:
The first storage unit is used for preserving described workshation state table, includes at least one the corresponding relation list item between scanning result and the duty in the described workshation state table;
Described second obtains the unit comprises:
The first matching unit is used for according to described the first scanning result, mates described workshation state table, obtains described the first duty corresponding to described the first scanning result.
Preferably, in the above-mentioned electronic device terminal,
Described at least one corresponding relation list item comprises the first corresponding relation list item, and described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty;
Described matching unit comprises:
Resolution unit is used for resolving described the first corresponding relation list item, obtains the information of described the first access point;
The first judging unit is used for judging whether described the first scanning result exists described the first access point;
The first determining unit is used for judging that described the first scanning result and described the first corresponding relation list item are complementary when there is described the first access point in described the first scanning result, and determines that described the first duty is described the 3rd duty.
Preferably, in the above-mentioned electronic device terminal,
Described matching unit comprises:
Processing unit, be used for described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
The 3rd obtains the unit, is used for obtaining corresponding described the first duty of described the second corresponding relation list item.
Preferably, in the above-mentioned electronic device terminal, also comprise:
The second storage unit is used for preserving described workshation state table, and described workshation state table includes the second corresponding list item between position scene and the duty;
Described second obtains the unit comprises:
The second determining unit is used for the access point inventory according to described the first scanning result, determines the residing primary importance scene of described first terminal;
The second matching unit is used for according to described primary importance scene, mates described workshation state table, obtains described the first duty corresponding to described primary importance scene.
Preferably, in the above-mentioned electronic device terminal, described setting unit comprises:
The 4th obtains the unit, is used for obtaining the second current duty of described terminal;
The second judging unit is used for judging whether described the second duty is described the first duty;
Switch unit is used for when described the second duty is not described the first duty described terminal being switched to described the first duty from described the second duty.
Can find out from the above, the changing method of the duty that the embodiment of the invention provides, switching device shifter and electronic device terminal, scanning result according to terminal, determine the wireless network environment that terminal is current, and then terminal operating status is set to the corresponding duty of current wireless network environment, thereby realized the automatic switchover of terminal operating status, satisfied the user demand of user under different network environments.
Description of drawings
Fig. 1 is the schematic flow sheet of the described changing method of present embodiment;
Fig. 2 is the structural representation of the described switching device shifter of present embodiment.
Embodiment
The embodiment of the invention provides a kind of changing method, switching device shifter and electronic device terminal of duty, can be according to the residing wireless network environment of terminal, automatically realize the switching of terminal operating status, thereby satisfy the user demand of user under different network environments.
Below with reference to accompanying drawing, the present invention is further illustrated by specific embodiment.
The changing method of the described duty of the embodiment of the invention is applied to first terminal, and described first terminal has at least two kinds of different duties.Here, the duty of terminal can be set according to demand in advance.Duty can comprise the user interface theme, operating system management strategy of the operating system of terminal and the application program that needs to carry out at least a.Wherein, user interface theme comprises the various parameters of user interface, such as parameters such as desktop background, font size colors; The operating system management strategy comprises the parameters such as the volume, power management policy of system.
For example, can set in advance a quiet duty, limit terminal mute speaker function in the operating system management this moment strategy; One vibration duty also can be set, limit terminal Vibration on Start-up function when called in the operating system management this moment strategy.Again for example, an amusement duty is set, this moment user interface on the game of installing in the display operation system; One desk job state also can be set, this moment user interface on various office softwares; Again for example, family's duty or company's duty can be set, terminal will be play one section predefined audio file this moment, with the current residing environment of reminding user.Etc..
Please refer to Fig. 1, the described changing method of present embodiment may further comprise the steps:
Here, not only comprise the information of the access point of the current access of first terminal in the first scanning result, also comprise the information of the access point that terminal does not access.Be example with Wireless Fidelity (WiFi, wireless fidelity) network, the specifying informations such as the packets of information includes network title of access point, signal intensity, encryption type, access point MAC Address, SSID; Described access point specifically can be AP equipment, can also be the terminal of opening the WiFi function.
Can find out from the above, present embodiment is according to the scanning result of terminal, determine the wireless network environment that terminal is current, and then terminal operating status is set to the corresponding duty of current wireless network environment, thereby realize the automatic switchover of terminal operating status, thereby satisfy the user demand of user under different network environments.
As a kind of preferred implementation, in the present embodiment, described workshation state table includes at least one the corresponding relation list item between scanning result and the duty.In above-mentioned steps 13, specifically according to described the first scanning result, mate described workshation state table, obtain described the first duty corresponding to described the first scanning result.Certainly, can carry out the operation of described coupling according to different matching strategies here, below illustrate several matching strategies that present embodiment can adopt:
1) in the described workshation state table, described at least one corresponding relation list item comprises the first corresponding relation list item, described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty, that is to say, as long as in the scanning result the first access point is arranged, this scanning result is corresponding to predefined the 3rd duty so.At this moment, described according to described the first scanning result, mate described workshation state table and specifically comprise:
Resolve described the first corresponding relation list item, obtain the information of described the first access point;
Judge and whether have described the first access point in described the first scanning result;
When in described the first scanning result, having described the first access point, judge that described the first scanning result and described the first corresponding relation list item are complementary, and determine that described the first duty is described the 3rd duty.
This matching strategy is specially adapted to some network environments that need preferred process.For example, can set in advance the scanning result that includes the meeting room access point, corresponding to a quiet duty.Like this, when scanning the wireless network that comprises the meeting room access point, terminal will automatically switch to quiet duty, to avoid producing interfering noise.
2) according to the principle of mating most, determine the corresponding relation list item that the first scanning result is corresponding.At this moment, described according to described the first scanning result, mate described workshation state table and specifically comprise:
With described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
Obtain corresponding described the first duty of described the second corresponding relation list item.
For example, the scanning result that corresponding relation list item indicating comprises a, b access point is corresponding to the x duty, and another corresponding relation list item indicating comprises that the scanning result of a, b and c access point is corresponding to the y duty.When comprising a, b, c and d access point in the first scanning result, at this moment, described another corresponding relation list item has maximum identical access point (a, b, c), therefore with the y duty as described the first duty.
As another kind of preferred implementation, in the present embodiment, described workshation state table includes the second corresponding list item between position scene and the duty.In above-mentioned steps 13, specifically according to the access point inventory in described the first scanning result, determine the residing primary importance scene of described first terminal; Then, according to described primary importance scene, mate described workshation state table, obtain described the first duty corresponding to described primary importance scene.That is, in this preferred implementation, need to analyze scanning result, determining the residing position of first terminal scene, and then remove to mate workshation state table according to this position scene, obtain described the first duty.For example, when scanning the access point that is arranged in the subscriber household, can analyze and obtain terminal and be in the subscriber household this moment, therefore can switch to the corresponding duty of subscriber household environment that sets in advance.Again for example, during access point in scanning the company of being arranged on, can analyze this moment and obtain terminal and be in the company, therefore can switch to the corresponding duty of the company's environment that sets in advance.
Described the first scanning result that obtains in the present embodiment above-mentioned steps 11 comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described first terminal and/or the access point that is not connected with described first terminal.Therefore, present embodiment can be according to the switching of following three kinds of different scanning result execution work states: 1) described access point inventory only comprises the access point that described first terminal connects; 2) described access point inventory only comprises the access point that is not connected with described first terminal; 3) described access point inventory had both comprised the access point that is not connected with described first terminal, also comprised the access point that described first terminal connects.
And, when present embodiment comprises the access point that is not connected with described first terminal (above-mentioned the 2nd, 3 kind of scanning result) at described access point inventory, present embodiment then can be by the position scene of not determining terminal with the actual access point that is connected of terminal that scans, with respect to by determining the position scene of terminal with the actual access point that is connected of terminal, the duty of present embodiment is switched and is not relied on terminal generation access point and switches, and does not namely occur still can carry out the switching of duty when access point switches in terminal.
For example, set in advance when the access point that scans is a, b and c, corresponding to the normal mode of operation state of terminal at the office area place; When the access point that scans is b, c and d, corresponding to the quiet operational mode state of terminal at the meeting room place.In actual applications, when the access point of terminal connection is b (b is between office area and meeting room), when terminal moves to meeting room from office area, terminal may still access to network by b, and can not switch access point, this moment present embodiment then can according to terminal scanning to the access point d that does not connect or according to the access point (b, c and d) that comprises the access point d that does not connect, and determine that finally the duty of terminal is quiet operational mode state.
In the present embodiment, in the above-mentioned steps 14, before described the first duty was set, the current duty of possible first terminal had been described the first duty just, and just needn't carry out the setting of duty this moment again.Therefore, present embodiment is in above-mentioned steps 14, and the duty of the described first terminal of execution is set to described the first duty and specifically can comprises:
Step 141 obtains the second current duty of described first terminal;
Step 142 judges whether described the second duty is described the first duty;
Step 143, when described the second duty is described the first duty, process ends;
Step 144 when described the second duty is not described the first duty, switches to described the first duty with described first terminal from described the second duty.
At last, based on the changing method of above duty, present embodiment also provides a kind of switching device shifter of duty, is applied to first terminal, and described first terminal has at least two kinds of different duties.Please refer to Fig. 2, described switching device shifter comprises:
Scanning element, be used for scanning the wireless network of described first terminal position, obtain the first scanning result, described the first scanning result comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described first terminal and/or the access point that is not connected with described first terminal;
First obtains the unit, is used for obtaining a predefined workshation state table;
Second obtains the unit, is used for obtaining the first duty corresponding to described the first scanning result according to described the first scanning result and described workshation state table;
Setting unit, the duty that is used for described first terminal is set to described the first duty.
The switching device shifter of present embodiment can also comprise:
The first storage unit is used for preserving described workshation state table, includes at least one the corresponding relation list item between scanning result and the duty in the described workshation state table;
Described second obtains the unit comprises:
The first matching unit is used for according to described the first scanning result, mates described workshation state table, obtains described the first duty corresponding to described the first scanning result.
As a preferred implementation, described at least one corresponding relation list item comprises the first corresponding relation list item, and described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty;
At this moment, described matching unit comprises:
Resolution unit is used for resolving described the first corresponding relation list item, obtains the information of described the first access point;
The first judging unit is used for judging whether described the first scanning result exists described the first access point;
The first determining unit is used for judging that described the first scanning result and described the first corresponding relation list item are complementary when there is described the first access point in described the first scanning result, and determines that described the first duty is described the 3rd duty.
As another preferred implementation, described matching unit comprises:
Processing unit, be used for described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
The 3rd obtains the unit, is used for obtaining corresponding described the first duty of described the second corresponding relation list item.
The switching device shifter of present embodiment also comprises:
The second storage unit is used for preserving described workshation state table, and described workshation state table includes the second corresponding list item between position scene and the duty;
Described second obtains the unit comprises:
The second determining unit is used for the access point inventory according to described the first scanning result, determines the residing primary importance scene of described first terminal;
The second matching unit is used for according to described primary importance scene, mates described workshation state table, obtains described the first duty corresponding to described primary importance scene.
In the switching device shifter of present embodiment, described setting unit comprises:
The 4th obtains the unit, is used for obtaining the second current duty of described first terminal;
The second judging unit is used for judging whether described the second duty is described the first duty;
Switch unit is used for when described the second duty is not described the first duty described first terminal being switched to described the first duty from described the second duty.
At last, present embodiment also provides a kind of electronic device terminal, and wherein, described electronic device terminal has at least two different duties, and described electronic device terminal specifically comprises:
Power supply unit is used for to described electronic device terminal power supply;
Switching device shifter is connected with described power supply unit, and wherein, described switching device shifter comprises:
Scanning element, be used for scanning the wireless network of described terminal position, obtain the first scanning result, described the first scanning result comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described terminal and/or the access point that is not connected with described terminal;
First obtains the unit, is used for obtaining a predefined workshation state table;
Second obtains the unit, is used for obtaining the first duty corresponding to described the first scanning result according to described the first scanning result and described workshation state table;
Setting unit, the duty that is used for described terminal is set to described the first duty.
In the present embodiment, described electronic device terminal also comprises:
The first storage unit is used for preserving described workshation state table, includes at least one the corresponding relation list item between scanning result and the duty in the described workshation state table;
Described second obtains the unit comprises:
The first matching unit is used for according to described the first scanning result, mates described workshation state table, obtains described the first duty corresponding to described the first scanning result.
As a preferred implementation, described at least one corresponding relation list item comprises the first corresponding relation list item, and described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty;
At this moment, described matching unit comprises:
Resolution unit is used for resolving described the first corresponding relation list item, obtains the information of described the first access point;
The first judging unit is used for judging whether described the first scanning result exists described the first access point;
The first determining unit is used for judging that described the first scanning result and described the first corresponding relation list item are complementary when there is described the first access point in described the first scanning result, and determines that described the first duty is described the 3rd duty.
As another preferred implementation, described matching unit comprises:
Processing unit, be used for described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
The 3rd obtains the unit, is used for obtaining corresponding described the first duty of described the second corresponding relation list item.
The switching device shifter of present embodiment also comprises:
The second storage unit is used for preserving described workshation state table, and described workshation state table includes the second corresponding list item between position scene and the duty;
Described second obtains the unit comprises:
The second determining unit is used for the access point inventory according to described the first scanning result, determines the residing primary importance scene of described electronic device terminal;
The second matching unit is used for according to described primary importance scene, mates described workshation state table, obtains described the first duty corresponding to described primary importance scene.
In the switching device shifter of present embodiment, described setting unit comprises:
The 4th obtains the unit, is used for obtaining the second current duty of described first terminal;
The second judging unit is used for judging whether described the second duty is described the first duty;
Switch unit is used for when described the second duty is not described the first duty described first terminal being switched to described the first duty from described the second duty.
The above only is embodiments of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (18)
1. the changing method of a duty is applied to first terminal, and described first terminal has at least two kinds of different duties, it is characterized in that, described method comprises:
Scan the wireless network of described first terminal position, obtain the first scanning result, described the first scanning result comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described first terminal and/or the access point that is not connected with described first terminal;
Obtain a predefined workshation state table;
According to described the first scanning result and described workshation state table, obtain the first duty corresponding to described the first scanning result;
The duty of described first terminal is set to described the first duty.
2. the method for claim 1 is characterized in that, described workshation state table includes at least one the corresponding relation list item between scanning result and the duty;
Described the first scanning result of described foundation and described workshation state table, obtaining the first duty corresponding to described the first scanning result is specially: according to described the first scanning result, mate described workshation state table, obtain described the first duty corresponding to described the first scanning result.
3. method as claimed in claim 2 is characterized in that,
Described at least one corresponding relation list item comprises the first corresponding relation list item, and described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty;
Describedly mate described workshation state table according to described the first scanning result, comprising:
Resolve described the first corresponding relation list item, obtain the information of described the first access point;
Judge and whether have described the first access point in described the first scanning result;
When in described the first scanning result, having described the first access point, judge that described the first scanning result and described the first corresponding relation list item are complementary, and determine that described the first duty is described the 3rd duty.
4. method as claimed in claim 2 is characterized in that,
Describedly mate described workshation state table according to described the first scanning result, comprising:
With described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
Obtain corresponding described the first duty of described the second corresponding relation list item.
5. the method for claim 1 is characterized in that,
Described workshation state table includes the second corresponding list item between position scene and the duty;
Described the first scanning result of described foundation and described workshation state table obtain the first duty corresponding to described the first scanning result and comprise:
According to the access point inventory in described the first scanning result, determine the residing primary importance scene of described first terminal;
According to described primary importance scene, mate described workshation state table, obtain described the first duty corresponding to described primary importance scene.
6. the method for claim 1 is characterized in that,
The duty of described first terminal is set to described the first duty and comprises:
Obtain the second current duty of described first terminal;
Judge whether described the second duty is described the first duty;
When described the second duty is not described the first duty, described first terminal is switched to described the first duty from described the second duty.
7. the switching device shifter of a duty is applied to first terminal, and described first terminal has at least two kinds of different duties, it is characterized in that, described switching device shifter comprises:
Scanning element, be used for scanning the wireless network of described first terminal position, obtain the first scanning result, described the first scanning result comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described first terminal and/or the access point that is not connected with described first terminal;
First obtains the unit, is used for obtaining a predefined workshation state table;
Second obtains the unit, is used for obtaining the first duty corresponding to described the first scanning result according to described the first scanning result and described workshation state table;
Setting unit, the duty that is used for described first terminal is set to described the first duty.
8. switching device shifter as claimed in claim 7 is characterized in that, also comprises:
The first storage unit is used for preserving described workshation state table, includes at least one the corresponding relation list item between scanning result and the duty in the described workshation state table;
Described second obtains the unit comprises:
The first matching unit is used for according to described the first scanning result, mates described workshation state table, obtains described the first duty corresponding to described the first scanning result.
9. switching device shifter as claimed in claim 8 is characterized in that,
Described at least one corresponding relation list item comprises the first corresponding relation list item, and described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty;
Described matching unit comprises:
Resolution unit is used for resolving described the first corresponding relation list item, obtains the information of described the first access point;
The first judging unit is used for judging whether described the first scanning result exists described the first access point;
The first determining unit is used for judging that described the first scanning result and described the first corresponding relation list item are complementary when there is described the first access point in described the first scanning result, and determines that described the first duty is described the 3rd duty.
10. switching device shifter as claimed in claim 8 is characterized in that,
Described matching unit comprises:
Processing unit, be used for described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
The 3rd obtains the unit, is used for obtaining corresponding described the first duty of described the second corresponding relation list item.
11. switching device shifter as claimed in claim 7 is characterized in that, also comprises:
The second storage unit is used for preserving described workshation state table, and described workshation state table includes the second corresponding list item between position scene and the duty;
Described second obtains the unit comprises:
The second determining unit is used for the access point inventory according to described the first scanning result, determines the residing primary importance scene of described first terminal;
The second matching unit is used for according to described primary importance scene, mates described workshation state table, obtains described the first duty corresponding to described primary importance scene.
12. switching device shifter as claimed in claim 7 is characterized in that, described setting unit comprises:
The 4th obtains the unit, is used for obtaining the second current duty of described first terminal;
The second judging unit is used for judging whether described the second duty is described the first duty;
Switch unit is used for when described the second duty is not described the first duty described first terminal being switched to described the first duty from described the second duty.
13. an electronic device terminal, wherein, described electronic device terminal has at least two different duties, it is characterized in that, described electronic device terminal comprises:
Power supply unit is used for to described electronic device terminal power supply;
Switching device shifter is connected with described power supply unit, and wherein, described switching device shifter comprises:
Scanning element, be used for scanning the wireless network of described terminal position, obtain the first scanning result, described the first scanning result comprises the access point inventory, and wherein said access point inventory comprises the access point that is connected with described terminal and/or the access point that is not connected with described terminal;
First obtains the unit, is used for obtaining a predefined workshation state table;
Second obtains the unit, is used for obtaining the first duty corresponding to described the first scanning result according to described the first scanning result and described workshation state table;
Setting unit, the duty that is used for described terminal is set to described the first duty.
14. electronic device terminal as claimed in claim 13 is characterized in that, also comprises:
The first storage unit is used for preserving described workshation state table, includes at least one the corresponding relation list item between scanning result and the duty in the described workshation state table;
Described second obtains the unit comprises:
The first matching unit is used for according to described the first scanning result, mates described workshation state table, obtains described the first duty corresponding to described the first scanning result.
15. electronic device terminal as claimed in claim 14 is characterized in that,
Described at least one corresponding relation list item comprises the first corresponding relation list item, and described the first corresponding relation list item indication includes the scanning result of the first access point corresponding to the 3rd duty;
Described matching unit comprises:
Resolution unit is used for resolving described the first corresponding relation list item, obtains the information of described the first access point;
The first judging unit is used for judging whether described the first scanning result exists described the first access point;
The first determining unit is used for judging that described the first scanning result and described the first corresponding relation list item are complementary when there is described the first access point in described the first scanning result, and determines that described the first duty is described the 3rd duty.
16. electronic device terminal as claimed in claim 14 is characterized in that,
Described matching unit comprises:
Processing unit, be used for described the first scanning result, mate one by one with the corresponding relation list item in the described workshation state table, obtain the second corresponding relation list item, described the second corresponding relation list item is the corresponding relation list item that has maximum identical access points in described at least one corresponding relation list item with described the first scanning result;
The 3rd obtains the unit, is used for obtaining corresponding described the first duty of described the second corresponding relation list item.
17. electronic device terminal as claimed in claim 13 is characterized in that, also comprises:
The second storage unit is used for preserving described workshation state table, and described workshation state table includes the second corresponding list item between position scene and the duty;
Described second obtains the unit comprises:
The second determining unit is used for the access point inventory according to described the first scanning result, determines the residing primary importance scene of described electronic device terminal;
The second matching unit is used for according to described primary importance scene, mates described workshation state table, obtains described the first duty corresponding to described primary importance scene.
18. electronic device terminal as claimed in claim 13 is characterized in that, described setting unit comprises:
The 4th obtains the unit, is used for obtaining the second current duty of described terminal;
The second judging unit is used for judging whether described the second duty is described the first duty;
Switch unit is used for when described the second duty is not described the first duty described terminal being switched to described the first duty from described the second duty.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110195138.8A CN102880512B (en) | 2011-07-12 | 2011-07-12 | A kind of changing method of duty, switching device shifter and electronic device terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110195138.8A CN102880512B (en) | 2011-07-12 | 2011-07-12 | A kind of changing method of duty, switching device shifter and electronic device terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102880512A true CN102880512A (en) | 2013-01-16 |
CN102880512B CN102880512B (en) | 2016-01-27 |
Family
ID=47481850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110195138.8A Active CN102880512B (en) | 2011-07-12 | 2011-07-12 | A kind of changing method of duty, switching device shifter and electronic device terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102880512B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268260A (en) * | 2013-05-06 | 2013-08-28 | 苏州三星电子电脑有限公司 | Electronic equipment capable of automatically switching contextual models and switching method |
CN104066088A (en) * | 2014-06-06 | 2014-09-24 | Tcl通讯(宁波)有限公司 | Wireless internet access strategy method, system and definition method for mobile terminal |
CN104683546A (en) * | 2013-11-29 | 2015-06-03 | 深圳富泰宏精密工业有限公司 | Profile switching device and method |
CN105227782A (en) * | 2015-10-30 | 2016-01-06 | 维沃移动通信有限公司 | A kind of changing method of mobile terminal operating system and mobile terminal |
CN105792237A (en) * | 2014-12-26 | 2016-07-20 | ***通信集团公司 | Terminal state monitoring method and device |
WO2016165335A1 (en) * | 2015-09-08 | 2016-10-20 | 中兴通讯股份有限公司 | Screen lock controlling method and apparatus |
CN106464790A (en) * | 2014-06-17 | 2017-02-22 | 索尼公司 | Imaging system, imaging device, information processing device and method, and program |
CN106658668A (en) * | 2016-09-08 | 2017-05-10 | 北京小米移动软件有限公司 | Information processing method and device |
CN110855837A (en) * | 2019-11-20 | 2020-02-28 | 北京小米移动软件有限公司 | Method, device and medium for automatically switching terminal body-separating mode |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101015223A (en) * | 2004-07-12 | 2007-08-08 | 中兴通讯股份有限公司 | Method for detecting frequent handoff in wireless LAN environment |
CN101466130A (en) * | 2009-01-09 | 2009-06-24 | 中兴通讯股份有限公司 | Control method and device for network connection |
CN101621548A (en) * | 2009-08-10 | 2010-01-06 | 中兴通讯股份有限公司 | Method and system for realizing terminal resource sharing based on peer connection system |
-
2011
- 2011-07-12 CN CN201110195138.8A patent/CN102880512B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101015223A (en) * | 2004-07-12 | 2007-08-08 | 中兴通讯股份有限公司 | Method for detecting frequent handoff in wireless LAN environment |
CN101466130A (en) * | 2009-01-09 | 2009-06-24 | 中兴通讯股份有限公司 | Control method and device for network connection |
CN101621548A (en) * | 2009-08-10 | 2010-01-06 | 中兴通讯股份有限公司 | Method and system for realizing terminal resource sharing based on peer connection system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268260A (en) * | 2013-05-06 | 2013-08-28 | 苏州三星电子电脑有限公司 | Electronic equipment capable of automatically switching contextual models and switching method |
CN104683546A (en) * | 2013-11-29 | 2015-06-03 | 深圳富泰宏精密工业有限公司 | Profile switching device and method |
CN104066088A (en) * | 2014-06-06 | 2014-09-24 | Tcl通讯(宁波)有限公司 | Wireless internet access strategy method, system and definition method for mobile terminal |
CN106464790A (en) * | 2014-06-17 | 2017-02-22 | 索尼公司 | Imaging system, imaging device, information processing device and method, and program |
CN105792237A (en) * | 2014-12-26 | 2016-07-20 | ***通信集团公司 | Terminal state monitoring method and device |
CN105792237B (en) * | 2014-12-26 | 2019-06-25 | ***通信集团公司 | A kind of SOT state of termination monitoring method and device |
WO2016165335A1 (en) * | 2015-09-08 | 2016-10-20 | 中兴通讯股份有限公司 | Screen lock controlling method and apparatus |
CN106506791A (en) * | 2015-09-08 | 2017-03-15 | 中兴通讯股份有限公司 | A kind of method and apparatus of control screen locking |
CN105227782A (en) * | 2015-10-30 | 2016-01-06 | 维沃移动通信有限公司 | A kind of changing method of mobile terminal operating system and mobile terminal |
CN106658668A (en) * | 2016-09-08 | 2017-05-10 | 北京小米移动软件有限公司 | Information processing method and device |
CN110855837A (en) * | 2019-11-20 | 2020-02-28 | 北京小米移动软件有限公司 | Method, device and medium for automatically switching terminal body-separating mode |
Also Published As
Publication number | Publication date |
---|---|
CN102880512B (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102880512B (en) | A kind of changing method of duty, switching device shifter and electronic device terminal | |
US9591675B2 (en) | Method and apparatus for connecting short-range wireless communication in terminal | |
CA2788655C (en) | Connection priority services for data communication between two devices | |
CN105472430A (en) | Method of making mobile terminal ring through intelligent television, equipment and system thereof | |
KR20050121089A (en) | Service method for information exchanging between in-house device and mobile phone | |
JP6345245B2 (en) | Network switching method and terminal device | |
CN104683546A (en) | Profile switching device and method | |
CN101529880A (en) | Replying through different channels | |
KR101517134B1 (en) | Mode switching method and device | |
KR101360097B1 (en) | Portable type terminal receiving remote support, remote support method, program for remote support, operator system, operator server and operator terminal | |
US20130108113A1 (en) | Method and apparatus for controlling user equipment | |
CN102246468A (en) | Networking method,server equipment,client equipment and network system | |
CN103731562B (en) | For the method and apparatus of smart machine Adaptive matching bluetooth equipment | |
US20120257768A1 (en) | Noise removal method and system | |
CN104717377A (en) | Mobile terminal scene mode switching method and device and mobile terminal | |
CN104754132A (en) | Electronic device and method of determining operating mode of electronic device | |
CN102378152B (en) | Method, device and system for processing service | |
CN114867075A (en) | Wireless network switching method, device, equipment, storage medium and product | |
CN105142001A (en) | Screenshot method and system | |
CN107479911B (en) | Method for downloading application program, user equipment and application server | |
CN106161108B (en) | A kind of parameter processing method of smart machine, device and smart machine | |
CN103226497B (en) | Control the information processor of electric equipment products, program excutive method and program | |
CN104079326A (en) | Equipment identification method and associated equipment | |
CN106375979A (en) | Method for finding states of intelligent devices in LAN rapidly | |
CN105792237A (en) | Terminal state monitoring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |