CN111356091B - Message sending and receiving method and terminal - Google Patents
Message sending and receiving method and terminal Download PDFInfo
- Publication number
- CN111356091B CN111356091B CN201811571594.6A CN201811571594A CN111356091B CN 111356091 B CN111356091 B CN 111356091B CN 201811571594 A CN201811571594 A CN 201811571594A CN 111356091 B CN111356091 B CN 111356091B
- Authority
- CN
- China
- Prior art keywords
- receiving
- message
- sent
- information
- network
- 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
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000012795 verification Methods 0.000 claims abstract description 56
- 238000010295 mobile communication Methods 0.000 claims abstract description 15
- 238000004590 computer program Methods 0.000 claims description 13
- 238000005516 engineering process Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 230000009471 action Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/18—Service support devices; Network management devices
- H04W88/184—Messaging devices, e.g. message centre
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a message sending method, a message receiving method and a terminal. The message sending method comprises the following steps: judging whether a network where a receiving terminal to be sent is located is a global system for mobile communications (GSM) network; if the network where the receiving terminal is located is a GSM network, judging whether the information to be sent is a verification code message; if the information to be sent is the verification code message, sending prompt information comprising a plurality of receiving modes to a receiving terminal so that a user of the receiving terminal can select a target receiving mode of the information to be sent from the plurality of receiving modes according to the prompt information; and sending the information to be sent to a receiving terminal according to a target receiving mode. According to the message sending and receiving method and the terminal provided by the embodiment of the invention, the safety of sending the verification code information to the GSM network user is ensured.
Description
Technical Field
The present invention relates to the field of data services, and in particular, to a method and a terminal for sending and receiving a message.
Background
Because the Global System For Mobile Communications (GSM) has the characteristics of single authentication and short message plaintext transmission, GSM network users are easily stolen by lawbreakers using pseudo base stations and short message sniffers. Especially, when the short message verification code of the payment transaction is stolen, property loss of the GSM network user can be caused.
Since the GSM network inventory user still exists, the third generation mobile communication technology (3G) and the fourth generation mobile communication technology (4G) users may have a short fall back to GSM in some cases. Since GSM cannot leave the network directly in a short period of time, it is very important how to realize secure sending of the authentication code information to the GSM network user.
Disclosure of Invention
The message sending and receiving method and the terminal ensure the safety of sending the verification code information to the GSM network user.
According to an aspect of the embodiments of the present invention, there is provided a message sending method, including:
judging whether a network where a receiving terminal to be sent is located is a global system for mobile communications (GSM) network;
if the network where the receiving terminal is located is a GSM network, judging whether the information to be sent is a verification code message;
if the information to be sent is the verification code message, sending prompt information comprising a plurality of receiving modes to a receiving terminal so that a user of the receiving terminal can select a target receiving mode of the information to be sent from the plurality of receiving modes according to the prompt information;
and sending the information to be sent to a receiving terminal according to a target receiving mode.
In one embodiment, the determining whether a network where a receiving terminal to be sent is located is a global system for mobile communications GSM network includes:
sending a search request to a Home Subscriber Server (HSS) or a Home Location Register (HLR) so that the HSS or the HLR searches a network where a receiving terminal is located based on the search request;
and receiving the network where the receiving terminal is located, and judging whether the network where the receiving terminal is located is a GSM network.
In one embodiment, the plurality of reception modes includes:
the receiving terminal returns to the third generation mobile communication technology 3G network or the fourth generation mobile communication technology 4G network for receiving, receiving through a data service mode, receiving through voice telephone broadcasting, and receiving after replying a specific dynamic password.
In one embodiment, if the target receiving mode is receiving through voice telephone broadcasting; wherein,
sending information to be sent to a receiving terminal according to a target receiving mode, comprising:
and broadcasting the content in the information to be transmitted to the user by dialing a voice telephone.
In one embodiment, the prompt is also used to inform the user that he or she has a passcode message to receive.
According to another aspect of the embodiments of the present invention, there is provided a message receiving method, including:
receiving prompt information comprising a plurality of receiving modes so that a user can select a target receiving mode from the plurality of receiving modes according to the prompt information, wherein the prompt information is sent when the short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message;
forwarding the target receiving mode to a short message center so that the short message center sends information to be sent according to the target receiving mode;
and receiving information to be sent.
In one embodiment, the plurality of reception modes includes:
the receiving terminal returns to the 3G network or the 4G network for receiving, receives through a data service mode, receives through voice telephone broadcasting, and receives after replying a specific dynamic password.
According to still another aspect of the embodiments of the present invention, there is provided a message transmitting apparatus, including:
the network judging module is used for judging whether the network where the receiving terminal to be sent is located is a global system for mobile communications (GSM) network;
the message judging module is used for judging whether the information to be sent is a verification code message or not if the network where the receiving terminal is located is a GSM network;
the prompt information sending module is used for sending prompt information comprising a plurality of receiving modes to the receiving terminal if the information to be sent is the verification code message so that a user of the receiving terminal can select a target receiving mode of the information to be sent from the plurality of receiving modes according to the prompt information;
and the message sending module is used for sending the information to be sent to the receiving terminal according to the target receiving mode.
According to another aspect of the embodiments of the present invention, there is provided a terminal, configured to:
receiving prompt information comprising a plurality of receiving modes so that a user can select a target receiving mode from the plurality of receiving modes according to the prompt information, wherein the prompt information is sent when the short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message;
forwarding the target receiving mode to a short message center so that the short message center sends information to be sent according to the target receiving mode;
and receiving information to be sent.
According to still another aspect of the embodiments of the present invention, there is provided a message receiving apparatus, including:
the prompt information receiving module is used for receiving prompt information comprising a plurality of receiving modes so that a user can select a target receiving mode from the plurality of receiving modes according to the prompt information, wherein the prompt information is sent when the short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message;
the forwarding module is used for forwarding the target receiving mode to the short message center so that the short message center sends the information to be sent according to the target receiving mode;
and the message receiving module is used for receiving the information to be sent.
According to still another aspect of the embodiments of the present invention, there is provided a message transmitting apparatus, including: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the messaging method as provided by embodiments of the present invention.
According to still another aspect of the embodiments of the present invention, there is provided a message receiving apparatus, including: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the message receiving method as provided by the embodiments of the present invention.
According to yet another aspect of the embodiments of the present invention, a computer storage medium has computer program instructions stored thereon, and the computer program instructions, when executed by a processor, implement a message sending method according to the embodiments of the present invention or a message receiving method according to the embodiments of the present invention.
According to the message sending and receiving method and the terminal in the embodiment of the invention, the user can independently select the safety mode of receiving the short message verification code by prompting the short message, so that the safety of receiving the verification code short message by a GSM user is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a message sending method according to some embodiments of the present invention;
fig. 2 is a flowchart illustrating a message sending method according to another embodiment of the present invention;
fig. 3 is a schematic flowchart of a message receiving method according to some embodiments of the present invention;
fig. 4 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message receiving apparatus according to an embodiment of the present invention;
FIG. 6 is a block diagram of an exemplary hardware architecture of a messaging device in accordance with an embodiment of the present invention;
fig. 7 is a block diagram of an exemplary hardware architecture of a message receiving device according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For better understanding of the present invention, a message transmitting and receiving method and a terminal according to embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be noted that these embodiments are not intended to limit the scope of the present invention.
The following describes a specific implementation procedure of the message sending method and the message receiving method according to the embodiment of the present invention with reference to a specific example.
In the embodiment of the invention, the message transmission system comprises a short message center and a receiving terminal. As shown in fig. 1, when the short message center needs to send information to the receiving terminal, the short message center searches for the Location/network of the receiving terminal through a Home Subscriber Server (HSS) or a Home Location Register (HLR), and determines whether the receiving terminal is in a GSM network according to a search result sent by the HSS/HLR.
And if the short message center confirms that the receiving terminal is not in the GSM network, sending the short message according to a normal flow.
If the short message center confirms that the receiver (receiving terminal) is in the GSM network, the content of the short message is identified, and whether the short message to be sent by the short message center is the verification code short message or not is judged according to the identified content of the short message.
And if the short message center determines that the short message to be sent is not the verification code short message, sending the short message according to a normal flow.
And if the short message center determines that the short message to be sent is the verification code short message to be received by the terminal residing in the GSM network, the short message center suspends the sending of the verification code short message. Then, the short message center transmits a prompt short message to the user of the receiving terminal, the prompt short message informs the user that a verification code short message is waiting for receiving, and asks the user to select a safe receiving mode and replies through the short message.
The receiving mode of the verification code short message includes but is not limited to: and the receiving terminal receives the short message verification code after returning to the 3G network/4G network, receives the short message verification code in a data service mode, and receives the short message verification code after receiving voice call broadcasting or replying a specific dynamic password.
And after the short message center receives the receiving mode selected by the user, transmitting the verification code information to the receiving terminal according to the receiving mode selected by the user so that the user can acquire the verification code information.
For example, the short message center converts the digital verification code to be transmitted into a dialed voice call, and broadcasts the dialed voice call to the user of the receiving terminal through voice.
The embodiment of the invention provides special service for the GSM user to receive the short message verification code by identifying the network where the short message receiver is located, and ensures the security of the GSM user for receiving the short message verification code by prompting the short message to enable the user to independently select the security mode for receiving the short message verification code.
Because the GSM cannot directly quit the network in a short period, the mode of the short message verification code for verifying the identity is converted into local verification or data service transmission, and the terminal side may need to be changed to some extent, but the security of the GSM user receiving the verification code short message by depending on the terminal side modification has certain difficulty. The message sending method provided by the embodiment of the invention does not need to modify the terminal side, is suitable for all GSM network stock terminals, does not need to change the network greatly, and has wide applicability and high flexibility.
Based on the above process, the message sending method applied to the short message center side provided by the embodiment of the present invention can be summarized as the steps shown in fig. 2. Fig. 2 is a flowchart illustrating a message sending method 200 applied to a short message center side according to an embodiment of the present invention. As shown in fig. 2, the message sending method in the embodiment of the present invention includes the following steps:
s210, judging whether the network of the receiving terminal to be sent is a global system for mobile communications (GSM) network.
And S220, if the network where the receiving terminal is located is a GSM network, judging whether the information to be sent is a verification code message.
And S230, if the information to be sent is the verification code message, sending prompt information comprising a plurality of receiving modes to the receiving terminal so that a user of the receiving terminal selects a target receiving mode of the information to be sent from the plurality of receiving modes according to the prompt information.
And S240, sending the information to be sent to the receiving terminal according to the target receiving mode.
The message sending method provided by the embodiment of the invention can ensure that the verification code information is safely sent to the GSM network user by sending the verification code message to the receiving terminal positioned in the GSM network by using the receiving mode selected by the user.
In an embodiment of the present invention, step S210 includes the steps of:
s2101, send a search request to the home subscriber server HSS or the home location register HLR, so that the HSS or the HLR searches for the network where the receiving terminal is located based on the search request.
S2102 receives the network where the receiving terminal is located, and determines whether the network where the receiving terminal is located is a GSM network.
In the embodiment of the invention, the network where the receiving terminal is located can be determined by sending the query request to the HSS or the HLR before sending the verification code message to the receiving terminal, so that the verification code message is prevented from being directly sent to the GSM network user, and the safety of sending the verification code message to the GSM network user is ensured.
In the embodiment of the present invention, the prompt message may include a plurality of receiving modes for the user to select. As an example, the plurality of receiving manners in the prompt message include: the receiving terminal returns to the 3G network or the 4G network for receiving, receives through a data service mode, receives through voice telephone broadcasting, and receives after replying a specific dynamic password.
As a specific example, if the verification code message selected by the user is received through voice telephone broadcasting, the content in the verification code message is broadcasted to the user by dialing a voice telephone, so that the user can obtain the content in the verification code message.
In the embodiment of the present invention, the prompt message not only includes a receiving manner of a plurality of verification code messages, but also is used to inform the user that the user has a verification code message to be received.
In the embodiment of the invention, by utilizing the user to select the receiving mode, the verification code message of the GSM network user can be prevented from being stolen by lawbreakers using the pseudo base station and the short message sniffer, and the user can select according to own habits, so that the method has great flexibility.
Based on the above process, the message receiving method applied to the terminal side provided by the embodiment of the present invention can be summarized as the steps shown in fig. 3. Fig. 3 is a flowchart illustrating a message receiving method 300 applied to a terminal side according to an embodiment of the present invention. As shown in fig. 3, the message receiving method in the embodiment of the present invention includes the following steps:
s310, receiving prompt information comprising a plurality of receiving modes so that a user can select a target receiving mode from the plurality of receiving modes according to the prompt information, wherein the prompt information is sent when the short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message.
S320, forwarding the target receiving mode to a short message center so that the short message center sends the information to be sent according to the target receiving mode.
S330, receiving the information to be sent.
In an embodiment of the present invention, the plurality of reception modes include:
the receiving terminal returns to the 3G network or the 4G network for receiving, receives through a data service mode, receives through voice telephone broadcasting, and receives after replying a specific dynamic password.
Fig. 4 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present invention. As shown in fig. 4, the message transmission apparatus 400 includes:
the network determining module 410 is configured to determine whether a network where a receiving terminal to send information is located is a GSM network.
The message determining module 420 is configured to determine whether the message to be sent is an authentication code message if the network where the receiving terminal is located is a GSM network.
The prompt information sending module 430 is configured to send prompt information including multiple receiving modes to the receiving terminal if the information to be sent is the verification code message, so that a user of the receiving terminal selects a target receiving mode of the information to be sent from the multiple receiving modes according to the prompt information.
The message sending module 440 is configured to send information to be sent to a receiving terminal according to a target receiving manner.
Other details of the message sending apparatus according to the embodiment of the present invention are similar to the method according to the embodiment of the present invention described above with reference to fig. 2, and are not described herein again.
Fig. 5 is a schematic structural diagram of a message receiving apparatus according to an embodiment of the present invention. As shown in fig. 5, the message receiving apparatus 500 includes:
the prompt information receiving module 510 is configured to receive prompt information including multiple receiving modes, so that a user selects a target receiving mode from the multiple receiving modes according to the prompt information, where the prompt information is sent when the short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message.
The forwarding module 520 is configured to forward the target receiving mode to the short message center, so that the short message center sends the information to be sent according to the target receiving mode.
A message receiving module 530, configured to receive information to be sent.
Other details of the message sending apparatus according to the embodiment of the present invention are similar to the method according to the embodiment of the present invention described above with reference to fig. 3, and are not described herein again.
An embodiment of the present invention further provides a terminal, where the terminal is configured to:
receiving prompt information comprising a plurality of receiving modes so that a user can select a target receiving mode from the plurality of receiving modes according to the prompt information, wherein the prompt information is sent when the short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message;
forwarding the target receiving mode to a short message center so that the short message center sends information to be sent according to the target receiving mode;
and receiving information to be sent.
Other details of the terminal according to the embodiment of the present invention are similar to the method according to the embodiment of the present invention described above with reference to fig. 3, and are not described herein again.
The message sending method and apparatus according to the embodiments of the present invention described in conjunction with fig. 2 and 4 may be implemented by a message sending device. Fig. 6 is a diagram illustrating a hardware structure 600 of a message transmitting apparatus according to an embodiment of the present invention.
As shown in fig. 6, the message transmission device 600 in the present embodiment includes: the system comprises a processor 601, a memory 602, a communication interface 603 and a bus 610, wherein the processor 601, the memory 602 and the communication interface 603 are connected through the bus 610 and complete mutual communication.
In particular, the processor 601 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured as one or more integrated circuits implementing embodiments of the present invention.
Memory 602 may include mass storage for data or instructions. By way of example, and not limitation, memory 602 may include an HDD, floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Memory 602 may include removable or non-removable (or fixed) media, where appropriate. The memory 602 may be internal or external to the messaging device 600, where appropriate. In a particular embodiment, the memory 602 is a non-volatile solid-state memory. In a particular embodiment, the memory 602 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The communication interface 603 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.
The bus 610 includes hardware, software, or both to couple the components of the messaging device 600 to one another. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 610 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
That is, the message transmitting apparatus 600 shown in fig. 6 may be implemented to include: a processor 601, a memory 602, a communication interface 603, and a bus 610. The processor 601, the memory 602, and the communication interface 603 are coupled via a bus 610 and communicate with each other. The memory 602 is used to store program code; the processor 601 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 602, so as to execute the message sending method in any embodiment of the present invention, thereby implementing the message sending method and apparatus described in conjunction with fig. 2 and 4.
The message receiving method and apparatus according to the embodiments of the present invention described in conjunction with fig. 3 and 5 may be implemented by a message receiving device. Fig. 7 is a diagram illustrating a hardware structure 700 of a message receiving apparatus according to an embodiment of the present invention.
As shown in fig. 7, the message receiving apparatus 700 in the present embodiment includes: a processor 701, a memory 702, a communication interface 703 and a bus 710, wherein the processor 701, the memory 702 and the communication interface 703 are connected by the bus 710 and communicate with each other.
In particular, the processor 701 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement an embodiment of the present invention.
Memory 702 may include a mass storage for data or instructions. By way of example, and not limitation, memory 702 may include an HDD, floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Memory 702 may include removable or non-removable (or fixed) media, where appropriate. The memory 702 may be internal or external to the message receiving apparatus 700, where appropriate. In a particular embodiment, the memory 702 is non-volatile solid-state memory. In a particular embodiment, the memory 702 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The communication interface 703 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiment of the present invention.
The bus 710 comprises hardware, software, or both to couple the components of the message receiving apparatus 700 to one another. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 710 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
That is, the message receiving apparatus 700 shown in fig. 7 may be implemented to include: a processor 701, a memory 702, a communication interface 703, and a bus 710. The processor 701, the memory 702, and the communication interface 703 are coupled via a bus 710 and communicate with each other. The memory 702 is used to store program code; the processor 701 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 702 for executing the message receiving method in any embodiment of the present invention, thereby implementing the message receiving method and apparatus described in conjunction with fig. 3 and 5.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium is stored with computer program instructions; the computer program instructions, when executed by a processor, implement the message sending method provided by the embodiments of the present invention or implement the message receiving method provided by the embodiments of the present invention.
The functional blocks shown in the above structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As will be apparent to those skilled in the art, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.
Claims (13)
1. A method for sending a message, the method comprising:
judging whether a network where a receiving terminal to be sent is located is a global system for mobile communications (GSM) network;
if the network where the receiving terminal is located is the GSM network, judging whether the information to be sent is a verification code message;
if the information to be sent is a verification code message, sending prompt information comprising a plurality of receiving modes to the receiving terminal so that a user of the receiving terminal can select a target receiving mode of the information to be sent from the plurality of receiving modes according to the prompt information;
and sending the information to be sent to the receiving terminal according to the target receiving mode.
2. The method of claim 1, wherein the determining whether the network where the receiving terminal to send the information is located is a global system for mobile communications GSM network comprises:
sending a search request to a Home Subscriber Server (HSS) or a Home Location Register (HLR) so that the HSS or the HLR searches a network where the receiving terminal is located based on the search request;
and receiving the network where the receiving terminal is located, and judging whether the network where the receiving terminal is located is the GSM network.
3. The method of claim 1, wherein the plurality of reception modes comprises:
the receiving terminal returns to the third generation mobile communication technology 3G network or the fourth generation mobile communication technology 4G network for receiving, receiving through a data service mode, receiving through voice telephone broadcasting, and receiving after replying a specific dynamic password.
4. The method of claim 3, wherein if the target receiving mode is receiving through voice call broadcasting; wherein,
the sending the information to be sent to the receiving terminal according to the target receiving mode comprises:
and broadcasting the content in the information to be sent to the user by dialing a voice telephone.
5. The method of claim 1, wherein the prompt is further configured to inform the user that the user has an authentication code message to be received.
6. A method for receiving a message, the method comprising:
receiving prompt information comprising a plurality of receiving modes so that a user can select a target receiving mode from the plurality of receiving modes according to the prompt information, wherein the prompt information is sent when a short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message;
forwarding the target receiving mode to the short message center so that the short message center sends the information to be sent according to the target receiving mode;
and receiving the information to be sent.
7. The method of claim 6, wherein the plurality of reception modes comprises:
the receiving terminal returns to the 3G network or the 4G network for receiving, receives through a data service mode, receives through voice telephone broadcasting, and receives after replying a specific dynamic password.
8. A message transmission apparatus, characterized in that the apparatus comprises:
the network judging module is used for judging whether the network where the receiving terminal to be sent is located is a global system for mobile communications (GSM) network;
the message judging module is used for judging whether the information to be sent is a verification code message or not if the network where the receiving terminal is located is the GSM network;
a prompt message sending module, configured to send a prompt message including multiple receiving modes to the receiving terminal if the to-be-sent message is a verification code message, so that a user of the receiving terminal selects a target receiving mode of the to-be-sent message from the multiple receiving modes according to the prompt message;
and the message sending module is used for sending the information to be sent to the receiving terminal according to the target receiving mode.
9. A terminal, characterized in that the terminal is configured to:
receiving prompt information comprising a plurality of receiving modes so that a user can select a target receiving mode from the plurality of receiving modes according to the prompt information, wherein the prompt information is sent when a short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message;
forwarding the target receiving mode to the short message center so that the short message center sends the information to be sent according to the target receiving mode;
and receiving the information to be sent.
10. A message receiving apparatus, the apparatus comprising:
the prompt message receiving module is used for receiving prompt messages comprising a plurality of receiving modes so that a user can select a target receiving mode from the plurality of receiving modes according to the prompt messages, wherein the prompt messages are sent when the short message center determines that a network where a receiving terminal of information to be sent is located is a GSM network and the information to be sent is a verification code message;
the forwarding module is used for forwarding the target receiving mode to the short message center so that the short message center sends the information to be sent according to the target receiving mode;
and the message receiving module is used for receiving the information to be sent.
11. A message sending device, characterized in that the device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the message sending method according to any of claims 1-5.
12. A message receiving device, the device comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the message receiving method of any of claims 6-7.
13. A computer storage medium having computer program instructions stored thereon which, when executed by a processor, implement the message sending method of any one of claims 1 to 5 or the message receiving method of any one of claims 6 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811571594.6A CN111356091B (en) | 2018-12-21 | 2018-12-21 | Message sending and receiving method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811571594.6A CN111356091B (en) | 2018-12-21 | 2018-12-21 | Message sending and receiving method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111356091A CN111356091A (en) | 2020-06-30 |
CN111356091B true CN111356091B (en) | 2021-08-27 |
Family
ID=71196933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811571594.6A Active CN111356091B (en) | 2018-12-21 | 2018-12-21 | Message sending and receiving method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111356091B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111885517B (en) * | 2020-07-20 | 2021-11-09 | 中国联合网络通信集团有限公司 | Short message verification code sniffing prevention method and device |
CN112804399B (en) * | 2021-01-06 | 2022-03-01 | 北京小米移动软件有限公司 | Verification code receiving method, device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932762A (en) * | 2012-09-20 | 2013-02-13 | 无锡华御信息技术有限公司 | Remote centralized management control encryption system and method for mobile storage equipment based on global system for mobile communication (GSM) |
CN105188063A (en) * | 2015-09-30 | 2015-12-23 | 华为软件技术有限公司 | Access testing method, server and mobile gateway |
CN107733852A (en) * | 2017-08-24 | 2018-02-23 | 北京三快在线科技有限公司 | A kind of auth method and device, electronic equipment |
CN207264519U (en) * | 2017-09-19 | 2018-04-20 | 广西申能达智能科技有限公司 | A kind of intelligent sound wireless consumer machine system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150208285A1 (en) * | 2014-01-17 | 2015-07-23 | Mediatek Inc. | Apparatus and method for circuit switched fallback |
-
2018
- 2018-12-21 CN CN201811571594.6A patent/CN111356091B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932762A (en) * | 2012-09-20 | 2013-02-13 | 无锡华御信息技术有限公司 | Remote centralized management control encryption system and method for mobile storage equipment based on global system for mobile communication (GSM) |
CN105188063A (en) * | 2015-09-30 | 2015-12-23 | 华为软件技术有限公司 | Access testing method, server and mobile gateway |
CN107733852A (en) * | 2017-08-24 | 2018-02-23 | 北京三快在线科技有限公司 | A kind of auth method and device, electronic equipment |
CN207264519U (en) * | 2017-09-19 | 2018-04-20 | 广西申能达智能科技有限公司 | A kind of intelligent sound wireless consumer machine system |
Non-Patent Citations (1)
Title |
---|
短信验证码漏洞多风险大 怎么解决;环球网官方账号;《https://baijiahao.***.com/s?id=1608925401424718796&wfr=spider&for=pc》;20180816;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111356091A (en) | 2020-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111277963B (en) | Method, equipment and system for establishing connection | |
CN111356091B (en) | Message sending and receiving method and terminal | |
CN111144865B (en) | Information processing method, device, equipment and storage medium | |
CN111526503B (en) | Authentication method and system for GEO satellite Internet of things | |
KR100431563B1 (en) | Mobile-station adapted for removable user identity modules | |
CN111093200A (en) | Cell residence method, terminal, first server, computing device and medium | |
US20120309369A1 (en) | Enabling a user to purchase a ring back tone | |
CN105577956A (en) | Information prompting method and device | |
CN111385256A (en) | Method, device, equipment and medium for migrating batch applications | |
CN111212392B (en) | Forward call filtering method, device, equipment and medium | |
CN113329404B (en) | Network access method and device | |
KR100791254B1 (en) | Apparatus and method for retrieving multimedia message in mobile communication terminal | |
CN112994849B (en) | Method, apparatus, device and medium for determining mobile communication terminal information | |
CN111510415B (en) | Method, device, equipment and storage medium for sharing and identifying blacklist number | |
CN114650544A (en) | Networking method, device and equipment of ad hoc network and computer storage medium | |
KR100845325B1 (en) | Method for changing the msisdn using the ota(over-the-air activation) in wcdma(wideband code division multiple access) mobile phone | |
CN109474435B (en) | Method, device, equipment, system and medium for relay authentication of multiple services | |
CN107241731B (en) | Mobile terminal network reselection control method and device | |
CN116131913B (en) | Control method and device for multi-system satellite mobile communication system | |
CN115243204A (en) | Message sending method, device, equipment and computer storage medium | |
WO2015193609A1 (en) | Method for activating a subscriber card such as a sim card | |
CN114916056B (en) | Data network name acquisition method, system, base station, terminal and storage medium | |
CN107950043B (en) | Method, terminal, service platform, access point and access point background for verifying wireless local area network access point | |
CN113490216A (en) | Terminal internet access control method, device, equipment and computer storage medium | |
KR100548331B1 (en) | System message detail recording affirm method for mobile communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |