CN105101120B - The method and apparatus for sending the method and apparatus of information and receiving information - Google Patents
The method and apparatus for sending the method and apparatus of information and receiving information Download PDFInfo
- Publication number
- CN105101120B CN105101120B CN201410212268.1A CN201410212268A CN105101120B CN 105101120 B CN105101120 B CN 105101120B CN 201410212268 A CN201410212268 A CN 201410212268A CN 105101120 B CN105101120 B CN 105101120B
- Authority
- CN
- China
- Prior art keywords
- network
- information
- short message
- information content
- preassigned
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of methods for sending information, comprising: receives the information content and obtains preassigned authority credentials;The information content is encrypted;According to preassigned authority credentials is added to generate short message in the information content of preset information content format after encryption;And short message is sent to information receiving end, wherein information receiving end judge information receiving end be presently in network network-like state value and the preassigned authority credentials in short message it is whether consistent, when consistent, the information content in short message is decrypted and is shown.The method of the embodiment of the present invention ensure that information reading place is with regional spread of the short message other than expected range or to be stolen without having to worry about information receiver in the desired range of information transmitter, improve information security.The invention also discloses a kind of device for sending information and the method, apparatus of reception information.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of method and apparatus for sending information and receive information
Method and apparatus.
Background technique
Currently, in the related technology there are mainly two types of the methods of sending and receiving information: the first can be straight by locating network for terminal A
It connects and sends information to terminal B, terminal B can be checked whenever and wherever possible after receiving information, and any restrictions are not present.Specifically, such as
Shown in Fig. 1, terminal A directly passes through short message transmission interface and sends base station 1 for the short message content edited, then is passed through by base station 1
Base station 2 locating for Operator Core Network and terminal B, terminal B are received in short message by base station 2 and the short message receiving interface of itself
Hold, terminal B can directly check short message content in display interface;Whether information can be checked for designated user second, i.e., greatly
The mode of password is mostly used to determine the permission of viewer, informs user password, such user can open information according to password
And it is checked.
Presently, there are the problem of be: above-mentioned first method, as long as user holds and receives the terminal of information and can appoint
Meaning is checked, is not limited by place;Above-mentioned second method, cryptographic technique is easy to meet with the danger of leakage, once password is let out
Dew, anywhere can check the information content.Therefore, above two method not can guarantee the information content legal
Predetermined region is checked that information security is poor.
Summary of the invention
The purpose of the present invention is intended to solve above-mentioned one of technological deficiency at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of method for sending information.This method ensure that information is read
Reading place is the area in the desired range of information transmitter, without having to worry about information receiver with the short message other than expected range
Domain propagates or is stolen, and improves information security.
Second object of the present invention is to propose a kind of method for receiving information.
Third object of the present invention is to propose a kind of device for sending information.
Fourth object of the present invention is to propose a kind of device for receiving information.
To achieve the goals above, the method for the transmission information of first aspect present invention embodiment, comprising: receive in information
Hold and obtains preassigned authority credentials;The information content is encrypted;It is being encrypted according to preset information content format
The preassigned authority credentials is added in the information content afterwards to generate short message;And the short message is sent to information and is received
End, wherein the information receiving end judges that the information receiving end is presently in the network-like state value and the short message of network
Preassigned authority credentials it is whether consistent, when consistent, the information content in the short message is decrypted and is shown.
The method according to an embodiment of the present invention for sending information, can encrypt the information content received, and according to
The preassigned authority credentials got is added in the information content of preset information content format after encryption to generate short message,
And short message is sent to information receiving end, information receiving end judges that it is presently in the network-like state value of network and short message
Whether preassigned authority credentials is consistent, when consistent, the information content in short message is decrypted and is shown, so that user connects
The short message of receipts is set in specified region and checks, i.e., only short message can just be opened and check in the area, this ensure that
Information reading place be in the desired range of information transmitter, without having to worry about information receiver with the short message expected range with
Outer regional spread is stolen, and improves information security.
To achieve the goals above, the method for the reception information of second aspect of the present invention embodiment, comprising: short message is received,
Wherein, the short message includes preassigned authority credentials and the encrypted information content;Acquisition is presently in the network-like of network
State value;Whether network-like state value and the preassigned authority credentials that network is presently in described in judgement are consistent;And if
Unanimously, then the encrypted information content is decrypted, and the information content after decryption is displayed in the display interface.
The method according to an embodiment of the present invention for receiving information, can determine whether to get is presently in the network state of network
Be worth and the short message that receives in preassigned authority credentials it is whether consistent, if unanimously, can be to encrypted in short message
The information content is decrypted, and the information content after decryption is displayed in the display interface, so that the short message quilt that user receives
It is set in specified region and checks, i.e., only short message can just be opened and check in the area, this ensure that information reading field
It is to be passed without having to worry about information receiver with region of the short message other than expected range in the desired range of information transmitter
It broadcasts or is stolen, improve information security.
To achieve the goals above, the device of the transmission information of third aspect present invention embodiment, comprising: receive and obtain
Module, for receiving the information content and obtaining preassigned authority credentials;Encrypting module, for adding to the information content
It is close;Generation module, for described preassigned according to being added in the preset information content format information content after encryption
Authority credentials is to generate short message;And sending module, for the short message to be sent to information receiving end, wherein the information connects
Receiving end judges the network-like state value and the preassigned authority credentials in the short message that the information receiving end is presently in network
It is whether consistent, and when consistent, the information content in the short message is decrypted and is shown.
The device according to an embodiment of the present invention for sending information can carry out the information content received by encrypting module
Encryption, generation module according to be added in the preset information content format information content after encryption get it is preassigned
Authority credentials is to generate short message, and short message is sent to information receiving end by sending module, and information receiving end judges that it is presently in network
Network-like state value and the preassigned authority credentials in short message it is whether consistent, when judging consistent, in the information in short message
Appearance is decrypted and shows, checks so that the short message that user receives is set in specified region, i.e., only in the area
Short message can just be opened and check, this ensure that information reading place is in the desired range of information transmitter, without having to worry about letter
Breath recipient is with regional spread of the short message other than expected range or is stolen, and improves information security.
To achieve the goals above, the device of the reception information of fourth aspect present invention embodiment, comprising: receiving module,
For receiving short message, wherein the short message includes preassigned authority credentials and the encrypted information content;Module is obtained, is used
The network-like state value of network is presently in acquisition;Judgment module, for judging the network-like state value for being presently in network
It is whether consistent with the preassigned authority credentials;And decryption and display module, for the judgment module judgement described in
Be presently in the network-like state value of network it is consistent with the preassigned authority credentials when, to the encrypted information content into
Row decryption, and the information content after decryption is displayed in the display interface.
The device according to an embodiment of the present invention for receiving information can judge that is got is presently in net by judgment module
Whether the network-like state value of network and the preassigned authority credentials in the short message received are consistent, and decryption and display module are judging
When module judges consistent, the encrypted information content in short message is decrypted, and the information content after decryption is shown
In display interface, check there was only short message ability in the area so that the short message that user receives is set in specified region
It can be opened and check, this ensure that information reading place is to receive in the desired range of information transmitter without having to worry about information
Person is with regional spread of the short message other than expected range or is stolen, and improves information security.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart of the method for sending and receiving information in the related technology;
Fig. 2 is the flow chart of the method according to an embodiment of the invention for sending information;
Fig. 3 is the flow chart of the method according to an embodiment of the invention for receiving information;
Fig. 4 is the flow chart of the method for reception information accord to a specific embodiment of that present invention;
Fig. 5 is the structural schematic diagram of the device according to an embodiment of the invention for sending information;
Fig. 6 is the structural schematic diagram of the device according to an embodiment of the invention for receiving information;And
Fig. 7 is the structural schematic diagram of the device of reception information accord to a specific embodiment of that present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the method and apparatus according to an embodiment of the present invention for sending information are described and receive information
Method and apparatus.
Fig. 2 is the flow chart of the method according to an embodiment of the invention for sending information.
As shown in Fig. 2, the method for the transmission information may include:
S201 receives the information content and obtains preassigned authority credentials.
Wherein, in one embodiment of the invention, preassigned authority credentials may include MCC (Mobile Country
Code, mobile country code), MNC (Mobile Network Code, mobile network code, MNC), LAC (Location Area
Code, location area codes) and at least one Cell ID (mark of a base station under specified MCC+MNC+LAC) etc..Its
In, the value range of MCC/MNC can be 0~0x3E7, and the value range of LAC/Cell ID can be 0~0xFFFF.In addition, at this
In the embodiment of invention, the fixed physical occupy-place of preassigned authority credentials can be 7 bytes.
For example, user can first write the information content, and can set the specified region for checking the information content.In this way,
Information transmitting terminal can first receive the information content that user writes, and obtain and preset permission corresponding to specified region
Value.For example, the information content that user writes is " you are good ", it is specified only to allow in " mobile operator of Pekinese Beihai park "
Terminal receive and check the information content, therefore, can be obtained according to " mobile operator of Pekinese Beihai park " its institute it is right
The authority credentials answered, i.e., at least one Cell ID under MCC, MNC, LAC and MCC+MNC+LAC.It is appreciated that it is settable at least
One Cell ID, and it is not necessarily a base station nearest from LAC, one or more bases near from LAC can also be set
It stands.
S202 encrypts the information content.
For example, can by DES (Data Encryption Standard, data encryption standards) algorithm to the information content into
Row encryption.It should be appreciated that in one embodiment of the invention, can also be added by other encryption methods to the information content
It is close, for example, (a kind of public keys for supporting variable length key is calculated by 3DES (Triple DES, the symmetry algorithm based on DES), RSA
Method) etc..
It should be noted that in one embodiment of the invention, the key Key of encryption can voluntarily be negotiated really by manufacturer
It is fixed.
S203, according to be added in the information content of preset information content format after encryption preassigned authority credentials with
Generate short message.
Wherein, in one embodiment of the invention, preset information content format may include the beginning SMS of the information content
Header (Short Messaging Service Header), mobile country code MCC, mobile network code, MNC MNC, position area
Field code LAC, at least one Base Station Identification Cell ID and encrypted information content etc., as shown in Table 1 below.
SMS Header | MCC | MNC | LAC | Cell Id | The encrypted information content |
Table 1
Short message is sent to information receiving end by S204, wherein information receiving end judges that information receiving end is presently in network
Network-like state value and the preassigned authority credentials in short message it is whether consistent, when consistent, to the information content in short message into
Row is decrypted and is shown.
Wherein, in one embodiment of the invention, network-like state value may include mobile country code MCC, mobile network
Code MNC, location area codes LAC and Base Station Identification Cell ID etc..In addition, network-like state value may also include network type
Network Type etc..
Specifically, short message can be sent to information receiving end by short message transmission interface, information receiving end is connect by short message
After receiving interface to short message, can first judge information receiving end be presently in the network-like state value of network with it is preparatory in short message
Whether specified power value is consistent, if unanimously, the information content in short message can be decrypted, and shows in display interface
The information content after showing decryption.It should be appreciated that in an embodiment of the present invention, if it is inconsistent, not to the information in short message
Content is decrypted, and can still prompt currently have unread short messages.
It should be noted that in an embodiment of the present invention, information receiving end after receiving short message, not to short message into
Row modification, but remain that encrypted state is stored in information receiving end.
The method according to an embodiment of the present invention for sending information, can encrypt the information content received, and according to
The preassigned authority credentials got is added in the information content of preset information content format after encryption to generate short message,
And short message is sent to information receiving end, information receiving end judges that it is presently in the network-like state value of network and short message
Whether preassigned authority credentials is consistent, when consistent, the information content in short message is decrypted and is shown, so that user connects
The short message received is set in specified region and checks, i.e., only short message can just be opened and check in the area, guarantees in this way
Information reading place is in the desired range of information transmitter, without having to worry about information receiver with the short message in expected range
Regional spread in addition is stolen, and improves information security.
In addition, the invention also provides a kind of methods for receiving information.
Fig. 3 is the flow chart of the method according to an embodiment of the invention for receiving information.
As shown in figure 3, the method for the reception information may include:
S301 receives short message, wherein short message includes preassigned authority credentials and the encrypted information content.
In addition, in one embodiment of the invention, preassigned authority credentials may include MCC, MNC, LAC and at least one
A Cell ID etc..Wherein, the value range of MCC/MNC can be 0~0x3E7, the value range of LAC/Cell ID can for 0~
0xFFFF.In addition, in an embodiment of the present invention, the fixed physical occupy-place of preassigned authority credentials can be 7 bytes.
S302 obtains the network-like state value for being presently in network.
Wherein, in one embodiment of the invention, network-like state value may include mobile country code MCC, mobile network
Code MNC, location area codes LAC and Base Station Identification Cell ID etc..In addition, network-like state value may also include network type
Network Type etc..
S303 judges whether the network-like state value for being presently in network and preassigned authority credentials are consistent.
Specifically, when user attempts to read the short message received, can preassigned authority credentials in first short message enquiry,
And judge whether the network-like state value for being presently in network and preassigned authority credentials are consistent.It should be noted that in this hair
In bright one embodiment, if it is inconsistent, the information content in short message is not decrypted, it can still prompt currently to have not
Reading short message.
S304 if unanimously, the encrypted information content be decrypted, and the information content after decryption is shown
In display interface.
It should be noted that in an embodiment of the present invention, after receiving short message, do not modify to short message, and
It is to remain that encrypted state is stored in information receiving end.
The method according to an embodiment of the present invention for receiving information, can determine whether to get is presently in the network state of network
Be worth and the short message that receives in preassigned authority credentials it is whether consistent, if unanimously, can be to encrypted in short message
The information content is decrypted, and the information content after decryption is displayed in the display interface, so that the short message quilt that user receives
It is set in specified region and checks, i.e., only short message can just be opened and check in the area, this ensure that information reading field
It is to be passed without having to worry about information receiver with region of the short message other than expected range in the desired range of information transmitter
It broadcasts or is stolen, improve information security.
Fig. 4 is the flow chart of the method for reception information accord to a specific embodiment of that present invention.
In order to further increase information security, in an embodiment of the present invention, the network for being presently in network can be monitored
Whether state value changes, and listen to change when, close display interface immediately.It specifically, as shown in figure 4, should
Receive information method may include:
S401 receives short message, wherein short message includes preassigned authority credentials and the encrypted information content.
S402 obtains the network-like state value for being presently in network.
S403 judges whether the network-like state value for being presently in network and preassigned authority credentials are consistent.
S404 if unanimously, the encrypted information content be decrypted, and the information content after decryption is shown
In display interface.
Whether S405, the network-like state value that monitoring is presently in network change.
S406 then closes display interface if there is a change.
Specifically, as one listened in the network-like state value (MCC, MNC, LAC, Cell ID) for being presently in network
Or multiple values can close display interface when changing immediately.
Whether the method according to an embodiment of the present invention for receiving information can be monitored and be presently in the network-like state value of network and send out
Changing, and listen to change when, close display interface immediately, further improve information security.
In addition, the invention also provides a kind of devices for sending information.
Fig. 5 is the structural schematic diagram of the device according to an embodiment of the invention for sending information.
As shown in figure 5, the device of the transmission information may include receiving and obtaining module 110, encrypting module 120, generate
Module 130 and sending module 140.
Specifically, receiving and obtain module 110 can be used for receiving the information content and obtains preassigned authority credentials.Its
In, in one embodiment of the invention, preassigned authority credentials may include MCC, MNC, LAC and at least one Cell ID
Deng.Wherein, the value range of MCC/MNC can be 0~0x3E7, and the value range of LAC/Cell ID can be 0~0xFFFF.This
Outside, in an embodiment of the present invention, the fixed physical occupy-place of preassigned authority credentials can be 7 bytes.
For example, user can first write the information content, and can set the specified region for checking the information content.In this way,
The information content that user writes can first be received by receiving and obtain module 110, and is obtained and preset corresponding to specified region
Authority credentials.For example, the information content that user writes is " you are good ", it is specified only to allow in " the movement of Pekinese Beihai park
The terminal of operator " receives and checks the information content, therefore, can be obtained according to " mobile operator of Pekinese Beihai park "
Authority credentials corresponding to it, i.e., at least one Cell ID under MCC, MNC, LAC and MCC+MNC+LAC.It is appreciated that can set
At least one Cell ID is set, and is not necessarily a base station nearest from LAC, one or more near from LAC can also be set
A base station.
Encrypting module 120 can be used for encrypting the information content.For example, encrypting module 120 can be by DES algorithm to letter
Breath content is encrypted.It should be appreciated that in one embodiment of the invention, it can also be by other encryption methods to the information content
It is encrypted, for example, 3DES, RSA etc..
It should be noted that in one embodiment of the invention, the key Key of encryption can voluntarily be negotiated really by manufacturer
It is fixed.
Generation module 130 can be used for according to finger in advance is added in the preset information content format information content after encryption
Fixed authority credentials is to generate short message.Wherein, in one embodiment of the invention, preset information content format may include information
Beginning SMS Header of content, mobile country code MCC, mobile network code, MNC MNC, location area codes LAC, at least one
Base Station Identification Cell ID and the encrypted information content etc., as shown in table 1 above.
Sending module 140 can be used for short message being sent to information receiving end, wherein information receiving end judges information receiving end
Whether network-like state value and the preassigned authority credentials in short message for being presently in network are consistent, and when consistent, to short message
In the information content be decrypted and show.
Wherein, in one embodiment of the invention, network-like state value may include mobile country code MCC, mobile network
Code MNC, location area codes LAC and Base Station Identification Cell ID etc..In addition, network-like state value may also include network type
Network Type etc..
More specifically, short message can be sent to information receiving end by short message transmission interface by sending module 140, information is received
End short message is received by short message receiving interface after, can first judge information receiving end be presently in network network-like state value and
Whether the preassigned authority credentials in short message is consistent, and when judging consistent, the information content in short message can be decrypted, and
The information content after showing decryption in display interface.It should be appreciated that in an embodiment of the present invention, when judging inconsistent,
The information content in short message can not be decrypted, can still prompt that currently there are unread short messages.
It should be noted that in an embodiment of the present invention, information receiving end after receiving short message, not to short message into
Row modification, but remain that encrypted state is stored in information receiving end.
The device according to an embodiment of the present invention for sending information can carry out the information content received by encrypting module
Encryption, generation module according to be added in the preset information content format information content after encryption get it is preassigned
Authority credentials is to generate short message, and short message is sent to information receiving end by sending module, and information receiving end judges that it is presently in network
Network-like state value and the preassigned authority credentials in short message it is whether consistent, when judging consistent, in the information in short message
Appearance is decrypted and shows, checks so that the short message that user receives is set in specified region, i.e., only in the area
Short message can just be opened and check, this ensure that information reading place is in the desired range of information transmitter, without having to worry about letter
Breath recipient is with regional spread of the short message other than expected range or is stolen, and improves information security.
It should be noted that preassigned authority credentials can also be not provided with by sending the device of information, in this way, sending information
The short message that device is sent can be received and check in any place.
In addition, the invention also provides a kind of devices for receiving information.
Fig. 6 is the structural schematic diagram of the device according to an embodiment of the invention for receiving information.
As shown in fig. 6, the device of the reception information may include receiving module 210, obtain module 220, judgment module 230
With decryption and display module 240.
Specifically, receiving module 210 can be used for receiving short message, wherein short message includes preassigned authority credentials and encryption
The information content afterwards.In addition, in one embodiment of the invention, preassigned authority credentials may include MCC, MNC, LAC and
At least one Cell ID etc..Wherein, the value range of MCC/MNC can be 0~0x3E7, and the value range of LAC/Cell ID can
For 0~0xFFFF.In addition, in an embodiment of the present invention, the fixed physical occupy-place of preassigned authority credentials can be 7 words
Section.
Obtaining module 220 can be used for obtaining the network-like state value for being presently in network.Wherein, in an implementation of the invention
In example, network-like state value may include mobile country code MCC, mobile network code, MNC MNC, location area codes LAC and base station mark
Know Cell ID etc..In addition, network-like state value may also include network type Network Type etc..
Judgment module 230 can be used for judge be presently in network network-like state value and preassigned authority credentials whether one
It causes.More specifically, judgment module 230 can be preassigned in short message enquiry when user attempts to read the short message received
Authority credentials, and judge whether the network-like state value for being presently in network and preassigned authority credentials are consistent.It should be noted that
In one embodiment of the invention, when judging inconsistent, the information content in short message can not be decrypted, can be still prompted
Currently there are unread short messages.
Decryption and display module 240 can be used for judging the network-like state value for being presently in network and pre- in judgment module 230
When first specified power value is consistent, the encrypted information content is decrypted, and the information content after decryption is shown aobvious
Show in interface.
It should be noted that in an embodiment of the present invention, after receiving short message, do not modify to short message, and
It is to remain that encrypted state is stored in information receiving end.
The device according to an embodiment of the present invention for receiving information can judge that is got is presently in net by judgment module
Whether the network-like state value of network and the preassigned authority credentials in the short message received are consistent, and decryption and display module are judging
When module judges consistent, the encrypted information content in short message is decrypted, and the information content after decryption is shown
In display interface, check there was only short message ability in the area so that the short message that user receives is set in specified region
It can be opened and check, this ensure that information reading place is to receive in the desired range of information transmitter without having to worry about information
Person is with regional spread of the short message other than expected range or is stolen, and improves information security.
Fig. 7 is the structural schematic diagram of the device of reception information accord to a specific embodiment of that present invention.
As shown in fig. 7, the device of the reception information may include receiving module 210, obtain module 220, judgment module
230, decryption and display module 240, monitoring module 250 and closedown module 260.
Specifically, it monitors module 250 and can be used for monitoring and be presently in the network-like state value of network and whether change.It closes
Module 260 can be used for monitor module 250 listen to be presently in the network-like state value of network and change when, close display circle
Face.
More specifically, closedown module 260 monitor module 250 listen to be presently in network network-like state value (MCC,
MNC, LAC, Cell ID) in one or more values when changing, display interface can be closed immediately.
The device according to an embodiment of the present invention for receiving information, the network that network can be presently in by monitoring module monitoring
Whether state value changes, and closedown module closes display interface, further when monitoring module is listened to and changed immediately
Improve information security.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In the description of the present invention, " multiple "
It is meant that at least two, such as two, three etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (8)
1. a kind of method for sending information characterized by comprising
It receives the information content and obtains preassigned authority credentials, wherein the preassigned authority credentials includes mobile national
Code MCC, mobile network code, MNC MNC, location area codes LAC and at least one Base Station Identification Cell ID;
The information content is encrypted;
According to the preassigned authority credentials is added to generate in the information content of preset information content format after encryption
Short message;And
The short message is sent to information receiving end, wherein the information receiving end judges that the information receiving end is presently in
Whether the network-like state value of network and the preassigned authority credentials in the short message are consistent, when consistent, in the short message
The information content be decrypted and show;Wherein, the network-like state value includes mobile country code MCC, mobile network code, MNC
MNC, location area codes LAC and Base Station Identification Cell ID.
2. the method according to claim 1, wherein the preset information content format includes the information content
Start SMS Header, mobile country code MCC, mobile network code, MNC MNC, location area codes LAC, at least one base station mark
Know Cell ID and the encrypted information content.
3. a kind of method for receiving information characterized by comprising
Receive short message, wherein the short message includes preassigned authority credentials and the encrypted information content, described to preassign
Authority credentials include mobile country code MCC, mobile network code, MNC MNC, location area codes LAC and at least one Base Station Identification
Cell ID;
Obtain the network-like state value for being presently in network, wherein the network-like state value includes mobile country code MCC, movement
Network code MNC, location area codes LAC and Base Station Identification Cell ID;
Whether network-like state value and the preassigned authority credentials that network is presently in described in judgement are consistent;And
If consistent, the encrypted information content is decrypted, and the information content displaying after decryption is being shown
In interface.
4. according to the method described in claim 3, it is characterized by further comprising:
Whether the network-like state value that network is presently in described in monitoring changes;And
If there is a change, then the display interface is closed.
5. a kind of device for sending information characterized by comprising
It receives and obtains module, for receiving the information content and obtaining preassigned authority credentials, wherein described preassigned
Authority credentials includes mobile country code MCC, mobile network code, MNC MNC, location area codes LAC and at least one Base Station Identification
Cell ID;
Encrypting module, for being encrypted to the information content;
Generation module, for described preassigned according to being added in the preset information content format information content after encryption
Authority credentials is to generate short message;And
Sending module, for the short message to be sent to information receiving end, wherein the information receiving end judges that the information connects
Receiving end be presently in network network-like state value and the preassigned authority credentials in the short message it is whether consistent, and consistent
When, the information content in the short message is decrypted and is shown;Wherein, the network-like state value includes mobile country code
MCC, mobile network code, MNC MNC, location area codes LAC and Base Station Identification Cell ID.
6. device according to claim 5, which is characterized in that the preset information content format includes the information content
Start SMS Header, mobile country code MCC, mobile network code, MNC MNC, location area codes LAC, at least one base station mark
Know Cell ID and the encrypted information content.
7. a kind of device for receiving information characterized by comprising
Receiving module, for receiving short message, wherein the short message includes preassigned authority credentials and the encrypted information content
The preassigned authority credentials includes mobile country code MCC, mobile network code, MNC MNC, location area codes LAC and at least
One Base Station Identification Cell ID;
Module is obtained, for obtaining the network-like state value for being presently in network, wherein the network-like state value includes mobile national
Code MCC, mobile network code, MNC MNC, location area codes LAC and Base Station Identification Cell ID;
Judgment module, for judge the network-like state value for being presently in network and the preassigned authority credentials whether one
It causes;And
Decryption and display module, for be presently in described in the judgment module judgement the network-like state value of network with it is described pre-
When first specified power value is consistent, the encrypted information content is decrypted, and the information content after decryption is shown
In display interface.
8. device according to claim 7, which is characterized in that further include:
Module is monitored, for monitoring whether the network-like state value for being presently in network changes;And
Closedown module, for when the monitoring module listens to the network-like state value for being presently in network and changes,
Close the display interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410212268.1A CN105101120B (en) | 2014-05-19 | 2014-05-19 | The method and apparatus for sending the method and apparatus of information and receiving information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410212268.1A CN105101120B (en) | 2014-05-19 | 2014-05-19 | The method and apparatus for sending the method and apparatus of information and receiving information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105101120A CN105101120A (en) | 2015-11-25 |
CN105101120B true CN105101120B (en) | 2019-01-29 |
Family
ID=54580469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410212268.1A Active CN105101120B (en) | 2014-05-19 | 2014-05-19 | The method and apparatus for sending the method and apparatus of information and receiving information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105101120B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108833083A (en) * | 2018-06-27 | 2018-11-16 | 扬州天佑网络科技有限公司 | One kind being based on time and space communications content transmission method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005639A (en) * | 2006-12-15 | 2007-07-25 | 深圳市杰普林数码科技限公司 | Method for automatic access local information by mobile phone |
CN101060670A (en) * | 2007-05-24 | 2007-10-24 | 深圳市杰特电信控股有限公司 | A mobile phone message encrypting and decrypting method |
CN101964962A (en) * | 2010-05-31 | 2011-02-02 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for sending and receiving short messages |
CN102647691A (en) * | 2012-03-29 | 2012-08-22 | 华为技术有限公司 | Short message sending method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8620255B2 (en) * | 2008-06-16 | 2013-12-31 | Qualcomm Incorporated | Method and apparatus for supporting emergency calls and location for femto access points |
-
2014
- 2014-05-19 CN CN201410212268.1A patent/CN105101120B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005639A (en) * | 2006-12-15 | 2007-07-25 | 深圳市杰普林数码科技限公司 | Method for automatic access local information by mobile phone |
CN101060670A (en) * | 2007-05-24 | 2007-10-24 | 深圳市杰特电信控股有限公司 | A mobile phone message encrypting and decrypting method |
CN101964962A (en) * | 2010-05-31 | 2011-02-02 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for sending and receiving short messages |
CN102647691A (en) * | 2012-03-29 | 2012-08-22 | 华为技术有限公司 | Short message sending method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN105101120A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3698535B1 (en) | Privacy preserving tag | |
Jasek | Gattacking Bluetooth smart devices | |
CN106656510B (en) | A kind of encryption key acquisition methods and system | |
CN105281904B (en) | Encryption method, system, Internet of Things server and the internet-of-things terminal of message data | |
US20060178170A1 (en) | Wireless communication device having battery authentication, and associated method | |
CN104980397A (en) | Instant messaging method, system and terminal | |
CN105357007A (en) | Encryption communication method and communication terminal | |
CN104079581A (en) | Identity authentication method and device | |
CN105792194A (en) | Base station legality authentication method, device and system and network device | |
CN105228153A (en) | Method for network access, system and wireless routing device | |
CN104202736A (en) | Mobile terminal short message end-to-end encryption method oriented to Android system | |
CN106060098A (en) | Processing method, processing device and processing system for verification codes | |
CN105075182B (en) | For allowing the method for lawful intercept by providing safety information | |
CN105975867A (en) | Data processing method | |
CN106605419A (en) | Method and system for secure SMS communications | |
US20150237017A1 (en) | Communication Information Transmitting Process and System | |
CN104955029A (en) | Address book protection method, address book protection device and communication system | |
CN101841785B (en) | Method for sending encrypted message by cellphone and system thereof | |
KR101067146B1 (en) | Method for processing encrypted message in portable terminal and portable terminal | |
CN105101120B (en) | The method and apparatus for sending the method and apparatus of information and receiving information | |
CN104980919A (en) | Method for acquiring network service information and equipment | |
CN101415185A (en) | Mobile terminal, method and system for keeping secret of platform-striding information | |
CN102098391B (en) | Communication terminal and communication information processing method thereof | |
WO2016045168A1 (en) | Data processing method and data processing apparatus | |
CN107872793B (en) | Base station identification method, terminal and server |
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 |