CN107565946A - Method and apparatus for the function key system and setting function key of terminal device - Google Patents

Method and apparatus for the function key system and setting function key of terminal device Download PDF

Info

Publication number
CN107565946A
CN107565946A CN201610509394.2A CN201610509394A CN107565946A CN 107565946 A CN107565946 A CN 107565946A CN 201610509394 A CN201610509394 A CN 201610509394A CN 107565946 A CN107565946 A CN 107565946A
Authority
CN
China
Prior art keywords
node
signal
functional circuit
micro
control unit
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
CN201610509394.2A
Other languages
Chinese (zh)
Other versions
CN107565946B (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.)
Beijing Aiqi Technology Co Ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Aiqi Technology Co Ltd
Beijing Xiaomi Mobile Software Co 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 Beijing Aiqi Technology Co Ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Aiqi Technology Co Ltd
Priority to CN201610509394.2A priority Critical patent/CN107565946B/en
Publication of CN107565946A publication Critical patent/CN107565946A/en
Application granted granted Critical
Publication of CN107565946B publication Critical patent/CN107565946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure is directed to the function key system for terminal device and the method and apparatus for setting function key, the system to include:Micro-control unit, the first button and functional circuit;Functional circuit is used for:When terminal device is not keyed up, if the first button is pressed, the first signal is produced at first node, the voltage stabilizing chip in the terminal device of connection first node is enabled and is powered to micro-control unit;After terminal device start, if the first button is pressed, secondary signal is produced at section point;Micro-control unit is used for:After being powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node, enables voltage stabilizing chip controlled unit;And if detecting secondary signal, perform predetermined registration operation corresponding to secondary signal.In the present embodiment, function key system uses snap-domes, realizes the setting of function key with reference to micro-control unit, functional circuit, simple to operate, cost is low.

Description

Method and apparatus for the function key system and setting function key of terminal device
Technical field
This disclosure relates to the function key system of the function key technical field of terminal device, more particularly, to terminal device with And the method and apparatus that function key is set.
Background technology
With the continuous improvement of requirement of the people to terminal device, the function of terminal device becomes stronger and stronger, and outer See more and more brief.How from safety, angle easy-to-use, attractive in appearance the function key of terminal device is set, is one urgently to be resolved hurrily The problem of.
The content of the invention
The embodiment of the present disclosure provides a kind of function key system for terminal device and the method and apparatus for setting function key. The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of function key system for terminal device, the system Including:Micro-control unit, the first button and functional circuit;The functional circuit includes first node, section point and Section three Point;The micro-control unit is connected at the section point, the 3rd node with the functional circuit, and described first presses key connection In the functional circuit;
The functional circuit is used for:When the terminal device is not keyed up, if first button is pressed, described first The first signal is produced at node, the voltage stabilizing chip in the terminal device of the connection first node is enabled and to described Micro-control unit is powered;After terminal device start, if first button is pressed, the is produced at the section point Binary signal;
The micro-control unit is used for:After being powered by the voltage stabilizing chip, the 3rd signal is produced at the 3rd node, The voltage stabilizing chip is set to be enabled by the micro-control unit;And if detecting the secondary signal, perform the secondary signal Corresponding predetermined registration operation.
Alternatively, the micro-control unit is additionally operable to:
If receiving the instruction of the terminal device shutdown, the 4th signal is produced at the 3rd node, is made described steady Chip is pressed to stop output.
Alternatively, the system also includes:
The second button being connected in the functional circuit;The functional circuit also includes fourth node;The microcontroller Unit is also connected at the fourth node with the functional circuit;
The functional circuit is additionally operable to:If second button is pressed, the 5th signal is produced at the fourth node, And first signal is produced at the first node;
The micro-control unit is additionally operable to:If detecting the 5th signal, perform and reset operation, and the described 3rd The 4th signal is produced at node;After the completion of reset, the 3rd signal is produced at the 3rd node.
Alternatively, the functional circuit includes:First triode, the second triode, the 3rd triode, first resistor, Two resistance, 3rd resistor, the 4th resistance, the 5th resistance, the 6th resistance, the 7th resistance, the 8th resistance, the first diode, second Diode, the 3rd diode, the first electric capacity, the first power supply, second source;Wherein:
One end of the first resistor connects the first power supply, and the other end of the first resistor connects first triode Colelctor electrode, the grounded emitter of first triode, the base stage of first triode connects the one of the second resistance End, the other end of the second resistance connect one end, one end and described first of the 3rd resistor of first button The anode of diode, the other end of first button connect one end of the 4th resistance, the other end of the 4th resistance Connect second source, the other end ground connection of the 3rd resistor, the negative electrode of first diode and the one of the 5th resistance End and the colelctor electrode of second triode are connected, the other end ground connection of the 5th resistance, first electric capacity with it is described 5th resistor coupled in parallel, the emitter stage of second triode are connected with first power supply, the base stage of second triode with One end of 6th resistance is connected, and the anode of second diode connects the first power supply, the negative electrode of second diode The emitter stage of the 3rd triode is connected, the colelctor electrode of the 3rd triode is connected with the anode of the 3rd diode, The negative electrode of 3rd diode is connected with the negative electrode of first diode, the base stage and the described 7th of the 3rd triode One end of resistance is connected, and the one of the other end of the 7th resistance and one end of second button and the 8th resistance End is connected, and the other end ground connection of second button, the other end of the 8th resistance is connected with first power supply;
The first node is located at the colelctor electrode of second diode, and the section point is located at first diode Colelctor electrode, the 3rd node is located at the other end of the 6th resistance;The fourth node is located at second button not One end of ground connection.
Alternatively, first button includes snap-domes.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of method for setting function key, methods described include:
When terminal device is not keyed up, if the first button being connected in functional circuit is pressed, the functional circuit exists At first node produce the first signal, make the voltage stabilizing chip in the terminal device of the connection first node be enabled and to Micro-control unit is powered;After the micro-control unit is powered by voltage stabilizing chip, the 3rd is produced at the 3rd node of functional circuit Signal, the voltage stabilizing chip is set to be enabled by the micro-control unit;
After terminal device start, if first button is pressed, the functional circuit produces second at section point Signal;If the micro-control unit detects the secondary signal, predetermined registration operation corresponding to the secondary signal is performed.
Alternatively, methods described also includes:
If the micro-control unit receives the instruction of the terminal device shutdown, the 4th is produced at the 3rd node Signal, the voltage stabilizing chip is set to stop output.
Alternatively, methods described also includes:
If the second button being connected in functional circuit is pressed, the functional circuit produces the 5th letter at fourth node Number, and first signal is produced at the first node;
If the micro-control unit detects the 5th signal, perform and reset operation, and at the 3rd node Produce the 4th signal;After the completion of reset, the 3rd signal is produced at the 3rd node.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of method that function key is set, applied to micro-control unit, Methods described includes:
After being powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node of connected functional circuit, is made and the work( The connected voltage stabilizing chip of energy circuit is enabled by the micro-control unit;
If detecting secondary signal, predetermined registration operation corresponding to the secondary signal is performed;The secondary signal sets for terminal After standby start, when the first button being connected in the functional circuit is pressed, the functional circuit with the microcontroller list Caused by the connected section point of member.
Alternatively, methods described also includes:
If receiving the instruction of terminal device shutdown, the 4th signal is produced at the 3rd node, makes the voltage stabilizing core Piece stops output.
Alternatively, methods described also includes:
If detecting the 5th signal, perform and reset operation, and the 4th signal is produced at the 3rd node;It is multiple After the completion of position, the 3rd signal is produced at the 3rd node;5th signal is to be connected in the functional circuit The second button when being pressed, the functional circuit is caused by the fourth node being connected with the micro-control unit.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of device for setting function key, described device is configured at micro- In control unit, described device includes:
First processing module, it is configured as after being powered by voltage stabilizing chip, is produced at the 3rd node of connected functional circuit Raw 3rd signal, the voltage stabilizing chip for making to be connected with the functional circuit are enabled by the micro-control unit;
Second processing module, if being configured as detecting secondary signal, perform predetermined registration operation corresponding to the secondary signal; After the secondary signal is terminal device start, when the first button being connected in the functional circuit is pressed, the function Circuit is caused by the section point being connected with the micro-control unit.
Alternatively, described device also includes:
3rd processing module, if being configured as receiving the instruction of terminal device shutdown, produced at the 3rd node 4th signal, the voltage stabilizing chip is set to stop output.
Alternatively, described device also includes:
Fourth processing module, if being configured as detecting the 5th signal, perform and reset operation, and in the 3rd node Place produces the 4th signal;After the completion of reset, the 3rd signal is produced at the 3rd node;5th signal is When the second button being connected in the functional circuit is pressed, the functional circuit is in be connected with the micro-control unit Caused by four nodes.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of device that function key is set, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
After being powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node of connected functional circuit, is made and the work( The connected voltage stabilizing chip of energy circuit is enabled by micro-control unit;
If detecting secondary signal, predetermined registration operation corresponding to the secondary signal is performed;The secondary signal sets for terminal After standby start, when the first button being connected in the functional circuit is pressed, the functional circuit with the microcontroller list Caused by the connected section point of member.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal, in the present embodiment, function key system uses snap-domes, with reference to micro-control unit, function electricity Road realizes the setting of function key, simple to operate, cost is low.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the block diagram of the function key system for terminal device according to an exemplary embodiment.
Fig. 2 is the block diagram of the function key system for terminal device according to another exemplary embodiment.
Fig. 3 is the electricity of the functional circuit in the function key system for terminal device according to an exemplary embodiment Lu Tu.
Fig. 4 is the flow chart of the method for the setting function key according to an exemplary embodiment.
Fig. 5 is the flow of the method for the setting function key applied to micro-control unit according to an exemplary embodiment Figure.
Fig. 6 is the block diagram of the device of the setting function key according to an exemplary embodiment.
Fig. 7 is the block diagram of the device of the setting function key according to another exemplary embodiment.
Fig. 8 is the block diagram of the device of the setting function key according to another exemplary embodiment.
Fig. 9 is the block diagram for being used to set the device of function key according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The technical scheme that the embodiment of the present disclosure provides, it is related to terminal device, such as smart mobile phone, flat board electricity can be included Brain, notebook computer and electronic toy with button, game station etc..
Fig. 1 is the function key system 100 for terminal device according to an exemplary embodiment, the function key system 100 include:Micro-control unit 101, the first button 102 and functional circuit 103;Wherein, functional circuit 103 include first node A, Section point B and the 3rd node C;Micro-control unit 101 is connected at section point B, the 3rd node C with functional circuit 103, the One button 102 is connected in functional circuit 103.
Functional circuit 103 is used for:When terminal device is not keyed up, if the first button 102 is pressed, produced at first node A Raw first signal, makes the voltage stabilizing chip in connection first node A terminal device be enabled and be powered to micro-control unit 101; After terminal device start, if the first button 102 is pressed, secondary signal is produced at section point B.
Corresponding secondary signal can be produced according to the situation that the first button 102 is pressed.For example, the first button 102 Long-press continues 3 seconds, and caused secondary signal is terminal device off signal;When the first button 102 be consecutively pressed twice, produce Secondary signal for switching terminal equipment state signal (such as terminal device is switched into inactive state from motion state).
Micro-control unit 101 is used for:After being powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node C, makes voltage stabilizing core Piece is enabled by micro-control unit 101;And if detecting secondary signal, perform predetermined registration operation corresponding to secondary signal.Microcontroller The corresponding relation of the predetermined registration operation corresponding to different secondary signals can be pre-set in 101 in unit.Micro-control unit 101, according to the secondary signal detected, find out predetermined registration operation corresponding to the secondary signal detected, and hold from corresponding relation The predetermined registration operation that row is found.
In the present embodiment, when terminal device is not keyed up, when the first button 102 is pressed, voltage is changed at first node A High level, the voltage stabilizing chip connected in first node A terminal device are enabled, and voltage stabilizing chip starts to system power supply;It is micro- Control unit 101 thus works on power;Micro-control unit 101 sets the I/O port of enabled voltage stabilizing chip to put height (at the 3rd node C), Enabled voltage stabilizing chip;The first button 102 is unclamped, voltage stabilizing chip is enabled by micro-control unit 101, and start process is completed.At end After end equipment start, the first button 102 uses as function key.
Micro-control unit (MCU, Microcontroller Unit) in the present embodiment, function MCU can be used (i.e. non- Special power management MCU, the MCU for having other functions), using function MCU very small part resources, complete signal triggering and eventually The switching on and shutting down control at end.First button can include snap-domes, for example, hilted broadsword snap-domes.
In the present embodiment, function key system uses snap-domes, and function key is realized with reference to micro-control unit, functional circuit Setting, it is simple to operate, cost is low.
Micro-control unit 101 is additionally operable to:If receiving the instruction of terminal device shutdown, the 4th is produced at the 3rd node C Signal, voltage stabilizing chip is set to stop output.This causes terminal device to turn off all electrical appliances, including microcontroller list when shutting down Member, so will there is no power consumption.Wherein, the instruction of terminal device shutdown, such as can be display circle of the user in terminal device Select to instruct caused by " shutdown " on face;Can also be that the above-mentioned long-press of the first button 102 continues instruction caused by 3 seconds.
As shown in Fig. 2 function key system 100 also includes:The second button 104 being connected in functional circuit 103;Function electricity Road also includes fourth node D;Micro-control unit 101 is also connected at fourth node D with functional circuit 103;
Functional circuit 103 is additionally operable to:If the second button 104 is pressed, the 5th signal is produced at fourth node D, and The first signal is produced at first node A;
Micro-control unit 101 is additionally operable to:If detecting the 5th signal, perform and reset operation, and produced at the 3rd node C Raw 4th signal;After the completion of reset, the 3rd signal is produced at the 3rd node C.
The circuit diagram of exemplary functional circuit 103 is illustrated in figure 3, functional circuit 103 includes:First triode Q8, Second triode Q10, the 3rd triode Q7, first resistor R13, second resistance R5,3rd resistor R12, the 4th resistance R4, the 5th Resistance R18, the 6th resistance R15, the 7th resistance R16, the 8th resistance R15, the first diode D3, the second diode D1, the three or two Pole pipe D2, the first electric capacity C8, the first power supply 3.3V, second source 13V;Wherein:
First resistor R13 one end connects the first power supply 3.3V, and the first resistor R13 other end connects the first triode Q8 Colelctor electrode, the first triode Q8 grounded emitter, the first triode Q8 base stage connection second resistance R5 one end, second The resistance R5 other end connects the first button K1 one end, 3rd resistor R12 one end and the first diode D3 anode, the The one button K1 other end connects the 4th resistance R4 one end, the 4th resistance R4 other end connection second source 13V, the 3rd electricity Hinder R12 other end ground connection, the first diode D3 negative electrode and the 5th resistance R18 one end and the second triode Q10 collection Electrode is connected, and the 5th resistance R18 other end ground connection, the first electric capacity C8 is in parallel with the 5th resistance R18, the second triode Q10's Emitter stage is connected with the first power supply 3.3V, and the second triode Q10 base stage is connected with the 6th resistance R15 one end, the two or two pole Pipe D1 the first power supply 3.3V, the second diode D2 of anode connection the 3rd triode Q7 of negative electrode connection emitter stage, the three or three Pole pipe Q7 colelctor electrode is connected with the 3rd diode D2 anode, the 3rd diode D2 negative electrode and the first diode D3 negative electrode It is connected, the 3rd triode Q7 base stage is connected with the 7th resistance R16 one end, the 7th resistance the R16 other end and the second button Reset one end and the 8th resistance R15 one end are connected, the second button Reset other end ground connection, the 8th resistance R15's The other end is connected with the first power supply 3.3V.
First node A is located at the second diode Q10 colelctor electrode, and section point B is located at the first diode Q8 colelctor electrode, 3rd node is located at the 6th resistance R15 other end;Fourth node is located at second unearthed one end of button Reset.
With the circuit diagram shown in Fig. 3, illustrate the course of work of the function key system of the disclosure:
Terminal device is started shooting:
When the first button K1 is pressed, " EN " voltage is changed into high level at first node A, connects first node A terminal Voltage stabilizing chip in equipment is enabled, and voltage stabilizing chip starts to system power supply;Micro-control unit works on power;Micro-control unit is set The I/O port (at the 3rd node C) " EN_C " for putting enabled voltage stabilizing chip puts height, enables voltage stabilizing chip;Unclamp button K1, voltage stabilizing chip Enabled by micro-control unit;Start process is completed.
Terminal device shuts down:
Micro-control unit sets the IO of enabled voltage stabilizing chip to be set low (at the 3rd node C);Voltage stabilizing IC stops output, and system is closed Machine.
Reset:
By reset key Reset, micro-control unit resets, and micro-control unit sets the I/O port the (the 3rd of enabled voltage stabilizing chip At node C) " EN_C " set low, and " EN " is drawn high by C8 electric discharges at first node A;Micro-control unit, which resets, to be completed, and resetting makes The I/O port (at the 3rd node C) " EN_C " of energy voltage stabilizing chip puts height, enables voltage stabilizing chip.
Upper electricity is completed after reset;
Function key:
After terminal device start, K1 is pushed button, connects (at section point B) " WKUP " electricity of micro-control unit I/O port Position is pulled low, and micro-control unit recognizes " WKUP " signal, is identified and is operated corresponding to the signal.
Fig. 4 is the flow chart of the method for the setting function key according to an exemplary embodiment, as shown in figure 4, setting The method of function key is used in terminal device, comprises the following steps S41-S42:
In step S41, when terminal device is not keyed up, if the first button being connected in functional circuit is pressed, work( Can circuit the first signal is produced at first node, make the voltage stabilizing chip in the terminal device of connection first node be enabled and to Micro-control unit is powered;After micro-control unit is powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node of functional circuit, Voltage stabilizing chip is set to be enabled by micro-control unit;
In step S42, after terminal device start, if the first button is pressed, functional circuit produces at section point Secondary signal;If micro-control unit detects secondary signal, predetermined registration operation corresponding to secondary signal is performed.
In another embodiment of the present disclosure, methods described also includes:
If micro-control unit receives the instruction of terminal device shutdown, the 4th signal is produced at the 3rd node, makes voltage stabilizing Chip stops output.This causes terminal device to turn off all electrical appliances, including micro-control unit when shutting down, so will no longer There is power consumption.
In another embodiment of the present disclosure, methods described also includes:
If the second button being connected in functional circuit is pressed, functional circuit produces the 5th signal at fourth node, And the first signal is produced at first node;
If micro-control unit detects the 5th signal, perform and reset operation, and the 4th signal is produced at the 3rd node; After the completion of reset, the 3rd signal is produced at the 3rd node.
Fig. 5 is the flow chart of the method for the setting function key according to an exemplary embodiment, as shown in figure 5, setting The method of function key is used in the micro-control unit of terminal device, comprises the following steps S51-S52:
In step s 51, after being powered by voltage stabilizing chip, the 3rd letter is produced at the 3rd node of connected functional circuit Number, the voltage stabilizing chip for making to be connected with functional circuit is enabled by micro-control unit;
In step S52, if detecting secondary signal, predetermined registration operation corresponding to secondary signal is performed;Secondary signal is eventually After end equipment start, when the first button being connected in functional circuit is pressed, functional circuit is being connected with micro-control unit Caused by section point.
In another embodiment of the present disclosure, methods described also includes:
If receiving the instruction of terminal device shutdown, the 4th signal is produced at the 3rd node, makes the voltage stabilizing core Piece stops output.
In another embodiment of the present disclosure, methods described also includes:
If detecting the 5th signal, perform and reset operation, and the 4th signal is produced at the 3rd node;Institute When to state the 5th signal be that the second button being connected in the functional circuit is pressed, the functional circuit with the microcontroller Caused by the connected fourth node of unit;
After the completion of reset, the 3rd signal is produced at the 3rd node.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 6 is a kind of block diagram of the device of setting function key according to an exemplary embodiment, and the device can lead to Cross software, hardware or both be implemented in combination with it is some or all of as electronic equipment.As shown in fig. 6, described device is matched somebody with somebody It is placed in micro-control unit, the device of the setting function key includes:
First processing module 601, it is configured as after being powered by voltage stabilizing chip, at the 3rd node of connected functional circuit The 3rd signal is produced, the voltage stabilizing chip for making to be connected with the functional circuit is enabled by the micro-control unit;
Second processing module 602, if being configured as detecting secondary signal, perform and behaviour is preset corresponding to the secondary signal Make;After the secondary signal is terminal device start, when the first button being connected in the functional circuit is pressed, the work( Can circuit caused by the section point being connected with the micro-control unit.
As shown in fig. 7, in another embodiment of the present disclosure, described device also includes:
3rd processing module 603, if being configured as receiving the instruction of terminal device shutdown, produced at the 3rd node Raw 4th signal, makes the voltage stabilizing chip stop output.
As shown in figure 8, in another embodiment of the present disclosure, described device also includes:
Fourth processing module 604, if being configured as detecting the 5th signal, perform and reset operation, and the described 3rd The 4th signal is produced at node, after the completion of reset, the 3rd signal is produced at the 3rd node;5th letter When number being pressed for the second button for being connected in the functional circuit, the functional circuit is connected with the micro-control unit Fourth node at caused by.
The disclosure also provides a kind of device for setting function key, including:
Processor;
It is configured as storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
After being powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node of connected functional circuit, is made and the work( The connected voltage stabilizing chip of energy circuit is enabled by micro-control unit;
If detecting secondary signal, predetermined registration operation corresponding to the secondary signal is performed;The secondary signal sets for terminal After standby start, when the first button being connected in the functional circuit is pressed, the functional circuit with the microcontroller list Caused by the connected section point of member.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram for being used to set the device 800 of function key according to an exemplary embodiment.For example, Device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, electronic toy, swim Play equipment, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 9, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with producing, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of equipment 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device performs so that mobile terminal is able to carry out a kind of method for setting function key, and methods described includes:
After being powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node of connected functional circuit, is made and the work( The connected voltage stabilizing chip of energy circuit is enabled by the micro-control unit;
If detecting secondary signal, predetermined registration operation corresponding to the secondary signal is performed;The secondary signal sets for terminal After standby start, when the first button being connected in the functional circuit is pressed, the functional circuit with the microcontroller list Caused by the connected section point of member.
Optionally, methods described also includes:
If receiving the instruction of terminal device shutdown, the 4th signal is produced at the 3rd node, makes the voltage stabilizing core Piece stops output.
Optionally, methods described also includes:
If detecting the 5th signal, perform and reset operation, and the 4th signal is produced at the 3rd node;It is multiple After the completion of position, the 3rd signal is produced at the 3rd node;5th signal is to be connected in the functional circuit The second button when being pressed, the functional circuit is caused by the fourth node being connected with the micro-control unit.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. a kind of function key system for terminal device, it is characterised in that the system includes:Micro-control unit, first are pressed Key and functional circuit;The functional circuit includes first node, section point and the 3rd node;The micro-control unit is described It is connected at section point, the 3rd node with the functional circuit, first button is connected in the functional circuit;
The functional circuit is used for:When the terminal device is not keyed up, if first button is pressed, in the first node Place produces the first signal, the voltage stabilizing chip in the terminal device of the connection first node is enabled and to the micro-control Unit power supply processed;After the terminal device start, if first button is pressed, the second letter is produced at the section point Number;
The micro-control unit is used for:After being powered by the voltage stabilizing chip, the 3rd signal is produced at the 3rd node, makes institute Voltage stabilizing chip is stated to be enabled by the micro-control unit;And if detecting the secondary signal, it is corresponding to perform the secondary signal Predetermined registration operation.
2. system according to claim 1, it is characterised in that the micro-control unit is additionally operable to:
If receiving the instruction of the terminal device shutdown, the 4th signal is produced at the 3rd node, makes the voltage stabilizing core Piece stops output.
3. system according to claim 2, it is characterised in that the system also includes:
The second button being connected in the functional circuit;The functional circuit also includes fourth node;The micro-control unit Also it is connected at the fourth node with the functional circuit;
The functional circuit is additionally operable to:If second button is pressed, the 5th signal is produced at the fourth node, and First signal is produced at the first node;
The micro-control unit is additionally operable to:If detecting the 5th signal, perform and reset operation, and in the 3rd node Place produces the 4th signal;After the completion of reset, the 3rd signal is produced at the 3rd node.
4. system according to claim 1, it is characterised in that the functional circuit includes:First triode, the two or three pole Pipe, the 3rd triode, first resistor, second resistance, 3rd resistor, the 4th resistance, the 5th resistance, the 6th resistance, the 7th resistance, 8th resistance, the first diode, the second diode, the 3rd diode, the first electric capacity, the first power supply, second source;Wherein:
One end of the first resistor connects the first power supply, and the other end of the first resistor connects the collection of first triode Electrode, the grounded emitter of first triode, the base stage of first triode connect one end of the second resistance, institute The other end for stating second resistance connects one end of first button, one end of the 3rd resistor and first diode Anode, the other end of first button connects one end of the 4th resistance, the other end connection of the 4th resistance the Two power supplys, the other end ground connection of the 3rd resistor, one end of the negative electrode of first diode and the 5th resistance and The colelctor electrode of second triode is connected, the other end ground connection of the 5th resistance, first electric capacity and the described 5th electricity Resistance is in parallel, and the emitter stage of second triode is connected with first power supply, the base stage of second triode and described the One end of six resistance is connected, and the anode of second diode connects the first power supply, the negative electrode connection institute of second diode The emitter stage of the 3rd triode is stated, the colelctor electrode of the 3rd triode is connected with the anode of the 3rd diode, and described The negative electrode of three diodes is connected with the negative electrode of first diode, base stage and the 7th resistance of the 3rd triode One end is connected, and the other end of the 7th resistance is connected with one end of one end of second button and the 8th resistance, The other end ground connection of second button, the other end of the 8th resistance are connected with first power supply;
The first node is located at the colelctor electrode of second diode, and the section point is located at the collection of first diode Electrode, the 3rd node are located at the other end of the 6th resistance;It is unearthed that the fourth node is located at second button One end.
5. system according to claim 1, it is characterised in that first button includes snap-domes.
A kind of 6. method that function key is set, it is characterised in that methods described includes:
When terminal device is not keyed up, if the first button being connected in functional circuit is pressed, the functional circuit is first The first signal is produced at node, the voltage stabilizing chip in the terminal device of the connection first node is enabled and to micro-control Unit power supply processed;After the micro-control unit is powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node of functional circuit, The voltage stabilizing chip is set to be enabled by the micro-control unit;
After terminal device start, if first button is pressed, the functional circuit produces secondary signal at section point; If the micro-control unit detects the secondary signal, predetermined registration operation corresponding to the secondary signal is performed.
7. according to the method for claim 6, it is characterised in that methods described also includes:
If the micro-control unit receives the instruction of the terminal device shutdown, the 4th letter is produced at the 3rd node Number, the voltage stabilizing chip is stopped output.
8. according to the method for claim 7, it is characterised in that methods described also includes:
If the second button being connected in functional circuit is pressed, the functional circuit produces the 5th signal at fourth node, And first signal is produced at the first node;
If the micro-control unit detects the 5th signal, perform and reset operation, and produced at the 3rd node 4th signal;After the completion of reset, the 3rd signal is produced at the 3rd node.
A kind of 9. method that function key is set, applied to micro-control unit, it is characterised in that methods described includes:
After being powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node of connected functional circuit, is made and function electricity The connected voltage stabilizing chip in road is enabled by the micro-control unit;
If detecting secondary signal, predetermined registration operation corresponding to the secondary signal is performed;The secondary signal is opened for terminal device After machine, when the first button being connected in the functional circuit is pressed, the functional circuit with the micro-control unit phase Caused by section point even.
10. according to the method for claim 9, it is characterised in that methods described also includes:
If receiving the instruction of terminal device shutdown, the 4th signal is produced at the 3rd node, stops the voltage stabilizing chip Only export.
11. according to the method for claim 10, it is characterised in that methods described also includes:
If detecting the 5th signal, perform and reset operation, and the 4th signal is produced at the 3rd node;Reset Cheng Hou, the 3rd signal is produced at the 3rd node;5th signal is be connected in the functional circuit When two buttons are pressed, the functional circuit is caused by the fourth node being connected with the micro-control unit.
12. a kind of device for setting function key, described device are configured in micro-control unit, it is characterised in that described device bag Include:
First processing module, it is configured as after being powered by voltage stabilizing chip, the is produced at the 3rd node of connected functional circuit Three signals, the voltage stabilizing chip for making to be connected with the functional circuit are enabled by the micro-control unit;
Second processing module, if being configured as detecting secondary signal, perform predetermined registration operation corresponding to the secondary signal;It is described After secondary signal is terminal device start, when the first button being connected in the functional circuit is pressed, the functional circuit Caused by the section point being connected with the micro-control unit.
13. device according to claim 12, it is characterised in that described device also includes:
3rd processing module, if being configured as receiving the instruction of terminal device shutdown, the 4th is produced at the 3rd node Signal, the voltage stabilizing chip is set to stop output.
14. device according to claim 12, it is characterised in that described device also includes:
Fourth processing module, if being configured as detecting the 5th signal, perform and reset operation, and produced at the 3rd node Raw 4th signal;After the completion of reset, the 3rd signal is produced at the 3rd node;5th signal is connection When the second button in the functional circuit is pressed, the functional circuit is in Section four to be connected with the micro-control unit Caused by point.
A kind of 15. device that function key is set, it is characterised in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
After being powered by voltage stabilizing chip, the 3rd signal is produced at the 3rd node of connected functional circuit, is made and function electricity The connected voltage stabilizing chip in road is enabled by micro-control unit;
If detecting secondary signal, predetermined registration operation corresponding to the secondary signal is performed;The secondary signal is opened for terminal device After machine, when the first button being connected in the functional circuit is pressed, the functional circuit with the micro-control unit phase Caused by section point even.
CN201610509394.2A 2016-06-30 2016-06-30 Function key system for terminal equipment and method and device for setting function key Active CN107565946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610509394.2A CN107565946B (en) 2016-06-30 2016-06-30 Function key system for terminal equipment and method and device for setting function key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610509394.2A CN107565946B (en) 2016-06-30 2016-06-30 Function key system for terminal equipment and method and device for setting function key

Publications (2)

Publication Number Publication Date
CN107565946A true CN107565946A (en) 2018-01-09
CN107565946B CN107565946B (en) 2021-01-15

Family

ID=60968649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610509394.2A Active CN107565946B (en) 2016-06-30 2016-06-30 Function key system for terminal equipment and method and device for setting function key

Country Status (1)

Country Link
CN (1) CN107565946B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020066046A1 (en) * 2000-10-24 2002-05-30 Chin-Shuing Liu Apparatus for directly connecting to the internet and method thereof
CN103105915A (en) * 2013-02-18 2013-05-15 广东欧珀移动通信有限公司 Intelligent terminal reset method and intelligent terminal reset system
CN103199842A (en) * 2013-03-06 2013-07-10 青岛歌尔声学科技有限公司 Key control circuit for single-battery power supply system
CN203243435U (en) * 2013-03-26 2013-10-16 深圳Tcl新技术有限公司 System reset circuit and intelligent television
CN103576568A (en) * 2012-08-06 2014-02-12 联想(北京)有限公司 Current output method and electronic equipment
CN103676746A (en) * 2013-12-20 2014-03-26 青岛歌尔声学科技有限公司 Control circuit of startup and shutdown machine and electronic equipment
CN104202029A (en) * 2014-08-29 2014-12-10 青岛歌尔声学科技有限公司 Single-button power-on and power-off circuit and head-wearing display device
CN204810138U (en) * 2015-06-29 2015-11-25 成都鼎桥通信技术有限公司 Terminal equipment's automation start shooting circuit and terminal equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020066046A1 (en) * 2000-10-24 2002-05-30 Chin-Shuing Liu Apparatus for directly connecting to the internet and method thereof
CN103576568A (en) * 2012-08-06 2014-02-12 联想(北京)有限公司 Current output method and electronic equipment
CN103105915A (en) * 2013-02-18 2013-05-15 广东欧珀移动通信有限公司 Intelligent terminal reset method and intelligent terminal reset system
CN103199842A (en) * 2013-03-06 2013-07-10 青岛歌尔声学科技有限公司 Key control circuit for single-battery power supply system
CN203243435U (en) * 2013-03-26 2013-10-16 深圳Tcl新技术有限公司 System reset circuit and intelligent television
CN103676746A (en) * 2013-12-20 2014-03-26 青岛歌尔声学科技有限公司 Control circuit of startup and shutdown machine and electronic equipment
CN104202029A (en) * 2014-08-29 2014-12-10 青岛歌尔声学科技有限公司 Single-button power-on and power-off circuit and head-wearing display device
CN204810138U (en) * 2015-06-29 2015-11-25 成都鼎桥通信技术有限公司 Terminal equipment's automation start shooting circuit and terminal equipment

Also Published As

Publication number Publication date
CN107565946B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN104238912B (en) application control method and device
CN104991789B (en) Application program open method and device
CN104732201B (en) Touch key-press and fingerprint recognition realization device, method and terminal device
CN105117033B (en) The connection method of external equipment and device
CN107919123A (en) More voice assistant control method, device and computer-readable recording medium
CN104182173A (en) Camera switching method and device
CN105049923A (en) Method and apparatus for waking up electronic device
CN104302048A (en) Lamp control method and device
CN103927200B (en) Electronic equipment awakening method and relevant apparatus
CN106371643B (en) Touch chip crash handling method and device
CN105468152A (en) Terminal operation control method and device based on wearable equipment, and equipment
CN105159559A (en) Mobile terminal control method and mobile terminal
CN104298547A (en) Terminal setting method and device
CN103995666A (en) Method and device for setting work mode
CN105549960B (en) Control the method and device of camera
CN107529699A (en) Control method of electronic device and device
CN104090655A (en) Terminal and terminal control method and device.
CN107919124A (en) Equipment awakening method and device
CN105630655B (en) A kind of method and apparatus of prompt charging connection
CN108133180A (en) Fingerprint identification method, device and terminal
CN104216525A (en) Method and device for mode control of camera application
CN104375760B (en) Method for information display and device
CN105759628A (en) Intelligent device arrangement method and device
CN105975038A (en) Prompt method and device of charging port detection result
CN104410900B (en) A kind of method and device for controlling the indicator light being installed on smart machine

Legal Events

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