Software system new function operation guiding method and equipment based on configuration file description
Through the method described by JSON configuration file, dynamically generate operational guidance, solving the problem that traditional methods cannot adapt to dynamic changes and provide personalized user experience, and implement user-friendly operational guidance for new functions, adapt to rapidly changing functional needs and improve user experience.
Patent Information
- Application Number
- CN202510239285.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-08-01
AI Technical Summary
The operational guidance methods of new functions of traditional software systems cannot adapt to dynamic changes and provide personalized user experience, resulting in high user learning costs.
The configuration file in JSON format describes the operation guide for new functions, dynamically loads and parses the operation guide information, generates immersive guidance based on user interaction, and records user habits through buried points to optimize the guidance content, and supports multilingual and encryption processing to ensure security.
Improve user experience, reduce learning costs, adapt to rapidly changing functional needs, and provide flexibility and broad applicability.
Smart Images

Figure CN120407058A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and particularly to a method and device for guiding the operation of new functions of a software system based on a configuration file description. Background Art
[0002] With the continuous update and development of software systems, the addition of new functions has become increasingly frequent. However, for users, each new function launch may be accompanied by a learning cost. The traditional approach is to add instructions in the user manual or add static help information on the interface, but neither of these two methods can well adapt to the dynamically changing new functions nor provide a personalized user experience. Therefore, a new solution is needed to effectively guide users to familiarize themselves with the operation process of new functions. Summary of the Invention
[0003] An object of the present invention is to provide a method and device for guiding the operation of new functions of a software system based on a configuration file description in view of the deficiencies of the existing technology.
[0004] To achieve the above object, in a first aspect, the present invention provides a method for guiding the operation of new functions of a software system based on a configuration file description, including:
[0005] Create one or more configuration files in JSON format, each configuration file containing at least one piece of operation guidance information;
[0006] Load the configuration file when the software system starts or under specified conditions;
[0007] Parse the operation guidance information in the configuration file, dynamically insert guiding content on the DOM elements specified by the operation guidance information, and then bind DOM element events according to the types of preset events in the configuration file;
[0008] Monitor the user's interaction actions, and after the user triggers the corresponding interaction, display the operation guidance on the next operation button to guide the user to complete the next interaction;
[0009] After each step is completed, perform the next operation guidance according to the configuration file instructions until all guidance steps are completed.
[0010] Further, the configuration file information includes a title, a prompt, a picture, and an event.
[0011] Further, the operation guidance information includes a selector for the target DOM element, the displayed guiding content, and a trigger condition.
[0012] Further, the configuration file further includes one or more field conditions for the following operation guidance:
[0013] nextStep: An identifier used to specify the operation guide for the next step;
[0014] conditions: Conditions used to define the conditions for displaying the operation guide;
[0015] duration: Used to set the display duration of the operation guide;
[0016] position: Used to specify the position of the operation guide relative to the target DOM element.
[0017] Furthermore, record all operation records and operation status of the user through an interface or cache, so that when the user interrupts and enters the page again next time, the corresponding records and status can be read to restore the guidance process to the step where it was interrupted last time.
[0018] Furthermore, record the usage habits of the user through data logging, and dynamically adjust the content of the operation guide configuration file according to the user's usage habits, focusing on generating guides related to the functions commonly used by the user.
[0019] Furthermore, collect user data through means such as the user's behavior, feedback function, and third-party data, optimize the generation algorithm of the operation guide, and generate guides for the functions included in the system for the content that the user is interested in.
[0020] Furthermore, it also includes:
[0021] When requesting the configuration file, it supports specifying the language type, and the interface returns the guidance configuration corresponding to the corresponding language according to the parameters, realizing the automatic generation of multi-language operation guide content;
[0022] And provide a user interface that allows the user to select or switch different language versions.
[0023] Furthermore, it also includes:
[0024] Encrypt sensitive information in the configuration file to ensure data security, and at the same time provide an access control mechanism to limit the access rights to the configuration file.
[0025] In a second aspect, the present invention provides a device for operating a new function of a software system based on a configuration file description, including a storage medium and a processor, where the storage medium stores a computer program, and when the computer program is executed by the processor, it is used to implement the above method.
[0026] Beneficial effects: 1. Improve user experience: Through the dynamically generated operation guide, users can more intuitively understand the operation process of the new function and reduce the learning cost;
[0027] 2. High flexibility: By adopting the method of JSON configuration files, the content of the operation guide is easy to modify and expand, adapting to the rapidly changing functional requirements.
[0028] 3. Strong applicability: It is not limited to the application of the Vue framework, but can also be applied to other front-end frameworks that support DOM operations, with a wide range of applications. Brief Description of the Drawings
[0029] Figure 1 It is a schematic flowchart of a method for operating a new function of a software system described based on a configuration file according to an embodiment of the present invention. Detailed Embodiments
[0030] The present invention will be further illustrated below in conjunction with the drawings and specific embodiments. These embodiments are implemented on the premise of the technical solution of the present invention. It should be understood that these embodiments are only used to illustrate the present invention and not to limit the scope of the present invention.
[0031] As Figure 1 shown to, an embodiment of the present invention provides a method for operating a new function of a software system described based on a configuration file, including:
[0032] Create one or more configuration files in JSON format, and each configuration file contains at least one piece of operation guide information. Specifically, the above operation guide information includes, but is not limited to, the selector (targetSelector) of the target DOM element, the displayed guiding content (content), and the trigger condition (trigger), etc. The selector of the target DOM element is used to locate the UI element to which the operation guide needs to be added. The guiding content is the text content or HTML code of the operation guide, including titles, prompts, pictures, and events, etc. The trigger condition is the type of event that triggers the operation guide (such as click, hover, etc.). In addition, the above configuration file also includes one or more field conditions for the following operation guides:
[0033] nextStep: The identifier of the next operation guide, used to specify the identifier of the next operation guide;
[0034] conditions: An optional field, used to define the conditions for displaying the operation guide;
[0035] duration: Used to set the display time length of the operation guide;
[0036] position: Used to specify the position of the operation guide relative to the target DOM element.
[0037] The following illustrates the structure of a configuration file, which includes the following main fields: targetSelector, content, trigger, nextStep, and conditions.
[0038] The above configuration file is loaded when the software system starts up or under specified conditions. After the software system loads the above configuration file, it parses the operation guidance information in the above configuration file, then locates the specified DOM element according to the selector of the target DOM element in the parsed operation information, dynamically inserts the guidance content on the specified DOM element, then binds DOM element events according to the type of preset events in the configuration file, and waits for the user to trigger them in sequence to achieve the interconnection between the guidance and the user's operations and an immersive guidance.
[0039] Monitor the user's interaction actions. It is possible to determine when to display the operation guidance according to the trigger field. After the user triggers the corresponding interaction, the operation guidance is displayed on the next operation button to guide the user to complete the next interaction.
[0040] If there are multi-step guides, after each step is completed, the next operation guide is carried out according to the indication of the configuration file until all the guide steps are completed. Specifically, it advances to the next step according to the nextStep field.
[0041] The embodiment of the present invention also preferably records all the operation records and operation states of the user through an interface or cache, so that when the user interrupts and enters the page again next time, the corresponding records and states can be read to restore the guidance process to the step where it was interrupted last time, ensuring the continuity and recoverability of the guidance process.
[0042] It is also possible to record the user's usage habits by means of data logging. According to the user's usage habits, the content of the operation guidance configuration file is dynamically adjusted, focusing on generating guides related to the functions commonly used by the user. It is also possible to collect user data through means such as the user's behavior, opinion feedback function, and third-party data, optimize the generation algorithm of the operation guidance, and generate guides for the functions included in the system for the content that the user is interested in.
[0043] The embodiment of the present invention also includes supporting the specification of the language type when requesting the configuration file. The interface returns the guidance configuration corresponding to the corresponding language according to the corresponding parameters, realizing the automatic generation of multi-language operation guidance content; and providing a user interface that allows the user to select or switch different language versions.
[0044] The embodiment of the present invention also includes encrypting sensitive information in the configuration file to ensure data security, and at the same time providing an access control mechanism to restrict the access rights to the configuration file.
[0045] Based on the above embodiments, those skilled in the art can easily understand that the present invention also provides a new function operation guidance device for a software system described based on a configuration file, including a storage medium and a processor. The storage medium stores a computer program, and when the computer program is executed by the processor, it is used to implement the above method.
[0046] For example:
[0047] Taking a simple Vue application as an example, assume that an operation guide needs to be provided for a newly added search function:
[0048] 1. Create a configuration file named search_guide.json with the following content:
[0049]
[0050]
[0051] 2. Load the configuration file in the lifecycle hook (such as mounted) of the Vue component, and initialize DOM operations and event listening:
[0052]
[0053]
[0054] The above are only the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art in this technical field, the other parts not specifically described belong to the prior art or common general knowledge. Without departing from the principle of the present invention, several improvements and refinements can still be made, and these improvements and refinements should also be regarded as the protection scope of the present invention.
Claims
1. A method for guiding the operation of new functions of a software system described in a configuration file, characterized in that Including: Create one or more configuration files in JSON format, each configuration file containing at least one operation guidance information; Load the configuration file when the software system starts or under specified conditions; Parse out the operation guidance information in the configuration file, dynamically insert guiding content on the DOM elements specified by the operation guidance information, and then bind DOM element events according to the types of preset events in the configuration file; Monitor the user's interaction actions. After the user triggers the corresponding interaction, display the operation guidance on the next operation button to guide the user to complete the next interaction; After each step is completed, perform the next operation guidance according to the configuration file instructions until all guidance steps are completed.
2. The method for guiding the operation of new functions of a software system described based on a configuration file according to claim 1, characterized in that, The configuration file information includes title, prompt, picture, and event.
3. The method for guiding the operation of new functions of a software system described based on a configuration file according to claim 1, characterized in that, The operation guidance information includes the selector of the target DOM element, the displayed guiding content, and the triggering condition.
4. The method for guiding the operation of new functions of a software system described based on a configuration file according to claim 3, characterized in that The configuration file further includes one or more field conditions for the following operation guidance: nextStep: used to specify the identifier of the next operation guidance; conditions: used to define the conditions for displaying the operation guidance; duration: used to set the display time length of the operation guidance; position: used to specify the position of the operation guidance relative to the target DOM element.
5. The method for guiding the operation of new functions of a software system described based on a configuration file according to claim 1, characterized in that, Record all operation records and operation status of the user through an interface or cache, so that when the user interrupts and enters the page again next time, the corresponding records and status can be read to resume the guidance process to the step where the interruption occurred last time.
6. The method for guiding the operation of new functions of a software system described based on a configuration file according to claim 1, characterized in that, Record the user's usage habits through data logging, and dynamically adjust the content of the operation guidance configuration file according to the user's usage habits, focusing on generating guidance related to the functions commonly used by the user.
7. The method for guiding the operation of new functions of a software system described based on a configuration file according to claim 1, wherein Collect user data through means such as the user's behavior, feedback function, and third-party data, optimize the generation algorithm of the operation guidance, and generate guidance for the functions included in the system for the content that the user is interested in.
8. The method for guiding the operation of new functions of a software system described based on a configuration file according to claim 1, characterized in that, Also including: When requesting the configuration file, support specifying the language type, and the interface returns the guidance configuration corresponding to the corresponding language according to the corresponding parameters, realizing the automatic generation of multi-language operation guidance content; And provide a user interface that allows the user to select or switch different language versions.
9. The method for operating guidance of new functions of a software system described based on a configuration file according to claim 1, characterized in that, Also including: Encrypt sensitive information in the configuration file to ensure data security, and at the same time provide an access control mechanism to limit the access rights to the configuration file.
10. A device for operating a new function of a software system described in a configuration file, including a storage medium and a processor, the storage medium storing a computer program, characterized in that, The computer program, when executed by a processor, is used to implement the method according to any one of claims 1-9.