Embodiment
Below in conjunction with accompanying drawing the technical scheme in the embodiment of the invention is clearly and completely described.Obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment 1
The embodiment of the invention 1 provides a kind of method that detects data card pressure and prompting user, sees also Fig. 1, and the method specifically comprises:
Step 101, the suffered pressure value of detection data card;
In this step, data card can detect its suffered ambient pressure according to various pick-up units.For example, detecting the suffered pressure of data card can detect by the pressure sensitive device.Pressure transducer commonly used can be set in data card detect the data card pressure, such as resistance strain gage pressure transducer, semiconductor gauge pressure transducer, piezoresistive pressure sensor, inductance pressure transducer, capacitance pressure transducer,, resonance type pressure sensor and capacitance acceleration transducer etc.Certainly, include but not limited to that in embodiments of the present invention the adopts pressure sensor device detects the pressure that is applied on the data card.
In the prior art, the data that usually detect by the pressure sensitive device are some analog electrical signal numerical value, and this electric signal numerical value becomes certain corresponding relation with pressure.After electric signal numerical value is changed by analog-digital commutator (for example ADC converter), can convert the numerical value of digital signal to, read this digital signal value for data card.
If the described pressure value of step 102 is during more than or equal to default threshold value, prompting user.
According to the pressure value and the predefined threshold value that obtain, judge that the numerical value of this pressure when being greater than or equal to this threshold value, points out the user.The mode that the user is pointed out can be multiple, for example by data card ejection dialog box itself, perhaps shows emergency warning lamp, perhaps the mode prompting user such as voice.Also can be that data card triggers coupled terminal device, so that terminal device ejects dialog box, perhaps show emergency warning lamp, perhaps the mode prompting user such as voice.Certainly, include but not limited in embodiments of the present invention adopt above-mentioned prompting mode prompting user.
The embodiment of the invention is by detecting the suffered pressure value of data card; the size of the threshold value of relatively presetting and the numerical value of pressure; technical scheme when described pressure value prompting user during more than or equal to this predetermined threshold value; so that the user can the present residing abnomal condition of perception data card; thereby make data card can be because pressure be excessive injury, improved the protection to data card.
Embodiment 2
The embodiment of the invention 2 provides a kind of method that detects data card pressure and prompting user, sees also Fig. 2, and the method specifically comprises:
Step 201, accept the threshold value of user input or system default.In this step, arranging of threshold value can manually be inputted by the user, also can be the dispatch from the factory numerical value of front system default of data card.The unit of this threshold value can be the unit with pressure correlation, for example newton N; Also can be the numerical value that becomes certain corresponding relation with pressure; Also can be color value, this color value be the shades of colour with the binary number value representation.Certainly, include but not limited to that in embodiments of the present invention aforesaid way arranges threshold value.
Step 202, the suffered pressure value of detection data card.
In this step, data card can detect its suffered ambient pressure according to various pick-up units.For example, detecting the suffered pressure of data card can detect by the pressure sensitive device.Pressure transducer commonly used can be set in data card detect the data card pressure, such as resistance strain gage pressure transducer, semiconductor gauge pressure transducer, piezoresistive pressure sensor, inductance pressure transducer, capacitance pressure transducer,, resonance type pressure sensor and capacitance acceleration transducer etc.Certainly, include but not limited to that in embodiments of the present invention the adopts pressure sensor device detects the pressure value that is applied on the data card.
The data that detect by the pressure sensitive device are the numerical value of some analog electrical signals, and this electric signal numerical value becomes certain corresponding relation with pressure.After electric signal numerical value is changed by digiverter, can convert the numerical value of digital signal form to, read this numerical value for data card.
Further, this pressure value can be signal numerical value, and this signal numerical value is according to the detected pressure value of pressure-detecting device.
Further, this pressure value also can be color value, and this color value is the detected pressure value of fingerprint sensor.Particularly, see also Fig. 3, this color value can parse by the following method:
Step 2021, according to the suffered pressure acquisition user's of data card information in fingerprint;
Information in fingerprint is that terminal detects the image information that produces behind user's the fingerprint, and this information in fingerprint can be color image information or monochrome image information.
In embodiments of the present invention, most fingerprint sensors can gather information in fingerprint by three kinds of main sensing technologies such as optical scanning, semiconductor temperature-sensitive, semicoductor capacitor.
The situation that gathers information in fingerprint in this step is described as an example of the semiconductor fingerprint sensor example.The semiconductor fingerprint sensor comprises semi-conductor electricity capacity sensor, semiconductor pressure-sensitive sensor, conductor temperature induction pick-up etc.Take the semiconductor fingerprint sensor as example, the top layer of semiconductor pressure-sensitive sensor is whippy pressure sensitivity dielectric material, user's fingerprint is with after this pressure-sensitive sensor contacts, on this flexible pressure sensitivity dielectric material, according to the concavo-convex corresponding electric signal that is converted into of fingerprint, and generation has the gray level fingerprint image.Particularly, semiconductor pressure-sensitive sensor is that deformation by the pressure-sensitive dielectric material of perception semiconductor forms picture signal.Adopt the fingerprint sensor surface of semiconductor pressure sensitivity technology, be covered with a series of small pressure-sensitive media units.The unit that these are tiny, the variation sensing of pressure is very responsive to external world.When finger is placed into fingerprint collecting when surface, because the ridge of fingerprint is protruding, the valley is recessed, and bossing will be to pressure-sensitive unit mineralization pressure, and makes the generation deformation of pressure-sensitive unit; Because varying in size of the pressure of pressure-sensitive unit that the user acts on is like this so that deformation in various degree can occur in pressure-sensitive unit.Because after the deformation of pressure-sensitive unit, its resistance value can change, thereby causes change in voltage.Recessed valley does not produce pressure in the unit of correspondence, so its corresponding magnitude of voltage can not become changing.Just can form the numerical information of ridge and valley on the fingerprint pattern by different magnitudes of voltage, i.e. information in fingerprint.
For the semi-conductor electricity capacity sensor, the curent change detection that produces by survey sensor and finger contact/noncontact has or not fingerprint, and realizes the information in fingerprint of high reliability according to texture informations such as fingerprint ridge, valleys.Particularly, at integrated approximately 100000 capacitance type sensors (outer layer insulation) of semiconductor alloy array, the sensor array every bit is a metal electrode, is equivalent to capacitor anode; Finger is placed on when top, and skin forms another utmost point of electric capacity, and sensitive face forms two interpolar dielectric layers.Capacitance is with ridge
(near) and valley (far away) are with respect to the distance of sensor array and change.Because the fingerprint lines depth
Difference, each capacitance of silicon face capacitor array also has different, and this capacitance is converted into the 8bit gray level image,
Measure and record each point capacitance, can obtain to have the information in fingerprint of gray-scale value.Certainly, at this
Include but not limited in the inventive embodiments that above-mentioned technology gathers information in fingerprint.
Step 2022, resolve the color value of fingerprint image according to described information in fingerprint;
This color value can be the colouring intensity value, also can be gray-scale value.
If in the information in fingerprint that receives, fingerprint image is colored, has so the colouring intensity value of fingerprint image in this information in fingerprint.In the prior art, the most frequently used color standard is RGB (Red Green Blue) color mode, is to obtain color miscellaneous by variation and their stacks each other to red (R), green (G), blue (B) three Color Channels.Rgb color pattern using RGB model is that the RGB component of each pixel in the image distributes the intensity level in 0~255 scope.For example: pure red R value is that 255, G value is that 0, B value is 0; R, G, the B of white are 255; The R of black, G, B are 0 etc., also can represent above-mentioned color with three-number set, and for example pure red is that (255,0,0), white are (255,255,255), and black is (0,0,0) etc.
If in the information in fingerprint that receives, fingerprint image is black and white, comprises so the color gray-scale value of image in this information in fingerprint.In the prior art, having represented black with numerical value 0-255 is color to white a series of black and white.For example 0 is black, and 255 is white, and the numerical value such as 45,84,145 have represented the grey in various degree between black and white.
In above-mentioned two kinds of definitions of color methods, also can realize by algorithm of the prior art the conversion of colouring intensity value and color gray-scale value.Be understandable that, in embodiments of the present invention, include but not limited to that aforesaid way determines color value.
Whether the pressure value that step 203, judgement detect is more than or equal to default threshold value.If this pressure value is more than or equal to threshold value, then execution in step 205; Otherwise, execution in step 204.
Step 204, prompting user not.
Step 205, prompting user.Be during more than or equal to the threshold value that arranges when judging this pressure value, data card ejects dialog box and carries out prompting user, and the content of prompting can be: " warning: the data card pressure is excessive! " etc. the warning poster; Can also come prompting user by voice; Also can be by showing that emergency warning lamp comes prompting user.In addition, data card also can trigger coupled terminal device ejection dialog box and come prompting user, and perhaps terminal device comes prompting user by voice, perhaps by showing that emergency warning lamp comes prompting user.Be understandable that, include but not limited to that in embodiments of the present invention aforesaid way comes prompting user.
The embodiment of the invention is by detecting the suffered pressure value of data card; the threshold value of relatively presetting and the size of pressure value; technical scheme when pressure value prompting user during more than or equal to this predetermined threshold value; so that the user can the present residing abnomal condition of perception data card; thereby make data card can be because pressure be excessive injury, improved the protection to data card.In addition, when brush finger line dynamics is excessive, the user is pointed out, also greatly improved user's experience, avoided the user to operate blindly and the damage of the data card that causes.
Embodiment 3
The embodiment of the invention 3 provides a kind of data card, and as shown in Figure 4, this data card comprises: shell 401, interface 402, circuit board 403 and pressure sensitive device 404, wherein:
Interface 402 is connected with circuit board 403, and circuit board 403 is positioned at described shell, and pressure sensitive device 404 is positioned at the junction that interface 402 is connected with circuit board 403, and pressure sensitive device 404 is connected with first processor on the circuit board.
When interface 402 is subject to extraneous pressure or collision, interface 402 can produce certain vibration, because pressure sensitive device 404 is positioned at the junction of interface 402 and circuit board 403, the pressure sensitive device can be sensed pressure or the collision that interface 402 transmits, the deformation of build-up of pressure induction installation or other variations physically; This variation physically can change the variation of the pressure value in the pressure sensitive device 404, and pressure sensitive device 404 sends to first processor on the connected circuit board 403 with the change of this numerical value; First processor on the circuit board 403 judges whether this signal numerical value is greater than or equal to default threshold value.If it is more than or equal to default threshold value that first processor is judged this signal numerical value, then prompting user perhaps triggers the terminal device that is connected with data card and comes prompting user.
In some other embodiment, pressure sensitive device 404 also can be positioned at described shell.Particularly, pressure sensitive device 404 is positioned at the inside surface of described shell 401 or exposes to the outside surface of described shell.In this embodiment, pressure sensitive device 404 detects the suffered pressure value of shell, and this pressure value is sent to first processor on the connected circuit board 403.First processor on the circuit board 403 further compares pressure value and the threshold value of presetting, if when pressure numerical value is greater than or equal to default threshold value, and prompting user.Be understandable that, in embodiments of the present invention, the diverse location that pressure sensitive device 404 arranges is not done any restriction at this.
Further, the pressure sensitive device is specifically as follows a simple strain gauge pressure sensor, the perhaps pressure transducer of other types.
Further, as shown in Figure 5, this first processor can comprise:
First threshold unit 5011 is for the threshold value of accepting user's input or system default;
The first receiving element 5012 is used for receiving suffered pressure value;
The first judging unit 5013 is used for judging that whether described pressure value is more than or equal to predetermined threshold value;
The first Tip element 5014 is used for when judging pressure value more than or equal to predetermined threshold value prompting user.
The content of prompting can be: " warning: the data card pressure is excessive! " etc. the warning poster; Can also come prompting user by voice; Also can be by showing that emergency warning lamp comes prompting user.In addition, data card also can trigger coupled terminal device ejection dialog box and come prompting user, and perhaps terminal device comes prompting user by voice, perhaps by showing that emergency warning lamp comes prompting user.Be understandable that, include but not limited to that in embodiments of the present invention aforesaid way comes prompting user.
The data card that provides in the embodiment of the invention (being radio modem) is so that the user can the present residing abnomal condition of perception data card; thereby make data card can be because pressure be excessive injury, improved the protection to data card.
Embodiment 4
The embodiment of the invention 4 provides a kind of data card, such as Fig. 6, shown in, this data card comprises: shell 601, interface 602, circuit board 603 and fingerprint sensor 604, described interface 602 is connected with described circuit board 603, and described circuit board 603 is arranged in described shell 601 (Fig. 6 is not shown), and described fingerprint sensor 604 is located at shell 601, and be connected with the second processor on the described circuit board 603, wherein:
Fingerprint sensor 604 gathers user's information in fingerprint, and the second processor is determined the color value of fingerprint image according to information in fingerprint; Judge that whether described color value is more than or equal to default threshold value; If judge color value more than or equal to default threshold value, then prompting user.In embodiments of the present invention, fingerprint sensor 604 is according to sensing principle, be fingerprint imaging principle and technology, be divided into optical fingerprint sensor, semicoductor capacitor sensor, semiconductor heat dependent sensor, semiconductor pressure sensor, ultrasonic sensor and radio frequency sensor.Certainly, said fingerprint sensor includes but not limited to the fingerprint sensor of the above-mentioned type in the embodiment of the invention.
Particularly, as shown in Figure 7, this second processor can comprise:
Second Threshold unit 7011 is for the threshold value of accepting user's input or system default;
The second receiving element 7012 is used for receiving the information in fingerprint that fingerprint sensor sends;
Resolution unit 7013 is used for the color value according to the information in fingerprint parsing fingerprint image that receives;
The second judging unit 7014 is used for judging that whether described color value is more than or equal to default threshold value;
The second Tip element 7015 is used for when judging described color value more than or equal to the threshold value preset the terminal notifying user that prompting user or triggering are connected with data card.
The content of prompting can be: " warning: the data card pressure is excessive! ", " please correctly swiping the card " etc. warning poster; Can also come prompting user by voice; Also can be by showing that emergency warning lamp comes prompting user.In addition, data card also can trigger coupled terminal device ejection dialog box and come prompting user, and perhaps terminal device comes prompting user by voice, perhaps by showing that emergency warning lamp comes prompting user.Be understandable that, include but not limited to that in embodiments of the present invention aforesaid way comes prompting user.
The embodiment of the invention gathers user's finger print information by fingerprint sensor; and judge whether more than or equal to default threshold value according to the color value in the finger print information; technical scheme when color value prompting user during more than or equal to default threshold value; the injury so that the pressure of data card can be because of suffered not swiping the card the time is excessive; greatly improved the protection to data card; in addition; when brush finger line dynamics is excessive, the user is pointed out; also greatly improve user's experience, avoided the user to operate blindly and the damage of the data card that causes.
Need to prove, for the interface of mentioning among above-mentioned all embodiment, this interface 40 includes but not limited to pcmcia interface, USB (Universal Serial BUS) interface, EXPRESS interface and CF (Compact Flash) interface etc.
Need to prove, " first " in above-described embodiment, " second " etc. are the names of carrying out for the ease of distinguishing each element in the accompanying drawing, to the embodiment of the invention and do not constitute any limitation.
One of ordinary skill in the art will appreciate that, realize all or part of flow process in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.