Platform docking method and device applied to PBX
By obtaining and parsing the docking function template of the target platform, the problem of high labor costs when docking the PBX platform is solved, efficient docking and communication information synchronization between the PBX and the target platform are achieved, and the docking process is simplified.
Patent Information
- Application Number
- CN202510711229.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-09-12
AI Technical Summary
When existing PBX platforms are connected to target platforms such as CRM and Helpdesk, different connection codes need to be written for different platforms, resulting in high labor costs and low connection efficiency.
By obtaining the docking function template of the target platform, parsing the configuration information, and performing configuration and docking based on the configuration information, the pre-created template is used to achieve docking between the PBX and the target platform, reducing the need for docking code.
It reduces the cost of connecting PBX with the target platform, improves the connection efficiency, realizes the synchronization of communication information and resource sharing, and simplifies the connection process.
Smart Images

Figure CN120631422A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and in particular to a platform docking method and device applied to a PBX. Background Art
[0002] Currently, PBXs (Private Branch Exchanges) are widely used within companies and other scenarios. However, the inventors discovered that connecting a PBX to target platforms like CRM (Customer Relationship Management) and Helpdesk (desktop support) requires writing different integration code for each platform, resulting in high labor costs. Summary of the Invention
[0003] The purpose of the embodiments of the present application is to provide a platform docking method and apparatus for a PBX, so as to solve the problem of high labor costs when docking a PBX with a target platform. The specific technical solution is as follows:
[0004] In a first aspect of an embodiment of the present application, a platform docking method applied to a PBX is provided, comprising:
[0005] Obtain the docking function template of the target platform;
[0006] Parsing the docking function template to obtain configuration information of the docking function of the target platform;
[0007] Configure according to the configuration information and connect to the target platform.
[0008] In a possible implementation, the configuring according to the configuration information and docking with the target platform includes:
[0009] Configuration is performed according to the configuration information, and communication information is synchronized with the target platform, wherein the communication information includes at least one of contact information, call records, and call recordings.
[0010] In a possible implementation, after performing configuration according to the configuration information and docking with the target platform, the method further includes:
[0011] Match incoming calls, display pop-up screens for incoming calls, and / or create contacts through synchronized communication information.
[0012] In a possible implementation, the target platform is a CRM or Helpdesk platform.
[0013] In a possible implementation, obtaining the docking function template of the target platform includes:
[0014] Get the target platform's docking function template in XML format.
[0015] In a possible implementation, the process of creating the docking function template of the target platform includes:
[0016] The docking function template is obtained by abstracting the docking function of the target platform through an XML template.
[0017] In a possible implementation, obtaining the docking function template of the target platform includes:
[0018] Obtaining a preset function template, wherein the preset function template includes: templates for multiple platforms and / or multiple functions;
[0019] A docking function template of the target platform is identified from the preset function templates.
[0020] A second aspect of an embodiment of the present application provides a platform docking device for a PBX, including:
[0021] Template acquisition module, used to obtain the docking function template of the target platform;
[0022] A template parsing module, configured to parse the docking function template to obtain configuration information of the docking function of the target platform;
[0023] The platform docking module is used to configure according to the configuration information and dock with the target platform.
[0024] In a possible implementation, the platform docking module is specifically configured according to the configuration information and synchronizes communication information with the target platform, wherein the communication information includes at least one of contact information, call records, and call recordings.
[0025] In a possible implementation, the device further includes:
[0026] The communication synchronization module is used to match incoming calls, and / or display pop-up screens for incoming calls, and / or create contacts through synchronized communication information.
[0027] In a possible implementation, the target platform is a CRM or Helpdesk platform.
[0028] In a possible implementation, the template acquisition module is specifically configured to acquire a docking function template of the target platform in XML format.
[0029] In a possible implementation, the process of creating the docking function template of the target platform includes:
[0030] The docking function template is obtained by abstracting the docking function of the target platform through an XML template.
[0031] In a possible implementation, the template acquisition module is configured to acquire preset function templates, wherein the preset function templates include: templates for multiple platforms and / or multiple functions; and identify the docking function template of the target platform from the preset function templates.
[0032] Another aspect of the present application provides an electronic device, including:
[0033] Memory for storing computer programs;
[0034] The processor is configured to implement any of the above-mentioned platform docking methods applied to a PBX when executing a program stored in the memory.
[0035] In another aspect of the embodiments of the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, any of the above-mentioned platform docking methods applied to a PBX is implemented.
[0036] In another aspect of the embodiments of the present application, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute any of the above-mentioned platform docking methods applied to a PBX.
[0037] Beneficial effects of the embodiments of the present application:
[0038] The embodiments of the present application provide a platform docking method and apparatus for a PBX, the method comprising: obtaining a docking function template of a target platform; parsing the docking function template to obtain configuration information of the docking function of the target platform; configuring according to the configuration information, and docking with the target platform. Through the method of the embodiments of the present application, a pre-created docking function template of a target platform can be obtained, and then the template of the docking function can be parsed to obtain a configuration file corresponding to the docking function, which can then be used to dock the target platform. This eliminates the need to create separate docking code information for the target platform, and docking can be achieved solely through the template corresponding to the docking function. This solves the problem of high labor costs when docking a PBX with a target platform, not only reducing docking costs but also improving docking efficiency.
[0039] Of course, it is not necessary to achieve all the advantages described above at the same time when implementing any product or method of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0041] Figure 1 A flow chart of a platform docking method applied to a PBX provided in an embodiment of the present application;
[0042] Figure 2 A schematic diagram of a process flow for synchronizing communication information provided in an embodiment of the present application;
[0043] Figure 3 A schematic diagram of a structure of a platform docking device applied to a PBX provided in an embodiment of the present application;
[0044] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field based on this application are within the scope of protection of this application.
[0046] In a first aspect of the embodiment of the present application, a platform docking method for PBX is first provided. Figure 1 , Figure 1 A flow chart of a platform docking method for a PBX provided in an embodiment of the present application includes:
[0047] Step S11, obtaining the docking function template of the target platform;
[0048] Step S12: parsing the docking function template to obtain configuration information of the docking function of the target platform;
[0049] Step S13: configure according to the configuration information and connect to the target platform.
[0050] Corresponding to step S11 above, in this embodiment of the present application, when obtaining the target platform's docking function template, the target platform is a platform different from a PBX (Private Branch Exchange). In actual use, due to limitations such as docking specifications, when docking different platforms, corresponding code is often written and configured. In this embodiment of the present application, the target platform's docking function template is a template corresponding to the docking function of the target platform, and this template is used to implement docking between the PBX and the target platform. The platform docking described herein uses technical means to achieve data exchange and resource sharing between different systems, thereby optimizing business processes and improving collaborative efficiency. In this embodiment of the present application, information synchronization or resource sharing can be achieved through docking between the PBX and the target platform.
[0051] Corresponding to step S12 above, the docking function template is parsed to obtain configuration information for the docking function of the target platform. Specifically, the parsing can create the configuration information for the docking function, and thus perform configuration using the created configuration information. It should be noted that the method of the embodiment of the present application is applied to a PBX and implemented by the PBX. Therefore, when parsing the docking function template to obtain the configuration information for the docking function of the target platform, the parsing can be performed by the PBX. In actual use, the parsing process can be implemented with reference to the configuration requirements and format of the PBX. Therefore, the parsing can be performed according to the format and specifications of the PBX, and the configuration information obtained by parsing should also meet the requirements of the PBX. In actual use, after the parsing is completed, the parsing results and the PBX parsing template can be stored in the PBX library.
[0052] Corresponding to step S13 above, when configuring according to the configuration information and docking with the target platform, as described above, the method of the embodiment of the present application is applied to a PBX and implemented by the PBX. Therefore, when configuring according to the configuration information, the PBX can be configured, and then docking with the target platform after configuration. Because in the solution of the embodiment of the present application, the docking function template of the target platform is a template corresponding to the docking function of the target platform, and then the configuration information is parsed and configured through the docking function template, the docking function with the target platform can be implemented, thereby achieving docking with the target platform.
[0053] It can be seen that through the method of the embodiment of the present application, a pre-created docking function template of the target platform can be obtained, and then the template of the docking function can be parsed to obtain a configuration file corresponding to the docking function, and then the configuration file can be used to dock the target platform. Therefore, there is no need to create separate docking code information for the target platform. The docking can be achieved only through the template of the corresponding docking function, which solves the problem of high labor cost when docking the PBX and the target platform. It can not only reduce the docking cost but also improve the docking efficiency.
[0054] In one possible implementation, configuring according to the configuration information and interfacing with the target platform includes configuring according to the configuration information and synchronizing communication information with the target platform, wherein the communication information includes at least one of contact information, call logs, and call recordings. In this embodiment of the present application, synchronization of communication information can be achieved through interfacing with the target platform. When applied to synchronization of communication information, the communication information includes at least one of contact information, call logs, and call recordings. During synchronization of communication information, at least one of the contact information, call logs, and call recordings recorded on the target platform can be imported into the PBX, or at least one of the contact information, call logs, and call recordings recorded on the PBX can be imported into the target platform. During actual use, corresponding functions can be executed according to user instructions. By synchronizing communication information, not only can communication information be shared across multiple terminals or platforms, but consistency can also be achieved, making it easier for users to operate and view communication information.
[0055] In a possible implementation, after the configuration is performed according to the configuration information and the connection is made with the target platform, the method further includes: matching incoming calls, and / or causing the incoming call to pop up, and / or creating contacts through synchronized communication information. In the embodiment of the present application, the incoming call matching can directly determine the contact of the incoming call by matching the incoming call number with the contact. For example, the incoming call number is matched with the phone numbers of different contacts recorded in the address book, so as to directly display the contact corresponding to the incoming call, thereby facilitating the user to view the incoming call. The incoming call pop-up screen refers to automatically identifying the number when a customer calls and popping up detailed customer information, including basic information, historical call records and business data, so as to facilitate the user to view the incoming call. Creating contacts refers to recording and saving relevant information of contacts. In one example, after connecting with the target platform, contacts can be created based on the contact information in the target platform and saved in the address book of the PBX.
[0056] In a possible implementation, the obtaining of the docking function template of the target platform includes: obtaining a preset function template, wherein the preset function template includes: templates for multiple platforms and / or multiple functions; and identifying the docking function template of the target platform from the preset function template. In an embodiment of the present application, a function template can be pre-written, and the function template can include templates for multiple platforms and / or multiple functions, such as a docking function template corresponding to multiple platforms, a template for multiple functions corresponding to one platform, or a template for multiple functions of each platform in multiple platforms. Thus, when an instruction corresponding to obtaining the docking function template of the target platform is received, the docking function template of the target platform is identified from the pre-written function template.
[0057] In one possible implementation, the target platform is a CRM (Customer Relationship Management) or Helpdesk (desktop support) platform. Because each platform has different docking specifications, existing docking methods require writing different docking codes for different platforms, which is labor-intensive. Furthermore, when a new docking platform is added to the PBX, new code must be written and the firmware must be re-released, which is inconvenient and prolongs the time required to add docking support for new CRM and Helpdesk platforms, as well as the time required to fix docking bugs. However, the solution of the embodiments of the present application enables rapid docking with CRM and Helpdesk platforms.
[0058] In one possible embodiment, obtaining the target platform's docking function template includes obtaining the target platform's docking function template in XML (Extensible Markup Language) format. In another possible embodiment, creating the target platform's docking function template includes abstracting the target platform's docking function using an XML template to obtain the docking function template. In this embodiment, functional abstraction combined with specific functional descriptions in an XML template can be used to separate logic code from specific functional implementations, thereby extracting the specific functional implementations from the PBX firmware. Functional abstraction is an abstract concept used in programming that helps maintenance personnel break down complex programming problems into smaller, more understandable modules. By using abstract functions, higher-level models can be established, making programs easier to maintain and modify. Compared to specific implementation details, abstract functions focus more on the problem domain and its essence, making programs more scalable and reusable. Abstract functions are also a very important concept in object-oriented programming. For example, abstract classes and interfaces are commonly used to implement abstract functions. Defining abstract classes and interfaces can better isolate different problem domains and better implement code layering. In addition, abstract functions are also one of the important means to implement concepts such as encapsulation, inheritance, and polymorphism in object-oriented programming. In the embodiment of the present application, through functional abstraction, it is possible to reduce duplicate code, reduce the investment in docking new platforms, and reduce the cost of bug repair.
[0059] In order to illustrate the solution of the embodiment of the present application, a specific embodiment is described below. Figure 2 , Figure 2 A flow chart of communication information synchronization provided in an embodiment of the present application includes:
[0060] While different CRM and Helpdesk platforms may have different integration methods and interfaces, they all support the same functionality. We abstract the functionality of the integration platforms using XML templates, configuring implementation rules for each platform within the templates (such as syncing contacts and creating call logs). The PBX code reads and executes the templates using a fixed set of rules, allowing integration with new CRM and Helpdesk platforms using just one XML configuration. Usage is as follows:
[0061] 1. Write a CRM or Helpdesk platform docking function template in XML format.
[0062] 2. Import the template into the PBX.
[0063] 3. The PBX parses the template and stores it in the PBX database.
[0064] 4. Use templates to connect to the CRM platform.
[0065] 5. Use specific docking functions (taking contact synchronization as an example).
[0066] 6. Read and execute the corresponding function block of the template configuration.
[0067] 7. Realize contact synchronization (taking contact synchronization as an example).
[0068] Figure 2 In the process, after the code is processed, when the function is triggered, the Provider entry and Provider implementation are used to realize the function execution. When applied to the synchronization of communication information, the trigger function and function description can include: call matching, call barrage, contact creation, contact synchronization, and synchronization of call logs and call recordings. The template file can be a pre-created template, and the function execution can be performed by the template executor. The Provider entry can be CrmInto Provider, and the Provider implementation can be implemented by CRM Provider or Other Provider. The process processing code can be implemented by Call Event Cdr (emergency event call system).
[0069] In a second aspect of the embodiment of the present application, a platform docking device for PBX is provided. Figure 3 , Figure 3 A schematic diagram of a structure of a platform docking device for a PBX provided in an embodiment of the present application includes:
[0070] The template acquisition module 301 is used to obtain the docking function template of the target platform;
[0071] The template parsing module 302 is used to parse the docking function template to obtain the configuration information of the docking function of the target platform;
[0072] The platform docking module 303 is used to perform configuration according to the configuration information and dock with the target platform.
[0073] In a possible implementation, the platform docking module is specifically configured according to the configuration information and synchronizes communication information with the target platform, wherein the communication information includes at least one of contact information, call records, and call recordings.
[0074] In a possible implementation, the device further includes:
[0075] The communication synchronization module is used to match incoming calls, and / or display pop-up screens for incoming calls, and / or create contacts through synchronized communication information.
[0076] In a possible implementation, the target platform is a CRM or Helpdesk platform.
[0077] In a possible implementation, the template acquisition module is specifically configured to acquire a docking function template of the target platform in XML format.
[0078] In a possible implementation, the process of creating the docking function template of the target platform includes:
[0079] The docking function template is obtained by abstracting the docking function of the target platform through an XML template.
[0080] In a possible implementation, the template acquisition module is configured to acquire preset function templates, wherein the preset function templates include: templates for multiple platforms and / or multiple functions; and identify the docking function template of the target platform from the preset function templates.
[0081] It can be seen that through the device of the embodiment of the present application, a pre-created docking function template of the target platform can be obtained, and the template of the docking function can be parsed to obtain a configuration file corresponding to the docking function, and the configuration file can be used to dock the target platform. There is no need to create separate docking code information for the target platform, and docking can be achieved only through the template of the corresponding docking function, which solves the problem of high labor cost when docking the PBX and the target platform, and can not only reduce the docking cost but also improve the docking efficiency.
[0082] The present application also provides an electronic device, such as Figure 4 Shown, including:
[0083] Memory 401, used for storing computer programs;
[0084] The processor 402 is configured to execute the program stored in the memory 401 by performing the following steps:
[0085] Obtain the docking function template of the target platform;
[0086] Parsing the docking function template to obtain configuration information of the docking function of the target platform;
[0087] Configure according to the configuration information and connect to the target platform.
[0088] The communication bus mentioned in the electronic device mentioned above may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.
[0089] The communication interface is used for communication between the above electronic device and other devices.
[0090] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.
[0091] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0092] In another embodiment provided by the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the following steps are implemented:
[0093] Obtain the docking function template of the target platform;
[0094] Parsing the docking function template to obtain configuration information of the docking function of the target platform;
[0095] Configure according to the configuration information and connect to the target platform.
[0096] In another embodiment provided by the present application, a computer program product including instructions is further provided, which, when executed on a computer, causes the computer to perform the following steps:
[0097] Obtain the docking function template of the target platform;
[0098] Parsing the docking function template to obtain configuration information of the docking function of the target platform;
[0099] Configure according to the configuration information and connect to the target platform.
[0100] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state drive (SSD).
[0101] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0102] Each embodiment in this specification is described in a related manner. Similar portions between the various embodiments can be referenced to each other. Each embodiment focuses on the differences from other embodiments. In particular, the device, electronic device, and storage medium embodiments are generally similar to the method embodiments, so their descriptions are relatively simple. For related portions, reference can be made to the descriptions of the method embodiments.
[0103] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are included in the scope of protection of the present application.
Claims
1. A platform docking method applied to a PBX, characterized in that: include: Obtain the docking function template of the target platform; Parsing the docking function template to obtain configuration information of the docking function of the target platform; Configure according to the configuration information and connect to the target platform.
2. The method according to claim 1, characterized in that The configuring according to the configuration information and docking with the target platform includes: Configuration is performed according to the configuration information, and communication information is synchronized with the target platform, wherein the communication information includes at least one of contact information, call records, and call recordings.
3. The method according to claim 2, characterized in that After configuring according to the configuration information and docking with the target platform, the method further includes: Match incoming calls, display pop-up screens for incoming calls, and / or create contacts through synchronized communication information.
4. The method according to claim 1, wherein The target platform is a CRM or Helpdesk platform.
5. The method according to claim 1, wherein The step of obtaining the target platform's docking function template includes: Get the target platform's docking function template in XML format.
6. The method according to claim 5, characterized in that The process of creating the target platform's docking function template includes: The docking function template is obtained by abstracting the docking function of the target platform through an XML template.
7. The method according to claim 1, characterized in that The step of obtaining the target platform's docking function template includes: Obtaining a preset function template, wherein the preset function template includes: templates for multiple platforms and / or multiple functions; A docking function template of the target platform is identified from the preset function templates.
8. A platform docking device applied to a PBX, characterized in that: include: Template acquisition module, used to obtain the docking function template of the target platform; A template parsing module, configured to parse the docking function template to obtain configuration information of the docking function of the target platform; The platform docking module is used to configure according to the configuration information and dock with the target platform.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the method according to any one of claims 1 to 7 when executing a program stored in a memory.
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 method according to any one of claims 1 to 7 is implemented.