Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
In order to solve the problem that capacitance plate and electromagnetic screen can not be worked simultaneously in the prior art, the embodiment of the invention provides a kind of bimodulus input media and sends the method for data.
A kind of bimodulus input media disclosed by the invention, as shown in Figure 1, comprise capacitance plate 101, electromagnetic screen 102, capacitance touching control module 103, electromagnetic induction module 104, control module 105 and output module 106.Capacitance plate 101 overlays on the electromagnetic screen 102, and capacitance plate 101 is provided with layer protective layer, and this protective seam can play the flat board of protection capacitance plate 101 effects for transparent membrane or other.
Capacitance touching control module 103, it obtains the capacitance data through the touch generation that capacitance plate is sensed;
Electromagnetic induction module 104, it obtains the electromagnetic data through the touch generation that electromagnetic screen is sensed;
Control module 105, it sorts to capacitance data and the electromagnetic data that obtains according to time sequencing, obtains data queue;
Output module 106, it sends the data in the data queue that control module 105 obtains successively.
In the present embodiment, open capacitance plate 101 and electromagnetic screen 102 simultaneously, capacitance touching control module 103 is obtained capacitance plate 101 and electromagnetic screen 102 corresponding capacitance data and the electromagnetic datas that produce respectively with electromagnetic induction module 104.In order to make the bimodulus input media obtain the capacitance data of user's input; After capacitance plate 101 powers on also initialization; Open the low-power consumption mode of capacitance plate 101 and make capacitance plate be in the down trigger state, when the user touched capacitance plate 101 through modes such as hand touch, level can take place the pin of the down trigger pattern of capacitance touching control module 103 correspondences changed; Control module 105 obtains this interruption and closes interrupt response; Read capacitance data through interrupting corresponding capacitance plate 101 processing functions, data read the back opens interrupters response that finishes, and capacitance data is sorted; Capacitance data in the data queue that will form after will sorting simultaneously is sent to output module 106, and the bimodulus input media is responded according to the capacitance data of user's input.
In like manner; In order to make the bimodulus input media obtain the electromagnetic data of user's input, after electromagnetic screen 102 powered on also initialization, the low-power consumption mode of opening electromagnetic screen 102 also made electromagnetic screen 102 be in the down trigger state; When the user touches electromagnetic screen 102 through modes such as time writers; Level can take place the pin of the down trigger pattern of electromagnetic induction module 104 correspondences changes, and control module 105 obtains this interruption and closes interrupt response, reads electromagnetic data through interrupting corresponding electromagnetic screen 102 processing functions; Data read the back opens interrupters response that finishes; Electromagnetic data is sorted, and the electromagnetic data in the data queue that the back of will sorting simultaneously forms is sent to output module 106, and the bimodulus input media is responded according to the electromagnetic data of user's input.
The electromagnetic data that capacitance data that control module is obtained said capacitance touching control module according to time sequencing and electromagnetic induction module obtain sorts.In the present embodiment; For electromagnetic data, before time writer was clicked electromagnetic screen, electromagnetic screen still received the electromagnetic data of time writer emission; But the interfering data that electromagnetic data at this moment is a time writer before on electromagnetic screen, triggering; So the electromagnetic data that acquires is handled, the interfering data of deletion time writer the time near electromagnetic screen, the electromagnetic data that produces when the time writer that obtains is triggered on electromagnetic screen is as first data.Control module is sorting to first data in said capacitance data and the electromagnetic data according to time sequencing, and the data that in chronological order ordering finished are sent to output module.
As shown in Figure 2, output module sends the data in the data queue that obtains after the said control module ordering successively through an interface.For two groups of adjacent capacitance data in the data queue, output module screens the corresponding capacitance data of capacitor dielectric touch-control in the data formation, if the corresponding touch-control area of capacitance data less than the area threshold that is provided with in advance, then this capacitance data is effective.In the present embodiment; The area threshold that is provided with in advance is the area of adult's finger areas; About 2.5
; The corresponding touch-control area of capacitance data is greater than preset area threshold; The expression user carries out capacitance touching control except that other parts of finger to capacitance plate with health, filtering the situation of user owing to the false triggering of carrying out with positions such as palms, particularly when utilizing right finger on capacitance plate, to carry out touch-control; The meeting of lefthanded property contacts with capacitance plate, thereby capacitance plate is produced false triggering.When output module screens the corresponding capacitance data of capacitor dielectric touch-control in the data formation, with the touch area of correspondence less than the capacitance data of the area threshold that is provided with in advance as second data.
For two groups of adjacent electromagnetic datas in the data queue; Output module screens the corresponding person's handwriting of time writer in the data formation; If two electromagnetic data time corresponding are at interval less than the time threshold that is provided with in advance, then two groups of trigger point hypotelorisms that adjacent electromagnetic data is corresponding are similar to think to be a trigger point; Prevent to produce false touch when the user from using time writer to write, reduced system overhead.When at least two group electromagnetic datas were identical in first data, the time interval of the said at least two group electromagnetic datas that obtain was the 3rd data greater than the electromagnetic data of the time threshold that is provided with in advance.Output module sends second data and the 3rd data call thread function in the electromagnetic data that screening finishes in the capacitance data that obtains through data-interface successively.
When the capacitance data in the data formation and electromagnetic data are screened; Need to carry out capacitance data corresponding touch-control area and electromagnetic data time corresponding are calculated at interval according to the mode of software; Consuming time longer; As in control module, handling, then influence processing speed, so in output module, capacitance data and electromagnetic data are screened to capacitance data and electromagnetic data.
In the present embodiment, electromagnetic screen and capacitance plate stack are provided with, and capacitance plate places the electromagnetic screen top.When the screen of bimodulus input media was provided with by functional area, some particular functionality zone only was fit to adopt finger to carry out capacitance touching control, and some particular functionality zone also only is fit to adopt time writer to carry out electromagnetic induction.For example, when the user write, often custom was carried out the track input with adopting time writer, and for fear of unnecessary interference, often the electric capacity pickup area to correspondence position limits, the capacitance data of deletion correspondence position.In the present embodiment; To screening finish in the capacitance data that obtains second data and electromagnetic data in the 3rd data handle; Electromagnetic data or capacitance data in the zone remove restrictions; To from second data and the 3rd data, delete in advance the capacitance data that obtains behind capacitance data corresponding in the restricted area that is provided with or the electromagnetic data with electromagnetic data as the 4th data as the 4th data, and by the 4th data in the output module transmission data queue.If restricted area is touch areas such as shortcut menu, then electromagnetic data corresponding in the restricted area is shielded, second data from the capacitance data of data queue and electromagnetic data in the 3rd data in the corresponding electromagnetic data in zone that removes restrictions; If restricted area then shields capacitance data corresponding in the restricted area for writing touch area such as notes, the capacitance data of the zone correspondence that removes restrictions in second data from the capacitance data of data queue and the 3rd data in the electromagnetic data.
Simultaneously the capacitance data and the electromagnetic data of data formation are exported simultaneously for guaranteeing output module; Then the 4th data are carried out determined property; Last group of data type judging current data and current data respectively is capacitance data or capacitance data; If the two adjacent groups data type is different, not to be all capacitance data or electromagnetic data, promptly send last group of adjacent data of current data and current data; Then two groups of data call thread function are sent through data-interface, thereby the bimodulus input media is responded capacitance data and the capacitance data that the user triggers simultaneously.If the two adjacent groups data type is all capacitance data or electromagnetic data; The data type that is the data type of the current data last group data adjacent with current data is identical; The data call thread function different with the type of current data sent through data-interface together in two groups of data then choosing current data according to time sequencing and last time sent, thereby the bimodulus input media is responded capacitance data and the capacitance data that the user triggers simultaneously.As shown in Figure 3; The data type that dash box is represented is an electromagnetic data, and the data type that blank box is represented is a capacitance data, when current data is No. 2 data; The data type of No. 2 data is an electromagnetic data; The data type of No. 1 data before No. 2 data is a capacitance data, and the data type of these two groups of data is different, then sends No. 1 and No. 2 data; In like manner, send successively No. 2 and No. 3 data, No. 3 and No. 4 data, No. 4 and No. 5 data; When current data is No. 6; No. 6 data types are capacitance data, and the data type of No. 5 data before No. 6 data is for also being all capacitance data, then choose according to time sequencing No. 6 data and transmission last time No. 4 and No. 5 data in electromagnetic data; Promptly No. 4 data are then sent No. 4 and No. 6 data; In like manner, send successively No. 4 and No. 7 data; When current data was No. 8, No. 8 data types were electromagnetic data, and the data type of No. 7 data before No. 8 data is a capacitance data, and these two groups of data are not the data with data type, then send No. 7 and No. 8 data.So output module invokes thread function sends capacitance data and electromagnetic data through data-interface, and then the bimodulus input media responds capacitance data and the capacitance data that the user triggers simultaneously.
In the second embodiment of the present invention, as shown in Figure 4, the invention also discloses the method that a kind of bimodulus input media sends data, the bimodulus input media comprises: electromagnetic screen that stacks each other and capacitance plate, control module and output module, this method comprises:
Step 101 is obtained capacitance data and electromagnetic data through triggering for generating.
This device is after capacitance plate powers on also initialization; Open the low-power consumption mode of capacitance plate and make capacitance plate be in the down trigger state, when the user touched capacitance plate through modes such as hand touch, level can take place the pin of the down trigger pattern that the capacitance touching control module is corresponding changed; Control module obtains this interruption and closes interrupt response; Read capacitance data through interrupting corresponding capacitance plate processing function, data read the back opens interrupters response that finishes, and capacitance data is sorted; Capacitance data in the data queue that will form after will sorting simultaneously is sent to output module, and the bimodulus input media is responded according to the capacitance data of user's input.
Electromagnetic screen powers on after the also initialization; Open the low-power consumption mode of electromagnetic screen and make electromagnetic screen be in the down trigger state, when the user touched electromagnetic screen through modes such as time writers, level can take place the pin of the down trigger pattern that electromagnetic induction module is corresponding changed; Control module obtains this interruption and closes interrupt response; Read electromagnetic data through interrupting corresponding electromagnetic screen processing function, data read the back opens interrupters response that finishes, and electromagnetic data is sorted; Electromagnetic data in the data queue that will form after will sorting simultaneously is sent to output module, and the bimodulus input media is responded according to the electromagnetic data of user's input.
Step 102 is sorted to said capacitance data and electromagnetic data according to time sequencing by control module, obtains data queue.
In the present embodiment, the electromagnetic data that capacitance data of said capacitance touching control module being obtained according to time sequencing and electromagnetic induction module obtain sorts.In the present embodiment; For electromagnetic data, because before time writer was clicked electromagnetic screen, electromagnetic screen still received the electromagnetic data of time writer emission; But the interfering data that electromagnetic data at this moment is a time writer before on electromagnetic screen, triggering; So the electromagnetic data that acquires is handled, the interfering data that the deletion time writer produces near electromagnetic screen the time, the electromagnetic data that produces when time writer is triggered on electromagnetic screen is as first data.According to time sequencing first data in said capacitance data and the electromagnetic data are being sorted, and the data that in chronological order ordering finished are sent to output module.
Step 103 is sent the data in the said data queue successively by output module.
The corresponding capacitance data that produces of capacitor dielectric touch-control in the data formation is screened, if the corresponding touch-control area of capacitance data less than the area threshold that is provided with in advance, then this capacitance data is effective.In the present embodiment; The area threshold that is provided with in advance is the area of adult's finger areas; About 2.5
; The corresponding touch-control area of capacitance data is greater than preset area threshold; The expression user carries out capacitance touching control with health other parts except that finger to capacitance plate, filtering the capacitance data that produces owing to the false triggering of carrying out with positions such as palms of user.Particularly when right finger was carried out the touch-control input on capacitance plate, the meeting of lefthanded property contacted with capacitance plate, thereby capacitance plate is produced false triggering.When the corresponding capacitance data of capacitor dielectric touch-control in the data formation is screened, with the touch area of correspondence less than the capacitance data of the area threshold that is provided with in advance as second data.In other embodiments, when sending the data in the said data queue successively, the invokes thread function sends electromagnetic data and second data in the capacitance data in the said data queue successively through data-interface.
The person's handwriting corresponding to time writer in the data formation screens; If two electromagnetic data time corresponding are at interval less than the time threshold that is provided with in advance; Two groups of trigger point hypotelorisms that adjacent electromagnetic data is corresponding then; Be similar to think to be a trigger point, prevent to produce false touch when the user from using time writer to write, reduced system overhead.When at least two group data were identical in the electromagnetic data, the time interval of the said at least two group data of obtaining was the 3rd data greater than the electromagnetic data of the time threshold that is provided with in advance.Second data and the 3rd data call thread function in the electromagnetic data that screening finishes in the capacitance data that obtains are sent through data-interface successively.In other embodiments, when sending the data in the said data queue successively, the invokes thread function sends capacitance data and the 3rd data in the electromagnetic data in the said data queue successively through data-interface.
In the present embodiment, electromagnetic screen and capacitance plate stack are provided with, and capacitance plate places the electromagnetic screen top.When the screen of bimodulus input media was provided with by functional area, some particular functionality zone only was fit to adopt finger to carry out capacitance touching control, and some particular functionality zone also only is fit to adopt time writer to carry out electromagnetic induction.For example, when the user writes, often get used to adopting time writer input, for fear of unnecessary interference, often the electric capacity pickup area to correspondence position limits, the capacitance data of deletion correspondence position.In the present embodiment; Second data and the 3rd data in the electromagnetic data to screening finishes in the capacitance data that obtains are handled; Electromagnetic data or capacitance data in the zone remove restrictions; To from second data and the 3rd data, delete in advance the capacitance data that obtains behind capacitance data corresponding in the restricted area that is provided with or the electromagnetic data with electromagnetic data as the 4th data as the 4th data, and by the 4th data in the output module transmission data queue.If restricted area is touch areas such as shortcut menu, then electromagnetic data corresponding in the restricted area is shielded, the corresponding electromagnetic data in zone removes restrictions from second data of data queue and the 3rd data; If restricted area then shields capacitance data corresponding in the restricted area for writing touch area such as notes, the capacitance data of the zone correspondence that removes restrictions in second data from the capacitance data of data queue and the 3rd data in the electromagnetic data.
For guaranteeing simultaneously the capacitance data and the electromagnetic data of data formation to be exported simultaneously; Then the 4th data are carried out determined property; Last group of data type judging current data and current data respectively is capacitance data or electromagnetic data; If the two adjacent groups data type is different, not to be all capacitance data or electromagnetic data, promptly send last group of adjacent data of current data and current data; Then two groups of data call thread function are sent through data-interface, thereby the bimodulus input media is responded capacitance data and the electromagnetic data that the user triggers simultaneously.If the two adjacent groups data type is all capacitance data or electromagnetic data; The data type that is the data type of the current data last group data adjacent with current data is identical; The data call thread function different with the type of current data sent through data-interface together in two groups of data then choosing current data according to time sequencing and last time sent, thereby the bimodulus input media is responded capacitance data and the capacitance data that the user triggers simultaneously.
Bimodulus input media that the embodiment of the invention provides sends the method for data, through the transmission successively in the data queue that capacitance data and electromagnetic data are obtained after ordering, realizes the data transmission of bimodulus input media; Because the technical scheme that the embodiment of the invention provides is sent the data in the data queue through an interface successively, makes capacitance plate and electromagnetic screen to work simultaneously.The embodiment of the invention has solved in the prior art because the bimodulus input media obtains and send electromagnetic data and capacitance data respectively, the problem that capacitance plate and electromagnetic screen can not be worked simultaneously.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can be directly with the software modules of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection domain with claim.