Number interception method and apparatus, communication device, and storage medium

CN116915907BActive Publication Date: 2026-11-03CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310839158.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-10
Publication Date
2026-11-03
Estimated Expiration
2043-07-10

AI Technical Summary

Technical Problem

In the existing technology, landline equipment lacks effective means to block nuisance calls, especially the inability to block recorded calls generated by automated voice dialing devices without user intervention.

Method used

The system obtains USSD instructions through the USSD gateway, determines the target number, and sends number blocking information to the core network elements to intercept call signaling from the device using the target number to the fixed-line device.

Benefits of technology

It enables the blocking of nuisance calls to landline devices, reduces blocking costs, is easy and quick to operate, improves user experience, and reduces complaints.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116915907B_ABST
    Figure CN116915907B_ABST
Patent Text Reader

Abstract

The application relates to a number interception method and device, communication equipment and a storage medium, and relates to the technical field of communication. The method comprises the following steps: a USSD gateway acquires a USSD instruction of a first device; according to the USSD instruction, a target number needing to be intercepted is determined; and number interception information is sent to a core network element; wherein the number interception information is used for instructing the core network element to intercept call signaling of the second device calling the first device, and the second device is a device using the target number. The application can realize the interception of a harassing call of a fixed-line device, the call signaling is intercepted through the core network element, the cost of the harassing call interception is reduced, and the implementation mode is more simple and convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a number interception method, apparatus, communication device, and storage medium. Background Technology

[0002] In daily life, landline users are frequently bothered by various advertising and sales calls: the phone rings, users stop what they are doing, pick up the phone, and then find it's a worthless advertising call—a waste of time and energy. The large number of recorded calls that indiscriminately dial in turn by automated voice dialing devices further annoys phone users.

[0003] In current technology, telephone users have few effective means to deal with nuisance calls. Even if they do, it usually requires user intervention (such as choosing whether to answer or not), by which time the user has already been harassed. Mobile phone users can rely on their phone's blacklist function or identify unknown caller ID to actively reject the call. Landline users are basically helpless; even if the number is displayed and they can identify the unknown caller ID, they still have to hang up (otherwise, it will ring for a long time).

[0004] Therefore, how to block harassing calls from landline devices has become an urgent technical problem to be solved. Summary of the Invention

[0005] Therefore, it is necessary to provide a number blocking method, apparatus, communication device, and storage medium that can block harassing calls from landline devices, addressing the aforementioned technical problems.

[0006] Firstly, this application provides a number blocking method applied to a USSD (Unstructured Supplementary Service Data) gateway. The method includes:

[0007] Obtain the USSD command of the first device;

[0008] Based on the USSD instructions, determine the target number that needs to be intercepted;

[0009] Send number blocking information to the core network element; wherein, the number blocking information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is a device using the target number.

[0010] In one embodiment, determining the target number to be intercepted according to the USSD instruction includes:

[0011] Obtain the call records associated with the USSD command on the first device;

[0012] The other party's number in the call log is identified as the target number that needs to be intercepted.

[0013] In one embodiment, the USSD command is input to the first device by the user after hanging up the call from the second device.

[0014] In one embodiment, obtaining the call records associated with the USSD command on the first device includes:

[0015] The latest call record on the first device is used as the call record associated with the USSD command.

[0016] In one embodiment, before sending number blocking information to the core network element, the method further includes:

[0017] Add the target number to the target form associated with the first device in the database;

[0018] Based on the target form, determine the blacklist information of the first device;

[0019] Based on the blacklist information, number blocking information is generated.

[0020] In one embodiment, the step of obtaining the USSD command of the first device includes:

[0021] Obtain the USSD commands of the first device through the USSD server.

[0022] Secondly, this application provides a number blocking method applied to core network elements. The method includes:

[0023] Based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the second device is a device using a target number, and the target number is determined according to the USSD instructions of the first device.

[0024] Thirdly, this application also provides a number blocking device applied to the USSD gateway side. The device includes:

[0025] The instruction acquisition module is used to acquire the USSD instructions of the first device.

[0026] The number determination module is used to determine the target number to be intercepted based on the USSD instruction;

[0027] The information sending module is used to send number interception information to the core network element; wherein, the number interception information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is a device using the target number.

[0028] Fourthly, this application also provides a number blocking device. The device includes:

[0029] The number blocking module is used to block call signaling from a second device to a first device based on number blocking information provided by the USSD gateway; wherein the second device is a device using a target number, and the target number is determined according to the USSD instructions of the first device.

[0030] Fifthly, this application also provides a communication device. The communication device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0031] Obtain the USSD command of the first device;

[0032] Based on the USSD instructions, determine the target number that needs to be intercepted;

[0033] Send number blocking information to the core network element; wherein, the number blocking information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is a device using the target number.

[0034] Alternatively, the processor may execute the computer program by performing the following steps:

[0035] Based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the second device is a device using a target number, and the target number is determined according to the USSD instructions of the first device.

[0036] Sixthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0037] Obtain the USSD command of the first device;

[0038] Based on the USSD instructions, determine the target number that needs to be intercepted;

[0039] Send number blocking information to the core network element; wherein, the number blocking information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is a device using the target number.

[0040] Alternatively, when the computer program is executed by the processor, it performs the following steps:

[0041] Based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the second device is a device using a target number, and the target number is determined according to the USSD instructions of the first device.

[0042] Seventhly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0043] Obtain the USSD command of the first device;

[0044] Based on the USSD instructions, determine the target number that needs to be intercepted;

[0045] Send number blocking information to the core network element; wherein, the number blocking information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is a device using the target number.

[0046] Alternatively, when the computer program is executed by the processor, it performs the following steps:

[0047] Based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the second device is a device using a target number, and the target number is determined according to the USSD instructions of the first device.

[0048] The aforementioned number interception method, apparatus, communication equipment, and storage medium include a method comprising: a USSD gateway acquiring a USSD instruction from a first device, determining a target number to be intercepted based on the USSD instruction, and sending number interception information to a core network element to instruct the core network element to intercept call signaling from a second device using the target number to the first device. This application can intercept nuisance calls to fixed-line telephones. By intercepting call signaling through a core network element, the cost of nuisance call interception is reduced, and the implementation is simpler and faster. Attached Figure Description

[0049] Figure 1 This is a diagram illustrating the application environment of a number blocking method in one embodiment;

[0050] Figure 2 This is a flowchart illustrating a number blocking method in one embodiment;

[0051] Figure 3 This is a flowchart illustrating the process of determining a target number in one embodiment;

[0052] Figure 4 This is a schematic diagram of the process for generating number blocking information in one embodiment;

[0053] Figure 5 This is a flowchart illustrating a number blocking method in another embodiment;

[0054] Figure 6 This is a flowchart illustrating a number blocking method in another embodiment;

[0055] Figure 7 This is a structural block diagram of a number blocking device in one embodiment;

[0056] Figure 8 This is a structural block diagram of a number blocking device in another embodiment;

[0057] Figure 9 This is an internal structural diagram of a communication device in one embodiment. Detailed Implementation

[0058] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0059] As mentioned in the background section, current industry research on call blocking mainly focuses on mobile services. To block incoming calls to landline numbers, the following two conditions must be met simultaneously:

[0060] 1. The landline phone used must support caller ID functionality;

[0061] 2. You need to activate the caller ID service with the operator.

[0062] Currently, common methods to prevent landline harassment include:

[0063] 1. Use a telephone with anti-harassment function to set up a blacklist of numbers in advance to refuse incoming calls; this method can only avoid the noise of incoming calls, but it will still occupy the call channel (other calls cannot be received).

[0064] 2. Unconditionally forward landlines to mobile phones to avoid affecting the office environment; however, this method will affect the normal access of the forwarded mobile phone, and the original number will not be displayed, the mobile phone will display the forwarded number.

[0065] 3. Unplug the telephone line / change the landline number; this method gives users a bad impression.

[0066] Currently, landline telephones are mainly used in offices and homes. Changing the landline terminal, unplugging the telephone line, or changing the landline number will have a significant impact on the user's work and life.

[0067] Based on this, this application provides a number interception method, apparatus, communication device, and storage medium. A USSD gateway obtains USSD instructions from a first device, determines the target number to be intercepted based on the USSD instructions, and sends number interception information to a core network element to instruct the core network element to intercept call signaling from a second device using the target number to the first device. This application can intercept nuisance calls to fixed-line devices. By intercepting call signaling through a core network element, the cost of nuisance call interception is reduced, and the implementation is simpler and faster.

[0068] In addition, this application identifies and blocks harassing incoming calls on the core network side or core network elements, and performs routine maintenance of the blacklist. This provides a simple and fast way to deal with landline users who are harassed by long-term malicious calls but whose landlines do not have caller ID, thereby improving customer service perception and effectively reducing the number of customer complaints to the customer service center.

[0069] The number blocking method or number blocking device provided in this application embodiment can be applied to, for example... Figure 1 The application environment shown. For example... Figure 1 As shown, the application environment includes: fixed-line core network, core network elements, fixed-line equipment, USSD gateway, USSD server, code parsing module, execution module, and database.

[0070] The code parsing module and execution module can be deployed on the USSD gateway side, and the fixed-line core network, core network elements, fixed-line equipment, USSD gateway, USSD server and database are connected through the network.

[0071] The USSD gateway is used to set rules for encoding USSD commands, information conversion, and routing configuration. It can convert USSD codes in USSD commands into other types of signaling and perform corresponding operations.

[0072] The USSD server is used to receive signaling input from keypad input on fixed-line devices, temporarily store it, and send the signaling to the USSD gateway.

[0073] Code parsing module: Parses the USSD code, converts it into executable instructions, and sends them to the execution module.

[0074] Execution module: Notifies core network elements of execution instructions to intercept incoming call signaling.

[0075] Database: Stores data on phone numbers that need to be blocked.

[0076] The fixed-line equipment can be the following terminal equipment, and the USSD server can be the following server.

[0077] Terminal devices can be various electronic devices, including but not limited to smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, wearable devices, augmented reality devices, and virtual reality devices. Optionally, the client of the application installed on different terminal devices can be the same, or the client of the same type of application based on different operating systems. Depending on the terminal platform, the specific form of the application client can also be different; for example, the application client can be a mobile client, a PC client, etc.

[0078] The server can be a server that provides various services, such as a backend management server that supports the devices operated by users through terminal devices. The backend management server can analyze and process received requests and other data, and feed the processing results back to the terminal device. Optionally, the server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal and the server can be connected directly or indirectly through wired or wireless communication, and this disclosure does not impose any restrictions.

[0079] The network can be a wireless or wired network, which uses standard communication technologies and / or protocols. The network is typically the Internet, but can be any network, including but not limited to Local Area Networks (LANs), Metropolitan Area Networks (MANs), Wide Area Networks (WANs), mobile, wired or wireless networks, private networks, or any combination of virtual private networks. In some embodiments, technologies and / or formats, including Hyper Text Markup Language (HTML), Extensible Markup Language (XML), etc., are used to represent data exchanged over the network. Furthermore, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Networks (VPNs), and Internet Protocol Security (IPsec) can be used to encrypt all or some links. In other embodiments, custom and / or dedicated data communication technologies may be used to replace or supplement the aforementioned data communication technologies.

[0080] Those skilled in the art will know that Figure 1 The number of USSD gateways, fixed-line core networks, USSD servers, and fixed-line devices shown in the examples is merely illustrative. Any number of USSD gateways, fixed-line core networks, USSD servers, and fixed-line devices can be used as needed. This application does not limit the number of such devices.

[0081] The embodiments of this application will now be described in detail with reference to the accompanying drawings and examples.

[0082] In one embodiment, such as Figure 2 As shown, a number blocking method is provided, which can be applied to... Figure 1 Taking the USSD gateway as an example, the following steps are included:

[0083] S202, Obtain the USSD command of the first device.

[0084] The USSD command can be used to indicate the number to be blocked, or it can be used to indicate the number of the other party in the previous call record to be blocked, or it can be used to indicate the target number to be blocked. The USSD command can be preset to any format, for example, #0010#, #1010#, #3120#, or #target number#, etc. The first device can be any terminal device with call functionality, for example, a landline terminal.

[0085] Optionally, the user can input the USSD command through a button on the first device or by voice input. After recognizing the USSD command input by the user, the first device sends the USSD command to the USSD gateway so that the USSD gateway can obtain the USSD command from the first device.

[0086] Optionally, the USSD command is input by the user to the first device after hanging up the call from the second device. When the user receives a call from the second device, identifies the second device as a nuisance device, hangs up the call from the second device, and inputs the USSD command to the first device.

[0087] Optionally, obtaining the USSD command of the first device includes: obtaining the USSD command of the first device through a USSD server. The USSD server is located between the USSD gateway and the first device, and is used to receive the USSD command sent by the first device and forward it to the USSD gateway.

[0088] S204, based on USSD instructions, determine the target number to be intercepted.

[0089] The target number is the identification code of the terminal device, such as the terminal device's mobile phone number, IMSI (International Mobile Subscriber Identity), or IMEI (International Mobile Equipment Identity).

[0090] Optionally, when the USSD instruction is used to indicate a number to be blocked, or when the USSD instruction is used to indicate the peer number of the previous call record to be blocked, the USSD gateway obtains the call record associated with the USSD instruction on the first device and determines the peer number of the call record associated with the USSD instruction as the target number to be blocked.

[0091] When a USSD command indicates that a target number needs to be blocked, the USSD gateway can parse the USSD command to determine the target number identified in the command. For example, if the USSD command is #target number#, the USSD gateway will parse #target number# to obtain the target number.

[0092] S206 sends number blocking information to core network elements.

[0093] The number interception information is used to instruct core network elements to intercept call signaling from a second device to a first device, where the second device is the device using the target number. Core network elements can be control plane elements or user plane elements. Control plane elements include PCF (Policy Control Function), AMF (Access and Mobility Management Function), and SMF (Session Management Function), etc.; user plane elements include NG-RAN (Next Generation Radio Access Network) and UPF (User Plane Function), etc.

[0094] In this embodiment, the USSD gateway obtains the USSD instruction from the first device, determines the target number to be intercepted based on the USSD instruction, and sends number interception information to the core network element to instruct the core network element to intercept the call signaling of the second device using the target number calling the first device. This application can intercept nuisance calls to fixed-line devices. By intercepting call signaling through the core network element, the cost of nuisance call interception is reduced, and the implementation method is simpler and faster.

[0095] Based on the above embodiments, to prevent the first device from being harassed by phone calls, it is necessary to accurately determine the target numbers to be blocked. According to USSD instructions, there are many ways to determine the target numbers to be blocked. This embodiment provides an optional method for determining the target numbers, as detailed below. Figure 3 A detailed description.

[0096] See Figure 3 The diagram illustrates a process for determining a target number. Based on USSD instructions, determining the target number to be intercepted may include the following steps:

[0097] S302, retrieve the call records associated with the USSD command on the first device.

[0098] Optionally, obtaining the call records associated with the USSD command on the first device includes: sending a first acquisition request to a core network element, the first acquisition request being used to request the acquisition of the call records associated with the USSD command on the first device; and receiving the call records associated with the USSD command on the first device sent by the core network element in response to the first acquisition request.

[0099] Optionally, obtaining the call records associated with the USSD command on the first device includes: using the latest call record on the first device as the call record associated with the USSD command. For example, the USSD gateway sends a second acquisition request to a core network element, the second acquisition request being used to request the acquisition of the latest call record on the first device, and receives the latest call record on the first device sent by the core network element in response to the second acquisition request. The USSD gateway then uses the latest call record on the first device as the call record associated with the USSD command.

[0100] S304 identifies the other party's number in the call log as the target number to be intercepted.

[0101] Optionally, determining the other party's number in the call log as the target number to be intercepted includes: parsing the call log to determine the caller's number and the called party's number in the call log, and determining the caller's number as the target number to be intercepted, wherein the caller's number is also the number used by the second device, and the called party's number is also the number used by the first device.

[0102] In this embodiment, the user can input a USSD command on the first device, and the USSD gateway can determine the target number to be intercepted based on the USSD command. By marking the information to be intercepted in the form of a USSD command, the USSD gateway can accurately know the target number to be intercepted, thus improving the convenience of number interception.

[0103] Based on the above embodiments, to improve the convenience of device number interception, a target form can be set up in the database corresponding to the first device. This target form is used to store multiple numbers that the first device needs to intercept. After determining the target numbers to be intercepted according to the USSD instructions, the target numbers can be stored in the target form first, and then number interception information can be generated based on the numbers stored in the target form. See the details below. Figure 4 A detailed description.

[0104] See Figure 4 The diagram illustrates a process for generating number blocking information. Before sending the number blocking information to the core network elements, the method may further include the following steps:

[0105] S402, Add the target number to the target form associated with the first device in the database.

[0106] Optionally, after determining the target number to be intercepted according to the USSD instructions, the USSD gateway can add the target number to the target form associated with the first device in the database.

[0107] S404, Based on the target form, determine the blacklist information of the first device.

[0108] Optionally, blacklist information for the first device can be generated based on the numbers recorded in the target form.

[0109] S406 generates number blocking information based on blacklist information.

[0110] Optionally, the number blocking information can also be used to instruct core network elements to block all numbers stored in the target form.

[0111] In this embodiment, multiple numbers that the first device needs to block can be stored in a target form. The blacklist information of the first device is determined according to the target form, and number blocking information is generated according to the blacklist information. Multiple numbers can be blocked in batches, improving the efficiency of number blocking, while ensuring that the first device is not harassed by multiple phone calls.

[0112] In one embodiment, such as Figure 5 As shown, a number blocking method is provided, which can be applied to... Figure 1 Taking the core network elements as an example, the explanation includes the following steps:

[0113] S502, based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the second device is the device using the target number, and the target number is determined according to the USSD instruction of the first device.

[0114] In this embodiment, the USSD gateway obtains the USSD instruction from the first device, determines the target number to be intercepted based on the USSD instruction, and sends number interception information to the core network element to instruct the core network element to intercept the call signaling of the second device using the target number calling the first device. This application can intercept nuisance calls to fixed-line devices. By intercepting call signaling through the core network element, the cost of nuisance call interception is reduced, and the implementation method is simpler and faster.

[0115] Upon receiving call blocking information, the core network element of this application executes the blocking operation. Landline users can block harassing calls without changing their landline or current number, making this application cost-effective and easy to operate. Simultaneously, it significantly improves the user experience of the call service product and effectively reduces the number of complaints from users calling the call center regarding similar issues.

[0116] For example, based on the above embodiments, this embodiment provides an optional implementation process. Referring to the flowchart of another number blocking method shown in Figure 6, the process specifically includes the following steps:

[0117] S602, the first device sends a USSD command to the USSD server.

[0118] The USSD command can be used to indicate the number to be blocked, or it can be used to indicate the number of the other party in the previous call record to be blocked, or it can be used to indicate the target number to be blocked.

[0119] S604, the USSD server forwards USSD commands to the USSD gateway.

[0120] S606, the USSD gateway obtains the call records associated with the USSD command on the first device; and identifies the peer number in the call records as the target number to be intercepted.

[0121] S608, the USSD gateway adds the target number to the target form associated with the first device in the database; determines the blacklist information of the first device based on the target form; and generates number blocking information based on the blacklist information.

[0122] S610, the USSD gateway sends number blocking information to the core network elements.

[0123] S612, the core network element intercepts the call signaling from the second device to the first device based on the number interception information.

[0124] The second device is the device that uses the target number.

[0125] The specific processes of S602-S612 described above can be found in the description of the above method embodiments. Their implementation principles and technical effects are similar and will not be repeated here.

[0126] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0127] Based on the same inventive concept, this application also provides a number blocking device for implementing the number blocking method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more number blocking device embodiments provided below can be found in the limitations of the number blocking method described above, and will not be repeated here.

[0128] In one embodiment, such as Figure 7 As shown, a number blocking device is provided, applied to the USSD gateway side, including:

[0129] The instruction acquisition module 710 is used to acquire the USSD instruction of the first device;

[0130] The number determination module 720 is used to determine the target number to be intercepted based on USSD instructions;

[0131] The information sending module 730 is used to send number interception information to the core network element; wherein, the number interception information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is the device using the target number.

[0132] In one embodiment, the number determination module 720 is further configured to obtain call records associated with the USSD command on the first device; and determine the peer number in the call records as the target number to be intercepted.

[0133] In one embodiment, the USSD command is input to the first device by the user after hanging up the call from the second device.

[0134] In one embodiment, the number determination module 720 is further configured to use the latest call record on the first device as the call record associated with the USSD instruction.

[0135] In one embodiment, the device further includes an information generation module, which is used to add the target number to a target form associated with the first device in the database; determine the blacklist information of the first device based on the target form; and generate number blocking information based on the blacklist information.

[0136] In one embodiment, the instruction acquisition module 710 is further configured to acquire the USSD instruction of the first device through the USSD server.

[0137] In one embodiment, such as Figure 8 As shown, a number blocking device is provided, applied to the core network element side, including:

[0138] The number blocking module 810 is used to block call signaling from a second device to a first device based on number blocking information provided by the USSD gateway; wherein the second device is a device using a target number, and the target number is determined according to the USSD instructions of the first device.

[0139] Each module in the aforementioned number blocking device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the communication device in hardware form or independent of it, or stored in the memory of the communication device in software form, so that the processor can call and execute the corresponding operations of each module.

[0140] In one embodiment, a communication device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown in the figure, the communication device includes a processor, memory, network interface, and transceiver (not shown) connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs in the non-volatile storage media. The transceiver performs data receiving or sending operations under the control of the processor. The database stores data such as target numbers, numbers to be intercepted, USSD instructions, and call logs. The network interface communicates with external terminals via a network connection. The computer program, when executed by the processor, implements a number interception method.

[0141] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the communication device to which the present application is applied. Specific communication devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0142] In one embodiment, a communication device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the processing logic in the computer program to perform the following steps:

[0143] Obtain the USSD command of the first device;

[0144] Based on USSD instructions, determine the target number that needs to be intercepted;

[0145] Send number blocking information to the core network element; wherein, the number blocking information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is the device using the target number.

[0146] In one embodiment, when the processor executes the processing logic in the computer program that determines the target number to be intercepted according to the USSD instruction, it also performs the following steps: obtaining the call records associated with the USSD instruction on the first device; and determining the other party number in the call records as the target number to be intercepted.

[0147] In one embodiment, when the processor executes the processing logic in the computer program to obtain the call record associated with the USSD instruction on the first device, it further implements the following steps: taking the latest call record on the first device as the call record associated with the USSD instruction.

[0148] In one embodiment, when the processor executes the processing logic in the computer program before sending number blocking information to the core network element, it also implements the following steps: adding the target number to the target form associated with the first device in the database; determining the blacklist information of the first device based on the target form; and generating number blocking information based on the blacklist information.

[0149] In one embodiment, when the processor executes the processing logic of the computer program to obtain the USSD instruction of the first device, it also performs the following steps: obtaining the USSD instruction of the first device through the USSD server.

[0150] In one embodiment, when the processor executes processing logic in a computer program, it also performs the following steps:

[0151] Based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the second device is the device using the target number, and the target number is determined according to the USSD instructions of the first device.

[0152] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, wherein the processing logic in the computer program, when executed by a processor, performs the following steps:

[0153] Obtain the USSD command of the first device;

[0154] Based on USSD instructions, determine the target number that needs to be intercepted;

[0155] Send number blocking information to the core network element; wherein, the number blocking information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is the device using the target number.

[0156] Alternatively, the processing logic in a computer program, when executed by the processor, performs the following steps:

[0157] Based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the second device is the device using the target number, and the target number is determined according to the USSD instructions of the first device.

[0158] In one embodiment, when the processing logic in the computer program that determines the target number to be intercepted according to the USSD instruction is executed by the processor, the following steps are also implemented: obtaining the call records associated with the USSD instruction on the first device; and determining the other party number in the call records as the target number to be intercepted.

[0159] In one embodiment, when the processing logic for obtaining call records associated with the USSD instruction on the first device is executed by the processor in the computer program, the following steps are also performed: the latest call record on the first device is used as the call record associated with the USSD instruction.

[0160] In one embodiment, when the processing logic in the computer program before sending number blocking information to the core network element is executed by the processor, the following steps are also implemented: adding the target number to the target form associated with the first device in the database; determining the blacklist information of the first device based on the target form; and generating number blocking information based on the blacklist information.

[0161] In one embodiment, when the processing logic for obtaining the USSD instruction of the first device in the computer program is executed by the processor, the following steps are also performed: obtaining the USSD instruction of the first device through the USSD server.

[0162] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0163] Obtain the USSD command of the first device;

[0164] Based on USSD instructions, determine the target number that needs to be intercepted;

[0165] Send number blocking information to the core network element; wherein, the number blocking information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is the device using the target number.

[0166] Alternatively, the processing logic in a computer program, when executed by the processor, performs the following steps:

[0167] Based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the second device is the device using the target number, and the target number is determined according to the USSD instructions of the first device.

[0168] In one embodiment, when the processing logic in the computer program that determines the target number to be intercepted according to the USSD instruction is executed by the processor, the following steps are also implemented: obtaining the call records associated with the USSD instruction on the first device; and determining the other party number in the call records as the target number to be intercepted.

[0169] In one embodiment, when the processing logic for obtaining call records associated with the USSD instruction on the first device is executed by the processor in the computer program, the following steps are also performed: the latest call record on the first device is used as the call record associated with the USSD instruction.

[0170] In one embodiment, when the processing logic in the computer program before sending number blocking information to the core network element is executed by the processor, the following steps are also implemented: adding the target number to the target form associated with the first device in the database; determining the blacklist information of the first device based on the target form; and generating number blocking information based on the blacklist information.

[0171] In one embodiment, when the processing logic for obtaining the USSD instruction of the first device in the computer program is executed by the processor, the following steps are also performed: obtaining the USSD instruction of the first device through the USSD server.

[0172] It should be noted that the call records and target numbers involved in this application are information or data authorized by the user or fully authorized by all parties.

[0173] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0174] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0175] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for blocking phone numbers, characterized in that, The method, applied to a USSD gateway for unstructured supplemental data services, includes: Obtain USSD commands from the first device; wherein the first device is a landline terminal, the USSD commands are input by the user to the first device after hanging up the call from the second device, and the USSD commands are input by the user through buttons on the first device or through voice input; The latest call record on the first device is used as the call record associated with the USSD command; the call record is parsed to obtain the caller's number and the called party's number in the call record, and the caller's number is determined as the target number to be intercepted; Send number blocking information to the core network element; wherein, the number blocking information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is a device using the target number.

2. The method according to claim 1, characterized in that, Retrieving call records associated with the USSD command on the first device includes: The latest call record on the first device is used as the call record associated with the USSD command.

3. The method according to claim 1, characterized in that, Before sending number blocking information to the core network elements, the method further includes: Add the target number to the target form associated with the first device in the database; Based on the target form, determine the blacklist information of the first device; Based on the blacklist information, number blocking information is generated.

4. The method according to claim 1, characterized in that, The instructions for obtaining the USSD of the first device include: Obtain the USSD commands of the first device through the USSD server.

5. A method for blocking phone numbers, characterized in that, Applied to core network elements, the method includes: Based on the number interception information provided by the USSD gateway, the call signaling from the second device to the first device is intercepted; wherein, the first device is a landline terminal, the second device is a device using a target number, the target number is the caller number in the call record associated with the USSD command, the USSD command is input by the user to the first device after hanging up the call from the second device, the USSD command is input by the user through a button on the first device or through voice, and the call record is the latest call record on the first device.

6. A number blocking device, characterized in that, The device, applied to the USSD gateway side, includes: The instruction acquisition module is used to acquire USSD instructions from the first device; wherein the first device is a fixed-line terminal, and the USSD instructions are input by the user to the first device after hanging up the call from the second device, and the USSD instructions are input by the user through buttons on the first device or through voice input. The number determination module is used to take the latest call record on the first device as the call record associated with the USSD command; parse the call record to obtain the caller's number and the called party's number in the call record, and determine the caller's number as the target number to be intercepted; The information sending module is used to send number interception information to the core network element; wherein, the number interception information is used to instruct the core network element to intercept the call signaling of the second device calling the first device, and the second device is a device using the target number.

7. A number blocking device, characterized in that, The device, applied to the core network element side, includes: The number blocking module is used to block call signaling from a second device to a first device based on number blocking information provided by the USSD gateway. The first device is a landline terminal, the second device is a device using a target number, the target number is the caller's number in the call log associated with a USSD command, the USSD command is input by the user to the first device after hanging up the call from the second device, and the USSD command is input by the user via a button on the first device or via voice. The call log is the latest call log on the first device.

8. A communication device, comprising a memory, a transceiver, and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4, or when the processor executes the computer program, it implements the steps of the method according to claim 5, wherein the transceiver is configured to perform the operation of receiving data or sending data under the control of the processor.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for monitoring conversation

    CN102137411A

  • Voice call security protection method and apparatus, and computing device

    CN113810547A