A remote voice configuration replacement method and device
By generating a configuration request signal through the telephone, the ONU and OLT devices can automatically exchange numbers, solving the problems of time-consuming, labor-intensive, and error-prone telephone number exchange in the existing technology, and achieving efficient and low-error-rate number configuration replacement.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
- Filing Date
- 2023-09-08
- Publication Date
- 2026-05-19
AI Technical Summary
Existing methods for exchanging phone numbers are time-consuming, labor-intensive, and prone to errors.
By generating a configuration request signal via the phone, the ONU and OLT devices can automatically exchange numbers, reducing operator intervention.
Simplify the number swapping process, save labor costs and time, and reduce the risk of errors.
Smart Images

Figure CN117201978B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method and apparatus for remote voice configuration changing. Background Technology
[0002] In existing PON (Passive Optical Network) systems, voice port service configuration is done through network management or resource systems on the main control board of the OLT (Optical Line Terminal) equipment, the PON service board, and the voice ports of the ONU (Optical Network Unit) equipment. For some users, such as enterprises and government agencies, to facilitate communication, specific employee numbers are often assigned, and these numbers are always with the employee.
[0003] However, telephone lines are pre-installed, and when employees change locations, their phone numbers need to be updated accordingly. Currently, this requires the user to apply to the operator for a phone number swap between the two locations. Upon receiving the application, the operator notifies installation and maintenance personnel, who then locate the voice ports configured for the two phone numbers in the backend system, delete the telephone service on both ports, and then reconfigure the voice service according to the customer's needs. This manual phone number swapping method is time-consuming, labor-intensive, and prone to errors.
[0004] Therefore, overcoming the shortcomings of the existing technology is an urgent problem to be solved in this technical field. Summary of the Invention
[0005] The technical problem that this invention aims to solve is that the existing technology involves exchanging phone numbers by installation and maintenance personnel, which is time-consuming, labor-intensive, and prone to errors.
[0006] The present invention adopts the following technical solution:
[0007] In a first aspect, the present invention provides a method for remotely changing voice configuration, comprising receiving a configuration request signal from a telephone, including:
[0008] Extract the configuration request message from the configuration request signal; wherein the configuration request signal is generated by the phone based on the user's operation of the dial pad, and / or is obtained by the phone based on voice conversion;
[0009] The configuration request message is sent to the OLT device so that the OLT device can issue voice service configuration instructions to the ONU device according to the configuration request message;
[0010] According to the voice service configuration instruction, the voice port number of the phone is swapped with the voice port number of the other phones.
[0011] Preferably, the voice service configuration instruction carries voice service configuration data after number swapping. The step of swapping the voice port number of the phone with the voice port number of another phone according to the voice service configuration instruction specifically includes:
[0012] The ONU device configures the voice service configuration data after the number swap to the voice port connected to the corresponding phone.
[0013] Preferably, receiving the configuration request signal from the phone specifically includes:
[0014] Sensing the voice configuration change action of the phone;
[0015] When a voice configuration change action is detected for a corresponding phone, a start change identifier matching the voice port of the phone is generated, and the start change identifier is forwarded to the OLT device.
[0016] If, upon receiving an analog signal from the corresponding phone, it is determined that there is a start-up switch identifier that matches the voice port of the phone, then the analog signal is received as a configuration request signal.
[0017] Otherwise, the analog signal will be processed as a normal call signal.
[0018] Preferably, the voice configuration change action includes one or more of the following: picking up the microphone, hanging up the microphone, unplugging the telephone cable, plugging in the telephone cable, making a preset dialing on the dial pad, and receiving preset voice information from the user.
[0019] Secondly, the present invention also provides a method for remotely changing voice configurations, comprising:
[0020] Receive a configuration request message from the ONU device, and issue a voice service configuration instruction to the ONU device according to the configuration request message;
[0021] This allows the ONU device to swap the voice port number of the phone with the voice port number of other phones according to the voice service configuration instructions.
[0022] Preferably, the step of issuing a voice service configuration instruction to the ONU device according to the configuration request message specifically includes:
[0023] Determine whether the first configuration request message and the second configuration request message match; wherein, the first configuration request message is a configuration request message from the first phone; and the second configuration request message is a configuration request message from the second phone received within a preset time period after the first configuration request message is received.
[0024] If it is determined that the first configuration request message matches the second configuration request message, then the voice service configuration instruction is sent to the corresponding ONU device according to the first configuration request message and the second configuration request message.
[0025] Preferably, the configuration request message includes at least the destination number, source number, source port number, and password change; the determination of whether the first configuration request message matches the second configuration request message specifically includes:
[0026] If the source number of the first configuration request message is the same as the destination number in the second configuration request message, the source number of the second configuration request message is the same as the destination number in the first configuration request message, and the password change in the first configuration request message matches the password change in the second configuration request message, then it is determined that the first configuration request message and the second configuration request message match.
[0027] Preferably, the step of issuing the voice service configuration command to the corresponding ONU device according to the first configuration request message and the second configuration request message specifically includes:
[0028] The numbers corresponding to the first port number and the second port number in the first voice service configuration data are swapped to generate new first voice service configuration data; wherein, the first port number is the source port number in the first configuration request message, and the second port number is the source port number in the second configuration request message;
[0029] The new first voice service configuration data is carried in the voice service configuration instruction and sent to the ONU device so that the ONU device can use the new first voice service configuration data to configure the voice service and realize the interchange of the voice port number of the first phone and the voice port number of the second phone.
[0030] Preferably, if no first configuration request message is received within a preset time after receiving the first start-up change identifier; wherein, the first start-up change identifier is a start-up change identifier that matches the voice port of the first telephone;
[0031] If no second configuration request message is received within a preset time after receiving the first configuration request message, or if the received second configuration request message does not match the first configuration request message, then a first configuration request cancellation message is sent to the ONU device so that the ONU device can delete the start-up replacement identifier of the first phone according to the first configuration request cancellation message.
[0032] Thirdly, the present invention also provides a remote voice configuration changing device for implementing the remote voice configuration changing method described in the first or second aspect, the device comprising:
[0033] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor for performing the remote voice configuration replacement method described in the first or second aspect.
[0034] Fourthly, the present invention also provides a non-volatile computer storage medium storing computer-executable instructions that are executed by one or more processors to perform the remote voice configuration replacement method described in the first or second aspect.
[0035] This invention receives a configuration request signal from the phone and uses this signal to perform voice configuration changes in the ONU device, thereby giving the phone user the initiative in number swapping. The voice configuration change process is also completed automatically by the ONU and OLT devices, allowing phone number swapping to be completed without operator intervention. This simplifies the number swapping process, saves labor costs and time spent on number swapping, and the configuration request signal is generated by the corresponding operation of the phone, thereby reducing the possibility of errors in number swapping caused by manually searching for the voice port. Attached Figure Description
[0036] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments of the present invention will be briefly described below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0037] Figure 1 This is a schematic diagram of a scenario for the first remote voice configuration replacement method provided in an embodiment of the present invention;
[0038] Figure 2 This is a flowchart illustrating the second remote voice configuration replacement method provided in this embodiment of the invention;
[0039] Figure 3This is a schematic diagram of a scenario for another remote voice configuration replacement method provided in an embodiment of the present invention;
[0040] Figure 4 This is a schematic diagram of a scenario for another remote voice configuration replacement method provided in an embodiment of the present invention;
[0041] Figure 5 This is a flowchart illustrating the third remote voice configuration replacement method provided in this embodiment of the invention;
[0042] Figure 6 This is a flowchart illustrating the fourth remote voice configuration replacement method provided in this embodiment of the invention.
[0043] Figure 7 This is a flowchart illustrating the fifth remote voice configuration replacement method provided in this embodiment of the invention.
[0044] Figure 8 This is a schematic diagram of a scenario for another remote voice configuration replacement method provided in an embodiment of the present invention;
[0045] Figure 9 This is a schematic diagram of the structure of the configuration request message in a remote voice configuration replacement method provided in an embodiment of the present invention;
[0046] Figure 10 This is a schematic diagram of the structure of the configuration request message in another remote voice configuration replacement method provided in this embodiment of the invention;
[0047] Figure 11 This is a flowchart illustrating the sixth remote voice configuration replacement method provided in this embodiment of the invention.
[0048] Figure 12 This is a flowchart illustrating the seventh remote voice configuration replacement method provided in this embodiment of the invention.
[0049] Figure 13 This is a flowchart illustrating the eighth remote voice configuration replacement method provided in this embodiment of the invention;
[0050] Figure 14 This is a schematic diagram of a remote voice configuration replacement method provided in an embodiment of the present invention;
[0051] Figure 15 This is a schematic diagram of the architecture of a remote voice configuration change device provided in an embodiment of the present invention. Detailed Implementation
[0052] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0053] In this invention, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0054] Furthermore, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0055] Example 1:
[0056] In existing technologies, phone numbers are exchanged by installation and maintenance personnel. This method is time-consuming, labor-intensive, and prone to errors. To address this issue, Embodiment 1 of this invention provides a remote voice configuration replacement method, applicable to applications such as... Figure 1 In the scenario shown, the execution entity of the remote voice configuration replacement method described in this embodiment is the ONU device, which receives a configuration request signal from the phone, such as... Figure 2 As shown, it includes:
[0057] In step 201, a configuration request message is extracted from the configuration request signal; wherein the configuration request message carries at least a destination number so that the ONU device can identify the phone that needs to switch numbers based on the destination number.
[0058] The configuration request signal is generated by the handset based on the user's operation of the dial pad, and / or by the handset based on voice conversion. For example, the user operates the dial pad according to preset rules, thereby generating an analog signal corresponding to the operation. This analog signal is the configuration request signal. For instance, if "#preset configuration code#destination number" is entered on the dial pad, the handset generates a corresponding analog signal. The ONU device receives this analog signal through the telephone cable. If the signal conforms to the format "#preset configuration code#destination number", it considers the analog signal to be a configuration request signal and extracts the destination number from it as a configuration request message. The preset rules and preset configuration codes are derived by those skilled in the art based on experience.
[0059] The configuration request signal can also be obtained by the phone based on voice conversion. Specifically, the user reads the destination number into the phone's microphone, the phone generates a corresponding voice signal, which is the configuration request signal, and transmits the voice signal to the ONU device. The ONU device has a built-in voice parsing module, which parses the voice signal to obtain the destination number and uses the destination number as the configuration request message.
[0060] In some implementations, the configuration request signal can be generated by combining the dial pad and the user's voice. For example, the user first operates the dial pad to generate a part of the analog signal, and then generates another part of the analog signal through the microphone. The two parts of the analog signal are used as a whole as the configuration request signal.
[0061] It should be noted that the above-described methods for generating configuration request signals are only optional implementations for several specific application scenarios and are not intended to limit the present invention. It is understood that any method that generates configuration request signals through the dial pad of a telephone, through voice from a microphone, or through a combination of both should be included within the protection scope of the present invention.
[0062] In step 202, the configuration request message is sent to the OLT device so that the OLT device can issue voice service configuration instructions to the ONU devices according to the configuration request message. The OLT device can receive configuration request messages from different ONU devices and process them accordingly to swap phone numbers connected to different ONU devices. Specifically, after determining the first and second phones to be swapped based on the configuration request message, the OLT device sends voice service configuration instructions to the ONU devices connected to the first and second phones.
[0063] In step 203, the ONU device swaps the voice port number of the phone with the voice port numbers of other phones according to the voice service configuration instruction. Here, the voice port of the phone is actually the voice port to which the phone is connected; for the sake of simplicity, it is referred to as the phone's voice port in this embodiment and subsequent embodiments.
[0064] The specific steps for changing voice configurations with other phones involve configuring the voice services in the ONU device. This involves modifying the second voice service configuration data in the ONU device to ensure that the phone number of the first phone corresponds to the voice port of the second phone, and vice versa. This involves updating the voice port numbers of both phones and binding the updated numbers to the corresponding voice ports, making the configuration effective. Here, the first and second phones are the phones whose numbers are to be swapped. In actual use, the OLT device stores the first voice service configuration data, and the ONU device stores the second voice service configuration data. Both are used to manage voice service configurations, including the configuration of the numbers corresponding to the voice ports. The first and second voice service configuration data contain information such as phone number, VLAN, public IP address, username, password, encoding mode, input / output gain, and billing method.
[0065] Specifically: The voice service configuration instruction carries voice service configuration data after number swapping. This voice service configuration data after number swapping is generated by the OLT device and carried in the voice service configuration instruction. The specific generation process will be described in Example 2, and will not be repeated here.
[0066] The step of swapping the voice port number of the phone with the voice port number of other phones according to the voice service configuration instruction specifically includes: the ONU device configuring the voice service configuration data after the number swap to the voice port connected to the corresponding phone.
[0067] This embodiment receives a configuration request signal from the phone and uses this signal to perform voice configuration changes in the ONU device. This gives the phone user control over number swapping, and the voice configuration change process is completed automatically by the ONU and OLT devices. This allows for number swapping without operator intervention, simplifying the process, saving labor costs and time. Furthermore, the configuration request signal is generated by the phone's corresponding operation, reducing the possibility of errors caused by manually searching for the voice port.
[0068] In specific application scenarios, this section takes GPON (Gigabit-Capable Passive Optical Network) as an example, such as... Figure 3 As shown, the ONU device includes an IAD (Integrated Access Device) module, a driver module, and an OMCI (ONU Management and Control Interface) protocol stack. The IAD module receives a configuration request signal from the phone, extracts a configuration request message from the configuration request signal, and forwards the configuration request message to the OMCI protocol stack. The OMCI protocol stack then sends the configuration request message to the OLT device.
[0069] In EPON (Ethernet Passive Optical Network) scenarios, such as Figure 4As shown, the ONU device includes an IAD (Integrated Access Device) module, a driver module, and an OAM (Operations Administration and Maintenance) protocol stack. The IAD module receives a configuration request signal from the phone, extracts a configuration request message from the configuration request signal, and forwards the configuration request message to the OAM protocol stack. The OAM protocol stack then sends the configuration request message to the OLT device.
[0070] In practical applications, the phone also needs to be used for daily calls, and the process of receiving configuration request signals from the phone, such as... Figure 5 As shown, it specifically includes:
[0071] In step 301, the voice configuration change action of the handset is sensed. This voice configuration change action is derived by those skilled in the art based on the number change requirements. The voice configuration change action includes one or more of the following: picking up the microphone, hanging up the microphone, unplugging the telephone cable, plugging in the telephone cable, making a preset dialing on the dial pad, and receiving preset voice information from the user. The preset dialing and preset voice information are set by those skilled in the art based on experience. When receiving a preset voice signal is used as the voice configuration change action, the ONU device also includes a voice parsing module to parse the voice signal and determine whether the received voice signal is the preset voice signal. Actions such as picking up the microphone, hanging up the microphone, unplugging the telephone cable, and plugging in the telephone cable will generate corresponding signals on the ONU side. These signals are typically detected by the CODEC / SLIC function unit of the IAD module in the ONU device, and by monitoring changes in these signals, the user's corresponding actions can be sensed. In practical use, multiple actions from these actions are often combined as voice configuration change actions. For example, the microphone off-hook and microphone on-hook actions are combined, so that the phone performs the microphone off-hook and microphone on-hook actions three times within a preset time period when there are no incoming calls, as a voice configuration change action. The preset time period is obtained by those skilled in the art based on experience.
[0072] In step 302, when a voice configuration change action of the corresponding phone is detected, a start change identifier matching the voice port of the phone is generated, and the start change identifier is forwarded to the OLT device; so that the OLT device can identify that the corresponding phone has entered the voice configuration state according to the start change identifier, so as to perform periodic management of the voice configuration state of the phone. This part will be elaborated in Embodiment 2, and will not be described in detail here.
[0073] In step 303, if upon receiving an analog signal from the corresponding phone, it is determined that there is a start-up switch identifier that matches the voice port of the phone, then the analog signal is received as a configuration request signal.
[0074] In step 304, otherwise, the analog signal is processed as a normal call signal.
[0075] This can be understood as follows: after sensing that the corresponding phone has performed a voice configuration change action, the phone enters the voice configuration change state. When the phone receives an analog signal in the voice configuration change state, it is processed as a configuration request signal.
[0076] In practical use, when multiple phones need to change their numbers simultaneously, if the change password is agreed upon by the users of the first and second phones, it's possible that multiple phones will have the same password. This reduces the security of the number exchange. To address this issue, this embodiment, in conjunction with the preferred implementation described above, also provides a preferred implementation method, specifically including: after sensing a voice configuration change action on a phone, generating a corresponding change password, converting the change password into a voice signal and transmitting it to the phone, so that the change password can be played on the phone, and the user uses the change password to perform a corresponding action to generate a corresponding configuration request signal. The change passwords generated for different phones are different.
[0077] In an optional implementation, after the ONU device senses the voice configuration change action of the first phone, it generates a first change password, uses a built-in voice packet to convert the first change password into a corresponding voice signal, and transmits the voice signal to the first phone through the telephone cable. The voice signal is then played from the microphone of the first phone, and the user records the first change password. When the user needs to exchange numbers between the first phone and the second phone, the user enters the number of the second phone and the first change password on the first phone via dial pad or voice input, and on the second phone via dial pad or voice input, the user enters the number of the first phone and the first change password. This generates a corresponding configuration request signal, which is transmitted to the ONU device to perform the number exchange.
[0078] This implementation method generates a replacement password on the ONU device side, and the handset side uses the corresponding replacement password to exchange numbers, thereby avoiding the use of random passwords defined by the user side and ensuring that the replacement passwords of different handsets are different, thus improving the security of the number exchange process.
[0079] It should be noted that, to ensure a smoother user experience during number swapping, voice prompts can be used to guide users through the process. For example, after detecting a voice configuration change, the system might announce, "Configuration change mode has been entered. Enter xxxx to obtain the change password," "Please enter the destination number," "Please enter the change password," and "The phone number has been changed to the destination number xxxx," guiding the user through the process. The system will then perform corresponding information parsing operations according to the announcements. For instance, after announcing "Please enter the destination number," the system will use the parsed content from the received analog signal as the destination number; similarly, after announcing "Please enter the change password," the system will use the parsed content from the received analog signal as the change password. It is understood that these guidance actions can be set by those skilled in the art based on the number swapping requirements.
[0080] Example 2:
[0081] Based on Example 1, this example also provides a method for remotely changing voice configuration. The executing entity of this method is an OLT device, such as... Figure 6 As shown, it includes:
[0082] In step 401, a configuration request message from the ONU device is received, and a voice service configuration instruction is issued to the ONU device according to the configuration request message.
[0083] In step 402, the ONU device swaps the voice port number of the phone with the voice port number of the other phone according to the voice service configuration instruction.
[0084] In an optional implementation, the OLT device also updates its stored first voice service configuration data according to the configuration request message to obtain new first voice service configuration data, and sends the first voice service configuration data to the ONU device in the voice service configuration instruction.
[0085] To improve the security of number swapping, this embodiment also provides a preferred implementation method, namely, issuing voice service configuration instructions to the ONU device according to the configuration request message, such as... Figure 7 As shown, it specifically includes:
[0086] In step 501, it is determined whether the first configuration request message and the second configuration request message match; wherein, the first configuration request message is a configuration request message from the first phone; the second configuration request message is a configuration request message from the second phone received within a preset time period after the first configuration request message is received; wherein, the preset time period is obtained by those skilled in the art based on the security requirements of number swapping and the user's need to swap numbers.
[0087] In step 502, if it is determined that the first configuration request message matches the second configuration request message, then the voice service configuration instruction is sent to the corresponding ONU device according to the first configuration request message and the second configuration request message.
[0088] The configuration request message carries a destination number. Matching the first and second configuration request messages can be achieved by the destination number of the first configuration request message being the number of the second phone, and the destination number of the second configuration request message being the number of the first phone, thus confirming that both the first and second phones request number swapping. The process of obtaining new first voice service configuration data is actually an update of the voice service data in the OLT device. This ensures that after a power outage or restart of the ONU device, the new first voice service configuration data is always used to configure the voice service, thereby maintaining the number swapping status between the first and second phones.
[0089] The step of issuing the voice service configuration command to the corresponding ONU device according to the first configuration request message and the second configuration request message specifically includes:
[0090] The numbers corresponding to the first port number and the second port number in the first voice service configuration data are swapped to generate new first voice service configuration data; wherein, the first port number is the source port number in the first configuration request message, that is, the port number of the first phone, and the second port number is the source port number in the second configuration request message, that is, the port number of the second phone.
[0091] The new first voice service configuration data is carried in the voice service configuration command and sent to the ONU device so that the ONU device can use the new first voice service configuration data to configure the voice service, thereby swapping the voice port numbers of the first phone and the second phone. Specifically, based on the source ONU number carried in the first configuration request message, the first ONU device corresponding to the first phone is determined; based on the source ONU number carried in the second configuration request message, the second ONU device corresponding to the second phone is determined; and the voice service configuration command is then sent to both the first and second ONU devices. The step of sending the new first voice service configuration data to the ONU device in the voice service configuration command can be to send the complete first voice service configuration data in the voice service configuration command. However, since the OLT device is usually connected to multiple ONU devices, the first voice service configuration data actually covers the configuration of multiple ONU devices. Therefore, there is also a preferred implementation method: sending the part of the first voice service configuration data related to the corresponding ONU device in the voice service configuration command to the ONU device, and not sending the part of the data related to other ONU devices in the voice service configuration command.
[0092] In practical application scenarios, the issuance of the voice service configuration command to the corresponding ONU device may fall into the following two categories:
[0093] The first scenario: When both the first configuration request message and the second configuration request message originate from the same ONU device, meaning two phones connected to the same ONU device need to swap numbers, such as... Figure 8 In the case where phone 2 and phone 3 need to exchange numbers, the OLT device sends a voice service configuration command to the ONU device. In the new first voice service configuration data carried in the voice service configuration command, the port numbers corresponding to the two phones have been exchanged.
[0094] The second scenario: When the first configuration request message and the second configuration request message come from different ONU devices, that is, when two phones connected to different ONU devices need to exchange numbers, such as... Figure 8 In the scenario where phone 1 and phone 2 need to exchange numbers, the OLT device sends voice service configuration commands to both ONU devices. In the voice service configuration command sent to the first ONU device, the port number of the first phone corresponds to the second number; in the voice service configuration command sent to the second ONU device, the port number of the second phone corresponds to the first number. The first phone is connected to the first ONU device and needs to exchange numbers with the second phone. Similarly, the second phone is connected to the second ONU device and needs to exchange numbers with the first phone.
[0095] In a preferred embodiment, the configuration request message includes at least the destination number, source number, source port number, and change password. Taking a GPON scenario as an example, for instance... Figure 9 As shown, the destination number, source number, and password change are all carried in MsgContent, and the source port number is carried in the Entity instance. 0xFF11 is stored in the Entity class, indicating that the message is a configuration request message. In an EPON scenario, as... Figure 10 As shown, the destination number, source number, and change password are all carried in the Data / pad, so that... Figure 10 For example, the source port number, destination number, source number, and password change are all carried as Alarminfo in Data / pad, and 0xFF11 is stored in AlarmID, indicating that the message is a configuration request message. The number before the corresponding position represents the number of bytes occupied at that position, and the letters n, k, m, and x, representing the number of bytes, can be set by those skilled in the art based on their needs. It should be noted that... Figure 9 and Figure 10 These are all exemplary and interpretive frame structures and are not intended to limit this application.
[0096] Specifically, the destination number and password change are extracted from the configuration request signal, and the source number and source voice port are obtained from the voice port receiving the configuration request signal. In actual use, the configuration request message also includes the source's ONU number, and may even carry the corresponding PON number, to determine the source of the message. The determination of whether the first configuration request message matches the second configuration request message specifically includes:
[0097] If the source number of the first configuration request message is the same as the destination number in the second configuration request message, the source number of the second configuration request message is the same as the destination number in the first configuration request message, and the password change in the first configuration request message matches the password change in the second configuration request message, then it is determined that the first configuration request message and the second configuration request message match.
[0098] In an optional implementation, the password change can be agreed upon by the user of the first phone and the user of the second phone. The first phone and the second phone use the same password change. When it is determined that the password change in the first configuration request message is consistent with the password change in the second configuration request message, it is considered that the password change in the first configuration request message and the password change in the second configuration request message are matched.
[0099] This embodiment further enhances the security of number swapping by changing the password to verify whether the configuration request message matches.
[0100] In specific application scenarios, such as Figure 8 As shown, the OLT device includes a main control board and an OMCI / OAM module (i.e., an OMCI module in GPON scenarios and an OAM module in EPON scenarios). The OMCI / OAM module receives configuration request messages from the ONU device. The OMCI / OAM module is actually located on the PON service board; for ease of illustration, it is shown as... Figure 8 The PON service board has been removed, but that doesn't mean it doesn't exist. Figure 8 This is merely a specific application scenario example. In actual use, an OLT device may connect to one or more ONU devices, and an ONU device may connect to one or more handsets. The OMCI / OAM module determines whether the first configuration request message matches the second configuration request message. If the first configuration request message matches the second configuration request message, a configuration change event is generated based on the first and second configuration request messages, and the configuration change event is sent to the main control board.
[0101] According to the configuration change event, the main control board swaps the number of the first phone and the number of the second phone in the first voice service configuration data to generate new first voice service configuration data; or, the OMCI / OAM module forwards the first configuration request message and the second configuration request message to the main control board, and the main control board determines whether the first configuration request message and the second configuration request message match; if the first configuration request message and the second configuration request message match, the main control board swaps the number of the first phone and the number of the second phone in the first voice service configuration data to generate new first voice service configuration data; the new first voice service configuration data is the voice service configuration data after the number swap in Embodiment 1.
[0102] The main control board sends the new first voice service configuration data in the voice service configuration instruction to the ONU device, so that the ONU device can use the new first voice service configuration data to configure the voice service.
[0103] In a preferred embodiment, to ensure that the telephone can resume normal call function, this embodiment also provides a preferred implementation method, specifically including:
[0104] If no first configuration request message is received within a preset time after receiving the first start-up change identifier; wherein the first start-up change identifier is a start-up change identifier that matches the voice port of the first telephone.
[0105] If, within a preset time after receiving the first configuration request message, no second configuration request message is received, or the received second configuration request message does not match the first configuration request message, a first configuration request cancellation message is sent to the ONU device. This allows the ONU device to delete the activation / replacement flag of the first phone based on the first configuration request cancellation message, thereby restoring the first phone to normal call status.
[0106] Example 3:
[0107] Based on the method described in Embodiment 1, this invention combines specific application scenarios and uses technical descriptions in relevant scenarios to illustrate the implementation process of the features of this invention in those scenarios.
[0108] This invention describes the method from three aspects: the handset side, the ONU equipment side, and the OLT equipment side, as follows: Figure 14 As shown, the user who needs to change their number can do so themselves on the phone side, such as... Figure 11 As shown, it specifically includes:
[0109] Step 601: Unplug and plug in the telephone cable of the phone connected to the voice port of the number to be exchanged on the ONU device, alternating between the two actions, pausing briefly at each step, and repeating this operation several times. Then restore the connection between the ONU voice port and the phone.
[0110] Step 602: Pick up the microphone of the phone connected to this voice port, and then dial the number to be changed plus a random number (i.e., the change password in Example 1) by pressing the key, and then put the microphone back in place.
[0111] Perform the operation according to steps 601-602 on the two phones that need to exchange numbers, wherein the same random number is entered on both phones as the password to be changed.
[0112] Perform the following steps on the ONU device side, such as Figure 12 As shown:
[0113] Step 701: If the driver module detects that the telephone cable connected to the voice port experiences several consecutive physical connection interruptions and recoveries within a short period of time (i.e., voice configuration change action), it determines that the voice port telephone number swapping has been initiated and notifies the OMCI / OAM module of the OLT device of the voice port and the initiated number swapping action (i.e., the initiation of the swapping flag in Example 1).
[0114] Step 702: The IAD module converts the analog signal (configuration request signal) received through the telephone cable into packet data that can be transmitted and exchanged on the IP bandwidth network, and extracts the source telephone number and destination telephone number (password) from the packet data and passes them to the OMCI / OAM protocol stack (i.e., the OMCI protocol stack or OAM protocol stack in Example 1).
[0115] Step 703: After obtaining the voice port number exchange instruction from the driver module, the OMCI / OAM protocol stack receives the source phone number and password of the voice port to be exchanged from the IAD module within a timed period. It encapsulates the voice port number, phone number, and password (i.e., the configuration request message) to be exchanged and sends it to the OMCI / OAM module of the Optical Line Terminal (OLT) via an alarm or event. The OMCI / OAM protocol stack of the ONU device can also encapsulate the message as an AVC (Attribute Value Change) message and send it to the OMCI / OAM module of the OLT. If the phone number and password for the voice port to be exchanged are not obtained from the IAD module within the timed period, the exchange request will be abandoned and the request data will be cleared.
[0116] Perform the following steps on the OLT device side, such as Figure 13 As shown:
[0117] Step 801: After the OMCI / OAM module of the OLT PON service board receives the event reported from the ONU, which includes the voice port number, phone number, and password to be swapped, it starts a timer (the timer duration is a preset time) and waits for another event containing the voice port number, phone number, and password to be swapped.
[0118] Step 802: If the OMCI / OAM module of the OLT PON service board receives another event with the exact same password within the timed period, it determines that these two voice ports are ports for the numbers to be swapped. If no other event with the exact same password is received within the timed period (i.e., the preset time), the data obtained in the previous event is deleted, a first configuration request cancellation message is sent to the ONU device, and the number swapping request ends.
[0119] Step 803: The OMCI / OAM module of the OLT PON service board extracts the voice port number and telephone number from two events with identical passwords, encapsulates them, and then sends them to the OLT main control board via alarm or event.
[0120] Step 804: After receiving an event from the PON service board, the OLT main control board matches this event with events received within a preset time period. If no matching event is found, a timer is started. If another voice configuration change event is received within the timer period, it is matched with that event. If no other event with the exact same password is received within the timer period, the data obtained from the previous event is deleted, and the number exchange request ends. The event matching involves matching the first configuration request message from the first phone with the second configuration request message from the second phone. For example, the voice port number and phone number to be exchanged are extracted and compared with another voice port number stored locally. If they match completely, the phone numbers configured on these two voice ports are exchanged, while other configurations such as public IP address and voice server IP address remain unchanged.
[0121] Step 805: The main control board will configure the updated voice service configuration to the ONU's voice port using the original configuration method, and the voice port service configuration will take effect. That is, the ONU device will issue a voice service configuration command to execute the voice service configuration command to update the voice port configuration.
[0122] In practical use, the ONU device is equipped with a driver module, an IAD module, and an OMCI / OAM protocol stack, among which:
[0123] The driver module is responsible for continuously monitoring the physical connection and disconnection status of the telephone cable connected to the voice port. It organizes data from multiple consecutive detections of changes in the voice port connection status within a short period, determines whether to initiate telephone number conversion, and sets a conversion activation flag. Then, it transmits the conversion activation flag and the corresponding voice port to the OMCI / OAM protocol stack.
[0124] When the connected phone makes key-based dialing and voice calls, the IAD module is responsible for converting the analog signal from the voice port into packet data that can be transmitted and exchanged over the network; and extracting the dialed phone number, i.e. the destination phone number (which is also the cipher for phone number exchange), and the source phone number, i.e. the local phone number, from the converted packet data, and passing them to the OMCI / OAM protocol stack.
[0125] The OMCI / OAM protocol stack is responsible for encapsulating the start number conversion identifier and corresponding voice port number passed from the driver module and the source phone number and destination phone number (i.e., password) of this port passed from the IAD module, and then reporting them to the optical line terminal in the form of events.
[0126] The OLT equipment includes a main control board and a PON service board, with the PON service board containing an OMCI / OAM module.
[0127] The OLT OMCI / OAM module is responsible for receiving events sent from the optical network unit and parsing the voice port number, source phone number, and destination phone number (password) from the events. It determines whether the passwords in the two events are consistent, and if the passwords are consistent, it encapsulates the two voice ports and the corresponding source phone number, and then notifies the main control board in the form of an event; or it directly transmits the port number to be swapped, source phone number, and password received from the ONU to the main control board in the form of an event.
[0128] The main control board is primarily responsible for receiving events reported by the PON service board from the protocol messages, parsing out the voice ports and phone numbers to be swapped from the events, finding the corresponding voice ports, swapping the phone numbers configured on the two voice ports, and triggering the voice service configuration to be sent to the ONU's voice ports.
[0129] Example 4:
[0130] like Figure 15 The diagram shown is an architectural schematic of a remote voice configuration changing device according to an embodiment of the present invention. This remote voice configuration changing device includes one or more processors 21 and a memory 22. Figure 15 Take a processor 21 as an example.
[0131] Processor 21 and memory 22 can be connected via a bus or other means. Figure 15 Taking the example of a connection between China and Israel via a bus.
[0132] The memory 22, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs and non-volatile computer-executable programs, such as the remote voice configuration replacement method in Embodiment 1. The processor 21 executes the remote voice configuration replacement method by running the non-volatile software program and instructions stored in the memory 22.
[0133] Memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 22 may optionally include memory remotely located relative to processor 21, which can be connected to processor 21 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0134] The program instructions / modules are stored in the memory 22. When executed by one or more processors 21, the remote voice configuration replacement method in Embodiment 1 is executed. When the remote voice configuration replacement method in Embodiment 1 is executed, the device is an ONU device. When the remote voice configuration replacement method in Embodiment 2 is executed, the device is an OLT device.
[0135] It is worth noting that the information interaction and execution process between the modules and units in the above-mentioned device and system are based on the same concept as the processing method embodiment of the present invention. For details, please refer to the description in the method embodiment of the present invention, and will not be repeated here.
[0136] Those skilled in the art will understand that all or part of the steps in the various methods of the embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), etc.
[0137] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for remotely changing voice configuration, characterized in that, Receive configuration request signals from the phone, including: The ONU device extracts the configuration request message from the configuration request signal; wherein the configuration request signal is generated by the telephone based on the user's operation of the dial pad, and / or is obtained by the telephone based on voice conversion; The ONU device sends the configuration request message to the OLT device so that the OLT device can issue voice service configuration instructions to the ONU device according to the configuration request message; According to the voice service configuration command, the ONU device swaps the voice port number of the phone with the voice port number of other phones.
2. The remote voice configuration replacement method according to claim 1, characterized in that, The voice service configuration instruction carries voice service configuration data after number swapping. The step of swapping the voice port number of the phone with the voice port number of another phone according to the voice service configuration instruction specifically includes: The ONU device configures the voice service configuration data after the number swap to the voice port connected to the corresponding phone.
3. The remote voice configuration replacement method according to claim 1, characterized in that, Receiving a configuration request signal from the phone specifically includes: Sensing the voice configuration change action of the phone; When a voice configuration change action is detected for a corresponding phone, a start change identifier matching the voice port of the phone is generated, and the start change identifier is forwarded to the OLT device. If, upon receiving an analog signal from the corresponding phone, it is determined that there is a start-up switch identifier that matches the voice port of the phone, then the analog signal is received as a configuration request signal. Otherwise, the analog signal will be processed as a normal call signal.
4. The remote voice configuration replacement method according to claim 3, characterized in that, The voice configuration change action includes one or more of the following: picking up the microphone, hanging up the microphone, unplugging the telephone cable, plugging in the telephone cable, making a preset dialing on the dial pad, and receiving preset voice information from the user.
5. A method for remotely changing voice configuration, characterized in that, include: The OLT device receives the configuration request message extracted from the configuration request signal of the phone by the ONU device, and issues a voice service configuration instruction to the ONU device according to the configuration request message; This allows the ONU device to swap the voice port number of the phone with the voice port number of other phones according to the voice service configuration instructions.
6. The remote voice configuration replacement method according to claim 5, characterized in that, The step of issuing voice service configuration instructions to the ONU device according to the configuration request message specifically includes: Determine whether the first configuration request message and the second configuration request message match; wherein, the first configuration request message is a configuration request message from the first phone; and the second configuration request message is a configuration request message from the second phone received within a preset time period after the first configuration request message is received. If it is determined that the first configuration request message matches the second configuration request message, then the voice service configuration instruction is sent to the corresponding ONU device according to the first configuration request message and the second configuration request message.
7. The remote voice configuration replacement method according to claim 6, characterized in that, The configuration request message includes at least the destination number, source number, source port number, and password change; the determination of whether the first configuration request message matches the second configuration request message specifically includes: If the source number of the first configuration request message is the same as the destination number in the second configuration request message, the source number of the second configuration request message is the same as the destination number in the first configuration request message, and the password change in the first configuration request message matches the password change in the second configuration request message, then it is determined that the first configuration request message and the second configuration request message match.
8. The remote voice configuration replacement method according to claim 7, characterized in that, The step of issuing the voice service configuration command to the corresponding ONU device according to the first configuration request message and the second configuration request message specifically includes: The numbers corresponding to the first port number and the second port number in the first voice service configuration data are swapped to generate new first voice service configuration data; wherein, the first port number is the source port number in the first configuration request message, and the second port number is the source port number in the second configuration request message; The new first voice service configuration data is carried in the voice service configuration instruction and sent to the ONU device so that the ONU device can use the new first voice service configuration data to configure the voice service and realize the interchange of the voice port number of the first phone and the voice port number of the second phone.
9. The remote voice configuration replacement method according to claim 5, characterized in that, If no first configuration request message is received within a preset time after the first start-up change identifier is received; wherein the first start-up change identifier is a start-up change identifier that matches the voice port of the first telephone; If no second configuration request message is received within a preset time after receiving the first configuration request message, or if the received second configuration request message does not match the first configuration request message, then a first configuration request cancellation message is sent to the ONU device so that the ONU device can delete the start-up replacement identifier of the first phone according to the first configuration request cancellation message.
10. A remote voice configuration changing device, characterized in that, The device includes: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the processor for performing the remote voice configuration replacement method according to any one of claims 1-4 or any one of claims 5-9.