CN104636303A - Bus control method, electronic equipment and bus system - Google Patents
Bus control method, electronic equipment and bus system Download PDFInfo
- Publication number
- CN104636303A CN104636303A CN201510103634.4A CN201510103634A CN104636303A CN 104636303 A CN104636303 A CN 104636303A CN 201510103634 A CN201510103634 A CN 201510103634A CN 104636303 A CN104636303 A CN 104636303A
- Authority
- CN
- China
- Prior art keywords
- equipment
- enable signal
- signal
- task
- bus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Selective Calling Equipment (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a bus control method. According to the method, an enable signal is transmitted between slave devices and a master device on the basis of a signal transmission lines independent of a transmission task signal bus, and the operation states of the slave devices are adjusted through combination of the enable signal and the current operation states of the slave devices so that the slave devices keep working or perform state switching. Since the independent signal transmission lines are arranged between the master device and the slave devices, the enable signal can be directly transmitted to a target slave device, and the target slave device does not need to monitor the signaling transmission on the bus in real time, but only needs to make a judgment according to the received enable signal and the self-operating state and then gives a response. Therefore, the slave devices, which do not need to respond the enable signal, can neglect or do not respond the enable signal according to the self-operating states so as avoid useless monitoring; therefore, the power consumption of the slave devices is reduced and the overall power consumption of a bus system comprising the master device and the slave devices is reduced.
Description
Technical field
The present invention relates to electronic device field, in particular, relate to a kind of bus control method, electronic equipment and bus system.
Background technology
Bus is as a kind of widespread use data transfer mode in the electronic device, and it can connect multiple equipment, bus system schematic diagram of the prior art as shown in Figure 1, this bus 101 main equipment 102 connected in series and multiple from equipment 103.This bus connects the information that each equipment on it sends and transmits, and each being connected in bus is all intercepted various information such as the data message transmitted bus, signalings from equipment.
But, when this is all in running order from equipment, this main equipment is when sending instruction, this instruction may just to be carried out from equipment for some, even if other listen to this instruction from equipment, because this instruction is useless to it, these other invalid from intercepting of equipment, then cause these other from the waste useless power consumption of equipment, the overall power of the bus system of equipment composition causing bus and it connects is higher.
Summary of the invention
In view of this, the invention provides a kind of bus control method, solve that existing to be connected in bus whole all intercepts the information transmitted bus from equipment, cause some intercepting as idle work from equipment, cause the problem that the overall power of bus system is higher.
For achieving the above object, the invention provides following technical scheme:
A kind of bus control method, described method is applied to from equipment, and the method comprises:
Receive enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Analyze the described current operating conditions from equipment;
According to described enable signal and the described current operating conditions from equipment, the described running status from equipment is adjusted.
Above-mentioned method, preferably, before described reception enable signal, also comprises:
From equipment described in initialization;
Receive the task signal of bus transfer, and switch the described running status from equipment according to described task signal;
Wherein, when described be in init state from equipment time, ignore described enable signal.
Above-mentioned method, preferably, describedly from equipment, be provided with middle module, described middle module receives described task signal and described enable signal, then the current operating conditions from equipment described in described analysis comprises:
The status information that the described task signal received according to described middle module is corresponding, analyzes the described current operating conditions from equipment, and generates analysis result;
When described analysis result shows that the status information that described task signal is corresponding is the first state, the described current operating conditions from equipment is duty;
When described analysis result shows that the status information that described task signal is corresponding is not the first state, the described current operating conditions from equipment is off working state.
Above-mentioned method, preferably, when the described current operating conditions from equipment is duty, described according to described enable signal and the described current operating conditions from equipment, adjustment is carried out to the described running status from equipment and comprises:
Ignore described enable signal, maintain the described duty from equipment.
Above-mentioned method, preferably, when the described current operating conditions from equipment is off working state, described according to described enable signal and the described current operating conditions from equipment, adjustment is carried out to the described running status from equipment and comprises:
Respond described enable signal, regulate the described running status from equipment according to described enable signal.
Above-mentioned method, preferably, describedly from equipment, be provided with middle module, described middle module receives described task signal and described enable signal, then comprise from equipment described in initialization:
The described status information corresponding from task signal described in equipment is set to the first state, during to make described middle module subsequently received enable signal, ignores described enable signal, to make describedly to be maintained the first state from status information described in equipment.
Above-mentioned method, preferably, when described task signal for switch described be duty from equipment time, then described switch according to described task signal described in comprise from the running status of equipment:
According to described task signal, the described status information corresponding from task signal described in equipment is set to the second state, during to make described middle module subsequently received enable signal, responds described enable signal.
A kind of electronic equipment, comprising:
First interface, for being connected with bus, receives the task signal of main equipment by bus transfer;
Second interface, for connecting the signal transmission line between main equipment, receives enable signal;
Processor, for judging according to described task signal the running status that described electronic equipment is current, and according to described enable signal and the described current operating conditions from equipment, adjusts the described running status from equipment.
Above-mentioned electronic equipment, preferably, described processor comprises:
The middle module be connected with the second interface with described first interface, for arranging status information according to this task signal, and after receiving enable signal, according to this status information and described enable signal, adjusts the described running status from equipment;
The process module be connected with described middle module, for when described middle module receives task signal, responds described task signal.
Above-mentioned electronic equipment, preferably, described middle module comprises:
First module, for recording described status information;
Second module, for receiving described task signal by described first interface, and to arrange described status information based on described task signal be the first state or the second state;
Control module, during for receiving described enable signal by described second, obtains described status information, when described status information is the first state, abandon described enable signal, when described status information is the second state, described enable signal is transferred to described second module.
A kind of electronic equipment, comprising:
Receiver module, for receiving enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Analysis module, for analyzing the described current operating conditions from equipment;
Adjusting module, for according to described enable signal and the described current operating conditions from equipment, adjusts the described running status from equipment.
A kind of bus system, comprising:
Main equipment;
At least one is from equipment;
Be mounted with described main equipment and at least one bus from equipment described;
Connect described main equipment and above-mentioned arbitrary described at least one signal transmission line from equipment, the enable signal for being sent by described main equipment transfers to described from equipment;
Described signal transmission line number is identical from equipment number with described.
Known via above-mentioned technical scheme, compared with prior art, the invention provides a kind of bus control method, based on the signal transmission line independent of transformation task signal bus, enable signal is being transmitted between equipment and main equipment, in conjunction with this from the current running status of equipment, this running status from equipment is adjusted, to work on according to enable signal from equipment to make this or carry out state switching etc., adopt the method, due to main equipment and between equipment, there is independently signal transmission line, directly enable signal can be transferred to target from equipment, and in real time the signalling bus is intercepted from equipment without the need to this, the enable signal that only need receive according to it and the running status of self judge, and carry out responding, so, without the need to responding then from equipment can the ignoring according to the running status selection of self or not respond this enable signal of this enable signal, make this from equipment without the need to carrying out useless intercepting, reduce the power consumption from equipment, and then make this main equipment and reduce from the overall power of the bus system of equipment composition.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is bus system schematic diagram of the prior art;
Fig. 2 is the process flow diagram of a kind of bus control method embodiment 1 provided by the invention;
Fig. 3 is the use scenes schematic diagram of method in a kind of bus control method embodiment 1 provided by the invention;
Fig. 4 is the process flow diagram of a kind of bus control method embodiment 2 provided by the invention;
Fig. 5 is the process flow diagram of a kind of bus control method embodiment 3 provided by the invention;
Fig. 6 is the process flow diagram of a kind of bus control method embodiment 4 provided by the invention;
Fig. 7 is the structural representation of a kind of electronic equipment embodiment 1 provided by the invention;
Fig. 8 is the structural representation of a kind of electronic equipment embodiment 2 provided by the invention;
Fig. 9 is the structural representation of the middle module of a kind of electronic equipment embodiment 3 provided by the invention;
Figure 10 is the embody rule scene schematic diagram of a kind of electronic equipment embodiment 3 provided by the invention;
Figure 11 is the device interface schematic diagram of a kind of electronic equipment embodiment 3 provided by the invention;
Figure 12 is the sequential chart of task signal and enable signal in a kind of electronic equipment embodiment 3 provided by the invention;
Figure 13 is the structural representation of a kind of electronic equipment embodiment 4 provided by the invention;
Figure 14 is the structural representation of a kind of bus system embodiment provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The bus control method related in the application be applied to bus system from equipment, have multiple from equipment and a main equipment in this bus system, this main equipment and be connected on the bus of bus system from hanging equipment, main equipment generates control signal, and this control signal is used to indicate the action from equipment.
As shown in Figure 2, for the process flow diagram of a kind of bus control method embodiment 1 that the application provides, the method is applied to from equipment, the electronic equipments such as desktop computer, notebook, panel computer, mobile phone, intelligent television, intelligent watch, Wearable are specifically as follows from equipment, this electronic equipment can be articulated in bus, and can receive the control signal etc. that main equipment sent by bus.
Wherein, the method is realized by following steps:
Step S201: receive enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Wherein, signal transmission line is being set up between equipment and main equipment, this signal transmission line is the circuit that the bus that mounts from equipment and main equipment from this is different, and this signal transmission line is exclusively used in transmission main equipment and is sent to enable signal (En, enable) from equipment.
As shown in Figure 3 be the use scenes schematic diagram of method in the present embodiment, this scene comprises: main equipment 301, bus 302, from equipment 303 with from equipment 304, and this main equipment 301 and from the signal transmission line 305 between equipment 303, this main equipment 301 and from the signal transmission line 306 between equipment 304, this main equipment 301, to be all articulated in bus 302 from equipment 303 with from equipment 304.Wherein, the enable signal that this main equipment 301 generates from equipment 303 for this can be sent by this signal transmission line 305, the enable signal that this main equipment 301 generates from equipment 304 for this can be sent by this signal transmission line 306, this main equipment 301 transmits other information or signal by this bus 302, should from equipment 303 with 304 by the interface collection that is connected with bus/receive this other information or signal.
Concrete, this enable signal of port accepts be connected by this signal transmission line.
It should be noted that, main equipment generates for a certain after the enable signal of equipment, by with this signal transmission line from equipment separate connection, this enable signal is transferred to this from equipment.
Step S202: analyze the described current operating conditions from equipment;
It should be noted that, this enable signal is a signal to controlling from equipment, but when its time controlled be in as off working state from equipment for being somebody's turn to do.
Concrete, this current operating conditions from equipment is analyzed, record this from the record content of the operation relevant information of equipment read by running list etc. to this program from equipment, and based on reading the content obtained, determine that this is from the current running status of equipment.
Concrete, also the task signal that this receives from equipment can be analyzed, determined that this is from the current running status of equipment.
Wherein, should comprise from the running status of equipment: duty and off working state.
Step S203: according to described enable signal and the described current operating conditions from equipment, the described running status from equipment is adjusted.
It should be noted that, should be duty from the running status of equipment, then shield this enable signal, to ensure that the program process that this runs from equipment is not affected, and should be off position from the running status of equipment, then control this equipment according to the control of this enable signal.
Concrete, when determining that this is after the current operating conditions of equipment, according to this current operating conditions and this enable signal, first judging whether to respond this enable signal, if response, then controlling this running status from equipment according to this enable signal.
It should be noted that, first, what the method in the present embodiment was applied specifically can be applied in high-pass platform from the bus system belonging to equipment, and high-pass platform is in order to seek unity of standard, and radio frequency peripheral hardware all adopts unified interface, pa (power amplifier all like this, power amplifier), lna (low noise amplifier, low noise amplifier), switch (switch), all will adopt this interface.Ca (carrier aggregation carrier aggregation) receives or launches two or more carrier wave, and in order to support carrier aggregation, need more equipment, namely two passages will work simultaneously, like this will two-way.Such as one 18 is selected the switch of 1, if ca, just need the switch that 18 select 2, and market does not have this device, and that selects the switch of 1 with regard to needs two 9, adds device count.To sum up, simultaneously in order to meet full frequency band, more pa and receiving key is needed.
Secondly, Digrf (digital rf interface, digital RF interface), as the one of mipi (mobile industry processor interface, mobile phone industry processor interface), comes into vogue.But for the equipment of all lte (long term evaluation, Long Term Evolution) frequency range (all lte band), mipi can only connect 15 equipment.
So, for support CA (carrier aggregation, carrier aggregation) terminal device need more peripheral hardware, what connect due to bus causes this peripheral hardware number deficiency from the restriction of equipment number, for this reason, adopt the method in the application, at peripheral hardware from setting up independently signal transmission line between equipment and main equipment, enable signal is being transmitted between equipment and main equipment, decrease the number of this receiving key, decrease number of devices, simplify the number of devices that this ca is used, the overall power reducing bus system reduces.
It should be noted that, in the application, the equipment such as pa, lna and switch can be comprised from equipment.
To sum up, in a kind of bus control method that the present embodiment provides, based on the signal transmission line independent of transformation task signal bus, enable signal is being transmitted between equipment and main equipment, in conjunction with this from the current running status of equipment, this running status from equipment is adjusted, to work on according to enable signal from equipment to make this or carry out state switching etc., adopt the method, due to main equipment and between equipment, there is independently signal transmission line, directly enable signal can be transferred to target from equipment, and in real time the signalling bus is intercepted from equipment without the need to this, the enable signal that only need receive according to it and the running status of self judge, and carry out responding, so, without the need to responding then from equipment can the ignoring according to the running status selection of self or not respond this enable signal of this enable signal, make this from equipment without the need to carrying out useless intercepting, and then make this main equipment and reduce from the overall power of the bus system of equipment composition.
As shown in Figure 4, be the process flow diagram of a kind of bus control method embodiment 2 that the application provides, the method is realized by following steps:
Step S401: from equipment described in initialization;
In concrete enforcement, when being somebody's turn to do from device start, first from equipment, initialization is carried out to this, in concrete enforcement, can carry out according to reality setting for carrying out this initialized detailed process of initialization to the parameter from equipment.
As an example, initialization can be carried out to this some predetermined operational factor from equipment, return to preset value to make this operational factor.
It should be noted that, when described be in init state from equipment time, ignore this enable signal.
Wherein, this init state is specially: after should completing from device initialize, receive main equipment control this be before the signal switching of off working state is off working state from equipment.
Step S402: the task signal receiving bus transfer, and switch the described running status from equipment according to described task signal;
Wherein, after this completes initialization from equipment, namely receive the task signal of main equipment transmission by bus.
Concrete, when after the task signal receiving this bus transfer, this task signal is analyzed, determine the content of this task signal, should from the running status of equipment according to this task switch.
It should be noted that, the content of this task signal comprises: control from the running status of equipment be duty or control from the running status of equipment be off working state.
Concrete, when this task signal is for switching to duty, then from equipment after receiving this task signal, be duty according to this task signal switchover operation state; When this task signal is for switching to off working state, then from equipment after receiving this task signal, be off working state according to this task signal switchover operation state.
It should be noted that, carry corresponding to device identification in this task signal, when transmitting in the bus to make this task signal, be articulated to bus all obtain this task signal from equipment after, according to this mark determine whether into oneself, if should be corresponding with this mark from equipment, then should determine that this task signal was for oneself from equipment, otherwise, ignore this task signal, in case there is misoperation.
Step S403: receive enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Step S404: analyze the described current operating conditions from equipment;
Step S405: according to described enable signal and the described current operating conditions from equipment, the described running status from equipment is adjusted.
Wherein, step S403-405 is consistent with the step S201-203 in embodiment 1, and the present embodiment does not repeat.
To sum up, in a kind of bus control method that the present embodiment provides, before described reception enable signal, also comprise: from equipment described in initialization; Receive the task signal of bus transfer, and switch the described running status from equipment according to described task signal; Wherein, when described be in init state from equipment time, ignore described enable signal.Adopt the method, after carrying out initialization from equipment, receive task signal by bus, and switch this running status from equipment according to this task signal, to ensure this normal operation from equipment.
Wherein, middle module should be provided with from equipment.
As shown in Figure 5, be the process flow diagram of a kind of bus control method embodiment 3 that the application provides, the method is realized by following steps:
Step S501: receive enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Wherein, step S501 is consistent with the step S201 in embodiment 1, and the present embodiment does not repeat.
Step S502: the status information that the described task signal received according to described middle module is corresponding, analyzes the described current operating conditions from equipment, and generates analysis result;
Wherein, this middle module is for receiving this task signal and this enable signal.
Concrete, based on the status information that this task signal is corresponding, judge this current operating conditions from equipment.
Wherein, when described analysis result shows that the status information that described task signal is corresponding is the first state, then described from the current operating conditions of equipment be duty; When described analysis result shows that the status information that described task signal is corresponding is not the first state, then described from the current operating conditions of equipment be off working state.
It should be noted that, due to from equipment in the operational process of a period of time, receive some task signals, then the task signal that the time that judges is nearest, and judge this running status from equipment based on this task signal.
In concrete enforcement, first, in the multiple task signals received, the task signal that the time of searching is nearest, then analyzes according to the task signal that this time is nearest, obtain the status information that this task signal is corresponding, and then judge this current operating conditions from equipment.
Step S503: according to described enable signal and described analysis result, adjusts the described running status from equipment.
Wherein, should be duty and off working state from the current operating conditions of equipment.
Concrete, when the described current operating conditions from equipment is duty, described according to described enable signal and the described current operating conditions from equipment, adjustment is carried out to the described running status from equipment and comprises: ignore described enable signal, maintain the described duty from equipment.
Concrete, when the described current operating conditions from equipment is off working state, described according to described enable signal and the described current operating conditions from equipment, carry out adjustment to the described running status from equipment to comprise: respond described enable signal, regulate the described running status from equipment according to described enable signal.
It should be noted that, the mode of this response enable signal, corresponding with the control content of this enable signal.
As a concrete example, when this enable signal is for controlling to close, then close this be in non-operating state from equipment, namely close that this is idle from equipment.
It should be noted that, this task signal and enable signal are all can be used in controlling this control class signal from equipment, and this task signal and this enable signal have sequential relationship, and this task signal is front, and enable signal is rear.
To sum up, in a kind of bus control method that the present embodiment provides, describedly from equipment, be provided with middle module, described middle module receives described task signal and described enable signal, the status information that the described task signal received according to described middle module is corresponding, analyze the described current operating conditions from equipment, and generate analysis result; When described analysis result shows that the status information that described task signal is corresponding is the first state, the described current operating conditions from equipment is duty, when receiving enable signal, ignores described enable signal, maintains the described duty from equipment; When described analysis result shows that the status information that described task signal is corresponding is not the first state, the described current operating conditions from equipment is off working state, when receiving enable signal, responding this enable signal, regulating the described running status from equipment according to described enable signal.Adopt the method, be exclusively used in based on what arrange from equipment the middle module receiving this task signal and enable signal, analyze two kinds of control class signals that this receives from equipment, and determine whether to respond this enable signal, deterministic process is simple.
Wherein, should be provided with middle module from equipment, described middle module is for receiving described task signal and described enable signal.
As shown in Figure 6, be the process flow diagram of a kind of bus control method embodiment 4 that the application provides, the method is realized by following steps:
Step S601: the described status information corresponding from task signal described in equipment is set to the first state;
Wherein, should when being set to the first state from the status information that the task signal equipment is corresponding, then during the subsequently received enable signal of this middle module, ignore described enable signal, described in making, be maintained the first state from status information described in equipment, maintain and ignore this enable signal.
In concrete enforcement, high level and low level can be used to represent this status information, as the first state can represent by low level, and the second state can represent with high level.
Step S602: the task signal receiving bus transfer, and switch the described running status from equipment according to described task signal;
Wherein, when described task signal is for being duty from equipment described in switching, then described switch according to described task signal described in comprise from the running status of equipment: according to described task signal, the described status information corresponding from task signal described in equipment is set to the second state, during to make described middle module subsequently received enable signal, respond described enable signal.
Wherein, when described task signal is for being off working state from equipment described in switching, then described switch according to described task signal described in comprise from the running status of equipment: according to described task signal, the described status information corresponding from task signal described in equipment is set to the first state, during to make described middle module subsequently received enable signal, ignore described enable signal.
Step S603: receive enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Step S604: analyze the described current operating conditions from equipment;
Step S605: according to described enable signal and the described current operating conditions from equipment, the described running status from equipment is adjusted.
Wherein, step S603-605 is consistent with the step S403-405 in embodiment 2, and the present embodiment does not repeat.
To sum up, in a kind of bus control method that the present embodiment provides, middle module should be provided with from equipment, middle module receives task signal and enable signal, then comprise from equipment described in initialization: the described status information corresponding from task signal described in equipment is set to the first state, during to make described middle module subsequently received enable signal, ignore described enable signal, to make describedly to be maintained the first state from status information described in equipment.When described task signal is for being duty from equipment described in switching, then described switch according to described task signal described in comprise from the running status of equipment: according to described task signal, the described status information corresponding from task signal described in equipment is set to the second state, during to make described middle module subsequently received enable signal, respond described enable signal.Adopt the method, the mode of the first state is set to by the setting status information that this task signal is corresponding from equipment, realize this initialization from equipment, and after receiving task signal, realize the state corresponding to this mission bit stream with the condition mode controlling this this status information from equipment to switch, process is simple.
A kind of bus control method is described in detail in the embodiment that the invention described above provides, the electronic equipment of various ways can be adopted to realize for bus control method of the present invention, therefore present invention also offers a kind of electronic equipment and bus system of this bus control method of application, provide specific embodiment below and be described in detail.
The structural representation of a kind of electronic equipment embodiment 1 provided for the application as shown in Figure 7, this electronic equipment is connected on bus as from hanging equipment, the electronic equipments such as desktop computer, notebook, panel computer, mobile phone, intelligent television, intelligent watch, Wearable should be specifically as follows from equipment, this electronic equipment can be articulated in bus, and can receive the control signal etc. that main equipment sent by bus.
Wherein, this electronic equipment comprises following structure: first interface 701, second interface 702 and processor 703;
Wherein, first interface 701, for being connected with bus, receives the task signal of main equipment by bus transfer;
Wherein, the second interface 702, for connecting the signal transmission line between main equipment, receives enable signal;
Wherein, processor 703, for judging according to described task signal the running status that described electronic equipment is current, and according to described enable signal and the described current operating conditions from equipment, adjusts the described running status from equipment.
To sum up, a kind of electronic equipment that the present embodiment provides, comprising: first interface, for being connected with bus, receives the task signal of main equipment by bus transfer; Second interface, for connecting the signal transmission line between main equipment, receives enable signal; Processor, for judging according to described task signal the running status that described electronic equipment is current, and according to described enable signal and the described current operating conditions from equipment, adjusts the described running status from equipment.Adopt this electronic equipment as from equipment, due to main equipment and between equipment, there is independently signal transmission line, directly enable signal can be transferred to target from equipment, and in real time the signalling bus is intercepted from equipment without the need to this, the enable signal that only need receive according to it and the running status of self judge, and carry out responding, so, without the need to responding then from equipment can the ignoring according to the running status selection of self or not respond this enable signal of this enable signal, make this from equipment without the need to carrying out useless intercepting, reduce this power consumption from equipment.
The structural representation of a kind of electronic equipment embodiment 2 provided for the application as shown in Figure 8, this electronic equipment comprises following structure: first interface 801, second interface 802 and processor 803;
Wherein, this processor comprises: middle module 804 and process module 805;
Wherein, the structure function of this first interface 801, second interface 802 is consistent with the corresponding construction in embodiment 1, does not repeat in the present embodiment.
Wherein, this middle module is connected with the second interface with described first interface, and this process module is connected with described middle module.
Wherein, this middle module 804, for arranging status information according to this task signal, and after receiving enable signal, according to this status information and described enable signal, the described running status from equipment is adjusted;
Wherein, this process module 805, for when described middle module receives task signal, responds described task signal.
To sum up, in a kind of electronic equipment that the present embodiment provides, described processor comprises: the middle module be connected with the second interface with described first interface, for arranging status information according to this task signal, and after receiving enable signal, according to this status information and described enable signal, the described running status from equipment is adjusted; The process module be connected with described middle module, for when described middle module receives task signal, responds described task signal.Adopt this electronic equipment as from equipment, the middle module receiving this task signal and enable signal is exclusively used in based on what arrange from equipment, analyze two kinds of control class signals that this receives from equipment, and determine whether to respond this enable signal, deterministic process is simple.
The structural representation of the middle module of a kind of electronic equipment embodiment 3 provided for the application as shown in Figure 9, this electronic equipment comprises following structure: first interface, the second interface & processor;
Wherein, this processor comprises middle module and process module, and this middle module comprises the first module 901, second module 902 and control module 903.
Wherein, this first interface, the second interface are consistent with the corresponding construction in embodiment 2 with the structure function of process module, do not repeat in the present embodiment.
Wherein, the first module 901, for recording described status information;
Wherein, the second module 902, for receiving described task signal by described first interface, and to arrange described status information based on described task signal be the first state or the second state;
Wherein, control module 903, during for receiving described enable signal by described second, obtain described status information, when described status information is the first state, abandon described enable signal, when described status information is the second state, described enable signal is transferred to described second module.
As shown in Figure 10 be the embody rule scene schematic diagram of electronic equipment in the present embodiment, this scene comprises: bus 1001, main equipment 1002, from equipment 1003, signal transmission line 1004, should comprise first interface 1005, second interface 1006, middle module 1007 and process module 1008 from equipment 1003, this middle module comprises the first module 1009, second module 1010 and control module 1011.Wherein, this main equipment 1002 and mount on the bus 1001 from equipment 1003.Task signal should be received by bus 1001 from equipment 1003, this second module 1010 receives this task signal, the status information of this first module 1009 is set based on this task signal, when this task signal is for controlling to work from equipment 1003, then the status information of this first module 1009 is set to the first state, this is switched to duty from the state of equipment 1003; When this task signal is for controlling not work from equipment 1003, then the status information of this first module 1009 is set to the second state, this is switched to off position from the state of equipment 1003.
Then, this main equipment 1002 generates enable signal, and is transferred to this control module 1011 from equipment 1003 by this signal transmission line 1004.After this control module 1011 receives enable signal, obtain the status information in described first module 1009, when this status information sign should be duty from equipment 1003, ignore this enable signal, and when this status information sign should be off working state from equipment 1003, this enable signal is transferred to the second module 1010, should from equipment to make to be controlled by this second module 1010 and/or process module 1008, as close this be in non-operating state (not working) from equipment.
It should be noted that, in the present embodiment mainly for be an explanation carried out from equipment, so one that draws in this application scenarios schematic diagram from equipment, but in concrete enforcement, can include multiple from equipment in arbitrary application scenarios, each ruuning situation from equipment, with reference to schematic diagram corresponding to above-mentioned Figure 10, is not done in the present embodiment and is stated one by one.
In concrete enforcement, high level and low level can be used to represent this status information, as the first state can represent by low level, and the second state can represent with high level.Then this control module can adopt transmission gate circuit to realize in specifically implementing.
Concrete, this gate circuit can adopt CMOS (Complementary Metal Oxide Semiconductor, CMOS (Complementary Metal Oxide Semiconductor)) transmission gate (TG).
In concrete enforcement, the status information that can arrange in this first module is the second state, i.e. high level.
In concrete enforcement, adopt state as status information mark, adopt mipi as this mission bit stream mark.
As shown in figure 11 be device interface schematic diagram in electronic equipment in the present embodiment, wherein, SCLK pin and SDSTE pin are for receiving task signal, and this VIO pin is for receiving enable signal.
It should be noted that, this VIO pin is the interface end voltage of device, and when this voltage is empty, other parts have electrical part also not work.
Shown in Figure 12 is the sequential chart of task signal and enable signal in electronic equipment in the present embodiment.
Wherein, mipi represents task signal, and en represents enable signal, and state A represents the state from device A, and state B represents the state from equipment B, and state other represents other states from equipment.
Wherein, first mipi high level controls from device A work, and second mipi high level controls not work from device A, and the 3rd mipi high level controls from equipment B work.
Because (task signal is front the relation of sequential, enable signal is rear), mipi first works, simultaneously, all state are high level, all all controls by e to en from equipment, and now en is high, and namely mipi can control all from equipment (A, B, other); Then, specify from device A work, it is low for arranging self state from device A, shielding en function, and next, from high to low, other equipment (B, other) mipi closes en, only can accept bus command from device A;
When working state of system changes, order and quit work from device A, start working from equipment B; Obtain order from device A by mipi bus, set high after state being postponed a mipi command cycle, now en is low, and device A mipi quits work.
To sum up, in a kind of electronic equipment provided in the present embodiment, this middle module comprises: the first module, for recording described status information; Second module, for receiving described task signal by described first interface, and to arrange described status information based on described task signal be the first state or the second state; Control module, during for receiving described enable signal by described second, obtains described status information, when described status information is the first state, abandon described enable signal, when described status information is the second state, described enable signal is transferred to described second module.Adopt this electronic equipment, the mode of the first state is set to by the setting status information that this task signal is corresponding from equipment, realize this initialization from equipment, and after receiving task signal, realize the state corresponding to this mission bit stream with the condition mode controlling this this status information from equipment to switch, process is simple.
The structural representation of a kind of electronic equipment embodiment 4 provided for the application as shown in fig. 13 that, this electronic equipment comprises following structure: receiver module 1301, analysis module 1302 and adjusting module 1303.
Wherein, receiver module 1301, for receiving enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Wherein, analysis module 1302, for analyzing the described current operating conditions from equipment;
Wherein, adjusting module 1303, for according to described enable signal and the described current operating conditions from equipment, adjusts the described running status from equipment.
To sum up, a kind of electronic equipment that the present embodiment provides, comprising: receiver module, and for receiving enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described; Analysis module, for analyzing the described current operating conditions from equipment; Adjusting module, for according to described enable signal and the described current operating conditions from equipment, adjusts the described running status from equipment.Due to main equipment and between equipment, there is independently signal transmission line, directly enable signal can be transferred to target from equipment, and in real time the signalling bus is intercepted from equipment without the need to this, the enable signal that only need receive according to it and the running status of self judge, and carry out responding, so, without the need to responding then from equipment can the ignoring according to the running status selection of self or not respond this enable signal of this enable signal, making this from equipment without the need to carrying out useless intercepting, reducing this power consumption from equipment.
The structural representation of a kind of bus system embodiment provided for the application as shown in figure 14, this bus system comprises: main equipment 1401, at least one is from equipment 1402, bus 1403 and at least one signal transmission line 1404;
Wherein, this bus 1403 mounts main equipment and from equipment;
Wherein, signal transmission line 1404 connects described main equipment 1401 and one from equipment 1402, and the enable signal for being sent by described main equipment transfers to described from equipment;
Wherein, this signal transmission line 1404 number is identical from equipment 1402 number with described, this signal transmission line with from equipment one_to_one corresponding.
Wherein, from the structure function of equipment with reference to the electronic equipment above-mentioned any embodiment, should not repeat in the present embodiment.
To sum up, be provided with independent of this bus in a kind of bus control system that the present embodiment provides, with from equipment signal transmission line one to one, due to main equipment and between equipment, there is independently signal transmission line, directly enable signal can be transferred to target from equipment, and in real time the signalling bus is intercepted from equipment without the need to this, the enable signal that only need receive according to it and the running status of self judge, and carry out responding, so, without the need to responding then from equipment can the ignoring according to the running status selection of self or not respond this enable signal of this enable signal, make this from equipment without the need to carrying out useless intercepting, reduce the power consumption from equipment, and then make this main equipment and reduce from the overall power of the bus system of equipment composition.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For the electronic equipment that embodiment provides, the method provided due to itself and embodiment is corresponding, so description is fairly simple, relevant part illustrates see method part.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above a kind of bus control method, electronic equipment and bus system that the application provides are described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.
Claims (12)
1. a bus control method, is characterized in that, described method is applied to from equipment, and the method comprises:
Receive enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Analyze the described current operating conditions from equipment;
According to described enable signal and the described current operating conditions from equipment, the described running status from equipment is adjusted.
2. method according to claim 1, is characterized in that, before described reception enable signal, also comprises:
From equipment described in initialization;
Receive the task signal of bus transfer, and switch the described running status from equipment according to described task signal;
Wherein, when described be in init state from equipment time, ignore described enable signal.
3. method according to claim 1, is characterized in that, describedly from equipment, is provided with middle module, and described middle module receives described task signal and described enable signal, then the current operating conditions from equipment described in described analysis comprises:
The status information that the described task signal received according to described middle module is corresponding, analyzes the described current operating conditions from equipment, and generates analysis result;
When described analysis result shows that the status information that described task signal is corresponding is the first state, the described current operating conditions from equipment is duty;
When described analysis result shows that the status information that described task signal is corresponding is not the first state, the described current operating conditions from equipment is off working state.
4. method according to claim 3, it is characterized in that, when the described current operating conditions from equipment is duty, described according to described enable signal and the described current operating conditions from equipment, adjustment is carried out to the described running status from equipment and comprises:
Ignore described enable signal, maintain the described duty from equipment.
5. method according to claim 3, it is characterized in that, when the described current operating conditions from equipment is off working state, described according to described enable signal and the described current operating conditions from equipment, adjustment is carried out to the described running status from equipment and comprises:
Respond described enable signal, regulate the described running status from equipment according to described enable signal.
6. method according to claim 2, is characterized in that, describedly from equipment, is provided with middle module, and described middle module receives described task signal and described enable signal, then comprise from equipment described in initialization:
The described status information corresponding from task signal described in equipment is set to the first state, during to make described middle module subsequently received enable signal, ignores described enable signal, to make describedly to be maintained the first state from status information described in equipment.
7. method according to claim 6, is characterized in that, when described task signal for switch described be duty from equipment time, then described switch according to described task signal described in comprise from the running status of equipment:
According to described task signal, the described status information corresponding from task signal described in equipment is set to the second state, during to make described middle module subsequently received enable signal, responds described enable signal.
8. an electronic equipment, is characterized in that, comprising:
First interface, for being connected with bus, receives the task signal of main equipment by bus transfer;
Second interface, for connecting the signal transmission line between main equipment, receives enable signal;
Processor, for judging according to described task signal the running status that described electronic equipment is current, and according to described enable signal and the described current operating conditions from equipment, adjusts the described running status from equipment.
9. electronic equipment according to claim 8, is characterized in that, described processor comprises:
The middle module be connected with the second interface with described first interface, for arranging status information according to this task signal, and after receiving enable signal, according to this status information and described enable signal, adjusts the described running status from equipment;
The process module be connected with described middle module, for when described middle module receives task signal, responds described task signal.
10. electronic equipment according to claim 9, is characterized in that, described middle module comprises:
First module, for recording described status information;
Second module, for receiving described task signal by described first interface, and to arrange described status information based on described task signal be the first state or the second state;
Control module, during for receiving described enable signal by described second, obtains described status information, when described status information is the first state, abandon described enable signal, when described status information is the second state, described enable signal is transferred to described second module.
11. 1 kinds of electronic equipments, is characterized in that, comprising:
Receiver module, for receiving enable signal, described enable signal is transmitted from the signal transmission line between equipment and main equipment by described;
Analysis module, for analyzing the described current operating conditions from equipment;
Adjusting module, for according to described enable signal and the described current operating conditions from equipment, adjusts the described running status from equipment.
12. 1 kinds of bus systems, is characterized in that, comprising:
Main equipment;
At least one is from equipment;
Be mounted with described main equipment and at least one bus from equipment described;
Connect described main equipment and arbitrary described at least one signal transmission line from equipment of claim 8-11, the enable signal for being sent by described main equipment transfers to described from equipment;
Described signal transmission line number is identical from equipment number with described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510103634.4A CN104636303B (en) | 2015-03-09 | 2015-03-09 | A kind of bus control method, electronic equipment and bus system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510103634.4A CN104636303B (en) | 2015-03-09 | 2015-03-09 | A kind of bus control method, electronic equipment and bus system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104636303A true CN104636303A (en) | 2015-05-20 |
CN104636303B CN104636303B (en) | 2018-10-12 |
Family
ID=53215076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510103634.4A Active CN104636303B (en) | 2015-03-09 | 2015-03-09 | A kind of bus control method, electronic equipment and bus system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104636303B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108519763A (en) * | 2018-03-30 | 2018-09-11 | 新华三技术有限公司 | Control circuit and apparatus control method |
CN109478172A (en) * | 2016-08-16 | 2019-03-15 | 英特尔公司 | The methods, devices and systems of conversion function for bus master |
CN110647488A (en) * | 2019-09-04 | 2020-01-03 | 苏州浪潮智能科技有限公司 | Anti-noise method and system for I2C bus and related components |
CN112165544A (en) * | 2020-09-29 | 2021-01-01 | 维沃移动通信有限公司 | Electronic equipment communication control method and device and electronic equipment |
CN115016846A (en) * | 2022-07-18 | 2022-09-06 | 苏州联讯仪器有限公司 | Collaborative scanning method, electronic device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369948A (en) * | 2008-09-19 | 2009-02-18 | 深圳市同洲电子股份有限公司 | Communication system implementing low-power consumption |
CN102301357A (en) * | 2011-07-08 | 2011-12-28 | 华为技术有限公司 | Method for switching work clock, intelligent gating circuit and system |
CN102354305A (en) * | 2011-09-27 | 2012-02-15 | 青岛海信电器股份有限公司 | Serial communication system between devices and method |
CN102819245A (en) * | 2011-06-10 | 2012-12-12 | 西门子公司 | Method for monitoring installation |
CN103092803A (en) * | 2011-10-27 | 2013-05-08 | 联芯科技有限公司 | Clock control method for slaves and baseband chip |
-
2015
- 2015-03-09 CN CN201510103634.4A patent/CN104636303B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369948A (en) * | 2008-09-19 | 2009-02-18 | 深圳市同洲电子股份有限公司 | Communication system implementing low-power consumption |
CN102819245A (en) * | 2011-06-10 | 2012-12-12 | 西门子公司 | Method for monitoring installation |
CN102301357A (en) * | 2011-07-08 | 2011-12-28 | 华为技术有限公司 | Method for switching work clock, intelligent gating circuit and system |
CN102354305A (en) * | 2011-09-27 | 2012-02-15 | 青岛海信电器股份有限公司 | Serial communication system between devices and method |
CN103092803A (en) * | 2011-10-27 | 2013-05-08 | 联芯科技有限公司 | Clock control method for slaves and baseband chip |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109478172A (en) * | 2016-08-16 | 2019-03-15 | 英特尔公司 | The methods, devices and systems of conversion function for bus master |
CN109478172B (en) * | 2016-08-16 | 2024-02-13 | 英特尔公司 | Method, apparatus and system for switching functions of bus master |
CN108519763A (en) * | 2018-03-30 | 2018-09-11 | 新华三技术有限公司 | Control circuit and apparatus control method |
CN108519763B (en) * | 2018-03-30 | 2019-09-13 | 新华三技术有限公司 | Control circuit and apparatus control method |
CN110647488A (en) * | 2019-09-04 | 2020-01-03 | 苏州浪潮智能科技有限公司 | Anti-noise method and system for I2C bus and related components |
CN112165544A (en) * | 2020-09-29 | 2021-01-01 | 维沃移动通信有限公司 | Electronic equipment communication control method and device and electronic equipment |
CN115016846A (en) * | 2022-07-18 | 2022-09-06 | 苏州联讯仪器有限公司 | Collaborative scanning method, electronic device and computer readable storage medium |
CN115016846B (en) * | 2022-07-18 | 2022-11-01 | 苏州联讯仪器有限公司 | Collaborative scanning method, electronic device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104636303B (en) | 2018-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101827219B (en) | Method and device for controlling two cameras in master/slave mode in wireless terminal | |
CN104636303A (en) | Bus control method, electronic equipment and bus system | |
CN108496158B (en) | Terminal, debugging system and debugging method | |
CN105243988A (en) | Embedded LED display controller | |
US8224182B2 (en) | Switch device, connection system and connection control method | |
CN105824771A (en) | Electronic device and master-slave switching method and apparatus thereof | |
CN103888970A (en) | Test equipment | |
CN203444464U (en) | Intelligent terminal device | |
CN107038132B (en) | Circuit and method for synchronously controlling multiple peripheral devices | |
US20070076747A1 (en) | Periodic network controller power-down | |
CN105516717A (en) | Television information source wireless switching method and system for complete television automatic test | |
CN110096114B (en) | System and method for managing multiple ARM server nodes | |
CN108337718B (en) | Wireless network scanning method and device, terminal equipment and storage medium | |
CN103731172A (en) | Road side unit equipment and radio frequency transmit-receive method | |
CN209401050U (en) | POI equipment and system | |
CN210578532U (en) | Circuit and multichannel device | |
CN110391823B (en) | Communication circuit, control method thereof, and device having communication function | |
CN109582620B (en) | UART interface conversion device and method | |
CN209029000U (en) | Engineering machinery display screen, engineering machinery and project monitor and control system | |
CN206060923U (en) | A kind of intelligent instructor in broadcasting's equipment | |
CN101888649A (en) | Serial interface communication testing system | |
CN112566086A (en) | Data transmission method and device, electronic equipment and readable storage medium | |
CN105245840A (en) | Data forwarding method and device and camera | |
CN202353676U (en) | AV (audio/video) host and backup switcher | |
CN210958358U (en) | Network perception system |
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 |