Summary of the invention
Because above-mentioned problem, purpose of the present invention for provide a kind of writing pencil, handwriting pen system with and control method, by writing pencil as intermediary, in order to carry out the usefulness of the data exchange between the two portable type main frames.
Therefore,, the invention provides a kind of writing pencil, comprise for reaching above-mentioned purpose: a mnemon, in order to store data; One transmission unit is electrically connected this mnemon, and in order to receiving data from the external world, and the data storage that will receive maybe transmits the data that stores in this mnemon in this mnemon to the external world; One input block is in order to provide first control signal and second control signal; And a processing unit, be electrically connected this transmission unit and this input block, and drive this transmission unit according to this first control signal and deposit this data in this mnemon, and drive this transmission unit according to this second control signal this data is outwards transmitted.
The present invention also provides a kind of handwriting pen system, comprises a portable type main frame and a writing pencil, and wherein this portable type main frame has: first mnemon, in order to store data; And first transmission unit, be electrically connected this first mnemon, in order to receiving data from this writing pencil, and with this data storage that receives to this first mnemon, maybe the data of storing in this first mnemon is transmitted to this writing pencil; This writing pencil has: a mnemon, in order to store data; One transmission unit is electrically connected this mnemon, in order to receiving data from this portable type main frame, and with this data storage that receives to this mnemon, maybe the data of storing in this mnemon is transmitted to this portable type main frame; One input block is in order to provide first control signal and second control signal; An and processing unit, be electrically connected this transmission unit and this input block, and drive this transmission unit according to this first control signal and deposit this data in this mnemon, and drive this transmission unit according to this second control signal and see through this first transmission unit, this data transmission is given first transmission unit of this portable type main frame.
The present invention also provides a kind of control method of writing pencil, be applicable to that a writing pencil and a portable type main frame carry out the data transmission, after this control method comprises the following steps: that this writing pencil receives first control signal, transmit the request of sending the transmission data to this portable type main frame; This portable type main frame receives the request of this transmission data, and data is sent to this writing pencil; This writing pencil receives this data that this portable type main frame sends, and with this data storage in the mnemon of this writing pencil; After this writing pencil receives second control signal, the request of sending the reception data to this portable type main frame; This portable type main frame receives the request of this reception data, sends the back-signalling that allows the reception data to this writing pencil; After this writing pencil receives this back-signalling, the data that is stored in the mnemon is sent to this portable type main frame; This portable type main frame receives this data, and storage.
From the above, because of according to writing pencil of the present invention, handwriting pen system and control method, can improve user's convenience by writing pencil in order to data transmission.
Embodiment
Hereinafter with reference to relevant drawings, the handwriting pen system according to preferred embodiment of the present invention is described.See also Fig. 1 and shown in Figure 2, be the synoptic diagram and the calcspar of handwriting pen system preferred embodiment of the present invention.
Handwriting pen system 1 includes: a writing pencil 10 and a portable type main frame 20.Wherein, writing pencil 10 and portable type main frame 20 collocation use mutually, one user can click data on the screen 22 of portable type main frame 20 by writing pencil 10, in order to duplicate the data of portable type main frame 20, and data is deposited to writing pencil 10, or the user can deposit the data in the writing pencil 10 in the portable type main frame 20 in.At this moment, the user can be by writing pencil 10 easily wherein data pass in another portable type main frame 20 '.
In this preferred embodiment, portable type main frame 20 can be a mobile phone, also can be a personal digital aid (PDA) (Personal Digital Assistance, PDA), or other electronic installations that can click by writing pencil.
As shown in Figure 2, this portable type main frame 20 has first mnemon 21, first transmission unit 23 and a display unit 25.Wherein, first mnemon 21 is in order to store the data that writing pencil 10 transmits.First mnemon 21 can be a flash memory (Flash memory), a programmable read only memory (programmableread-only memory, PROM), one EPROM (Erasable Programmable Read Only Memory) (Erasable ProgrammableRead-Only Memory, EPROM) or an electronics EPROM (Erasable Programmable Read Only Memory) (ElectricallyErasable Programmable Read-Only Memory, and be familiar with the known storer of this operator EPPROM).
First transmission unit 23 is electrically connected this first mnemon 21, and this first transmission unit 23 is a wireless transmission interface (for example, a Bluetooth transmission interface (Bluetooth) or an infrared transmission interface (IrDA), or other wireless transmission interfaces).
Display unit 25 is in order to show the state of portable type main frame 20, in order to provide first shows signal (in this preferred embodiment, be made as the message that data transmission is finished) or second shows signal (in this preferred embodiment, be made as the message of data bust this), learn present user mode in order to the user.In this preferred embodiment, display unit 25 can be one and appears form (popup window) suddenly, show that in order to the screen 22 that is the portable type main frame form mode informs a user mode or the hummer that the user is present, inform a user mode that the user is present or a lcd screen .. etc. by sound.
And this writing pencil 10 has a mnemon 11, an input block 13, a transmission unit 15, a processing unit 17.Mnemon 11 is in order to store data.In this preferred embodiment, this mnemon 11 can be a flash memory (Flash memory), a programmable read only memory (programmableread-only memory, PROM), one EPROM (Erasable Programmable Read Only Memory) (Erasable ProgrammableRead-Only Memory, EPROM) or an electronics EPROM (Erasable Programmable Read Only Memory) (ElectricallyErasable Programmable Read-Only Memory, or other storeies EPPROM).
It is electrically connected this mnemon 11 transmission unit 15, and transmission unit 15 is in order to the data in the transmission mnemon 11.This transmission unit 13 is a wireless transmission interface (for example, a Bluetooth transmission interface or an infrared transmission interface, or other know the known wireless transmission interface of this operator).
It controls signal to processing unit 17 in order to first control signal and second to be provided input block 13.In this preferred embodiment, input block 13 is a key groups, and this key groups has first button 131 and second button 132.When a user pushes first button 131, then provide first to control signal to processing unit 17, and when the user pushes second button 132, then provide second to control signal to processing unit 17.
Processing unit 17 its electrical connection transmission units 15 and input block 13, and foundation first control signal driving transmission unit 15 deposits the data of portable type main frame 20 in this mnemon 11, and according to second control signal driving transmission unit 15 data is deposited to portable type main frame 20.
In addition, first transmission unit 23 and the transmission unit 15 of writing pencil 10 of portable type main frame 20 can be the wireless transmission interface of same specification, in order to mutual data transmission.For example when transmission unit 15 was a Bluetooth transmission interface, then first transmission unit 23 also was a Bluetooth transmission interface.
Illustrate, handwriting pen system 1 of the present invention is made flowing mode, when user's desire utilizes writing pencil 10 to duplicate data in the portable type main frame 20, can earlier writing pencil 10 be clicked the shown data of screen 22 of portable type main frame 20, and push first button 131, processing unit 17 meetings this moment see through transmission unit 15 and send first request signal to portable type main frame 20, allow to duplicate the data that writing pencil 10 is clicked in order to request.After portable type main frame 20 is received first request signal, judge promptly whether present portable type main frame 20 can duplicate, if portable type main frame 20 allows to duplicate, beginning that then data is seen through first transmission unit 23 sends, receive via transmission unit 15 again and deliver in the mnemon 11, in order to finish document copying, and after document copying is finished, display unit 25 promptly sends first shows signal, finishes in order to prompting user data transmission, in addition, after if portable type main frame 20 is received first request signal, portable type main frame 20 does not allow to duplicate and does not promptly transmit data, and display unit 25 sends second shows signal, in order to the failure of prompting user data transmission.
Otherwise, if user's desire is with the data transmission in the mnemon 11 of writing pencil 10 during to portable type main frame 20, then push second button 132, processing unit 17 meetings this moment see through this transmission unit 15 and send second request signal to portable type main frame 20, allow to receive the data that writing pencil 10 tendencies to develop are sent in order to request.After portable type main frame 20 is received second request signal, promptly judge whether and to receive, if portable type main frame 20 allows to receive, then portable type main frame 20 is sent a back-signalling to writing pencil 10, after writing pencil 10 is received back-signalling, beginning that promptly data is seen through transmission unit 15 sends, receive via first transmission unit 23 again and deliver in first mnemon 21, in order to finish the action of writing pencil data transmission, and display unit 25 sends first shows signal, finish in order to prompting user data transmission, in addition after portable type main frame 20 is received second request signal, if portable type main frame 20 does not allow to receive, then this portable type main frame 20 is sent back-signalling to writing pencil 10, and after writing pencil 10 was received back-signalling, the data that promptly do not transmit was to portable type main frame 20, and display unit 25 sends second shows signal, in order to the failure of prompting user data transmission.
In addition, see also Fig. 1 and shown in Figure 3, be used to transmit the synoptic diagram and the calcspar of two portable type host datas for writing pencil of the present invention.Writing pencil 10 can be in order to transmit two portable type main frames 20,20 ' data, when user's desire reaches the data of portable type main frame 20 in portable type main frame 20 ', utilize writing pencil 10 to duplicate data in this portable type main frame 20 earlier, and with data storage in mnemon 11, again writing pencil 10 is moved to the position of portable type main frame 20 ', again 10 data in the writing pencil is reached portable type main frame 20 ', can finish the action of transmitting two portable type main frames 20,20 ' data, its start principle such as above-mentioned is not given unnecessary details at this.
In addition, the present invention also provides a kind of preferred embodiment of writing pencil, and it is same as above-mentioned writing pencil 10, is not given unnecessary details at this.
See also shown in Figure 4ly, be the preferred embodiment of control method of the present invention.This control method may be implemented in the handwriting pen system shown in Figure 31.This control method comprises the following steps:
Step 91: writing pencil 10 receives first control signal, require this portable type main frame 20 to transmit the data that writing pencil 10 is clicked, wherein, click the data on the screen 22 of portable type main frame 20 by writing pencil 10 as the user, and push first button 131, then this input block 13 provides first to control signal to processing unit 17, and this moment, writing pencil 10 sent first request signal through transmission unit 15, duplicated the data that writing pencil 10 is clicked in order to require portable type main frame 20 to allow;
Step 92: after this portable type main frame 20 is received first request signal, judge promptly whether present portable type main frame 20 can duplicate transmission, if then execution in step 93, if not, then execution in step 94;
Step 93: if portable type main frame 20 allows to transmit this data, then writing pencil 10 reads this data, wherein, if portable type main frame 20 allows to duplicate transmission, then portable type main frame 20 begins data is sent through first transmission unit 23, receives via transmission unit 15 and delivers in the mnemon 11, in order to finish data transmission, and after document copying was finished, display unit 25 promptly sent first shows signal, finished in order to prompting user data transmission;
Step 94: if portable type main frame 20 does not allow the transmission data, writing pencil 10 does not read this data, wherein, after if portable type main frame 20 is received first request signal, when portable type main frame 20 does not allow to duplicate, promptly do not transmit data, and display unit 25 sends second shows signal, in order to the failure of prompting user data transmission;
Step 81: writing pencil 10 receives second control signal, require portable type main frame 20 ' to receive this data, wherein, when the user moves to writing pencil 10 screen 22 of portable type main frame 20 ' and pushes second button 132, then input block 13 provides second to control signal to processing unit 17, and processing unit 17 sees through transmission unit 15 and sends one second request signal to portable type main frame 20 ', allows to receive the data that writing pencil 10 tendencies to develop are sent in order to request;
Step 82: after portable type main frame 20 ' is received second request signal, promptly judge whether to carry out the reception data, if then execution in step 83, if not, then execution in step 84;
Step 83: if portable type main frame 20 ' allows the reception data, writing pencil 10 transmission data are to portable type main frame 20 ', wherein, if portable type main frame 20 ' allows to receive, then portable type main frame 20 is sent a back-signalling to writing pencil 10, after writing pencil 10 is received back-signalling, beginning that promptly data is seen through transmission unit 15 sends, receive via first transmission unit 23 again and deliver in first mnemon 21, in order to finish the action of writing pencil data transmission, and the display unit 25 of portable type main frame 20 ' sends first shows signal, finishes in order to prompting user data transmission;
Step 84: if portable type main frame 20 ' does not allow to receive this data, writing pencil 10 does not transmit data to portable type main frame 20 ', wherein, after portable type main frame 20 ' is received second request signal, promptly judge whether and to receive, if portable type main frame 20 ' allows to receive, then portable type main frame 20 ' is sent a back-signalling to writing pencil 10, after writing pencil 10 is received back-signalling, begin that promptly data is seen through transmission unit 15 and send, receive via first transmission unit 23 again and deliver in first mnemon 21, in order to finish the action of writing pencil data transmission, and display unit 25 sends first shows signal, finishes in order to prompting user data transmission.
Comprehensively above-mentioned, can learn writing pencil of the present invention, handwriting pen system with and control method, provide the user can utilize writing pencil as intermediary, in order to carry out the data exchange between the two portable type main frames, can exempting in the past, the user must enter AD HOC with the portable type main frame, and must in a specific range, just get the shortcoming of data transmission, by writing pencil of the present invention, handwriting pen system with and control method, can provide the user to operate more easily, and unrestricted transmission range.
The above only is an illustrative, but not is restricted person.Anyly do not break away from spirit of the present invention and category, and, all should be contained in the accompanying claim its equivalent modifications of carrying out or change.