CN107548141A - The switching method and AP of a kind of mode of operation - Google Patents
The switching method and AP of a kind of mode of operation Download PDFInfo
- Publication number
- CN107548141A CN107548141A CN201710561591.3A CN201710561591A CN107548141A CN 107548141 A CN107548141 A CN 107548141A CN 201710561591 A CN201710561591 A CN 201710561591A CN 107548141 A CN107548141 A CN 107548141A
- Authority
- CN
- China
- Prior art keywords
- mode
- period
- switched
- current mode
- default
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
- Optical Communication System (AREA)
Abstract
The embodiment of the present application provides the switching method and AP of a kind of mode of operation.The AP includes optical sensor.This method includes:When current mode of operation is normal mode of operation, the first light intensity data in the environment of the optical sensor collection is obtained;When the first light intensity data is less than default first Intensity threshold, current mode of operation is switched into energy saver mode.The scheme provided using the embodiment of the present application, it is possible to increase the accuracy of mode of operation switching, improve Consumer's Experience.
Description
Technical field
The application is related to communication technical field, more particularly to the switching method and AP of a kind of mode of operation.
Background technology
In WLAN (Wireless Local Area Network, WLAN), access point (Access Point,
AP can be) that electronic equipment (i.e. Station, work station) provides wirelessly access.Wherein, electronic equipment can include installation
The notebook computers of WLAN network interface cards, the mobile phone for supporting WLAN etc..
AP for Station when providing wirelessly access, generally use RF-wise transmission data.In large-scale WLAN
In network, AP quantity may be very big, such as the quantity can exceed that 5000.In terms of network topology, it usually needs allow
All scopes in AP signal coverage areas, but many AP are not to be required for externally providing wireless service all the time in fact
's.For example, in school's scene, the AP of evening teaching building is usually in idle state, i.e. AP has been at working condition and disappeared
The energy is consumed, AP is not enough saved.
In the prior art, can be that each AP sets the working time, when AP is not at certainly in order to improve AP energy-efficient performance
Mode of operation can be switched to energy saver mode during the working time of body, when AP is in the working time of itself, by Working mould
Formula switches to normal mode of operation.The switching of AP mode of operations generally is configured to realize with the working condition to radio-frequency card.
For example, when AP is in energy saver mode, radio-frequency card is in off working state, does not provide wireless service externally;When AP is in normal
During mode of operation, radio-frequency card is in running order, externally provides wireless service.
But the switching method of above-mentioned mode of operation is not accurate enough, Consumer's Experience is poor.For example, when AP work is set
Between be 08:00—22:00, when user works overtime more than 22 points some day temporarily, then because AP has been according to current time
Non-working time and by mode of operation switch for energy saver mode, wireless service is not provided externally, causes user can not use nothing
Gauze network, Consumer's Experience are poor.
The content of the invention
The purpose of the embodiment of the present application is the provision of the switching method and AP of a kind of mode of operation, to improve mode of operation
The accuracy of switching, improve Consumer's Experience.Specific technical scheme is as follows.
In order to achieve the above object, the embodiment of the present application discloses a kind of switching method of mode of operation, applied to AP, institute
Stating AP includes optical sensor;Methods described includes:
When current mode of operation is normal mode of operation, the first light in the environment of the optical sensor collection is obtained
Strong data;
When first light intensity data is less than default first Intensity threshold, current mode of operation is switched into energy-conservation
Pattern.
In order to achieve the above object, the embodiment of the present application discloses a kind of AP, and the AP includes:Processor and optical sensor;
Wherein, the optical sensor, sent out for gathering the first light intensity data in environment, and by first light intensity data
Deliver to the processor;
The processor, sent for when current mode of operation is normal mode of operation, receiving the optical sensor
The first light intensity data, when first light intensity data is less than default first Intensity threshold, current mode of operation is cut
It is changed to energy saver mode.
In order to achieve the above object, the embodiment of the present application also discloses a kind of computer-readable recording medium, the calculating
Machine readable storage medium storing program for executing internal memory contains computer program, and the computer program realizes the embodiment of the present application when being executed by processor
The switching method of the mode of operation of offer.Wherein, the switching method of the mode of operation includes:
When current mode of operation is normal mode of operation, the first light in the environment of the optical sensor collection is obtained
Strong data;
When first light intensity data is less than default first Intensity threshold, current mode of operation is switched into energy-conservation
Pattern.
The switching method and AP of the mode of operation provided from the above, the embodiment of the present application, can be current
When mode of operation is normal mode of operation, the first light intensity data in the environment of optical sensor collection is obtained, when first light intensity
When data are less than default first Intensity threshold, current mode of operation is switched into energy saver mode.Because user generally works
In the environment of light, judge whether mode of operation switching to energy saver mode according to the light intensity data of environment, can be more accurate
Ground judges that user uses the demand of network, and then improves the accuracy of mode of operation switching, improves Consumer's Experience.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the required accompanying drawing used in technology description to be briefly described.It should be evident that drawings in the following description are only this
Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the switching method for the mode of operation that the embodiment of the present application provides;
Fig. 2 is another schematic flow sheet of the switching method for the mode of operation that the embodiment of the present application provides;
Fig. 3 is another schematic flow sheet of the switching method for the mode of operation that the embodiment of the present application provides;
Fig. 4 is another schematic flow sheet of the switching method for the mode of operation that the embodiment of the present application provides;
Fig. 5 is a kind of structural representation for the AP that the embodiment of the present application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete
Whole description.Obviously, described embodiment is only the part of the embodiment of the application, rather than whole embodiments.Base
Embodiment in the application, those of ordinary skill in the art are obtained all on the premise of creative work is not made
Other embodiment, belong to the scope of the application protection.
The embodiment of the present application provides the switching method and AP of a kind of mode of operation, it is possible to increase the standard of mode of operation switching
True property, improve Consumer's Experience.Below by specific embodiment, the application is described in detail.
Fig. 1 is a kind of schematic flow sheet of the switching method for the mode of operation that the embodiment of the present application provides.This method application
In access point (Access Point, AP), in WLAN (Wireless Local Area Network, WLAN), AP
Can be that electronic equipment (i.e. Station, also known as work station) provides wireless network access services.In the present embodiment, the AP bags
Optical sensor is included, the optical sensor is connected with the processor (CPU) in AP.The present embodiment more specifically executive agent can be AP
In processor.
Specifically, this method comprises the following steps S101 and step S102:
Step S101:When current mode of operation is normal mode of operation, in the environment for obtaining optical sensor collection
First light intensity data.
Specifically, processor can pre-set two kinds of mode of operations, one kind is energy saver mode, and one kind is normal work mould
Formula.The energy consumption that energy saver mode can be understood as AP in this operating mode is relatively low, and partial function is restricted, such as
Radio-frequency enabled (function of sending radiofrequency signal) can be disabled.Normal mode of operation can be understood as in this work
AP energy consumption is higher under pattern, and more functions are that available such as common function is available, including radio frequency work(
Energy.
Obtain optical sensor collection environment in the first light intensity data when, can include:The is sent to optical sensor
One light intensity data obtains instruction, the first light that optical sensor itself will gather when receiving first light intensity data and obtaining instruction
Strong data send to processor, processor and receive the first light intensity data that optical sensor is sent.It can also include:Optical sensor is straight
Connect to send the first light intensity data of itself collection to processor, processor and receive the first light intensity data that optical sensor is sent.
In the present embodiment, processor can obtain the first light intensity in the environment of optical sensor collection according to predetermined period
Data.
Step S102:When above-mentioned first light intensity data is less than default first Intensity threshold, by current mode of operation
Switch to energy saver mode.
When above-mentioned first light intensity data is not less than the first Intensity threshold, it can not process, i.e., not switch current work
Operation mode, it is normal mode of operation to keep current mode of operation.
Wherein, above-mentioned first Intensity threshold Th can be the numerical value pre-set, and the numerical value can be according to user job
When environment light intensity data and user when not working the statistical result of the light intensity data of environment draw.
For example, the light intensity data scope of environment is [a1, b1] during user job, light intensity data scope when user does not work
For [a2, b2], wherein, b1>A1, b2>a2.
When scope [a1, b1] and scope [a2, b2] do not have lap, that is, work as b2<During a1, Th can be set smaller than
B2 value.
When scope [a1, b1] and scope [a2, b2] have lap, that is, work as a1<b2<B1, a2<During a1, Th can be set
It is set to the value less than a1.
It should be noted that in order to as make the switching of mode of operation more accurate as possible, above-mentioned first Intensity threshold can be set
Put less than normal.So, when the first light intensity data of environment is less than the first Intensity threshold, user is also in the probability meeting of work
It is very low, at this time switch to energy saver mode to reduce the influence to user job as far as possible mode of operation, improve switching
Accuracy.
Because AP generally includes radio frequency unit and processor, and the energy consumption of radio frequency unit can typically account for access point total energy
More than the 2/3 of consumption, therefore processor can include when current mode of operation is switched into energy saver mode:Processor is to penetrating
Frequency unit sends the instruction that is stopped, and radio frequency unit is stopped when receiving this and being stopped and instruct, so that AP enters section
Can pattern;Or processor sends the cut-out instruction for radio frequency unit power supply to power supply unit, power supply unit is receiving this
The power supply of radio frequency unit is cut off during cut-out instruction, so that AP enters energy saver mode.
As shown in the above, the switching method for the mode of operation that the present embodiment provides, can be in current mode of operation
For normal mode of operation when, obtain optical sensor collection environment in the first light intensity data, when first light intensity data is less than
During the first Intensity threshold, current mode of operation is switched into energy saver mode.It is usually operated at due to user in the environment of light,
Judge whether mode of operation switching to energy saver mode according to the light intensity data of environment, can more accurately judge that user uses
The demand of network, and then the accuracy of mode of operation switching is improved, improve Consumer's Experience.
It should be noted that when AP switches to energy saver mode, radio frequency unit is stopped, and processor and optical sensor are still
It is old can be with normal work.Optical sensor is introduced in the present embodiment, optical sensor needs to consume certain energy in normal work
Source, but the energy consumption of optical sensor is much smaller for the energy consumption of radio frequency unit.Therefore, in the power save mode, this implementation
Example can't consume the energy too much.
Can pass through control it is pointed out that when AP performs the handoff procedure of above-mentioned mode of operation in the present embodiment
What the mode that device sends instruction configured, it can also be configured by way of user is set.The application is not specifically limited to this.
In a kind of embodiment of embodiment illustrated in fig. 1, in order to further improve the accuracy of mode of operation switching, step
Rapid S102, when above-mentioned first light intensity data is less than default first Intensity threshold, current mode of operation is switched into energy-conservation
The step of pattern, it can include:
When above-mentioned first light intensity data is less than default first Intensity threshold, it is less than in above-mentioned first light intensity data default
The first Intensity threshold when at the time of when being in the predetermined inoperative period, current mode of operation is switched into energy-conservation mould
Formula.
Wherein, the inoperative period application environment and corresponding empirical value can determine according to.For example, in school environment
In, because the learning time of student is not fixed, the inoperative period could be arranged to 06:00—23:00;It is non-in company's environment
Working hour can determine according to the working hour of employee, such as be arranged to 08:00—17:00.
In order to improve accuracy, following statistical can be used to predefine the inoperative period:
The access information that the electronic equipment preserved accesses above-mentioned AP is obtained, when the access information includes the access moment and disconnected
Carve, according to the access moment and disconnect the moment, determine the inoperative period.
Specifically, the electronic equipment access AP preserved in a period of time access information can be obtained, for example, obtaining distance
The access information of the electronic equipment preserved in 5~10 days current times.According to the access moment and the moment is disconnected, determines inoperative
Period, it can include:It is determined that earliest access moment among daily and disconnect the moment the latest, this earliest is accessed into moment and the latest
The disconnection moment is identified as initial time and the end moment of inoperative period.
It is understood that when can determine that user uses the hobby of wireless network according to the access information of above-mentioned preservation
Section, so as to more accurately determine the inoperative period.
It can be seen that the present embodiment can be less than the first Intensity threshold in the first light intensity data, and the first light intensity data is less than
In the inoperative period, the two conditions meet at the time of during the first Intensity threshold simultaneously when, current mode of operation is switched to
Energy saver mode, it can further improve the accuracy of mode of operation switching.
In a kind of embodiment of embodiment illustrated in fig. 1, in order to further improve the accuracy of mode of operation switching, step
Rapid S102, when above-mentioned first light intensity data is less than default first Intensity threshold, current mode of operation is switched into energy-conservation
The step of pattern, comprise the following steps 1~step 3:
Step 1:Judge with the presence or absence of the electronic equipment accessed in the first period, if it does not exist, then thinking that AP compares
Free time, step 2 is performed, if it is present thinking that AP is not idle, perform step 3.
Wherein, when the initial time of the first period is determines that above-mentioned first light intensity data is less than default first Intensity threshold
At the time of, the end moment of the first period is at the time of presetting the first duration with the initial time interval of the first period.
Specifically, when judging in above-mentioned first period with the presence or absence of the electronic equipment accessed, can setting from record
Judged in standby access information.
Step 2:Current mode of operation is switched into energy saver mode.
Step 3:Judge whether the flow that the electronic equipment accessed is accessed within the first period is more than default first
Flow threshold, if it is not greater, then current mode of operation is switched into energy saver mode;If it is greater, then do not handled, i.e.,
Keep current mode of operation constant.
It is understood that when the electronic equipment accessed in above-mentioned first period be present, in order to further improve inspection
The accuracy of survey, it can be determined that whether the flow of the electronic equipment accessed is bigger, if its flow and little, such as access
Although the printer of wireless network, there is also the transmission of the flow between access point, does not provide printing clothes at night
Business, therefore mode of operation can be switched to energy saver mode.
Specifically, judging whether the flow that the electronic equipment accessed is accessed within the first period is more than default first
During flow threshold, it can include:Judge whether the specific discharge that the electronic equipment accessed is accessed within the first period is more than
Default specific discharge threshold value, if it is not greater, then determining the flow that the electronic equipment accessed is accessed within the first period
No more than default first flow threshold value.Wherein, specific discharge is the ratio of flow duration corresponding with the flow.
If the electronic equipment accessed is at least two, the electronic equipment for judging to have accessed is connect within the first period
When whether the flow entered is less than default first flow threshold value, it can include:Respectively for each electronic equipment accessed, sentence
Whether the flow that disconnecting enters is more than default first flow threshold value, if it is judged that being to be not more than, then by current work
Pattern switching is energy saver mode.
It can be seen that the present embodiment can be less than the first Intensity threshold in the first light intensity data, but it is not present in certain time length
During the electronic equipment accessed, or in the first light intensity data it is less than the first Intensity threshold, but electronic equipment access network
Flow it is smaller when, current normal mode of operation is switched into energy saver mode, can further improve mode of operation switching
Accuracy.
After current mode of operation is switched into energy saver mode, mode of operation can also be switched to normal work mould
Formula, to realize the mutual switching between energy saver mode and normal mode of operation.Therefore, implement in one kind of embodiment illustrated in fig. 1
In mode, this method can also include step S103 and step S104 in schematic flow sheet shown in Fig. 2:
Step S103:Obtain the second light intensity data in the environment of optical sensor collection.
Step S104:When the second light intensity data is more than default second Intensity threshold, current mode of operation is switched
For normal mode of operation.
Wherein, the second Intensity threshold is not less than the first Intensity threshold.
It can be seen that the present embodiment can be cut current mode of operation when the second light intensity data is more than the second Intensity threshold
Normal mode of operation is changed to, to realize the mutual switching of AP energy saver modes and normal mode of operation.
, will be current when the second light intensity data is more than default second Intensity threshold as a kind of specific embodiment
Mode of operation when switching to normal mode of operation, can include:When the second light intensity data is more than default second Intensity threshold
When, and when being not at the inoperative period at the time of when the second light intensity data is more than default second Intensity threshold, will be current
Mode of operation switches to normal mode of operation.
It can be seen that the present embodiment can be more than the second Intensity threshold in the second light intensity data, and the second light intensity data is more than
When the inoperative period is not at the time of the second Intensity threshold, current mode of operation is switched into normal mode of operation, can
Further improve the accuracy of mode of operation switching.
Normal mode of operation is switched to can be understood as waking up AP mode of operation.Wake-up to AP is likely to occur
False wake-up, in order to improve the accuracy of mode of operation switching, in a kind of embodiment of embodiment illustrated in fig. 2, by currently
Mode of operation switch to normal mode of operation after, this method can also comprise the following steps 1~step 3:
Step 1:Judge with the presence or absence of the electronic equipment accessed in the second period, if it does not exist, then performing following walk
Rapid 2;If it is present perform following steps 3.
Wherein, at the time of the initial time of the second period is when current mode of operation switched into normal mode of operation,
The end moment of second period is at the time of presetting the second duration with the initial time interval of the second period.
Step 2:Current mode of operation is switched into energy saver mode.
Step 3:Judge whether the flow that the electronic equipment accessed is accessed within the second period is more than default second
Flow threshold, if it is not greater, then current mode of operation is switched into energy saver mode;If it is greater, then it can not be located
Reason, that is, keep current normal mode of operation constant.
Wherein, second flow threshold value can be identical with first flow threshold value, can also be different.
It is understood that when the electronic equipment accessed in above-mentioned second period be present, in order to further improve inspection
The accuracy of survey, it can be determined that whether the flow of the electronic equipment accessed is bigger, if its flow and little, can recognize
False wake-up is performed for AP, mode of operation is switched into energy saver mode.If its flow is bigger, then it is assumed that AP is performed correctly
Operation, normal mode of operation can be kept constant.
Specifically, judging whether the flow that the electronic equipment accessed is accessed within the second period is more than default second
During flow threshold, it can include:Judge whether the specific discharge that the electronic equipment accessed is accessed within the second period is more than
Default specific discharge threshold value, if it is not greater, then determining the flow that the electronic equipment accessed is accessed within the second period
No more than default second flow threshold value.Wherein, specific discharge is the ratio of flow duration corresponding with the flow.
If the electronic equipment accessed is at least two, the electronic equipment for judging to have accessed is connect within the second period
When whether the flow entered is more than default second flow threshold value, it can include:Respectively for each electronic equipment accessed, sentence
Whether the flow that disconnecting enters is more than default second flow threshold value, if it is judged that being to be not more than, then by current work
Pattern switching is energy saver mode.
It can be seen that the present embodiment can be after normal mode of operation be switched to, if a timing by current mode of operation
The electronic equipment accessed is not present in length, or the stream of network is accessed in the presence of the electronic equipment accessed but the electronic equipment
Amount is smaller, then it is assumed that current mode of operation is switched to energy saver mode there occurs false wake-up by AP from normal mode of operation, can
Further improve the accuracy of mode of operation switching.
In order to which AP is waken up from energy saver mode, in another embodiment of the application, AP can also include sound and pass
Sensor.Fig. 3 is another schematic flow sheet of the switching method for the mode of operation that the embodiment of the present application provides.This method is applied to
AP, the AP include optical sensor and sonic transducer.This method specifically includes following steps S301~step S304:
Step S301:When current mode of operation is normal mode of operation, in the environment for obtaining optical sensor collection
First light intensity data.
Step S302:When above-mentioned first light intensity data is less than default first Intensity threshold, by current mode of operation
Switch to energy saver mode.
Above-mentioned steps S301 and step S302 is identical with the step S101 in embodiment illustrated in fig. 1 and step S102 respectively,
Particular content may refer to embodiment illustrated in fig. 1, and here is omitted.
Step S303:Obtain the acoustic pressure data in the environment of sonic transducer collection.
Specifically, obtain sonic transducer collection environment in acoustic pressure data when, can include:Sent to sonic transducer
Acoustic pressure data obtains instruction, and sonic transducer sends the acoustic pressure data of itself collection when receiving the acoustic pressure data and obtaining instruction
To processor, processor receives the acoustic pressure data that sonic transducer is sent.It can also include:Sonic transducer is directly by itself collection
Acoustic pressure data sends to processor, processor and receives the acoustic pressure data that sonic transducer is sent.
In the present embodiment, processor can obtain the acoustic pressure number in the environment of sonic transducer collection according to predetermined period
According to.
Step S304:When above-mentioned acoustic pressure data is more than default acoustic pressure threshold value, current mode of operation is switched to normally
Mode of operation.
When above-mentioned acoustic pressure data is not more than default acoustic pressure threshold value, it can not process, i.e., not switch current Working mould
Formula, it is energy saver mode to keep current mode of operation.
Wherein, above-mentioned default acoustic pressure threshold value can be the numerical value pre-set, and the numerical value empirical value can be set according to
Value.
Specifically, when current mode of operation is switched into normal mode of operation, can include:Processor is to radio frequency unit
Work order is sent, radio frequency unit is started working when receiving the work order, so that AP enters normal mode of operation.
It is understood that when occurring the larger sound in environment, it is believed that user needs to use network, now can be with
Current mode of operation is switched into normal mode of operation, to provide the user any wireless network services.
From the above, the present embodiment can be when current mode of operation be normal mode of operation, when acoustic pressure number
During according to more than default acoustic pressure threshold value, AP is waken up, AP is switched to normal mode of operation.Due to judging user according to acoustic information
Whether network is needed to use, without being set according to regular time section to judge, its flexibility is more preferable, and accuracy is higher, therefore
The present embodiment can improve the accuracy of mode of operation switching.
In a kind of embodiment of embodiment illustrated in fig. 3, step S304, when above-mentioned acoustic pressure data is more than default acoustic pressure threshold
During value, the step of current mode of operation is switched into normal mode of operation, it can include:
When being not at the inoperative period at the time of when above-mentioned acoustic pressure data is more than default acoustic pressure threshold value, by current work
Pattern switching is normal mode of operation.
It can be seen that the present embodiment can be more than default acoustic pressure threshold value in acoustic pressure data, and acoustic pressure data is more than default acoustic pressure
When the inoperative period is not at the time of during threshold value, current mode of operation is switched into normal mode of operation, can be further
Improve the accuracy of mode of operation switching.
In a kind of embodiment of embodiment illustrated in fig. 3, in order to further improve the accuracy of mode of operation switching,
After step S204, i.e., after current mode of operation is switched into normal mode of operation, this method can also include following
Step 1~step 3:
Step 1:Judge with the presence or absence of the electronic equipment accessed in the 3rd period, if it does not exist, then thinking that AP is performed
False wake-up, can perform step 2;If it is present perform step 3.
Wherein, at the time of the initial time of the 3rd period is when current mode of operation switched into normal mode of operation,
The end moment of 3rd period is at the time of presetting the second duration with the initial time interval of the 3rd period.
Specifically, when judging in above-mentioned 3rd period with the presence or absence of the electronic equipment accessed, can setting from record
Judged in standby access information.
Step 2:Current mode of operation is switched into energy saver mode.
Step 3:Judge whether the flow that the electronic equipment accessed is accessed within the 3rd period is more than the default 3rd
Flow threshold, if it is not greater, then current mode of operation is switched into energy saver mode;If it is greater, then do not handled, i.e.,
Keep current normal mode of operation constant.
Wherein, the 3rd flow threshold can be identical with above-mentioned second flow threshold value, can also be different.
It is understood that when the electronic equipment accessed in above-mentioned 3rd period be present, in order to further improve inspection
The accuracy of survey, it can be determined that whether the flow of the electronic equipment accessed is bigger, if its flow and little, can recognize
False wake-up is performed for AP, mode of operation is switched into energy saver mode.If its flow is bigger, then it is assumed that AP is performed correctly
Operation, keep normal mode of operation it is constant.
Specifically, judging whether the flow that the electronic equipment accessed is accessed within the 3rd period is more than the default 3rd
During flow threshold, it can include:Judge whether the specific discharge that the electronic equipment accessed is accessed within the 3rd period is more than
Default specific discharge threshold value, if it is not greater, then determining the flow that the electronic equipment accessed is accessed within the 3rd period
No more than default 3rd flow threshold.Wherein, specific discharge is the ratio of flow duration corresponding with the flow.
If the electronic equipment accessed is at least two, the electronic equipment for judging to have accessed is connect within the 3rd period
When whether the flow entered is more than default three flow threshold, it can include:Respectively for each electronic equipment accessed, sentence
Whether the flow that disconnecting enters is more than default 3rd flow threshold, if it is judged that being to be not more than, then by current work
Pattern switching is energy saver mode.
It can be seen that the present embodiment can be after normal mode of operation be switched to, if a timing by current mode of operation
The electronic equipment accessed is not present in length, or the stream of network is accessed in the presence of the electronic equipment accessed but the electronic equipment
Amount is smaller, then it is assumed that current mode of operation is switched to energy saver mode there occurs false wake-up by AP from normal mode of operation, can
Further improve the accuracy of mode of operation switching.
Fig. 4 is another schematic flow sheet of the switching method for the mode of operation that the embodiment of the present application provides.This method application
Include optical sensor and sonic transducer in AP, the AP.This method specifically includes following steps S401~step S412:
Step S401:When current mode of operation is normal mode of operation, in the environment for obtaining optical sensor collection
First light intensity data.
Step S402:Judge whether above-mentioned first light intensity data is less than default first Intensity threshold, if it is less, holding
Row step S403;If it is not, then do not handled.
Step S403:Judge whether locate at the time of determination when above-mentioned first light intensity data is less than default first Intensity threshold
In the predetermined inoperative period, if be in, step S404 is performed;If it is not, then do not handled.
Step S404:Judge with the presence or absence of the electronic equipment accessed in the first period, if it does not exist, then performing step
S405;If it is present perform step S406.
Step S405:Current mode of operation is switched into energy saver mode.
Step S406:Judge whether flow that the electronic equipment that has accessed is accessed within the first period is more than default the
One flow threshold, if it is not greater, then performing step S405;If it is not, do not handled then.
Step S407:Obtain the acoustic pressure data in the environment of sonic transducer collection.
Step S408:Judge whether above-mentioned acoustic pressure data is more than default acoustic pressure threshold value, if it is greater, then performing step
S409, if it is not greater, then not handled.
Step S409:When judging whether to be in inoperative at the time of determination when above-mentioned acoustic pressure data is more than default acoustic pressure threshold value
Section, if be not at, perform step S410;If be in, do not handled.
Step S410:Current mode of operation is switched into normal mode of operation.
Step S411:Judge with the presence or absence of the electronic equipment accessed in the 3rd period, if it does not exist, then performing step
S405;If it is present perform step S412.
Step S412:Judge whether flow that the electronic equipment that has accessed is accessed within the 3rd period is more than default the
Three flow thresholds, if it is not greater, then performing step S405;If it is greater, then do not handled.
It can be seen that the present embodiment can according to the light intensity data of optical sensor, time segment information, electronic equipment access information
Judge whether the mode of operation of access point itself switching to energy saver mode, and according to the acoustic pressure data of sonic transducer, period
Information determines mode of operation switching to normal mode of operation from energy saver mode, yet further still according to the access information of electronic equipment
False wake-up has been judged whether to, if there is false wake-up, energy saver mode can also be switched back into again.The present embodiment can improve work
The accuracy rate of operation mode switching.
Fig. 5 is a kind of structural representation for the AP that the embodiment of the present application provides.The AP includes:Processor 501, optical sensor
502nd, sonic transducer 503 and radio frequency unit 504;
Wherein, the optical sensor 502, for gathering the first light intensity data in environment, and by the first light intensity number
According to transmission to the processor 501;
The processor 501, for when current mode of operation is normal mode of operation, receiving the optical sensor
502 the first light intensity datas sent, when first light intensity data is less than default first Intensity threshold, by current work
Pattern switching is energy saver mode.
Specifically, processor 501 is by current mode of operation when switching to energy saver mode, can be to radio frequency unit 504
Transmission is stopped instruction, radio frequency unit 504 receive this be stopped instruction when be stopped so that AP enters energy-conservation mould
Formula.
In a kind of embodiment of embodiment illustrated in fig. 5, the processor 501, specifically for judging in the first period
With the presence or absence of the electronic equipment accessed, the initial time of first period is preset to determine that first light intensity data is less than
The first Intensity threshold when at the time of, end moment of first period is pre- with the initial time interval of first period
If at the time of the first duration;If it does not exist, then current mode of operation is switched into energy saver mode;If it is present judge
Whether the flow that the electronic equipment accessed is accessed within first period is more than default first flow threshold value, if not
It is more than, then current mode of operation is switched into energy saver mode.
In a kind of embodiment of embodiment illustrated in fig. 5, processor 501, it is additionally operable to cut by current mode of operation
It is changed to after energy saver mode, obtains the second light intensity data in the environment that the optical sensor 502 gathers;When second light intensity
When data are more than default second Intensity threshold, current mode of operation is switched into normal mode of operation;Wherein, described second
Intensity threshold is not less than first Intensity threshold.
In a kind of embodiment of embodiment illustrated in fig. 5, processor 501, it is additionally operable to cut by current mode of operation
It is changed to after normal mode of operation, judges to rise with the presence or absence of the electronic equipment accessed, second period in the second period
The moment begin at the time of be when current mode of operation switched into normal mode of operation, end moment of second period be with
At the time of the second duration is preset at the initial time interval of second period;If it does not exist, then current mode of operation is cut
It is changed to energy saver mode;If it is present judge whether is flow that the electronic equipment that has accessed accessed within second period
More than default second flow threshold value, if it is not greater, then current mode of operation is switched into energy saver mode
In a kind of embodiment of embodiment illustrated in fig. 5, AP includes sonic transducer 503;
The sonic transducer 503, sent for gathering the acoustic pressure data in environment, and by the acoustic pressure data to the place
Manage device 501;
The processor 501, is additionally operable to after current mode of operation is switched into energy saver mode, receives the sound and passes
The acoustic pressure data that sensor is sent, when the acoustic pressure data is more than default acoustic pressure threshold value, current mode of operation is switched to just
Normal mode of operation.
Specifically, processor 501 can include when current mode of operation is switched into normal mode of operation:Processing
Device 501 sends work order to radio frequency unit 504, and radio frequency unit 504 is started working when receiving the work order, so that AP
Into normal mode of operation.
In a kind of embodiment of embodiment illustrated in fig. 5, the processor 501, it is additionally operable to by current Working mould
After formula switches to normal mode of operation, judge in the 3rd period with the presence or absence of the electronic equipment accessed, the 3rd period
Initial time at the time of be when current mode of operation switched into normal mode of operation, the end moment of the 3rd period
At the time of to preset three durations with the initial time interval of the 3rd period;If it does not exist, then by current Working mould
Formula switches to energy saver mode;If it is present judge the flow that the electronic equipment accessed is accessed within the 3rd period
Whether default 3rd flow threshold is more than, if it is not greater, then current mode of operation is switched into energy saver mode.
In the present embodiment, above-mentioned processor can be general processor, including central processing unit (Central
Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be Digital Signal Processing
Device (Digital Signal Processing, DSP), application specific integrated circuit (Application Specific
Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA)
Either other PLDs, discrete gate or transistor logic, discrete hardware components.
For the said equipment embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple,
The relevent part can refer to the partial explaination of embodiments of method.
It can be seen that the present embodiment can obtain optical sensor collection when current mode of operation is normal mode of operation
The first light intensity data in environment, when first light intensity data is less than the first Intensity threshold, current mode of operation is switched
For energy saver mode.It is usually operated at due to user in the environment of light, is judged whether according to the light intensity data of environment by Working mould
Formula switches to energy saver mode, can more accurately judge that user uses the demand of network, and then improve mode of operation switching
Accuracy, improve Consumer's Experience.
The embodiment of the present application also provides a kind of computer-readable recording medium, and the computer-readable recording medium internal memory contains
Computer program, the computer program realize the switching side for the mode of operation that the embodiment of the present application provides when being executed by processor
Method.Specifically, this method includes:
When current mode of operation is normal mode of operation, the first light in the environment of the optical sensor collection is obtained
Strong data;
When first light intensity data is less than default first Intensity threshold, current mode of operation is switched into energy-conservation
Pattern.
It can be seen that the present embodiment can obtain optical sensor collection when current mode of operation is normal mode of operation
The first light intensity data in environment, when first light intensity data is less than the first Intensity threshold, current mode of operation is switched
For energy saver mode.It is usually operated at due to user in the environment of light, is judged whether according to the light intensity data of environment by Working mould
Formula switches to energy saver mode, can more accurately judge that user uses the demand of network, and then improve mode of operation switching
Accuracy, improve Consumer's Experience.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including
Other identical element also be present in the process of the key element, method, article or equipment.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.
The preferred embodiment of the application is the foregoing is only, is not intended to limit the protection domain of the application.It is all
Any modification, equivalent substitution and improvements done within spirit herein and principle etc., it is all contained in the protection domain of the application
It is interior.
Claims (13)
1. a kind of switching method of mode of operation, it is characterised in that applied to access point AP, the AP includes optical sensor;Institute
The method of stating includes:
When current mode of operation is normal mode of operation, the first light intensity number in the environment of the optical sensor collection is obtained
According to;
When first light intensity data is less than default first Intensity threshold, current mode of operation is switched into energy-conservation mould
Formula.
2. according to the method for claim 1, it is characterised in that described that current mode of operation is switched into energy saver mode
Step, including:
Judge in the first period with the presence or absence of the electronic equipment accessed, the initial time of first period is determines described the
At the time of when one light intensity data is less than default first Intensity threshold, when the end moment of first period is with described first
At the time of the first duration is preset at the initial time interval of section;
If it does not exist, then current mode of operation is switched into energy saver mode;
If it is present whether the flow that the electronic equipment that judgement has accessed is accessed within first period is more than default
First flow threshold value, if it is not greater, then current mode of operation is switched into energy saver mode.
3. according to the method for claim 1, it is characterised in that by current mode of operation switch to energy saver mode it
Afterwards, methods described also includes:
Obtain the second light intensity data in the environment of the optical sensor collection;
When second light intensity data is more than default second Intensity threshold, current mode of operation is switched into normal work
Pattern;Wherein, second Intensity threshold is not less than first Intensity threshold.
4. according to the method for claim 3, it is characterised in that current mode of operation is being switched into normal mode of operation
Afterwards, methods described also includes:
Judge that the initial time of second period is by current work with the presence or absence of the electronic equipment accessed in the second period
At the time of when operation mode switches to normal mode of operation, the end moment of second period is the starting with second period
At the time of time at intervals presets the second duration;
If it does not exist, then current mode of operation is switched into energy saver mode;
If it is present whether the flow that the electronic equipment that judgement has accessed is accessed within second period is more than default
Second flow threshold value, if it is not greater, then current mode of operation is switched into energy saver mode.
5. according to the method for claim 1, it is characterised in that described access point includes sonic transducer;By current work
After operation mode switches to energy saver mode, methods described also includes:
Obtain the acoustic pressure data in the environment of the sonic transducer collection;
When the acoustic pressure data is more than default acoustic pressure threshold value, current mode of operation is switched into normal mode of operation.
6. according to the method for claim 5, it is characterised in that current mode of operation is being switched into normal mode of operation
Afterwards, methods described also includes:
Judge that the initial time of the 3rd period is by current work with the presence or absence of the electronic equipment accessed in the 3rd period
At the time of when operation mode switches to normal mode of operation, the end moment of the 3rd period is the starting with the 3rd period
At the time of time at intervals presets three durations;
If it does not exist, then current mode of operation is switched into energy saver mode;
If it is present whether the flow that the electronic equipment that judgement has accessed is accessed within the 3rd period is more than default
3rd flow threshold, if it is not greater, then current mode of operation is switched into energy saver mode.
A kind of 7. access point AP, it is characterised in that including:Processor and optical sensor;
Wherein, the optical sensor, for gathering the first light intensity data in environment, and by first light intensity data send to
The processor;
The processor, for when current mode of operation is normal mode of operation, receive that the optical sensor sends the
One light intensity data, when first light intensity data is less than default first Intensity threshold, current mode of operation is switched to
Energy saver mode.
8. AP according to claim 7, it is characterised in that the processor, specifically for judge in the first period whether
In the presence of the electronic equipment accessed, the initial time of first period is determines that first light intensity data is less than default the
At the time of during one Intensity threshold, end moment of first period is and the initial time interval of first period default the
At the time of one duration;If it does not exist, then current mode of operation is switched into energy saver mode;If it is present judge to have connect
Whether the flow that the electronic equipment entered is accessed within first period is more than default first flow threshold value, if less
In current mode of operation then is switched into energy saver mode.
9. AP according to claim 7, it is characterised in that the processor, be additionally operable to cut by current mode of operation
It is changed to after energy saver mode, obtains the second light intensity data in the environment of the optical sensor collection;When the second light intensity number
During according to more than default second Intensity threshold, current mode of operation is switched into normal mode of operation;Wherein, second light
Strong threshold value is not less than first Intensity threshold.
10. AP according to claim 9, it is characterised in that the processor, be additionally operable to cut by current mode of operation
It is changed to after normal mode of operation, judges to rise with the presence or absence of the electronic equipment accessed, second period in the second period
The moment begin at the time of be when current mode of operation switched into normal mode of operation, end moment of second period be with
At the time of the second duration is preset at the initial time interval of second period;If it does not exist, then current mode of operation is cut
It is changed to energy saver mode;If it is present judge whether is flow that the electronic equipment that has accessed accessed within second period
More than default second flow threshold value, if it is not greater, then current mode of operation is switched into energy saver mode.
11. AP according to claim 7, it is characterised in that the AP includes sonic transducer;
The sonic transducer, sent for gathering the acoustic pressure data in environment, and by the acoustic pressure data to the processor;
The processor, it is additionally operable to after current mode of operation is switched into energy saver mode, receives the sonic transducer hair
The acoustic pressure data sent, when the acoustic pressure data is more than default acoustic pressure threshold value, current mode of operation is switched into normal work
Pattern.
12. AP according to claim 11, it is characterised in that the processor, be additionally operable to by current mode of operation
After switching to normal mode of operation, judge to whether there is the electronic equipment accessed in the 3rd period, the 3rd period
At the time of initial time is when current mode of operation switched into normal mode of operation, the end moment of the 3rd period is
At the time of three durations being preset with the initial time interval of the 3rd period;If it does not exist, then by current mode of operation
Switch to energy saver mode;If it is present judge that the flow that the electronic equipment accessed is accessed within the 3rd period is
It is no to be more than default 3rd flow threshold, if it is not greater, then current mode of operation is switched into energy saver mode.
13. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium internal memory contains computer
Program, the computer program realize claim 1-6 any described method and steps when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710561591.3A CN107548141A (en) | 2017-07-11 | 2017-07-11 | The switching method and AP of a kind of mode of operation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710561591.3A CN107548141A (en) | 2017-07-11 | 2017-07-11 | The switching method and AP of a kind of mode of operation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107548141A true CN107548141A (en) | 2018-01-05 |
Family
ID=60971088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710561591.3A Pending CN107548141A (en) | 2017-07-11 | 2017-07-11 | The switching method and AP of a kind of mode of operation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107548141A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110062446A (en) * | 2019-04-23 | 2019-07-26 | 广东小天才科技有限公司 | Mode switching method and device of equipment, wearable equipment and storage medium |
CN110267334A (en) * | 2019-06-19 | 2019-09-20 | 拉扎斯网络科技(上海)有限公司 | Control method, control device, readable storage medium, and wireless beacon device |
CN112105076A (en) * | 2020-08-31 | 2020-12-18 | 新华三技术有限公司 | AP photosensitive energy-saving method and device, photosensitive energy-saving AP and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468377A (en) * | 2014-12-12 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Router equipment and wireless transmitting power adjusting method thereof |
US9060293B1 (en) * | 2013-01-25 | 2015-06-16 | Sprint Spectrum L.P. | Reducing wireless communication signaling overhead |
CN105376845A (en) * | 2015-12-01 | 2016-03-02 | 上海斐讯数据通信技术有限公司 | Router transmitting power regulation method, router transmitting power regulation system and router |
CN105848276A (en) * | 2016-03-28 | 2016-08-10 | 深圳市双赢伟业科技股份有限公司 | Router emission power adjusting method and system and router |
CN105933961A (en) * | 2016-04-28 | 2016-09-07 | 乐视控股(北京)有限公司 | Energy-saving control method and device |
CN106028431A (en) * | 2016-05-12 | 2016-10-12 | 上海斐讯数据通信技术有限公司 | Energy conservation method and system of wireless transmission device |
CN106879007A (en) * | 2017-01-22 | 2017-06-20 | 新华三技术有限公司 | Method and device for controlling working state of wireless equipment |
-
2017
- 2017-07-11 CN CN201710561591.3A patent/CN107548141A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9060293B1 (en) * | 2013-01-25 | 2015-06-16 | Sprint Spectrum L.P. | Reducing wireless communication signaling overhead |
CN104468377A (en) * | 2014-12-12 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Router equipment and wireless transmitting power adjusting method thereof |
CN105376845A (en) * | 2015-12-01 | 2016-03-02 | 上海斐讯数据通信技术有限公司 | Router transmitting power regulation method, router transmitting power regulation system and router |
CN105848276A (en) * | 2016-03-28 | 2016-08-10 | 深圳市双赢伟业科技股份有限公司 | Router emission power adjusting method and system and router |
CN105933961A (en) * | 2016-04-28 | 2016-09-07 | 乐视控股(北京)有限公司 | Energy-saving control method and device |
CN106028431A (en) * | 2016-05-12 | 2016-10-12 | 上海斐讯数据通信技术有限公司 | Energy conservation method and system of wireless transmission device |
CN106879007A (en) * | 2017-01-22 | 2017-06-20 | 新华三技术有限公司 | Method and device for controlling working state of wireless equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110062446A (en) * | 2019-04-23 | 2019-07-26 | 广东小天才科技有限公司 | Mode switching method and device of equipment, wearable equipment and storage medium |
CN110267334A (en) * | 2019-06-19 | 2019-09-20 | 拉扎斯网络科技(上海)有限公司 | Control method, control device, readable storage medium, and wireless beacon device |
CN112105076A (en) * | 2020-08-31 | 2020-12-18 | 新华三技术有限公司 | AP photosensitive energy-saving method and device, photosensitive energy-saving AP and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102387022B (en) | A kind of POE method and apparatus | |
EP2273828B1 (en) | Power savings for wireless access points | |
US8355352B2 (en) | Access point agitation | |
CN106604377A (en) | Data communication method and device | |
CN104601203B (en) | A kind of low-power consumption bluetooth equipment dynamically adjusts the method and device of Connecting quantity | |
RU2007111751A (en) | METHOD AND DEVICE FOR MANAGING POWER OF MOBILE PHONE | |
CN103974391A (en) | Device wake-up method and device | |
US11690012B2 (en) | Systems and methods for managing power usage of a multi-link device equipped with a plurality of radio interfaces | |
CN107548141A (en) | The switching method and AP of a kind of mode of operation | |
CN107734620A (en) | A kind of terminal awakening method, device and radio reception device | |
CN109690574A (en) | Method and apparatus for the access of code-on-demand migration equipment | |
CN1991683B (en) | Notebook computer | |
US20130212408A1 (en) | Regulating a clock frequency of a peripheral | |
WO2019233172A1 (en) | Wakeup region update method and device | |
CN110661600A (en) | Measurement configuration method, measurement method, network side equipment and terminal | |
US20140211674A1 (en) | Advantageous uses of instructions instructing stations of wlan networks to desist from transmissions | |
CN111107612B (en) | Method and device for configuring bandwidth part | |
US9913279B2 (en) | Method for establishing a radio connection, network apparatus and terminal apparatus | |
CN108430087A (en) | Power consumption control method, device and router | |
CN105426949B (en) | A kind of low-power consumption timing wake-up method and apparatus | |
US20210294766A1 (en) | Terminal and type c interface anti-corrosion method | |
CN105653279A (en) | Clock system and wakeup method for mobile terminal and functional chip | |
US20050130705A1 (en) | Hybrid mobile terminal and method for controlling the same | |
CN104796973B (en) | Radio reception device control method and radio reception device | |
CN103442327A (en) | M2M device and communication method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |
|
RJ01 | Rejection of invention patent application after publication |