Address book management method, system and device of service IP phone and storage medium
By receiving and converting address book data of different protocol types, and performing authentication and permission control on IP phones, it solves the problem of the address book service solution in the existing technology being incompatible with different brands and lacking permission settings, and realizes the communication between large enterprises. Security, accuracy and hierarchical management of personal information.
Patent Information
- Application Number
- CN202410929949.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-28
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-01
AI Technical Summary
The existing address book service solution is not compatible with IP phones of different brands, cannot deliver contact address books at the same time, and lacks visible permission setting functions, making it difficult to safely and accurately manage and decentralize contact information in large enterprises.
By receiving address book data of different protocol types, it is converted into unified structured data and stored in the UBM database. The IP phone is authenticated, the protocol type it supports and the scope of visible permissions are determined, and the appropriate address book data packet is pushed. For IP phones, realize compatibility and permission control of different brands and protocol types.
It realizes the unified management and safe delivery of millions of contact information, supports IP phones of different brands and protocol types, and ensures the security and hierarchical decentralized management of address book data.
Smart Images

Figure CN118740969A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an address book management method, system, device and storage medium for serving IP phones. Background Art
[0002] In some large enterprises, there are usually many branches. In order to maintain the communication between these branches, many branch networks are established. Due to various reasons such as the construction period and the expansion and development of the enterprise scale, a large number of IP phones of different brands are deployed in the branch networks. The contact address book protocols of IP phones from different brands on the market are inconsistent. The existing address book service solution can only support one or several brands of IP phones to obtain the corresponding contact address book, and cannot be compatible with IP phones of all manufacturers. At the same time, the existing address book service solution mainly relies on docking with the standard LDAP server to obtain the contact address book, and cannot simultaneously send the obtained contact address book to IP phones that support different protocol types. Therefore, the current address book service solution seems to be unable to maintain more than one million contact information, and cannot guarantee that the contact information can be safely and accurately sent to different types of IP phones through different protocols. In addition, the existing address book service solution does not provide the function of setting visible permissions for the contact address book of the IP phone terminal device, which makes it impossible to achieve decentralized control of the contact address book, which may lead to sensitive information being accessed by unauthorized users. Summary of the invention
[0003] To this end, the embodiments of the present application provide an address book management method, system, device and storage medium for serving IP phones, which uniformly manage and maintain address book data of different protocol types.
[0004] In a first aspect, the present application provides an address book management method for serving IP phones.
[0005] This application is achieved through the following technical solutions:
[0006] A method for managing an address book serving an IP phone, the method comprising:
[0007] Receiving address book data of different protocol types from a third-party business system, converting the address book data of different protocol types into structured data inside the UBM as inherited address book data, and storing the inherited address book data in the UBM database;
[0008] In response to a request instruction initiated by an IP phone to obtain an address book, the IP phone is authenticated, and after the authentication is passed, the protocol type supported by the IP phone and the corresponding visible authority range are determined;
[0009] Determine the inherited address book data corresponding to the visible authority range, and convert the inherited address book data corresponding to the visible authority range into an address book data packet of a protocol type supported by the IP phone requesting to obtain the address book;
[0010] The corresponding address book data packet is pushed to the IP phone that requests to obtain the address book.
[0011] In a preferred example of the present application, it can be further configured that the step of determining the protocol type supported by the IP phone and the corresponding visible authority range after the authentication is passed includes:
[0012] Confirm the MAC information of the IP phone requesting to obtain the address book, compare the MAC information with the pre-stored permission table, and identify the device type and configuration parameters of the IP phone;
[0013] Based on the device type and the configuration parameters, the protocol type supported by the IP phone and the corresponding visible permission range are determined.
[0014] In a preferred example of the present application, it can be further set that the protocol types supported by the IP phone include at least one of the XML protocol, LDAP protocol, openLDAP protocol, and a third-party protocol; wherein the third-party protocol includes at least one of the Cisco protocol, Avaya protocol, Json type protocol, and Config type protocol.
[0015] In a preferred example of the present application, it can be further configured that different visible permission ranges are set according to different IP phones and saved in the UBM database in the form of a permission table; the permission table includes user name, IP phone, MAC information, email, and visible permission range.
[0016] In a preferred example of the present application, it can be further configured that the third-party business system includes a business system using the LDAP protocol, a business system using the openLDAP protocol, and a business system using the XML protocol.
[0017] In a preferred example of the present application, it can be further configured that the step of authenticating the IP phone further includes:
[0018] If the authentication fails, a request failure message is returned to the IP phone that requested to obtain the address book.
[0019] In a second aspect, the present application provides an address book management system serving IP phones.
[0020] This application is achieved through the following technical solutions:
[0021] An address book management system for serving IP phones, the address book management system comprising:
[0022] A synchronization module, used to receive address book data of different protocol types from a third-party business system, convert the address book data of different protocol types into structured data inside the UBM as inherited address book data, and store the inherited address book data in the UBM database; and also used to convert the inherited address book data into an address book data packet of a protocol type supported by the IP phone requesting to obtain the address book;
[0023] An authentication module, used to respond to a request instruction initiated by an IP phone to obtain an address book, authenticate the IP phone, and determine the protocol type supported by the IP phone and the corresponding visible authority range after the authentication is passed;
[0024] The permission range management module is used to set the visible permission range of the IP phone for the inherited address book data;
[0025] The push module is used to push the corresponding address book data packet to the IP phone that requests to obtain the address book.
[0026] In a preferred example of the present application, it can be further configured that the authentication module is also used for:
[0027] Confirm the MAC information of the IP phone requesting to obtain the address book, compare the MAC information with the pre-stored device information, and identify the device type and configuration parameters of the IP phone;
[0028] Based on the device type and the configuration parameters, the protocol type supported by the IP phone and the corresponding visible permission range are determined.
[0029] In a third aspect, the present application provides a computer device.
[0030] This application is achieved through the following technical solutions:
[0031] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned address book management methods for serving IP phones when executing the computer program.
[0032] In a fourth aspect, the present application provides a computer-readable storage medium.
[0033] This application is achieved through the following technical solutions:
[0034] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the address book management method for serving an IP phone are implemented.
[0035] In summary, compared with the prior art, the beneficial effects brought by the technical solution provided by the embodiment of the present application include at least: the present application receives address book data of different protocol types from a third-party business system, converts address book data of different protocol types into structured data inside the UBM and stores it in the UBM database as inherited address book data; when the IP phone requests to obtain the address book, the IP phone is authenticated first, and after the authentication is passed, the protocol type supported by the IP phone and the corresponding visible authority range are determined; the inherited address book data in the UBM database is converted into an address book data packet of the protocol type supported by the IP phone, and the address book data packet belonging to and within its visible authority range is pushed to the IP phone. Support for IP phones of different brands and different protocol types can be achieved, and millions of contacts can be sent to IP phones, which can make it easier for users to access address book data; at the same time, different visible authority ranges can be set for different IP phones, and then different address book data can be sent to different IP phones, so as to achieve hierarchical and decentralized management and control of address book data and ensure the security of address book data. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A flowchart of an address book management method for a service IP phone provided by an exemplary embodiment of the present application;
[0037] Figure 2 A schematic diagram of a process of synchronizing address book data in a UBM system provided by an exemplary embodiment of the present application;
[0038] Figure 3 A schematic diagram of a process for an IP phone to obtain address book data provided by an exemplary embodiment of the present application;
[0039] Figure 4 A schematic diagram of the structure of an address book management system for serving IP phones provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0040] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make non-creative modifications to the present embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of the present application.
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0043] The IP phone address book management method in this application is applicable to the address book management of large enterprises with millions of contacts.
[0044] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0045] S10: receiving address book data of different protocol types from a third-party business system, converting the address book data of different protocol types into structured data within the UBM as inherited address book data, and storing the inherited address book data in the UBM database. The structured data within the UBM includes one or more of CSV, Excel, Json, and XLM data formats.
[0046] The address book management method for serving IP phones proposed in this application is based on a privatized unified business management system UBM (Unified Business Management System), which can be connected to multiple third-party business systems that support different protocol types to manage millions of address book data within large enterprises. The UBM system obtains the address book data in the third-party business system by calling the API interface of the third-party business system or retrieves the address book data in the third-party business system through the Web service interface. It should be noted that the UBM system can also export the address book data in the third-party business system and import the address book data into the UBM system in the form of Excel lists, TXT files, XML files, etc. These third-party business systems are the original address book management systems built within the enterprise to match IP phones from different manufacturers, including business systems using LDAP protocol, business systems using openLDAP protocol, and business systems using XML protocol.
[0047] The UBM system unifies the received address book data of LDAP protocol, openLDAP protocol, XML protocol and other customized address book protocols into the same format type as inherited address book data, and saves the inherited address book data in the UBM database for unified management and maintenance.
[0048] like Figure 2 The figure shows a flow chart of address book data synchronization by the UBM system. Specifically, a third-party business system establishes a connection with the UBM system. After the connection is successful, the UBM system returns a message of successful connection to the third-party business system. Further, the third-party business system transmits address book data to the UBM system. The UBM system determines the protocol type followed by the address book data of the third-party business system, and synchronizes and converts the address book data of the third-party business system into inherited address book data, which is saved in the UBM database. The inherited address book data in the UBM database are all marked with the corresponding data source and the original protocol type. After the storage is successful, the UBM system sends a conversion success message to the third-party business system.
[0049] The UBM system unifies the address book data from different business systems and using different protocol types and converts them into the same format, standardizing the data across the entire enterprise to achieve unified management and maintenance of address book data. At the same time, since the UBM system supports multiple protocol formats, it has better scalability and flexibility. As the enterprise scale expands and the business develops, the UBM system can be easily expanded to better meet business needs.
[0050] S20: In response to the request instruction initiated by the IP phone to obtain the address book, the IP phone is authenticated, and after the authentication is passed, the protocol type supported by the IP phone and the corresponding visible authority range are determined.
[0051] The UBM system supports connecting with IP phones using different protocol types, including IP phones using XML protocol, IP phones using LDAP protocol, IP phones using openLDAP protocol, and IP phones using third-party protocols. Third-party protocols include but are not limited to Cisco protocol, Avaya protocol, json type protocol, and config type protocol.
[0052] The IP phone sends a request instruction to the UBM system to request the address book. In response to the request instruction, the UBM system first authenticates the IP phone. After the authentication is passed, the protocol type supported by the IP phone and the corresponding visible permission range are further determined. Specifically, the UBM system records the MAC information of each registered IP phone with access rights. When receiving the request instruction, the MAC information carried in the request instruction is checked and matched with the device information registered and with access rights in the UBM system. If they match, it is considered that the IP phone requesting the address book has the authority and the authentication is passed. At the same time, in the UBM system, different visible permission ranges are set for different IP phones, which are saved in the UBM database in the form of a permission table. The permission table includes user name, IP phone, MAC information, email, and visible permission range. Therefore, the MAC information of the IP phone requesting the address book can be compared with the pre-stored device information to identify the device type and configuration parameters of the IP phone; based on the above device type and configuration parameters, the protocol type supported by the IP phone and the corresponding visible permission range are determined.
[0053] In some embodiments, if the authentication fails, a request failure message is returned to the IP phone that requests to obtain the address book, and the IP phone is not allowed to obtain the address book data.
[0054] The IP phone is verified through the authentication process to ensure that only authorized IP phones can access the inherited address book data. At the same time, different access permission ranges are set according to different IP phones or users, which means that different users or devices can access different address book data. Administrators can easily view, modify and delete permission settings through the permission table, so that when needs change or users change devices, permission settings can be quickly updated. At the same time, decentralized management of address book data can help enterprises strengthen data security and avoid the risk of data leakage.
[0055] S30: Determine the inherited address book data corresponding to the visible authority range, and convert the inherited address book data corresponding to the visible authority range into an address book data packet of a protocol type supported by the IP phone requesting to obtain the address book.
[0056] For example, the inherited address book data contains the address book data of all employees in the enterprise. Different employees belong to different departments and positions, and different visible permission ranges are set for different departments and positions. For example, employee A's IP phone supports the LDAP protocol, and employee A belongs to the sales department. In the permission table, employee A's visible permission range is the address book data of all employees in the sales department. When employee A sends a request to the UBM system to obtain address book data, the UBM system determines the address book data of all sales departments from the inherited address book data as the target address book data, and converts the target address book into an address book data packet in the LDAP protocol format.
[0057] S40: Pushing the corresponding address book data packet to the IP phone that requests to obtain the address book.
[0058] The converted address book data packet is transmitted to the IP phone that requests and obtains the address book, and the address book information of the relevant contacts is displayed on the IP phone.
[0059] For example, a third-party business system transmits address book data to the UBM system in a variety of formats such as Excel, TXT, XML, etc. The UBM system synchronizes and converts the address book data of the third-party business system, converts it into structured data inside the UBM as inherited address book data, and saves it in the UBM database. The inherited address book data in the UBM database are all marked with the corresponding data source and the original protocol type. After the storage is successful, the UBM system sends a conversion success message to the third-party business system. The IP phone sends a request instruction to the UBM system to obtain the address book. The UBM system responds to the request instruction and authenticates the IP phone. After the authentication is passed, the protocol type supported by the IP phone and the corresponding visible authority range are further determined. The UBM system converts the address book into an address book of one of the format protocols such as openLDAP, LDAP, XML, etc. through the authority range of the IP phone and the format protocol supported, and outputs it to the IP phone.
[0060] In another embodiment, the third-party business system supports one or more protocol address books, including one or more of LDAP protocol, openLDAP protocol, XML or third-party protocols. The third-party business system transmits address book data to the UBM system through one or more protocols. The UBM system synchronizes and converts the address book data of the third-party business system, converts it into structured data inside the UBM as inherited address book data, and saves it in the UBM database. Multiple IP phones simultaneously send request instructions to the UBM system to obtain address books, and the UBM system responds to the request instructions and authenticates the IP phones. After authentication, the protocol types supported by each IP phone and the corresponding visible authority range are further determined. The UBM system converts the inherited address book data into address books in multiple format protocols such as openLDAP, Json, XML, etc. according to the authority range of the IP phone and the supported format protocols, and outputs them to different IP phones respectively. Figure 3 The figure shows a flow chart of an IP phone obtaining an address book data packet. Specifically, the IP phone establishes a TCP long connection with the UBM system. The UBM system determines the protocol type followed by the IP phone and authenticates the IP phone. After the authentication is passed, the handshake is successful. The IP phone carries the MAC information and the supported protocol type and interacts with the UBM system. The UBM system determines the corresponding visible permission range based on the MAC information of the IP phone. The UBM system pulls the target address book data belonging to the visible permission range according to the visible permission range, maps the above target address book data to an address book data packet of the protocol type that the IP phone can recognize, and pushes the above address book data packet to the IP phone.
[0061] After the IP phone obtains the contact's address book data packet, when there is a match between incoming and outgoing calls, the IP phone will query the extension account of the incoming and outgoing calls. When the extension is consistent with the contact data, the name of the incoming and outgoing contact can be displayed.
[0062] In one embodiment, an address book management system for serving IP phones is provided, such as Figure 4 As shown, the address book management system includes: a synchronization module 01, an authentication module 02, an authority range management module 03 and a push module 04;
[0063] Synchronization module 01, used for receiving address book data of different protocol types from a third-party business system, converting the address book data of different protocol types into structured data inside the UBM as inherited address book data, and storing the inherited address book data in the UBM database; and also used for converting the inherited address book data into an address book data packet of a protocol type supported by the IP phone requesting to obtain the address book;
[0064] Authentication module 02, used to respond to the request instruction initiated by the IP phone to obtain the address book, authenticate the IP phone, and determine the protocol type supported by the IP phone and the corresponding visible permission range after the authentication is passed;
[0065] The authority range management module 03 is used to set the visible authority range of the IP phone for the inherited address book data;
[0066] The push module 04 is used to push the corresponding address book data packet to the IP phone that requests to obtain the address book.
[0067] In one embodiment, a computer device is provided, which may be a server.
[0068] The computer device includes a processor, a memory, a network interface and a database connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium has an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, any of the above-mentioned address book management methods for serving IP phones is implemented.
[0069] In one embodiment, a computer-readable storage medium is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement any of the above-mentioned address book management methods for serving IP phones.
[0070] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0071] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system described in the present application is divided into different functional units or modules to complete all or part of the functions described above.
Claims
1. A method for managing an address book serving an IP phone, characterized in that: The address book management method comprises: Receiving address book data of different protocol types from a third-party business system, converting the address book data of different protocol types into structured data inside the UBM as inherited address book data, and storing the inherited address book data in the UBM database; In response to a request instruction initiated by an IP phone to obtain an address book, the IP phone is authenticated, and after the authentication is passed, the protocol type supported by the IP phone and the corresponding visible authority range are determined; Determine the inherited address book data corresponding to the visible authority range, and convert the inherited address book data corresponding to the visible authority range into an address book data packet of a protocol type supported by the IP phone requesting to obtain the address book; The corresponding address book data packet is pushed to the IP phone that requests to obtain the address book.
2. The address book management method for a service IP phone according to claim 1, characterized in that: The step of determining the protocol type supported by the IP phone and the corresponding visible authority range after the authentication is passed includes: Confirm the MAC information of the IP phone requesting to obtain the address book, compare the MAC information with the pre-stored permission table, and identify the device type and configuration parameters of the IP phone; Based on the device type and the configuration parameters, the protocol type supported by the IP phone and the corresponding visible permission range are determined.
3. The address book management method for a service IP phone according to claim 2, characterized in that: The protocol types supported by the IP phone include at least one of XML protocol, LDAP protocol, openLDAP protocol, and third-party protocol; wherein the third-party protocol includes at least one of Cisco protocol, Avaya protocol, Json type protocol, and Config type protocol.
4. The address book management method for a service IP phone according to claim 1, characterized in that: Different visible permission ranges are set according to different IP phones and saved in the UBM database in the form of a permission table; the permission table includes user name, IP phone, MAC information, email, and visible permission range.
5. The address book management method for a service IP phone according to claim 1, characterized in that: The third-party business system includes a business system using LDAP protocol, a business system using openLDAP protocol, and a business system using XML protocol.
6. The address book management method for a service IP phone according to claim 1, characterized in that: The step of authenticating the IP phone also includes: If the authentication fails, a request failure message is returned to the IP phone that requested to obtain the address book.
7. An address book management system for serving IP phones, characterized in that: The address book management system comprises: A synchronization module, used to receive address book data of different protocol types from a third-party business system, convert the address book data of different protocol types into structured data inside the UBM as inherited address book data, and store the inherited address book data in the UBM database; and also used to convert the inherited address book data into an address book data packet of a protocol type supported by the IP phone requesting to obtain the address book; An authentication module, used to respond to a request instruction initiated by an IP phone to obtain an address book, authenticate the IP phone, and determine the protocol type supported by the IP phone and the corresponding visible authority range after the authentication is passed; The permission range management module is used to set the visible permission range of the IP phone for the inherited address book data; The push module is used to push the corresponding address book data packet to the IP phone that requests to obtain the address book.
8. The address book management system for serving IP phones according to claim 7, characterized in that: The authentication module is also used for: Confirm the MAC information of the IP phone requesting to obtain the address book, compare the MAC information with the pre-stored device information, and identify the device type and configuration parameters of the IP phone; Based on the device type and the configuration parameters, the protocol type supported by the IP phone and the corresponding visible permission range are determined.
9. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Implementing method for network address book and network address book server
CN101374161A
Protocol conversion gateway, protocol conversion method, device and storage medium
CN117834346A
The system which formulizes unformulized data andreuses it
KR1020010035001A
A method to implement network directory inquiries and a network directory inquiries server
WO2009024099A1
