CN105335433B - A kind of control method and electronic equipment - Google Patents
A kind of control method and electronic equipment Download PDFInfo
- Publication number
- CN105335433B CN105335433B CN201410392266.5A CN201410392266A CN105335433B CN 105335433 B CN105335433 B CN 105335433B CN 201410392266 A CN201410392266 A CN 201410392266A CN 105335433 B CN105335433 B CN 105335433B
- Authority
- CN
- China
- Prior art keywords
- target
- frame
- value
- data
- data frame
- 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
Links
Landscapes
- Stored Programmes (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application discloses a kind of control method and electronic equipment, the method is applied to the first device of the electronic equipment, and the electronic equipment further includes multiple second devices, which comprises receives data frame;Determine the target frame type of the data frame;When the target frame type shows that the data frame belongs to preset kind frame, the supplemental characteristic of the data frame is obtained;When the supplemental characteristic shows to need to be updated the multiple second device, according to the frame data in the data frame, the first parameter value of the multiple second device is updated.Embodiments herein is not necessarily to the direct participation of software, is not related to software and runs the poor situation of brought timeliness, not only improves the timeliness for updating the second device parameters, while not having time delay, improve the efficiency of the second device parameters update.
Description
Technical field
This application involves technical field of data processing, in particular to a kind of control method and electronic equipment.
Background technique
Whether wireless network protocol reacts current wireless medium equipment usually using NAVtimer occupied, as data are sent out
Module etc. is sent, when such as the numerical value of NAVtimer being 0, shows that data transmission blocks be in occupied busy condition, which sends out
Equipment where module is sent not can be carried out data transmission.
The scheme that a variety of numerical value to this NAVtimer are updated exists in the prior art, as hardware device is responsible for
NAVtimer is counted, and such as by the counting process of 100 milliseconds of inverses to 0 millisecond, and the numerical value of the NAVtimer updates, such as by 100
Millisecond is updated to 200 milliseconds etc., and the more new task is by software realization.
But in above-mentioned software upgrading scheme, due to software operation timeliness it is lower, and software the processing time can because
There is unfixed situation in the factors such as response interruption, lead to time delay, so that the update efficiency of timer is lower.
Summary of the invention
The technical problem to be solved by the application is to provide a kind of control method and electronic equipments, to solve the prior art
In by the way that in the scheme of software upgrading timer numerical value, since the timeliness of software operation is lower, and software processing time is not solid
It is fixed, lead to time delay, so that timer updates the lower technical problem of efficiency.
This application provides a kind of control methods, and applied to the first device of electronic equipment, the electronic equipment further includes
Multiple second devices, which comprises
Receive data frame;
Determine the target frame type of the data frame;
When the target frame type shows that the data frame belongs to preset kind frame, the parameter number of the data frame is obtained
According to;
When the supplemental characteristic shows to need to be updated the multiple second device, according in the data frame
Frame data are updated the first parameter value of the multiple second device.
The above method, it is preferred that the target frame type of the determination data frame, comprising:
Identify the target frame event in the data frame;
According to the corresponding relationship between preset frame event and frame type, the corresponding target frame of the target frame event is determined
Type.
The above method, it is preferred that according to the frame data in the data frame, to the first parameter of the multiple second device
Value is updated, comprising:
In the multiple second device, the second device of target for needing to update is determined;
According to the frame data in the data frame, the first parameter value in second device of target is updated.
The above method, it is preferred that the frame data according in the data frame, in second device of target
One parameter value is updated, comprising:
Extract the more new logo in the frame data of the data frame;
When the more new logo is consistent with default first update mode, first in second device of target is maintained
Parameter value is constant;
When the more new logo is consistent with default second update mode, third device institute in the electronic equipment is obtained
The first object value of storage, when the first object value is greater than current first parameter value of second device of target, with institute
State the first parameter value that first object value updates second device of target;
When the more new logo is consistent with default third update mode, the second target in the data frame is obtained
Value, when second target value is greater than current first parameter value of second device of target, more with second target value
First parameter value of new second device of target;
When the more new logo is consistent with default 4th update mode, the second target in the data frame is obtained
Value, the first parameter value of second device of target is updated with second target value.
The above method, it is preferred that the method also includes:
Obtain the third target value that four device is stored in the electronic equipment;
The first parameter value in the multiple second device is updated with the third target value.
Present invention also provides a kind of electronic equipment, the electronic equipment includes the first device and multiple second devices, institute
State electronic equipment further include be set on first device with flowering structure:
Frame receiving unit, for receiving data frame;
Type determining units show described for determining the target frame type of the data frame in the target frame type
When data frame belongs to preset kind frame, trigger data acquiring unit;
Data capture unit shows to need to institute for obtaining the supplemental characteristic of the data frame in the supplemental characteristic
When stating multiple second devices and being updated, trigger device updating unit;
Device updating unit, for joining to the first of the multiple second device according to the frame data in the data frame
Numerical value is updated.
Above-mentioned electronic equipment, it is preferred that the type determining units include:
Frame identifies subelement, for identification the target frame event in the data frame;
Type determination unit, for determining the mesh according to the corresponding relationship between preset frame event and frame type
Mark the corresponding target frame type of frame event.
Above-mentioned electronic equipment, it is preferred that the device updating unit includes:
Device determines subelement, for determining the second device of target for needing to update in the multiple second device;
Parameter updates subelement, for according to the frame data in the data frame, to the in second device of target
One parameter value is updated.
Above-mentioned electronic equipment, it is preferred that the parameter updates subelement and includes:
Marker extraction module, the more new logo in frame data for extracting the data frame, the more new logo with
When default first update mode is consistent, the first operation module is triggered, in the more new logo and default second update mode phase
When consistent, the second operation module is triggered, when the more new logo is consistent with default third update mode, triggering third operation
Module triggers the 4th operation module when the more new logo is consistent with default 4th update mode;
First operation module, for maintaining the first parameter value in second device of target constant;
Second operation module, the first object value stored for obtaining third device in the electronic equipment, described
When first object value is greater than current first parameter value of second device of target, the target is updated with the first object value
First parameter value of the second device;
Third operation module is greater than institute in second target value for obtaining the second target value in the data frame
When stating current first parameter value of the second device of target, the first ginseng of second device of target is updated with second target value
Numerical value;
4th operation module updates institute for obtaining the second target value in the data frame with second target value
State the first parameter value of the second device of target.
Above-mentioned electronic equipment, it is preferred that further include:
It is worth acquiring unit, for obtaining the third target value that four device is stored in the electronic equipment;
It is worth updating unit, for being updated with the third target value to the first parameter value in the multiple device.
By above scheme it is found that a kind of control method provided by the present application and electronic equipment, this programme run on electronics and set
On the first standby device, after the data frame is received by the first device, the target frame type of data frame is determined, in the frame class
Type show data frame belong to preset kind frame and the supplemental characteristic of data frame that gets at the same demonstrate the need for the second device into
When row updates, the first parameter value of multiple second devices is updated according to the frame data in data frame, without the straight of software
Participation is connect, is not related to software and runs the poor situation of brought timeliness, not only improve the timeliness for updating the second device parameters
Property, while there is no time delay, improve the efficiency that the second device parameters update.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of flow chart of control method embodiment one provided by the present application;
Fig. 2 is a kind of partial process view of control method embodiment two provided by the present application;
Fig. 3 is a kind of partial process view of control method embodiment three provided by the present application;
Fig. 4 is the partial process view of the present embodiment three;
Fig. 5 is a kind of partial process view of control method example IV provided by the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment embodiment five provided by the present application;
Fig. 7 is the partial structure diagram of a kind of electronic equipment embodiment six provided by the present application;
Fig. 8 is the partial structure diagram of a kind of electronic equipment embodiment seven provided by the present application;
Fig. 9 is another part structural schematic diagram of the embodiment of the present application seven;
Figure 10 is the partial structure diagram of a kind of electronic equipment embodiment eight provided by the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
It is a kind of flow chart of control method embodiment one provided by the present application, wherein the control method with reference to Fig. 1
Applied to the first device of electronic equipment, it is not related to software operation, the electronic equipment can also include multiple second devices,
The second device of update in need can be arranged for mobile phone, pad, laptop etc. and meet 802.11 systems for the electronic equipment
The equipment of column agreement.Wherein, whether the first parameter value in second device shows the corresponding media device of the second device
In occupied state etc., the purpose of the present embodiment is that carrying out real-time update to first parameter value, second device can
Think the equipment such as NAV timer.
Wherein, the method in the present embodiment may comprise steps of:
Step 101: receiving data frame.
Step 102: determining the target frame type of the data frame, show that the data frame belongs in the target frame type
When preset kind frame, step 103 is executed.
Wherein, the step 102 refers to, needs whether to belong to the data frame received preset more new category and sentences
It is fixed, and when the data frame belongs to preset kind frame, execute step 103.
Step 103: obtaining the supplemental characteristic of the data frame, show to need to the multiple second in the supplemental characteristic
When device is updated, step 104 is executed.
Wherein, the supplemental characteristic can be the designated field data in the frame head data of the data frame, the parameter number
According to can indicate whether to need the update for carrying out the first parameter value to the second device.
Step 104: according to the frame data in the data frame, the first parameter value of the multiple second device being carried out more
Newly.
It wherein, may include having the second device for needing undated parameter value in second device corresponding in the frame data
Be updated to, in the step 104, the frame data of the data frame are obtained, and then to the first of the second device the ginseng
Numerical value is updated.
It should be noted that the operation of above-mentioned each step controls, is executed by first device, be not related to software journey
The participation of sequence.
By above scheme it is found that a kind of control method embodiment one provided by the present application, the present embodiment runs on electronics and sets
On the first standby device, after the data frame is received by the first device, the target frame type of data frame is determined, in the frame class
Type show data frame belong to preset kind frame and the supplemental characteristic of data frame that gets at the same demonstrate the need for the second device into
When row updates, the first parameter value of multiple second devices is updated according to the frame data in data frame, without the straight of software
Participation is connect, is not related to software and runs the poor situation of brought timeliness, not only improve the timeliness for updating the second device parameters
Property, while there is no time delay, improve the efficiency that the second device parameters update.
It is the implementation flow chart of step 102 described in a kind of control method embodiment two provided by the present application with reference to Fig. 2,
Wherein, the step 102 may comprise steps of realization:
Step 121: identifying the target frame event (Rx event) in the data frame.
Wherein, the target frame event can be the data in the specific field of the data frame, which being capable of table
The attribute or type of the bright data frame, such as management frame, time frame or simple information frame.
Step 122: according to the corresponding relationship between preset frame event and frame type, determining the corresponding mesh of the frame event
Mark frame type.
Wherein, the corresponding relationship being previously provided on the first device of the electronic equipment between frame event and frame type,
Multiple frame types are provided in the corresponding relationship, each frame type can correspond to a unique frame event, in the present solution, identification
Out after target frame event, the corresponding relationship can be utilized, determines target frame type corresponding to the target frame event.
It is the implementation flow chart of step 104 described in a kind of control method embodiment three provided by the present application with reference to Fig. 3,
Wherein, the step 104 can be realized by following steps:
Step 141: in the multiple second device, determining the second device of target for needing to update.
Wherein, in multiple second devices of the electronic equipment, can all second devices be updated, or only
There is the second device of part to be updated, and in the present embodiment, the second device of target for needing to update can have the letter in data frame
Breath determines, can also be set in advance by user.
Step 142: according to the frame data in the data frame, the first parameter value in second device of target being carried out
It updates.
Wherein, the step 142 in the concrete realization, can be realized, in this implementation according to specific application scenarios
Example in can by way of presetting more new logo and update mode corresponding relationship, to the more new logo in frame data into
Row identification, and then determine corresponding update mode, to improve the application flexibility of this programme, specifically, being this reality with reference to Fig. 4
Apply the implementation flow chart of step 142 described in example, wherein the step 402 may include there are following steps:
Step 401: extracting the more new logo in the frame data of the data frame, in the more new logo and preset first more
When new paragon is consistent, step 402 is executed, when the more new logo is consistent with default second update mode, executes step
403, when the more new logo is consistent with default third update mode, step 404 is executed, in the more new logo and is preset
When 4th update mode is consistent, step 405 is executed.
Wherein, the more new logo can be indicated with variables such as binary systems, such as 00,01,10,11.
It should be noted that first update mode, second update mode, the third update mode and described
4th update mode and its corresponding update marking variable value respectively correspond different application scenarios, in specific scene
Concrete operations.
Step 402: maintaining the first parameter value in second device of target constant.
Wherein, refer in the step 402 and any operation is not carried out to the data frame and the second device of the target.
Step 403: the first object value that third device in the electronic equipment is stored is obtained, in the first object value
Greater than second device of target current first parameter value when, second device of target is updated with the first object value
First parameter value.
Wherein, the third device can be a specified fixation register, and the village fixation register Zhong Cun has first
Target value after obtaining to the first object value, decides whether according to the first object value to described in the present embodiment
The second device of target is updated.Specifically, whether being greater than the of presently described the second device of target in the first object value
One parameter value judged, and when first object value is greater than current first parameter value of second device of target, with described
First object value replaces current first parameter value on second device of target, updates first on second device of target
Otherwise parameter value does not do any operation.
Step 404: obtaining the second target value in the data frame, be greater than the target second in second target value
When current first parameter value of device, the first parameter value of second device of target is updated with second target value.
Wherein, it when obtaining the second target value in the data frame in the step 404, can be more advised in agreement in advance
Position where fixed time parameter extracts the time parameter, as the second target value, and it is big in second target value
When current first parameter value, current first parameter value is replaced with second target value, updates the target the
Otherwise the first parameter value on two devices does not do any operation.
Step 405: obtaining the second target value in the data frame, the target second is updated with second target value
First parameter value of device.
Wherein, in the corresponding application scenarios of the step 405, sentence without carrying out size to the second target value got
It is disconnected, unconditionally by second target value if the time parameter extracted is the first ginseng on the second device of target as described in foundation updates
Numerical value.
It should be noted that under special circumstances, the operation of first device needs the intervention of software, therefore, in spy
In different situation, the first parameter value on the second device is updated by software end input parameter.With reference to Fig. 5, mentioned for the application
Supply a kind of control method example IV partial process view, wherein the method can with the following steps are included:
Step 105: obtaining the third target value that four device is stored in the electronic equipment.
Wherein, the third target value can be inputted by software end is stored on four device, should by software end input
After third target value, the execution of step 105 and its subsequent step 106 described in the present embodiment is triggered.
Step 106: the first parameter value in the multiple second device being updated with the third target value.
Specifically, in the step 106, with the third target value to all or part in the multiple second device
Second device carries out the update of the first parameter value.
In addition, being can wrap in the third target value containing multiple time values, the corresponding target second of each time value
Device, at this point, with each time value in the third target value to its corresponding target second in the step 106
The first parameter value in device is updated, and realizes the present embodiment purpose.
By above scheme it is found that the application is by running the second device parameters under conventional operation in the first device hardware more
Except new departure, the first parameter value to the second device can also be realized using the first device and software realization software and hardware combining
It updates, to improve the application flexibility and scalability of this programme.
It is the structural schematic diagram of a kind of electronic equipment embodiment five provided by the present application, wherein the electronics with reference to Fig. 6
Equipment includes by first device 601 and multiple second devices 602, and the electronic equipment further includes being set to first device
On part 601 with flowering structure:
Frame receiving unit 603, for receiving data frame.
Wherein, the present embodiment purpose is realized in each unit operation being arranged on first device, during this, not
It is related to software operation, the equipment that the electronic equipment can meet 802.11 serial protocols for mobile phone, pad, laptop etc..
Wherein, the first parameter value in second device shows whether the corresponding media device of the second device is in occupied state
Deng the purpose of the present embodiment is that second device can be NAV timer etc. to first parameter value progress real-time update
Equipment.
Type determining units 604 show institute in the target frame type for determining the target frame type of the data frame
When stating data frame and belonging to preset kind frame, trigger data acquiring unit 605.
Wherein, the type determining units 604 refer to, need whether to belong to the data frame received preset update class
Do not determined, and when the data frame belongs to preset kind frame, triggering runs the data capture unit 605.
Data capture unit 605 shows needs pair in the supplemental characteristic for obtaining the supplemental characteristic of the data frame
When the multiple second device is updated, trigger device updating unit 606.
Wherein, the supplemental characteristic can be the designated field data in the frame head data of the data frame, the parameter number
According to can indicate whether to need the update for carrying out the first parameter value to the second device.
Device updating unit 606, for according to the frame data in the data frame, to the first of the multiple second device
Parameter value is updated.
It wherein, may include having the second device for needing undated parameter value in second device corresponding in the frame data
Be updated to, in the device updating unit 606, the frame data of the data frame are obtained, and then to the second device
The first parameter value be updated.
It should be noted that the operation of above-mentioned each step controls, is executed by first device, be not related to software journey
The participation of sequence.
By above scheme it is found that a kind of electronic equipment embodiment five provided by the present application, the present embodiment runs on electronics and sets
On the first standby device, after the data frame is received by the first device, the target frame type of data frame is determined, in the frame class
Type show data frame belong to preset kind frame and the supplemental characteristic of data frame that gets at the same demonstrate the need for the second device into
When row updates, the first parameter value of multiple second devices is updated according to the frame data in data frame, without the straight of software
Participation is connect, is not related to software and runs the poor situation of brought timeliness, not only improve the timeliness for updating the second device parameters
Property, while there is no time delay, improve the efficiency that the second device parameters update.
It is the structure of type determining units 604 described in a kind of electronic equipment embodiment six provided by the present application with reference to Fig. 7
Schematic diagram, wherein the type determining units 604 may include with flowering structure:
Frame identifies subelement 641, for identification the target frame event in the data frame.
Wherein, the target frame event can be the data in the specific field of the data frame, which being capable of table
The attribute or type of the bright data frame, such as management frame, time frame or simple information frame.
Type determination unit 642, described in determining according to the corresponding relationship between preset frame event and frame type
The corresponding target frame type of target frame event.
Wherein, the corresponding relationship being previously provided on the first device of the electronic equipment between frame event and frame type,
Multiple frame types are provided in the corresponding relationship, each frame type can correspond to a unique frame event, in the present solution, identification
Out after target frame event, the corresponding relationship can be utilized, determines target frame type corresponding to the target frame event.
It is the structure of device updating unit 606 described in a kind of electronic equipment embodiment seven provided by the present application with reference to Fig. 8
Schematic diagram, wherein the device updating unit 606 may include with flowering structure:
Device determines subelement 661, for determining the second device of target for needing to update in the multiple second device
Part.
Wherein, in multiple second devices of the electronic equipment, can all second devices be updated, or only
There is the second device of part to be updated, and in the present embodiment, the second device of target for needing to update can have the letter in data frame
Breath determines, can also be set in advance by user.
Parameter updates subelement 662, for according to the frame data in the data frame, in second device of target
First parameter value is updated.
Wherein, the parameter updates subelement 662 in the concrete realization, can be carried out according to specific application scenarios real
It is existing, it in the present embodiment can be by way of presetting more new logo and update mode corresponding relationship, in frame data
More new logo identified, and then corresponding update mode is determined, to improve the application flexibility of this programme, specifically, ginseng
Fig. 9 is examined, is the structural schematic diagram that parameter described in the embodiment of the present application updates subelement 662, wherein it is single that the parameter updates son
Member 662 may include with flowering structure:
Marker extraction module 901, the more new logo in frame data for extracting the data frame, in the more new logo
When consistent with default first update mode, the first operation module 902 is triggered, in the more new logo and default second update side
When formula is consistent, the second operation module 903 is triggered, when the more new logo is consistent with default third update mode, triggering
Third operation module 904 triggers the 4th operation module 905 when the more new logo is consistent with default 4th update mode.
Wherein, the more new logo can be indicated with variables such as binary systems, such as 00,01,10,11.
It should be noted that first update mode, second update mode, the third update mode and described
4th update mode and its corresponding update marking variable value respectively correspond different application scenarios, in specific scene
Concrete operations.
First operation module 902, for maintaining the first parameter value in second device of target constant.
Wherein, first operation module 902 refers to not any to the data frame and the progress of the second device of the target
Operation.
Second operation module 903, the first object value stored for obtaining third device in the electronic equipment, in institute
When stating current first parameter value of the first object value greater than second device of target, the mesh is updated with the first object value
Mark the first parameter value of the second device.
Wherein, the third device can be a specified fixation register, and the village fixation register Zhong Cun has first
Target value, in the present embodiment, after second operation module 903 obtains the first object value, according to first mesh
Scale value decides whether to be updated second device of target.Specifically, second operation module 903 is described first
The first parameter value whether target value is greater than presently described the second device of target judged, and is greater than in first object value described
When current first parameter value of the second device of target, current the on second device of target is replaced with the first object value
One parameter value updates the first parameter value on second device of target, does not otherwise do any operation.
Third operation module 904 is greater than for obtaining the second target value in the data frame in second target value
When current first parameter value of second device of target, second device of target is updated with second target value first
Parameter value.
It wherein, can be more in agreement when the third operation module 904 obtains the second target value in the data frame
Position where prespecified time parameter extracts the time parameter, as the second target value, and in second mesh
When scale value is greater than current first parameter value, current first parameter value is replaced with second target value, described in update
Otherwise the first parameter value on the second device of target does not do any operation.
4th operation module 905, for obtaining the second target value in the data frame, with second target value update
First parameter value of second device of target.
Wherein, in the corresponding application scenarios of the 4th operation module 905, without to the second target value got into
Row size judgement, unconditionally by second target value if the time parameter extracted is on the second device of target as described in foundation updates
The first parameter value.
It should be noted that under special circumstances, the operation of first device needs the intervention of software, therefore, in spy
In different situation, the first parameter value on the second device is updated by software end input parameter.With reference to Figure 10, mentioned for the application
The partial structure diagram of a kind of electronic equipment embodiment eight of confession, wherein the electronic equipment can also include with flowering structure:
It is worth acquiring unit 607, for obtaining the third target value that four device is stored in the electronic equipment.
Wherein, the third target value can be inputted by software end is stored on four device, should by software end input
After third target value, the operation of value acquiring unit 607 and its described value updating unit 608 described in the present embodiment is triggered.
It is worth updating unit 608, for carrying out more with the third target value to the first parameter value in the multiple device
Newly.
All or part of second device carries out the update of the first parameter value.
In addition, being can wrap in the third target value containing multiple time values, the corresponding target second of each time value
Device, at this point, described value updating unit 608 is with each time value in the third target value to its corresponding target
The first parameter value in two devices is updated, and realizes the present embodiment purpose.
By above scheme it is found that the application is by running the second device parameters under conventional operation in the first device hardware more
Except new departure, the first parameter value to the second device can also be realized using the first device and software realization software and hardware combining
It updates, to improve the application flexibility and scalability of this programme.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
A kind of control method provided herein and electronic equipment are described in detail above, it is used herein
The principle and implementation of this application are described for specific case, and the above embodiments are only used to help understand originally
The method and its core concept of application;At the same time, for those skilled in the art, according to the thought of the application, specific
There will be changes in embodiment and application range, in conclusion the content of the present specification should not be construed as to the application's
Limitation.
Claims (6)
1. a kind of control method, which is characterized in that applied to the first device of electronic equipment, the electronic equipment further includes multiple
Second device, which comprises
Receive data frame;
Determine the target frame type of the data frame;
When the target frame type shows that the data frame belongs to preset kind frame, the supplemental characteristic of the data frame is obtained;
When the supplemental characteristic shows to need to be updated the multiple second device, according to the frame number in the data frame
According to being updated to the first parameter value of the multiple second device;
Wherein, according to the frame data in the data frame, the first parameter value of the multiple second device is updated, is wrapped
It includes:
In the multiple second device, the second device of target for needing to update is determined;
Extract the more new logo in the frame data of the data frame;
When the more new logo is consistent with default first update mode, the first parameter in second device of target is maintained
It is worth constant;
When the more new logo is consistent with default second update mode, obtains third device in the electronic equipment and stored
First object value, when the first object value is greater than current first parameter value of second device of target, with described the
One target value updates the first parameter value of second device of target;
When the more new logo is consistent with default third update mode, the second target value in the data frame is obtained,
When second target value is greater than current first parameter value of second device of target, described in second target value update
First parameter value of the second device of target;
When the more new logo is consistent with default 4th update mode, the second target value in the data frame is obtained, with
Second target value updates the first parameter value of second device of target.
2. the method according to claim 1, wherein the target frame type of the determination data frame, comprising:
Identify the target frame event in the data frame;
According to the corresponding relationship between preset frame event and frame type, the corresponding target frame class of the target frame event is determined
Type.
3. the method according to claim 1, wherein the method also includes:
Obtain the third target value that four device is stored in the electronic equipment;
The first parameter value in the multiple second device is updated with the third target value.
4. a kind of electronic equipment, which is characterized in that the electronic equipment includes the first device and multiple second devices, the electronics
Equipment further include be set on first device with flowering structure:
Frame receiving unit, for receiving data frame;
Type determining units show the data in the target frame type for determining the target frame type of the data frame
When frame belongs to preset kind frame, trigger data acquiring unit;
Data capture unit shows to need to described more for obtaining the supplemental characteristic of the data frame in the supplemental characteristic
When a second device is updated, trigger device updating unit;
Device updating unit, for according to the frame data in the data frame, to the first parameter value of the multiple second device
It is updated;
Wherein, the device updating unit is specifically used for:
In the multiple second device, the second device of target for needing to update is determined;
Extract the more new logo in the frame data of the data frame;
When the more new logo is consistent with default first update mode, the first parameter in second device of target is maintained
It is worth constant;
When the more new logo is consistent with default second update mode, obtains third device in the electronic equipment and stored
First object value, when the first object value is greater than current first parameter value of second device of target, with described the
One target value updates the first parameter value of second device of target;
When the more new logo is consistent with default third update mode, the second target value in the data frame is obtained,
When second target value is greater than current first parameter value of second device of target, described in second target value update
First parameter value of the second device of target;
When the more new logo is consistent with default 4th update mode, the second target value in the data frame is obtained, with
Second target value updates the first parameter value of second device of target.
5. electronic equipment according to claim 4, which is characterized in that the type determining units include:
Frame identifies subelement, for identification the target frame event in the data frame;
Type determination unit, for determining the target frame according to the corresponding relationship between preset frame event and frame type
The corresponding target frame type of event.
6. electronic equipment according to claim 4, which is characterized in that further include:
It is worth acquiring unit, for obtaining the third target value that four device is stored in the electronic equipment;
It is worth updating unit, for being updated with the third target value to the first parameter value in the multiple device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410392266.5A CN105335433B (en) | 2014-08-11 | 2014-08-11 | A kind of control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410392266.5A CN105335433B (en) | 2014-08-11 | 2014-08-11 | A kind of control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105335433A CN105335433A (en) | 2016-02-17 |
CN105335433B true CN105335433B (en) | 2019-03-29 |
Family
ID=55285962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410392266.5A Active CN105335433B (en) | 2014-08-11 | 2014-08-11 | A kind of control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105335433B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394626A (en) * | 2007-09-19 | 2009-03-25 | 株式会社Ntt都科摩 | Distributed service differentiating method and device based on WLAN |
CN101587634A (en) * | 2009-06-15 | 2009-11-25 | 北京交通大学 | On-line real-time updating method for wireless cab signal vehicular equipment control program and parameter |
CN103002591A (en) * | 2011-09-15 | 2013-03-27 | 华为技术有限公司 | Nodes and NAV (network allocation vector) control method, device and system therefor |
CN103217956A (en) * | 2013-03-26 | 2013-07-24 | 三一重工股份有限公司 | Industrial control system as well as control method and control device thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8619808B2 (en) * | 2010-09-14 | 2013-12-31 | Stmicroelectronics, Inc. | Mechanism to update a NAV timer |
-
2014
- 2014-08-11 CN CN201410392266.5A patent/CN105335433B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101394626A (en) * | 2007-09-19 | 2009-03-25 | 株式会社Ntt都科摩 | Distributed service differentiating method and device based on WLAN |
CN101587634A (en) * | 2009-06-15 | 2009-11-25 | 北京交通大学 | On-line real-time updating method for wireless cab signal vehicular equipment control program and parameter |
CN103002591A (en) * | 2011-09-15 | 2013-03-27 | 华为技术有限公司 | Nodes and NAV (network allocation vector) control method, device and system therefor |
CN103217956A (en) * | 2013-03-26 | 2013-07-24 | 三一重工股份有限公司 | Industrial control system as well as control method and control device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105335433A (en) | 2016-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528395B (en) | The generation method and device of test case | |
CN109284784A (en) | A kind of content auditing model training method and device for live scene video | |
CN109672583A (en) | Method for monitoring network, equipment, storage medium and device | |
CN104320325B (en) | A kind of information push method and device | |
CN105610819B (en) | The method and apparatus of the query service of server info are provided | |
CN107741950A (en) | Processing method, device, processor and the service end of data syn-chronization task | |
CN110222114B (en) | Method and equipment for bidirectional synchronization of data in database | |
CN104079717B (en) | A kind of method at display device interface and server | |
CN107092652A (en) | The air navigation aid and device of target pages | |
JP2010286891A5 (en) | ||
CN106911554B (en) | Historical information display method and device | |
CN108984687A (en) | Automatic plus group control method, apparatus and storage medium based on user behavior | |
CN104883705B (en) | A kind of the problem of data service is complained localization method and device | |
CN109636090A (en) | Work position distribution method, apparatus, equipment and storage medium | |
CN110362585B (en) | Data analysis method and device, storage medium and electronic equipment | |
CN108833541A (en) | A kind of method and device of identification terminal information | |
CN106682014B (en) | Game display data generation method and device | |
CN107222618A (en) | Terminal screenshotss method and device | |
CN106506212A (en) | Abnormal information acquisition methods and user terminal | |
CN105335433B (en) | A kind of control method and electronic equipment | |
CN103490984B (en) | A kind of method and apparatus obtaining user profile | |
WO2014166255A1 (en) | Method, device, and terminal for determining user interface language display of sim card | |
CN109543122A (en) | Content synchronization method, device, storage medium and electronic device | |
CN111782684B (en) | Distribution network electronic handover information matching method and device | |
CN105653123B (en) | A kind of icon group technology and terminal 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 |