Method and system for realizing intelligent linkage of user manual on IPPBX (Internet Protocol Private Branch Exchange), IPPBX and server
By vectorizing the document data in the IPPBX user manual and storing it in the vector database of the cloud server, it is realized that after the user enters the configuration problem on the IPPBX, the matching document data vector is retrieved through the cloud server, and the answer is displayed in an intelligent linkage manner. and jump to the configuration page to solve the problem of low user manual access efficiency in the prior art and improve usage efficiency and user experience.
Patent Information
- Application Number
- CN202411429526.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-02-14
AI Technical Summary
The access method of the existing IPPBX user manual is inefficient, and users need to manually browse and search the configuration page, resulting in a poor user experience.
By vectorizing the document data in the user manual and storing it in the vector database of the cloud server, after the user enters configuration questions on IPPBX, the matching document data vector is retrieved through the cloud server, and the answers and jumps are displayed in an intelligent linkage manner. Go to the configuration page.
This enables users to quickly find the required functional configuration steps, improves usage efficiency and user experience, and reduces dependence on user manuals.
Smart Images

Figure CN119440697A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an IPPBX, and in particular to a method, a system, an IPPBX and a server for realizing intelligent linkage of user manuals on an IPPBX. Background Art
[0002] For existing IPPBXs, the user manual is just a document to help users use IPPBX. In actual use, an icon is generally added to the IPPBX, which establishes a link with the user manual on the official website. When the user selects the icon, it will quickly jump to the user manual on the IPPBX official website for the user to use. Then, according to their own needs, the user will slowly search for the required configuration page on the IPPBX by comparing the documents in the user manual on the official website. Although the existing method of accessing the user manual can provide certain help to users, this method that requires users to manually browse the manual and slowly search is inefficient and unintelligent, and brings a bad user experience. Summary of the invention
[0003] In view of the above IPPBX configuration problem in the prior art, an embodiment of the present invention provides a method, system and IPPBX for implementing intelligent linkage of a user manual on an IPPBX, so that a user can quickly find the function configuration steps in the user manual.
[0004] On the one hand, a method for realizing intelligent linkage of a user manual on an IPPBX is provided, wherein the document data in the user manual is parsed into corresponding document data vectors according to the multi-level titles in which the document data is located and stored in a vector database on a cloud server, wherein each document data vector includes: an index consisting of the multi-level titles in which the corresponding document data is located in the user manual, a configuration step included in the corresponding document data, and a URL path for jumping to a configuration page of the corresponding document data, the method comprising:
[0005] The IPPBX responds to the user's request for help on the IPPBX by displaying a help dialog box;
[0006] The IPPBX responds to the user inputting the IPPBX configuration question in the help dialog box, and sends a help question request to the cloud server according to the IPPBX configuration question input by the user, wherein the help question request includes request parameters, and the request parameters include: the firmware version of the IPPBX and the IPPBX configuration question;
[0007] The IPPBX receives the answer sorted and returned by the cloud server, wherein the answer includes the content of the document data vector matching the help question request, which is retrieved from the corresponding vector database stored in the user manual corresponding to the firmware version of the IPPBX by the cloud server after receiving the help question request; wherein, in the returned answer, the content of the matching document data vector is sorted according to the degree of matching with the IPPBX configuration question, and the one with the highest matching degree is ranked first;
[0008] The IPPBX parses the answers returned by the sorting, and displays the content of the document data vector ranked first as the answer in the dialogue question-and-answer box.
[0009] Preferably, in the method, the cloud server returns the answers in a structure array in a predetermined format.
[0010] Preferably, in the method, after receiving the help question request, the cloud server retrieves the document data vector matching the help question request from the vector database stored in the user manual corresponding to the firmware version of the IPPBX through the following steps:
[0011] The cloud server searches the corresponding vector database according to the vector similarity according to the IPPBX configuration question included in the help question request, obtains a plurality of first document data vectors whose vector similarity is greater than or equal to a predetermined similarity threshold, and sets a unique label for each of the plurality of first document data vectors;
[0012] The cloud server inputs the plurality of first document data vectors and the prompt words of the IPPBX configuration question into a pre-set big model, inquires the big model about which document data among the plurality of first document data vectors can answer the IPPBX configuration question, and allows the big model to return the labels corresponding to the document data vectors that can answer the IPPBX configuration question in order of matching degree;
[0013] The cloud server obtains the configuration steps and configuration page URL path contained in the document data vector corresponding to the tag based on the tag returned by the large model, and sorts the contents of the matching document data vector and returns them to the IPPBX by forming an element of the structure array in the predetermined format with the corresponding tag, configuration step and configuration page URL path.
[0014] Preferably, in the method, the step of parsing the document data in the user manual into corresponding document data vectors according to the multi-level titles in which the document data is located comprises:
[0015] Parsing the document data in the user manual into a tree structure, wherein the document data of each leaf node of the tree structure includes: an index identifier formed by splicing multiple levels of titles corresponding to the document data of the leaf node, a configuration step corresponding to the document data of the leaf node, and a configuration page URL path corresponding to the document data of the leaf node;
[0016] The document data of each leaf node is vectorized to obtain a corresponding document data vector.
[0017] Preferably, the method further comprises:
[0018] When the IPPBX releases a new firmware version, the cloud server obtains a new user manual corresponding to the new firmware version;
[0019] The cloud server parses the document data in the new user manual into corresponding document data vectors and stores them in a vector database corresponding to the new firmware version.
[0020] Preferably, the method, wherein displaying the content of the first-ranked document data vector as an answer in the dialogue question-and-answer box further comprises one or more of the following:
[0021] Displaying the content of the first-ranked document data vector in the same language as the IPPBX configuration question in the dialogue question-answering box;
[0022] Jumping to the configuration page corresponding to the document data vector ranked first according to the configuration page URL path contained in the document data vector ranked first;
[0023] According to the sorting, the contents of other document data vectors except the document data vector ranked first are also displayed in the dialogue question and answer box.
[0024] Preferably, the method further comprises one or more of the following:
[0025] The help dialog box is suspended on the current page; moreover, the help dialog box is suspended on the current page until an instruction to close the help dialog box is received and then disappears;
[0026] The user issues the instruction requesting help by clicking or selecting a corresponding button;
[0027] The IPPBX configuration issues include: various issues related to IPPBX configuration such as extension creation of external lines, IVRs, queues, response groups, and / or broadcast groups.
[0028] After the cloud server receives the help question request, it authenticates the help question request, and when the authentication is passed, determines the corresponding vector database to be searched according to the firmware version of the IPPBX included in the help question request.
[0029] On the other hand, an IPPBX is provided, comprising a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement the steps executed by the IPPBX in any of the above methods.
[0030] On the other hand, a cloud server is provided, comprising a memory and a processor, the memory comprising: at least one vector database, the at least one vector database being used to store a user manual in which document data is vectorized, wherein the document data in the user manual is parsed into corresponding document data vectors according to the multi-level titles in which the document data is located; and a pre-set large model; and the memory also stores at least one program, the at least one program being executed by the processor to implement the steps performed by the cloud server in the method described in any one of claims 1 to 7.
[0031] On the other hand, a system for implementing intelligent linkage of user manuals on an IPPBX is provided, comprising: the IPPBX as described above; and the cloud server as described above.
[0032] The above technical solution has the following technical effects:
[0033] The technical solution of the embodiment of the present invention vectorizes the document data in the user manual of the IPPBX and stores it in the vector database of the cloud server. When the user enters the corresponding configuration question through the dialog box, the IPPBX can obtain the answer that matches the question entered by the user found by the cloud server by searching the vector database. The answer includes the configuration steps and the corresponding configuration page URL, so that the user can quickly find the functional configuration steps that best match his or her own IPPBX configuration question through dialogue questions and answers.
[0034] In a further embodiment, it is also possible to quickly jump to the corresponding configuration page, so that the user does not need to click through the navigation bar of the web page layer by layer.
[0035] In a further embodiment, this dialogue answer window is suspended on the page, which is convenient for the user to view while configuring.
[0036] Therefore, the technical solution of the embodiment of the present invention has the following advantages:
[0037] Intelligence: The setting of intelligent assistant is realized on IPPBX, and the function configuration method can be quickly found by talking with the intelligent assistant;
[0038] Good user experience: After talking to the smart assistant, it will automatically jump to the corresponding configuration page, and users no longer need to refer to the user manual to find the configuration page;
[0039] Support multiple languages: Only need to provide the user manual in one language, and when users of different languages use it, the answers can be returned in the user's language;
[0040] Accurate answer: Different product versions have different user manuals. Answer based on the version information and avoid answering questions about functions that are not supported by that version. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flowchart of a method for implementing intelligent linkage of user manuals on an IPPBX according to an embodiment of the present invention;
[0042] Figure 2 A schematic diagram of a process of a cloud server retrieving the content of a document data vector matching a help question request in a method for realizing intelligent linkage of a user manual according to an embodiment of the present invention;
[0043] Figure 3 A schematic diagram of the structure of a system for realizing intelligent linkage of user manuals on an IPPBX according to an embodiment of the present invention;
[0044] Figure 4 A schematic diagram of a process for uploading a user manual and vectorizing document data in the user manual through a background system in a system for realizing intelligent linkage of a user manual on an IPPBX according to an embodiment of the present invention;
[0045] Figure 5 The present invention is a flowchart of a system for implementing intelligent linkage of a user manual on an IPPBX using an embodiment of the present invention, which implements intelligent linkage of a user manual to obtain required IPPBX configuration document data and jump to a corresponding configuration page. DETAILED DESCRIPTION
[0046] To further illustrate the various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, a person of ordinary skill in the art should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0047] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.
[0048] Embodiment 1:
[0049] An embodiment of the present invention provides a method for realizing intelligent linkage of a user manual on an IPPBX. In the method of this embodiment, the document data in the user manual corresponding to the IPPBX is parsed into corresponding document data vectors according to the multi-level titles in which it is located and is stored in a vector database on a cloud server, wherein each document data vector includes: an index composed of the multi-level titles in which the corresponding document data is located in the user manual, the configuration steps contained in the corresponding document data, and a URL path for jumping to the configuration page of the corresponding document data.
[0050] In a specific implementation, the step of parsing the document data in the user manual into corresponding document data vectors according to the multi-level titles in which the document data is located includes:
[0051] Parse the document data in the user manual into a tree structure, wherein the document data of each leaf node of the tree structure includes: an index identifier formed by splicing multiple levels of titles corresponding to the document data of the leaf node, a configuration step corresponding to the document data of the leaf node, and a configuration page URL path corresponding to the document data of the leaf node; and,
[0052] The document data of each leaf node is vectorized to obtain the corresponding document data vector.
[0053] Figure 1 FIG. 1 is a flow chart of a method for implementing intelligent linkage of user manuals on an IPPBX according to an embodiment of the present invention. Figure 1 The method for implementing intelligent linkage of user manuals on the IPPBX of this embodiment includes:
[0054] The IPPBX responds to a user's instruction to request help on the IPPBX by displaying a help dialog box; in a specific implementation, the user issues the instruction to request help by clicking or selecting a corresponding button; in a specific implementation, the help dialog box is suspended on the current page; and the help dialog box is suspended on the current page until an instruction to close the help dialog box is received.
[0055] The IPPBX responds to the user inputting the IPPBX configuration question in the help dialog box, and sends a help question request to the cloud server according to the IPPBX configuration question input by the user. The help question request contains request parameters, and the request parameters include: the firmware version of the IPPBX and the IPPBX configuration question; in a specific implementation, the IPPBX configuration question includes questions related to extension creation; the IPPBX configuration question also includes other questions related to the configuration of the IPPBX, such as questions related to external lines, IVRs, queues, response groups, and / or broadcast groups.
[0056] The IPPBX receives the answer returned by the cloud server in a sorted manner, and the answer includes the content of the document data vector that matches the help question request and is retrieved from the corresponding vector database stored in the user manual corresponding to the firmware version of the IPPBX by the cloud server after receiving the help question request; wherein, in the returned answer, the content of the matching document data vector is sorted according to the degree of matching with the IPPBX configuration question, and the highest matching degree is ranked first; preferably, the sorted and returned answer is an answer sorted and returned in the form of a structure array in a predetermined format; wherein the above-mentioned predetermined format includes: json format, yaml, xml, etc.; the IPPBX parses the sorted and returned answer, and displays the content of the document data vector ranked first in the returned answer as the answer in the dialogue question and answer box.
[0057] Preferably, when the content of the first-ranked document data vector in the structure array in a predetermined format such as json format is displayed as an answer in the dialogue question and answer box, the IPPBX also jumps to the configuration page of the document data corresponding to the first-ranked document data vector according to the configuration page URL path contained in the first-ranked document data vector.
[0058] Preferably, the IPPBX also displays the contents of other document data vectors except the document data vector ranked first, i.e., the corresponding document data contents, in the dialogue question and answer box, for example, in the above-mentioned order; in this way, it is convenient for the user to click the corresponding configuration page URL path in the document data content to jump to the corresponding IPPBX configuration page.
[0059] Figure 2 In a method for realizing intelligent linkage of a user manual according to an embodiment of the present invention, after receiving a help question request, the cloud server retrieves the content of a document data vector matching the help question request from a vector database stored in the user manual corresponding to the firmware version of the IPPBX.
[0060] like Figure 2 After receiving the help question request, the cloud server retrieves the document data vector that matches the help question request, including:
[0061] The cloud server searches the corresponding vector database according to the vector similarity according to the IPPBX configuration problem contained in the help question request, obtains a plurality of first document data vectors whose vector similarity is greater than or equal to a predetermined similarity threshold, and sets a unique label for each of the plurality of first document data vectors;
[0062] The cloud server inputs the prompt words composed of the multiple first document data vectors and the IPPBX configuration question into a pre-set big model, asks the big model which document data among the multiple first document data vectors can answer the IPPBX configuration question, and allows the big model to return the labels corresponding to the document data vectors that can answer the IPPBX configuration question in order of the matching degree; in a specific implementation, the above-mentioned big model is a big model of the prior art, such as CHATGPT, etc.; the above-mentioned method of composing the prompt words includes: a pre-set prompt word composition method;
[0063] The cloud server obtains the index, configuration steps and configuration page URL path contained in the document data vector corresponding to the tag according to the tag returned by the large model, and sorts the contents of the matching document data vector and returns them to the IPPBX by forming a json format structure array with each tag, the index corresponding to each tag, the configuration step corresponding to each tag and the configuration page URL path corresponding to each tag, wherein a tag and the index, configuration step and configuration page URL corresponding to the tag form an element in the json format structure array. In this embodiment, the json format structure array is used as an example for description, and the structure data in other formats are similar.
[0064] Preferably, after the cloud server receives the help question request, it also includes a step of authenticating the help question request; when the authentication is passed, the cloud server determines the corresponding vector database to be searched according to the firmware version of the IPPBX contained in the help question request; then, the corresponding search is performed in the determined corresponding vector database according to the vector similarity.
[0065] Embodiment 2:
[0066] The present invention also provides a system for realizing intelligent linkage of user manuals on IPPBX, and the system for realizing intelligent linkage of user manuals includes IPPBX and cloud server as in the above method embodiment. Preferably, a set of intelligent IPPBX help system is realized on the cloud server, and the help system uses a large model and a vector database to realize that the user can talk with the intelligent assistant on the IPPBX, and quickly find the required function configuration steps and jump to the corresponding configuration page.
[0067] Figure 3 FIG. 1 is a schematic diagram of a system for realizing intelligent linkage of user manuals on an IPPBX according to an embodiment of the present invention. Figure 3The system for realizing intelligent linkage of user manual on IPPBX of this embodiment includes: IPPBX device, i.e., IPPBX, and cloud-based intelligent IPPBX help system realized on cloud server; wherein, IPPBX includes IPPBX management backend module and help center service client module; cloud-based intelligent IPPBX help system includes: help center service service end, cloud-based server backend system and vector database for storing document data vectors; wherein, help center service service end includes: authentication module for authenticating the request after receiving the help question request and large model service module for providing large model service function; backend system includes: manual upload module, i.e., user manual upload module and manual vector conversion module for vectorizing document data in user manual.
[0068] Figure 3 The functions to be implemented by the IPPBX and the cloud server are divided into modules. Those skilled in the art should know that the relevant functions are mainly implemented by program modules set in the IPPBX and the cloud server; the names and functional divisions of the program modules can have many other different changes; Figure 3 What is described is only a preferred example.
[0069] Figure 4 The present invention is a flowchart of a system for realizing intelligent linkage of user manuals on an IPPBX according to an embodiment of the present invention, in which a user manual is uploaded and document data in the user manual is vectorized through a background system. Figure 4 The process of uploading the user manual and vectorizing the document data in the user manual in this embodiment includes:
[0070] When a new version of IPPBX is released, the IPPBX documentation team updates and publishes the updated user manual and uploads it to the above backend system in the cloud server;
[0071] The above-mentioned backend system parses the document data in the newly uploaded user manual. The parsing mainly converts all or selected document data in the user manual into a tree structure based on the multi-level titles of the document data in the user manual, wherein the document data of each leaf node includes: an index formed by splicing the multi-level titles corresponding to the document data, the configuration steps included in the document data, and a configuration page URL path for jumping to the configuration page corresponding to the document data;
[0072] The document data of each leaf node is vectorized into a corresponding document data vector and stored in a vector database corresponding to the IPPBX firmware version.
[0073] Figure 5The system for implementing the intelligent linkage of the user manual on the IPPBX using the embodiment of the present invention obtains the required IPPBX configuration document data and jumps to the corresponding configuration page through the intelligent linkage of the user manual. Figure 5 The method for realizing intelligent linkage of user manuals by the system of this embodiment includes the following steps:
[0074] 1. When an IPPBX user clicks the help button on the IPPBX, a floating help dialog box pops up on the IPPBX. The dialog box will not disappear when the user clicks on other pages, but will always float on the page. The help dialog box will disappear only when the user actively closes it.
[0075] 2. The IPPBX user enters a question, which is usually an IPPBX configuration question, to initiate a help request to the IPPBX backend;
[0076] 3. The help center service client module located at the back end of the IPPBX sends a help question request to the cloud-based intelligent IPPBX help system located on the cloud server according to the question input by the user. The request parameters contained in the help question request include: the firmware version of the IPPBX and the IPPBXA configuration question input by the user; for example, the question input above is: "How to create an extension?" or its English equivalent "How to create extension?";
[0077] 4. The cloud-based intelligent IPPBX help system receives the help question request and performs an authentication check on the help question request;
[0078] 5. After the verification is passed, the cloud-based intelligent IPPBX help system finds the vector database corresponding to the firmware version of the IPPBX contained in the help question request;
[0079] 6. In the vector database, according to the above-mentioned input question, a vector similarity search is performed to obtain one or more document data vectors similar to the question input by the user, namely, first document data vectors, and a unique or different label is set for each of the above-mentioned multiple first document data vectors. For example, different labels such as a, b, and c are set; in a specific implementation, the similarity between vectors is determined using a vector similarity measurement method in the prior art, and a document data vector whose similarity with the above-mentioned input question is greater than or equal to a predetermined similarity threshold is determined as a similar first document data vector;
[0080] For example, when the user inputs the above question about how to create an extension, the document data corresponding to the similar document data vector retrieved by the IPPBX in the vector database includes:
[0081] Data a:
[0082] …
[0083] Index: Extensions and Lines->Extensions->Create a Single ExtensionConfiguration steps:1. Fill in the extension number\n2. Fill in the password...URL:extension_trunk / extensions / add
[0084] …
[0085] Data b:
[0086] …
[0087] Index: Extensions and Lines->Extensions->Batch Create ExtensionsConfiguration steps:1. Fill in the starting extension number\n2. Select the password type...URL:extension_trunk / extensions / bulkadd
[0088] …
[0089] Data c:
[0090] …
[0091] Index: Extensions & Lines->Extensions->Delete ExtensionsConfiguration steps:1. Select the extension number to be deleted\n2. Click the Delete button...URL:extension_trunk / extensions / del
[0092] …
[0093] Among them, a, b and c are set labels, "..." is an ellipsis, indicating that there can be other content; "Extension and External Line->Extension->Batch Create Extension", "Extension and External Line->Extension->Batch Create Extension" and "Extension and External Line->Extension->Delete Extension" are indexes composed of multi-level titles of corresponding document data in the user manual";
[0094] 7. The document data retrieved above and the questions input by the user are combined into prompt words and input into a pre-set large model such as CHATGPT, etc., to ask the large model which document data can answer the questions input by the user, and let the large model sort and return them according to the degree of matching, and put the document data that the largest model considers to be the most matching at the front, i.e. the first place. In a specific implementation, after the large model is matched, it returns the label sorting corresponding to the matched document data, and then helps the system to obtain the corresponding index, corresponding configuration steps and configuration page URL path contained in the document data corresponding to the label according to the label, and the label, the index of the document data corresponding to the label, the configuration steps and the configuration page URL path are combined into an element in a json format structure array, and all elements form a json format structure array that is returned to the IPPBX as the answer to the question;
[0095] The following example illustrates the question "How to create extension" entered by the user. In a specific implementation, the prompt word for entering the large model is:
[0096] There are several pieces of data below that may be able to answer the user's question. The user's question is "How to create extension". Please exclude the data that does not match the user's question first, and then put the data that you think best matches the user in the front. Return a json array. The fields of each data element include index, step, and url. The index and step must be translated into the language of the user's question.
[0097] Data a:
[0098] …
[0099] Function: Extension and External Line -> Extension -> Create Single Extension Configuration Steps: 1. Fill in the extension number\n2. Fill in the password... URL: extension_trunk / extensions / add
[0100] …
[0101] Data b:
[0102] …
[0103] Function: Extension and External Line -> Extension -> Bulk Create Extensions Configuration steps: 1. Fill in the starting extension number\n2. Select the password type... URL: extension_trunk / extensions / bulkadd
[0104] …
[0105] Data c:
[0106] …
[0107] Function: Extension & Line -> Extension -> Delete Extension Configuration steps: 1. Select the extension number to be deleted\n2. Click the Delete button... URL: extension_trunk / extensions / del
[0108] …
[0109] The large model returns the following data in json format:
[0110] [{"index":"Extension and External Lines->Extension->Create SingleExtension","step":"1.Enter the extension number\n2.Enter the password...","url":"extension_trunk / extensions / add"},{"index":"Extension and ExternalLines->Extension->Bulk Create Extensions","step":"1.Enter the startingextension number\n2.Select the password type...","url":"extension_trunk / extensions / bulkadd"}];
[0111] 8. The cloud-based intelligent IPPBX help system returns the json format data returned in step 7 to the help center business client module;
[0112] 9. The IPPBX configuration webpage parses the structure array in json format, displays the first step data in the array as the answer in the dialog box, concatenates the first url path in the array with the domain name of the IPPBX device to obtain the complete URL of the configuration page corresponding to the document data, and jumps to the relevant configuration page of the IPPBX; where step corresponds to the configuration step; index corresponds to the index; and url corresponds to the configuration page URL path;
[0113] The remaining document data except the first one returned by sorting are also displayed in the dialog box for users to select; in a specific implementation, these document data are combined with the URL to realize the corresponding hyperlink text, and the user jumps to the corresponding PBX configuration page after clicking.
[0114] Embodiment three:
[0115] The present invention also provides an IPPBX, comprising a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement the steps executed by the IPPBX in any of the above methods. .
[0116] Embodiment 4:
[0117] The present invention also provides a cloud server, including a memory and a processor, the memory including: at least one vector database, at least one vector database for storing a user manual in which document data is vectorized, wherein the document data in the user manual is parsed into corresponding document data vectors according to the multi-level titles in which the document data is located; and a pre-set large model; and the memory also stores at least one program, at least one program is executed by the processor to implement the steps performed by the cloud server in any of the methods described above.
[0118] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.
Claims
1. A method for realizing intelligent linkage of user manual on IPPBX, characterized in that: The document data in the user manual is parsed into corresponding document data vectors according to the multi-level titles in which the document data is located and stored in a vector database on a cloud server, wherein each document data vector includes: an index consisting of the multi-level titles in which the corresponding document data is located in the user manual, a configuration step included in the corresponding document data, and a URL path for jumping to a configuration page of the corresponding document data, and the method includes: The IPPBX responds to the user's request for help on the IPPBX by displaying a help dialog box; The IPPBX responds to the user inputting the IPPBX configuration question in the help dialog box, and sends a help question request to the cloud server according to the IPPBX configuration question input by the user, wherein the help question request includes request parameters, and the request parameters include: the firmware version of the IPPBX and the IPPBX configuration question; The IPPBX receives the answer sorted and returned by the cloud server, wherein the answer includes the content of the document data vector matching the help question request, which is retrieved from the corresponding vector database stored in the user manual corresponding to the firmware version of the IPPBX by the cloud server after receiving the help question request; wherein, in the returned answer, the content of the matching document data vector is sorted according to the degree of matching with the IPPBX configuration question, and the one with the highest matching degree is ranked first; The IPPBX parses the answers returned by the sorting, and displays the content of the document data vector ranked first as the answer in the dialogue question-and-answer box.
2. The method according to claim 1, characterized in that The cloud server returns the answers in a structure array in a predetermined format.
3. The method according to claim 2, characterized in that After receiving the help question request, the cloud server retrieves the document data vector matching the help question request from the vector database stored in the user manual corresponding to the firmware version of the IPPBX through the following steps: The cloud server searches the corresponding vector database according to the vector similarity according to the IPPBX configuration question included in the help question request, obtains a plurality of first document data vectors whose vector similarity is greater than or equal to a predetermined similarity threshold, and sets a unique label for each of the plurality of first document data vectors; The cloud server inputs the plurality of first document data vectors and the prompt words of the IPPBX configuration question into a pre-set big model, inquires the big model about which document data among the plurality of first document data vectors can answer the IPPBX configuration question, and allows the big model to return the labels corresponding to the document data vectors that can answer the IPPBX configuration question in order of matching degree; The cloud server obtains the configuration steps and configuration page URL path contained in the document data vector corresponding to the tag based on the tag returned by the large model, and sorts the contents of the matching document data vector and returns them to the IPPBX by forming an element of the structure array in the predetermined format with the corresponding tag, configuration step and configuration page URL path.
4. The method according to claim 1, characterized in that: The step of parsing the document data in the user manual into corresponding document data vectors according to the multi-level titles in which the document data is located comprises: Parsing the document data in the user manual into a tree structure, wherein the document data of each leaf node of the tree structure includes: an index identifier formed by splicing multiple levels of titles corresponding to the document data of the leaf node, a configuration step corresponding to the document data of the leaf node, and a configuration page URL path corresponding to the document data of the leaf node; The document data of each leaf node is vectorized to obtain a corresponding document data vector.
5. The method according to claim 4, characterized in that Also includes: When the IPPBX releases a new firmware version, the cloud server obtains a new user manual corresponding to the new firmware version; The cloud server parses the document data in the new user manual into corresponding document data vectors and stores them in a vector database corresponding to the new firmware version.
6. The method according to claim 1, characterized in that Displaying the content of the first-ranked document data vector as an answer in the dialogue question-answering box also includes one or more of the following: Displaying the content of the first-ranked document data vector in the same language as the IPPBX configuration question in the dialogue question-answering box; Jumping to the configuration page corresponding to the document data vector ranked first according to the configuration page URL path contained in the document data vector ranked first; According to the sorting, the contents of other document data vectors except the document data vector ranked first are also displayed in the dialogue question and answer box.
7. The method according to claim 1, characterized in that Also includes one or more of the following: The help dialog box is suspended on the current page; moreover, the help dialog box is suspended on the current page until an instruction to close the help dialog box is received and then disappears; The user issues the instruction requesting help by clicking or selecting a corresponding button; After the cloud server receives the help question request, it authenticates the help question request, and when the authentication is passed, determines the corresponding vector database to be searched according to the firmware version of the IPPBX included in the help question request.
8. An IPPBX, characterized in that: The method comprises a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement the steps executed by the IPPBX in the method according to any one of claims 1 to 7.
9. A cloud server, characterized in that: It includes a memory and a processor, the memory includes: at least one vector database, the at least one vector database is used to store a user manual in which document data is vectorized, wherein the document data in the user manual is parsed into corresponding document data vectors according to the multi-level titles in which the document data is located; and a pre-set large model; and the memory also stores at least one program, the at least one program is executed by the processor to implement the steps performed by the cloud server in any one of the methods described in claims 1 to 7.
10. A system for realizing intelligent linkage of user manual on IPPBX, characterized in that: include: The IPPBX as claimed in claim 8; and The cloud server as claimed in claim 9.