CN105159438B - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN105159438B
CN105159438B CN201410267335.XA CN201410267335A CN105159438B CN 105159438 B CN105159438 B CN 105159438B CN 201410267335 A CN201410267335 A CN 201410267335A CN 105159438 B CN105159438 B CN 105159438B
Authority
CN
China
Prior art keywords
information
item
electronic equipment
beacon frame
state
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.)
Active
Application number
CN201410267335.XA
Other languages
Chinese (zh)
Other versions
CN105159438A (en
Inventor
王海洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410267335.XA priority Critical patent/CN105159438B/en
Publication of CN105159438A publication Critical patent/CN105159438A/en
Application granted granted Critical
Publication of CN105159438B publication Critical patent/CN105159438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

This application discloses a kind of control method and electronic equipment, element classification table is previously provided with the electronic equipment, methods described includes:Each item of information in the beacon frame that the electronic equipment is received respectively is labeled as first information set, the second information aggregate or the 3rd information aggregate;Object element mark in the element classification table, the first information item identified in the first information set with the object element outside consistent item of information is identified;According to the first information item of mark, the first verification operation is carried out to the beacon frame, obtains the first check results;When first check results meet default first state transformation rule, the first control instruction is generated, to control the first processor of the electronic equipment to be converted to the second state by first state.

Description

A kind of control method and electronic equipment
Technical field
The application is related to technical field of data processing, more particularly to a kind of control method and electronic equipment.
Background technology
, it is necessary to which equipment periodically receives other-end or the beacon frame of equipment transmission in electronic equipment in wireless connection, To realize that the data sent to terminal or equipment carry out reception action.
Exist in the prior art and receive and handle by the primary processor in a dormant state in timing wake-up equipment The scheme of beacon frame, but need frequently to wake up primary processor in this scheme, power consumption is larger.And utilized by beacon coprocessor Ignore in the scheme that IE information carries out verification parsing wake-up primary processor to the item of information in beacon frame, the IE ignored is to set in advance The fix information item put, therefore primary processor can not be flexibly waken up in this scheme, can not be extensive to ensure that power consumption is relatively low Using.
Therefore, need whether a kind of foundation beacon frame control primary processor needs to be converted to wake-up states by resting state badly Scheme, so that host processor carries out the operation such as data receiver.
The content of the invention
Technical problems to be solved in this application are to provide a kind of control method and electronic equipment, to solve prior art In by the primary processor in a dormant state in timing wake-up equipment come receive and handle the scheme of beacon frame, it is necessary to frequently Wake up primary processor, the larger technical problem of power consumption.
This application provides a kind of control method, and applied in electronic equipment, member is previously provided with the electronic equipment Plain classification chart, methods described include:
Each item of information in the beacon frame that the electronic equipment is received respectively is labeled as first information set, the second letter Breath set or the 3rd information aggregate;
In the element classification table object element mark, by the first information set with the object element The first information item outside consistent item of information is identified to be identified;
According to the first information item of mark, the first verification operation is carried out to the beacon frame, obtains the first check results;
When first check results meet default first state transformation rule, the first control instruction is generated, with control The first processor for making the electronic equipment is converted to the second state by first state.
The above method, it is preferred that each item of information in the beacon frame for respectively receiving the electronic equipment is labeled as After first information set, the second information aggregate or the 3rd information aggregate, methods described also includes:
Identify the second item of information for meeting default TIM field formats in second information aggregate;
When field information in the second item of information recognized meets default second state transition rules, generation second Control instruction, to control the first processor of the electronic equipment to be converted to the second state by first state.
The above method, it is preferred that according to the first information item of mark, the first verification operation is carried out to the beacon frame, obtained To the first check results, including:
The is carried out to the MAC header datas in the first information item identified in the beacon frame and the 3rd information aggregate One verification operation, obtain the first check results.
The above method, it is preferred that the first information item to being identified in the beacon frame and the 3rd information aggregate In MAC header datas carry out the first verification operation, obtain the first check results, including:
The is carried out to the MAC header datas in the first information item identified in the beacon frame and the 3rd information aggregate One cyclic redundancy CRC operation, obtains the first crc value;
First crc value is compared with the first check field in the beacon frame, obtains the first check results.
The above method, it is preferred that the object element mark in the element classification table, by the first information First information item in set outside the item of information consistent with the component identification is identified, including:
By each item of information in the first information set respectively with each object element mark in the element classification table Know and carry out otherness comparison, obtain the respective information comparison result of each described information item;
According to described information comparison result, identify information comparison result in the first information set and show its affiliated information Item is respectively provided with the first information item of otherness with each object element mark.
Present invention also provides a kind of electronic equipment, element classification table, the electricity are previously provided with the electronic equipment Sub- equipment includes:
Item of information indexing unit, it is labeled as each item of information in the beacon frame that respectively receives the electronic equipment First information set, the second information aggregate or the 3rd information aggregate;
Item of information identifies unit, for the object element mark in the element classification table, by the first information First information item in set outside the item of information consistent with the component identification is identified;
First verification unit, for the first information item according to mark, the first verification operation is carried out to the beacon frame, obtained To the first check results, when first check results meet default first state transformation rule, triggering command control is single Member;
First instruction control unit, for generating the first control instruction, to control the first processor of the electronic equipment Second state is converted to by first state.
Above-mentioned electronic equipment, it is preferred that also include:
Information item recognition unit, for respectively marking each item of information in the beacon frame in described information item indexing unit After first information set, the second information aggregate or the 3rd information aggregate, identify and meet to preset in second information aggregate Second item of information of TIM field formats, the field information in the second item of information recognized meet default second State Transferring When regular, the second instruction control unit is triggered;
Second instruction control unit, for generating the second control instruction, to control the first processor of the electronic equipment Second state is converted to by first state.
Above-mentioned electronic equipment, it is preferred that first verification unit includes:
Item of information verifies subelement, for the first information item to being identified in the beacon frame and the 3rd information aggregate In MAC header datas carry out the first verification operation, obtain the first check results.
Above-mentioned electronic equipment, it is preferred that described information item verification subelement includes:
CRC operation module, in the first information item to being identified in the beacon frame and the 3rd information aggregate MAC header datas carry out the first CRC operation, obtain the first crc value;
Comparing module is verified, for first crc value to be compared with the first check field in the beacon frame, Obtain the first check results.
Above-mentioned electronic equipment, it is preferred that described information item mark unit includes:
Item of information comparison subunit, for each item of information in the first information set to be distributed and the element classification Each object element mark in table carries out otherness comparison, obtains the respective information comparison result of each described information item;
Differences identify subelement, for according to described information comparison result, identifying information in the first information set Comparison result shows that its described information item is respectively provided with the first information item of otherness with each object element mark.
From such scheme, a kind of control method and electronic equipment that the application provides, set in advance in the electronic equipment It is equipped with element classification table, the application carries out packet marking by each item of information in the beacon frame that is received to electronic equipment, enters And the object element mark in element classification table with the object element in first information set to identifying inconsistent letter Breath item is identified, and to realize the first information item according to mark, carries out verification operation to the beacon frame, and expire in check results During sufficient state transition rules, the first control instruction of generation is converted to the with the first processor of control electronics by first state Two-state.The application, can be by changing element classification table, to change in first information set when realizing beacon frame processing The item of information rejected is needed, reaches the purpose that the item of information for carrying out verification operation is adjusted flexibly, and then expire in check results Control instruction is generated during sufficient state transition rules, flexibly controls first processor to carry out the purpose of State Transferring, avoids simultaneously The situation of Repetitive controller first processor State Transferring, reduce the power consumption of electronic equipment.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of flow chart for control method embodiment one that the application provides;
Fig. 2 is a kind of flow chart for control method embodiment two that the application provides;
Fig. 3 is a kind of flow chart for control method embodiment three that the application provides;
Fig. 4 is the partial process view of the embodiment of the present application three;
Fig. 5 is a kind of partial process view for control method example IV that the application provides;
Fig. 6 is the structural representation for a kind of electronic equipment embodiment five that the application provides;
Fig. 7 is the structural representation for a kind of electronic equipment embodiment six that the application provides;
Fig. 8 is the structural representation for a kind of electronic equipment embodiment seven that the application provides;
Fig. 9 is the part-structure schematic diagram of the embodiment of the present application seven;
Figure 10 is the part-structure schematic diagram for a kind of electronic equipment embodiment eight that the 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 Site preparation describes, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of the application protection.
With reference to figure 1, a kind of flow chart of the control method embodiment one provided for the application, wherein, the side in the application Method is applied in electronic equipment, and the electronic equipment can be the equipment for being provided with WLAN protocol, has the in the electronic equipment One processor, is referred to as primary processor, to carry out the operation such as the reception of data and transmission.The purpose of the embodiment of the present application It is, when first processor is in first state such as sleep state, how the beacon frame that electronic equipment receives is divided Analysis controls first processor to be changed by first state to decide whether to carry out wake operation to first processor such as primary processor It is state of activation for the second state.
Wherein, element classification table is previously provided with the electronic equipment of the embodiment of the present application, in the element classification table It can be made up of multiple control registers, be provided with a component identification in each control register, these component identifications can be with With multiple field informations, one of field information is properly termed as enable bit, when the numerical value of the enable bit is 1, the element mark Know and identified for object element, therefore, there are multiple component identifications in the element classification table, wherein, part or all of element mark Know and identified for object element.
The embodiment of the present application is realizing the first of electronic equipment the processing by being analyzed the beacon frame that it is received During the state control of device, it can be realized by following steps:
Step 101:Each item of information in the beacon frame that the electronic equipment is received respectively is labeled as first information collection Conjunction, the second information aggregate or the 3rd information aggregate.
Wherein, the beacon frame that the electronic equipment receives includes multiple items of information, for example, fixed domain (field, Including by sequence control (sequence control), timestamp (timestamp), Frame Check Sequence (FCS, frame check Sequence) etc.), IE (information element) information element (being referred to as item of information) and MAC header datas Deng.And in the IE information elements in addition to including general information element, in addition to by TIM (traffic indication, Data indicate flowmeter).
In the step 101, the item of information in IE items of information in addition to TIM is marked to gather, will The TIM is labeled as the second information aggregate, and remaining item of information in the beacon frame is labeled as into the 3rd information aggregate, such as fixed Domain and MAC header datas etc..That is, after the item of information in the beacon frame is marked, the beacon frame is by three letters Cease set groups of information items into.
Step 102:In the element classification table object element mark, by the first information set with it is described The first information item that object element identifies outside consistent item of information is identified.
Wherein, refer in the step 102, identified unanimously with the object element to being removed in the first information set Item of information outside item of information is identified as first information item.
Step 103:According to the first information item of mark, the first verification operation is carried out to the beacon frame, obtains the first school Result is tested, when first check results meet default first state transformation rule, performs step 104.
Wherein, object element mark of the first information item of the mark in by the element classification table is influenceed, Ke Yigen Changed according to setting of the user to element classification table, be according to can flexibly change first in the step 103 therefore Item of information, the first verification operation is carried out to the part or all of item of information in the beacon frame, to obtain the first check results.
Show to enter in the beacon frame it should be noted that the first state transformation rule can be the first check results The corresponding information item of row verification changes.The first check results obtained in the step 103 meet the first state During transformation rule, the step 104 is performed.
Step 104:The first control instruction is generated, to control the first processor of the electronic equipment to be changed by first state For the second state.
Wherein, the first state is the sleep state of the first processor, and second state is described The state of activation of one processor, when the first processor is in the second state, data corresponding to the beacon frame can be entered Row receives.
From such scheme, the application provide a kind of control method embodiment one, using with electronic equipment, the electricity It is previously provided with element classification table in sub- equipment, the embodiment of the present application in the beacon frame that is received to electronic equipment by each believing Cease item carry out packet marking, and then in element classification table object element mark in first information set with the target The inconsistent item of information of component identification is identified, and to realize the first information item according to mark, the beacon frame is verified Operation, and when check results meet state transition rules, the first control instruction of generation is with the first processing of control electronics Device is converted to the second state by first state.The embodiment of the present application, can be by changing element point when realizing beacon frame processing Class table, to change the item of information for needing to reject in first information set, reach the item of information for being adjusted flexibly and carrying out verification operation Purpose, and then generate control instruction when check results meet state transition rules, flexibly control first processor to enter The purpose of row State Transferring, while the situation of Repetitive controller first processor State Transferring is avoided, reduce electronic equipment Power consumption.
Based on the technical scheme described in previous embodiment, with reference to figure 2, implement for a kind of control method that the application provides The flow chart of example two, wherein, after the step 101, methods described can also comprise the following steps:
Step 105:The second item of information for meeting default TIM field formats in second information aggregate is identified, is being identified To the second item of information in field information meet default second state transition rules when, perform step 106.
Wherein, second item of information is TIM items of information mentioned above.
It should be noted that the field information in second item of information can be TIM flag bits, second state turns It can be that the TIM flag bits are 1 to change rule, wherein, when the flag bit is 1, show the now electronic equipment needs pair Data corresponding to the beacon frame are received, and now, perform step 106.
Step 106:The second control instruction is generated, to control the first processor of the electronic equipment to be changed by first state For the second state.
Wherein, the first state is the sleep state of the first processor, and second state is described The state of activation of one processor, when the first processor is in the second state, data corresponding to the beacon frame can be entered Row receives.
It should be noted that in the embodiment of the present application two, the execution sequence of the step 102~step 104 and the step It is unaffected between the execution sequence of rapid 105~step 106, and when generating the first control instruction in the step 104 and institute State step 105 to be not carried out terminating, now, interrupt and perform the step 105, if the control of generation second in the step 106 Instruction and at the end of the step 102 or the step 103 be not carried out, now, interrupt and perform the step 102 or the step Rapid 103, that is to say, that when first check results meet default first state transformation rule or second item of information In field information when meeting default second state transition rules, the step in corresponding another branch will not perform down again Go, be:In field information in first check results and second item of information, one of them meets its corresponding shape During state transformation rule, control instruction can be generated, to control the first processor of the electronic equipment to be converted to by first state Second state, that is, wake up the primary processor of the electronic equipment.
With reference to figure 3, a kind of flow chart of the control method embodiment three provided for the application, wherein, the step 103 can To be realized by following steps:
Step 131:To the MAC packet header number in the first information item identified in the beacon frame and the 3rd information aggregate According to the first verification operation is carried out, the first check results are obtained.
Wherein, the first verification operation carried out in the step 103, it is that the first information item of the mark and the 3rd are believed The verification operation that MAC header datas in breath set are carried out, to obtain the first check results.
It is the implementation process figure of step 131 described in the embodiment of the present application three specifically, with reference to figure 4, wherein, the step Rapid 131 can be realized by following steps:
Step 401:To the MAC packet header number in the first information item identified in the beacon frame and the 3rd information aggregate According to first circulation redundancy CRC operation is carried out, the first crc value is obtained.
Step 402:First crc value is compared with the first check field in the beacon frame, obtains first Check results.
With reference to figure 5, the implementation process figure of step 102 described in a kind of control method example IV provided for the application, Wherein, the step 102 may comprise steps of:
Step 121:By each item of information in the first information set respectively with each mesh in the element classification table Mark component identification and carry out otherness comparison, obtain the respective information comparison result of each described information item.
Wherein, refer in the step 121, each item of information is identified with each object element respectively carry out difference respectively Property compare, with obtain and each object element mark with otherness item of information.
Step 122:According to described information comparison result, identify information comparison result in the first information set and show it Affiliated item of information is respectively provided with the first information item of otherness with each object element mark.
Wherein, in the step 122, in the first information set information comparison result show its affiliated item of information with it is every Individual object element mark is respectively provided with the first information item of otherness, refers to, rejected in the first information set with it is described Object element identifies remaining item of information after consistent item of information.
With reference to figure 6, the structural representation of a kind of electronic equipment embodiment five provided for the application, wherein, the electronics Equipment can be the equipment for being provided with WLAN protocol, have first processor in the electronic equipment, be referred to as primary processor, To carry out the operation such as the reception of data and transmission.The purpose of embodiment is in this community, and first is in first processor During state such as sleep state, how the beacon frame that electronic equipment receives to be analyzed to decide whether to first processor such as Primary processor carries out wake operation, that is, controls first processor to be converted to the second state i.e. state of activation by first state.
Wherein, element classification table is previously provided with the electronic equipment, the element classification table can be by multiple controls Register is formed, and a component identification is provided with each control register, and these component identifications can have multiple fields letter Breath, one of field information are properly termed as enable bit, and when the numerical value of the enable bit is 1, the component identification is object element mark Know, therefore, there are multiple component identifications in the element classification table, wherein, part or all of component identification is object element mark Know.
Wherein, the resistance equipment in the embodiment of the present application can include following structure:
Item of information indexing unit 601, for each item of information mark in the beacon frame that respectively receives the electronic equipment It is designated as first information set, the second information aggregate or the 3rd information aggregate.
Wherein, the beacon frame that the electronic equipment receives includes multiple items of information, for example, fixed domain (field, Including by sequence control (sequence control), timestamp (timestamp), Frame Check Sequence (FCS, frame check Sequence) etc.), IE (information element) information element (being referred to as item of information) and MAC header datas Deng.And in the IE information elements in addition to including general information element, in addition to by TIM (traffic indication, Data indicate flowmeter).
In described information item indexing unit 601, the item of information in IE items of information in addition to TIM is marked as letter Breath set, is labeled as the second information aggregate by the TIM, remaining item of information in the beacon frame is labeled as into the 3rd information collection Close, such as fixed field and MAC header datas.That is, after the item of information in the beacon frame is marked, the beacon frame By three information aggregates groups of information items into.
Item of information identifies unit 602, and for the object element mark in the element classification table, described first is believed First information item in breath set outside the item of information consistent with the component identification is identified.
Wherein, described information item mark unit 602 refers to, to being removed and the object element mark in the first information set Know the item of information outside consistent item of information to be identified as first information item.
First verification unit 603, for the first information item according to mark, the first verification is carried out to the beacon frame and is grasped Make, obtain the first check results, when first check results meet default first state transformation rule, triggering command control Unit 604 processed.
Wherein, object element mark of the first information item of the mark in by the element classification table is influenceed, Ke Yigen Changed according to setting of the user to element classification table, be according to can flexibly change first in the step 103 therefore Item of information, the first verification operation is carried out to the part or all of item of information in the beacon frame, to obtain the first check results.
Show to enter in the beacon frame it should be noted that the first state transformation rule can be the first check results The corresponding information item of row verification changes.The first check results that first verification unit 603 obtains meet described first During state transition rules, the instruction control unit 604 is triggered.
First instruction control unit 604, for generating the first control instruction, to control the first of the electronic equipment to handle Device is converted to the second state by first state.
Wherein, the first state is the sleep state of the first processor, and second state is described The state of activation of one processor, when the first processor is in the second state, data corresponding to the beacon frame can be entered Row receives.
From such scheme, a kind of electronic equipment embodiment five that the application provides, using with electronic equipment, the electricity It is previously provided with element classification table in sub- equipment, the embodiment of the present application in the beacon frame that is received to electronic equipment by each believing Cease item carry out packet marking, and then in element classification table object element mark in first information set with the target The inconsistent item of information of component identification is identified, and to realize the first information item according to mark, the beacon frame is verified Operation, and when check results meet state transition rules, the first control instruction of generation is with the first processing of control electronics Device is converted to the second state by first state.The embodiment of the present application, can be by changing element point when realizing beacon frame processing Class table, to change the item of information for needing to reject in first information set, reach the item of information for being adjusted flexibly and carrying out verification operation Purpose, and then generate control instruction when check results meet state transition rules, flexibly control first processor to enter The purpose of row State Transferring, while the situation of Repetitive controller first processor State Transferring is avoided, reduce electronic equipment Power consumption.
Based on the technical scheme described in previous embodiment, with reference to figure 7, implement for a kind of electronic equipment that the application provides The structural representation of example six, wherein, the electronic equipment can also include following structure:
Information item recognition unit 605, in described information item indexing unit 601 respectively by each information in the beacon frame Item is labeled as after first information set, the second information aggregate or the 3rd information aggregate, is identified full in second information aggregate Second item of information of the default TIM field formats of foot, the field information in the second item of information recognized meet default second shape During state transformation rule, the second instruction control unit 606 is triggered.
Wherein, second item of information is TIM items of information mentioned above.
It should be noted that the field information in second item of information can be TIM flag bits, second state turns It can be that the TIM flag bits are 1 to change rule, wherein, when the flag bit is 1, show the now electronic equipment needs pair Data corresponding to the beacon frame are received, and now, trigger second instruction control unit 606.
Second instruction control unit 606, for generating the second control instruction, to control the first of the electronic equipment to handle Device is converted to the second state by first state.
Wherein, the first state is the sleep state of the first processor, and second state is described The state of activation of one processor, when the first processor is in the second state, data corresponding to the beacon frame can be entered Row receives.
It should be noted that in the embodiment of the present application six, described information item identifies unit 602 to the described first instruction control The operation order of unit 604 and the operation order of described information item recognition unit 605 and second instruction control unit 606 it Between it is unaffected, and first instruction control unit 604 generate the first control instruction when and described information item recognition unit 605 not end of runs, now, interrupt operation described information item recognition unit 605, if in second instruction control unit 606 the second control instructions of generation and described information item mark unit 602 or first verification unit 603 not end of run When, now, interrupt operation described information item mark unit 602 or first verification unit 603, that is to say, that described the It is default that one check results meet that field information during default first state transformation rule or in second item of information meets During the second state transition rules, the unit in corresponding another branch will not perform down again, be:First check results And in the field information in second item of information, when one of them meets its corresponding state transition rules, it can generate control System instruction, to control the first processor of the electronic equipment to be converted to the second state by first state, that is, wakes up the electronics The primary processor of equipment.
With reference to figure 8, the structural representation of a kind of electronic equipment embodiment seven provided for the application, wherein, described first Verification unit 603 can be realized by following structure:
Item of information verifies subelement 631, for the first information item to being identified in the beacon frame and the 3rd information MAC header datas in set carry out the first verification operation, obtain the first check results.
Wherein, the first verification operation that first verification unit 603 is carried out, be to the first information item of the mark and The verification operation that MAC header datas in 3rd information aggregate are carried out, to obtain the first check results.
It is the structural representation that item of information verifies subelement 631 described in the embodiment of the present application seven specifically, with reference to figure 9, Wherein, described information item verification subelement 631 can include following structure:
CRC operation module 901, in the first information item to being identified in the beacon frame and the 3rd information aggregate MAC header datas carry out the first CRC operation, obtain the first crc value.
Comparing module 902 is verified, for first crc value and the first check field in the beacon frame to be compared It is right, obtain the first check results.
With reference to figure 10, item of information identifies unit 602 described in a kind of electronic equipment embodiment eight provided for the application Structural representation, described information item mark unit 602 can include following structure
Item of information comparison subunit 621, for each item of information in the first information set to be distributed and the element Each object element mark in classification chart carries out otherness comparison, obtains the respective information of each described information item and compares knot Fruit.
Wherein, described information item comparison subunit 621 refers to, respectively by each item of information respectively with each object element mark Know and carry out otherness comparison, to obtain and item of information of each object element mark with otherness.
Differences identify subelement 622, for according to described information comparison result, identifying and believing in the first information set Breath comparison result shows that its described information item is respectively provided with the first information item of otherness with each object element mark.
Wherein, in the differences mark subelement 622, information comparison result shows its institute in the first information set Category item of information is respectively provided with the first information item of otherness with each object element mark, refers to, the first information set Middle remaining item of information after rejecting the item of information consistent with object element mark.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also the other element including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except other identical element in the process including the key element, method, article or equipment being also present.
One kind provided herein is described in detail above, specific case used herein is to the application's Principle and embodiment are set forth, and the explanation of above example is only intended to help and understands the present processes and its core Thought;Meanwhile for those of ordinary skill in the art, according to the thought of the application, in embodiment and application Upper there will be changes, in summary, this specification content should not be construed as the limitation to the application.

Claims (10)

1. a kind of control method, it is characterised in that divide applied to element in electronic equipment, is previously provided with the electronic equipment Class table, methods described include:
Each item of information in the beacon frame that the electronic equipment is received respectively is labeled as first information set, the second information collection Conjunction or the 3rd information aggregate;
Object element mark in the element classification table, it will be identified in the first information set with the object element First information item outside consistent item of information is identified;
According to the first information item of mark, the first verification operation is carried out to the beacon frame, obtains the first check results;
When first check results meet default first state transformation rule, the first control instruction is generated, to control The first processor for stating electronic equipment is converted to the second state by first state.
2. according to the method for claim 1, it is characterised in that in the beacon frame for respectively receiving the electronic equipment Each item of information be labeled as first information set, the second information aggregate or the 3rd information aggregate after, methods described also includes:
Identify the second item of information for meeting preset data instruction flowmeter TIM field formats in second information aggregate;
When field information in the second item of information recognized meets default second state transition rules, the control of generation second Instruction, to control the first processor of the electronic equipment to be converted to the second state by first state.
3. according to the method for claim 1, it is characterised in that according to the first information item of mark, the beacon frame is entered The verification operation of row first, the first check results are obtained, including:
To the medium access control MAC packet header number in the first information item identified in the beacon frame and the 3rd information aggregate According to the first verification operation is carried out, the first check results are obtained.
4. according to the method for claim 3, it is characterised in that the first information item to being identified in the beacon frame and MAC header datas in 3rd information aggregate carry out the first verification operation, obtain the first check results, including:
First is carried out to the MAC header datas in the first information item identified in the beacon frame and the 3rd information aggregate to follow Ring redundancy CRC operation, obtains the first crc value;
First crc value is compared with the first check field in the beacon frame, obtains the first check results.
5. according to the method described in claim 1,2,3 or 4, it is characterised in that the mesh in the element classification table Component identification is marked, the first information item outside consistent item of information will be identified in the first information set with the object element It is identified, including:
By each item of information in the first information set identified respectively with each object element in the element classification table into Row otherness compares, and obtains the respective information comparison result of each described information item;
According to described information comparison result, identify information comparison result in the first information set show its affiliated item of information with Each object element mark is respectively provided with the first information item of otherness.
6. a kind of electronic equipment, it is characterised in that element classification table, the electronic equipment are previously provided with the electronic equipment Including:
Item of information indexing unit, first is labeled as each item of information in the beacon frame that respectively receives the electronic equipment Information aggregate, the second information aggregate or the 3rd information aggregate;
Item of information identifies unit, for the object element mark in the element classification table, by the first information set In the first information item that is identified with the object element outside consistent item of information be identified;
First verification unit, for the first information item according to mark, the first verification operation is carried out to the beacon frame, obtain the One check results, when first check results meet default first state transformation rule, the instruction control of triggering first is single Member;
First instruction control unit, for generating the first control instruction, to control the first processor of the electronic equipment by One State Transferring is the second state.
7. electronic equipment according to claim 6, it is characterised in that also include:
Information item recognition unit, in described information item indexing unit respectively by each item of information in the beacon frame labeled as the After one information aggregate, the second information aggregate or the 3rd information aggregate, identify and meet default TIM words in second information aggregate Second item of information of paragraph format, the field information in the second item of information recognized meet default second state transition rules When, trigger the second instruction control unit;
Second instruction control unit, for generating the second control instruction, to control the first processor of the electronic equipment by One State Transferring is the second state.
8. electronic equipment according to claim 6, it is characterised in that first verification unit includes:
Item of information verifies subelement, in the first information item to being identified in the beacon frame and the 3rd information aggregate MAC header datas carry out the first verification operation, obtain the first check results.
9. electronic equipment according to claim 8, it is characterised in that described information item verification subelement includes:
CRC operation module, for the MAC bags in the first information item to being identified in the beacon frame and the 3rd information aggregate Head data carry out the first CRC operation, obtain the first crc value;
Comparing module is verified, for first crc value to be compared with the first check field in the beacon frame, is obtained First check results.
10. according to the electronic equipment described in claim 6,7,8 or 9, it is characterised in that described information item mark unit includes:
Item of information comparison subunit, for by each item of information distribution and the element classification table in the first information set Each object element mark carry out otherness comparison, obtain the respective information comparison result of each described information item;
Differences identify subelement, for according to described information comparison result, identifying information in the first information set and comparing As a result show that its described information item is respectively provided with the first information item of otherness with each object element mark.
CN201410267335.XA 2014-06-16 2014-06-16 A kind of control method and electronic equipment Active CN105159438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410267335.XA CN105159438B (en) 2014-06-16 2014-06-16 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410267335.XA CN105159438B (en) 2014-06-16 2014-06-16 A kind of control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105159438A CN105159438A (en) 2015-12-16
CN105159438B true CN105159438B (en) 2018-03-27

Family

ID=54800319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410267335.XA Active CN105159438B (en) 2014-06-16 2014-06-16 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105159438B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118057881A (en) * 2022-11-21 2024-05-21 华为技术有限公司 Standby method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221684A (en) * 2011-03-16 2011-10-19 桂林电子科技大学 Wireless direction finding positioning search and rescue apparatus and search and rescue method
CN103563457A (en) * 2011-05-31 2014-02-05 Lg电子株式会社 Method for transmitting and receiving physical layer convergence procedure protocol data unit in wireless local area network system supporting power save mode operation and apparatus for the same
CN103650575A (en) * 2011-07-10 2014-03-19 高通股份有限公司 Systems and methods for low-overhead wireless beacons having compressed network identifiers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221684A (en) * 2011-03-16 2011-10-19 桂林电子科技大学 Wireless direction finding positioning search and rescue apparatus and search and rescue method
CN103563457A (en) * 2011-05-31 2014-02-05 Lg电子株式会社 Method for transmitting and receiving physical layer convergence procedure protocol data unit in wireless local area network system supporting power save mode operation and apparatus for the same
CN103650575A (en) * 2011-07-10 2014-03-19 高通股份有限公司 Systems and methods for low-overhead wireless beacons having compressed network identifiers

Also Published As

Publication number Publication date
CN105159438A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
Jia et al. An efficient anti-collision protocol for RFID tag identification
CN105447277B (en) A kind of isomorphism identification method containing multiple hinge kinematic chain based on topological characteristic loop code
CN107451597A (en) A kind of sample class label method and device for correcting
CN104079680B (en) The recognition methods of equipment and device
CN109450900A (en) Mimicry decision method, apparatus and system
CN105183780B (en) Based on the protocol classification method for improving AGNES algorithms
CN103313201B (en) The sending method and device of business configured information
US20230126152A1 (en) Method, apparatus, and system for positioning electronic device, server, and storage medium
CN105159438B (en) A kind of control method and electronic equipment
US20100085893A1 (en) Sensor nodes in multiple sensor network, method for creating grid-based tree of sensor nodes and spatial query processing system using grid-based tree
CN110414223A (en) A kind of attack detection method and device
CN1889486B (en) Dynamic energy managing method and apparatus in wireless sensor network
CN105072050A (en) Data transmission method and data transmission device
CN107402999A (en) Scene data storehouse method for building up and device
CN105426949B (en) A kind of low-power consumption timing wake-up method and apparatus
CN106802958A (en) Conversion method and system of the CAD data to GIS data
WO2019085337A1 (en) Positioning method based on signal data screening, electronic device and storage medium
CN104092524B (en) burst structure construction method and device in satellite mobile communication system
CN105116854A (en) Distributed sensor network system based on NFC technology
CN106878289A (en) Matching regular expressions method and its device based on multidimensional template finite automata TMFA
CN103514214B (en) Data query method and device
CN101320359A (en) Control circuit and method of serial port equipment
CN204965148U (en) Distributing type sensor network system based on NFC technique
CN106506299A (en) A kind of cluster control method of internet of things equipment
CN106503125A (en) A kind of data source extended 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
GR01 Patent grant
GR01 Patent grant