CN104270223A - Message transmitting method and device - Google Patents

Message transmitting method and device Download PDF

Info

Publication number
CN104270223A
CN104270223A CN201410458374.8A CN201410458374A CN104270223A CN 104270223 A CN104270223 A CN 104270223A CN 201410458374 A CN201410458374 A CN 201410458374A CN 104270223 A CN104270223 A CN 104270223A
Authority
CN
China
Prior art keywords
information
sub
data code
numeric data
message
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.)
Granted
Application number
CN201410458374.8A
Other languages
Chinese (zh)
Other versions
CN104270223B (en
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.)
Sichuan Jiuzhou Investment Holding Group Co.,Ltd.
Original Assignee
Sichuan Jiuzhou Electric Group 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 Sichuan Jiuzhou Electric Group Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN201410458374.8A priority Critical patent/CN104270223B/en
Publication of CN104270223A publication Critical patent/CN104270223A/en
Application granted granted Critical
Publication of CN104270223B publication Critical patent/CN104270223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding

Abstract

The invention discloses a message transmitting method and device and belongs to the field of communications. The method includes the steps of acquiring the mark of an information template selected by a user, first information input on the message template by the user, and the position information of the user, encoding the first information to obtain second information, adding the position information of the user, the mark of the information template and the second information to a message, and sending the message to the receiving end. The message transmitting device comprises an acquisition module, an encoding module and a sending module. The encoded second information is small in occupied space, so that more pieces of information are encoded and added to the message, and the amount of transmitted information is increased.

Description

A kind of method of message transmission and device
Technical field
The present invention relates to the communications field, particularly a kind of method of message transmission and device.
Background technology
Along with developing rapidly of the communication technology, Beidou satellite navigation system be widely used in people work and life in.Such as, the Big Dipper short message communication function in Beidou satellite navigation system is usually applied to the fields such as missile guidance, auto navigation, emergent search, has brought great convenience.
In the communication of Big Dipper short message, when transmitting terminal to need information transmission to be sent to receiving terminal, this information is normally directly added in Big Dipper short message by transmitting terminal, then send with the addition of this information Big Dipper short message to receiving terminal; Receiving terminal receives this Big Dipper short message, from this Big Dipper short message, extract this information; So realize transmitting terminal and information to be sent is sent to receiving terminal.
Such as, when transmitting terminal needs transmission information " Basketball Match of today changes into and holding Friday " to receiving terminal, then information " Basketball Match of today changes into and holding Friday " is added in Big Dipper short message, sends the Big Dipper short message of carry information " Basketball Match of today changes into and holding Friday " to receiving terminal; The Big Dipper short message that receiving terminal receiving end/sending end sends, information extraction from this Big Dipper short message " Basketball Match of today changes into and holding Friday ".
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Article one, the capacity of Big Dipper short message only has 120 bytes, can only carry the Chinese character of about 60.When some emergency repair, on-the-spot real time information must be sent to command centre the very first time by field operation personnel, formulates counter-measure to make command centre in time according to on-the-spot real time information; When the field data that field operation personnel need to send to command centre is more, such as, when being greater than 60 Chinese characters, then can only be sent by many Big Dipper short messages, but the transmission time of Big Dipper short message in transmitting procedure is longer, simultaneously time delay situation more seriously and often occur packet drop, therefore command centre probably cannot receive the plurality of Big Dipper short message very first time simultaneously, namely complete on-the-spot real time information cannot be received the very first time, thus counter-measure cannot be formulated in time, reduce efficiency of speedily carrying out rescue work.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method and device of message transmission.Described technical scheme is as follows:
First aspect, a kind of method sending message, described method comprises step:
Obtain the positional information of the mark of the information model that user selects, the first information that described user inputs on described information model and described user;
Coding is carried out to the described first information and obtains the second information;
The mark of the positional information of described user, described information model and described second information to be added in message and to send described message to receiving terminal.
In conjunction with first aspect, in the first possible implementation of first aspect, in described method, coding is carried out to the described first information and obtains the second information, comprise step:
From the described first information, obtain multiple sub-information, described sub-information is the information that described pre-set dictionary table comprises;
Obtain numeric data code corresponding to every sub-information respectively;
Numeric data code corresponding for described every sub-information is become described second information with other information combination in the described first information except described multiple sub-information.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, in described method, obtain numeric data code corresponding to every sub-information respectively, comprise step:
For described arbitrary sub-information, in the mapping table of numeric data code with sub-information, find out corresponding numeric data code, and as numeric data code corresponding to described arbitrary sub-information.
Second aspect, a kind of method receiving message, described method comprises step:
The message that receiving end/sending end sends, the mark of described message carry information template, the second information and positional information, described second information is the information obtained after encoding to the first information, the described first information is the information that user inputs on the described information model of described transmitting terminal, and described positional information is the positional information of described user;
The mark of described information model, described second information and positional information is extracted from described message;
Decoding is carried out to described second information and obtains the described first information, and show the described first information and described positional information in the information model of the mark correspondence of described information model.
In conjunction with second aspect, in the first possible implementation of second aspect, in described method, decoding is carried out to described second information and obtains the described first information, comprise step:
Obtain from each numeric data code described second information;
Obtain the sub-information that described each numeric data code is corresponding respectively;
Sub-information corresponding for described each numeric data code is become the described first information with other information combination in described second information except described each numeric data code.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, in described method, obtain the sub-information that each numeric data code is corresponding respectively, comprise step:
For described arbitrary numeric data code, in the mapping table of numeric data code with sub-information, find out corresponding sub-information, and as sub-information corresponding to described arbitrary numeric data code.
The third aspect, a kind of device sending message, described device comprises:
Acquisition module, for obtaining the positional information of the mark of the information model that user selects, the first information that described user inputs on described information model and described user;
Coding module, obtains the second information for carrying out coding to the described first information;
Sending module, for be added into the mark of the positional information of described user, described information model and described second information in message and to send described message to receiving terminal.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described coding module comprises:
First acquiring unit, for obtaining multiple sub-information from the described first information, described sub-information is the information that described pre-set dictionary table comprises;
Second acquisition unit, for obtaining numeric data code corresponding to every sub-information respectively;
First assembled unit, for becoming described second information by numeric data code corresponding for described every sub-information with other information combination in the described first information except described multiple sub-information.
In conjunction with the third aspect, in the implementation that the second of the third aspect is possible, described second acquisition module comprises:
First searches subelement, for for described arbitrary sub-information, in the mapping table of numeric data code with sub-information, finds out corresponding numeric data code;
First determines subelement, for the numeric data code found out being defined as numeric data code corresponding to described arbitrary sub-information.
Fourth aspect, a kind of device receiving message, described device comprises:
Receiver module, for the message that receiving end/sending end sends, the mark of described message carry information template, the second information and positional information, described second information is the information obtained after encoding to the first information, the described first information is the information that user inputs on the described information model of described transmitting terminal, and described positional information is the positional information of described user;
Extraction module, for extracting the mark of described information model, described second information and positional information from described message;
Decoder module, obtains the described first information for carrying out decoding to described second information;
Display module, for showing the described first information and described positional information in the information model of the mark correspondence of described information model.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described decoder module comprises:
3rd acquiring unit, for obtaining from each numeric data code described second information;
4th acquiring unit, for obtaining sub-information corresponding to described each numeric data code respectively;
Second assembled unit, for becoming the described first information by sub-information corresponding for described each numeric data code with other information combination in described second information except described each numeric data code.
In conjunction with fourth aspect, in the implementation that the second of fourth aspect is possible, described 4th acquiring unit comprises:
Second searches subelement, for for described arbitrary numeric data code, in the mapping table of numeric data code with sub-information, finds out corresponding sub-information;
Second determines subelement, for the sub-information found out is defined as sub-information corresponding to described arbitrary numeric data code.
In embodiments of the present invention, transmitting terminal obtains the positional information of the mark of the information model that user selects, the first information that this user inputs on this information model and this user, coding is carried out to the first information and obtains the second information, the positional information of this user, the mark of this information model and the second information to be added in message and to send this message to receiving terminal; The message that receiving terminal receiving end/sending end sends, the mark of this message carry information template, the second information and positional information, extract the mark of this information model, the second information and this positional information from this message; Decoding is carried out to the second information and obtains the first information, and in the information model of the mark correspondence of this information model, show the first information and this positional information, the raw information that transmitting terminal sends can be obtained by carrying out the second information decoding, i.e. the first information, and show the first information; The space that the second information after coding takies is few, and therefore more information can be carried out encoding and add in message and send and connect receiving terminal by transmitting terminal, expands the amount of information of transmission.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram sending message that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of method flow diagram receiving message that the embodiment of the present invention 2 provides;
Fig. 3-1 is the method flow diagram of a kind of message transmission that the embodiment of the present invention 3 provides;
Fig. 3-2 is a kind of information model schematic diagrames that the embodiment of the present invention 3 provides;
What Fig. 3-3 was that the embodiment of the present invention provides a kind ofly inserts the information model schematic diagram after information;
Fig. 3-4 is the information model schematic diagrames after another kind that the embodiment of the present invention provides inserts information;
Fig. 4 is a kind of apparatus structure schematic diagram sending message that the embodiment of the present invention 4 provides;
Fig. 5 is a kind of apparatus structure schematic diagram receiving message that the embodiment of the present invention 5 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1, the embodiment of the present invention 1 provides a kind of method sending message, and the method comprises:
Step 101: the positional information obtaining the mark of the information model that user selects, the first information that this user inputs on this information model and this user;
Step 102: coding is carried out to the first information and obtains the second information;
Step 103: the positional information of this user, the mark of this information model and the second information to be added in message and to send this message to receiving terminal.
In the embodiment of the present invention 1, transmitting terminal obtains the positional information of the mark of the information model that user selects, the first information that this user inputs on this information model and this user, coding is carried out to the first information and obtains the second information, the positional information of this user, the mark of this information model and the second information to be added in message and to send this message to receiving terminal; The space that the second information after coding takies is few, therefore more information can be carried out encoding and add in message, expand the amount of information of transmission.
Embodiment 2
See Fig. 2, embodiments provide a kind of method receiving message, the method comprises:
Step 201: the message that receiving end/sending end sends, the mark of this message carry information template, the second information and positional information, second information is the information obtained after encoding to the first information, the first information is the information that user inputs on the described information model of transmitting terminal, and this positional information is the positional information of this user;
Step 202: extract the mark of this information model, the second information and this positional information from this message;
Step 203: decoding is carried out to the second information and obtains the first information, and in the information model of the mark correspondence of this information model, show the first information and this positional information.
In the embodiment of the present invention 2, the message that receiving terminal receiving end/sending end sends, the mark of this message carry information template, the second information and positional information, extract the mark of this information model, the second information and this positional information from this message; Decoding is carried out to the second information and obtains the first information, and in the information model of the mark correspondence of this information model, show the first information and this positional information, the raw information that transmitting terminal sends can be obtained by carrying out the second information decoding, the i.e. first information, and show the first information, therefore because receiving terminal possesses decoding function, support that the first information is carried out coding and obtains the second information by transmitting terminal, the space that the second information after coding takies is few, therefore more information can be carried out encoding and add in message, expand the amount of information of transmission.
Embodiment 3
See Fig. 3-1, embodiments provide a kind of method of message transmission, the method comprises:
Step 301: transmitting terminal obtains the positional information of the mark of the information model that user selects, the first information that this user inputs on this information model and this user;
Wherein, this user can select the mark of information model on transmitting terminal; Transmitting terminal obtains the mark of information model that this user selects, and the information model of mark correspondence at this information model of display; This user inputs the information wanting to input in this information model; Transmitting terminal obtains the information of this user input from this information model.
Such as, suppose that user is emergency repair personnel, now the temperature at emergency repair scene is-10 DEG C to 10 DEG C, and humidity is 45%, and weather is light rain, and on-the-spot casualty situations is at present that 2 people are dead and 7 people are injured, and wherein in the wounded, 2 people are severe injury and 5 people is slight wound.
Suppose that this user is " conventional emergency repair " information model as shown in figure 3-2 that information model identifies 01 correspondence at the information model selected on transmitting terminal, and on this " conventional emergency repair " information model, input the temperature at emergency repair scene, humidity, weather and casualty situations, and in order to more specifically field condition is described, " the disaster that landslide causes is inputted in the supplemental instruction frame of this emergency repair personnel also in this template, on-the-spot power breakdown, rescue difficulty is large, be badly in need of emergent tent 10 to push up and first-aid medicine, severely injured personnel needs helicopter to transport, please Zhang San to on-the-spot ", in addition, this emergency repair personnel are in order to report the accurate location at emergency repair scene to command centre, " reporting position information " option is chosen at this " conventional emergency repair " information model, now, after input information, " conventional emergency repair " information model is as shown in Fig. 3-3.
The information that transmitting terminal obtains is "-10,10,45,05,2,7,2,5; The disaster that landslide causes, on-the-spot power breakdown, rescue difficulty is large, and be badly in need of emergent tent 10 and push up and first-aid medicine, severely injured personnel needs helicopter to transport, and asks Zhang San to on-the-spot ".
Wherein, when transmitting terminal receive this user choose " reporting position information " option time, transmitting terminal can obtain the positional information of this user by following three kinds of modes, comprising:
The first, transmitting terminal can by himself comprising GPS (Global Positioning System, global positioning system) module positions to it position coordinates obtaining himself position, and using the positional information of the position coordinates at himself place as this user.
Wherein, position coordinates can be latitude and longitude coordinates etc.
The second, transmitting terminal can obtain the identification information of the base station that it accesses, and the identification information of the base station it accessed is as the positional information of user.
Wherein, the identification information of base station can the address or numbering etc. of base station.
Three, transmitting terminal can obtain the identification information of its access wifi (wireless fidelity, Wireless Fidelity) network, and the identification information of the wifi network accessed is as the positional information of user.
Wherein, wifi network is commonly called as WiMAX, and the identification information of wifi network can be MAC (Media Access Control, the medium access control) address or IP (Internet Protocol, Internet protocol) address etc. of wifi network.
Such as, suppose that the GPS module that receiving terminal is comprised by himself positions himself, obtain the position coordinates of himself for (3,3), and by the positional information of the position coordinates (3,3) of himself as user.
Step 302: transmitting terminal obtains multiple sub-information from the first information, this sub-information is the information that pre-set dictionary table comprises;
Wherein, pre-set dictionary table is the dictionary table that technical staff is arranged in advance in transmitting terminal, pre-set dictionary table includes conventional word or phrase, such as, pre-set dictionary table comprise that landslide, the disaster caused, on-the-spot power breakdown, food, drinkable water, rescue difficulty are large, tent, ambulance, stretcher, first-aid medicine, severely injured personnel, helicopter transhipment, to scene, automobile and word or the phrase such as please to come at top speed.
The information that pre-set dictionary table comprises is obtained: " landslide ", " disaster caused ", " on-the-spot power breakdown ", " rescue difficulty is large ", " emergent tent ", " first-aid medicine ", " severely injured personnel ", " helicopter transhipment and to scene " the information that transmitting terminal inputs from this user at " conventional emergency repair " information model.
Step 303: transmitting terminal obtains numeric data code corresponding to every sub-information respectively;
Particularly, the numeric data code that every the sub-information obtained respectively in the corresponding relation of sub-information and date code that transmitting terminal stores in this locality is corresponding.
Such as, suppose that the corresponding relation of the sub-information and date code that transmitting terminal this locality stores is as shown in table 1 below;
Table 1
Sub-information Numeric data code
Landslide 010
The disaster caused 020
On-the-spot power breakdown 051
Rescue difficulty is large 211
Tent 301
First-aid medicine 061
Severely injured personnel 052
Helicopter is transported 099
To on-the-spot 041
Transmitting terminal searches numeric data code 010 corresponding to sub-information " landslide " in the corresponding relation shown in upper table 1, the numeric data code 020 that sub-information " disaster caused " is corresponding, the numeric data code 051 that sub-information " on-the-spot power breakdown " is corresponding, the numeric data code 211 that sub-information " rescue difficulty is large " is corresponding, the numeric data code 301 that sub-information " tent " is corresponding, the numeric data code 061 that sub-information " first-aid medicine " is corresponding, the numeric data code 052 that sub-information " severely injured personnel " is corresponding, the numeric data code 099 that sub-information " helicopter transhipment " is corresponding, and the numeric data code 041 that sub-information " to on-the-spot " is corresponding.
Step 304: numeric data code corresponding for every individual sub-information is become the second information with other information combination in the first information except described multiple sub-information by transmitting terminal;
Particularly, for arbitrary sub-information, in the first information, this sub-information is replaced with numeric data code corresponding to this sub-information, for other sub-information, perform aforesaid operations equally; The information combination be not replaced in the numeric data code of replacement and the first information is become the second information.
Such as, transmitting terminal is by " the disaster that landslide causes, on-the-spot power breakdown, rescue difficulty is large, be badly in need of emergent tent 10 to push up and first-aid medicine, severely injured personnel needs helicopter to transport, please Zhang San to on-the-spot " in sub-information " landslide " replace with 010, sub-information " on-the-spot power breakdown " is replaced with 051, sub-information " rescue difficulty is large " is replaced with 211, sub-information " tent " is replaced with 301, sub-information " first-aid medicine " is replaced with 061, sub-information " severely injured personnel " is replaced with 052, sub-information " helicopter " transhipment is replaced with 099, and sub-information " to on-the-spot " is replaced with 041.
Numeric data code after replacing is formed the second information "-10,10,45,05,2,7,2,5 with the information be not replaced; 010 020 051 211 are badly in need of 301 10 tops and 061 052 needs 099 to ask Zhang San 041 ".
Step 305: the positional information of this user, the mark of this information model and the second information to be added in message and to send this message to receiving terminal by transmitting terminal;
Such as, transmitting terminal by the positional information (3,3) of user, the mark of " conventional emergency repair " information model 01 and "-10,10,45,05,2,7,2,5; 010 020 051 211 are badly in need of 301 10 tops and 061052 needs 099 to ask Zhang San 041 " be added in message, and send message " 01 ,-10,10,45,05,2,7,2,5; 010 020 051 211 are badly in need of 301 10 tops and 061 052 needs 099 to ask Zhang San 041; (3,3) " to receiving terminal.
Step 306: the message that receiving terminal receiving end/sending end sends;
Such as, the message " 01 ,-10,10,45,05,2,7,2,5 of receiving terminal receiving end/sending end transmission; 010 020 051 211 are badly in need of 301 10 tops and 061 052 needs 099 to ask Zhang San 041; (3,3) ".
Step 307: the mark of receiving terminal information extraction template from this message, the second information and positional information;
Such as, the mark " 01 " of receiving terminal obtaining information template from this message, the second information "-10,10,45,05,2,7,2,5; 010 020 051 211 are badly in need of 301 10 tops and 061 052 needs 099 to ask Zhang San 041 ", and positional information (3,3).
Step 308: receiving terminal obtains each numeric data code in the second information;
Such as, receiving terminal is from the second information "-10,10,45,05,2,7,2,5; 010 020 051 211 urgent need 301 10 tops and 061 052 need 099 to ask Zhang San 041 " middle acquisition numeric data code 010,020,051,211,301,061,052,099 and 041.
Step 309: receiving terminal obtains sub-information corresponding to each numeric data code respectively;
Particularly, the sub-information that each numeric data code obtained respectively in the corresponding relation of sub-information and date code that receiving terminal stores in this locality is corresponding.
Such as, transmitting terminal searches the sub-information " landslide " of numeric data code 010 correspondence in the corresponding relation shown in upper table 1, the sub-information " disaster caused " of numeric data code 020 correspondence, the sub-information " on-the-spot power breakdown " of numeric data code 051 correspondence, the sub-information " rescue difficulty is large " of numeric data code 211 correspondence, the sub-information " tent " of numeric data code 301 correspondence, the sub-information " first-aid medicine " of numeric data code 061 correspondence, the sub-information " severely injured personnel " of numeric data code 052 correspondence, the sub-information " helicopter transhipment " of numeric data code 099 correspondence, and the sub-information of numeric data code 041 correspondence " to on-the-spot ".
Step 310: sub-information corresponding for each numeric data code is become the first information with other information combination in the second information except each numeric data code by receiving terminal;
Particularly, for arbitrary numeric data code, in the second information, sub-information corresponding for this numeric data code is replaced this numeric data code by receiving terminal, for other numeric data codes, performs aforesaid operations equally; The information combination be not replaced in sub-information and second information of replacing is become the first information.
Such as, receiving terminal is by "-10,10,45,05,2,7,2,5; 010 020 051 211 are badly in need of that 30110 tops and 061 052 need 099 please Zhang San 041 " in 010 replace with sub-information " landslide "; replace with sub-information " on-the-spot power breakdown " by 051; replace with sub-information " rescue difficulty is large " by 211; replace with sub-information " tent " by 301; replace with sub-information " first-aid medicine " by 061; replace with sub-information " severely injured personnel " by 052, replace with sub-information " helicopter transhipment " by 099, and replace with sub-information by 041 and " arrive scene ".
Sub-information after replacing is formed the first information "-10,10,45,05,2,7,2,5 with the information be not replaced; The disaster that landslide causes, on-the-spot power breakdown, rescue difficulty is large, and be badly in need of emergent tent 10 and push up and first-aid medicine, severely injured personnel needs helicopter to transport, and asks Zhang San to on-the-spot ".
Step 311: receiving terminal shows the first information and positional information in the information model of the mark correspondence of this information model.
Particularly, the mark of receiving terminal obtaining information template from message, obtains the information model of the mark correspondence of this information model, the first information and positional information is inserted in this information model, and shows the information model after information of inserting.
Such as, the mark 01 of receiving terminal obtaining information template from message, obtains the information model of mark 01 correspondence: " conventional emergency repair " information model as shown in figure 3-2, by the first information-10,10, and 45,05,2,7,2,5; The disaster that landslide causes, on-the-spot power breakdown, rescue difficulty is large, be badly in need of emergent tent 10 to push up and first-aid medicine, severely injured personnel needs helicopter to transport, please Zhang San to scene " and positional information (3,3) insert in " conventional emergency repair " information model; obtain the information model as described in Fig. 3-4, and show this information model.
In the embodiment of the present invention 3, transmitting terminal obtains the positional information of the mark of the information model that user selects, the first information that this user inputs on this information model and this user, coding is carried out to the first information and obtains the second information, the positional information of this user, the mark of this information model and the second information to be added in message and to send this message to receiving terminal; The message that receiving terminal receiving end/sending end sends, the mark of this message carry information template, the second information and positional information, extract the mark of this information model, the second information and this positional information from this message; Decoding is carried out to the second information and obtains the first information, and in the information model of the mark correspondence of this information model, show the first information and this positional information, the raw information that transmitting terminal sends can be obtained by carrying out the second information decoding, i.e. the first information, and show the first information; The space that the second information after coding takies is few, and therefore more information can be carried out encoding and add in message and send and connect receiving terminal by transmitting terminal, expands the amount of information of transmission.
Embodiment 4
See Fig. 4, embodiments provide a kind of device sending message, this device comprises:
Acquisition module 401, for obtaining the positional information of the mark of the information model that user selects, the first information that described user inputs on described information model and described user;
Coding module 402, obtains the second information for carrying out coding to the described first information;
Sending module 403, for be added into the mark of the positional information of described user, described information model and described second information in message and to send described message to receiving terminal.
Preferably, coding module 402 comprises:
First acquiring unit, for obtaining multiple sub-information from the described first information, described sub-information is the information that described pre-set dictionary table comprises;
Second acquisition unit, for obtaining numeric data code corresponding to every sub-information respectively;
First assembled unit, for becoming described second information by numeric data code corresponding for described every sub-information with other information combination in the described first information except described multiple sub-information.
Preferably, the second acquisition module comprises:
First searches subelement, for for described arbitrary sub-information, in the mapping table of numeric data code with sub-information, finds out corresponding numeric data code;
First determines subelement, for the numeric data code found out being defined as numeric data code corresponding to described arbitrary sub-information.
In the embodiment of the present invention 4, the message that receiving terminal receiving end/sending end sends, the mark of this message carry information template, the second information and positional information, extract the mark of this information model, the second information and this positional information from this message; Decoding is carried out to the second information and obtains the first information, and in the information model of the mark correspondence of this information model, show the first information and this positional information, the raw information that transmitting terminal sends can be obtained by carrying out the second information decoding, the i.e. first information, and show the first information, therefore because receiving terminal possesses decoding function, support that the first information is carried out coding and obtains the second information by transmitting terminal, the space that the second information after coding takies is few, therefore more information can be carried out encoding and add in message, expand the amount of information of transmission.
Embodiment 5
See Fig. 5, embodiments provide a kind of device receiving message, this device comprises:
Receiver module 501, for the message that receiving end/sending end sends, the mark of described message carry information template, the second information and positional information, described second information is the information obtained after encoding to the first information, the described first information is the information that user inputs on the described information model of described transmitting terminal, and described positional information is the positional information of described user;
Extraction module 502, for extracting the mark of described information model, described second information and positional information from described message;
Decoder module 503, obtains the described first information for carrying out decoding to described second information;
Display module 504, for showing the described first information and described positional information in the information model of the mark correspondence of described information model.
Preferably, decoder module 503 comprises:
3rd acquiring unit, for obtaining from each numeric data code described second information;
4th acquiring unit, for obtaining sub-information corresponding to described each numeric data code respectively;
Second assembled unit, for becoming the described first information by sub-information corresponding for described each numeric data code with other information combination in described second information except described each numeric data code.
Preferably, the 4th acquiring unit comprises:
Second searches subelement, for for described arbitrary numeric data code, in the mapping table of numeric data code with sub-information, finds out corresponding sub-information;
Second determines subelement, for the sub-information found out is defined as sub-information corresponding to described arbitrary numeric data code.
In the embodiment of the present invention 5, the message that receiving terminal receiving end/sending end sends, the mark of this message carry information template, the second information and positional information, extract the mark of this information model, the second information and this positional information from this message; Decoding is carried out to the second information and obtains the first information, and in the information model of the mark correspondence of this information model, show the first information and this positional information, the raw information that transmitting terminal sends can be obtained by carrying out the second information decoding, the i.e. first information, and show the first information, therefore because receiving terminal possesses decoding function, support that the first information is carried out coding and obtains the second information by transmitting terminal, the space that the second information after coding takies is few, therefore more information can be carried out encoding and add in message, expand the amount of information of transmission.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. send a method for message, it is characterized in that, described method comprises step:
Obtain the positional information of the mark of the information model that user selects, the first information that described user inputs on described information model and described user;
Coding is carried out to the described first information and obtains the second information;
The mark of the positional information of described user, described information model and described second information to be added in message and to send described message to receiving terminal.
2. the method for claim 1, is characterized in that, in described method, carries out coding and obtains the second information, comprise step to the described first information:
From the described first information, obtain multiple sub-information, described sub-information is the information that described pre-set dictionary table comprises;
Obtain numeric data code corresponding to every sub-information respectively;
Numeric data code corresponding for described every sub-information is become described second information with other information combination in the described first information except described multiple sub-information.
3. method as claimed in claim 2, is characterized in that, in described method, obtains numeric data code corresponding to every sub-information respectively, comprises step:
For described arbitrary sub-information, in the mapping table of numeric data code with sub-information, find out corresponding numeric data code, and as numeric data code corresponding to described arbitrary sub-information.
4. receive a method for message, it is characterized in that, described method comprises step:
The message that receiving end/sending end sends, the mark of described message carry information template, the second information and positional information, described second information is the information obtained after encoding to the first information, the described first information is the information that user inputs on the described information model of described transmitting terminal, and described positional information is the positional information of described user;
The mark of described information model, described second information and positional information is extracted from described message;
Decoding is carried out to described second information and obtains the described first information, and show the described first information and described positional information in the information model of the mark correspondence of described information model.
5. method as claimed in claim 4, is characterized in that, in described method, carry out decoding and obtain the described first information, comprise step to described second information:
Obtain from each numeric data code described second information;
Obtain the sub-information that described each numeric data code is corresponding respectively;
Sub-information corresponding for described each numeric data code is become the described first information with other information combination in described second information except described each numeric data code.
6. method as claimed in claim 5, is characterized in that, in described method, obtain the sub-information that each numeric data code is corresponding respectively, comprise step:
For described arbitrary numeric data code, in the mapping table of numeric data code with sub-information, find out corresponding sub-information, and as sub-information corresponding to described arbitrary numeric data code.
7. send a device for message, it is characterized in that, described device comprises:
Acquisition module, for obtaining the positional information of the mark of the information model that user selects, the first information that described user inputs on described information model and described user;
Coding module, obtains the second information for carrying out coding to the described first information;
Sending module, for be added into the mark of the positional information of described user, described information model and described second information in message and to send described message to receiving terminal.
8. method as claimed in claim 7, it is characterized in that, described coding module comprises:
First acquiring unit, for obtaining multiple sub-information from the described first information, described sub-information is the information that described pre-set dictionary table comprises;
Second acquisition unit, for obtaining numeric data code corresponding to every sub-information respectively;
First assembled unit, for becoming described second information by numeric data code corresponding for described every sub-information with other information combination in the described first information except described multiple sub-information.
9. receive a device for message, it is characterized in that, described device comprises:
Receiver module, for the message that receiving end/sending end sends, the mark of described message carry information template, the second information and positional information, described second information is the information obtained after encoding to the first information, the described first information is the information that user inputs on the described information model of described transmitting terminal, and described positional information is the positional information of described user;
Extraction module, for extracting the mark of described information model, described second information and positional information from described message;
Decoder module, obtains the described first information for carrying out decoding to described second information;
Display module, for showing the described first information and described positional information in the information model of the mark correspondence of described information model.
10. method as claimed in claim 9, it is characterized in that, described decoder module comprises:
3rd acquiring unit, for obtaining from each numeric data code described second information;
4th acquiring unit, for obtaining sub-information corresponding to described each numeric data code respectively;
Second assembled unit, for becoming the described first information by sub-information corresponding for described each numeric data code with other information combination in described second information except described each numeric data code.
CN201410458374.8A 2014-09-10 2014-09-10 A kind of method and device of transmitting message Active CN104270223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410458374.8A CN104270223B (en) 2014-09-10 2014-09-10 A kind of method and device of transmitting message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410458374.8A CN104270223B (en) 2014-09-10 2014-09-10 A kind of method and device of transmitting message

Publications (2)

Publication Number Publication Date
CN104270223A true CN104270223A (en) 2015-01-07
CN104270223B CN104270223B (en) 2017-11-21

Family

ID=52161720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410458374.8A Active CN104270223B (en) 2014-09-10 2014-09-10 A kind of method and device of transmitting message

Country Status (1)

Country Link
CN (1) CN104270223B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375470A (en) * 2016-09-29 2017-02-01 深圳前海弘稼科技有限公司 Information transmission method and information transmission system
CN109450772A (en) * 2018-09-26 2019-03-08 中国平安人寿保险股份有限公司 A kind of message method, server and computer readable storage medium
CN109660577A (en) * 2017-10-10 2019-04-19 中国移动通信有限公司研究院 Information transferring method, communication equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060123089A1 (en) * 2004-12-03 2006-06-08 Cahn Janet E Formulating and sending a message by a personal messaging device
CN1856133A (en) * 2005-04-30 2006-11-01 华为技术有限公司 Method for transferring text message
CN101933297A (en) * 2008-01-31 2010-12-29 微软公司 Use the message coding/decoding of templating parameter
CN102322867A (en) * 2011-08-25 2012-01-18 广东好帮手电子科技股份有限公司 Method and system of assistant vehicle navigation based on sender guidance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060123089A1 (en) * 2004-12-03 2006-06-08 Cahn Janet E Formulating and sending a message by a personal messaging device
CN1856133A (en) * 2005-04-30 2006-11-01 华为技术有限公司 Method for transferring text message
CN101933297A (en) * 2008-01-31 2010-12-29 微软公司 Use the message coding/decoding of templating parameter
CN102322867A (en) * 2011-08-25 2012-01-18 广东好帮手电子科技股份有限公司 Method and system of assistant vehicle navigation based on sender guidance

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375470A (en) * 2016-09-29 2017-02-01 深圳前海弘稼科技有限公司 Information transmission method and information transmission system
CN109660577A (en) * 2017-10-10 2019-04-19 中国移动通信有限公司研究院 Information transferring method, communication equipment and storage medium
CN109450772A (en) * 2018-09-26 2019-03-08 中国平安人寿保险股份有限公司 A kind of message method, server and computer readable storage medium
CN109450772B (en) * 2018-09-26 2022-08-02 中国平安人寿保险股份有限公司 Message sending method, server and computer readable storage medium

Also Published As

Publication number Publication date
CN104270223B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
US9819506B2 (en) Method for transmission and reception in point-multipoint radio broadcasting of multilanguage messages in cellular mobile communications, mobile telecommunications network and mobile terminal for the embodiment of the method
CN104270223A (en) Message transmitting method and device
AR115027A1 (en) A NETWORK NODE, A LOCATION SERVER, A WIRELESS DEVICE, AND THEIR METHODS FOR TRANSMISSION AND RECEPTION OF POSITIONING ASSISTANCE DATA
ES2760675T3 (en) Access procedure to the network and mobile communication terminal
CN103258398B (en) A kind of internet alarm system of checking based on video and alarm method thereof
CN105635291B (en) Information-pushing method and device, information display method and device
RU2017111571A (en) Method for transmitting emergency information between a mobile terminal and an emergency control center
EP2978193A1 (en) Method and apparatus for disaster notification
CN106658401A (en) Out-of-control unmanned aerial vehicle initiative retrieving method and system
CN104184672A (en) Method and device of transmitting message
CN103927905A (en) 1090 ES ADS-B local position decoding algorithm improvement method
KR102121957B1 (en) System and method for searching hospital using gene information and location-based information
CN108271145B (en) Method and equipment for registering network based on multiple cards
CN104796981A (en) Safety region alarming method and system based on plurality of base station marks as well as mobile terminal
CN102970661A (en) Method and device for code conversion of short messages
CN110769407B (en) Search and rescue positioning method and device
WO2016090957A1 (en) Decoding method and apparatus, and computer storage medium
CN103810276A (en) Video search method and device
KR102279055B1 (en) Apparatus for transmitting multilingual public arlt and method thereof
US10631309B2 (en) Device-to-device D2D data transmission method, apparatus, and system
US8135672B1 (en) Deleting website-specific data at a wireless-network gateway
CN110169157B (en) Method and device for paging controllable equipment
WO2019160968A1 (en) Support of latest fcc requirement of device-based geo-targeting
CN104883668B (en) Method for supporting PWS quick recovery
CN108076512A (en) A kind of seek help rescue mode and rescue system of seeking help based on intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210401

Address after: No. 6, Jiuhua Road, khuchuang Park, Mianyang, Sichuan

Patentee after: Sichuan Jiuzhou Investment Holding Group Co.,Ltd.

Address before: No. 6, Jiuhua Road, khuchuang Park, Mianyang, Sichuan

Patentee before: SICHUAN JIUZHOU ELECTRIC GROUP Co.,Ltd.