Background technology
Mobile phone is the invention of American I T giant Motorola Inc. the earliest, using in the world is at present the most extensively so-called second generation mobile phone, based on the CDMA of the GSM standard in Europe and the U.S., also has the PDC etc. that the IDEN network formats of Motorola, Japan Area use in addition.They are all digital systems, except carrying out except voice communication, can also receive and dispatch note, WAP (wireless application protocol) etc.Cell phone keyboard part, except typical telephony feature, further comprises the more function such as PDA, game machine, MP3, camera, photography, recording, GPS, online.
Present mobile phone becomes the necessary articles for use of life of people gradually, and popularizing fast along with panel computer, when its touch experience slowly can not get promoting, employing mouse carries out inputting just becomes first-selected, and mouse volume is relatively large, user carries inconvenience, conveniently Consumer's Experience, just by mouse applications on mobile phone.All adopting in prior art is directly installed on mobile phone by the unit of mouse, and to facilitate Consumer's Experience, but its cost is higher, add manufacturing cost, and each element of mouse is long-pending comparatively large, is difficult to control the integrally-built design of mobile phone, brings inconvenience to user.
As can be seen here, prior art needs further improvement and develops.
Summary of the invention
The present invention provides a kind of cell phone mouse simulation system and its implementation for solving above-mentioned defect of the prior art, to reduce mobile phone manufacturing cost, reduces the design difficulty of mobile phone.
For solving the problems of the technologies described above, the present invention program comprises:
A kind of cell phone mouse simulation system, wherein, it comprises the mobile phone camera doubling as imageing sensor, the side of described mobile phone camera is provided with the LED light source for the translational surface that throws light on, the image processing module that described mobile phone camera and is converted into discrete digital signal for the both full-pixel level data obtained by mobile phone camera communicates to connect, described discrete digital signal is for recording both full-pixel level data motion track, and described image module is connected for the mouse control module communication described discrete digital signal being converted into computer identification formatted data with one.
Described cell phone mouse simulation system, wherein, the angle of described LED light source and described mobile phone camera is 30 °, and its shade caused is easier to identify, and the light directly reflected into into mobile phone camera is less, improve the accuracy of mouse with mobile telephone set shape analogue enlargement.
Described cell phone mouse simulation system, wherein, the digital signal processor of described image processing module and mobile phone communicates to connect; Described digital signal processor extracts a certain color component in current both full-pixel level data and is reduced to current gray level image, and described current gray level image is returned to described image processing module by described signal processor.
Described cell phone mouse simulation system, wherein, described a certain color component is green color component.
Described cell phone mouse simulation system, wherein, described mobile phone camera covers the color filter of one deck polyimide mask; Described mouse control module installation have one for by described computer identification format data transmission to the transmission unit of computer.
Described cell phone mouse simulation system, wherein, described discrete digital signal is the motion track that record both full-pixel level data is coordinate with x, y-axis.
Described cell phone mouse simulation system, wherein, described transmission unit is usb bus, bluetooth unit or infrared unit; Described image module and described mouse control module are communicated to connect by spi bus.
An implementation method for described cell phone mouse simulation system, it comprises the following steps:
A, LED light source illumination translational surface, the both full-pixel level data transmission of acquisition processes to image processing module by mobile phone camera;
Both full-pixel level data is converted into the discrete digital signal of record both full-pixel level data motion track by B, described image processing module, and described discrete digital signal is transferred to mouse control module;
C, described mouse control module transfer described discrete digital signal to computer identification formatted data, and by described computer identification format data transmission to transmission unit.
Described implementation method, wherein, described step B also comprises: described image processing module by current both full-pixel level data transmission to the digital signal processor of mobile phone, described digital signal processor extracts a certain color component in current both full-pixel level data and is reduced to current gray level image, then described current gray level image is returned to described image processing module, and described image processing module stores described current gray level image and compares with next gray level image the described discrete digital signal obtaining recording both full-pixel level data motion track.
Described implementation method, wherein, described discrete digital signal is the motion track that record both full-pixel level data is coordinate with x, y-axis.
The invention provides a kind of cell phone mouse simulation system and its implementation, mobile phone camera is adopted to double as the mode of imageing sensor, and mobile phone camera is provided with the LED light source for the translational surface that throws light on, instead of in prior art the frame mode be attached to by mouse on mobile phone, reduce the ratio that it takies mobile phone space, reduce the design difficulty of mobile phone, illumination due to LED light source makes the collection of image more accurate, can the motion track of more accurate mouse beacon, user is made better to experience touch control operation, especially do not need to arrange separately imageing sensor in existing mouse on mobile phone, the elements such as image processor, reduce the manufacturing cost of mobile phone, it is the tremendous improvement of prior art.
Embodiment
The invention provides a kind of cell phone mouse simulation system and its implementation, in order to make object of the present invention, technical scheme and advantage clearer, clear and definite, below with reference to accompanying drawing and embodiment, the present invention is described in more detail.
The invention provides a kind of cell phone mouse simulation system, LED backlight is at an angle set in the side of mobile phone camera, simplifies element during mobile phone analog mouse, reduce the manufacturing cost of mobile phone, improve the utilization factor to mobile phone space.As shown in Figure 1, cell phone mouse simulation system comprises the mobile phone camera 101 doubling as imageing sensor, described mobile phone camera can adopt technology type well known in the prior art, such as can adopt built-in camera or external camera, its concrete camera lens can adopt COMS element sensor or ccd image sensor.The side of described mobile phone camera 101 is provided with the LED light source 102 for the translational surface that throws light on, and in order to the mobile alignment of illuminating mobile phone, allows described mobile phone camera 101 catch light signal more accurately.The image processing module 103 that described mobile phone camera 101 and is converted into discrete digital signal for the both full-pixel level data obtained by mobile phone camera 101 communicates to connect, described discrete digital signal is for recording both full-pixel level data motion track, described image processing module 103 can carry out processor to both full-pixel level data separately, also the dsp chip in mobile phone can be utilized to carry out process and to obtain described discrete digital signal, further reduce its manufacturing cost, save the arrangement space of mobile phone.Described image module 103 and communicates to connect for the mouse control module 104 described discrete digital signal being converted into computer identification formatted data, and computer identification format data transmission is carried out respective operations to computer by described mouse control module 104.
In order to further improve performance of the present invention, described LED light source 102 is 30 ° with the angle of described mobile phone camera 101, its shade caused is easier to identify, and the light directly reflected into into mobile phone camera is less, improves the accuracy of mouse with mobile telephone set shape analogue enlargement.
Further, the digital signal processor 105 of described image processing module and mobile phone communicates to connect, described digital signal processor 105 shares the dsp chip of mobile phone, described discrete digital signal is obtained after both full-pixel level data is processed, and be returned to described image module 103 record, save the arrangement space of mobile phone.Described digital signal processor 105 extracts a certain color component in current both full-pixel level data and is reduced to current gray level image, described current gray level image is returned to described image processing module 103 by described signal processor 105, described image processing module 103 records each described discrete digital signal, and carries out contrasting thus obtain the movement locus of both full-pixel level data
Further, in order to more detailed description advantage of the present invention, below for described a certain color component for green color component is described.Namely described mobile phone camera 101 covers the color filter of one deck polyimide mask, its colour filter filter grid is respectively through G, B, R tri-kinds of colors, G is green component, B is blue component, R is red component, according to the both full-pixel level data that described mobile phone camera 101 sends, described digital signal processor 105 abandons R wherein, B component, only use green component wherein, current both full-pixel level data is reduced into the gray level image of present sample, and the gray level image that the gray level image of present sample and next sampling time obtain is compared, by calculating the X of current mouse, the motion track of Y-axis, namely described discrete digital signal record both full-pixel level data is with x, y-axis is the motion track of coordinate, and then the motion track of more accurate mouse beacon.
Further, described mouse control module 104 be provided with one for by described computer identification format data transmission to the transmission unit 106 of computer, achieve the function to computer respective operations.
Further, described transmission unit 106 can adopt usb bus, bluetooth unit or infrared unit, but is not only confined to aforesaid way.Described image module 103 can be communicated to connect by spi bus with described mouse control module 104, but is not limited only to this kind of mode.Further improve compatible performance of the present invention, facilitate Consumer's Experience operation.
Present invention also offers a kind of implementation method of described cell phone mouse simulation system, as shown in Figure 2, it comprises the following steps:
Step 201: handset starting cell phone mouse simulation system enters emulation mode, then LED light source 102 throws light on translational surface, and the both full-pixel level data transmission of acquisition processes to image processing module 103 by mobile phone camera 101;
Step 202: both full-pixel level data is converted into the discrete digital signal of record both full-pixel level data motion track by described image processing module 103, and described discrete digital signal is transferred to mouse control module 104;
Step 203: described mouse control mould 104 transfers described discrete digital signal to computer identification formatted data, and by described computer identification format data transmission to transmission unit 106, thus respective operations can be carried out on computers.
Further, described step 202 also comprises: described image processing module 103 by current both full-pixel level data transmission to the digital signal processor 105 of mobile phone, described digital signal processor 105 extracts a certain color component in current both full-pixel level data and is reduced to current gray level image, then described current gray level image is returned to described image processing module 103, and described image processing module 103 stores described current gray level image and compares with next gray level image the described discrete digital signal obtaining recording both full-pixel level data motion track.Obvious, also certain time obtaining both full-pixel level data specifically can be set as one-period in this step, namely described image processing module 103 records the described discrete digital signal in each cycle successively continuously, and compare the motion track drawing both full-pixel level data, improve the accuracy that it runs.
Further, described discrete digital signal is the motion track that record both full-pixel level data is coordinate with x, y-axis.
Further, described LED light source 102 is 30 ° with the layout angle of described mobile phone camera 101, the shade that this kind of arrangement causes is easier to identify, and the light directly reflected into into mobile phone camera is less, improves the accuracy of mouse with mobile telephone set shape analogue enlargement.
Further, in order to more detailed description advantage of the present invention, below for described a certain color component for green color component is described.Namely described mobile phone camera 101 covers the color filter of one deck polyimide mask, its colour filter filter grid is respectively through G, B, R tri-kinds of colors, G is green component, B is blue component, R is red component, according to the both full-pixel level data that described mobile phone camera 101 sends, described digital signal processor 105 abandons R wherein, B component, only use green component wherein, current both full-pixel level data is reduced into the gray level image of present sample, and the gray level image that the gray level image of present sample and next sampling time obtain is compared, by calculating the X of current mouse, the motion track of Y-axis, namely described discrete digital signal is that record both full-pixel level data is with x, y-axis is the motion track of coordinate, and then the motion track of more accurate mouse beacon.
Further, described mouse control module 104 be provided with one for by described computer identification format data transmission to the transmission unit 106 of computer, achieve the function to computer respective operations.
Further, described transmission unit 106 can adopt usb bus, bluetooth unit or infrared unit, but is not only confined to aforesaid way.Described image module 103 can be communicated to connect by spi bus with described mouse control module 104, but is not limited only to this kind of mode.Further improve compatible performance of the present invention, facilitate Consumer's Experience operation.
Should be understood that; the above-mentioned description for preferred embodiment is comparatively detailed; therefore the restriction to scope of patent protection of the present invention can not be thought; those of ordinary skill in the art is under enlightenment of the present invention; do not departing under the ambit that the claims in the present invention protect; can also make the various deformation such as replacement, simple combination, these all fall within protection scope of the present invention, and request protection domain of the present invention should be as the criterion with claims.