Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The present invention is loaded into message transmission in the light with coded message, transmits obstructed coded message through light.Special, can utilize existing light-emitting component and photo-sensitive cell on the equipment to send the light that reception includes coded message, only need corresponding increase encoder to get final product.
For technical scheme of the present invention is described, describe through specific embodiment below.
Embodiment one:
Fig. 1 shows the flow process that first embodiment of the invention provides a kind of information of mobile terminal transmission method, only shows the part relevant with the embodiment of the invention for the ease of explanation.
In step S101, to the Word message generation coded message of encoding.
In embodiments of the present invention; Described Word message can be the literal fixed or Device memory literal; Comprise letter, numeral even symbol or the like, the said coded system that Word message is encoded is predefined, stores this coding mapping relations in the portable terminal; For example can use four unique corresponding characters of numeral; Perhaps make up the different character of unique correspondence with different dot-dash, this coded system is not unique, so long as satisfactory coded system is all within protection scope of the present invention.
Enumerating a concrete application example at present technical scheme of the present invention is described, come the different character of unique expression with different points (.) with stroke (-) combination, is example with the letter and number, enumerates a kind of coding mapping scheme, as follows:
| Character | Coding | Character | Coding | Character | Coding | Character | Coding |
| A | .- | B | -... | C | . | . | D |
| -.. | E | . | F | ..-. | G | . | H |
| .... | I | .. | J | .--- | K | . | L |
| .-.. | M | -- | N | -. | O | --- | P |
| . | . | Q | . | R | .-. | S | ?... |
| T | - | U | ?..- | V | ...- | W | . |
| X | .. | Y | . | Z | .. | 0 | ----- |
| 1 | .--- | 2 | ..--- | 3 | ...-- | 4 | ....- |
| 5 | ..... | 6 | -.... | 7 | --... | 8 | ---.. |
Table 1
For example, the coded message of short sentence " I LOVE YOU " generation after as above table is encoded is following:
..?.-..?---...-.?-.--?---..-。
In step S102, coded message is loaded in the light-emitting component of portable terminal, coded message is sent out through light.
In embodiments of the present invention, said light-emitting component is drawn together LED lamp, photoflash lamp or even display screen etc.Because the essence of light is electromagnetic wave, therefore can light be added to coded message in the light-emitting component as carrier wave, at transmitting terminal mount message modulation module, get final product at receiving terminal mount message demodulation module.
Further,, simplify information realization of loading scheme, come presentation code information through the fluorescent lifetime and the luminous interval of control light-emitting component in order to practice thrift cost as preferred embodiment.For example make up that to control light-emitting component luminous, the fluorescent lifetime and the luminous interval of above-mentioned short sentence " I LOVE YOU " corresponding codes information ("=" expression is luminous, and ". " representative is not luminous) specific as follows through dot-dash:
=.=.......=.===.=.=...===.===.===...=.=.=.===...=.......===.=.===.===...===.===.===...=.=.===
And specifically definition here: wherein divide the length of three points into, between the dot-dash is the length of a point at interval, and between the character is the length of three points at interval, and between the word is the length of seven points at interval.Here the controlling schemes of only representing a kind of fluorescent lifetime and luminous interval similarly, can define other controlling schemes according to actual conditions.
In the present embodiment, through being loaded in the light-emitting component, coded message is sent with the form of light with behind the Word message coding; In the light ray propagation distance, receive external interference little, and light ray propagation have directivity; Can information only be passed to assigned target receiver, safe.
Embodiment two:
Fig. 2 shows the flow process that second embodiment of the invention provides a kind of information of mobile terminal transmission method, only shows the part relevant with the embodiment of the invention for the ease of explanation.
In step S201, obtain Word message according to the input triggering signal.
In embodiments of the present invention, described Word message is the literal of fixing, and comprises letter, numeral, symbol or the like; Portable terminal is provided with the triggering button, and said triggering button can be a physical button, also can be the virtual key on the screen; When the user after portable terminal input passage is accomplished; Through triggering this button, portable terminal can obtain the Word message of user's input, for the follow-up coding is prepared; Described Word message is the Word message that presets of portable terminal also, such as the SOS distress signal, need not user's inputting word information this moment, and through triggering the SOS button, portable terminal can get access to the Word message of " SOS ".For further expanding application scope, also there is Word message in described Word message in the portable terminal, such as, said Word message is the note on the mobile phone, can realize the note in the mobile phone is sent to the opposite end mobile phone through the inventive method.In step S202, to the Word message generation coded message of encoding.
In step S203, coded message is loaded in the light-emitting component of portable terminal, coded message is sent out through light.
Step S101 among above-mentioned steps S202 and S203 and the embodiment one, S102 are identical, repeat no more here.
In step S204, the photo-sensitive cell in the portable terminal receives said light and takes out wherein coded message.
In embodiments of the present invention, described photo-sensitive cell can capture the light signal that other portable terminal sends, and can take out the coded message that wherein comprises.This step is corresponding with step S203, confirmed the load mode of coded message after, make corresponding light coded message in this step and extract and get final product.For example, if light is sent coded message as carrier wave, receive said light through photo-sensitive cell and make demodulation and obtain coded message this moment so; If through the fluorescent lifetime and the luminous time interval coded message of control light-emitting component,
In step S205, coded message decoded is reduced into Word message.
In embodiments of the present invention; After getting access to the coded message in the light; Coded message is reduced into Word message and shows according to predefined decoding process, obviously need store the corresponding relation of Word message and coded message in the equipment at the device screen end.For example photo-sensitive cell receives fluorescent lifetime and luminous interval like short sentence among the embodiment one " ILOVE YOU " corresponding codes information; Be reduced into corresponding dot-dash combination; Owing to have the mapping table of dot-dash combination corresponding character in the portable terminal, therefore can the fluorescent lifetime and the luminous interval of light-emitting component be reduced into word information relates through said mapping table.
In the present embodiment, portable terminal not only has the function of sending coded message, can also receive light through photo-sensitive cell, parses Word message wherein, and the technical scheme that the embodiment of the invention provides is more complete.
Embodiment three:
Fig. 3 shows the structure that third embodiment of the invention provides a kind of information of mobile terminal transmitting device, only shows the part relevant with the embodiment of the invention for the ease of explanation.
A kind of information of mobile terminal transmitting device comprises:
Codedmessage generation unit 301 is used for the Word message generation coded message of encoding;
Codedmessage transmitting element 302 is used for coded message is loaded on the light-emitting component of portable terminal, through light coded message is sent out.
In embodiments of the present invention; The coded message generation unit converts Word message to coded message according to predefined coded system; The coded message transmitting element sends coded message through light; The said mode that coded message is sent has multiple, such as being that carrier wave sends coded message with light, perhaps representes corresponding coding information through the fluorescent lifetime and the luminous interval of control light-emitting component.As a kind of concrete execution mode, described coded message is the dot-dash combination, and different dot-dash combinations is represented in the flicker that Word message is converted into corresponding dot-dash combination back control light.
Embodiment four:
Fig. 4 shows the structure that fourth embodiment of the invention provides a kind of information of mobile terminal transmitting device, only shows the part relevant with the embodiment of the invention for the ease of explanation.
A kind of information of mobile terminal transmitting device comprises:
Wordmessage generation unit 401 is used for obtaining Word message according to the input triggering signal.
Described Word message is the literal of fixing, and comprises letter, numeral, symbol or the like, and portable terminal is provided with the triggering button; Said triggering button can be a physical button; Also can be the virtual key on the screen, when the user after portable terminal input passage is accomplished, through triggering this button; The Word message generation unit can obtain the Word message of user's input, for the follow-up coding is prepared; Described Word message is the Word message that presets of portable terminal also, such as the SOS distress signal, need not user's inputting word information this moment, and through triggering the SOS button, the Word message generation unit can get access to the Word message of " SOS ".For further expanding application scope, also there is Word message in described Word message in the portable terminal, such as, said Word message is the note on the mobile phone, can realize the note in the mobile phone is sent to the opposite end mobile phone through the inventive method.
Codedmessage generation unit 402 is used for the Word message generation coded message of encoding;
Codedmessage transmitting element 403 is used for coded message is loaded on the light-emitting component of portable terminal, through light coded message is sent out.
Codedmessage acquiring unit 404 is used for the sense of control optical element and receives said light and take out wherein coded message; Codedmessage reduction unit 405, being used for coded message decoded is reduced into Word message.
In embodiments of the present invention; The coded message generation unit is to the Word message generation coded message of encoding; Said Word message comprises letter, numeral or character; Or the literal that presets of portable terminal, the coded message transmitting element is loaded into coded message in the light-emitting component, through light coded message is sent out; Coded message acquiring unit sense of control optical element receives said light and takes out wherein coded message, and the coded message reduction unit is decoded to coded message and is reduced into Word message.Present embodiment is compared with embodiment three, can also catch light and obtain coded message wherein, and coded message is reduced into Word message the most at last.
Embodiment five:
Fig. 5 shows the structure that fifth embodiment of the invention provides a kind of information of mobile terminal transmitting device, only shows the part relevant with the embodiment of the invention for the ease of explanation.
A kind of information of mobile terminal transmitting device comprises:
Word message generation unit 501 is used for obtaining Word message according to the input triggering signal.
Coded message generation unit 502 is used for the Word message generation coded message of encoding;
Coded message transmitting element 503 is used for coded message is loaded on the light-emitting component of portable terminal, through light coded message is sent out.
Coded message acquiring unit 504 is used for the sense of control optical element and receives said light and take out wherein coded message;
Coded message reduction unit 505, being used for coded message decoded is reduced into Word message.
Wherein, said coded message generation unit 502 comprises:
Literal code module 5021 is used for making up the different character of unique correspondence with different dot-dash, Word message is carried out corresponding encoded generate coded message.
Wherein, said coded message transmitting element 503 comprises:
Information Control module 5031 is used for fluorescent lifetime and luminous interval according to the dot-dash Combination Control light-emitting component of coded message.
Wherein, said coded message acquiring unit 504 comprises:
Coding acquisition module 5041, the photo-sensitive cell that is used for controlling portable terminal receives light and converts wherein fluorescent lifetime and luminous interval information to corresponding dot-dash combination.
Wherein, said coded message reduction unit 505 comprises:
Coding recovery module 5051 is used for making up unique corresponding characters according to different dot-dash, and coded message is carried out corresponding decoding and is reduced into Word message.
In embodiments of the present invention; The literal code module makes up the different character of unique correspondence with different dot-dash; Word message is carried out corresponding encoded generate coded message; The information Control module is according to the fluorescent lifetime and the luminous interval of the dot-dash Combination Control light-emitting component in the coded message; Photo-sensitive cell in the coding acquisition module control portable terminal receives light and converts wherein fluorescent lifetime and luminous interval information to corresponding dot-dash combination, and the coding recovery module makes up unique corresponding characters according to different dot-dash, and coded message is carried out corresponding decoding and is reduced into Word message.
Embodiment six:
Fig. 6 shows the structure that sixth embodiment of the invention provides a kind of portable terminal, only shows the part relevant with the embodiment of the invention for the ease of explanation.
A kind of portable terminal; Said portable terminal comprises and is used for the coding sending assembly that Word message is sent through light and/or receives the reception decode component that light takes out coded message wherein and is reduced into Word message after encoding; Said coding sending assembly comprises the encoder and the light-emitting component that is used for coded message is sent out through light that is used for Word message is converted to coded message, and said reception decode component comprises and is used to receive said light and takes out the wherein photo-sensitive cell and the decoder that is used for said coded message is reduced into Word message of coded message.
Further; As preferred embodiment; Said encoder makes up the different character of unique correspondence with different dot-dash and carries out corresponding encoded; Said decoder makes up the different character of unique correspondence with different dot-dash and carries out corresponding decoding, has the mapping relations of the combination of said dot-dash and corresponding character in the said encoder.
Further, as preferred embodiment, said light-emitting component sends out coded message according to different fluorescent lifetimes and luminous interval; Said photo-sensitive cell receives light and converts wherein fluorescent lifetime and luminous interval information to corresponding dot-dash combination.
In embodiments of the present invention; This portable terminal comprises mobile phone, panel computer, digital camera or the like; These portable terminals comprise the coding sending assembly and receive decode component; But, just can only realize corresponding transmission or receiving function if a kind of assembly that only comprises wherein is also contained within protection scope of the present invention.Said coding sending assembly comprises encoder and light-emitting component; Said reception decode component comprises photo-sensitive cell and decoder; As a kind of concrete code encoding/decoding mode, said encoder makes up the different character of unique correspondence with different dot-dash and carries out the corresponding encoded decoding.Be specially; The Word message generation unit obtains Word message according to the input triggering signal; Described Word message is the literal that the literal imported of user or portable terminal preset, after the user exports the Word message that completion need send, and entity triggers button on the triggering mobile terminals or virtual trigger button; The literal code module makes up the different character of unique correspondence according to different dot-dash; Controlled encoder carries out corresponding encoded to said Word message and generates coded message, and the information Control module sends coded message according to the fluorescent lifetime and the luminous interval of the dot-dash Combination Control light-emitting component in the coded message; Photo-sensitive cell in the coding acquisition module control portable terminal receives the said coded message light that includes; And the fluorescent lifetime and the luminous interval information of inciting somebody to action wherein convert corresponding dot-dash combination to; The coding recovery module makes up a unique corresponding character according to different dot-dash in the mapping table; The control decoder is with dot-dash combination decoding and be reduced into related words information, finally is presented at the screen end of portable terminal, and this whole process has realized that two portable terminals are through light transmission information.
Said luminous original paper comprises LED lamp on the portable terminal, photoflash lamp, screen etc.; Said photo-sensitive cell is the camera on the portable terminal; Increase light-emitting component and photo-sensitive cell correspondent control circuits and encoder on this basis and can realize technical scheme of the present invention; And described encoder is the part of portable terminal CPU; Through carrying out literal code module and coding recovery module function, realize that controlled encoder and decoder carry out the corresponding encoded decoding, other end portable terminal is caught the illuminated message of light-emitting component through camera; Under the control of coding acquisition module, obtain the represented coded message of light, through decoder coded message is reduced into Word message according to mapping table at last and shows.Whole process gathers and need not to increase extra cost, has very strong practicality, and the information between the lovers of being particularly suitable for passes mutually and in some special occasions, sends distress signal, also can use the occasion in the transmission information of special need to be keep secret.
In addition, can the note in the mobile phone or other Word message be sent to the opposite end mobile phone, need not mode forwarding short message like this, reach the effect of practicing thrift rate through the note forwarding through technical scheme of the present invention.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.