Summary of the invention
The technical problem to be solved in the present invention provides a kind of writing pencil, portable terminal and utilizes the method for writing pencil at the enterprising line operate of portable terminal, carries out unhandy problem by finger when using mobile terminal of touch screen in order to solve prior art.
For solving the problems of the technologies described above, on the one hand, the invention provides a kind of writing pencil, described writing pencil comprises:
Power supply unit is used to each power unit power supply of writing pencil;
The operation input block is used for input operation information;
Control circuit unit is used to export the electromagnetic field signal corresponding with described operation information.
Further, described control circuit unit comprises:
The modulating signal circuit subelement is used for described operation information is converted into modulation signal;
Electromagnetic field output circuit subelement is used for according to described modulation signal, exports the electromagnetic field signal corresponding with described operation information.
Further, described modulation signal is frequency, amplitude, phase place or switching pulse signal.
Further, described writing pencil is made by conductive material.
On the other hand, the present invention also provides a kind of portable terminal, comprises terminal body and writing pencil, and described writing pencil comprises:
Power supply unit is used to each power unit power supply of writing pencil;
The operation input block is used for input operation information;
Control circuit unit is used to export the electromagnetic field signal corresponding with described operation information;
Described terminal body adopts the capacitance plate input mode, by the capacitive sensing device, responds to described electromagnetic field signal, and described electromagnetic field signal is resolved, and parses described operation information, according to described operation information, carries out corresponding operating.
Further, described control circuit unit comprises:
The modulating signal circuit subelement is used for described operation information is converted into modulation signal;
Electromagnetic field output circuit subelement is used for according to described modulation signal, exports the electromagnetic field signal corresponding with described operation information.
Further, described modulation signal is frequency, amplitude, phase place or switching pulse signal.
Further, described writing pencil is made by conductive material.
On the one hand, the present invention also provides a kind of writing pencil method of operating on portable terminal of utilizing again, and described portable terminal comprises terminal body and writing pencil, said method comprising the steps of:
Operation input block input operation information on the described writing pencil;
The control circuit unit output electromagnetic field signal corresponding on the described writing pencil with described operation information;
Described terminal body adopts the capacitance plate input mode, by the capacitive sensing device, responds to described electromagnetic field signal, and described electromagnetic field signal is resolved, and parses described operation information, according to described operation information, carries out corresponding operating.
Further, frequency, amplitude, phase place or switching pulse information by controlling described electromagnetic field signal make described electromagnetic field signal corresponding with described operation information.
Beneficial effect of the present invention is as follows:
The present invention is by adding control circuit unit in writing pencil inside, make writing pencil can externally export electromagnetic field, when the user uses the capacitance touch screen portable terminal, the user no longer need operate in mode such as swipe, only need in the enterprising line correlation operation of writing pencil, portable terminal can be realized corresponding operation, makes the more convenient convenience of input, has increased user experience.
Embodiment
Carry out unhandy problem by finger when using mobile terminal of touch screen in order to solve prior art, the invention provides a kind of writing pencil, portable terminal and utilize the method for writing pencil at the enterprising line operate of portable terminal, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, does not limit the present invention.
As shown in Figure 1, the embodiment of the invention relates to a kind of writing pencil, comprising:
Power supply unit 101 is used to each power unit power supply of writing pencil.The writing pencil that the present invention adopts is active writing pencil, promptly must have certain internal drive working current.Power supply unit connects power supply in can being, also can be external power supply.
Operation input block 102 is used for input operation information.The effect of this unit is the interface that is to provide user's input, and for the user provides the input structure of user's input operation information, for example: this operation input block can be the page turn over operation button of four direction up and down, or the button of other form; Also can be other forms such as ball, roller, acceleration transducer, infrared induction input.Operation information is that the user wishes that (portable terminal) carries out the information of corresponding operating, for example, carries out the page turn over operation of upper and lower, left and right direction, carries out the operation of screen locking, release, the right and left key operation, or the like.
Control circuit unit is used to export the electromagnetic field signal corresponding with described operation information.That is: control circuit unit is that different operation informations is converted into different electromagnetic field signals, like this, writing pencil is when terminal body output electromagnetic field signal, different electromagnetic field signals has just been represented different operation informations, the electromagnetic field signal that terminal body is sensed by parsing, just can obtain with this electromagnetic field signal corresponding operation information what is, and then can realize carrying out the purpose of associative operation according to this operation information.
Wherein, control circuit unit also comprises:
Modulating signal circuit subelement 103 is used for operation information is converted into modulation signal; Be specially, receive the operation information of user's input on writing pencil operation input block 102, and different operation informations is converted into different modulation signals; Modulation signal can be modes such as frequency, amplitude or phase place, also can be the simplest switching pulse etc.
Electromagnetic field output circuit subelement 104 is used for according to described modulation signal, exports the electromagnetic field signal corresponding with described operation information.The final purpose of writing pencil is: make the writing end of writing pencil can export the electromagnetic field of certain intensity, allow the capacitance plate can normal induction, therefore, electromagnetic field output circuit subelement 104 is connected with modulating signal circuit subelement 103, receive the modulation signal that modulating signal circuit subelement 103 is sent, and, export the electromagnetic field corresponding with operation information according to this modulation signal.
When writing pencil was made by conductive material, because staff itself has electric field, the electric field of staff just can write to hold and launch by writing pencil, is moved the terminal body and responds to.Therefore, writing pencil can not need outwards output electric field of electromagnetic field output circuit subelement 104.In the case, the control circuit unit electric field that only need control staff gets final product with different electromagnetic field signal output.For example, be example with the scale-of-two, by simple break-make control, promptly the electric field of may command staff is with different electromagnetic field signal output; Suppose that it is 1 that writing pencil is outwards exported 10 milliseconds of electromagnetic field signals (being that state is logical), it is 0 that writing pencil forbids outwards exporting 10 milliseconds of electromagnetic field signals (being that state is disconnected); So, when electromagnetic field signal is 0001, just can be corresponding with the operation information of upwards page turning; When electromagnetic field signal is 0010, just can be corresponding with the operation information of downward page turning; When electromagnetic field signal is 0011, just can be corresponding with the operation information of page turning left; When electromagnetic field signal is 0100, just can be corresponding with the operation information of page turning to the right.
Fig. 2 is a kind of writing pencil modulation of embodiment of the invention control mode example schematic, as shown in Figure 2, in this embodiment, goes up page turning with 0001 expression, 0010 expression page turning down, the left page turning of 0100 expression, the right page turning of 1000 expressions.Drop to low level with high level and represent 0, rise to high level with low level and represent 1.Those skilled in the art should know, the method for expressing of page turning up and down, and 0,1 modulation represents that mode is all of a great variety.Expression mode with numeral 0,1 is an example, has with high level and represents 1; low level represents 0, and high-frequency represents 1, and low frequency is represented 0 or the like several different methods; this place only provides a kind of example, can't enumerate one by one, but various method for expressing all should be the protection domain of this patent thought.
The embodiment of the invention also relates to a kind of portable terminal, comprises terminal body and writing pencil, and writing pencil comprises:
Power supply unit is used to each power unit power supply of writing pencil;
The operation input block is used for input operation information;
Control circuit unit is used to export the electromagnetic field signal corresponding with described operation information;
Described terminal body adopts the capacitance plate input mode, by the capacitive sensing device, responds to described electromagnetic field signal, and described electromagnetic field signal is resolved, and parses described operation information, according to described operation information, carries out corresponding operating.
Writing pencil in the present embodiment can be replaced by the writing pencil of the foregoing description, and therefore, present embodiment no longer is described in detail writing pencil.
As shown in Figure 3, the embodiment of the invention also relates to a kind of writing pencil method of operating on portable terminal of utilizing, and described portable terminal comprises terminal body and writing pencil, said method comprising the steps of:
Step S301, the operation input block input operation information on the writing pencil;
Step S302, the control circuit unit output electromagnetic field signal corresponding on the writing pencil with described operation information; In this step, frequency, amplitude, phase place or switching pulse information by controlling described electromagnetic field signal make described electromagnetic field signal corresponding with described operation information;
Step S303, terminal body respond to described electromagnetic field signal, and described electromagnetic field signal is resolved, and parse described operation information, according to described operation information, carry out corresponding operating.Wherein, terminal body adopts the capacitance plate input mode, and responds to described electromagnetic field signal by the capacitive sensing device.
Writing pencil is to the modulating rule and the resolution rules employing identical rule of terminal body to electromagnetic field signal of electromagnetic field signal, all pre-set, therefore, writing pencil is according to pre-set modulating rule modulation electric field signal, terminal body is resolved according to pre-set resolution rules, just can obtain the operation information of user's input.For example: with the scale-of-two is example, goes up page turning with 0001 expression, 0010 expression page turning down, the left page turning of 0011 expression, the right page turning of 0100 expression; 0101 expression is locked, 0110 expression release; 0111 expression is double-clicked; 1000 expression left buttons; 1001 expression right buttons or the like.The electromagnetic field signal that writing pencil sends according to above-mentioned rule modulation, terminal body can obtain corresponding operation information according to above-mentioned rule parsing electromagnetic field signal.
Portable terminal in the present embodiment can be the portable terminal in the foregoing description, therefore, in the present embodiment, portable terminal no longer is described in detail.
As shown in Figure 4, be example below with the page turn over operation, to describe in detail and utilize writing pencil to carry out the step of page turn over operation, concrete steps are as follows:
Step 401, the user carries out page turn over operation on writing pencil, that is: by the operation input block on the writing pencil, the operation information of input page turn over operation;
Whether step 402, the control circuit unit decision operation information of writing pencil are the operation information of page turning upwards, if, then change step S403, if not, then change step S404;
Step S403, control circuit unit modulation and the corresponding control code of page turning that makes progress, the execution in step S410 of writing pencil;
Step S404, whether the control circuit unit decision operation information of writing pencil is the operation information of downward page turning, if, then change step S405, if not, then change step S406;
Step S405, the control circuit unit modulation of writing pencil and the downward corresponding control code of page turning, execution in step S410;
Step S406, whether the control circuit unit decision operation information of writing pencil is the operation information of page turning left, if, then change step S407, if not, then change step S408;
Step S407, the control circuit unit modulation control code corresponding of writing pencil, execution in step S410 with page turning left;
Step S408, whether the control circuit unit decision operation information of writing pencil is the operation information of page turning to the right, if, then change step S409, if not, then change step S411;
Step S409, the control circuit unit modulation control code corresponding of writing pencil, execution in step S410 with page turning to the right;
Step S410, the control circuit unit of writing pencil sends the writing pencil electromagnetic field according to control code;
Step S411 finishes.
As shown in Figure 5, be example below with the page turn over operation, the electromagnetic field of describing the output of terminal body induction writing pencil in detail carries out the step of page turn over operation, and concrete steps are as follows:
The electromagnetic field that step S501, terminal body sense the writing pencil input changes;
Step S502 judges whether to be the page turn over operation initial code, if, then change step S503, if not, then change step S506;
Step S503 detects the change of follow-up writing pencil input electromagnetic field;
Step S504 resolves the writing pencil electromagnetic field and changes corresponding operation information, judges whether this operation information is certain page turn information, if, then change step S505, if not, then change step S506;
Step S505 reports application program, confirms to carry out page turn over operation;
Step S506 finishes.
As can be seen from the above-described embodiment, the present invention is by adding control circuit unit in writing pencil inside, make writing pencil can externally export electromagnetic field, when the user uses the capacitance touch screen portable terminal, the user no longer need operate in mode such as swipe, and only needs in the enterprising line correlation operation of writing pencil, and portable terminal can be realized corresponding operation, make the more convenient convenience of input, increased user experience.
Although be the example purpose, the preferred embodiments of the present invention are disclosed, it also is possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to the foregoing description.