CN104467760A - A control method and electronic apparatus - Google Patents

A control method and electronic apparatus Download PDF

Info

Publication number
CN104467760A
CN104467760A CN201310418823.1A CN201310418823A CN104467760A CN 104467760 A CN104467760 A CN 104467760A CN 201310418823 A CN201310418823 A CN 201310418823A CN 104467760 A CN104467760 A CN 104467760A
Authority
CN
China
Prior art keywords
module
state
control signal
control
logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310418823.1A
Other languages
Chinese (zh)
Other versions
CN104467760B (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 CN201310418823.1A priority Critical patent/CN104467760B/en
Publication of CN104467760A publication Critical patent/CN104467760A/en
Application granted granted Critical
Publication of CN104467760B publication Critical patent/CN104467760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a control method including: a determining module detects a working state of a logic module, when the working state meets a first preset condition, the determining module enters a first state and generates a first control signal, meanwhile, outputs the first control signal to a control module, and the control module switches the logic module into the first state according to the first control signal; and when the determining module detects a second preset condition, the determining module enters a second state and generates a second control signal, meanwhile outputs the second control signal to the control module, and the control module switches the logic module into the second state according to the second control signal. The present invention further discloses an electronic apparatus at the same time. By adoption of the technical solution of the present invention, the control of the large scope of the clock state is achieved, and the circuit consumption is reduced; moreover, the cost is effectively reduced since software configuration is not required.

Description

A kind of control method and electronic equipment
Technical field
The present invention relates to control technology, be specifically related to a kind of control method and electronic equipment.
Background technology
Clock Gating Technique is mainly used in when digital circuit does not need work, by clock being closed the dynamic power consumption reducing digital circuit.Current Clock Gating Technique is mainly divided into: manual gated clock and tool inserting enter gated clock.The former utilizes software to close clock by the mode of configuration register, although control range is comparatively large, needs the intervention by software, adds cost, and can bring larger delay; The latter inserts gated clock control circuit by electronic design automation tool when compiling, although do not need the design by software, but the control range of this mode is less, usually be one group of register, and for whole logic functional block, adopt and may need in this way to insert the control that multiple door control clock circuit could realize the clock to whole logic functional block.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of control method and electronic equipment, can realize the control of large-scale clock status, and without the need to the configuration by software, effectively reduces cost.
For achieving the above object, technical scheme of the present invention is achieved in that
Embodiments provide a kind of control method, described method is applied in electronic equipment, described electronic equipment comprises logic module, and described electronic equipment also comprises: control module and judge module, is provided with the communication interface with described judge module in described logic module; Described method comprises:
Described judge module detects the operating state of described logic module, when described operating state meet first pre-conditioned time, described judge module enters the first state and generates the first control signal, export described first simultaneously and control signal to described control module, described logic module is switched to the first state according to the first control signal by described control module;
When described judge module detect second pre-conditioned time, described judge module enters the second state and generates the second control signal, export described second simultaneously and control signal to described control module, described logic module is switched to the second state according to described second control signal by described control module.
The embodiment of the present invention additionally provides a kind of electronic equipment, and described electronic equipment comprises logic module, and described electronic equipment also comprises: judge module and control module; Wherein,
Described judge module, for detecting the operating state of described logic module, when described operating state meet first pre-conditioned time, enter the first state and generate the first control signal, exporting described first simultaneously and control signal to control module; Also for detect second pre-conditioned time, enter the second state and generate the second control signal, exporting described second simultaneously and control signal to control module;
Described control module, switches to the first state for the first control signal exported according to described judge module by logic module; Logic module is switched to the second state by the second control signal also for exporting according to described judge module.
The control method that the embodiment of the present invention provides and electronic equipment, described electronic equipment comprises judge module and control module; The operating state of logic module is detected by judge module, when described operating state meet first pre-conditioned time, described judge module enters the first state and generates the first control signal, export described first simultaneously and control signal to control module, logic module is switched to the first state according to the first control signal by described control module; When judge module detect second pre-conditioned time, described judge module enters the second state and generates the second control signal, export described second simultaneously and control signal to control module, logic module is switched to the second state according to the second control signal by described control module.The technical scheme of the embodiment of the present invention adds new judge module at modular design top layer, by the switching to whole logic module state, achieves the control of large-scale clock status, and without the need to the configuration by software, effectively reduces cost.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the control method of the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the control method of the embodiment of the present invention two;
Fig. 3 is the schematic flow sheet of the control method of the embodiment of the present invention three;
Fig. 4 is the schematic flow sheet of the control method of the embodiment of the present invention three;
Fig. 5 is the composition structural representation of the electronic equipment of the embodiment of the present invention.
Embodiment
In order to more at large understand feature of the present invention and technology contents, below in conjunction with accompanying drawing, realization of the present invention is described in detail, the use of appended accompanying drawing explanation only for reference, is not used for limiting the present invention.
Fig. 1 is the schematic flow sheet of the control method of the embodiment of the present invention one, and the control method in the present embodiment is used for electronic equipment, and described electronic equipment comprises logic module; In a preferred embodiment of the invention, described electronic equipment also comprises: control module and judge module, is provided with the communication interface with described judge module in described logic module; As shown in Figure 1, described control method comprises the following steps:
Step 101: described judge module detects the operating state of described logic module.
In the present embodiment, described logic module is original module in electronic equipment, comprises the chip, logical circuit etc. that can realize various logic function; Described logic function can comprise the various data processing functions such as data acquisition, storage, calculating, conversion, transmission.
Here, the operating state that described judge module detects described logic module, by detecting message transmission rate in described logic module or data computation rate, knows the operating state of described logic module according to described message transmission rate or data computation rate; Or described judge module sends message to described logic module, determines the operating state of described logic module according to the response message received; Wherein, described operating state comprise just in working order with end-of-job state.
Step 102: when described operating state meet first pre-conditioned time, described judge module enters the first state and generates the first control signal, exports described first simultaneously and controls signal to control module.
Here, described judge module can be state machine, state table is stored in described state machine, the corresponding relation of condition and state is recorded in described state table, and the corresponding action performed in this condition, when meeting a certain condition, triggering and entering a certain state, and performing corresponding action according to described a certain state; Concrete, the first pre-conditioned corresponding relation with the first state is set in described state table, when the operating state of the described logic module that described judge module detects meet described first pre-conditioned time, triggering enters the first state, and generate the first control signal according to described first state, described first control signal is sent to control module simultaneously.
Step 103: logic module is switched to the first state according to the first control signal by described control module.
Here, described control module can be gate controlled clock unit, by the control of described gate controlled clock unit, logic module is switched to the first state.
Step 104: when judge module detect second pre-conditioned time, described judge module enters the second state and generates the second control signal, exports described second simultaneously and controls signal to control module.
Here, described judge module can be state machine, state table is stored in described state machine, the corresponding relation of condition and state is recorded in described state table, and the corresponding action performed in this condition, when meeting a certain condition, triggering and entering a certain state, and performing corresponding action according to described a certain state; Concrete, the second pre-conditioned corresponding relation with the second state is set in described state table, when described judge module detect described second pre-conditioned time, triggering enters the second state, and generate the second control signal according to described second state, described second control signal is sent to control module simultaneously.
Step 105: logic module is switched to the second state according to the second control signal by described control module.
Here, described control module can be gated clock, by the control of described gated clock, logic module is switched to the second state by the first state.
Control method in the embodiment of the present invention, by the detection of judge module to the operating state of logic module, generate different control signals according to different operating states and send to outside control module, the clock status of control module to whole logic module switches, so, new judge module is added at modular design top layer, when digital circuit does not need work, by the switching to whole logic module state, achieve the control of large-scale clock status, reduce circuit power consumption, and without the need to the configuration by software, effectively reduce cost.
Fig. 2 is the schematic flow sheet of the control method of the embodiment of the present invention two, and the control method in the present embodiment is used for electronic equipment, and described electronic equipment comprises logic module; In another preferred embodiment of the present invention, described electronic equipment also comprises: control module and judge module, is provided with the communication interface with described judge module in described logic module; Described logic module comprises more than one arithmetic logic unit; As shown in Figure 2, described control method comprises the following steps:
Step 201: described judge module detects the operating state of described more than one arithmetic logic unit.
In the present embodiment, described logic module is original module in electronic equipment, comprises the chip, logical circuit etc. that can realize various logic function; Described logic function can comprise the various data processing functions such as data acquisition, storage, calculating, conversion, transmission; Described various logic function realizes by described more than one arithmetic logic unit.
Here, the operating state that described judge module detects described more than one arithmetic logic unit, by detecting message transmission rate in described more than one arithmetic logic unit or data computation rate, knows the operating state of described logic module according to described message transmission rate or data computation rate; Or described judge module sends message to described logic module, determines the operating state of described logic module according to the response message received; Wherein, described operating state comprise just in working order with end-of-job state.
Step 202: when described more than one arithmetic logic unit operating state all meet first pre-conditioned time, judge module enters the first state and generates the first control signal, exports described first simultaneously and controls signal to control module.
Here, described judge module can be state machine, state table is stored in described state machine, the corresponding relation of condition and state is recorded in described state table, and the corresponding action performed in this condition, when meeting a certain condition, triggering and entering a certain state, and performing corresponding action according to described a certain state; Concrete, the first pre-conditioned corresponding relation with the first state is set in described state table, when the operating state of the described logic module that described judge module detects meet described first pre-conditioned time, triggering enters the first state, and generate the first control signal according to described first state, described first control signal is sent to control module simultaneously.
Step 203: logic module is switched to the first state according to the first control signal by described control module.
Here, described control module can be gate controlled clock unit, by the control of described gate controlled clock unit, logic module is switched to the first state.
Step 204: when judge module detect second pre-conditioned time, described judge module enters the second state and generates the second control signal, exports described second simultaneously and controls signal to control module.
Here, described judge module can be state machine, state table is stored in described state machine, the corresponding relation of condition and state is recorded in described state table, and the corresponding action performed in this condition, when meeting a certain condition, triggering and entering a certain state, and performing corresponding action according to described a certain state; Concrete, the second pre-conditioned corresponding relation with the second state is set in described state table, when described judge module detect described second pre-conditioned time, triggering enters the second state, and generate the second control signal according to described second state, described second control signal is sent to control module simultaneously.
Step 205: logic module is switched to the second state according to the second control signal by described control module.
Here, described control module can be gated clock, by the control of described gated clock, logic module is switched to the second state by the first state.
Control method in the embodiment of the present invention, by the detection of judge module to the operating state of logic module, generate different control signals according to different operating states and send to outside control module, the clock status of control module to whole logic module switches, so, new judge module is added at modular design top layer, when digital circuit does not need work, by the switching to whole logic module state, achieve the control of large-scale clock status, reduce circuit power consumption, and without the need to the configuration by software, effectively reduce cost.
Fig. 3 is the schematic flow sheet of the control method of the embodiment of the present invention three, and the control method in the present embodiment is used for electronic equipment, and described electronic equipment comprises logic module; In another preferred embodiment of the present invention, described electronic equipment also comprises: control module and judge module, is provided with the communication interface with described judge module in described logic module; As shown in Figure 3, described control method comprises the following steps:
Step 301: described judge module arranges the clock cycle.
Here, described judge module is by the set timer clock cycle, and the described clock cycle can be set to clock cycle of spacing equal time, also can arrange the clock cycle of different time spacing according to the different operating state of described logic module.
Step 302: described judge module detects the operating state of described logic module.
In the present embodiment, described logic module is original module in electronic equipment, comprises the chip, logical circuit etc. that can realize various logic function; Described logic function can comprise the various data processing functions such as data acquisition, storage, calculating, conversion, transmission.
Here, the operating state that described judge module detects described logic module, by detecting message transmission rate in described logic module or data computation rate, knows the operating state of described logic module according to described message transmission rate or data computation rate; Or described judge module sends message to described logic module, determines the operating state of described logic module according to the response message received; Wherein, described operating state comprise just in working order with end-of-job state.
Step 303: when described operating state meet logic module work complete and in present clock period, do not receive new task request time, described judge module enters the first state and generates the first control signal, exports described first simultaneously and controls signal to control module.
Here, described judge module can be state machine, state table is stored in described state machine, the corresponding relation of condition and state is recorded in described state table, and the corresponding action performed in this condition, when meeting a certain condition, triggering and entering a certain state, and performing corresponding action according to described a certain state; Concrete, the first pre-conditioned corresponding relation with the first state is set in described state table, when the operating state of the described logic module that described judge module detects meet described first pre-conditioned time, triggering enters the first state, and generate the first control signal according to described first state, described first control signal is sent to control module simultaneously.
In the present embodiment, described first pre-conditionedly comprises: logic module work completes and do not receive new task request in present clock period; When the operating state of the described logic module that described judge module detects meet logic module work complete and in present clock period, do not receive the condition of new task request time, triggering enters the first state, and generate the first control signal according to described first state, described first control signal is sent to control module simultaneously.
Step 304: logic module is switched to the first state according to the first control signal by described control module.
Here, described control module can be gate controlled clock unit, by the control of described gate controlled clock unit, logic module is switched to the first state.
Step 305: when judge module has detected logic module described in new task request or described clock period time then, described judge module enters the second state and generates the second control signal, exports described second simultaneously and controls signal to control module.
Here, described judge module can be state machine, state table is stored in described state machine, the corresponding relation of condition and state is recorded in described state table, and the corresponding action performed in this condition, when meeting a certain condition, triggering and entering a certain state, and performing corresponding action according to described a certain state; Concrete, the second pre-conditioned corresponding relation with the second state is set in described state table, when described judge module detect described second pre-conditioned time, triggering enters the second state, and generate the second control signal according to described second state, described second control signal is sent to control module simultaneously.
In the present embodiment, described second pre-conditionedly comprises: the described clock period time having logic module described in new task request or described judge module to arrange arrives; Logic module described in new task request or described clock period time is had then described in detecting when described judge module, triggering enters the second state, and generate the second control signal according to described second state, described second control signal is sent to control module simultaneously.
Step 306: logic module is switched to the second state according to the second control signal by described control module.
Here, described control module can be gated clock, by the control of described gated clock, logic module is switched to the second state by the first state.
Control method in the embodiment of the present invention, by the detection of judge module to the operating state of logic module, generate different control signals according to different operating states and send to outside control module, the clock status of control module to whole logic module switches, so, new judge module is added at modular design top layer, when digital circuit does not need work, by the switching to whole logic module state, achieve the control of large-scale clock status, reduce circuit power consumption, and without the need to the configuration by software, effectively reduce cost.
Fig. 4 is the schematic flow sheet of the control method of the embodiment of the present invention four, and the control method in the present embodiment is used for electronic equipment, and described electronic equipment comprises logic module; In another preferred embodiment of the present invention, described electronic equipment also comprises: control module and judge module, is provided with the communication interface with described judge module in described logic module; As shown in Figure 4, described control method comprises the following steps:
Step 401: described judge module detects the operating state of described logic module.
In the present embodiment, described logic module is original module in electronic equipment, comprises the chip, logical circuit etc. that can realize various logic function; Described logic function can comprise the various data processing functions such as data acquisition, storage, calculating, conversion, transmission.
Here, the operating state that described judge module detects described logic module, by detecting message transmission rate in described logic module or data computation rate, knows the operating state of described logic module according to described message transmission rate or data computation rate; Or described judge module sends message to described logic module, determines the operating state of described logic module according to the response message received; Wherein, described operating state comprise just in working order with end-of-job state.
Step 402: when described operating state meet first pre-conditioned time, described judge module enters low power consumpting state or clock closed condition and generates the first control signal, exports described first simultaneously and controls signal to control module.
Here, described judge module can be state machine, state table is stored in described state machine, the corresponding relation of condition and state is recorded in described state table, and the corresponding action performed in this condition, when meeting a certain condition, triggering and entering a certain state, and performing corresponding action according to described a certain state; Concrete, the first pre-conditioned corresponding relation with the first state is set in described state table, when the operating state of the described logic module that described judge module detects meet described first pre-conditioned time, triggering enters the first state, and generate the first control signal according to described first state, described first control signal is sent to control module simultaneously.
In the present embodiment, described first state is low power consumpting state or clock closed condition; The corresponding relation of described first pre-conditioned and described low power consumpting state or clock closed condition is set in described state table, when the operating state of the described logic module that described judge module detects meet described first pre-conditioned time, triggering enters low power consumpting state or clock closed condition, and generate the first control signal according to described first state, described first control signal is sent to control module simultaneously.
Step 403: logic module is switched to low power consumpting state or closed condition according to the first control signal by described control module.
Here, described control module can be gate controlled clock unit, by the control of described gate controlled clock unit, logic module is switched to low power consumpting state or clock closed condition, the clock of self is closed by described logic module, and be in work abort state, do not receive any data or the instruction of the transmission of other logic modules.
Step 404: when judge module detect second pre-conditioned time, described judge module enters clock opening and generates the second control signal, exports described second simultaneously and controls signal to control module.
Here, described judge module can be state machine, state table is stored in described state machine, the corresponding relation of condition and state is recorded in described state table, and the corresponding action performed in this condition, when meeting a certain condition, triggering and entering a certain state, and performing corresponding action according to described a certain state; Concrete, the second pre-conditioned corresponding relation with the second state is set in described state table, when described judge module detect described second pre-conditioned time, triggering enters the second state, and generate the second control signal according to described second state, described second control signal is sent to control module simultaneously.
In the present embodiment, described second state is clock opening, the corresponding relation of described second pre-conditioned and described clock opening is set in described state table, when described judge module detect described second pre-conditioned time, triggering enters clock opening, and generate the second control signal according to described clock opening, described second control signal is sent to control module simultaneously.
Step 405: logic module is switched to clock opening according to the second control signal by described control module.
Here, described control module can be gate controlled clock unit, by the control of described gate controlled clock unit, logic module is switched to clock opening by described low power consumpting state or clock closed condition, described logic module will not be subject to the control of the gated clock of described control module, the clock of self is opened, starts the data or the instruction that receive the transmission of other logic modules.
Control method in the embodiment of the present invention, by the detection of judge module to the operating state of logic module, generate different control signals according to different operating states and send to outside control module, the clock status of control module to whole logic module switches, so, new judge module is added at modular design top layer, when digital circuit does not need work, by the switching to whole logic module state, achieve the control of large-scale clock status, reduce circuit power consumption, and without the need to the configuration by software, effectively reduce cost.
Fig. 5 is the composition structural representation of the electronic equipment of the embodiment of the present invention, and as shown in Figure 5, described electronic equipment comprises logic module 50, and in a preferred embodiment of the invention, described electronic equipment also comprises: judge module 51 and control module 52; Wherein:
Described judge module 51, for detecting the operating state of described logic module 50, when described operating state meet first pre-conditioned time, enter the first state and generate the first control signal, exporting described first simultaneously and control signal to control module 52; Also for detect second pre-conditioned time, enter the second state and generate the second control signal, exporting described second simultaneously and control signal to control module 52;
Described control module 52, switches to the first state for the first control signal exported according to described judge module 51 by logic module 50; Logic module 50 is switched to the second state by the second control signal also for exporting according to described judge module 51.
Preferably, judge module 51 in the present embodiment can be arranged at the top layer of described logic module 50 inside, it is outside that data/signaling that described logic module 50 exports just need can export described logic module 50 to through described judge module 51, and it is inner that the data/signaling inputing to described logic module 50 equally also needs just to input to described logic module 50 through described judge module 51; Described judge module 51 also can be arranged at the outside of described logic module 50, but described judge module 50 is arranged at the transmission porch of described logic module 50, namely it is outside that data/signaling that described logic module 50 exports just need can export described logic module 50 to through described judge module 51, and it is inner that the data/signaling inputing to described logic module 50 equally also needs just to input to described logic module 50 through described judge module 51.
Preferably, described control module 52 can be gated clock.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
The embodiment of the present invention also records a kind of electronic equipment, and as shown in Figure 5, described electronic equipment comprises logic module 50, and in another preferred embodiment of the present invention, described logic module 50 comprises more than one arithmetic logic unit; Described electronic equipment also comprises: judge module 51 and control module 52; Wherein:
Described judge module 51, for detecting the operating state of described more than one arithmetic logic unit, when described more than one arithmetic logic unit operating state all meet first pre-conditioned time, enter the first state and generate the first control signal, exporting described first simultaneously and control signal to control module 52; Also for detect second pre-conditioned time, enter the second state and generate the second control signal, exporting described second simultaneously and control signal to control module 52;
Described control module 52, switches to the first state for the first control signal exported according to described judge module 51 by described more than one arithmetic logic unit; Described more than one arithmetic logic unit is switched to the second state by the second control signal also for exporting according to described judge module 51.
Preferably, judge module 51 in the present embodiment can be arranged at the top layer of described logic module 50 inside, it is outside that data/signaling that described logic module 50 exports just need can export described logic module 50 to through described judge module 51, and it is inner that the data/signaling inputing to described logic module 50 equally also needs just to input to described logic module 50 through described judge module 51; Described judge module 51 also can be arranged at the outside of described logic module 50, but described judge module 50 is arranged at the transmission porch of described logic module 50, namely it is outside that data/signaling that described logic module 50 exports just need can export described logic module 50 to through described judge module 51, and it is inner that the data/signaling inputing to described logic module 50 equally also needs just to input to described logic module 50 through described judge module 51.
Preferably, described control module 52 can be gated clock.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
The embodiment of the present invention also records a kind of electronic equipment, and as shown in Figure 5, described electronic equipment comprises logic module 50, and in another preferred embodiment of the present invention, described electronic equipment also comprises: judge module 51 and control module 52; Wherein:
Described judge module 51, for arranging the clock cycle; Also for detecting the operating state of described logic module 50, when described operating state meet logic module work complete and in present clock period, do not receive new task request time, enter the first state and generate the first control signal, exporting described first simultaneously and control signal to control module 52; Concrete also for logic module 50 described in new task request or described clock period time having been detected then, enter the second state and generate the second control signal, exporting described second simultaneously and control signal to control module 52;
Described control module 52, switches to the first state for the first control signal exported according to described judge module 51 by logic module 50; Logic module 50 is switched to the second state by the second control signal also for exporting according to described judge module 51.
Preferably, judge module 51 in the present embodiment can be arranged at the top layer of described logic module 50 inside, it is outside that data/signaling that described logic module 50 exports just need can export described logic module 50 to through described judge module 51, and it is inner that the data/signaling inputing to described logic module 50 equally also needs just to input to described logic module 50 through described judge module 51; Described judge module 51 also can be arranged at the outside of described logic module 50, but described judge module 50 is arranged at the transmission porch of described logic module 50, namely it is outside that data/signaling that described logic module 50 exports just need can export described logic module 50 to through described judge module 51, and it is inner that the data/signaling inputing to described logic module 50 equally also needs just to input to described logic module 50 through described judge module 51.
Preferably, described control module 52 can be gated clock.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
The embodiment of the present invention also records a kind of electronic equipment, and as shown in Figure 5, described electronic equipment comprises logic module 50, and in another preferred embodiment of the present invention, described electronic equipment also comprises: judge module 51 and control module 52; Wherein:
Described judge module 51, specifically for detecting the operating state of described logic module 50, when described operating state meet first pre-conditioned time, enter low power consumpting state or clock closed condition and generate the first control signal, exporting described first simultaneously and control signal to control module 52; Also for detect second pre-conditioned time, enter clock opening and generate the second control signal, exporting described second simultaneously and control signal to control module 52;
Described control module 52, switches to low power consumpting state or clock closed condition for the first control signal exported according to described judge module 51 by logic module 50; Logic module 50 is switched to clock opening by the second control signal also for exporting according to described judge module 51.
Preferably, judge module 51 in the present embodiment can be arranged at the top layer of described logic module 50 inside, it is outside that data/signaling that described logic module 50 exports just need can export described logic module 50 to through described judge module 51, and it is inner that the data/signaling inputing to described logic module 50 equally also needs just to input to described logic module 50 through described judge module 51; Described judge module 51 also can be arranged at the outside of described logic module 50, but described judge module 50 is arranged at the transmission porch of described logic module 50, namely it is outside that data/signaling that described logic module 50 exports just need can export described logic module 50 to through described judge module 51, and it is inner that the data/signaling inputing to described logic module 50 equally also needs just to input to described logic module 50 through described judge module 51.
Preferably, described control module 52 can be gated clock.
Those skilled in the art are to be understood that, the function of each processing unit in the electronic equipment of the embodiment of the present invention, can refer to the associated description of aforementioned data processing method and understand, each processing unit in the electronic equipment of the embodiment of the present invention, realizing by realizing the analog circuit of the function described in the embodiment of the present invention, also can be realized by the operation of the software of the function of execution described in the embodiment of the present invention on intelligent terminal.
Wherein, judge module 51 in described electronic equipment in actual applications, can by the central processing unit (CPU in electronic equipment, Central Processing Unit), digital signal processor (DSP, Digital SignalProcessor) or programmable logic array (FPGA, Field-Programmable Gate Array), jointly realize with state machine; Described control module 52 in actual applications, can be realized by gated clock.
In the technical scheme that the embodiment of the present invention provides, the threshold value of each terminal data communication is set in the electronic device; Described threshold value is minimum communication bandwidth corresponding to each terminal; When electronic equipment receives the data communications requests of described terminal transmission, the data communications requests information of comparison terminal and corresponding threshold value, the operation to described data communications requests is performed according to comparative result, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improves the experience of user.
In the technical scheme that the embodiment of the present invention provides, the threshold value of each terminal data communication is set in the electronic device; Described threshold value is minimum communication bandwidth corresponding to each terminal; When electronic equipment receives the data communications requests of described terminal transmission, the data communications requests information of comparison terminal and corresponding threshold value, the operation to described data communications requests is performed according to comparative result, so, meet making full use of and unlikely waste of the data bandwidth resource in electronic equipment on the one hand, in turn ensure that the lowest-bandwidth demand of user on the other hand, the data communication quality of user is guaranteed, greatly improves the experience of user.
In several embodiment provided by the present invention, should be understood that, disclosed method and electronic equipment, can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each part or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing unit, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the embodiment of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: movable storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. a control method, described method is applied in electronic equipment, described electronic equipment comprises logic module, it is characterized in that: described electronic equipment also comprises: control module and judge module, is provided with the communication interface with described judge module in described logic module; Described method comprises:
Described judge module detects the operating state of described logic module, when described operating state meet first pre-conditioned time, described judge module enters the first state and generates the first control signal, export described first simultaneously and control signal to described control module, described logic module is switched to the first state according to the first control signal by described control module;
When described judge module detect second pre-conditioned time, described judge module enters the second state and generates the second control signal, export described second simultaneously and control signal to described control module, described logic module is switched to the second state according to described second control signal by described control module.
2. method according to claim 1, is characterized in that, described logic module comprises more than one arithmetic logic unit; Described judge module detects the operating state of described logic module, when described operating state meet first pre-conditioned time, judge module enters the first state and generates the first control signal, comprising:
Described judge module detects the operating state of described more than one arithmetic logic unit, when the operating state of described more than one arithmetic logic unit all meet first pre-conditioned time, described judge module enters the first state and generates the first control signal.
3. method according to claim 1, is characterized in that, described judge module arranges the clock cycle;
Described first pre-conditionedly comprises: logic module work completes and do not receive new task request in present clock period;
Described second pre-conditionedly comprises: have and arrive for the new task request of described logic module or described clock period time.
4. method according to claim 1, is characterized in that, described first state comprises low power consumpting state or clock closed condition;
Described second state comprises clock opening.
5. method according to claim 1, is characterized in that, described control unit is gate controlled clock unit.
6. an electronic equipment, described electronic equipment comprises logic module, it is characterized in that, described electronic equipment also comprises: judge module and control module; Wherein,
Described judge module, for detecting the operating state of described logic module, when described operating state meet first pre-conditioned time, enter the first state and generate the first control signal, exporting described first simultaneously and control signal to control module; Also for detect second pre-conditioned time, enter the second state and generate the second control signal, exporting described second simultaneously and control signal to control module;
Described control module, switches to the first state for the first control signal exported according to described judge module by logic module; Logic module is switched to the second state by the second control signal also for exporting according to described judge module.
7. electronic equipment according to claim 6, is characterized in that, described logic module comprises more than one arithmetic logic unit;
Described judge module, specifically for detecting the operating state of described more than one arithmetic logic unit, when described more than one arithmetic logic unit operating state all meet first pre-conditioned time, enter the first state and generate the first control signal, exporting described first simultaneously and control signal to control module; Concrete also for detect second pre-conditioned time, enter the second state and generate the second control signal, exporting described second simultaneously and control signal to control module;
Described control module, switches to the first state specifically for the first control signal exported according to described judge module by described more than one arithmetic logic unit; Described more than one arithmetic logic unit is switched to the second state by the second control signal also for exporting according to described judge module.
8. electronic equipment according to claim 6, is characterized in that, described first pre-conditionedly comprises: logic module work completes and do not receive new task request in present clock period; Described second pre-conditionedly comprises: have logic module described in new task request or described clock period time to arrive;
Described judge module, also for arranging the clock cycle; Specifically for detecting the operating state of described logic module, when described operating state meet logic module work complete and in present clock period, do not receive new task request time, enter the first state and generate the first control signal, exporting described first simultaneously and control signal to control module; Concrete also for logic module described in new task request or described clock period time having been detected then, enter the second state and generate the second control signal, exporting described second simultaneously and control signal to control module.
9. electronic equipment according to claim 6, is characterized in that, described first state comprises low power consumpting state or clock closed condition; Described second state comprises clock opening;
Described judge module, specifically for detecting the operating state of described logic module, when described operating state meet first pre-conditioned time, enter low power consumpting state or clock closed condition and generate the first control signal, exporting described first simultaneously and control signal to control module; Also for detect second pre-conditioned time, enter clock opening and generate the second control signal, exporting described second simultaneously and control signal to control module;
Described control module, switches to low power consumpting state or clock closed condition for the first control signal exported according to described judge module by logic module; Logic module is switched to clock opening by the second control signal also for exporting according to described judge module.
10. electronic equipment according to claim 6, is characterized in that, described control unit is gate controlled clock unit.
CN201310418823.1A 2013-09-13 2013-09-13 A kind of control method and electronic equipment Active CN104467760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310418823.1A CN104467760B (en) 2013-09-13 2013-09-13 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310418823.1A CN104467760B (en) 2013-09-13 2013-09-13 A kind of control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104467760A true CN104467760A (en) 2015-03-25
CN104467760B CN104467760B (en) 2017-12-29

Family

ID=52913243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310418823.1A Active CN104467760B (en) 2013-09-13 2013-09-13 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104467760B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388500A (en) * 2018-02-28 2018-08-10 郑州云海信息技术有限公司 A kind of method, apparatus, the equipment of the opening and closing of control ten thousand mbit ethernets of PCH

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010052805A1 (en) * 2000-06-07 2001-12-20 Samsung Electronics Co., Ltd. Delay locked loop circuit having duty cycle correction function and delay locking method
CN101105713A (en) * 2007-08-24 2008-01-16 威盛电子股份有限公司 Data transmission rate regulation method and computer system
CN102043460A (en) * 2009-10-15 2011-05-04 三星电子株式会社 Computer system and control method thereof
CN102109899A (en) * 2009-12-23 2011-06-29 联想(北京)有限公司 Computer, displayer, and display method of computer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010052805A1 (en) * 2000-06-07 2001-12-20 Samsung Electronics Co., Ltd. Delay locked loop circuit having duty cycle correction function and delay locking method
CN101105713A (en) * 2007-08-24 2008-01-16 威盛电子股份有限公司 Data transmission rate regulation method and computer system
CN102043460A (en) * 2009-10-15 2011-05-04 三星电子株式会社 Computer system and control method thereof
CN102109899A (en) * 2009-12-23 2011-06-29 联想(北京)有限公司 Computer, displayer, and display method of computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388500A (en) * 2018-02-28 2018-08-10 郑州云海信息技术有限公司 A kind of method, apparatus, the equipment of the opening and closing of control ten thousand mbit ethernets of PCH

Also Published As

Publication number Publication date
CN104467760B (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN102231075B (en) Common platform of electric power measurement and control method thereof
CN105100730A (en) Monitoring method and camera device
CN103631360A (en) Chip allowing sleep mode and method
CN103095537A (en) Numerical control device capable of concurrently controlling two-class industrial Ethernet bus slave station equipment
CN102724092A (en) Profibus-DP communication protocol redundancy master station
CN105786402A (en) Method and apparatus for dynamic adjustment of speed of memory device
CN109446145A (en) A kind of channel server master board I2C extended chip, circuit and control method
CN112199316A (en) Configuration method and communication method of chain type master-slave serial port communication device
CN104765701A (en) Data access method and device
CN107305526A (en) A kind of debugger for microcontroller
CN102915778B (en) Method for carrying out power loss analysis on digital instrument control system of nuclear power plant by utilizing functional group analysis method
CN102999381B (en) Compact peripheral component interconnect (CPCI) device interrupt multiplexing method for improving realtime performance of VxWorks
CN104467760A (en) A control method and electronic apparatus
CN117278890A (en) Optical module access method, device and system, electronic equipment and readable storage medium
CN104010076A (en) Information processing method, electronic equipment and system
CN102591817B (en) Multi-bus bridge controller and implementing method thereof
CN104104134A (en) Charging control method and electronic equipment
CN208172648U (en) A kind of intelligent interaction plate
CN211043993U (en) Drive and control all-in-one and robot drive and control system
CN110531146B (en) Zero-crossing detection device and method for three-phase carrier communication module and computer storage medium
CN104391564A (en) Power consumption control method and device
CN102361450B (en) Programmable logic device
CN104836710A (en) Method and apparatus based on one-master with multi-slaves communication of distributed system
CN201662798U (en) Port mapping device conversion device and control system
WO2021027009A1 (en) Combined drive and control machine, and robot drive and control system

Legal Events

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