Call interception method and apparatus, electronic device, storage medium, and program product

By receiving INVITE messages from the network and combining them with information such as the caller's busy/idle status and the visitor location register identifier (VLRID), the problem of missed and false blocking in spoofing monitoring has been solved, achieving more accurate spoofing interception.

CN122340216APending Publication Date: 2026-07-03CHINA MOBILE GROUP DESIGN INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610310470.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-13
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing technologies for monitoring fake caller ID have issues with missed or false blocking, making it difficult to effectively identify fake caller ID numbers and leading to illegal activities.

Method used

By receiving INVITE messages from the network, the calling number is obtained and a domain selection query is performed. Combining the caller's busy/idle status, the visitor location register identifier (VLRID), and the calling and called number information, multiple judgment methods are used to determine whether to block the call.

Benefits of technology

It improves the accuracy of blocking fake callers, avoids missed and false blocking, and enhances network security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122340216A_ABST
    Figure CN122340216A_ABST
Patent Text Reader

Abstract

This application provides a call interception method, apparatus, electronic device, storage medium, and program product, relating to the field of communications. The method includes: receiving an inter-network INVITE message and obtaining the calling number carried in the INVITE message; then, performing a domain selection query on the calling number through a Home Subscriber Server (HSS) to determine whether the calling number is in the IP Multimedia System (IMS) domain; then, if it is determined that the calling number is not in the IMS domain, determining whether to intercept the current call based on the calling number's idle / busy status and the Visitor Location Register (VLRID) corresponding to the calling number; then, if it is determined that the calling number is in the IMS domain, determining whether to intercept the current call based on the calling number's idle / busy status and the calling and called number information. This application embodiment can effectively avoid missed or false caller ID blocking, greatly improving the accuracy of inter-network spoofing caller ID interception.
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 more specifically, to a call interception method, apparatus, electronic device, storage medium, and program product. Background Technology

[0002] Caller ID service is a fundamental function of the telephone network, and its widespread use has brought great convenience to users. However, some criminals exploit vulnerabilities in new network technologies or gateway devices to artificially modify caller ID numbers to public service numbers, customer service numbers of mobile operators, or other user numbers, in order to harass users, maliciously steal user information, and commit fraud. Therefore, it is urgent to take effective measures to monitor caller ID numbers and intercept fraudulent callers. Summary of the Invention

[0003] This application provides a call interception method, apparatus, electronic device, storage medium, and program product, which can effectively intercept spoofed callers and avoid missed or false interceptions. The technical solution is as follows: According to one aspect of the embodiments of this application, a call interception method is provided, the method comprising: Receive inter-network INVITE messages and obtain the calling number carried in the INVITE message; The calling number is checked by the Home Subscriber Server (HSS) to determine whether the calling number is in the IP Multimedia System (IMS) domain. If it is determined that the calling number is not in the IMS domain, the caller ID is determined based on the caller ID's idle / busy status and the visitor location register identifier (VLRID) corresponding to the calling number. If the calling number is determined to be in the IMS domain, the system determines whether to block the current call based on the calling number's idle / busy status and the calling and called number information.

[0004] In one possible implementation, if it is determined that the calling number is not in the IMS domain, the decision on whether to block the current call is based on the calling number's idle / busy status and the Visitor Location Register ID (VLRID) corresponding to the calling number, including: Determine the current busy / idle status of the calling number; If the calling number is currently in an idle state, determine whether the visitor location register identifier (VLRID) corresponding to the calling number is in the pre-configured VLRID list; If the number is in the pre-configured VLRID list, the current call from that number will not be blocked. If the number is not in the pre-configured VLRID list, the current call from that number will be blocked.

[0005] In one possible implementation, if it is determined that the calling number is in the IMS domain, the decision on whether to block the current call of the calling number is based on the caller's busy / idle status and the calling and called number information, including: The current idle / busy status of the calling number and the calling and called number information carried in the response message of the MESSAGE message are obtained; wherein, the response message of the MESSAGE message is sent by the Service Call Session Control Function (S-CSCF). If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is consistent with the calling and called number information carried in the INVITE message, then the current call of the calling number will not be blocked. If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is inconsistent with the calling and called number information carried in the INVITE message, then based on the consistency detection of the calling number and the consistency detection of the called number, it is determined whether to block the current call of the calling number. If the calling number is currently idle, then the current call from the calling number will be blocked.

[0006] In one possible implementation, determining whether to block the current call based on consistency checks of the calling number and the called number includes: Determine whether the calling number carried in the response message of the MESSAGE message is consistent with the calling number carried when the Interconnection Border Control Function (IBCF) establishes the call; If the two do not match, then the call from the calling number will be blocked. If the two match, the caller ID will be used to determine whether to block the current call from the calling number based on the consistency check of the called number.

[0007] In one possible implementation, determining whether to block the current call from the calling number based on the consistency check of the called number includes: If the INVITE message sent by the IBCF carries History-Info, and the called number information carried in the response message of the MESSAGE message exists in the History-Info, then the current call from the calling number will not be blocked; otherwise, the current call from the calling number will be blocked. Or, If the INVITE message sent by IBCF does not carry history-Info, and the called number information carried in the response message of the MESSAGE message is consistent with the called number information carried when the IBCF established the call, then the current call of the calling number will not be blocked. Otherwise, it will be determined whether to block the current call of the calling number based on the service number segment of the called number.

[0008] In one possible implementation, determining whether to block the current call from the calling number based on the service number range of the called number includes: Determine whether the called number belongs to a pre-configured specific service number segment; If the called number belongs to a pre-configured specific service number segment, the call from the calling number will not be blocked. If the called number does not belong to a pre-configured specific service number range, the call from the calling number will be blocked.

[0009] According to another aspect of the embodiments of this application, a call interception device is provided, the device comprising: The first processing module is used to receive inter-network INVITE messages and obtain the calling number carried in the INVITE message; The second processing module is used to perform a domain selection query on the calling number through the Home Subscriber Server (HSS) to determine whether the calling number is in the IP Multimedia System (IMS) domain. The third processing module is used to determine whether to block the current call of the calling number if it is determined that the calling number is not in the IMS domain, based on the idle / busy status of the calling number and the visitor location register identifier VLRID corresponding to the calling number. The fourth processing module is used to determine whether to block the current call of the calling number if it is determined that the calling number is in the IMS domain, based on the caller's idle / busy status and the calling and called number information.

[0010] In one possible implementation, when the third processing module determines whether to intercept the current call of the calling number based on the caller's idle / busy status and the Visitor Location Register ID (VLRID) corresponding to the calling number, it can also be used to: Determine the current busy / idle status of the calling number; If the calling number is currently in an idle state, determine whether the visitor location register identifier (VLRID) corresponding to the calling number is in the pre-configured VLRID list; If the number is in the pre-configured VLRID list, the current call from that number will not be blocked. If the number is not in the pre-configured VLRID list, the current call from that number will be blocked.

[0011] In one possible implementation, when the fourth processing module determines whether to block the current call of the calling number based on the caller's idle / busy status and the calling and called number information, it can also be used to: Retrieve the current idle / busy status of the calling number and the calling and called number information carried in the response message of the MESSAGE message; wherein, the response message of the MESSAGE message is sent by the Service Call Session Control Function (S-CSCF); If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is consistent with the calling and called number information carried in the INVITE message, then the current call of the calling number will not be blocked. If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is inconsistent with the calling and called number information carried in the INVITE message, then based on the consistency detection of the calling number and the consistency detection of the called number, it is determined whether to block the current call of the calling number. If the calling number is currently idle, then the current call from the calling number will be blocked.

[0012] In one possible implementation, when the fourth processing module determines whether to block the current call based on the consistency detection of the calling number and the consistency detection of the called number, it can also be used for: Determine whether the calling number carried in the response message of the MESSAGE message is consistent with the calling number carried when the Interconnection Border Control Function (IBCF) establishes the call; If the two do not match, then the call from the calling number will be blocked. If the two match, the caller ID will be used to determine whether to block the current call from the calling number based on the consistency check of the called number.

[0013] In one possible implementation, when the fourth processing module determines whether to block the current call of the calling number based on the consistency check of the called number, it can also be used for: If the INVITE message sent by the IBCF carries History-Info, and the called number information carried in the response message of the MESSAGE message exists in the History-Info, then the current call from the calling number will not be blocked; otherwise, the current call from the calling number will be blocked. Or, If the INVITE message sent by IBCF does not carry history-Info, and the called number information carried in the response message of the MESSAGE message is consistent with the called number information carried when the IBCF established the call, then the current call of the calling number will not be blocked. Otherwise, it will be determined whether to block the current call of the calling number based on the service number segment of the called number.

[0014] In one possible implementation, when the fourth processing module determines whether to block the current call from the calling number based on the service number segment of the called number, it can also be used for: Determine whether the called number belongs to a pre-configured specific service number segment; If the called number belongs to a pre-configured specific service number segment, the call from the calling number will not be blocked. If the called number does not belong to a pre-configured specific service number range, the call from the calling number will be blocked.

[0015] According to another aspect of the embodiments of this application, an electronic device is provided, the electronic device including: a memory, a processor and a computer program stored in the memory, the processor executing the computer program to implement the steps of the call interception method described above.

[0016] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein a computer program, when executed by a processor, implements the steps of the call interception method described above.

[0017] According to one aspect of the embodiments of this application, a computer program product is provided, which, when executed by a processor, implements the steps of the call interception method described above.

[0018] The beneficial effects of the technical solutions provided in this application are: This application receives INVITE messages from the network and obtains the calling number carried in the INVITE message; it performs a domain selection query on the calling number through the Home Subscriber Server (HSS) to determine whether the calling number is in the IP Multimedia System (IMS) domain; if it is determined that the calling number is not in the IMS domain, it determines whether to block the current call based on the caller's idle / busy status and the Visitor Location Register (VLRID) corresponding to the calling number; if it is determined that the calling number is in the IMS domain, it determines whether to block the current call based on the caller's idle / busy status and the calling and called number information; this application not only judges the caller's idle / busy status, but also judges the authenticity of the calling and called numbers (i.e., the Visitor Location Register (VLRID) corresponding to the calling number and the calling and called number information), thereby combining the calling and called status and the authenticity of the number to determine whether to block the current call, effectively avoiding the occurrence of missed or false blocking of calling numbers, and greatly improving the accuracy of intercepting fraudulent calling numbers in the network. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.

[0020] Figure 1 A flowchart illustrating a call interception method provided in an embodiment of this application; Figure 2 A flowchart illustrating another call interception method provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a call interception device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0021] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings illustrate some embodiments in which the principles of this application can be adopted, and are exemplary descriptions used to explain the technical solutions of the embodiments of this application. They do not constitute a limitation on the technical solutions of the embodiments of this application. On the contrary, this application includes all modifications, variations and equivalents falling within the scope of the appended claims.

[0022] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used in the embodiments of this application may also include plural forms, and should be broadly interpreted as “a kind” or “a class” rather than limited to the meaning of “an.” Furthermore, the term “” should be understood to include both singular and plural forms unless the context clearly indicates otherwise. Additionally, the term “according to” should be understood as “at least partially based on…”, and the term “based on” should be understood as “at least partially based on…”, unless the context clearly indicates otherwise.

[0023] The terms "comprising," "including," "having," etc., as used in the embodiments of this application refer to the presence of the presented features, information, data, steps, operations, elements, components, and / or components, but do not exclude the presence of other features, information, data, steps, operations, elements, components, and / or combinations thereof.

[0024] The terms "first," "second," etc., used in the embodiments of this application are used to distinguish different features, information, data, steps, operations, elements, components, devices, modules, or units by name, but do not indicate the spatial arrangement, temporal order, or interdependence of these features, information, data, steps, operations, elements, components, devices, modules, or units, nor are they used to limit these devices, modules, or units to necessarily being different devices, modules, or units. The term "and / or" includes any one and all combinations of one or more of the associated listed terms, for example, "A and / or B" indicates implementation as "A," or implementation as "A," or implementation as "A and B." The term "multiple" refers to two or more, and other quantifiers are similar.

[0025] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0026] First, let me introduce and explain some of the terms used in this application: IMS (IP Multimedia Subsystem) is a brand-new form of multimedia service that can meet the needs of today's end customers for newer and more diversified multimedia services. Essentially, it is a network architecture.

[0027] The HLR (Home Location Register) is a database responsible for managing mobile subscribers. It permanently stores and records subscriber data within its jurisdiction and dynamically updates subscriber location information to provide network routing for called users during call services.

[0028] HSS (Home Subscriber Server) is a concept introduced by 3GPP when it was implemented in IMS in Release 5. Its functionality is similar to HR but more powerful, supporting more interfaces and handling more user information. It is a crucial component of the control layer in IMS, supporting the main user database for IMS network entities used to handle calls / sessions.

[0029] The S-CSCF (Serving Call Session Control Function) is a core control network element of IMS, deployed in the home network. It is responsible for user equipment registration, authentication, and session control management, and uses the SIP protocol to handle signaling interactions. It obtains user subscription information by interacting with the Home Subscriber Server (HSS) and triggers business logic based on initial filtering rules.

[0030] The IBCF (Interconnect Border Control Function) is a boundary function entity of the control plane between two operator networks. The IBCF is deployed between two IMS networks or between IMS and other multimedia networks, serving as the boundary of the IMS network and realizing functions such as topology hiding, media encoding / decoding / address domain translation, and QoS control.

[0031] The Visitor Location Register (VLR) is a core database in cellular networks such as GSM, UMTS, and LTE that is responsible for temporarily storing roaming user location information and service data. It is a key functional unit for the network to enable "users to communicate anytime, anywhere" and together with the Home Location Register (HLR), it constitutes the location management system of mobile communications.

[0032] Currently, spoofing monitoring platforms can query the busy / idle status and location information of the calling user in the IMS and CS domains through calling domain selection, thereby determining whether it is a spoofing caller. However, this technical solution may miss or falsely block calls in the following scenarios: 1) If a criminal uses a fake caller ID (A) to make a call, and simultaneously sets the number he / she is impersonating (e.g., number A) to be busy (by dialing number A from another number), then using the current technical solution, the fake caller monitoring platform will determine that A is in a busy state, consistent with the current call status, and further determine that the caller is not a fake caller, resulting in missed calls.

[0033] 2) In scenarios involving multiple numbers on a single SIM card, if a calling user uses a secondary number to dial a number on a different network and then forwards the call back to their own network, the inter-network call will trigger the fake caller monitoring platform. The calling number in the signaling will appear as the user's secondary number, instead of the China Mobile user number used to initiate the call. Since the secondary number cannot be found in the HSS (Host Service), the fake caller monitoring platform will identify the calling number as a fake caller and block it, resulting in false blocking.

[0034] 3) In the intermediate number service scenario, when a user on this network dials an inter-network connection number on the intermediate number platform and then forwards the call back to this network, the inter-network call will trigger the fake caller monitoring platform. The caller number in the signaling will appear as the intermediate number, instead of the China Mobile user number that initiated the call. Since the caller status cannot be found in the HSS using the intermediate number, the fake caller monitoring platform will identify the caller number as a fake caller and block it, resulting in false blocking.

[0035] In response to the above situation, this application proposes a technical solution for call interception. The technical solution of this application and its technical effects are explained below through the description of several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.

[0036] One embodiment of this application provides a call interception method applied to a scenario of monitoring spoofing callers. This embodiment uses a spoofing caller monitoring platform as an example for illustration; however, it should be clarified that the spoofing caller monitoring platform is only one implementation method and not the only limitation. Call interception can be a server, a monitoring module or monitoring unit installed on a server, or a monitoring server, etc., and this embodiment does not impose any limitations on it.

[0037] Figure 1 This is a flowchart illustrating the call interception method provided in an embodiment of this application, as shown below. Figure 1As shown, the method includes: Step 110, receiving an inter-network INVITE message and obtaining the calling number carried in the INVITE message; Step 120, performing a domain selection query on the calling number through the Home Subscriber Server (HSS) to determine whether the calling number is in the IP Multimedia System (IMS) domain; Step 130, if it is determined that the calling number is not in the IMS domain, determining whether to intercept the current call of the calling number based on the idle / busy status of the calling number and the Visitor Location Register (VLRID) corresponding to the calling number; Step 140, if it is determined that the calling number is in the IMS domain, determining whether to intercept the current call of the calling number based on the idle / busy status of the calling number and the calling and called number information.

[0038] In this embodiment of the application, the fake caller monitoring platform can be pre-configured with service scenarios such as intermediate numbers and multiple numbers on one card, and a list of VLRID identifiers for the service owner of intermediate numbers and multiple numbers on one card is pre-configured.

[0039] When the fake caller monitoring platform receives an INVITE message through another gateway exchange, it obtains the caller number carried in the INVITE message. For example, the fake caller monitoring platform extracts the INVITE message sent by the other gateway exchange and performs a domain selection query on the Home Subscriber Server (HSS) for the caller number to determine whether the caller number is in the IMS domain.

[0040] If it is determined that the calling number is not in the IMS domain, the caller ID (VLRID) of the calling number can be used to determine whether to block the current call. If it is determined that the calling number is in the IMS domain, the caller ID (VLRID) of the calling number can be used to determine whether to block the current call.

[0041] In summary, the method provided in this application embodiment enables the fake caller monitoring platform to not only determine the busy / idle status of the calling number, but also to determine the authenticity of the calling and called numbers (i.e., the Visitor Location Register ID (VLRID) corresponding to the calling number and the calling and called number information) under the premise of pre-configured intermediate numbers, multiple numbers per SIM card, and other business scenarios. By combining the calling and called status and the authenticity of the number, it determines whether to intercept the call, thereby effectively avoiding the occurrence of missed or false blocking of the calling number and greatly improving the accuracy of fake caller interception between networks.

[0042] In some embodiments, when performing step 103 to determine whether to block the current call of the calling number based on the caller's idle / busy status and the Visitor Location Register ID (VLRID) corresponding to the calling number if it is determined that the calling number is not in the IMS domain, the following methods can be used, but are not limited to: Determine the current busy / idle status of the calling number; If the calling number is currently in an idle state, determine whether the visitor location register identifier (VLRID) corresponding to the calling number is in the pre-configured VLRID list; If the number is in the pre-configured VLRID list, the current call from that number will not be blocked. If the number is not in the pre-configured VLRID list, the current call from that number will be blocked.

[0043] Specifically, the fake caller monitoring platform is pre-configured with business scenarios such as intermediate numbers and multiple numbers per SIM card, and also pre-configured with a list of visitor location register identifiers (VLRIDs) for these services.

[0044] Even if the fake caller monitoring platform determines that the calling number is not in the IMS domain, it still needs to determine the current idle / busy status of the calling number in order to decide whether to block the call from the calling number.

[0045] First, the fake caller ID monitoring platform determines the current idle / busy status of the calling number, that is, whether the call status corresponding to the calling number is idle (or busy) or busy (or busy / busy), i.e., whether the call status corresponding to the calling number is not busy. Then, based on the current idle / busy status of the calling number, it decides whether to block the current call of the calling number.

[0046] Specifically, if it is determined that the calling number is currently in a non-busy state (i.e., idle state), then it is further determined whether its corresponding VLRID is in the service-assigned VLRID list configured by the fake caller monitoring platform for intermediate numbers and multiple numbers on a single SIM card. If the VLRID corresponding to the calling number is in the service-assigned VLRID list configured by the fake caller monitoring platform for intermediate numbers and multiple numbers on a single SIM card, then the call will continue to be established, that is, the current call of the calling number will not be blocked; if the VLRID corresponding to the calling number is not in the service-assigned VLRID list configured by the fake caller monitoring platform for intermediate numbers and multiple numbers on a single SIM card, then the current call of the calling number will be blocked.

[0047] In some embodiments, if it is determined that the calling number is in the IMS domain, determining whether to block the current call of the calling number based on the calling number's idle / busy status and the calling and called number information includes: The current idle / busy status of the calling number and the calling and called number information carried in the response message of the MESSAGE message are obtained; wherein, the response message of the MESSAGE message is sent by the Service Call Session Control Function (S-CSCF). If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is inconsistent with the calling and called number information carried in the INVITE message, then the current call of the calling number will be blocked. If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is consistent with the calling and called number information carried in the INVITE message, then based on the consistency detection of the calling number and the consistency detection of the called number, it is determined whether to block the current call of the calling number. If the calling number is currently idle, then the current call from the calling number will be blocked.

[0048] Specifically, after confirming that the calling number is in the IMS domain, the fake caller monitoring platform must further determine the current idle / busy status of the calling number, and determine whether to block the current call based on the current idle / busy status of the calling number and the calling and called number information.

[0049] First, the fake caller monitoring platform sends a MESSAGE message to the Service Call Session Control Function (S-CSCF) to obtain the calling number information, called number information, and the caller's idle / busy status. The S-CSCF then returns an acknowledgment message (Ack) to the fake caller monitoring platform, which carries the caller's current idle / busy status and the calling and called number information. Upon receiving the acknowledgment message, the fake caller monitoring platform parses it to determine the caller's current idle / busy status, i.e., whether the call status is currently idle or busy, or whether it is not busy. Then, based on the caller's current idle / busy status and the calling and called number information, it decides whether to block the current call.

[0050] Normally, if the calling number is currently idle, the fake caller ID monitoring platform will intercept the call. If the calling number is currently busy, it will further consider the calling and called number information to determine whether to intercept the call.

[0051] Specifically, if the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is consistent with the calling and called number information carried in the INVITE message, then the fake caller monitoring platform will not intercept the current call of the calling number. If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is inconsistent with the calling and called number information carried in the INVITE message, the fake caller monitoring platform will usually directly block the caller's current call. However, due to various special scenarios in actual applications, in order to prevent false blocking in these special scenarios, the fake caller monitoring platform does not directly block the caller's current call. Instead, it further performs consistency checks on the calling and called numbers, and only based on the check results can it determine whether to block the caller's current call.

[0052] In one example, the above-mentioned special scenarios include, but are not limited to: 1) In a normal call forwarding scenario (e.g., A (user or communication number of operator 1) calls B (user or communication number of operator 2) and forwards to C (user or communication number of operator 1)), the fake caller monitoring platform obtains the caller and the called party as A and C respectively from the IBCF, and also obtains the historical information History-Info, but queries from S-CSCF(A) show that the caller and the called party are A and B respectively.

[0053] 2) When a user of Operator 1 dials a 400 service from another network but the actual connected number is Operator 1's number, the call will be sent back to Operator 1 and triggered to the fake caller monitoring platform as an inter-network call. The called number in the signaling will be the actual connected Operator 1's phone number, rather than the 400 service number from another network.

[0054] 3) When a user of Operator 1 dials a number on another network with an IP prefix (e.g., 17951) before the call is forwarded to Operator 1, the incoming call will be triggered to the fake caller monitoring platform. The called number in the signaling will be the number with the IP prefix removed, instead of the called number with the IP prefix.

[0055] When performing consistency checks on the calling number and the called number to determine whether to block the current call from the calling number, the following processing can be performed: Determine whether the calling number carried in the response message of the MESSAGE message is consistent with the calling number carried when the IBCF call was established; if they are inconsistent, block the current call of the calling number; if they are consistent, determine whether to block the current call of the calling number based on the consistency check of the called number.

[0056] When determining whether to block a call from the calling number based on the consistency check of the called number, the following processing can be performed: If the INVITE message sent by the IBCF carries historical information (such as History-Info), and the called number information (such as term-party) carried in the response message of the MESSAGE message exists in the History-Info, then the current call of the calling number will not be blocked; otherwise, the current call of the calling number will be blocked. If the INVITE message sent by IBCF does not carry history-Info, and the called number information (such as term-party) carried in the response message of the MESSAGE message is consistent with the called number information (such as Request-URI) carried when the IBCF established the call, then the current call of the calling number will not be blocked. Otherwise, it will be further determined whether to block the current call of the calling number based on the service number segment of the called number.

[0057] In one example, determining whether to block the current call from the calling number based on the called number's service number range can be done as follows: Determine whether the called number belongs to a pre-configured specific service number segment (such as 400 / 800, etc.). If the called number belongs to the pre-configured specific service number segment, the current call of the calling number will not be blocked; if the called number does not belong to the pre-configured specific service number segment, the current call of the calling number will be blocked.

[0058] This application provides a call interception method, such as... Figure 2 As shown, the method includes: Step 201: Receive an inter-network INVITE message and obtain the calling number carried in the INVITE message.

[0059] Step 202: Perform a domain selection query on the calling number through the Home Subscriber Server (HSS) to determine whether the calling number is in the IMS domain; If it is determined that the calling number is not in the IMS domain, then proceed to step 203; if it is determined that the calling number is in the IMS domain, then proceed to step 204.

[0060] Step 203: Obtain the current idle / busy status of the calling number and the calling and called number information carried in the response message of the MESSAGE message, and determine the current idle / busy status of the calling number; wherein, the response message of the MESSAGE message is sent by the Service Call Session Control Function (S-CSCF). If the calling number is currently in an idle state, proceed to step 205; if the calling number is currently in a busy state, proceed to step 206.

[0061] Step 205: Determine whether the Visitor Location Register ID (VLRID) corresponding to the calling number is in the pre-configured VLRID list; If it is in the pre-configured VLRID list, proceed to step 206; otherwise, proceed to step 207.

[0062] Step 204: Determine whether the calling and called number information carried in the response message of the MESSAGE message is consistent with the calling and called number information carried in the INVITE message.

[0063] If the calling and called number information carried in the response message of the MESSAGE message is consistent with the calling and called number information carried in the INVITE message, then proceed to step 206; if the calling and called number information carried in the response message of the MESSAGE message is inconsistent with the calling and called number information carried in the INVITE message, then proceed to step 208.

[0064] Step 208: Determine whether the calling number carried in the response message of the MESSAGE message is consistent with the calling number carried when the Interconnection Border Control Function (IBCF) call is established.

[0065] If the two are inconsistent, proceed to step 207; if they are consistent, proceed to step 209.

[0066] Step 209: Determine whether the INVITE message sent by the IBCF carries historical information (History-Info).

[0067] If the INVITE message sent by the IBCF carries historical information History-Info, then proceed to step 210; if the INVITE message sent by the IBCF does not carry historical information History-Info, then proceed to step 211.

[0068] Step 210: Determine whether the called number information carried in the response message of the MESSAGE message exists in the History-Info information.

[0069] If the called number information carried in the response message of the MESSAGE message exists in the History-Info, then proceed to step 206; if the called number information not carried in the response message of the MESSAGE message exists in the History-Info, then proceed to step 207.

[0070] Step 211: Determine whether the called number information carried in the response message of the MESSAGE message is consistent with the called number information carried when the IBCF call is established.

[0071] If the called number information carried in the response message of the MESSAGE message is consistent with the called number information carried when the IBCF call was established, then step 206 is executed; if the called number information carried in the response message of the MESSAGE message is inconsistent with the called number information carried when the IBCF call was established, then step 212 is executed.

[0072] Step 212: Determine whether the called number belongs to a pre-configured specific service number segment.

[0073] If the called number belongs to a pre-configured specific service number segment, then proceed to step 206; if the called number does not belong to a pre-configured specific service number segment, then proceed to step 207.

[0074] Step 206: Do not intercept the current call from the calling number.

[0075] Step 207: Intercept the current call from the calling number.

[0076] The embodiments of this application have the following advantages: 1) Verify the calling and called parties based on the consistency of the calling and called numbers. This prevents the fraudulent number A from being set to busy (when calling A from another number). The platform will recognize that A is busy, which is consistent with the current call status, and determine that the calling party is not a fraudulent caller, thereby improving the accuracy of intercepting fraudulent calls between networks.

[0077] 2) Different discrimination methods are used based on whether the caller ID is in the IMS domain, further enhancing the diversity and security of identifying fake bishops.

[0078] 3) By identifying whether the calling / called number obtained in S-CSCF is consistent with the calling number carried when the IBCF call is triggered, and / or by ensuring that the consistency of the calling / called number is determined in the History-Info information carried in the INVITE message sent by the IBCF, the identification accuracy is improved, which helps to accurately intercept and improve security.

[0079] This application provides a call interception device, such as... Figure 3 As shown, the call interception device may include: a first processing module 301, a second processing module 302, a third processing module 303, and a fourth processing module 304, wherein, The first processing module 301 is used to receive inter-network INVITE messages and obtain the calling number carried in the INVITE message; The second processing module 302 is used to perform a domain selection query on the calling number through the Home Subscriber Server (HSS) to determine whether the calling number is in the IP Multimedia System (IMS) domain. The third processing module 303 is used to determine whether to block the current call of the calling number based on the idle / busy status of the calling number and the visitor location register identifier VLRID corresponding to the calling number if it is determined that the calling number is not in the IMS domain. The fourth processing module 304 is used to determine whether to block the current call of the calling number if it is determined that the calling number is in the IMS domain, based on the idle / busy status of the calling number and the calling and called number information.

[0080] In one possible implementation, when the third processing module determines whether to intercept the current call of the calling number based on the caller's idle / busy status and the Visitor Location Register ID (VLRID) corresponding to the calling number, it can also be used to: Determine the current busy / idle status of the calling number; If the calling number is currently in an idle state, determine whether the visitor location register identifier (VLRID) corresponding to the calling number is in the pre-configured VLRID list; If the number is in the pre-configured VLRID list, the current call from that number will not be blocked. If the number is not in the pre-configured VLRID list, the current call from that number will be blocked.

[0081] In one possible implementation, when the fourth processing module determines whether to block the current call of the calling number based on the caller's idle / busy status and the calling and called number information, it can also be used to: Determine the current busy / idle status of the calling number; If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is consistent with the calling and called number information carried in the INVITE message, then the current call of the calling number will not be blocked. If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is inconsistent with the calling and called number information carried in the INVITE message, then based on the consistency detection of the calling number and the consistency detection of the called number, it is determined whether to block the current call of the calling number. If the calling number is currently idle, then the current call from the calling number will be blocked.

[0082] In one possible implementation, when the fourth processing module determines whether to block the current call based on the consistency detection of the calling number and the consistency detection of the called number, it can also be used for: Determine whether the calling number carried in the response message of the MESSAGE message is consistent with the calling number carried when the Interconnection Border Control Function (IBCF) establishes the call; If the two do not match, then the call from the calling number will be blocked. If the two match, the caller ID will be used to determine whether to block the current call from the calling number based on the consistency check of the called number.

[0083] In one possible implementation, when the fourth processing module determines whether to block the current call of the calling number based on the consistency check of the called number, it can also be used for: If the INVITE message sent by the IBCF carries History-Info, and the called number information carried in the response message of the MESSAGE message exists in the History-Info, then the current call from the calling number will not be blocked; otherwise, the current call from the calling number will be blocked. Or, If the INVITE message sent by IBCF does not carry history-Info, and the called number information carried in the response message of the MESSAGE message is consistent with the called number information carried when the IBCF established the call, then the current call of the calling number will not be blocked. Otherwise, it will be determined whether to block the current call of the calling number based on the service number segment of the called number.

[0084] In one possible implementation, when the fourth processing module determines whether to block the current call from the calling number based on the service number segment of the called number, it can also be used for: Determine whether the called number belongs to a pre-configured specific service number segment; If the called number belongs to a pre-configured specific service number segment, the call from the calling number will not be blocked. If the called number does not belong to a pre-configured specific service number range, the call from the calling number will be blocked.

[0085] The call interception device of this application embodiment can execute the call interception method shown in the above embodiments of this application. The implementation principle is similar. The actions performed by each module in the device of each embodiment of this application correspond to the steps in the method of each embodiment of this application. For detailed functional descriptions of each module of the device, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.

[0086] This application provides an electronic device, including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the steps of the call interception method. Compared with the prior art, it can not only determine the idle / busy status of the calling number, but also determine the authenticity of the calling and called numbers. Thus, it combines the calling and called status and the authenticity of the numbers to determine whether to intercept the call, effectively avoiding the occurrence of missed or false blocking of calling numbers, and greatly improving the accuracy of inter-network false caller interception.

[0087] In one alternative embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of this application.

[0088] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0089] Bus 4002 may include a pathway for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0090] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium capable of carrying or storing computer programs and capable of being read by a computer, without limitation herein.

[0091] The memory 4003 stores computer programs that execute embodiments of this application, and its execution is controlled by the processor 4001. The processor 4001 executes the computer programs stored in the memory 4003 to implement the steps shown in the foregoing method embodiments.

[0092] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement the steps and corresponding content of the aforementioned method embodiments.

[0093] This application also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments.

[0094] It should be understood that although arrows indicate various operation steps in the flowcharts of this application's embodiments, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of this application's embodiments, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all steps in each flowchart, based on the actual implementation scenario, may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and this application's embodiments do not limit this.

[0095] The above description is only an optional implementation method for some implementation scenarios of this application. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this application without departing from the technical concept of this application also fall within the protection scope of the embodiments of this application.

Claims

1. A call interception method, characterized by, include: Receive an inter-network INVITE message and obtain the calling number carried in the INVITE message; The calling number is used to perform a domain selection query on the Home Subscriber Server (HSS) to determine whether the calling number is in the IP Multimedia System (IMS) domain. If it is determined that the calling number is not in the IMS domain, the system determines whether to block the current call of the calling number based on the idle / busy status of the calling number and the Visitor Location Register ID (VLRID) corresponding to the calling number. If it is determined that the calling number is in the IMS domain, the system determines whether to block the current call of the calling number based on the caller's busy / idle status and the calling and called number information.

2. The method of claim 1, wherein, The step of determining whether to block the current call of the calling number based on the idle / busy status of the calling number and the Visitor Location Register ID (VLRID) corresponding to the calling number includes: Determine the current idle / busy status of the calling number; If the calling number is currently in an idle state, determine whether the visitor location register identifier (VLRID) corresponding to the calling number is in the pre-configured VLRID list; If the number is in the pre-configured VLRID list, the current call from that number will not be blocked. If the number is not in the pre-configured VLRID list, then the current call from that number will be blocked.

3. The method of claim 1, wherein, If it is determined that the calling number is in the IMS domain, determining whether to block the current call of the calling number based on the caller's idle / busy status and the calling and called number information includes: The current idle / busy status of the calling number and the calling and called number information carried in the response message of the MESSAGE message are obtained; wherein, the response message of the MESSAGE message is sent by the Service Call Session Control Function (S-CSCF). If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is consistent with the calling and called number information carried in the INVITE message, then the current call of the calling number will not be blocked. If the calling number is currently busy, and the calling and called number information carried in the response message of the MESSAGE message is inconsistent with the calling and called number information carried in the INVITE message, then based on the consistency detection of the calling number and the consistency detection of the called number, it is determined whether to block the current call of the calling number. If the calling number is currently idle, then the current call from the calling number is blocked.

4. The method of claim 3, wherein, The determination of whether to block the current call from the calling number based on consistency detection of the calling number and consistency detection of the called number includes: Determine whether the calling number carried in the response message of the MESSAGE message is consistent with the calling number carried when the Interconnection Border Control Function (IBCF) call is established; If the two are inconsistent, then the current call from the called number will be blocked; If the two match, then based on the consistency detection of the called number, it is determined whether to block the current call of the calling number.

5. The method of claim 4, wherein, The step of determining whether to block the current call from the calling number based on the consistency detection of the called number includes: If the INVITE message sent by the IBCF carries history information (History-Info), and the called number information carried in the response message of the MESSAGE message exists in the history information (History-Info), then the current call of the calling number will not be blocked; otherwise, the current call of the calling number will be blocked. Alternatively, If the INVITE message sent by the IBCF does not carry history-Info information, and the called number information carried in the response message of the MESSAGE message is consistent with the called number information carried when the IBCF established the call, then the current call of the calling number will not be blocked; otherwise, based on the service number segment of the called number, it will be determined whether to block the current call of the calling number.

6. The method according to claim 5, characterized in that, The determination of whether to block the current call from the calling number based on the service number segment of the called number includes: Determine whether the called number belongs to a pre-configured specific service number segment; If the called number belongs to a pre-configured specific service number segment, then the current call from the calling number will not be blocked; If the called number does not belong to a pre-configured specific service number range, then the current call from the calling number will be blocked.

7. A call interception device, characterized in that, include: The first processing module is used to receive inter-network INVITE messages and obtain the calling number carried in the INVITE message; The second processing module is used to perform a domain selection query on the calling number through the Home Subscriber Server (HSS) to determine whether the calling number is in the IP Multimedia System (IMS) domain. The third processing module is used to determine whether to block the current call of the calling number based on the idle / busy status of the calling number and the visitor location register identifier (VLRID) corresponding to the calling number; The fourth processing module is used to determine whether to block the current call of the calling number if it is determined that the calling number is in the IMS domain, based on the idle / busy status of the calling number and the calling and called number information.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-6.

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-6.

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-6.