CN104125323A - Method and apparatus for sending information - Google Patents

Method and apparatus for sending information Download PDF

Info

Publication number
CN104125323A
CN104125323A CN201310144911.7A CN201310144911A CN104125323A CN 104125323 A CN104125323 A CN 104125323A CN 201310144911 A CN201310144911 A CN 201310144911A CN 104125323 A CN104125323 A CN 104125323A
Authority
CN
China
Prior art keywords
light
control signal
text data
transmission information
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310144911.7A
Other languages
Chinese (zh)
Inventor
韩梓鑫
张杭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310144911.7A priority Critical patent/CN104125323A/en
Publication of CN104125323A publication Critical patent/CN104125323A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention, which relates to the electronic equipment application field, discloses a method and apparatus for sending information. With the method and the apparatus, a problem that the existing electronic equipment only has the single rescue function can be solve. The method comprises the following steps: receiving text data that are to-be-sent data information; converting a character in the text data into a code symbol; obtaining an on-off control signaling corresponding to the code symbol; and starting a light-emitting device and controlling the on or off of the light-emitting device based on the on-off control signaling so as to send the to-be-sent data information out. The provided method and apparatus are mainly applied to the process of emergency signal sending.

Description

The method of transmission information and device
Technical field
The present invention relates to electronic apparatus application field, relate in particular to a kind of method and device that sends information.
Background technology
Mobile phone is as the electronic equipment often using in people's daily life, the function with many hommizations, wherein an outdoor search and rescue function can not cause rescue personnel's attention by controlling photoflash lamp flicker, thereby facilitates for outdoor search and rescue in the situation that mobile phone has signal of communication.
Existing outdoor search and rescue function, photoflash lamp can only glimmer according to user's operation or default frequency and number of times, and the details of trapped personnel cannot be further provided to rescue personnel.For example in bad weather conditions, or work as in the distant situation of trapped personnel and rescue personnel, between trapped personnel and rescue personnel, cannot exchange by voice, now trapped personnel cannot provide details such as trapped personnel quantity, the trapped personnel condition of the injury to rescue personnel by photoflash lamp, can bring inconvenience to open air search and rescue.
Summary of the invention
The embodiment of the present invention provides a kind of method and device that sends information, can solve the problem that electronic equipment rescue function is single.
On the one hand, the embodiment of the present invention provides a kind of method that sends information, comprising:
Receiving text data, described text data is data message to be sent;
By the character conversion in described text data, it is code sign;
Obtain the light on and off control signal corresponding with described code sign;
Start luminescent device and control described luminescent device light on and off according to described light on and off control signal, thus described data message to be sent being sent.
On the other hand, the embodiment of the present invention provides a kind of device that sends information, comprising:
Receiving element, for receiving text data, described text data is data message to be sent;
Converting unit is code sign for the character conversion of described text data that described receiving element is received;
Acquiring unit, for obtaining light on and off control signal corresponding to described code sign obtaining with described converting unit;
Start unit starts luminescence unit after getting light on and off control signal at described acquiring unit;
Control unit, controls described luminescence unit light on and off for the described light on and off control signal getting according to described acquiring unit, thus described data message to be sent is sent.
Method and the device of the transmission information that the embodiment of the present invention provides, text data to be sent can be converted to code sign, then obtain the light on and off control signal corresponding with code sign, according to light on and off control signal, control luminescent device light on and off, by lighting with the data message extinguishing to be sent of luminescent device, send.Only have simple light on and off function with mobile phone in prior art and compare, the information that can need to send user by luminous mode sends.For scenes such as open air search and rescue, can provide more detailed rescue information to rescue personnel, improve thus the success rate of outdoor search and rescue.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 sends the flow chart of the method for information in the embodiment of the present invention;
Fig. 2 is another flow chart that sends the method for information in the embodiment of the present invention;
Fig. 3 (a) and Fig. 3 (b) " clap and report " the interface schematic diagram at function key place in the embodiment of the present invention;
Fig. 4 " claps and reports " the interface schematic diagram of application in the embodiment of the present invention;
Fig. 5 (a) is the visualization schematic diagram of photoflash lamp light on and off in the embodiment of the present invention to Fig. 5 (d);
Fig. 6 sends the structural representation of the device of information in the embodiment of the present invention;
Fig. 7 is another structural representation that sends the device of information in the embodiment of the present invention;
Fig. 8 is another structural representation that sends the device of information in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the present embodiment, the technical scheme in the present embodiment is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The present embodiment provides a kind of method that sends information, and as shown in Figure 1, described method comprises:
101, electronic equipment receiving text data.
Text data are data message to be sent, and for example, in the scene of searching and rescuing out of doors, text data can be wounded's number, supply surplus etc.
102, electronic equipment is code sign by the character conversion in text data.
The code adopting in the present embodiment is Morse code.Morse code is translated into again this code that rubs, and is a kind of signal code that sends information by signal break-make, and sort signal code is comprised of point (dot) and line (dash) two kinds of codes.By the difference of putting and rule, put in order to express different English alphabets, numeral or punctuation mark.For example in Morse code, code sign " .-" is for representing alphabetical A, and code sign " .----" is for representing alphanumeric 2.
Character quantity in text data includes but not limited to it is one, and electronic equipment is converted to one by one code sign by the character in text data and obtains the code group that comprises whole text data information.The character that can be exchanged into code sign in the present embodiment include but are not limited to be letter, numeral and such as additional characters such as " é ".
In Morse code table, the corresponding one or more code signs with Rankine-Hugoniot relations of a common character, for example numeral 0 is comprised of 5 line, and "-----" represents numeral 0.Electronic equipment can get at least one code sign to the conversion of a character, to the conversion of a plurality of characters, can get at least two code signs.The code group that code group described in the present embodiment comprises all character code signs for order, for example, when text data is: described in when " 0123 " code group for "-----.----..---...--", wherein "-----" representative digit 0, " .----" representative digit 1, " ..---" representative digit 2, " ...--" representative digit 3, the space in code group is used for distinguishing kinds of characters.
103, electronic equipment obtains the light on and off control signal corresponding with code sign.
Electronic equipment obtains the light on and off control signal corresponding with each code sign in code group, forms light on and off control signal group.Light on and off control signal quantity in light on and off control signal group equates with the quantity of code sign in code group, and the sequence consensus of code sign in the order of light on and off control signal and code group in light on and off control signal group, light on and off control signal is corresponding one by one with code sign.For example, when code group is " ..---", light on and off control signal group is " bright, bright, long bright, long bright, long bright ".
104, electronic equipment starts luminescent device and controls luminescent device light on and off according to light on and off control signal, thus data message to be sent is sent.
Electronic equipment, after getting light on and off control signal group, starts the luminescent device on electronic equipment, then according to putting in order of light on and off control signal in light on and off control signal group, successively luminescent device is carried out to light on and off control.For example, when light on and off control signal group is " bright, bright, long bright, long bright, long bright ", electronic equipment control luminescent device sequentially carry out bright, go out, bright, go out, long bright, go out, long bright, go out, long bright, go out, wherein bright representative ". ", long bright representative "-", sends information " 2 " thus.
In the present embodiment, electronic equipment can start the photoflash lamp that camera carries and control photoflash lamp light on and off according to light on and off control signal, also can startup screen and control screen light on and off according to light on and off control signal.
In prior art, mobile phone can carry out light on and off according to user's operation or default frequency number of times control photoflash lamp, reach the object that causes that rescue personnel notes, but the amount of information that this mode is carried is less, searches and rescues function singleness.The method of the transmission information that the present embodiment provides, text data to be sent can be converted to Morse code symbol, then obtain the light on and off control signal corresponding with code sign, according to light on and off control signal, control luminescent device light on and off, by lighting with the data message extinguishing to be sent of luminescent device, send.Only have simple light on and off function with mobile phone in prior art and compare, the information that can need to send user by luminous mode sends.For scenes such as open air search and rescue, can provide more detailed rescue information to rescue personnel, improve thus the success rate of outdoor search and rescue.
In addition, the method for the transmission information that the present embodiment provides, can also by user can be intuitively cognitive text data be converted to code sign, save thus the operation of the artificial conversion of user.The signal code relating to due to Morse code is various, so layman is difficult to grasp traditional telegram transmission mode.When sending Morse code, user need to memorize a large amount of signal codes, for seldom sending the user of Morse code, memorize quantity so various signal code obviously too expend time in and energy.In addition, user contrasts the mode that Morse code table encodes needs user word for word to check Morse code table, operates and wastes time and energy, and efficiency is very low.The method of the transmission information that the present embodiment provides can be saved the operation of the artificial conversion of user, when simplifying user's operation, can also improve transmitting efficiency.
As to the detailed description of method shown in Fig. 1 and further expand, the present embodiment also provides a kind of method that sends information, and as shown in Figure 2, described method comprises:
201, electronic equipment receives the enabled instruction of transmission information.
Electronic equipment can receive the enabled instruction of transmission information in such as " clapping report " application, and this enabled instruction is used to indicate to start and sends Morse code by optics.
Concrete, electronic equipment can receive this enabled instruction from browser interface.For example, in Fig. 3 (a), have " clapping a report " function key in the browser interface toolbar upper left corner, after user triggers this button, electronic equipment receives enabled instruction, starts " clapping report " application.Or electronic equipment can also receive this enabled instruction from instant messaging application interface.For example, in Fig. 3 (b), in instant communication applications interface tool hurdle, with arranged side by side the including one and clap report of the function key such as " mail ", " file transmission ", " video calling " " function key, after user triggers this button, electronic equipment receives enabled instruction, starts " clapping report " application.
202, electronic equipment receiving text data.
After starting " clapping report " application, electronic equipment can obtain the text data that user inputs in text input frame, the text data of for example inputting in note input frame or application dialog box.Exemplary, electronic equipment can obtain the text data in text input frame by " String str=GetInputString () " statement, in practical application for different system platforms, the concrete form of this statement can be different, for example, for Android platform, the statement that electronic equipment obtains text input frame Chinese version data is " String str=control name .GetEditText () .toString () ".In addition, electronic equipment can also show many default text datas, and then such as " SOS ", " YES " etc. receive the selection instruction that user triggers, and according to this selection instruction, obtains the text data that user selects in pre-set text data.
Concrete, after starting " clapping report " application, electronic equipment shows the application interface as shown in Fig. 4 (a), in this interface, show the default common phrases such as " SOS ", " YES ", " NO ", and the implicit more drop-down menu key of multiple preset common phrases.In addition, under drop-down menu key, also show text input frame, for receiving the text data of user's input.User can select certain common phrases to clap report, also can in text input frame, input and need the text data sending to clap report.The user of take selects common phrases as example, and after receiving the triggering command of user on " SOS " option, electronic equipment is shown as selected state by " SOS " option.When user triggers " clapping report " function key, electronic equipment receiving text data " SOS ".
In the present embodiment, the settings such as the common phrases in application interface can be added voluntarily by user, deletion, modification, the concrete content of text that the present embodiment does not arrange user limits.
203, electronic equipment is Morse code symbol by the character conversion in text data.
The first character of electronic equipment from text data starts, and according to default transcoding relation table order, by each character conversion, is at least one Morse code symbol, forms thus the code group that comprises at least two Morse code symbols.
For example, the text data that electronic equipment receives is " YES ", first electronic equipment searches the code sign " .--" that transcoding relation table obtains corresponding first character " Y ", then the code sign ". " and " ... " that obtain successively in an identical manner corresponding character " E " and character " S ", the code group of formation is " .--.... ".
In the present embodiment, transcoding relation table is for characterizing the corresponding relation between character and Morse code symbol, and described transcoding relation table is specifically as follows Morse code table.Take letter code table as example, described transcoding relation table can shape as following table:
Letter Code sign Letter Code sign Letter Code sign Letter Code sign
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 --.. ? ? ? ?
While including letter in text data, the transcoding relation table of electronic equipment institute foundation can shape as following table:
Numeral Code sign Numeral Code sign Numeral Code sign Numeral Code sign
0 - 1 .- 2 ..- 3 ...--
4 ....- 5 ..... 6 -.... 7 --...
8 -.. 9 -. ? ? ? ?
Electronic equipment is that the program code of Morse code symbol is as follows by the character conversion in text data:
Wherein, the text data character string that String Outstr " " receives for electronic equipment, the character figure place that i is text data, when i is last, also represents the character bit length of text data.First from first character of text data, if this character is A or a, electronic equipment is code sign " .-/" by this character conversion, if this character is B or b, electronic equipment is code sign " .../" by this character conversion ... when electronic equipment has traveled through after transcoding relation table, jump out While statement.Then i adds 1, and electronic equipment is changed second character in an identical manner, until all character conversion in text data character string are complete.
Said procedure code only be take alphabetical transcoding relation table as example describes, and in practical application, needs only digital transcoding relation table or spcial character transcoding relation table are added in While statement and can the numeral in text data character string or spcial character be changed.
204, electronic equipment obtains the light on and off control signal corresponding with code sign.
Electronic equipment is first Morse code sign-on from code group, obtains successively the light on and off control signal of corresponding each Morse code symbol, forms thus the light on and off control signal group that signaling quantity equates with Morse code symbol quantity.
For example, the code group that electronic equipment obtains is " .--.... ", and first electronic equipment obtains the light on and off control signal of corresponding first code sign "-", then obtains successively the control signal of rear 7 code signs.In the present embodiment, the control signal of definition code sign ". " is " bright ", and the control signal of code sign "-" is " long bright ", and thus, the light on and off control signal group that electronic equipment obtains is " long bright, bright, long bright, long bright, bright, bright, bright, bright ".
Optionally, when code sign is ". ", the light on and off control signal that electronic equipment obtains is for continuing luminous Yi Ge unit duration, when code sign is "-", the light on and off control signal that electronic equipment obtains, for continuing luminous San Ge unit duration, is distinguished " bright " and " long bright " thus.Wherein, described unit duration can set in advance in electronic equipment, for example, can be set to 0.5 second by unit duration, and the luminous duration of corresponding code sign ". " is 0.5 second, and the luminous duration of corresponding code sign "-" is 1.5 seconds.The light on and off control signal group of for example obtaining for code group " .--.... " is " bright 3t, bright 1t, bright 3t, bright 3t, bright 1t, bright 1t, bright 1t, bright 1t ", and wherein t is the unit duration of 0.5 second.
Further alternative, for different code signs is distinguished, electronic equipment can also add one for distinguishing the light on and off control signal of former and later two code signs in every two adjacent light on and off control signals.In the present embodiment, for distinguishing the light on and off control signal of former and later two code signs, be set to continue to extinguish Liang Ge unit's duration, continue to extinguish 1 second.For example after code group " .--.... " interpolation list separator, become "/./-/-/././././", wherein "/" is the list separator between code sign.For code group "/./-/-/././././" the light on and off control signal group obtained is " bright 3t, the 2t that goes out, bright 1t, the 2t that goes out, bright 3t, the 2t that goes out, bright 3t, the 2t that goes out, bright 1t, the 2t that goes out, bright 1t, the 2t that goes out, bright 1t, the 2t that goes out, bright 1t ".
Further alternative again, for different characters is distinguished, electronic equipment can also add one for distinguishing the light on and off control signal of former and later two characters in the light on and off control signal at every two adjacent characters.In the present embodiment, for distinguishing the light on and off control signal of former and later two characters, be set to continue to extinguish Qi Ge unit's duration, continue to extinguish 3.5 seconds.For example after code group " .--.... " interpolation list separator, become "/./-/-///. ///./././", wherein " ///" be the list separator between character.For code group "/./-/-///. ///./././" the light on and off control signal group obtained is " bright 3t, the 2t that goes out, bright 1t, the 2t that goes out, bright 3t, the 2t that goes out, bright 3t, the 7t that goes out, bright 1t, the 7t that goes out, bright 1t, the 2t that goes out, bright 1t, the 2t that goes out, bright 1t ".
It is as follows that electronic equipment obtains the program code of the light on and off control signal corresponding with code sign:
In the present embodiment, described unit duration and unit duration number be use as an example only, practical application is not construed as limiting.
It should be noted that, electronic equipment is in the effect of adding space character between code sign or between character, by the long code sign that duration is adjacent to front and back (or character) of extinguishing, more significantly distinguishes.But this differentiation is not necessary, known according to said procedure code, for code sign ". " meeting automatic distinguishing after it continues luminous 1t, for code sign "-" in like manner.Therefore between code sign (or character), still there is of short duration extinguishing, can be used for the code sign adjacent to front and back (or character) to distinguish.
205, electronic equipment is controlled luminescent device light on and off according to light on and off control signal.
The photoflash lamp that the camera of take carries is example, and electronic equipment, from article one light on and off control signal of light on and off control signal group, is controlled photoflash lamp light on and off successively, until all light on and off control signals are finished.For example, when the light on and off control signal group obtaining when electronic equipment is " long bright, bright, long bright, long bright, bright, bright, bright, bright ", the visualization design sketch of photoflash lamp light on and off is as shown in Fig. 5 (a).
Optionally, when code sign is ". ", the light on and off control signal that electronic equipment obtains is for continuing luminous Yi Ge unit duration, when code sign is "-", the light on and off control signal that electronic equipment obtains, for continuing luminous San Ge unit duration, is distinguished " bright " and " long bright " thus.For example, when the light on and off control signal group of obtaining when electronic equipment is " bright 3t, bright 1t, bright 3t, bright 3t, bright 1t, bright 1t, bright 1t, bright 1t ", the visualization design sketch of photoflash lamp light on and off is as shown in Fig. 5 (b), and wherein adjacent twice space between luminous is luminous duration to of short duration extinguishing constantly.
Further alternative, when between adjacent code sign, add 2t extinguish duration time, the light on and off control signal group of take is example as " bright 3t, the 2t that goes out, bright 1t, the 2t that goes out, bright 3t, the 2t that goes out, bright 3t, the 2t that goes out, bright 1t, the 2t that goes out, bright 1t, the 2t that goes out, bright 1t, the 2t that goes out, bright 1t ", and the visualization design sketch of photoflash lamp light on and off is as shown in Fig. 5 (c).
Further alternative again, when between adjacent character, also added 7t extinguish duration time, the light on and off control signal group of take is example as " bright 3t, the 2t that goes out, bright 1t, the 2t that goes out, bright 3t, the 2t that goes out, bright 3t, the 7t that goes out, bright 1t, the 7t that goes out, bright 1t, the 2t that goes out, bright 1t, the 2t that goes out, bright 1t ", and the visualization design sketch of photoflash lamp light on and off is as shown in Fig. 5 (d).
Preferably, electronic equipment can also be controlled the light on and off again of photoflash lamp part according to light on and off control signal group, until complete predetermined light on and off number of times.For avoiding receiving party correctly not receive light on and off information, electronic equipment can also be controlled photoflash lamp according to identical light on and off control signal group same code group is repeatedly repeated to light on and off operation, and number of repetition is predetermined light on and off number of times, for example 3 times or 5 times.
The photoflash lamp of usining in the present embodiment is illustrated as luminescent device, and luminescent device described in practical application can also be the screen of electronic equipment.Electronic equipment is controlled the light on and off of screen with the control mode identical with controlling photoflash lamp light on and off, reaches thus identical effect.In addition, electronic equipment can also be controlled screen and substitute " luminous " and " extinguishing " with two kinds of different colors, and the present embodiment is realized.For example, with comparatively eye-catching redness and green, substitute respectively " luminous " and " extinguishing ", bring thus visual effect more clearly.In addition,, for the code group of having added space character, electronic equipment can also for example, substitute code sign "/" corresponding " extinguishing " with the third comparatively eye-catching color (yellow), thus existing redness and green is more significantly distinguished.
The method of the transmission information that the present embodiment provides, text data to be sent can be converted to Morse code symbol, then obtain the light on and off control signal corresponding with code sign, according to light on and off control signal, control luminescent device light on and off, by lighting with the data message extinguishing to be sent of luminescent device, send.Only have simple light on and off function with mobile phone in prior art and compare, the information that can need to send user by luminous mode sends.For scenes such as open air search and rescue, can provide more detailed rescue information to rescue personnel, improve thus the success rate of outdoor search and rescue.
In addition, the method for the transmission information that the present embodiment provides, can also by user can be intuitively cognitive text data be converted to code sign, save thus the operation of the artificial conversion of user.The signal code relating to due to Morse code is various, so layman is difficult to grasp traditional telegram transmission mode.When sending Morse code, user need to memorize a large amount of signal codes, for seldom sending the user of Morse code, memorize quantity so various signal code obviously too expend time in and energy.In addition, user contrasts the mode that Morse code table encodes needs user word for word to check Morse code table, operates and wastes time and energy, and efficiency is very low.The method of the transmission information that the present embodiment provides can be saved the operation of the artificial conversion of user, when simplifying user's operation, can also improve transmitting efficiency.
With reference to the realization of method shown in figure 1 or Fig. 2, the present embodiment also provides a kind of device that sends information, and this device is arranged in electronic equipments such as mobile phone, panel computer, in order to realize the method shown in Fig. 1 or Fig. 2.As shown in Figure 6, described device 61 comprises: receiving element 611, converting unit 612, acquiring unit 613, start unit 614, luminescence unit 615 and control unit 616, wherein,
Described receiving element 611, for receiving text data, described text data is data message to be sent;
Described converting unit 612 is code sign for the character conversion of described text data that described receiving element 611 is received;
Described acquiring unit 613, for obtaining light on and off control signal corresponding to described code sign obtaining with described converting unit 612;
Described start unit 614, for luminescence unit 615 shown in startup after getting light on and off control signal at described acquiring unit 613;
Described control unit 616, controls described luminescence unit 615 light on and off for the described light on and off control signal getting according to described acquiring unit 614, thus described data message to be sent is sent.
Further, as shown in Figure 7, described receiving element 611 comprises:
First obtains subelement 711, the text data of inputting for obtaining text input frame.
Show subelement 712, for showing many pre-set text data;
Receive subelement 713, the selection instruction triggering for receiving user;
Second obtains subelement 714, for the described selection instruction receiving according to described reception subelement 713, obtains the text data that user selects in described pre-set text data.
Further, described converting unit 612 is for being Morse code symbol by the character conversion of described text data, and described Morse code symbol comprises a little and rules.
Further, described converting unit 612 is for the first character from described text data, according to default transcoding relation table order, by each character conversion, be at least one Morse code symbol, form thus the code group that comprises at least two Morse code symbols;
Wherein, described transcoding relation table is for characterizing the corresponding relation between character and Morse code symbol.
Further, described acquiring unit 613 is for from first Morse code sign-on of described code group, the light on and off control signal that obtains successively corresponding each Morse code symbol, forms the light on and off control signal group that signaling quantity equates with Morse code symbol quantity thus.
Further, described control unit 616, for article one light on and off control signal from light on and off control signal group, is controlled described luminescence unit 615 light on and off, successively until all light on and off control signals are finished.
Further, as shown in Figure 8, described control unit 616 comprises:
First controls subelement 811, for when described Morse code symbol is point, controls described luminescence unit and continues to extinguish after luminous Yi Ge unit duration;
Second controls subelement 812, for when described Morse code symbol is line, controls described luminescence unit and continues to extinguish after luminous San Ge unit duration.
The 3rd controls subelement 813, for controlling described luminescence unit 615 between the light on and off of every two adjacent Morse code symbols, continues to extinguish Liang Ge unit's duration;
The 4th controls subelement 814, for controlling described luminescence unit 615 between the light on and off of every two adjacent characters, continues to extinguish Qi Ge unit's duration.
Further, described control unit 616 is also for controlling the light on and off again of described luminescence unit 615 according to described light on and off control signal group, until complete predetermined light on and off number of times.
The device of the transmission information that the present embodiment provides, text data to be sent can be converted to Morse code symbol, then obtain the light on and off control signal corresponding with code sign, according to light on and off control signal, control luminescent device light on and off, by lighting with the data message extinguishing to be sent of luminescent device, send.Only have simple light on and off function with mobile phone in prior art and compare, the information that can need to send user by luminous mode sends.For scenes such as open air search and rescue, can provide more detailed rescue information to rescue personnel, improve thus the success rate of outdoor search and rescue.
In addition, the device of the transmission information that the present embodiment provides, can also by user can be intuitively cognitive text data be converted to code sign, save thus the operation of the artificial conversion of user.The signal code relating to due to Morse code is various, so layman is difficult to grasp traditional telegram transmission mode.When sending Morse code, user need to memorize a large amount of signal codes, for seldom sending the user of Morse code, memorize quantity so various signal code obviously too expend time in and energy.In addition, user contrasts the mode that Morse code table encodes needs user word for word to check Morse code table, operates and wastes time and energy, and efficiency is very low.The method of the transmission information that the present embodiment provides can be saved the operation of the artificial conversion of user, when simplifying user's operation, can also improve transmitting efficiency.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection range with claim.

Claims (24)

1. a method that sends information, is characterized in that, comprising:
Receiving text data, described text data is data message to be sent;
By the character conversion in described text data, it is code sign;
Obtain the light on and off control signal corresponding with described code sign;
Start luminescent device and control described luminescent device light on and off according to described light on and off control signal, thus described data message to be sent being sent.
2. the method for transmission information according to claim 1, is characterized in that, the step of described receiving text data, comprising:
Obtain the text data of inputting in text input frame.
3. the method for transmission information according to claim 1, is characterized in that, the step of described receiving text data, comprising:
Show many pre-set text data;
Receive the selection instruction that user triggers, according to described selection instruction, obtain the text data that user selects in described pre-set text data.
4. according to the method for the transmission information described in claim 2 or 3, it is characterized in that, the described step that is code sign by the character conversion in described text data, comprising:
By the character conversion in described text data, be Morse code symbol, described Morse code symbol comprises a little and rules.
5. the method for transmission information according to claim 4, is characterized in that, described is the step of Morse code symbol by the character conversion in described text data, comprising:
First character from described text data starts, and according to default transcoding relation table order, by each character conversion, is at least one Morse code symbol, forms thus the code group that comprises at least two Morse code symbols;
Wherein, described transcoding relation table is for characterizing the corresponding relation between character and Morse code symbol.
6. the method for transmission information according to claim 5, is characterized in that, described in obtain the step of the light on and off control signal corresponding with described code sign, comprising:
First Morse code sign-on from described code group, obtains the light on and off control signal of corresponding each Morse code symbol successively, forms thus the light on and off control signal group that signaling quantity equates with Morse code symbol quantity.
7. the method for transmission information according to claim 6, is characterized in that, the described step of controlling described luminescent device light on and off according to described light on and off control signal, comprising:
From article one light on and off control signal of light on and off control signal group, control successively described luminescent device light on and off, until all light on and off control signals are finished.
8. the method for transmission information according to claim 7, is characterized in that, the described step of controlling described luminescent device light on and off according to described light on and off control signal, comprising:
When described Morse code symbol is point, controls described luminescent device and continue to extinguish after luminous Yi Ge unit duration;
When described Morse code symbol is line, controls described luminescent device and continue to extinguish after luminous San Ge unit duration.
9. the method for transmission information according to claim 8, is characterized in that, described method further comprises:
Control described luminescent device between the light on and off of every two adjacent Morse code symbols, continue to extinguish Liang Ge unit's duration;
Control described luminescent device between the light on and off of every two adjacent characters, continue to extinguish Qi Ge unit's duration.
10. the method for transmission information according to claim 9, is characterized in that, described method further comprises:
According to described light on and off control signal group, control the light on and off again of described luminescent device, until complete predetermined light on and off number of times.
The method of 11. transmission information according to claim 1, is characterized in that, described startup luminescent device is also controlled the step of described luminescent device light on and off according to described light on and off control signal, comprising:
Start photoflash lamp and control described photoflash lamp light on and off according to described light on and off control signal.
The method of 12. transmission information according to claim 1, is characterized in that, described startup luminescent device is also controlled the step of described luminescent device light on and off according to described light on and off control signal, comprising:
Startup screen is also controlled described screen light on and off according to described light on and off control signal.
The method of 13. transmission information according to claim 1, is characterized in that, before described receiving text data step, described method further comprises:
From browser interface, receive the enabled instruction of transmission information.
The method of 14. transmission information according to claim 1, is characterized in that, before described receiving text data step, described method further comprises:
From instant messaging application interface, receive the enabled instruction of transmission information.
15. 1 kinds of devices that send information, is characterized in that, comprising:
Receiving element, for receiving text data, described text data is data message to be sent;
Converting unit is code sign for the character conversion of described text data that described receiving element is received;
Acquiring unit, for obtaining light on and off control signal corresponding to described code sign obtaining with described converting unit;
Start unit starts luminescence unit after getting light on and off control signal at described acquiring unit;
Control unit, controls described luminescence unit light on and off for the described light on and off control signal getting according to described acquiring unit, thus described data message to be sent is sent.
The device of 16. transmission information according to claim 15, is characterized in that, described receiving element comprises:
First obtains subelement, the text data of inputting for obtaining text input frame.
The device of 17. transmission information according to claim 15, is characterized in that, described receiving element comprises:
Show subelement, for showing many pre-set text data;
Receive subelement, the selection instruction triggering for receiving user;
Second obtains subelement, for the described selection instruction receiving according to described reception subelement, obtains the text data that user selects in described pre-set text data.
18. according to the device of the transmission information described in claim 16 or 17, it is characterized in that, described converting unit is for being Morse code symbol by the character conversion of described text data, and described Morse code symbol comprises a little and rules.
The device of 19. transmission information according to claim 18, it is characterized in that, described converting unit is for from the first character of described text data, according to default transcoding relation table order, by each character conversion, be at least one Morse code symbol, form thus the code group that comprises at least two Morse code symbols;
Wherein, described transcoding relation table is for characterizing the corresponding relation between character and Morse code symbol.
The device of 20. transmission information according to claim 19, it is characterized in that, described acquiring unit is used for from first Morse code sign-on of described code group, the light on and off control signal that obtains successively corresponding each Morse code symbol, forms the light on and off control signal group that signaling quantity equates with Morse code symbol quantity thus.
The device of 21. transmission information according to claim 20, it is characterized in that, described control unit, for from article one light on and off control signal of light on and off control signal group, is controlled described luminescence unit light on and off, successively until all light on and off control signals are finished.
The device of 22. transmission information according to claim 21, is characterized in that, described control unit comprises:
First controls subelement, for when described Morse code symbol is point, controls described luminescence unit and continues to extinguish after luminous Yi Ge unit duration;
Second controls subelement, for when described Morse code symbol is line, controls described luminescence unit and continues to extinguish after luminous San Ge unit duration.
The device of 23. transmission information according to claim 22, is characterized in that, described control unit comprises:
The 3rd controls subelement, for controlling described luminescence unit between the light on and off of every two adjacent Morse code symbols, continues to extinguish Liang Ge unit's duration;
The 4th controls subelement, for controlling described luminescence unit between the light on and off of every two adjacent characters, continues to extinguish Qi Ge unit's duration.
The device of 24. transmission information according to claim 23, is characterized in that, described control unit is also for controlling the light on and off again of described luminescence unit according to described light on and off control signal group, until complete predetermined light on and off number of times.
CN201310144911.7A 2013-04-24 2013-04-24 Method and apparatus for sending information Pending CN104125323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310144911.7A CN104125323A (en) 2013-04-24 2013-04-24 Method and apparatus for sending information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310144911.7A CN104125323A (en) 2013-04-24 2013-04-24 Method and apparatus for sending information

Publications (1)

Publication Number Publication Date
CN104125323A true CN104125323A (en) 2014-10-29

Family

ID=51770587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310144911.7A Pending CN104125323A (en) 2013-04-24 2013-04-24 Method and apparatus for sending information

Country Status (1)

Country Link
CN (1) CN104125323A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682092A (en) * 2016-08-02 2018-02-09 杭州萤石网络有限公司 Data sending, receiving method, device and data transmission system
CN110996440A (en) * 2019-11-29 2020-04-10 青岛海尔科技有限公司 Control method and device for household appliance control panel and control panel
CN111462364A (en) * 2020-04-16 2020-07-28 武汉轻工大学 Coded lock system
CN111511084A (en) * 2020-04-20 2020-08-07 北京智米科技有限公司 Intelligent lamp control method and system and lamp
CN111596773A (en) * 2020-05-20 2020-08-28 程卫平 Morse code single-key output method and system
CN111966231A (en) * 2020-07-24 2020-11-20 电子科技大学 Moss code interactive experience equipment
CN113450553A (en) * 2021-05-12 2021-09-28 李盛源 Method for operating keys without contact
CN114520693A (en) * 2022-04-20 2022-05-20 北京邮电大学 Semantic optical communication system and method for text transmission

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060199601A1 (en) * 2005-03-03 2006-09-07 Lg Electronics Inc. Method of transforming message and mobile station using the same
CN201051745Y (en) * 2006-07-28 2008-04-23 康佳集团股份有限公司 Mobile phone information transmitting device, receiving device and mobile phone communication system
CN101753487A (en) * 2008-12-04 2010-06-23 英华达(西安)通信科技有限公司 Mobile electronic device for transmitting and receiving Morse code
CN201830288U (en) * 2010-10-18 2011-05-11 南京陶朱公智能电子技术有限公司 Mobile terminal capable of realizing flashing communication based on Morse codes
CN102394700A (en) * 2011-07-18 2012-03-28 惠州Tcl移动通信有限公司 Mobile terminal and information transfer method thereof
CN102694595A (en) * 2012-05-16 2012-09-26 华为终端有限公司 Mobile terminal and method and device for information transmission of mobile terminal
CN102801471A (en) * 2012-07-09 2012-11-28 中国科学院半导体研究所 Visible light communication system and method for portable device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060199601A1 (en) * 2005-03-03 2006-09-07 Lg Electronics Inc. Method of transforming message and mobile station using the same
CN201051745Y (en) * 2006-07-28 2008-04-23 康佳集团股份有限公司 Mobile phone information transmitting device, receiving device and mobile phone communication system
CN101753487A (en) * 2008-12-04 2010-06-23 英华达(西安)通信科技有限公司 Mobile electronic device for transmitting and receiving Morse code
CN201830288U (en) * 2010-10-18 2011-05-11 南京陶朱公智能电子技术有限公司 Mobile terminal capable of realizing flashing communication based on Morse codes
CN102394700A (en) * 2011-07-18 2012-03-28 惠州Tcl移动通信有限公司 Mobile terminal and information transfer method thereof
CN102694595A (en) * 2012-05-16 2012-09-26 华为终端有限公司 Mobile terminal and method and device for information transmission of mobile terminal
CN102801471A (en) * 2012-07-09 2012-11-28 中国科学院半导体研究所 Visible light communication system and method for portable device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682092A (en) * 2016-08-02 2018-02-09 杭州萤石网络有限公司 Data sending, receiving method, device and data transmission system
CN110996440A (en) * 2019-11-29 2020-04-10 青岛海尔科技有限公司 Control method and device for household appliance control panel and control panel
CN111462364A (en) * 2020-04-16 2020-07-28 武汉轻工大学 Coded lock system
CN111511084A (en) * 2020-04-20 2020-08-07 北京智米科技有限公司 Intelligent lamp control method and system and lamp
CN111596773A (en) * 2020-05-20 2020-08-28 程卫平 Morse code single-key output method and system
CN111596773B (en) * 2020-05-20 2023-11-07 程卫平 Moss code single bond output method and system
CN111966231A (en) * 2020-07-24 2020-11-20 电子科技大学 Moss code interactive experience equipment
CN111966231B (en) * 2020-07-24 2022-05-03 电子科技大学 Moss code interactive experience equipment
CN113450553A (en) * 2021-05-12 2021-09-28 李盛源 Method for operating keys without contact
CN114520693A (en) * 2022-04-20 2022-05-20 北京邮电大学 Semantic optical communication system and method for text transmission

Similar Documents

Publication Publication Date Title
CN104125323A (en) Method and apparatus for sending information
CN102394700B (en) Mobile terminal and information transmitting methods thereof
CN101299857B (en) Method and apparatus for outputting communication information
CN101398717B (en) Display variable keyboard and input method
CN101848272B (en) Input method switching method of mobile phones
CN103975322A (en) Method of representing emotion in a text message
CN103019530B (en) The index method of menu based on gesture identification, device and terminal thereof
CN109815363A (en) Generation method, device, terminal and the storage medium of lyrics content
Nalajala et al. Morse code generator using microcontroller with alphanumeric keypad
CN104239007B (en) The method of Chinese natural human speech voice remote control electric light
CN106598409A (en) Text replication method and device, and intelligent terminal
CN105022595A (en) Speech printing method
CN103336585A (en) Scene perception-based one-word one-key Chinese character input method and equipment
CN104049964A (en) Method for performing short-distance or remote control on electromechanical equipment operation by use of Chinese speech
CN104423353A (en) Method for centrally and coordinatively controlling household appliances on spot by using Chinese speech
CN116955610A (en) Text data processing method and device and storage medium
JP2010020747A (en) Alphabet input device and alphabet recognition system for small-sized keypad using symbol combination usage frequency
CN103123572A (en) Character input method and electronic device
CN101770328B (en) Multiple-segmentation Chinese pinyin input system and method
CN103389801A (en) Identification and conversion processing mode of using keyboard character inputs as Chinese character codes in non-Chinese input method or non-Chinese input mode
CN101359257A (en) Method and apparatus for inputting words by numeric keyboard
CN107422875B (en) Information management method and system based on command line CLI
CN105554543B (en) Spelling input method and its system based on remote controler
CN104038638A (en) Short message group sending method and terminal equipment
CN104468424A (en) Universal telegram codes and sending method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141029