Detection system and method for connecting FXO port under gateway FXS telephone interface
By connecting the detection system to the FXO port under the FXS telephone interface of the gateway, resistance value detection and dialing analysis are used to identify and prevent fraudulent activities, solving the problem that existing technology is difficult to effectively prevent telephone fraud, and achieving efficient identification and detection of fraudulent activities. Be on guard.
Patent Information
- Application Number
- CN202411368616.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-24
AI Technical Summary
It is difficult for the prior art to effectively identify and prevent fraudulent activities carried out through telephone systems, especially when operators' telephone lines are stolen.
The detection system of the FXO port under the gateway FXS telephone interface is designed, including the detection module, receiving module, analysis and judgment module and execution module. Reject call, send alarm information or disable port operations.
A multi -dimensional testing and comprehensive analysis of fraudulent behaviors, efficient identification and preventing fraud activities, avoiding illegal users from conducting voice telephone stealing or fraud business through operators.
Smart Images

Figure CN119363878A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a detection system and method for a gateway FXS telephone interface connected to an FXO port. Background Art
[0002] FXS is a telephone interface on the gateway that provides telephone power, dial tone, and loopback tone. It is directly connected to terminal devices such as ordinary telephones, FXO port gateways, etc.
[0003] FXO is an interface to a telephone socket that can receive services provided by an FXS interface. On a telephone system or interface device, it interacts with a traditional PSTN line or FXS port.
[0004] With the widespread use of mobile and Internet communications, digital transactions and online services have become increasingly popular, bringing convenience to users, but also providing new prey and attack vectors for fraudsters. Disguised as legitimate banks, government agencies or service providers, fraudsters use various communication methods to gain the trust of victims and then steal money or sensitive information.
[0005] In this context, it is crucial to develop new technologies and strategies to prevent fraudulent activities. In particular, the technical means used by operators to combat telephone fraud, such as identifying and blocking suspicious outgoing calls, how to identify and avoid phone calls stolen from operator telephone lines through physical layer methods, and the risks of spam and fraudulent calls, are becoming the focus of urgent research.
[0006] Therefore, it is necessary to develop a detection method and system suitable for connecting a gateway FXS port to a non-telephone. Summary of the invention
[0007] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a detection system and method for a gateway FXS telephone interface connected to an FXO port.
[0008] The purpose of the present invention is achieved through the following technical solutions:
[0009] The detection system of the FXO port connected to the gateway FXS telephone interface is characterized by comprising a detection module, a receiving module, an analysis and judgment module and an execution module, wherein the detection module is used to detect the connection status of the device FXS port and measure the AB_R resistance value, AG_R resistance value and BG_R resistance value of the wiring port;
[0010] The receiving module is used to receive the data detected by the detection module and the call request information data of the FXS port receiving the phone or the FXO port;
[0011] The analysis and judgment module is used to analyze the dialing speed, frequency and call length according to the data of the receiving module, and comprehensively analyze the type of the connection device of the FXS port according to the resistance value data of the detection module;
[0012] The execution module is used to respond to the user's call request and execute an operation according to the result of the analysis and judgment module.
[0013] Furthermore, the above-mentioned gateway FXS telephone interface is connected to the detection system of the FXO port, wherein the execution module executes the operation of rejecting the call, sending an alarm message or disabling the port.
[0014] Furthermore, in the detection system of the FXO port connected to the gateway FXS telephone interface, the AB_R value is the resistance value between the A line and the B line, and the unit is KΩ.
[0015] Furthermore, in the detection system of the FXO port connected to the gateway FXS telephone interface, the AG_R value is the resistance value between the A line and the ground, and the unit is KΩ.
[0016] Furthermore, in the detection system of the FXO port connected to the gateway FXS telephone interface, the BG_R value is the resistance value between the B line and the ground, and the unit is KΩ.
[0017] The detection method of the gateway FXS telephone interface connected to the FXO port of the present invention comprises the following steps:
[0018] (1) Detection and call information collection;
[0019] ① Check the FXS port connection status and resistance value
[0020] The detection module collects the AB_R resistance value, AG_R resistance value and BG_R resistance value of each FXS port, performs multiple measurements and takes the average value;
[0021] If AB_R is greater than 2500KΩ, or AG_R is less than 1000KΩ, or BG_R is less than 1000KΩ, the FXS port is marked as a suspicious line;
[0022] ② Receive call information;
[0023] The receiving module receives the call request of the FXS port in real time in an event-driven manner, and records the user's calling number and the dialing interval duration of each call;
[0024] If the dial interval is constant, the FXS port is marked as suspicious dialing;
[0025] (II) Analysis of call frequency and success rate
[0026] Statistics are collected on the call frequency and call connection success rate of each port within one hour. If the FXS port with high call frequency is always in use and the call connection success rate is less than 10%, the FXS port is marked as suspicious.
[0027] (III) Determination of suspicious level
[0028] Analyze the data from the detection module and the receiving module, and make judgments based on line resistance, dialing speed, and call frequency;
[0029] (IV) Execution and Response
[0030] Alarm processing based on user-configured levels, and adaptive processing based on user time scenarios;
[0031] Furthermore, in the detection method of the gateway FXS telephone interface connected to the FXO port, in step (i), the judgment standard is to set the error value of the temperature sensor to px, and the detection judgment formula is:
[0032] (ADC(AB_R)+px)>2500
[0033] ||(ADC(AG_R)+px)<1000
[0034] ||(ADC(BG_R)+px)<1000.
[0035] Furthermore, in the detection method of the FXO port connected to the gateway FXS telephone interface, in step (iii), the suspicious level includes high suspicious, medium suspicious and low suspicious, and high suspicious means that the line, dialing and frequency are all marked as suspicious; medium suspicious means that the line is suspicious, or the dialing and frequency are suspicious; low suspicious means that only the dialing is suspicious or the frequency is suspicious.
[0036] Furthermore, in the detection method of the FXO port connected to the gateway FXS telephone interface, step (iv) includes responses to general user scenarios and responses to call center scenarios. The response to the general user scenario, in the general user scenario, when the suspicion level reaches or exceeds the low suspicion level, the corresponding port is set to a non-working state and a corresponding alarm message is sent; the response to the call center scenario, in the call center scenario, when the suspicion level is a high suspicion level, the corresponding port is set to a non-working state and a corresponding alarm message is sent.
[0037] Compared with the prior art, the present invention has significant advantages and beneficial effects, which are specifically embodied in the following aspects:
[0038] The present invention provides a test system and method for connecting a gateway voice interface to a non-ordinary telephone, checks whether the voice port of the voice gateway is connected to the FXO port gateway, and stops the gateway interface voice service; prevents illegal users from making voice phone calls or fraudulent business through operators. Multi-dimensional detection and comprehensive analysis can efficiently identify fraudulent behavior.
[0039] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by practicing the specific embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0041] Figure 1 : Schematic diagram of the module architecture of the system of the present invention;
[0042] Figure 2 : Schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0044] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, directional terms and order terms are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0045] like Figure 1As shown, the detection system of the FXO port connected to the gateway FXS telephone interface includes a detection module 101, a receiving module 102, an analysis and judgment module 103 and an execution module 104. The detection module 101 is used to detect the connection status of the device FXS port and measure the AB_R resistance value, AG_R resistance value and BG_R resistance value of the connection port; the AB_R value is the resistance value between the A line and the B line, and the unit is KΩ; the AG_R value is the resistance value between the A line and the ground, and the unit is KΩ; the BG_R value is the resistance value between the B line and the ground, and the unit is KΩ;
[0046] The receiving module 102 is used to receive the data detected by the detection module 101 and the call request information data of the FXS port receiving phone or FXO port;
[0047] An analysis and judgment module 103 is used to analyze the dialing speed, frequency and call length according to the data of the receiving module 102, and comprehensively analyze the type of the connection device of the FXS port according to the resistance value data of the detection module 101;
[0048] The execution module 104 is used to respond to the user's call request according to the result of the analysis and judgment module 103, and execute the operation of rejecting the call, sending an alarm message or disabling the port.
[0049] The detection method of the gateway FXS telephone interface connected to the FXO port is as follows: Figure 2 As shown, the following steps are included:
[0050] (1) Detection and call information collection;
[0051] ① Check the FXS port connection status and resistance value
[0052] The detection module collects the AB_R resistance value, AG_R resistance value and BG_R resistance value of each FXS port; uses an analog-to-digital converter (ADC) to improve the measurement accuracy, uses a temperature sensor to correct the resistance measurement error caused by ambient temperature changes in real time, reduces the impact of instantaneous interference or noise, and performs multiple measurements and takes the average value;
[0053] If AB_R is greater than 2500KΩ, or AG_R is less than 1000KΩ, or BG_R is less than 1000KΩ, the FXS port is marked as a suspicious line;
[0054] The judgment standard is to set the error value of the temperature sensor to px, and the detection judgment formula is:
[0055] (ADC(AB_R)+px)>2500
[0056] ||(ADC(AG_R)+px)<1000
[0057] ||(ADC(BG_R)+px)<1000
[0058] ② Receiving call information;
[0059] The receiving module receives the call request of the FXS port in real time through an event-driven method, and records the user's calling number and the dialing interval duration of each call;
[0060] If the dial interval is constant, the FXS port is marked as suspicious dialing;
[0061] (II) Analysis of call frequency and success rate
[0062] Statistics are collected on the call frequency and call connection success rate of each port within one hour. If the FXS port with high call frequency is always in use and the call connection success rate is less than 10%, the FXS port is marked as suspicious.
[0063] (III) Determination of suspicious level
[0064] Comprehensively analyze the data from the detection module and the receiving module, and make a comprehensive judgment based on the line resistance value, dialing speed, and call frequency:
[0065] High suspicion: the line, dial, and frequency are all marked as suspicious;
[0066] Moderately suspicious: The line is suspicious, or the dialing and frequency are suspicious;
[0067] Low level of suspicion: only the dialing number or frequency is suspicious;
[0068] (IV) Execution and Response
[0069] Alarm processing based on user-configured levels, and adaptive processing based on user time scenarios;
[0070] ① Response to general user scenarios;
[0071] In general user scenarios, when the suspicious level reaches or exceeds low suspicious level, the corresponding port is set to non-working state and a corresponding alarm message is sent;
[0072] ②Response to call center scenarios;
[0073] In the call center scenario, when the suspicious level is high, the system sets the corresponding port to an inoperative state and sends a corresponding alarm message.
[0074] In summary, the present invention provides a test system and method for connecting a gateway voice interface to a non-ordinary phone, checks the voice port of the voice gateway to the FXO port gateway, and stops the gateway interface voice service; prevents illegal users from making voice phone calls or fraudulent services through operators. Multi-dimensional detection and comprehensive analysis can efficiently identify fraudulent behavior.
[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention. It should be noted that similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0076] The above is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
[0077] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. The detection system of the gateway FXS telephone interface connected to the FXO port is characterized by: It comprises a detection module (101), a receiving module (102), an analysis and judgment module (103) and an execution module (104), wherein the detection module (101) is used to detect the connection status of the FXS port of the device and measure the AB_R resistance value, AG_R resistance value and BG_R resistance value of the wiring port; The receiving module (102) is used to receive the data detected by the detection module (101) and the call request information data of the FXS port receiving telephone or FXO port; The analysis and judgment module (103) is used to analyze the dialing speed, frequency and call length according to the data of the receiving module (102), and comprehensively analyze the type of the connection device of the FXS port according to the resistance value data of the detection module (101); The execution module (104) is used to respond to the user's call request and execute an operation according to the result of the analysis and judgment module (103).
2. The detection system of the gateway FXS telephone interface connected to the FXO port according to claim 1, characterized in that: The execution module (104) executes the operations of rejecting a call, sending an alarm message or disabling a port.
3. The detection system of the gateway FXS telephone interface connected to the FXO port according to claim 1, characterized in that: The AB_R value is the resistance value between line A and line B, and the unit is KΩ.
4. The detection system of the gateway FXS telephone interface connected to the FXO port according to claim 1, characterized in that: The AG_R value is the resistance between line A and ground, in KΩ.
5. The detection system of the gateway FXS telephone interface connected to the FXO port according to claim 1, characterized in that: The BG_R value is the resistance between the B line and the ground, and the unit is KΩ.
6. A method for detecting a gateway FXS telephone interface connected to an FXO port using the system of claim 1, characterized in that: The following steps are involved: (1) Detection and call information collection; ① Check the connection status and resistance value of the FXS port; The detection module collects the AB_R resistance value, AG_R resistance value and BG_R resistance value of each FXS port, performs multiple measurements and takes the average value; If AB_R is greater than 2500KΩ, or AG_R is less than 1000KΩ, or BG_R is less than 1000KΩ, the FXS port is marked as a suspicious line; ② Receive call information; The receiving module receives the call request of the FXS port in real time in an event-driven manner, and records the user's calling number and the dialing interval duration of each call; If the dial interval is constant, the FXS port is marked as suspicious dialing; (II) Analysis of call frequency and success rate Statistics are collected on the call frequency and call connection success rate of each port within one hour. If the FXS port with high call frequency is always in use and the call connection success rate is less than 10%, the FXS port is marked as suspicious. (III) Determination of suspicious level Analyze the data from the detection module and the receiving module, and make judgments based on line resistance, dialing speed, and call frequency; (IV) Execution and Response Alarm processing is performed according to user configuration levels and adaptive processing is performed according to user time scenarios.
7. The method for detecting the FXO port connected to the gateway FXS telephone interface according to claim 6, characterized in that: Step (I), the judgment standard is to set the error value of the temperature sensor to px, and the detection judgment formula is: (ADC(AB_R)+px)>2500 ||(ADC(AG_R)+px)<1000 ||(ADC(BG_R)+px)<1000.
8. The method for detecting the FXO port connected to the gateway FXS telephone interface according to claim 6, characterized in that: Step (iii), the suspicion level includes high suspicion, medium suspicion and low suspicion. High suspicion means that the line, dialing and frequency are all marked as suspicious; medium suspicion means that the line is suspicious, or the dialing and frequency are suspicious; low suspicion means that only the dialing is suspicious or the frequency is suspicious.
9. The method for detecting the FXO port connected to the gateway FXS telephone interface according to claim 6, characterized in that: Step (iv) includes responses for general user scenarios and responses for call center scenarios. For the responses for general user scenarios, in general user scenarios, when the suspicion level reaches or exceeds low suspicion, the corresponding port is set to a non-working state and a corresponding alarm message is sent; for the responses for call center scenarios, in the call center scenario, when the suspicion level is high suspicion, the corresponding port is set to a non-working state and a corresponding alarm message is sent.