Background technology
Along with the fast development of electronic product industry, the electronic product of band touch-screen emerges in multitude in daily life.As existing smart mobile phone, game machine, digital camera and panel computer etc., the overwhelming majority is all with touch-screen, and wherein touch-screen also develops into present full frame multiple spot by initial single-point type pressing touch-screen and exempts from stylus touch-screen.The touch-screen of current main flow is capacitive touch screen, and its inside has capacitive type touch pad and capacitive touch screen driving chip to control, and has that precision is high, screen intensity large, without the need to pressure, and the advantages such as long service life.
As shown in Figure 1, Fig. 1 is the schematic diagram of conditional electronic product based on the sensor connecting circuit of electronic equipment, wherein, sensor chip 220 for the status information of Real-time Obtaining electronic product is directly connected with primary processor 210 by I2C bus, what be connected with described primary processor 210 also has a capacitance touch plate module 230 simultaneously, for receiving and calculating the touch signal of user, it specifically comprises capacitive type touch pad 231 and capacitive touch screen driving chip 232, wherein said capacitive type touch pad 231 is for receiving the touch signal of user, the touch signal of described touch-screen driving chip 232 for receiving according to capacitive type touch pad 231, calculate the concrete coordinate position of touch point, and the positional information calculated is reported primary processor 210 process.Described primary processor 210 passes through I2C(Inter-IntegratedCircuit with described sensor chip 220 and described capacitance touch plate module 230, inter-integrated circuit, be used for connecting microcontroller and peripherals thereof) connect, be responsible for the touch signal that the described capacitance touch plate module 230 of process reports, and process the sensor information that described sensor chip 220 reports, further electronic product is controlled accordingly according to result.For mobile phone, as controlled the amplification of screen content according to amplification touch signal, or control the horizontal/vertical screen of conversion mobile phone according to the angle information of described sensor chip collection mobile phone.
Under this framework, during system works, primary processor needs process in real time from the bulk information of described sensor chip, such as, to carry out the acceleration information of acceleration sensor, gyrostatic angular velocity information, the geographic direction information etc. of compass.Need thus to expend many power consumptions, also electronic product primary processor performance is had higher requirement simultaneously.And the electronic product of such as mobile phone and so on, due to the restriction of volume and cost, the battery capacity of mobile phone and processor performance are all limited, become the electronic product developers' such as a mobile phone difficult problem.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, a kind of sensor connecting circuit based on electronic equipment and control method thereof and electronic equipment are provided, provide the new architecture of a kind of touch-screen driving chip and sensor, effectively decrease the occupancy of electronic product primary processor, save Overall Power Consumption.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of sensor connecting circuit based on electronic equipment, comprise sensor chip, touch-screen driving chip and primary processor, wherein, described sensor chip and described touch-screen driving chip communicate to connect, and described touch-screen driving chip and described primary processor communicate to connect;
Described sensor chip is used for Real-time Collection information, and sends the information of collection to described touch-screen driving chip;
The information that described touch-screen driving chip transmits for receiving described sensor chip, and pre-service is carried out to described information, judge whether described information is the information needing to report primary processor, if, then described touch-screen driving chip by described information reporting to primary processor, otherwise described touch-screen driving chip does not report described information;
Described primary processor is for the information that receives described touch-screen driving chip and report and carry out control operation according to the information reported.
The described sensor connecting circuit based on electronic equipment, wherein, described touch-screen driving chip is capacitive touch screen driving chip.
The described sensor connecting circuit based on electronic equipment, wherein, described capacitive touch screen driving chip also communicates to connect with capacitive type touch pad, is responsible for the signal of the described capacitive type touch pad transmission of reception and sends control information to described capacitive type touch pad.
The described sensor connecting circuit based on electronic equipment, wherein, described sensor chip is connected by inter-integrated circuit with described touch-screen driving chip.
The described sensor connecting circuit based on electronic equipment, wherein, described touch-screen driving chip is connected by inter-integrated circuit with described primary processor.
Based on a control method for the described sensor connecting circuit based on electronic equipment, described control method comprises step:
A, sensor chip Real-time Collection information, and by the information reporting that collects to touch-screen driving chip;
B, described touch-screen driving chip carry out pre-service to the information that the sensor chip received reports, and namely analyze and show that information that described sensor chip reports is the need of reporting primary processor;
C, control described touch-screen driving chip and will need to report the information reporting of primary processor to primary processor.
A kind of electronic equipment, it comprises sensor connecting circuit described above.
A kind of sensor connecting circuit based on electronic equipment provided by the present invention and control method thereof and electronic equipment, be connected the sensor chip of electronic product with touch-screen driving chip, and described touch-screen driving chip is also connected with primary processor simultaneously.During system works based on this framework, after sensor chip Information Monitoring, by described touch-screen driving chip, first pre-service is done to a large amount of information that sensor chip senses, analyze the information needing to report main process, report this partial information to primary processor by described touch-screen driving chip again, effectively decrease the occupancy of electronic product primary processor, save Overall Power Consumption.
Embodiment
The invention provides a kind of sensor connecting circuit based on electronic equipment and control method thereof and electronic equipment, for making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
A kind of sensor connecting circuit based on electronic equipment of the present invention, comprise sensor chip, touch-screen driving chip and primary processor, wherein, described sensor chip and described touch-screen driving chip communicate to connect, and described touch-screen driving chip and described primary processor communicate to connect.
Further, described sensor chip is used for Real-time Collection information, and sends the information of collection to described touch-screen driving chip; The information that described touch-screen driving chip transmits for receiving described sensor chip, and pre-service is carried out to described information, judge whether described information is the information needing to report primary processor, if, then described touch-screen driving chip by described information reporting to primary processor, otherwise described touch-screen driving chip does not report described information; Described primary processor is for the information that receives described touch-screen driving chip and report and carry out control operation according to the information reported.
Preferably, described touch-screen driving chip is connected by inter-integrated circuit with described primary processor; Described sensor chip is connected by inter-integrated circuit with described touch-screen driving chip.
Below for another embodiment of a kind of sensor connecting circuit based on electronic equipment of the present invention.As shown in Figure 2, Fig. 2 is a kind of sensor connecting circuit schematic diagram based on electronic equipment of another embodiment of the present invention, comprise sensor chip 120, touch-screen driving chip 132 and primary processor 110, wherein, described sensor chip 120 is connected with described touch-screen driving chip 132, and described touch-screen driving chip 132 is connected with described primary processor 110.
In addition, as shown in Figure 2, also comprise a capacitive type touch pad 131, described capacitive type touch pad 131 is connected with touch-screen driving chip 132, sensor chip 120 is connected with touch-screen driving chip 132, described touch-screen driving chip 132 is also connected with primary processor 110 simultaneously, concrete, and described sensor chip 120 is connected by I2C bus with described touch-screen driving chip 132.
Preferably, described touch-screen driving chip 132 is capacitive touch screen driving chip, be responsible for doing pre-service to the information that described sensor chip 120 collects, analysis judges that described sensor information is the need of reporting primary processor, as needs, then described sensor information is reported primary processor 110 by described touch-screen driving chip 132.
Described touch-screen driving chip 132 forms described capacitance touch plate module 130 jointly with described capacitive type touch pad 131.Preferably, described touch-screen driving chip and described capacitive type touch pad communicate to connect, and described touch-screen driving chip is also for receiving the touch signal of capacitive type touch pad and transmitting control signal to described capacitive type touch pad.
Based on the sensor connecting circuit based on electronic equipment described in above-described embodiment, described sensor chip is connected by I2C with described touch-screen driving chip, and described touch-screen driving chip is connected by I2C with described primary processor, during system works, sensor chip sends the information of collection to described touch-screen driving chip, first pre-service is carried out to described sensor information by described touch-screen driving chip, judge which information needs to report primary processor to carry out corresponding control, then described touch-screen driving chip will need the sensor information reported to report primary processor again, then primary processor need not be reported for the sensor information not needing to upload, decrease the CPU usage of primary processor, save power consumption, especially primary processor be in standby or CPU usage is not high time, use the Information Monitoring of touch-screen driving chip pre-processing sensor chip can save more power consumptions, because start primary processor can consume more multi-energy.
For mobile phone, adopt the sensor connecting circuit based on electronic equipment described in the above embodiment of the present invention, during system works, for the acceleration transducer in mobile phone, main application is the Data Control mobile phone horizontal/vertical screen display gathered with this sensor, when mobile phone is in normal operating conditions, acceleration transducer can report handset touch panel driving chip the change information of mobile phone acceleration, judge that the change information of described mobile phone acceleration is the need of reporting mobile phone primary processor by touch-screen driving chip, namely judge whether the change information of described mobile phone acceleration arrives the situation that mobile phone primary processor controls the horizontal/vertical screen state change of mobile phone, when determining to reach, then judge that the change information of described mobile phone acceleration is the information needing to report primary processor, primary processor is reported again by described handset touch panel driving chip, control display module by primary processor and carry out screen display changed condition.
Further, equally for mobile phone, the invention provides another embodiment of the sensor connecting circuit based on electronic equipment adopted described in the above embodiment of the present invention.The sensor connecting circuit based on electronic equipment that mobile phone adopts the present invention above-mentioned, during system works, for in mobile phone close to induction pick-up, when mobile phone is in talking state, primary processor needs to judge whether current phone is in user's cell-phone and presses close to the state that people's ear carries out conversing according to the described information close to induction pick-up collection, control the action of touch screen module process user with this, prevent because user face touches touch-screen and hang the phone conversed by mistake.Whether the state being specially described proximity transducer Real-Time Monitoring mobile phone changes, the change information of the amount of infrared light reflected detected is reported handset touch panel driving chip, whether the change information being judged described amount of infrared light by described touch-screen driving chip is the information needing to report primary processor, also namely judge that whether the change information of described amount of infrared light is the information that user's cell-phone presses close to when people's ear carries out the state conversed, when determining that the change information of described amount of infrared light represents mobile phone communication state, or when determining that the change information of described amount of infrared light represents that mobile phone is not in talking state, report relevant information to primary processor by described touch-screen driving chip again, further primary processor controls the action of touch screen module process user, prevent because user face touches touch-screen and hang the phone conversed by mistake.
Based on the sensor connecting circuit based on electronic equipment described above, present invention also offers a kind of embodiment of the sensor connecting circuit control method based on electronic equipment, as shown in Figure 3, Fig. 3 is the process flow diagram of the control method of a kind of sensor connecting circuit based on electronic equipment of the present invention.Described method comprises step:
Step 301, sensor chip Real-time Collection information, as gathered status information (angle information, call status information etc.), the ambient condition information (temperature, illumination, humidity etc.) of Current electronic product, and by the information reporting that collects to touch-screen driving chip.
Step 302, described touch-screen driving chip carry out pre-service to the information that the described sensor chip received reports, and namely analyze and draw the information needing to report primary processor.Such as, in the mobile phone angle change information obtained by mobile phone sensor, only have when the angular transformation of mobile phone is greater than some setting values, mobile phone primary processor is just needed to control to carry out the conversion of mobile phone horizontal/vertical screen, if the mobile phone translation-angle that sensor detects is less than described setting value, then judge that this information is the information not needing to report primary processor, then need not report primary processor.
Step 303, described touch-screen driving chip will need the sensor chip information reporting primary processor reporting primary processor.And do not need the sensor chip information reporting primary processor not report primary processor, thus alleviate the task amount of primary processor, and due to power consumption during described touch-screen driving chip process information, relatively to start the power consumption of master processor processes information much little, therefore can save the power consumption of complete machine.
Based on above-described embodiment, another embodiment of the present invention additionally provides a kind of electronic equipment, and it comprises the sensor connecting circuit described in above-described embodiment.
In sum, a kind of sensor connecting circuit based on electronic equipment provided by the invention and control method thereof and electronic equipment, describedly based in the sensor connecting circuit of electronic equipment, described sensor chip to be connected with described touch-screen driving chip, described touch-screen driving chip is also connected with primary processor simultaneously, during system works based on this framework, the information of described sensor chip collection first sends described touch-screen driving chip to and carries out pre-service, report the operative sensor information reporting of primary processor to primary processor by the pretreated need of described touch-screen driving chip again, effectively decrease the occupancy of electronic product primary processor, save Overall Power Consumption.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.