CN111615016B - Client terminal equipment driving method, device and storage medium - Google Patents

Client terminal equipment driving method, device and storage medium Download PDF

Info

Publication number
CN111615016B
CN111615016B CN202010338334.5A CN202010338334A CN111615016B CN 111615016 B CN111615016 B CN 111615016B CN 202010338334 A CN202010338334 A CN 202010338334A CN 111615016 B CN111615016 B CN 111615016B
Authority
CN
China
Prior art keywords
user port
client terminal
pots line
fxs
fxs user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010338334.5A
Other languages
Chinese (zh)
Other versions
CN111615016A (en
Inventor
谭冰
孟庆晓
吴闽华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202010338334.5A priority Critical patent/CN111615016B/en
Publication of CN111615016A publication Critical patent/CN111615016A/en
Application granted granted Critical
Publication of CN111615016B publication Critical patent/CN111615016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/18Electrical details
    • H04Q1/20Testing circuits or apparatus; Circuits or apparatus for detecting, indicating, or signalling faults or troubles
    • H04Q1/22Automatic arrangements
    • H04Q1/24Automatic arrangements for connection devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/18Electrical details
    • H04Q1/20Testing circuits or apparatus; Circuits or apparatus for detecting, indicating, or signalling faults or troubles

Abstract

The invention provides a client terminal device driving method, a device and a storage medium, wherein the method comprises the following steps: when the POTS line is grounded, acquiring the grounding state of the POTS line; resetting the voltage of the FXS user port and the ring-off and hook-off triggering conditions of the FXS user port according to the POTS line grounding state; and driving the client terminal equipment to operate according to the reset FXS user port. When the POTS line is grounded, the polarity of the voltage of the FXS user port is reversed, so that the off-hook of the client terminal equipment can generate feed; resetting is carried out through the ring-off and hook-off triggering condition of the FXS user port, so that the FXS user port is not influenced by current between the FXS user port and the ground when ring-off and hook-off events are reported, and the reset FXS user port can drive the client terminal equipment to normally operate.

Description

Client terminal equipment driving method, device and storage medium
Technical Field
The present invention relates to the field of voice call technologies, and in particular, to a method and an apparatus for driving a client terminal device, and a storage medium.
Background
In the MSAN product, the FXS user port is connected to the customer premises equipment (e.g., telephone, fax machine) via a POTS line, and the structure is shown in fig. 1. The FXS user port comprises a T end and an R end, the voltage of the T end is 0V, the voltage of the R end is-48V, the client terminal equipment comprises an M end and an N end, a POTS line connecting the T end and one side of the M end is an A line, and a POTS line connecting the R end and one side of the N end is a B line. Under the normal condition that the POTS line is not grounded, because the M end and the N end have very large resistances, an open circuit can be considered between the FXS user port and the client terminal equipment, and no current is generated on the line. When the customer terminal equipment is off-hook, the resistance between the M end and the N end becomes small, and current can be generated between the ports T-M-N-R to form a current loop. When current flows into the client terminal equipment side, the client terminal equipment is driven to operate (such as display screen display and lamp flash), and meanwhile, when the FXS user port detects that current exists at the T end or the R end, an off-hook event is reported to the MSAN system, and the MSAN system is informed to perform service operation on the client terminal equipment, such as dial tone playing and number receiving (detection of DTMF signals dialed by the client terminal equipment) and the like.
However, POTS lines are generally long in distance, and some lines laid on the ground may be affected by environmental factors (such as frequent lightning strike, insolation, or more rain, and human factors) during long-term use, so that the outer protective skin of the lines falls off, thereby causing the POTS lines to be grounded or short-circuited. As shown in fig. 2, when the B line on the POTS line is grounded, a short circuit occurs between the POTS line ground points, a loop occurs between the POTS line ground point and the FXS user port, power cannot be supplied to the client device, and no power feeding occurs after the client terminal device is off-hook. As shown in fig. 3, when the line a of the POTS line is grounded, since the client terminal device serves as a called end, the voltage at the FXS user port is a sinusoidal voltage, and the ring-off and hook-off triggering condition of the existing FXS user port is that when a current is detected at the T end or the R end, ring-off is performed and the hook-off is reported, the current generated between the FXS user port and the ground may cause the FXS user port to falsely detect the hook-off, thereby causing abnormal ringing.
Therefore, the prior art is subject to further improvement.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, the present invention aims to provide a method, an apparatus and a storage medium for driving a customer terminal device, which overcome the disadvantages that when a line B in a POTS line is grounded in the prior art, a short circuit is generated between POTS line grounding points, which causes no feeding after the customer terminal device is off-hook; when the A line is grounded, the current generated between the FXS user port and the ground causes the FXS user port to mistakenly detect off-hook, thereby causing the problem of abnormal ringing.
A first embodiment disclosed in the present invention is a client terminal device driving method, wherein the method is applied to a client terminal device driving apparatus connected to the client terminal device through a POTS line, the client terminal device driving apparatus including an FXS user port; the method comprises the following steps:
when the POTS line is grounded, acquiring the grounding state of the POTS line;
resetting the voltage of the FXS user port and the ring-off and hook-off triggering conditions of the FXS user port according to the POTS line grounding state;
and driving the client terminal equipment to operate according to the reset FXS user port.
The customer terminal device driving method, wherein the POTS lines include a first POTS line and a second POTS line; the POTS line grounding state is that the first POTS line is grounded or the second POTS line is grounded.
The client terminal device driving method, wherein the FXS user ports include a first FXS user port and a second FXS user port; the first POTS line is connected with the first FXS user port; the second POTS line is connected with the second FXS user port; the first FXS user port voltage is higher than the second FXS user port voltage.
The method for driving the client terminal device, wherein the voltage at the first FXS subscriber port is zero, and the step of acquiring the grounding state of the POTS line when the POTS line is grounded specifically includes:
judging whether a voltage difference exists between the second FXS user port and the ground or not; if yes, acquiring the POTS line grounding state as second POTS line grounding;
if not, the grounding state of the POTS line is acquired as the grounding of the first POTS line.
In the method for driving a client terminal device, when the POTS line ground state is a first POTS line ground state, the resetting the voltage of the FXS subscriber port and the ring-off-hook trigger condition of the FXS subscriber port according to the POTS line ground state specifically includes:
keeping the voltages of the first FXS user port and the second FXS user port unchanged, setting a ring-off and off-hook triggering condition of the FXS user port as ring-off and off-hook triggering condition when the second FXS user port is detected to have current, and reporting an off-hook event.
In the method for driving a client terminal device, when the POTS line ground state is a second POTS line ground state, the resetting the voltage of the FXS subscriber port and the ring-off-hook trigger condition of the FXS subscriber port according to the POTS line ground state specifically includes:
and the voltage of the first FXS user port and the voltage of the second FXS user port are reversed, the ring-off and off-hook triggering condition of the FXS user port is set to be that ring-off and off-hook are carried out when the current of the first FXS user port is detected, and an off-hook event is reported.
In the method for driving a client terminal device, when the POTS line ground state is a first POTS line ground state, the step of driving the client terminal device according to the set FXS user port specifically includes:
when the client terminal equipment is in a calling state, detecting whether current exists from the first FXS user port to the second FXS user port; if yes, reporting an off-hook event to drive the client terminal equipment to operate;
when the client terminal equipment is in a called state, detecting whether current exists in the second FXS user port; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
In the method for driving a client terminal device, when the POTS line ground state is a second POTS line ground state, the step of driving the client terminal device to perform a call according to the set FXS user port specifically includes:
when the client terminal equipment is in a calling state, detecting whether current exists from the second FXS user port to the first FXS user port; if yes, reporting an off-hook event to drive the client terminal equipment to operate;
when the client terminal equipment is in a called state, detecting whether current exists in the first FXS user port; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
A client terminal device driving apparatus, comprising: a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions; the processor is adapted to invoke instructions in the storage medium to perform the steps of implementing the client terminal device driving method of any of the above.
A storage medium having stored thereon a control program of a client terminal device driving method, the control program of the client terminal device driving method realizing the steps of the client terminal device driving method when executed by a processor.
The method, the device and the storage medium for driving the client terminal equipment have the advantages that when a POTS line is grounded, the grounding state of the POTS line is obtained, the voltage of the FXS user port and the ring-off and hook-off triggering condition of the FXS user port are reset according to the grounding state of the POTS line, and the reset FXS user port drives the client terminal equipment to normally operate. According to the method, the device and the storage medium, the polarity of the voltage of the FXS user port is reversed, so that the off-hook of the client terminal equipment can generate feed; resetting is carried out through the ring-off and hook-off triggering condition of the FXS user port, so that the FXS user port is not influenced by the current between the FXS user port and the ground when ring-off is carried out and an off-hook event is reported.
Drawings
FIG. 1 is a schematic diagram of the FXS user port and client terminal equipment in an ungrounded state of a conventional POTS line;
FIG. 2 is a schematic diagram of the FXS user port and the client terminal device in the conventional POTS line A-line grounding state;
FIG. 3 is a schematic diagram of the FXS user port and the client terminal device in the conventional POTS line B-line grounding state;
FIG. 4 is a flow chart of a preferred embodiment of a client terminal device driving method according to the present invention;
FIG. 5 is a flowchart of an embodiment of a client terminal device driving method provided by the present invention;
fig. 6 is a functional schematic diagram of the client terminal device driving apparatus of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The client terminal equipment driving method provided by the invention can be applied to terminals. The terminal may be, but is not limited to, various personal computers, notebook computers, mobile phones, tablet computers, vehicle-mounted computers, and portable wearable devices. The terminal of the invention adopts a multi-core processor. The processor of the terminal may be at least one of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Video Processing Unit (VPU), and the like.
The method aims to solve the problem that when a B line in the existing POTS line is grounded, short circuit is generated between POTS line grounding points, so that no feed is generated after customer terminal equipment is off-hook; when the A line is grounded, the current generated between the FXS user port and the ground causes the FXS user port to mistakenly detect off-hook, thereby causing the problem of abnormal ringing. The invention provides a client terminal device driving method.
Referring to fig. 4, fig. 4 is a flowchart illustrating a driving method of a client terminal device according to a preferred embodiment of the present invention.
In the first embodiment, the method is applied to a client terminal equipment driving device connected with the client terminal equipment through a POTS line, wherein the client terminal equipment driving device comprises an FXS user port; the client terminal device driving method has three steps:
s100, when the POTS line is grounded, acquiring the grounding state of the POTS line;
s200, resetting the voltage of the FXS user port and the ring-off and hook-off triggering conditions of the FXS user port according to the POTS line grounding state;
and S300, driving the client terminal equipment to operate according to the reset FXS user port.
In the existing MSAN product, an FXS user port is connected with a client terminal device (such as a telephone and a fax machine) through a POTS line, the POTS line is generally long in distance, and when some lines laid on the ground are used for a long time, the lines may be affected by some environmental factors (such as frequent lightning strike, insolation, or more rainwater and human factors), so that the outer protective skin of the lines falls off, and the POTS line is grounded or short-circuited. When a line B in a POTS line is grounded, short circuit is generated between the POTS line and a grounding point, and no feed is generated after customer terminal equipment is off-hook; when the line A is grounded, because the ring-off and hook-off triggering conditions of the existing FXS user port are that when the T end or the R end is detected to have current, and ring-off and hook-off events are reported, the current generated between the FXS user port and the ground causes the FXS user port to mistakenly detect the hook-off and cause ringing abnormity. Therefore, in this embodiment, it is first determined whether the POTS line is grounded, and if not, the customer terminal device is driven to operate according to the existing customer terminal device driving apparatus; if not, acquiring a POTS line grounding state, resetting the voltage of the FXS user port and the ring-off and hook-off triggering conditions of the FXS user port according to the POTS line grounding state, and enabling the off-hook of the client terminal equipment to generate feed by reversing the polarity of the voltage of the FXS user port; resetting is carried out through the ring-off and hook-off triggering condition of the FXS user port, so that the FXS user port is not influenced by current between the FXS user port and the ground when ring-off and hook-off events are reported, and the reset FXS user port can drive the client terminal equipment to normally operate.
In particular implementations, the POTS lines include a first POTS line and a second POTS line; the POTS line grounding state is that the first POTS line is grounded or the second POTS line is grounded. In this embodiment, the POTS line grounding state is obtained, that is, the connection states of the first POTS line and the second POTS line are obtained, and whether the POTS line grounding is the first POTS line grounding or the second POTS line grounding is determined. The FXS user ports comprise a first FXS user port and a second FXS user port; the first POTS line is connected with the first FXS user port; the second POTS line is connected with the second FXS user port; the first FXS user port voltage is higher than the second FXS user port voltage.
In a specific embodiment, a voltage of the first FXS user port is zero, and the step S100 specifically includes:
s110, judging whether a voltage difference exists between the second FXS user port and the ground or not; if yes, acquiring the POTS line grounding state as second POTS line grounding;
s120, if not, the grounding state of the POTS line is acquired as the grounding of the first POTS line.
In specific implementation, after the POTS line is grounded, the grounding state of the POTS line is further obtained, that is, whether the first POTS line is grounded or the second POTS line is grounded is obtained. In this embodiment, the voltage of the first FXS user port is zero, and when the POTS line is judged to be grounded, whether a voltage difference exists between the second FXS user port and the ground is further judged; if yes, the second FXS user port is grounded, and the obtained POTS line grounding state is second POTS line grounding; if not, the first FXS user port is grounded, and the POTS line grounding state is acquired to be the first POTS line grounding.
In an embodiment, when the POTS line grounding status is that the POTS line is grounded, the step S200 specifically includes:
and S230, keeping the voltages of the first FXS user port and the second FXS user port unchanged, setting a ring-off and off-hook triggering condition of the FXS user port as ring-off and off-hook triggering conditions when the second FXS user port is detected to have current, and reporting an off-hook event.
In specific implementation, when the obtained POTS line grounding state is the first POTS line grounding, since the voltage of the first FXS subscriber port is zero, no voltage difference exists between the first FXS subscriber port and the ground, and short circuit between POTS line grounding points cannot be caused. In this embodiment, when it is determined that the first POTS line is grounded, the voltages of the first FXS subscriber port and the second FXS subscriber port are kept unchanged, the ring-off and hook-off trigger condition of the FXS subscriber port is set to ring-off when it is detected that the second FXS subscriber port has current, and an off-hook event is reported. When the client terminal equipment is in a calling state, after the client terminal equipment is off-hooked, the resistance on a side line of the client terminal equipment is reduced, current from a first FXS user port to a second FXS user port can be generated on the line, and after the client terminal equipment driving device detects the current, an off-hook event can be reported to an MSAN system to drive the client terminal equipment to normally operate. When the client terminal equipment is in a called state, although the voltage of the FXS user port is a sinusoidal voltage, the ring-off and off-hook triggering condition of the FXS user port is that ring-off and off-hook events are reported when the current of the second FXS user port is detected, and the ring-off and off-hook events of the FXS user port cannot be influenced by the current between the first FXS port and the ground.
In an embodiment, when the POTS line grounding status is a second POTS line grounding status, the step S200 specifically includes:
s240, the voltage of the first FXS user port and the voltage of the second FXS user port are reversed, the ring-off and off-hook triggering condition of the FXS user port is set to be ring-off when the current of the first FXS user port is detected, and an off-hook event is reported.
In specific implementation, when the second POTS line is grounded, since the voltage of the second FXS subscriber port is not zero, a short circuit is generated between POTS line-ground points, a loop is generated between the POTS line-ground point and the FXS subscriber port, and power cannot be supplied to the client device. In this embodiment, after the second POTS line is grounded, the voltage at the first FXS user port and the voltage at the second FXS user port are reversed, that is, the voltage at the original first FXS user port is set to the voltage at the second FXS user port, and the voltage at the original second FXS user port is set to the voltage at the first FXS user port. In the foregoing steps, it is mentioned that the voltage at the first FXS subscriber port is zero, after resetting, the voltage at the second FXS subscriber port is zero, and there is no voltage difference between the second FXS subscriber port and ground, so that short circuit between the POTS line and the ground point is not generated.
In specific implementation, similar to the aforementioned grounding of the first POTS line, when the client terminal device is in a called state, since the voltage of the FXS user port is a sinusoidal voltage, the current generated between the FXS user port and the ground may cause the FXS user port to detect off-hook by mistake, resulting in abnormal ringing. In order to solve the above problem, in this embodiment, a ring-off and hook-off triggering condition of the FXS user port is further set to ring-off and report an off-hook event when the current is detected at the first FXS user port, and the ring-off and hook-off event is reported without being influenced by the current between the second FXS port and ground.
In an embodiment, when the POTS line grounding status is that the POTS line is first POTS line grounding, the step S300 specifically includes:
s310, when the client terminal equipment is in a calling state, detecting whether current exists between the first FXS user port and the second FXS user port; if yes, reporting an off-hook event to drive the client terminal equipment to operate;
s320, when the client terminal equipment is in a called state, detecting whether current exists in the second FXS user port; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
In specific implementation, when a first POTS line is grounded and a client terminal device is in a calling state, detecting whether current exists between a first FXS user port and a second FXS user port; if yes, indicating that the client terminal equipment carries out off-hook, reporting an off-hook event and driving the client terminal equipment to operate. When the first POTS line is grounded and the client terminal equipment is in a called state, detecting whether current exists at the second FXS user port; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
S330, when the client terminal equipment is in a calling state, detecting whether current exists from the second FXS user port to the first FXS user port; if yes, reporting an off-hook event to drive the client terminal equipment to operate;
s340, when the client terminal equipment is in a called state, detecting whether current exists in the first FXS user port; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
In specific implementation, when a second POTS line is grounded and a client terminal device is in a calling state, detecting whether current exists between a second FXS user port and a first FXS user port; if yes, indicating that the client terminal equipment carries out off-hook, reporting an off-hook event and driving the client terminal equipment to operate. When a second POTS line is grounded and a client terminal device is in a called state, detecting whether current exists at the first FXS user port; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
The present invention also provides a flowchart of a specific application embodiment of the client terminal device driving method, as shown in fig. 5, including the following steps:
step S51, judging whether the POTS line is grounded; if not, go to step S52; if yes, go to step S53;
step S52, driving the client terminal equipment to operate according to the existing FXS user port;
step S53, judging whether a voltage difference exists between the second FXS user port and the ground; if not, go to step S54; if yes, go to step S55;
step S54, determining that the first POTS line is grounded;
step S55, determining that the second POTS line is grounded;
step S56, setting a ring-off and hook-off trigger condition to detect that the second FXS user port has current;
step S57, the voltage of the FXS user port is reversed, and the ring-off hook triggering condition is set to detect that the first FXS user port has current;
and step S58, driving the client terminal equipment to operate according to the reset FXS user port.
Based on the above embodiments, the present invention further provides a client terminal device driving apparatus, and a schematic block diagram thereof may be as shown in fig. 6. The device comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein the processor of the device is configured to provide computational and control capabilities. The memory of the device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a client terminal device driving method. The display screen of the device can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the device is arranged in the computer equipment in advance and used for detecting the current operating temperature of the internal equipment.
It will be appreciated by those skilled in the art that the block diagram of fig. 6 is a block diagram of only a portion of the structure associated with the inventive arrangements and is not intended to limit the devices to which the systems of the inventive arrangements may be applied, and that a particular device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a client terminal device driver comprising a memory and a processor, the memory having a computer program stored therein, the processor being operable to execute the computer program to perform at least the following:
when the POTS line is grounded, acquiring the grounding state of the POTS line;
resetting the voltage of the FXS user port and the ring-off and hook-off triggering conditions of the FXS user port according to the POTS line grounding state;
and driving the client terminal equipment to operate according to the reset FXS user port.
In one embodiment, the processor, when executing the computer program, may further implement: judging whether a voltage difference exists between the second FXS user port and the ground or not; if yes, acquiring the POTS line grounding state as second POTS line grounding; if not, the grounding state of the POTS line is acquired as the grounding of the first POTS line.
In one embodiment, the processor, when executing the computer program, may further implement: and when the POTS line grounding state is the first POTS line grounding state, keeping the voltages of the first FXS user port and the second FXS user port unchanged, setting the ring-off and off-hook triggering condition of the FXS user port as ring-off when detecting that the second FXS user port has current, and reporting an off-hook event.
In one embodiment, the processor, when executing the computer program, may further implement: and when the POTS line grounding state is second POTS line grounding, the voltage of the first FXS user port and the voltage of the second FXS user port are reversed, the ring-off and hook-off triggering condition of the FXS user port is set to be ring-off when the current of the first FXS user port is detected, and an off-hook event is reported.
In one embodiment, the processor, when executing the computer program, may further implement: when the POTS line grounding state is a first POTS line grounding state and the client terminal equipment is in a calling state, detecting whether current exists from the first FXS user port to the second FXS user port or not; if yes, reporting an off-hook event to drive the client terminal equipment to operate; when the POTS line grounding state is a first POTS line grounding state and the client terminal equipment is in a called state, detecting whether current exists at the second FXS user port or not; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
In one embodiment, the processor, when executing the computer program, may further implement: when the POTS line grounding state is a second POTS line grounding state and the client terminal equipment is in a calling state, detecting whether current exists between the second FXS user port and the first FXS user port or not; if yes, reporting an off-hook event to drive the client terminal equipment to operate; when the POTS line grounding state is a second POTS line grounding state and the client terminal equipment is in a called state, detecting whether current exists at the first FXS user port or not; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the present invention provides a method, an apparatus and a storage medium for driving a client terminal device, where the method includes: when the POTS line is grounded, acquiring the grounding state of the POTS line; resetting the voltage of the FXS user port and the ring-off and hook-off triggering conditions of the FXS user port according to the POTS line grounding state; and driving the client terminal equipment to operate according to the reset FXS user port. When the POTS line is judged to be grounded, the voltage of the FXS user port is adjusted and reset, so that the off-hook of the client terminal equipment can generate feed; polarity inversion is carried out through a ring-off and hook-off triggering condition of the FXS user port, so that the FXS user port is not influenced by current between the FXS user port and the ground when ring-off and hook-off events are reported, and the reset FXS user port can drive client terminal equipment to normally operate.
It is to be understood that the system of the present invention is not limited to the above examples, and that modifications and variations may be made by one of ordinary skill in the art in light of the above teachings, and all such modifications and variations are intended to fall within the scope of the appended claims.

Claims (8)

1. A client terminal device driving method, characterized in that, it is applied to a client terminal device driving apparatus connected with said client terminal device through POTS line, said client terminal device driving apparatus includes FXS user port; the method comprises the following steps:
when the POTS line is grounded, acquiring the grounding state of the POTS line;
resetting the voltage of the FXS user port and the ring-off and hook-off triggering conditions of the FXS user port according to the POTS line grounding state;
driving the client terminal equipment to operate according to the reset FXS user port;
the step of resetting the voltage of the FXS subscriber port and the ring-off and hook-off trigger condition of the FXS subscriber port according to the POTS line ground state specifically includes:
when the POTS line grounding state is the first POTS line grounding state, keeping the voltage of a first FXS user port and the voltage of a second FXS user port unchanged, setting the ring-off and hook-off triggering condition of the FXS user port as ring-off when the current of the second FXS user port is detected, and reporting an off-hook event;
and when the POTS line grounding state is second POTS line grounding, the voltage of the first FXS user port and the voltage of the second FXS user port are reversed, the ring-off and hook-off triggering condition of the FXS user port is set to be ring-off when the current of the first FXS user port is detected, and an off-hook event is reported.
2. The customer terminal device driver method of claim 1, wherein the POTS lines include a first POTS line and a second POTS line; the POTS line grounding state is that the first POTS line is grounded or the second POTS line is grounded.
3. The client terminal device driving method according to claim 2, wherein the FXS user ports comprise a first FXS user port and a second FXS user port; the first POTS line is connected with the first FXS user port; the second POTS line is connected with the second FXS user port; the first FXS user port voltage is higher than the second FXS user port voltage.
4. The method according to claim 3, wherein the voltage at the first FXS subscriber port is zero, and wherein the step of obtaining the POTS line ground status when the POTS line is grounded comprises:
judging whether a voltage difference exists between the second FXS user port and the ground or not; if yes, acquiring the POTS line grounding state as second POTS line grounding;
if not, the grounding state of the POTS line is acquired as the grounding of the first POTS line.
5. The method according to claim 1, wherein when the POTS line ground status is first POTS line ground, the step of driving the client device according to the FXS user port after the reset specifically comprises:
when the client terminal equipment is in a calling state, detecting whether current exists from the first FXS user port to the second FXS user port; if yes, reporting an off-hook event to drive the client terminal equipment to operate;
when the client terminal equipment is in a called state, detecting whether current exists in the second FXS user port; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
6. The method according to claim 1, wherein when the POTS line ground status is second POTS line ground, the step of driving the client terminal device to talk according to the set FXS user port specifically comprises:
when the client terminal equipment is in a calling state, detecting whether current exists from the second FXS user port to the first FXS user port; if yes, reporting an off-hook event to drive the client terminal equipment to operate;
when the client terminal equipment is in a called state, detecting whether current exists in the first FXS user port; and if so, ring-off is carried out and an off-hook event is reported to drive the client terminal equipment to operate.
7. A client terminal device driving apparatus, comprising: a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions; the processor is adapted to invoke instructions in the storage medium to perform the steps of implementing the client terminal device driving method of any of the above claims 1-6.
8. A storage medium having stored thereon a control program of a client terminal device driving method, the control program of the client terminal device driving method realizing the steps of the client terminal device driving method according to any one of claims 1 to 6 when executed by a processor.
CN202010338334.5A 2020-04-26 2020-04-26 Client terminal equipment driving method, device and storage medium Active CN111615016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010338334.5A CN111615016B (en) 2020-04-26 2020-04-26 Client terminal equipment driving method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010338334.5A CN111615016B (en) 2020-04-26 2020-04-26 Client terminal equipment driving method, device and storage medium

Publications (2)

Publication Number Publication Date
CN111615016A CN111615016A (en) 2020-09-01
CN111615016B true CN111615016B (en) 2022-04-29

Family

ID=72201136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010338334.5A Active CN111615016B (en) 2020-04-26 2020-04-26 Client terminal equipment driving method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111615016B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202979B (en) * 2020-09-30 2021-04-27 烽火通信科技股份有限公司 VOIP one-line double-number control method and device
CN113347309B (en) * 2021-04-27 2023-05-30 深圳震有科技股份有限公司 POTS line A line ground fault detection processing method, device and equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2201759Y (en) * 1994-06-07 1995-06-21 南京奥尔华电子电器有限公司 Anti-theft device for telephone line
CN1251961A (en) * 1998-10-21 2000-05-03 重庆新大地电子有限公司 VLF ground wave telephone equipment
CN1361598A (en) * 2000-12-29 2002-07-31 深圳市中兴通讯股份有限公司 Two-channel 2-4 line user's interface device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7852831B2 (en) * 2005-02-22 2010-12-14 Akbar Imran M Method and system for providing private virtual secure Voice over Internet Protocol communications
KR20070065541A (en) * 2005-12-20 2007-06-25 엘지노텔 주식회사 Apparatus for separating and detecting ring signals in a subscriber interface board
CN110971768B (en) * 2019-12-06 2020-12-25 深圳震有科技股份有限公司 SIP call processing method and system, computer equipment and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2201759Y (en) * 1994-06-07 1995-06-21 南京奥尔华电子电器有限公司 Anti-theft device for telephone line
CN1251961A (en) * 1998-10-21 2000-05-03 重庆新大地电子有限公司 VLF ground wave telephone equipment
CN1361598A (en) * 2000-12-29 2002-07-31 深圳市中兴通讯股份有限公司 Two-channel 2-4 line user's interface device

Also Published As

Publication number Publication date
CN111615016A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN111615016B (en) Client terminal equipment driving method, device and storage medium
US8107209B2 (en) Protection circuit
CN108519935B (en) Board card testing method and device, readable storage medium and computer equipment
US5630058A (en) Network connected device protection
WO2003084189A1 (en) Information device having telephone function, and call arrival history processing method, and program
KR19980084988A (en) How to change the ringer type for each caller in the telephone device
KR20140077094A (en) Anti Phishing system and method
US8160208B2 (en) Systems and methods for monitoring telephone lines
US9560181B2 (en) Communication apparatus and control method for the same
JP4344804B2 (en) Communication terminal device
CN101825675B (en) Handheld device and method for detecting the connectivity of connector in handheld device
US5937036A (en) Method and apparatus for sensing external alarms using a standard telephony interface
CN113347309B (en) POTS line A line ground fault detection processing method, device and equipment and storage medium
US8369392B2 (en) Cable modem
JPH02107029A (en) Data transmission equipment for automobile telephone
JP2019080130A (en) Image formation device, control program, and control method
JP2007097235A5 (en)
CN111556204B (en) Method, device, equipment and medium for detecting and processing line fault of analog telephone system
JP3100821B2 (en) Terminal side network controller
US9699350B2 (en) Communication device suppressing occurrence of communication disturbance
CN114861772A (en) Model training and detecting method, communication module, device, equipment and storage medium
JP2015149605A (en) Communication apparatus, control method of the same, and program
JP6481472B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP4088620B2 (en) Monitoring terminal and monitoring system using the same
US8503667B1 (en) Detection and prevention of unintentional pulse dialing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant