CN111405120B - Method for protecting communication number, control system, device and computer readable storage medium - Google Patents

Method for protecting communication number, control system, device and computer readable storage medium Download PDF

Info

Publication number
CN111405120B
CN111405120B CN201910002916.3A CN201910002916A CN111405120B CN 111405120 B CN111405120 B CN 111405120B CN 201910002916 A CN201910002916 A CN 201910002916A CN 111405120 B CN111405120 B CN 111405120B
Authority
CN
China
Prior art keywords
gateway
module
numbers
sending
mapping
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
Application number
CN201910002916.3A
Other languages
Chinese (zh)
Other versions
CN111405120A (en
Inventor
田亚伟
曾一平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910002916.3A priority Critical patent/CN111405120B/en
Publication of CN111405120A publication Critical patent/CN111405120A/en
Application granted granted Critical
Publication of CN111405120B publication Critical patent/CN111405120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2281Call monitoring, e.g. for law enforcement purposes; Call tracing; Detection or prevention of malicious calls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/436Arrangements for screening incoming calls, i.e. evaluating the characteristics of a call before deciding whether to answer it
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Abstract

The invention discloses a method for protecting communication numbers, a control system, a device and a computer readable storage medium, wherein the method comprises the following steps: receiving a communication request message from a gateway or a short message gateway, wherein the communication request message comprises a mapping number corresponding to a called number and a calling number; matching the calling number with a first number; wherein the first number comprises: a preset opposite terminal number allowing communication with the mapping number; and if the matching fails and the number of the first numbers reaches a first threshold value, sending a rejection instruction message to a gateway or a short message gateway.

Description

Method for protecting communication number, control system, device and computer readable storage medium
Technical Field
The present invention relates to communications technologies, and in particular, to a method, a control system, an apparatus, and a computer-readable storage medium for protecting a communication number.
Background
In daily life, a user often needs to provide a communication number of the user to a related party for storage, such as an internet service provider, various intermediaries, express delivery and the like, so that the related party can contact the user through the communication number. Therefore, the communication number information of the user is easy to leak and is acquired by bad personnel, so that the user is disturbed by various malicious calls or short messages.
In the prior art, a one-card-multiple-number mode, a short-term validity number allocation mode and a number conversion mode of a service provider are generally used for ensuring that a main communication number of a user cannot be acquired by a related party. The one-card multi-number means that a user uses one SIM card, has a plurality of communication numbers including a main number and a plurality of auxiliary numbers under the condition of not changing a mobile phone and a card, thereby using the auxiliary numbers as a contact way for using network service, various intermediaries and express delivery, and avoiding being maliciously disturbed by controlling the states of the auxiliary numbers (power-off, only receiving short messages and only receiving calls). There are also internet service providers that offer communication numbers with short validity periods that users may apply for use in place of the primary communication number. There are also service providers that build platforms to assist users in number translation.
In the prior art, if the auxiliary number is in a power-on state or the allocated number is in a validity period, the situation that the user is maliciously harassed still cannot be avoided.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide a method, a control system, an apparatus, and a computer-readable storage medium for protecting a communication number.
The method for protecting the communication number provided by the embodiment of the invention comprises the following steps:
receiving a communication request message from a gateway or a short message gateway, wherein the communication request message comprises a mapping number corresponding to a called number and a calling number;
matching the calling number with a first number; wherein the first number comprises: a preset opposite terminal number allowing communication with the mapping number;
and if the matching fails and the number of the first numbers reaches a first threshold value, sending a rejection instruction message to a gateway or a short message gateway.
Wherein the method comprises the following steps:
and if the matching is successful or the number of the first numbers does not reach the first threshold value, sending a connection instruction message to a gateway or a short message gateway.
Wherein the method comprises the following steps:
if the matching fails and the number of the first numbers does not reach the first threshold value, adding the calling numbers into the first numbers;
and sending an adding success notification message to the terminal equipment to which the called number belongs.
An embodiment of the present invention provides a control system, including:
the signaling interaction module is connected with the gateway office and used for receiving the communication request message sent by the gateway office;
the access module is connected with the short message gateway and/or the Internet and is used for receiving a mapping number change or cancellation request message sent by a user through a short message or a website; the short message gateway is also used for receiving a communication request message from the short message gateway;
and the database is connected with the signaling interaction module and the access module and is used for storing the corresponding relation information of the communication number and the mapping number of the user, the opposite terminal number allowed to be communicated with the mapping number and a first threshold value representing the maximum number of the opposite terminal numbers.
In the signaling interaction module or the access module, the communication request message includes a mapping number corresponding to a calling number and a called number;
the signaling interaction module or the access module is further configured to match the calling number with the opposite-end number in the database, which is allowed to communicate with the mapping number:
if the matching is successful or the number of the opposite terminal numbers does not reach the first threshold value, sending a connection instruction message to a gateway or a short message gateway;
and if the matching fails and the number of the opposite terminal numbers reaches the first threshold value, sending a rejection instruction message to a gateway or a short message gateway.
Wherein the control system further comprises: a service application module and a service management module, wherein the service application module is connected with the service management module, the signaling interaction module and the access module, the service management module is connected with the database,
the service application module is configured to receive a pairing instruction message that is sent by the signaling interaction module or the access module and adds an opposite terminal number, where the pairing instruction message is generated by the signaling interaction module or the access module, and the condition of generating the pairing instruction message is as follows: if the matching fails and the number of the opposite terminal numbers does not reach the first threshold value;
the service application module is further configured to, after receiving the pairing instruction message, invoke the service management module to modify the content of the database according to a first policy, where the first policy includes:
and adding the calling number as an opposite terminal number corresponding to the mapping number.
The embodiment of the invention provides a device for protecting a communication number, which comprises:
the receiving module is used for receiving a communication request message from a gateway or a short message gateway, wherein the communication request message comprises a mapping number corresponding to a called number and a calling number;
the matching module is used for matching the calling number with a first number; wherein the first number comprises: a preset opposite terminal number allowing communication with the mapping number;
the first determining module is used for determining that the matching fails and the number of the first numbers reaches a first threshold value;
and the first sending module is used for sending the connection instruction message or the rejection instruction message to the gateway or the short message gateway.
Wherein the apparatus further comprises: a second determining module and a second sending module,
the second determining module is configured to determine that matching is successful or the number of the first numbers does not reach the first threshold;
and the second sending module is used for sending a connection instruction message to a gateway or a short message gateway.
Wherein the apparatus further comprises: a third determining module, a third sending module and a number adding module,
the third determining module is configured to determine that matching fails and the number of peer-to-peer numbers corresponding to the mapping number does not reach the first threshold;
the number adding module is used for adding the calling number in the first number;
and the third sending module is used for sending an adding success notification message to the terminal equipment to which the called number belongs.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the steps of the method for protecting a communication number.
In the technical scheme of the embodiment of the invention, a communication request message from a gateway or a short message gateway is received, wherein the communication request message comprises a mapping number corresponding to a called number and a calling number; matching the calling number with a first number; wherein the first number comprises: a preset opposite terminal number allowing communication with the mapping number; and if the matching fails and the number of the first numbers reaches a first threshold value, sending a rejection instruction message to a gateway or a short message gateway. Therefore, the problem that the user is harassed by malicious calls and short messages is solved by limiting the number of the opposite terminal numbers which are communicated with the mapping number of the communication number of the user.
Drawings
The accompanying drawings generally illustrate, by way of example and not by way of limitation, various embodiments discussed herein;
fig. 1 is a schematic flowchart of a method for protecting a communication number according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an architecture for establishing a mapping number according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a logical networking of a control system according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a control system according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for adding, changing, and canceling a mapping number according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a called flow of a mapping number according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a control system according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a device for protecting a communication number according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a device for protecting a communication number according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a schematic flow chart of a method for protecting a communication number according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101: receiving a communication request message from a gateway or a short message gateway, wherein the communication request message comprises a mapping number corresponding to a called number and a calling number.
The implementation main body of the method for protecting the communication number of the embodiment of the invention can be a server; when the received communication request message comes from the gateway and the corresponding application scenario is a call scenario, when the received communication request message comes from the short message gateway and the corresponding application scenario is a short message scenario, a mapping number is described below, taking the communication number as a mobile phone number for example, fig. 2 is an architecture diagram for establishing a mapping number for an actual mobile phone number of a user, wherein a plurality of mapping numbers, such as mapping number 1, mapping number 2 and the like, can be applied by the user for setting the actual mobile phone number, and the setting can be completed by a server.
102, matching the calling number with a first number; wherein the first number comprises: and the preset opposite terminal number allows the communication with the mapping number.
Taking fig. 2 as an example, assuming that the mapping number corresponding to the called number in step 101 is mapping number 1, then the first number includes: peer number 1, peer number 2 … …, etc.
Step 103: and if the matching fails and the number of the first numbers reaches a first threshold value, sending a rejection instruction message to a gateway or a short message gateway.
The first threshold may be initiated by the user, and set by the server, as described with reference to fig. 2, where the first threshold is a set upper limit of the number of peer numbers allowed to communicate with the mapping number, for example, for mapping number 1, if the first threshold is set to 4, the maximum number of peer numbers allowed to communicate with mapping number 1 is represented as 4 numbers, and assuming that the first threshold of mapping number 1 is set to 4, all stored peer numbers of mapping number 1 include: an opposite terminal number 1, an opposite terminal number 2 and an opposite terminal number 3; receiving a communication request message from a gateway or a short message gateway, wherein the communication request message includes a calling number a and a mapping number 1 corresponding to a called number, a control system can match the calling number a with an opposite terminal number of the mapping number 1, that is, match with an opposite terminal number 1, an opposite terminal number 2 and an opposite terminal number 3, and the following situations are described:
if the matching is successful, for example, the calling number a is determined to be consistent with the opposite terminal number 2, a connection instruction message may be sent to the gateway or the short message gateway (if the communication request message is a telephone call, the communication request message is sent to the gateway, and if the communication request message is a short message, the communication request message is sent to the short message gateway).
And 2, if the matching fails, for example, the calling number a is determined not to belong to any one of the opposite-end numbers 1 to 3, but at this time, since the number of the opposite-end numbers of the mapping number 1 is 3, the number does not reach the set first threshold 4, that is, the number of the opposite-end numbers of the mapping number does not reach the first threshold, the connection instruction message is still sent to the gateway or the short message gateway.
3, assuming the initial conditions are changed to: setting a first threshold value of mapping number 1 as 4, and setting the stored opposite-end number of mapping number 1 as: and when matching fails, judging that the number of the opposite terminals of the stored mapping number 1 reaches a first threshold value 4, at the moment, not allowing to access the calling number A, and sending a rejection instruction message to a gateway or a short message gateway.
In one embodiment, the method comprises: the method comprises the following steps: if the matching fails and the number of the first numbers does not reach the first threshold value, adding the calling numbers into the first numbers; and sending an adding success notification message to the terminal equipment to which the called number belongs. Specifically, in the second case of the foregoing embodiment, the matching is failed, and it is determined that the number of the peer numbers of the mapping number 1 is 3, and the number does not reach the set first threshold 4, at this time, in addition to sending a connection instruction message to a gateway or a short message gateway, the calling number a may be added as a peer number allowing communication, that is, the control system may set the calling number a as the peer number 4, and send the result to the terminal device to which the called number belongs, that is, to the terminal device to which the actual number of the user a corresponding to the mapping number 1 belongs, so as to inform the user that the addition is performed, and the specific sending manner may send the change result in a short message or web manner.
In one embodiment, the method comprises: and if the matching is successful or the number of the first numbers does not reach the first threshold value, sending a connection instruction message to a gateway or a short message gateway.
Fig. 3 is a schematic structural diagram of a logical networking of a control system according to an embodiment of the present invention, and as shown in fig. 3, the control system is connected to a gateway office, and a call in a mapped number format is transferred to the control system.
Fig. 4 is a schematic structural diagram of a control system according to an embodiment of the present invention, as shown in fig. 4, wherein,
1. a signaling interaction module: and processing the signaling message to complete the speech path connection function of the user and the continuous control of the voice circuit of the user.
2. An access module: connecting the short message gateway and the Internet to complete the short message receiving and sending functions; providing user and administrative Web access functions.
3. A service management module: and user authentication, registration and management functions are provided.
4. A service application module: and providing functions of user communication number conversion and mapping number generation, and controlling the execution of the service flow.
5. A database: storing the user data and the mapping number data, establishing a corresponding relationship as shown in fig. 2 for each user, and communicating with the mapping number only by the opposite-end number having the corresponding relationship.
Fig. 5 is a flowchart illustrating a method for adding, changing, and canceling a mapping number according to an embodiment of the present invention, where the method is implemented according to steps S51 to S55:
s51, the user sends the request of adding, changing and canceling mapping numbers through short message or internet website.
And S52, the access module authenticates the user after receiving the relevant request, checks the request format, and forwards the request format to the service application module for processing after the request format passes. When a user applies for adding or changing a mapping number, the mapping number needs to be carried with the maximum number of opposite-end numbers which can allow communication.
S53, after receiving the request, the service application module: aiming at the request of newly adding a mapping number, calling related functions to generate a unique mapping number of the whole network for the user, and sending a newly adding mapping number instruction to a service management module; and sending a mapping number changing or canceling instruction to the service management module aiming at the mapping number changing or canceling request.
And S54, the service management module performs database addition, deletion, modification and check operations according to the specific instruction, and returns the result to the service application module.
And S55, the service application module informs the result to the user by short message or Web mode.
Fig. 6 is a schematic diagram of a mapping number called process according to an embodiment of the present invention, where the mapping number called process is implemented according to steps S61 to S65:
s61, the gateway office carries the calling number A and the mapping number information Y, and sends the request information to the signaling interaction module.
S62, the signaling interaction module queries the database according to the mapping number Y to obtain D1, D2 and the like of the opposite terminal number data.
S63, if the calling number A calling the mapping number Y can match with the opposite terminal numbers D1, D2 of the mapping number in the database or the number of the opposite terminal numbers of the mapping number Y does not reach the upper limit set by the user when the mapping number Y is applied, sending a connection instruction message to the gateway; and if the mapping number Y can not be matched and the number of the opposite end numbers of the mapping number Y reaches the upper limit set when the mapping number Y is applied by the user, sending a rejection instruction message to a gateway office.
S64, if the calling number a calling the mapping number Y cannot be matched with the paired opposite-end numbers D1, D2, etc. in the database, and the number of the opposite-end numbers of the mapping number Y does not reach the upper limit set when the user applies for the mapping number Y, sending a pairing instruction message for adding an opposite-end number a to the mapping number Y to the service application module.
And S65, after receiving the instruction, the service application module calls the service management module to increase the pairing of the mapping number Y to the opposite terminal number A, and notifies the user of the result in a short message or Web mode after the processing is finished.
The flow of the mapping number receiving the short message is similar to the called flow, only the flow from the gateway to the signaling interaction module is changed into the flow from the short message gateway to the access module when the short message is accessed, and other logics are unchanged, so that the detailed description is omitted.
Fig. 7 is a schematic structural diagram of a control system according to an embodiment of the present invention, and as shown in fig. 7, the control system 700 includes:
a signaling interaction module 701, connected to the gateway, for receiving a communication request message sent by the gateway;
an access module 702, connected to a short message gateway and/or the internet, for receiving a mapping number change or cancellation request message sent by a user through a short message or a website; the short message gateway is also used for receiving a communication request message from the short message gateway;
the database 703 is connected to the signaling interaction module 701 and the access module 702, and is configured to store correspondence information between a communication number of a user and a mapping number, an opposite-end number allowed to communicate with the mapping number, and a first threshold value representing a maximum number of the opposite-end numbers.
In one embodiment, in the signaling interaction module 701 or the access module 702, the communication request message includes a mapping number corresponding to a calling number and a called number;
the signaling interaction module 701 or the access module 702 is further configured to match the calling number with the opposite-end number, which is stored in the database 703 and allowed to communicate with the mapping number:
if the matching is successful or the number of the opposite terminal numbers does not reach the first threshold value, sending a connection instruction message to a gateway or a short message gateway;
and if the matching fails and the number of the opposite terminal numbers reaches the first threshold value, sending a rejection instruction message to a gateway or a short message gateway.
In one embodiment, the control system 700 further comprises: a service application module 704 and a service management module 705, wherein the service application module 704 is connected to the service management module 705, the signaling interaction module 701 and the access module 702, the service management module 705 is connected to the database 703,
a service application module 704, configured to receive a pairing instruction message that is sent by a signaling interaction module 701 or an access module 702 and adds an opposite-end number, where the pairing instruction message is generated by the signaling interaction module 701 or the access module 702, and the condition of generating the pairing instruction message is: if the matching fails and the number of the opposite terminal numbers does not reach the first threshold value;
the service application module 704 is further configured to, after receiving the pairing instruction message, invoke the service management module 705 to modify the content of the database 703 according to a first policy, where the first policy includes:
and adding the calling number as an opposite terminal number corresponding to the mapping number.
In this embodiment, the functions of the modules of the control system 700 shown in fig. 7 can be understood by referring to the related descriptions in the foregoing detailed description of the control system. The functions of the respective modules in the control system 700 shown in fig. 7 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
Fig. 8 is a schematic structural diagram of a device for protecting a communication number according to an embodiment of the present invention, and as shown in fig. 8, the device 800 for protecting a communication number includes:
a receiving module 801, configured to receive a communication request message from a gateway or a short message gateway, where the communication request message includes a mapping number and a calling number corresponding to a called number;
a matching module 802, configured to match the calling number with a first number; wherein the first number comprises: a preset opposite terminal number allowing communication with the mapping number;
a first determining module 803, configured to determine that matching fails and the number of the first numbers reaches a first threshold;
the first sending module 804 is configured to send a connection instruction message or a rejection instruction message to a gateway or a short message gateway.
In one embodiment, the apparatus 800 for protecting a communication number further comprises: a second determination module 805 and a second sending module 806,
a second determining module 805, configured to determine that matching is successful or the number of the first numbers does not reach the first threshold;
a second sending module 806, configured to send a connection instruction message to a gateway or a short message gateway.
In one embodiment, the apparatus 800 for protecting a communication number further comprises: a third determination module 807, a third sending module 808 and a number adding module 809,
a third determining module 807, configured to determine that matching fails and the number of peer-to-peer numbers corresponding to the mapping number does not reach the first threshold;
the number adding module 809 is configured to add the calling number to the first number;
the third sending module 808 is configured to send an addition success notification message to the terminal device to which the called number belongs.
Those skilled in the art will appreciate that the functions implemented by the various modules in the apparatus 800 for communications number protection shown in fig. 8 can be understood with reference to the associated description of the method for communications number protection. The functions of the respective blocks in the apparatus 800 for protecting a communication number shown in fig. 8 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
Fig. 9 is a schematic structural diagram of a communication number protection device according to an embodiment of the present invention, where the communication number protection device 900 shown in fig. 9 is disposed on the terminal, and includes: at least one processor 901, memory 902, user interface 903, at least one network interface 904. The various components of the apparatus 900 for communications number protection are coupled together by a bus system 905. It is understood that the bus system 905 is used to enable communications among the components. The bus system 905 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 9 as bus system 905.
The user interface 903 may include a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, a touch screen, or the like, among others.
The memory 902 in embodiments of the present invention is used to store various types of data to support the operation of the apparatus 900 for communication number protection. Examples of such data include: any computer programs for operating on the apparatus 900 for communication number protection, such as an operating system 9021 and application programs 9022; the operating system 9021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. Application 9022 may contain various applications for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in application 9022.
The method disclosed in the above embodiments of the present invention may be applied to the processor 901, or implemented by the processor 901. The processor 901 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 901. The processor 901 described above may be a general purpose processor, a digital signal processor, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 901 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 902, and the processor 901 reads the information in the memory 902 and performs the steps of the aforementioned methods in combination with its hardware.
It will be appreciated that the memory 902 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a ferromagnetic access Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 902 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
Based on the method for protecting a communication number provided in the embodiments of the present application, the present application further provides a computer-readable storage medium, which is shown in fig. 9 and may include: a memory 902 for storing a computer program executable by the processor 901 of the device 900 for communication number protection to perform the steps of the method as described above. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that: the technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method of communication number protection, the method comprising:
receiving a communication request message from a gateway or a short message gateway, wherein the communication request message comprises a mapping number corresponding to a called number and a calling number;
matching the calling number with a first number; wherein the first number comprises: a preset opposite terminal number allowing communication with the mapping number;
if the matching fails and the number of the first numbers reaches a first threshold value, sending a rejection instruction message to a gateway or a short message gateway;
and if the matching fails and the number of the first numbers does not reach the first threshold value, sending a connection instruction message to a gateway or a short message gateway.
2. The method of communication number protection according to claim 1, wherein the method comprises:
and if the matching is successful or the number of the first numbers does not reach the first threshold value, sending a connection instruction message to a gateway or a short message gateway.
3. The method of communication number protection according to claim 2, wherein the method comprises:
if the matching fails and the number of the first numbers does not reach the first threshold value, adding the calling numbers into the first numbers;
and sending an adding success notification message to the terminal equipment to which the called number belongs.
4. A control system, characterized in that the control system comprises:
the signaling interaction module is connected with the gateway office and used for receiving the communication request message sent by the gateway office;
the access module is connected with the short message gateway and/or the Internet and is used for receiving a mapping number change or cancellation request message sent by a user through a short message or a website; the short message gateway is also used for receiving a communication request message from the short message gateway;
the database is connected with the signaling interaction module and the access module and is used for storing the corresponding relation information of the communication number and the mapping number of the user, the opposite terminal number allowed to be communicated with the mapping number and a first threshold value representing the maximum number of the opposite terminal numbers;
in the signaling interaction module or the access module, the communication request message includes a mapping number corresponding to a calling number and a called number;
the signaling interaction module or the access module is further configured to match the calling number with the opposite-end number in the database, which is allowed to communicate with the mapping number:
if the matching is successful or the number of the opposite terminal numbers does not reach the first threshold value, sending a connection instruction message to a gateway or a short message gateway;
if the matching fails and the number of the opposite terminal numbers reaches the first threshold value, sending a rejection instruction message to a gateway or a short message gateway;
and if the matching fails and the number of the opposite terminal numbers does not reach the first threshold value, sending a connection instruction message to a gateway or a short message gateway.
5. The control system of claim 4, further comprising: a service application module and a service management module, wherein the service application module is connected with the service management module, the signaling interaction module and the access module, the service management module is connected with the database,
the service application module is configured to receive a pairing instruction message that is sent by the signaling interaction module or the access module and adds an opposite terminal number, where the pairing instruction message is generated by the signaling interaction module or the access module, and the condition of generating the pairing instruction message is as follows: if the matching fails and the number of the opposite terminal numbers does not reach the first threshold value;
the service application module is further configured to, after receiving the pairing instruction message, invoke the service management module to modify the content of the database according to a first policy, where the first policy includes:
and adding the calling number as an opposite terminal number corresponding to the mapping number.
6. An apparatus for communication number protection, the apparatus comprising:
the receiving module is used for receiving a communication request message from a gateway or a short message gateway, wherein the communication request message comprises a mapping number corresponding to a called number and a calling number;
the matching module is used for matching the calling number with a first number; wherein the first number comprises: a preset opposite terminal number allowing communication with the mapping number;
the first determining module is used for determining that the matching fails and the number of the first numbers reaches a first threshold value; the number of the first numbers does not reach the first threshold value;
and the first sending module is used for sending the connection instruction message or the rejection instruction message to the gateway or the short message gateway.
7. The apparatus for communications number protection according to claim 6, further comprising: a second determining module and a second sending module,
the second determining module is configured to determine that matching is successful or the number of the first numbers does not reach the first threshold;
and the second sending module is used for sending a connection instruction message to a gateway or a short message gateway.
8. The apparatus for communications number protection according to claim 7, further comprising: a third determining module, a third sending module and a number adding module,
the third determining module is configured to determine that matching fails and the number of peer-to-peer numbers corresponding to the mapping number does not reach the first threshold;
the number adding module is used for adding the calling number in the first number;
and the third sending module is used for sending an adding success notification message to the terminal equipment to which the called number belongs.
9. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of the communication number protection method according to any one of claims 1 to 3.
CN201910002916.3A 2019-01-02 2019-01-02 Method for protecting communication number, control system, device and computer readable storage medium Active CN111405120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910002916.3A CN111405120B (en) 2019-01-02 2019-01-02 Method for protecting communication number, control system, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910002916.3A CN111405120B (en) 2019-01-02 2019-01-02 Method for protecting communication number, control system, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111405120A CN111405120A (en) 2020-07-10
CN111405120B true CN111405120B (en) 2021-11-09

Family

ID=71432044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910002916.3A Active CN111405120B (en) 2019-01-02 2019-01-02 Method for protecting communication number, control system, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111405120B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848878A (en) * 2005-04-14 2006-10-18 大唐移动通信设备有限公司 Method for realizing one card multi-number business in mobile communication system
CN104219399A (en) * 2014-08-27 2014-12-17 张震 Number selecting method, terminal, strategy server and system for card with multiple numbers
CN107666541A (en) * 2016-07-29 2018-02-06 汪风珍 It is a kind of to realize number safety and the method for secret protection
CN108270932A (en) * 2016-12-30 2018-07-10 中国移动通信集团公司 A kind of recognition methods of communicating number and device
CN108924335A (en) * 2017-03-23 2018-11-30 中科创达软件股份有限公司 A kind of calling-control method, system and mobile terminal
CN109040433A (en) * 2018-07-13 2018-12-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the method, apparatus to receive calls

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10477454B2 (en) * 2013-05-08 2019-11-12 Cellcontrol, Inc. Managing iOS-based mobile communication devices by creative use of CallKit API protocols

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848878A (en) * 2005-04-14 2006-10-18 大唐移动通信设备有限公司 Method for realizing one card multi-number business in mobile communication system
CN104219399A (en) * 2014-08-27 2014-12-17 张震 Number selecting method, terminal, strategy server and system for card with multiple numbers
CN107666541A (en) * 2016-07-29 2018-02-06 汪风珍 It is a kind of to realize number safety and the method for secret protection
CN108270932A (en) * 2016-12-30 2018-07-10 中国移动通信集团公司 A kind of recognition methods of communicating number and device
CN108924335A (en) * 2017-03-23 2018-11-30 中科创达软件股份有限公司 A kind of calling-control method, system and mobile terminal
CN109040433A (en) * 2018-07-13 2018-12-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the method, apparatus to receive calls

Also Published As

Publication number Publication date
CN111405120A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN107426169B (en) Service processing method and device based on permission
US20040019683A1 (en) Protocol independent communication system for mobile devices
US8032624B2 (en) Pluggable contact resolution
US20150163674A1 (en) Method for Selectively Exposing Subscriber Data
EP2410771B1 (en) Method and system for implementing location service
GB2422218A (en) A system for providing services
US11057827B1 (en) Provisioning an embedded universal integrated circuit card (eUICC) of a mobile communication device
WO2017041562A1 (en) Method and device for identifying user identity of terminal device
US9952888B2 (en) Method and system to dynamically instantiate virtual repository for any services
CN111787521A (en) Terminal application permission obtaining method, terminal equipment and USIM
CN113746777B (en) Method for safely accessing data and electronic equipment
US8856204B2 (en) Managing service provider messaging
US7945235B2 (en) Network-based subscriber calling restrictions
CN111984448B (en) Page calling method, device, equipment and storage medium
CN111405120B (en) Method for protecting communication number, control system, device and computer readable storage medium
CN114449462B (en) Short message service registration method, equipment and medium based on random mobile phone number
CN112367661B (en) USAT application matching implementation method, USIM, terminal, device and medium
CN113890906A (en) Call forwarding method and device, electronic equipment and computer readable storage medium
JP5940990B2 (en) APL-SCM-FE and application linkage method
CN111901792A (en) UICC application setting information management method, system and terminal
US7653182B2 (en) Method of managing personal data about users of voice services and an application server for executing the method
CN115426183B (en) Identity authentication method, device, equipment and computer readable medium
CN115695454B (en) Data storage method, device and equipment of MEC host and storage medium
JP2008245258A (en) Method and system for orchestration of content processing in mobile delivery framework
CN114979996A (en) Business card generation method and device based on SIM card and electronic equipment

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