Workflow engine-based digital psychological counseling applet content development system
Patent Information
- Application Number
- CN202611147903.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-30
- Publication Date
- 2026-10-16
AI Technical Summary
[0005]本发明的目的在于提供一种基于工作流引擎的数字化心理咨询小程序内容开发系统,旨在解决现有技术中的数字化心理咨询会话内容专业性强、与用户进行的决策树会话逻辑复杂、内容丰富,数字化心理咨询会话小程序内容的开发,现有方式操作难度大、对开发人员要求高、难以凸显数字化心理咨询的特点及优势,限制了数字化心理咨询的推广及应用的技术问题
1、基于工作流引擎的数字化心理咨询小程序内容开发系统,为用户提供对各应用系统有决定作用的根据角色、分工和条件的不同决定信息传递路由、内容等级的核心解决方案,工作流引擎包括流程的节点管理、流向管理的重要功能,适用于数字化心理咨询会话决策树复杂内容的编辑;
Smart Images

Figure CN122924729A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mini-program development technology, and in particular to a digital psychological counseling mini-program content development system based on a workflow engine. Background Technology
[0002] Currently, there are various ways to develop mini-programs, including professional developer tools and mini-program templates. Professional developer tools allow developers to write their own code, which can be used to develop new programs and customize functions, but it is more difficult for mini-program developers without a computer science background. Another way is to use mini-program template creation tools. This method has mature functions and is easy to operate, but it is difficult to develop new functions and complete the editing of complex processes.
[0003] A workflow engine refers to a workflow as part of an application system, providing core solutions that determine information transmission routes and content levels based on roles, division of labor, and conditions, which have a decisive impact on various application systems. Workflow engines include important functions such as process node management and flow management, and can be applied to the development of digital psychological counseling content.
[0004] However, in existing technologies, digital psychological counseling conversations are highly professional, with complex decision tree conversation logic and rich content. The development of digital psychological counseling conversation mini-programs is difficult to operate in the current way, requires high qualifications from developers, and makes it difficult to highlight the characteristics and advantages of digital psychological counseling, thus limiting the promotion and application of digital psychological counseling. Summary of the Invention
[0005] The purpose of this invention is to provide a digital psychological counseling mini-program content development system based on a workflow engine. This system aims to solve the technical problems in the existing technology of developing digital psychological counseling mini-program content, which is characterized by highly professional content, complex decision tree dialogue logic with users, rich content, high operational difficulty, high requirements for developers, difficulty in highlighting the characteristics and advantages of digital psychological counseling, and limitations on the promotion and application of digital psychological counseling.
[0006] To achieve the above objectives, this invention employs a digital psychological counseling mini-program content development system based on a workflow engine, comprising a control enabling unit, a decision tree editing unit, a conversation generation unit, and a content storage unit. The control empowerment unit is used to assign specific functional attributes to the control and import the control into the control selection module; The decision tree editing unit is used to combine controls to realize decision trees and edit the content of psychological counseling sessions; The conversation generation unit is used to monitor whether the decision tree conversation logic is correct and to generate text, image, video and audio content for digital psychological counseling. The content storage unit is used to store psychological counseling materials, psychological counseling decision trees, and user psychological counseling session data.
[0007] The control enabling unit includes a control function editing module and a control import module. The control function editing module can define control function attributes by inputting corresponding codes; the control import module can import controls with defined attributes into the decision tree editing unit.
[0008] The specific functional attributes of the control include starting and ending a psychological counseling session, determining the user's gender, determining the user's age, determining whether a special task has been initiated, determining whether a second login has occurred, determining whether the session has ended, whether to enable an auxiliary counseling session, defining a user interaction module, inserting multimedia content, inserting a scale, determining scale scores, rating, comparing scale scores, comparing self-ratings, progressive selection of results, and setting a counseling cycle.
[0009] The decision tree editing unit includes a control selection module and a decision tree drawing module. The control selection module is located in the control selection area of the decision tree editing interface. Users can drag and drop specific controls to the decision tree drawing module. The decision tree drawing module can display the functional attributes, configuration requirements, text editing boxes, and material selection boxes of the controls. The decision tree drawing module supports connecting controls with arrows to design specific consultation processes. The decision tree drawing module supports deleting selected controls and deleting arrow connections.
[0010] The conversation generation unit includes a logic detection module, a dialogue generation module, and a multimedia generation module. The logic detection module checks whether the decision tree configuration logic is correct. If there is an error, it displays the error step on the webpage. If the logic is correct, it can be saved normally. The dialogue generation module can generate a psychological counseling dialogue in the mini-program based on the decision tree content. The multimedia generation module can present the multimedia content selected by the control in the mini-program in the appropriate form.
[0011] The psychological counseling materials storage includes images, audio, video, and scales related to psychotherapy.
[0012] The psychological counseling decision tree includes decision trees for mental health education, relaxation training, behavior analysis, behavior activation, emotion recognition, strong emotion processing, social skills and communication, problem solving, cognitive restructuring, family intervention, mindfulness, relapse prevention, special task decision trees, and psychological counseling auxiliary decision trees.
[0013] The psychological counseling session data includes user usage data, chat logs, scale results, and mood ratings.
[0014] The digital psychological counseling mini-program content development system based on a workflow engine of the present invention has the following beneficial effects: 1. A workflow engine-based digital psychological counseling mini-program content development system provides users with a core solution that plays a decisive role in various application systems by determining information transmission routes and content levels based on different roles, divisions of labor, and conditions. The workflow engine includes important functions such as process node management and flow management, and is suitable for editing complex content of digital psychological counseling conversation decision trees. 2. A workflow engine-based digital psychological counseling mini-program content development system that enables controls through coding, stabilizes applications, and develops specific functions for digital psychological counseling. 3. A workflow engine-based digital psychological counseling mini-program content development system allows content developers to edit mini-program content through visual controls. Users can operate the system without professional restrictions, and the visual operation makes it easier to update and iterate the content of the digital psychological counseling mini-program. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a system diagram of the digital psychological counseling mini-program content development system based on a workflow engine, as described in this invention.
[0017] 1-Control enabling unit, 2-Decision tree editing unit, 3-Session generation unit, 4-Content storage unit, 5-Control function editing module, 6-Control import module, 7-Control selection module, 8-Decision tree drawing module, 9-Logic detection module, 10-Dialogue generation module, 11-Multimedia generation module. Detailed Implementation
[0018] Please see Figure 1 The present invention provides a digital psychological counseling mini-program content development system based on a workflow engine, including a control enabling unit 1, a decision tree editing unit 2, a conversation generation unit 3, and a content storage unit 4; The control enabling unit 1 is used to assign specific functional attributes to the control and import the control into the control selection module 7; The decision tree editing unit 2 is used to combine controls to realize decision trees and edit the content of psychological counseling sessions; The conversation generation unit 3 is used to monitor whether the decision tree conversation logic is correct and to generate text, image, video and audio content for digital psychological counseling. The content storage unit 4 is used to store psychological counseling materials, psychological counseling decision trees, and user psychological counseling conversation data.
[0019] Furthermore, the control empowerment unit 1 includes a control function editing module 5 and a control import module 6. The control function editing module 5 can define control function attributes by inputting corresponding codes; the control import module 6 can import controls with defined attributes into the decision tree editing unit 2.
[0020] Furthermore, the specific functional attributes of the control include starting and ending a psychological counseling session, determining the user's gender, determining the user's age, determining whether a special task has been initiated, determining whether a second login has been made, determining whether the session has ended, whether to enable an auxiliary counseling session, defining a user interaction module, inserting multimedia content, inserting a scale, determining scale scores, rating, comparing scale scores, comparing self-ratings, progressive selection of results, and setting a counseling cycle.
[0021] Furthermore, the decision tree editing unit 2 includes a control selection module 7 and a decision tree drawing module 8. The control selection module 7 is located in the control selection area of the decision tree editing interface. Users can drag and drop specific controls to the decision tree drawing module 8. The decision tree drawing module 8 can display the functional attributes, configuration requirements, text editing boxes, and material selection boxes of the controls. The decision tree drawing module 8 supports connecting controls with arrows to design specific consultation processes. The decision tree drawing module 8 supports deleting selected controls and deleting arrow connections.
[0022] Furthermore, the conversation generation unit 3 includes a logic detection module 9, a dialogue generation module 10, and a multimedia generation module 11. The logic detection module 9 can check whether the decision tree configuration logic is correct. If there is an error, it will prompt the error step on the webpage. If the logic is correct, it can be saved normally. The dialogue generation module 10 can generate a psychological counseling dialogue in the mini-program according to the decision tree content. The multimedia generation module 11 can present the multimedia content selected by the control in the mini-program in the corresponding form.
[0023] Furthermore, the stored psychological counseling materials include images, audio, video, and scales related to psychotherapy.
[0024] Furthermore, the psychological counseling decision tree includes decision trees for mental health education, relaxation training, behavior analysis, behavior activation, emotion recognition, strong emotion processing, social skills and communication, problem solving, cognitive restructuring, family intervention, mindfulness, relapse prevention, special task decision trees, and psychological counseling auxiliary decision trees.
[0025] Furthermore, the psychological counseling session data includes user usage data, chat logs, scale results, and mood ratings.
[0026] In this embodiment, the control empowerment unit 1 includes a control function editing module 5 and a control import module 6, which are used to assign specific functional attributes to the control, modify the functional attributes of the control, and import the control to the control selection module 7. The control enabling unit 1 enables controls by having programmers edit or modify code according to requirements; The specific functional attributes of the controls include starting and ending a psychological counseling session, determining the user's gender and age, determining whether a special task has been initiated, determining whether a second login has occurred, determining whether the session has ended, whether to enable auxiliary counseling sessions, defining user interaction modules, inserting multimedia content, inserting scales, determining scale scores, ratings, comparing scale scores, comparing self-ratings, progressive selection of options, and setting a counseling cycle. Some controls support the selection of images, videos, audio, and scale materials. The functions of the controls are distinguished by different graphic shapes. The control selection module 7 allows users to drag and drop corresponding controls to the decision tree drawing module 8; the decision tree drawing module 8 can configure controls to edit the content of the psychological counseling session decision tree. The logic detection module 9 can automatically detect whether the control configuration and process logic are correct when the user saves the file; if a configuration or logic error is detected, the error node will be automatically prompted on the decision tree configuration interface and the save will be refused; if the configuration is correct, the decision tree will be saved normally. The dialogue generation module 10 can automatically generate corresponding programs from the built-in code of the controls and the connection of the controls. The consultation content text is presented in the form of a dialogue in the mini program. Mini program users can interact through text, voice input, single selection, and multiple selection. The multimedia generation module 11 can read the psychotherapy materials selected by the control configuration and present them in the mini-program in a corresponding form. Typically, psychotherapy materials include: pictures, audio, video, and scales.
[0027] The above description discloses only one preferred embodiment of the present invention, and should not be construed as limiting the scope of the present invention. Those skilled in the art will understand that all or part of the processes of the above embodiments can be implemented, and equivalent changes made in accordance with the claims of the present invention are still within the scope of the invention.
Claims
1. A digital psychological counseling mini-program content development system based on a workflow engine, characterized in that, It includes a control enabling unit, a decision tree editing unit, a session generation unit, and a content storage unit; The control empowerment unit is used to assign specific functional attributes to the control and import the control into the control selection module; The decision tree editing unit is used to combine controls to realize decision trees and edit the content of psychological counseling sessions; The conversation generation unit is used to monitor whether the decision tree conversation logic is correct and to generate text, image, video and audio content for digital psychological counseling. The content storage unit is used to store psychological counseling materials, psychological counseling decision trees, and user psychological counseling session data.
2. The digital psychological counseling mini-program content development system based on a workflow engine as described in claim 1, characterized in that, The control empowerment unit includes a control function editing module and a control import module. The control function editing module can define control function attributes by inputting corresponding codes; the control import module can import controls with defined attributes into the decision tree editing unit.
3. The digital psychological counseling mini-program content development system based on a workflow engine as described in claim 2, characterized in that, The specific functional attributes of the control include starting and ending a psychological counseling session, determining the user's gender and age, determining whether a special task has been initiated, determining whether a second login has occurred, determining whether the session has ended, whether to enable auxiliary counseling sessions, defining user interaction modules, inserting multimedia content, inserting scales, determining scale scores, rating, comparing scale scores, comparing self-ratings, progressive selection of results, and setting a counseling cycle.
4. The digital psychological counseling mini-program content development system based on a workflow engine as described in claim 1, characterized in that, The decision tree editing unit includes a control selection module and a decision tree drawing module. The control selection module is located in the control selection area of the decision tree editing interface. Users can drag and drop specific controls to the decision tree drawing module. The decision tree drawing module can display the functional attributes, configuration requirements, text editing boxes, and material selection boxes of the controls. The decision tree drawing module supports connecting controls with arrows to design specific consultation processes. The decision tree drawing module supports deleting selected controls and deleting arrow connections.
5. The digital psychological counseling mini-program content development system based on a workflow engine as described in claim 1, characterized in that, The conversation generation unit includes a logic detection module, a dialogue generation module, and a multimedia generation module. The logic detection module can check whether the decision tree configuration logic is correct. If there is an error, it will prompt the error steps on the webpage. If the logic is correct, it can be saved normally. The dialogue generation module can generate psychological counseling dialogues in the mini-program according to the decision tree content. The multimedia generation module can present the multimedia content selected by the control in the mini-program in a corresponding format.
6. The digital psychological counseling mini-program content development system based on a workflow engine as described in claim 1, characterized in that, The stored psychological counseling materials include images, audio, video, and scales related to psychotherapy.
7. The digital psychological counseling mini-program content development system based on a workflow engine as described in claim 1, characterized in that, The psychological counseling decision tree includes decision trees for mental health education, relaxation training, behavior analysis, behavior activation, emotion recognition, strong emotion processing, social skills and communication, problem solving, cognitive restructuring, family intervention, mindfulness, relapse prevention, special task decision trees, and psychological counseling auxiliary decision trees.
8. The digital psychological counseling mini-program content development system based on a workflow engine as described in claim 1, characterized in that, The psychological counseling session data includes user usage data, chat logs, scale results, and mood ratings.