Telephone intelligent control method and device

The method of addressing and event code transmission through the key numbers dialed by the phone, combined with fixed phones and intelligent control, solves the problem of how to achieve intelligent control without adding network peripherals, and achieves the effect of reducing costs and improving customer experience.

CN119892982APending Publication Date: 2025-04-25FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510016723.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The prior art is difficult to combine fixed telephones with intelligent control without adding network peripherals to meet customers' basic business and provide simple and easy intelligent control.

Method used

Addressing the key number dialed by the phone, determine the address of the target gateway, and pass the event code to the target gateway for control of the smart device. The method includes preconfiguring the mapping relationship between the gateway unique identification information and the key number, and establishing a communication channel between the main gateway and the subgateway, passing event codes to control the smart device.

Benefits of technology

It realizes that the fixed telephone and intelligent control are combined without adding network peripherals to meet basic business needs, while providing simple and easy intelligent control, reducing the cost of equipment laying.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892982A_ABST
    Figure CN119892982A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent control method and device for a telephone, and the method comprises the steps: carrying out the addressing based on a key number dialed by the telephone, so as to determine the address of a target gateway corresponding to the key number; transmitting an event code dialed by the telephone and used for controlling the intelligent equipment in the area to a target gateway; receiving an event code dialed based on the telephone and transmitted by the main gateway; and performing mapping processing on the event code to call an event corresponding to the event code so as to control the intelligent equipment in the area. According to the invention, on the premise that networking peripherals are not increased, the fixed-line telephone is combined with intelligent control, and simple and feasible intelligent control can be provided while basic services are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication network technology, and in particular to a telephone intelligent control method and device. Background Art

[0002] With the prospect of full-speed development of fiber optic technology, communication products need to deal with not only the regulatory requirements of group operators, but also various customized requirements in networking solutions for small, medium and micro enterprises, parks, hospitals, hotels, etc. How to better improve customer experience is an important consideration for enhancing product competitiveness. With the development of science and technology and the progress of the times, the application scope of FTTR products and intelligent control is also constantly expanding. Without adding networking peripherals, if fixed-line telephones can be combined with intelligent control, it will also be a highlight for improving customer experience for hotel businesses, hospitals, small, medium and micro enterprises. Current technology basically uses smart speakers, smart robots and other methods for intelligent control, which will increase the cost of equipment laying.

[0003] Therefore, how to combine fixed-line telephones with intelligent control while controlling costs, meet customers' basic business needs and provide simple and easy-to-use intelligent control, is a technical problem that urgently needs to be solved. Summary of the invention

[0004] The main purpose of the present invention is to provide a telephone intelligent control method and device, which can combine fixed telephone with intelligent control without adding networking peripherals, meet basic business while providing simple and easy intelligent control.

[0005] In a first aspect, the present application provides a method for intelligent control of a telephone set, wherein the method comprises the steps of:

[0006] Performing addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number;

[0007] The event code dialed by the phone for controlling the smart devices in the area is transmitted to the target gateway.

[0008] Receive the event code based on the outgoing phone call transmitted by the main gateway;

[0009] The event code is mapped to call the event corresponding to the event code to control the smart device in the area.

[0010] In combination with the first aspect above, as an optional implementation manner, the addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number includes:

[0011] Pre-configure the mapping relationship between each gateway's unique identification information and key number;

[0012] When a key number is inputted into the telephone, addressing is performed through the mapping relationship to determine the unique identification information of the target gateway corresponding to the key number.

[0013] In combination with the first aspect above, as an optional implementation manner, the transmitting the event code dialed by the phone for controlling the smart device in the area to the target gateway includes:

[0014] When the target gateway is a sub-gateway, based on the established communication channel between the main gateway and the sub-gateway, the event code dialed by the phone is transmitted to the target sub-gateway, so that the intelligent devices in the area are controlled.

[0015] In combination with the first aspect above, as an optional implementation method, when the main gateway communicates with the target sub-gateway, a heartbeat keep-alive mechanism is used for message interaction;

[0016] If it is determined within the set time that there is no heartbeat message interaction between the main gateway and the sub-gateway, the information transmission between the main gateway and the sub-gateway is stopped.

[0017] In combination with the first aspect above, as an optional implementation method, before addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number, the method includes:

[0018] Based on the telephone key dialing received by the main gateway, it is determined whether to enter the intelligent control logic of the gateway.

[0019] In combination with the first aspect above, as an optional implementation method, the main gateway collects the key numbers dialed by the phone, and stores the collected key numbers in a number pool;

[0020] Analyzing and matching the numbers collected in the number pool;

[0021] If the collected number is analyzed to match the pre-configured intelligent control access code, the intelligent control logic switch of the gateway is turned on;

[0022] If the collected number is analyzed to be not matched with the pre-configured intelligent control access code, then the ordinary dialing call is continued.

[0023] In combination with the first aspect above, as an optional implementation manner, the mapping process of the event code to call the event corresponding to the event code to control the smart device in the area includes:

[0024] Preconfigure event codes and event mapping table entries, and match the event codes sent by the main gateway received by the target sub-gateway through the communication channel with the table entries;

[0025] If the event code is in the event mapping table entry, the corresponding event is matched, and the control interface on the gateway is called to perform intelligent control on the specified device in the area;

[0026] If the event code is not in the event mapping table entry, the event code is directly discarded.

[0027] In a second aspect, the present application provides a telephone intelligent control device, the device comprising:

[0028] A control module, which is used to perform addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number;

[0029] The gateway communication module is used to transmit the event code dialed by the telephone set for controlling the intelligent devices in the area to the target gateway.

[0030] A gateway communication module, which is used to receive an event code based on a telephone dial-out transmitted by a main gateway;

[0031] The management module is used to map the event code to call the event corresponding to the event code to control the smart devices in the area.

[0032] The present application provides a method and device for intelligent control of a telephone, wherein the method includes the steps of: addressing based on the key number dialed by the telephone to determine the address of the target gateway corresponding to the key number; transmitting the event code dialed by the telephone for controlling the intelligent device in the area to the target gateway; receiving the event code based on the telephone dialing transmitted by the main gateway; mapping the event code to call the event corresponding to the event code to control the intelligent device in the area. The present application can combine fixed-line telephones with intelligent control without adding networking peripherals, satisfying basic services while providing simple and easy intelligent control.

[0033] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0035] Figure 1 A flowchart of a method for intelligent control of a telephone set provided in an embodiment of the present application;

[0036] Figure 2 A flowchart of a method for intelligent control of a telephone set provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of a telephone intelligent control device provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of a telephone intelligent control device provided in an embodiment of the present application;

[0039] Figure 5 This is a block diagram of the interaction between the main gateway and the sub-gateway module provided in the embodiment of the present application;

[0040] Figure 6 This is a schematic diagram of the intelligent control of a telephone provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0042] Furthermore, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. Some of the blocks shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities.

[0043] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.

[0044] Reference Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for intelligently controlling a telephone set provided by the present invention. Figure 1 As shown, the method comprises the steps of:

[0045] Step S101: performing addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number.

[0046] Specifically, based on the telephone key dialing received by the main gateway, it is determined whether to enter the intelligent control logic of the gateway. The main gateway collects the key numbers dialed by the telephone and stores the collected key numbers in the number pool;

[0047] Analyzing and matching the numbers collected in the number pool;

[0048] If the collected number is analyzed to match the pre-configured intelligent control access code, the intelligent control logic switch of the gateway is turned on;

[0049] If the collected number is analyzed to be not matched with the pre-configured intelligent control access code, then the ordinary dialing call is continued.

[0050] Pre-configure the mapping relationship between each gateway's unique identification information and the key number; when the phone enters the key number, addressing is performed through the mapping relationship to determine the target gateway's unique identification information corresponding to the key number, wherein the unique identification information includes: device identification code and / or MAC address.

[0051] For easy understanding, an example is given below: 1. The main gateway is connected to a fixed telephone and picks up the phone to dial a number. Enter the specified key to turn on the intelligent control logic switch (for example, *00*). 2. The main gateway digit map matching module analyzes and matches the collected numbers dialed by the phone, confirms that it is the pre-configured intelligent control access code, and enters the intelligent control logic. Use the local playback module to play the prompt voice 1 "The intelligent control switch has been turned on. Please hang up and select the control room and press # to end" to the phone end, and wait for the next number key press. 3. After the phone hears the prompt voice 1, press the key to dial "6001#". 4. The main gateway collects the numbers dialed by the phone within the defined time and starts the addressing function for addressing. According to the pre-configured MAC address / room number mapping table, the MAC address of the sub-gateway corresponding to 6001 is found, and the next prompt voice 2 "The room number has been received. Please press the event code and press # to end" is played to the phone.

[0052] In one embodiment, multiple prompt voices can be stored, and prompt voice 1 is played when the phone key presses the smart access code (for example, *00*), prompt voice 2 is played after the phone key presses the room number (for example, 6001), and prompt voice 3 is played when the phone key presses the event code (for example, 0001).

[0053] It should also be noted that the room number to be searched after dialing the number can be the room number where the gateway is located, so the subsequent control is to control the equipment in the area where the gateway is located. The addressing process is not limited to the gateway in the next level area. Specifically, when the addressing module recognizes that the room number pressed by the phone represents the area of ​​the gateway, the event communication channel established is within the gateway, and the event code represented by the phone key will be sent to the event receiving module of the gateway for processing.

[0054] Step S102: The event code dialed by the phone for controlling the smart devices in the area is transmitted to the target gateway.

[0055] A message communication channel is established between the main gateway and the target gateway, that is, it is established when the gateway is initialized, which can be used for internal message communication within the gateway, and can also be used for communication between the main and sub-gateways to transmit event codes. When the target gateway is a sub-gateway, based on the communication channel established between the main gateway and the sub-gateway, the event code dialed by the phone is transmitted to the target sub-gateway, and the target sub-gateway is used to process the time code so as to control the smart devices in the area.

[0056] Reference Figure 2 , Figure 2 FIG. 1 is a flow chart of a method for intelligently controlling a telephone set provided by the present invention. Figure 2 As shown, the method comprises the steps of:

[0057] Step S201: receiving an event code based on a telephone dial-out transmitted by a main gateway.

[0058] The target sub-gateway receives the event code based on the outgoing phone call transmitted by the main gateway.

[0059] Step S202: Mapping the event code to call the event corresponding to the event code to control the smart device in the area.

[0060] Specifically, event codes and event mapping table entries are preconfigured, and the event codes sent by the main gateway and received by the target sub-gateway through the communication channel are matched with table entries;

[0061] If the event code is in the event mapping table entry, the corresponding event is matched, and the control interface on the gateway is called to perform intelligent control on the specified device in the area;

[0062] If the event code is not in the event mapping table entry, the event code is directly discarded.

[0063] For easy understanding, an example is given. The sub-gateway receives the message sent by the main gateway through the gateway communication module, and uses a custom protocol standard (MQTT protocol can be used between the main and sub-gateways. The content parameters are customized, including the gateway's unique MAC identifier, event type, event execution content, event execution time, and event execution return code) to parse the message content, and use the event mapping module to map the event code. If the event code is in the event mapping table, the event processing module is called to process the event, otherwise the event code is directly discarded. When the event processing module of the sub-gateway receives a specific event request, it calls the existing control interface on the gateway, sends a specified signal to the controllable devices in the area, and implements intelligent control.

[0064] Reference Figure 3 , Figure 3 FIG. 1 is a schematic diagram of a telephone intelligent control device provided by the present invention, such as Figure 3As shown, the device comprises:

[0065] Control module 301: It is used to perform addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number. It should be noted that the control module includes: event sending module, addressing module, digit map matching module, local playback module and off-hook / key detection module.

[0066] The gateway communication module 302 is used to transmit the event code dialed by the phone for controlling the smart devices in the area to the target gateway.

[0067] Furthermore, in a possible implementation manner, the addressing module is further used to preconfigure a mapping relationship between each gateway's unique identification information and a button number;

[0068] When a key number is inputted into the telephone, addressing is performed through the mapping relationship to determine the unique identification information of the target gateway corresponding to the key number.

[0069] Furthermore, in a possible implementation, the gateway communication module is also used to, when the target gateway is a sub-gateway, based on the established communication channel between the main gateway and the sub-gateway, pass the event code dialed by the telephone to the target sub-gateway, so as to control the smart devices in the area.

[0070] Further, in a possible implementation manner, the gateway communication module is also used to use a heartbeat keep-alive mechanism to perform message interaction when the main gateway communicates with the target sub-gateway;

[0071] If it is determined within the set time that there is no heartbeat message interaction between the main gateway and the sub-gateway, the information transmission between the main gateway and the sub-gateway is stopped.

[0072] Furthermore, in a possible implementation, a digit map matching module is also included, which is used to determine whether to enter the intelligent control logic of the gateway based on the telephone key dialing received by the main gateway.

[0073] Furthermore, in a possible implementation manner, the digit map matching module in the control module is used for the main gateway to collect the key numbers dialed by the phone, and store the collected key numbers into a number pool;

[0074] Analyzing and matching the numbers collected in the number pool;

[0075] If the collected number is analyzed to match the pre-configured intelligent control access code, the intelligent control logic switch of the gateway is turned on;

[0076] If the collected number is analyzed to be not matched with the pre-configured intelligent control access code, then the ordinary dialing call is continued.

[0077] Reference Figure 4 , Figure 4 FIG. 1 is a diagram showing an intelligent telephone control device provided by the present invention, such as Figure 4 As shown:

[0078] Gateway communication module 401: used for receiving the event code based on the phone dialing transmitted by the main gateway;

[0079] Management module 402: It is used to map the event code to call the event corresponding to the event code to control the smart devices in the area. The management module includes: an event receiving module, an event mapping module and an event processing module.

[0080] Furthermore, in a possible implementation manner, the management module is further used to preconfigure event codes and event mapping table entries, and match the event codes sent by the main gateway and received by the target sub-gateway through the communication channel with the table entries;

[0081] If the event code is in the event mapping table entry, the corresponding event is matched, and the control interface on the gateway is called to perform intelligent control on the specified device in the area;

[0082] If the event code is not in the event mapping table entry, the event code is directly discarded.

[0083] Reference Figure 5 , Figure 5 The diagram is a block diagram of the interaction between the main gateway and the sub-gateway modules provided by the present invention, such as Figure 5 As shown:

[0084] The main gateway starts and initializes the off-hook / key detection module, digit map matching module, local playback module, addressing module, event sending module, and gateway message communication module.

[0085] The sub-gateway initializes the event receiving module, event mapping module, event processing module, and gateway message communication module.

[0086] Off-hook / key detection module: after off-hook occurs, the key number will be collected before the end of the defined time and stored in the number pool for analysis and matching.

[0087] The digit map matching module pre-configures an intelligent control access code and performs matching judgment on the numbers collected in the number pool. When the number matches the intelligent control access code configured in the digit map, the intelligent control logic switch of the gateway is turned on and the intelligent control processing flow is entered; if the number does not match the intelligent control access code in the digit map, the ordinary dial call process continues.

[0088] The local playback module is used to play prompt voices to users when entering the intelligent control processing flow. Multiple prompt voices can be stored, and prompt voice 1 is played when the phone key presses the intelligent access code (for example, *00*), prompt voice 2 is played after the phone key presses the room number (for example, 6001), and prompt voice 3 is played when the phone key presses the event code (for example, 0001).

[0089] The addressing module is used to address the area when entering the intelligent control process. It can be the area where the gateway is located or the area where the next-level sub-gateway is located. The addressing is performed according to the pre-configured MAC address / room number mapping table. That is, when the room number is entered by pressing the phone button, the next-level gateway number can be found according to the room number. The MAC address of each gateway is unique.

[0090] The gateway message communication module is established when the gateway is initialized. It can be used for internal message communication within the gateway, and can also be used for communication between master and sub-gateways to transmit event codes.

[0091] The event sending module collects the event codes and uses the gateway message communication module to send and transmit the events.

[0092] The event receiving module receives the event code transmitted from within the gateway, or the sub-gateway receives the event code transmitted from the main gateway.

[0093] The event mapping module pre-configures event codes and event mapping table entries, and matches the received event codes with table entries.

[0094] Event processing module, if the received event code can be searched in the event mapping table entry and matches the corresponding event, the event processing module calls the control interface on the gateway to control the specified device; if the received event code is not searched in the event mapping table entry, the event processing module directly discards the message.

[0095] Reference Figure 6 , Figure 6 FIG. 1 is a schematic diagram of the intelligent control of a telephone provided by the present invention. Figure 6 As shown:

[0096] Pick up the phone and hear a normal dial tone; press the key to dial "*00*".

[0097] The main gateway digit map matching module analyzes and matches the collected numbers dialed by the phone, confirms that it is the pre-configured intelligent control access code, and enters the intelligent control logic. Use the local playback module to play the prompt voice 1 to the phone end "The intelligent control switch has been turned on, please hang up and select the control room and press # to end", and wait for the next number key press to occur.

[0098] After hearing voice prompt 1, press the dial key to dial "6001#".

[0099] The main gateway collects the numbers dialed by the phone within the defined time and starts the addressing function to address. It addresses according to the pre-configured MAC address / room number mapping table, finds the MAC address of the sub-gateway corresponding to 6001, and plays the next prompt voice 2 to the phone: "The room number has been received, please press the event code and press # to end."

[0100] Furthermore, a gateway message communication module is used to establish a message communication channel between the main gateway and the sub-gateway (if the main gateway itself is found by addressing, message communication is performed within the gateway).

[0101] When the main gateway communicates with the sub-gateway, a heartbeat keep-alive mechanism is used to communicate with each other. If there is no heartbeat message interaction within the specified time, event messages will not be transmitted between the main and sub-gateways to save resources.

[0102] After hearing voice prompt 2, press the dial button to dial the event code "0001#".

[0103] The main network gateway transmits the event code to the sub-gateway through the gateway communication module, and plays a prompt voice 3 to the phone "The event code has been received, please hang up".

[0104] The sub-gateway receives the message sent by the main gateway through the gateway communication module, parses the message content using a custom protocol standard, and maps the event code using the event mapping module. If the event code is in the event mapping table, the event processing module is called to process the event, otherwise the event code is directly discarded.

[0105] When the sub-gateway event processing module receives a specific event request, it calls the existing control interface on the gateway, sends a specified signal to the controllable devices in the area, and implements intelligent control.

[0106] In summary, the beneficial effects of this application include:

[0107] 1. The control range covers a large area, which can have an effect in the local area and extend to the next level of sub-area.

[0108] 2. For existing networking solutions, there is no need to increase the cost of purchasing smart speakers, smart robots, etc., and you only need to reuse the telephone account resources of the existing gateway.

[0109] 3. It is more reliable than voice recognition control technology. For users who are not familiar with APP intelligent operation or do not have the conditions for voice recognition, the button operation of fixed phones is simpler and the control is clearer.

[0110] 4. It has a wide range of applications and can be used in all-optical network solutions such as hotels, hospitals, small and medium-sized enterprises, and parks to improve customer experience.

[0111] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A telephone intelligent control method, characterized in that: include: Performing addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number; The event code dialed by the phone for controlling the smart devices in the area is transmitted to the target gateway.

2. The method according to claim 1, characterized in that The addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number includes: Pre-configure the mapping relationship between each gateway's unique identification information and key number; When a key number is inputted into the telephone, addressing is performed through the mapping relationship to determine the unique identification information of the target gateway corresponding to the key number.

3. The method according to claim 1, characterized in that The step of transmitting the event code dialed by the phone for controlling the smart device in the area to the target gateway comprises: When the target gateway is a sub-gateway, based on the established communication channel between the main gateway and the sub-gateway, the event code dialed by the phone is transmitted to the target sub-gateway, so that the intelligent devices in the area are controlled.

4. The method according to claim 3, characterized in that Also includes: When the main gateway communicates with the target sub-gateway, the heartbeat keep-alive mechanism is used for message exchange; If it is determined within the set time that there is no heartbeat message interaction between the main gateway and the sub-gateway, the information transmission between the main gateway and the sub-gateway is stopped.

5. The method according to claim 1, characterized in that Before addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number, the method includes: Based on the telephone key dialing received by the main gateway, it is determined whether to enter the intelligent control logic of the gateway.

6. The method according to claim 5, characterized in that include: The main gateway collects the key numbers dialed by the phone and stores the collected key numbers into a number pool; Analyzing and matching the numbers collected in the number pool; If the collected number is analyzed to match the pre-configured intelligent control access code, the intelligent control logic switch of the gateway is turned on; If the collected number is analyzed to be not matched with the pre-configured intelligent control access code, then the ordinary dialing call is continued.

7. A telephone intelligent control method, characterized in that: include: Receive the event code based on the outgoing phone call transmitted by the main gateway; The event code is mapped to call the event corresponding to the event code to control the smart device in the area.

8. The method according to claim 7, characterized in that The mapping process of the event code to call the event corresponding to the event code to control the smart device in the area includes: Pre-configure event codes and event mapping table entries, and match the event codes sent by the main gateway received by the target sub-gateway through the communication channel with the table entries; If the event code is in the event mapping table entry, the corresponding event is matched, and the control interface on the gateway is called to perform intelligent control on the specified device in the area; If the event code is not in the event mapping table entry, the event code is directly discarded.

9. A telephone intelligent control device, characterized in that: include: A control module, which is used to perform addressing based on the key number dialed by the phone to determine the address of the target gateway corresponding to the key number; The gateway communication module is used to transmit the event code dialed by the telephone set for controlling the intelligent devices in the area to the target gateway.

10. A telephone intelligent control device, characterized in that: include: A gateway communication module, which is used to receive an event code based on a telephone dial-out transmitted by a main gateway; The management module is used to map the event code to call the event corresponding to the event code to control the smart devices in the area.