Emotional disorder intervention system and method based on emotion creation and sharing

Through an alexithymia intervention system based on emotional creation and sharing, the emotional color wheel, Emoji scene library and interactive coloring module are used to solve the complexity, limitations and high cost problems in alexithymia treatment, and the improvement of emotion recognition and expression and the enhancement of user participation are achieved.

CN119993400APending Publication Date: 2025-05-13刘舒展
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510238321.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The prior art has complex treatment procedures, limited treatment locations, high costs, engagement and effectiveness issues, and a lack of personalization and interaction in the treatment of alexithymia.

Method used

Alexis disorder intervention system based on emotion creation and sharing is adopted. The system is divided into the client layer and the cloud service layer. Through the emotional color wheel, the Emoji scene library and the interactive coloring module, it helps users identify, record and express their emotions, and promotes emotional sharing and group healing through the online interactive community module.

Benefits of technology

It reduces the complexity and cost of treatment, improves the accuracy and flexibility of emotional recognition and expression, enhances the user's emotional self-awareness and social ability, and promotes long-term participation and interest.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119993400A_ABST
    Figure CN119993400A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intervention systems, in particular to an emotional disorder intervention system and method based on emotion creation and sharing. The intervention system is structurally divided into a client layer and a cloud service layer. The client layer adopts a three-layer architecture and comprises a user interface layer, a business logic layer and a data access layer; the user interface layer realizes core page display logic including a home page, a creation page and a community page through a well-designed page component module; the page component module further comprises an emotion color wheel module and an Emoji scene library module, the emotion color wheel module is used for setting an emotion color wheel and dividing emotions into two dimensions of pleasure and unpleasure as well as calm and excitation, and the difficulty of selecting emotion types by a user is reduced by utilizing emotion symbols of colors; and the Emoji scene library module is used for providing abundant social situation sources through carefully screened Emoji with high frequency and high emotional polarity. By means of the emotion definition theory, the accuracy and flexibility of emotion recognition and expression are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of emotion regulation and intervention regulation systems, and in particular to an alexithymia intervention system and method based on emotion creation and sharing. Background Art

[0002] At present, the treatment methods for alexithymia mainly focus on traditional methods such as cognitive therapy (CBT), supportive psychotherapy and expressive psychotherapy. Although these interventions are effective, there are several major problems in practical application: 1. Complex treatment process: Traditional therapies often require face-to-face treatment processes and take a long time to treat. Patients need to visit treatment centers regularly, which increases the complexity and burden of treatment.

[0003] 2. Limited treatment locations: Most treatment methods need to be carried out in specific psychotherapy institutions, which creates a great barrier to treatment for some patients who live in remote areas or lack professional resources.

[0004] 3. High treatment costs: Traditional psychotherapy is relatively expensive, especially for those who need frequent treatment, the cost often becomes a burden that cannot be ignored.

[0005] 4. Participation and effectiveness issues: Since the treatment process is serious and complicated, patients are less motivated to participate, and long-term treatment often leads to unstable treatment effects.

[0006] 5. Lack of personalization and interactivity: Traditional therapies lack personalized treatment plans and interactivity, which limits the treatment effect and makes it difficult to maintain long-term user participation and interest.

[0007] 2) Existing emotion intervention systems mainly use relatively simple emotion expression training methods, lack psychological intervention mechanisms specifically for the alexithymia group, and fail to fully utilize psychological theories to guide emotion recognition training. Although such systems can help with emotion management to a certain extent, they lack systematic and personalized emotion intervention mechanisms and cannot effectively meet the special needs of the alexithymia group. Summary of the invention

[0008] In order to solve the above-mentioned shortcomings and deficiencies in the use of existing emotion intervention measures, the present invention provides an alexithymia intervention system and method based on emotion creation and sharing, which uses the emotion clarity theory to improve the accuracy and flexibility of emotion recognition and expression.

[0009] The present invention adopts the following technical solutions to achieve the above purpose: A system for intervening in alexithymia based on emotion creation and sharing, the system is divided into two parts in terms of architecture: a client layer and a cloud service layer; wherein the client layer adopts a three-layer architecture, including a user interface layer, a business logic layer and a data access layer; the user interface layer implements the core page display logic including the home page, the creation page and the community page through a carefully designed page component module; wherein the page component module also includes an emotion color wheel module and an Emoji scene library module; the emotion color wheel module is used to set an emotion color wheel, divide emotions into two dimensions of pleasure and displeasure, and calmness and excitement, and use the emotional symbolism of colors to reduce the difficulty of users in selecting emotion types; the Emoji scene library module is used to provide a rich source of social situations through carefully selected high-frequency and high-emotion polarity Emojis, so as to help players identify the source of emotions; The business logic layer, as the core of the system, includes three important modules: the painting engine module, the state management module, and the tool management module. The painting engine module is based on Canvas 2D technology and implements key functions including brush algorithm, color mixing, and layer management. The painting engine module also includes an interactive coloring module, which is used to help players identify, record, and express their emotions by selecting emotional colors, selecting Emoji coloring boxes related to emotions, and freely coloring. The state management module adopts a hierarchical management strategy to ensure the predictability and consistency of data flow. The tool management module is used to uniformly manage various painting tools and provide a flexible expansion mechanism. The data access layer is mainly responsible for processing data access operations; this layer mainly completes the local data caching mechanism and optimizes the performance of frequently accessed data; at the same time, by encapsulating a unified network request interface, it implements the request retry and error handling mechanism; in terms of file operations, this layer is also mainly responsible for processing the read and write operations of local files, and managing the upload and download functions of files; the data access layer also includes an online interactive community module, which is used to allow players to browse and interact with other people's emotional works, promote emotional sharing and group healing; The cloud service layer mainly supports the operation of the entire system through four core services: cloud function module, cloud database module, cloud storage module and data storage module; among them, the cloud function module is mainly used to realize the core business functions of user management unit, work management unit and data statistics unit; the cloud database module is used to adopt NoSQL architecture and provide flexible data storage solutions; the cloud storage module is mainly responsible for handling the storage and access requirements of various resource files including work pictures; the data storage module includes user data unit, work data unit and statistical data unit; the user data unit is used to store a collection of personal information, including nicknames and avatars, fans, number of likes, and representative paintings; the work data unit is used to store a collection of work information, including the serial number, title, date, and thumbnail information of the work. Long pressing the corresponding work can save the pictures of these historical works locally; the statistical data unit is used to record and store the number of works published by individuals and the number of likes for the corresponding works; The data flow of the intervention system follows a strict process design; when the user operates on the interface, the system first updates the status locally to ensure real-time response of the operation; then the data is persisted to the cloud database through cloud functions, and resource files are stored in cloud storage when necessary; finally, the processing results are returned to the client to complete the interface update.

[0010] As a preferred technical solution: the emotion color wheel module includes multiple emotion color units, and the user selects the color that best represents his or her emotion on the emotion color wheel. The color selection result is reflected in the coloring work, providing a basis for subsequent emotion recognition training.

[0011] A further preferred technical solution: The Emoji scene library module is composed of multiple Emoji image units, each Emoji image unit corresponds to an emotional coloring box. Users can choose the pixel Emoji image coloring box that best represents the source of their own emotions based on their self-cognition and judgment, and fill it in to express their emotions freely.

[0012] Further preferred technical solutions: The online interactive community module also includes a page display unit, an image storage unit, an image transmission unit and an Emoji community unit; the page display unit is used to define emotional color nodes and Emoji image nodes as labels, and display them on the page in the form of tabs, and click different labels to display and view the emotional states under different nodes; the image storage unit is used to help players preview and save completed Emoji images, and at the same time, the user's emotional selection and coloring works will be centrally stored to form a personal emotional archive, and personal historical records can be reviewed; at the same time, the system will provide regular feedback based on the user's emotional selection and works to help users understand the progress of emotion recognition; the image transmission unit is used to help users upload their own colored Emoji images to the Emoji community unit through the HTTPS secure transmission protocol; the Emoji community unit is used to display and share the Emoji images colored by multiple users themselves to promote emotional sharing and the improvement of social skills.

[0013] A further preferred technical solution: the image storage unit also includes a personal work management subunit, a creative data statistics subunit, a personalized recommendation subunit and a user-exclusive gallery subunit; the personal work management subunit is used for statistics and display of personal creative works, and has the functions of keyword query search, modification and one-click deletion; the creative data statistics subunit is used for data statistics of creative works, and real-time data display; the personalized recommendation subunit is used for targeted personalized recommendation and display based on the user's preference attributes; the user-exclusive gallery subunit is used to classify and integrate the creative works according to the user's preferences to form a user-exclusive gallery for easy viewing.

[0014] A further preferred technical solution: The Emoji community unit also includes an interactive sub-unit, which is used to help users in the Emoji community to perform interactive operations such as likes, comments and collections on other people's Emoji image tags, and to check the latest developments of the community in a timely manner through a real-time data synchronization function, and supports online reminders and keyword search functions.

[0015] Further preferred technical solution: the interactive coloring module also includes a free creation unit and a template creation unit; the free creation unit is mainly used to help users freely express themselves on a blank canvas; the template creation unit is used to help users select preset expression templates for creation; at the same time, in either the free creation unit or the template creation unit, users can use color selectors and toolbars to assist in creation.

[0016] Further preferred technical solution: the user interface layer also includes a color selector, a toolbar, a custom component module of a canvas controller, and a Canvas module, wherein the Canvas mainly adopts the native Canvas2D technology of the WeChat applet to achieve high-performance painting functions.

[0017] Further preferred technical solution: the page component module also includes a user authentication module, which mainly uses the native login component provided by the WeChat applet to enter the login page and is responsible for processing the user's identity authentication and authorization; at the same time, after the user logs in successfully, he will be directed to the application homepage to start the creative journey.

[0018] A method for an alexithymia intervention system based on emotion creation and sharing, using the above intervention system, comprises the following steps: S1: Start the system: In the WeChat client, the user searches for the mini-program name, scans the mini-program code, or finds and clicks to open the system through WeChat chat history or the mini-program entrance on the discovery page, and enters the system homepage through the account and password authentication function. The user selects the emotion color wheel on the system homepage; S2: Emotion recognition: Users select the color that best represents their emotions on the emotion color wheel. The color selection result is reflected in the coloring work, providing a basis for subsequent emotion recognition training. When clicking on a color, the color will appear in the three corresponding buttons below. If you want to withdraw or redo, the user can click the Undo and Redo buttons in the blue block above, and click the Confirm button to confirm after the selection. The three progress bars at the bottom represent the entire painting process, which have a prompting and guiding role. S3: Emotion source selection: Users can select the pixel Emoji image coloring box that best represents the source of their emotions based on their own cognition and judgment; after clicking the coloring box, a Confirm button will appear below, click it to proceed to the next step; S4: Emotional expression: Users can use the emotional attribute color selected in step S2 to fill the Emoji image coloring box selected in step S3 to express their emotions freely; users enter the drawing board and start painting; 1) Click the brush and eraser icons at the top to switch between them, and the selected one will have an orange background; slide to change the brush stroke size, and the size of the slider dot serves as a reminder of the brush stroke size; 2) Click the three color buttons below to switch the drawing color; the switched color icon will be enlarged; 3) Start painting, the brush stroke will not overflow the coloring box, and the rest of the painting process in the box is left to the user. Users can give full play to their imagination and pour their emotions into the work; S5: Work Record: After the user finishes coloring, he or she can choose to save the results of his or her emotional graffiti to the personal emotional archive; and can review the personal history record; at the same time, the system will provide regular feedback based on the user's emotional selection and works to help the user understand the progress of emotion recognition; S6: Work Sharing: After the user completes coloring, he or she can also upload it to the Emoji community unit for sharing, which is used to display and share the Emoji images colored by multiple users. At the same time, it helps users in the Emoji community to like and comment on other people's Emoji image tags.

[0019] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention provides an emotion training system Coloring the Emoji designed specifically for the alexithymia group, which solves the problems of high treatment threshold, poor participation, and difficulty in emotion recognition in the prior art through core designs such as the emotion color wheel, pixel Emoji scene library, and free coloring. By combining emotion recognition training with emotion expression training, and through a systematic and digital approach, patients with alexithymia can conduct emotional intervention anytime and anywhere, reducing the complexity and high cost of treatment. In particular, in the design of the emotion color wheel and the use of the Emoji scene library, the present invention uses the emotion clarity theory to improve the accuracy and flexibility of emotion recognition and expression, making up for the shortcomings of existing emotion intervention tools; In the field of artistic creation, the present invention provides users with a platform for digital art creation, especially in the design of emoticons and personalized creative expression, providing users with professional creation tools and display space. In the field of social entertainment, the application provides users with channels for leisure, entertainment and emotional communication through rich social media interactive functions, making the creative process more interesting and social. In the field of education, the application can be used as an auxiliary tool for art education, helping users to cultivate creative thinking and provide a digital learning platform for art enlightenment. In this way, the application not only serves individual creators, but also provides educators with new teaching tools and methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0021] Figure 1 It is a flowchart of the overall structural connection principle of the present invention; Figure 2 is a schematic diagram of the architecture of the intervention system of the present invention; Figure 3 It is a system data flow chart of the intervention system of the present invention; Figure 4 A flow chart of the connection structure of the system components of the intervention system of the present invention; Figure 5 The interface diagram for selecting emotional colors of the present invention; Figure 6 This is an interface diagram for selecting an Emoji color frame related to emotions of the present invention; Figure 7 The freely colored and saved interface diagram of the present invention; Figure 8 This is a diagram showing the interactive community interface of the present invention.

[0022] In the figure: 1. Client layer; 11. User interface layer; 111. Page component module; 112. Emotion color wheel module; 113. Emoji scene library module; 114. Emotion color unit; 115. Emoji image unit; 116. Custom component module; 117. Canvas module; 118. User authentication module; 12. Business logic layer; 121. Painting engine module; 122. State management module; 123. Tool management module; 124. Interactive coloring module; 125. Free creation unit; 126. Template creation unit; 13. Data access layer; 130. Online interactive community module; 13 1. Page display unit; 132. Image storage unit; 133. Image transmission unit; 134. Emoji community unit; 135. Personal work management sub-unit; 136. Creation data statistics sub-unit; 137. Personalized recommendation sub-unit; 138. User-exclusive gallery sub-unit; 139. Interaction sub-unit; 2. Cloud service layer; 21. Cloud function module; 211. User management unit; 212. Work management unit; 213. Data statistics unit; 22. Cloud database module; 23. Cloud storage module; 24. Data storage module; 241. User data unit; 242. Work data unit; 243. Statistical data unit. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] In the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", and "provided with" that may appear should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be internal communication between two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood by specific circumstances.

[0025] Example: Figures 1 to 8 As shown: A system for intervention of alexithymia based on emotion creation and sharing, which is divided into two parts in terms of architecture: client layer 1 and cloud service layer 2. The invention reduces the threshold for treatment. Through digital and systematic design, users can conduct emotion training at any time and any place without relying on expensive treatment sites, which significantly reduces the threshold for treatment. Figure 2 As shown: wherein the client layer 1 adopts a three-layer architecture, including a user interface layer 11, a business logic layer 12 and a data access layer 13. wherein the user interface layer 11 implements the core page display logic including the home page, the creation page and the community page through a carefully designed page component module 111. wherein the page component module 111 also includes an emotional color wheel module 112 and an Emoji scene library module 113, wherein the emotional color wheel module 112 is used to set an emotional color wheel, divide emotions into two dimensions of pleasure and displeasure, calmness and excitement, and use the emotional symbolism of colors to reduce the difficulty of users in selecting emotional types. the Emoji scene library module 113 is used to provide a rich source of social situations through carefully selected high-frequency and high-emotion polarity Emojis, to help players clarify the source of emotions. the user interface layer 11 also includes a color selector, a toolbar, a custom component module 116 of a canvas controller and a Canvas canvas module 117, wherein the Canvas canvas mainly uses the native Canvas 2D technology of the WeChat applet to achieve high-performance painting functions.

[0026] like Figure 5 and Figure 6As shown: the emotion color wheel module 112 includes multiple emotion color units 114. The user selects the color that best represents his or her own emotions on the emotion color wheel. The color selection result is reflected in the coloring work, providing a basis for subsequent emotion recognition training. The Emoji scene library module 113 is composed of multiple Emoji image units 115. Each Emoji image unit 115 corresponds to an emotion coloring box. The user can select the pixel Emoji image coloring box that best represents the source of his or her own emotions according to self-cognition and judgment, and freely express his or her emotions. The emotion color wheel and Emoji scene library help patients with alexithymia identify their own emotion types and sources more quickly and accurately, thereby improving their emotion recognition ability by simplifying the judgment of emotion types and sources. The free coloring design not only allows users to express their emotions more freely, but also enhances users' emotional self-awareness through reflection and work saving functions.

[0027] Preferably, the page component module 111 also includes a user authentication module 118, which mainly uses the native login component provided by the WeChat applet to enter the login page and is responsible for processing the user's identity authentication and authorization; at the same time, after the user logs in successfully, he will be directed to the application homepage to start the creation journey.

[0028] In this embodiment, the business logic layer 12, as the core of the system, includes three important modules: a painting engine module 121, a state management module 122, and a tool management module 123. Among them, the painting engine module 121 is based on Canvas2D technology and implements key functions including brush algorithm, color mixing, and layer management. The painting engine module 121 also includes an interactive coloring module 124, which is used by players to help users identify, record, and express their emotions by selecting emotional colors, selecting Emoji coloring boxes related to emotions, and freely coloring. Canvas 2D technology is selected as the core implementation solution for the drawing engine. As an important part of the HTML5 standard, Canvas 2D technology has a wide application base and a mature technical ecology. In this project, the selection of Canvas 2D technology is mainly based on the following advantages: first, it provides a rich drawing API that can meet various drawing requirements in expression coloring scenarios; second, it has good performance on mobile devices and can support a smooth painting experience; third, WeChat applet provides good encapsulation and optimization for Canvas 2D, making the development process more convenient.

[0029] Among them, the state management module 122 adopts a hierarchical management strategy to ensure the predictability and consistency of data flow. The tool management module 123 is used to uniformly manage various types of painting tools and provide a flexible expansion mechanism. The state management solution adopts a design pattern that combines global state with page state. Considering the scale and complexity of the project, this relatively lightweight state management solution is more suitable. The solution has the following characteristics: first, the structure is simple and clear, which is easy for developers to understand and use; second, the maintenance cost is relatively low, and there is no need to introduce a complex state management framework; finally, it fully meets the state management needs of the project, including the management of various types of data such as painting status, user information, and work data.

[0030] In this embodiment, the interactive coloring module 124 also includes a free creation unit 125 and a template creation unit 126. The free creation unit 125 is mainly used to help users freely express themselves on a blank canvas; the template creation unit is used to help users select preset expression templates for creation. At the same time, in either the free creation unit 125 or the template creation unit 126, users can use color selectors and toolbars to assist in creation. Among them, the function code for users to call the drawing method according to different drawing methods is as follows: / / Call different drawing methods according to the drawing mode if (drawMethod === "original") { this.drawOriginal(lastX, lastY, x, y); } elseif (drawMethod === "bezier") { points.push({ x, y }); this.drawBezierCurve(points); } else if (drawMethod === "pixel") { const distance = Math.abs(lastY - y) + Math.abs(lastX - x); / / Only draw if the distance is greater than the pen width to maintain pixel style / / console.log("penWidth", this.data.penWidth, "disdance",disdance); if (distance >= this.data.penWidth / 10) { / / this.drawPixel(x, y); this.drawPixel_insideFrame(x, y); this.setData({ lastX: x, lastY: y }); } } else if (drawMethod == "pixelBre") { this.drawPixelLine(lastX, lastY, x, y).

[0031] In this embodiment, the data access layer 13 is mainly responsible for processing data access operations; this layer mainly completes the cache mechanism of local data and optimizes the performance of frequently accessed data. At the same time, by encapsulating a unified network request interface, a request retry and error handling mechanism is realized; in terms of file operations, this layer is also mainly responsible for processing the read and write operations of local files, and managing the upload and download functions of files. The data access layer 13 also includes an online interactive community module 130, which is used to allow players to browse and interact with other people's emotional works to promote emotional sharing and group healing; in terms of the front end, the MVVM (Model-View-ViewModel) architecture mode of WeChat applet is adopted to ensure efficient binding of interface and data. The user authenticates through the login page and then enters the homepage, where various functional options are collected, including color selection, expression template selection, free creation, personal work library, and community interaction. Each functional module corresponds to a different page. For example, the color selection page allows users to customize the painting color, the expression selection page provides a variety of expression templates for users to choose from, and the free creation page is the core painting area, where users can give full play to their creativity. In addition, the personal library page displays the user's creative works, while the community page promotes interaction and communication between users, displays the most popular paintings on the platform, and provides a help page to guide user operations.

[0032] The online interactive community module 130 further includes a page display unit 131, an image storage unit 132, an image transmission unit 133 and an Emoji community unit 134. The page display unit 131 is used to define the emotion color node and the Emoji image node as tags, and display them on the page in the form of tabs. Click different tags to display and view the emotion status under different nodes; the image storage unit 132 is used to help players preview and save the completed Emoji images. At the same time, the user's emotion selection and coloring works will be centrally stored to form a personal emotion archive, and personal history records can be reviewed; at the same time, the system will provide regular feedback based on the user's emotion selection and works to help users understand the progress of emotion recognition.

[0033] Among them, the image transmission unit 133 is used to help users upload the Emoji images they have colored themselves to the Emoji community unit 134 through the HTTPS secure transmission protocol; the Emoji community unit 134 is used to display and share the Emoji images colored by multiple users themselves to promote emotional sharing and the improvement of social skills. The Emoji community unit 134 also includes an interactive sub-unit 139, which is used to help users in the Emoji community to like, comment on and collect other people's Emoji image tags, and to check the latest developments of the community in a timely manner through the real-time data synchronization function, and supports online reminders and keyword search functions. The online community function enables players to share emotional works with others, participate in emotional sharing and group therapy, thereby improving social skills and emotional regulation abilities. Among them, the function code for loading the best paintings (with the most likes) in the community is as follows: * Load optimal drawing data * Use the loadDrawings function in utils.js and sort by the number of likes in descending order * / loadBestDrawings: async function () { try { / / Define the query conditions to get the best paintings with a sharing status of true const queryConditions = { share: true }; const bestDrawings = await utils.loadDrawings(this.data.openid, queryConditions); / / Format the creation time of each painting let formattedBestDrawings = bestDrawings.map(drawing =>({ ...drawing, time: utils.formatTime(new Date(drawing.createTime)), })); / / Sort by number of likes in descending order formattedBestDrawings.sort((a, b) =>b.like- a.like); / / Update local data this.setData({ bestDrawings: formattedBestDrawings }); console.log("Best drawing data loaded successfully:", formattedBestDrawings); } catch (error) { console.error("Failed to load the best painting data:", error); wx.showToast({ title: 'Failed to load optimal painting data', icon: 'none', duration: 2000.

[0034] In this embodiment, the image storage unit 132 also includes a personal work management subunit 135, a creative data statistics subunit 136, a personalized recommendation subunit 137 and a user-exclusive gallery subunit 138. The personal work management subunit 135 is used for statistics and display of personal creative works, and has the functions of keyword query search, modification and one-click deletion. The creative data statistics subunit 136 is used for data statistics of creative works and real-time data display. The personalized recommendation subunit 137 is used to make targeted personalized recommendations and displays based on the user's preference attributes. The user-exclusive gallery subunit 138 is used to classify and integrate creative works according to the user's preferences to form a user-exclusive gallery for easy viewing. Among them, the function code for users to add exclusive gallery paintings is as follows: * Load the user's favorite painting data * Use the loadDrawings function in utils.js * / loadMyLikes: async function () { try { / / Define the query condition to get the paintings whose likedBy contains the current user's openid const queryConditions = { likedBy: this.data.openid }; const myLikes = await utils.loadDrawings(this.data.openid,queryConditions); / / Format the creation time of each painting const formattedMyLikes = myLikes.map(drawing =>({ ...drawing, time: utils.formatTime(new Date(drawing.createTime)), })); / / Sort by creation time (newest first) formattedMyLikes.sort((a, b) => new Date(b.createTime) - newDate(a.createTime)); this.setData({ myLikes: formattedMyLikes }); console.log("My likes data loaded successfully:", formattedMyLikes); } catch (error) { console.error("Failed to load my favorite data:", error); wx.showToast({ title: 'Failed to load my favorite data', icon: 'none', duration: 2000.

[0035] In this embodiment, the cloud service layer 2 mainly supports the operation of the entire system through four core services: cloud function module 21, cloud database module 22, cloud storage module 23 and data storage module 24. Among them, the cloud function module 21 is mainly used to implement the core business functions of the user management unit 211, the work management unit 212 and the data statistics unit 213; in terms of server-side technology selection, the WeChat cloud development platform is adopted as the overall solution. As a modern Serverless architecture, the cloud development platform has many advantages: first, it provides complete back-end service capabilities, and the development team does not need to build and maintain server infrastructure by themselves; second, the Serverless architecture has good scalability and cost-effectiveness, and can automatically expand and shrink according to actual access volume; finally, the platform provides a complete security mechanism that can effectively protect user data and system security. Among them, the cloud function entry calls the function code as follows: cloudfunctions / getImageList / index.js / / Cloud function entry file index.js const cloud = require('wx-server-sdk') cloud.init() / / Cloud function entry function exports.main = async (event, context) =>{ const { path} = event; if (!path) { return { code: 400, message: 'Path parameter is required' }; } try { const MAX_LIMIT = 100; const { fileList} = await cloud.listFiles({ env: cloud.DYNAMIC_CURRENT_ENV, prefix: path / / Use the passed path parameter }); const res = await cloud.getTempFileURL({ fileList: fileList.map(file =>file.fileID) }); return { code: 200, data: res.fileList }; } catch (error) { return { code: 500, message: error.message.

[0036] Among them, the cloud database module 22 is used to adopt the NoSQL architecture and provide a flexible data storage solution. The cloud storage module 23 is mainly responsible for handling the storage and access requirements of various resource files including work pictures. The data storage module 24 includes a user data unit 241, a work data unit 242 and a statistical data unit 243. The user data unit 241 is used to store a collection of personal information, including nicknames and avatars, fans, the number of likes, and representative paintings; the work data unit 242 is used to store a collection of work information, including the serial number, title, date, and thumbnail information of the work. Long pressing the corresponding work can save the pictures of these historical works locally; the statistical data unit 243 is used to record and store the number of works published by individuals and the number of likes of the corresponding works. The NoSQL database service provided by the cloud development platform is used for data storage. This choice is mainly based on the following considerations: first, the NoSQL database has a more flexible data model, which is particularly suitable for processing unstructured data such as expression works; second, the cloud database service provides automatic expansion capabilities, which can dynamically adjust resource configuration as the amount of data grows; finally, the service has good integration with other cloud development components and can achieve seamless docking.

[0037] The data flow of the intervention system follows a strict process design; when the user operates on the interface, the system first updates the status locally to ensure real-time response of the operation; then the data is persisted to the cloud database through cloud functions, and the resource files are stored in the cloud storage when necessary; finally, the processing results are returned to the client to complete the interface update. The system provides personalized feedback to users by analyzing the user's emotion selection and coloring results, helping them to continuously optimize their emotion recognition and expression capabilities in long-term use. The first round of user testing showed that the system has advantages in simplicity and ease of use, and users can operate and understand it smoothly. The underlying logic of the system has been recognized by some users. Data charts show that users' emotion recognition and expression capabilities have improved after using the system. User evaluations and case sharing reflect the emotional training effect of the system, and users actively participate and give positive feedback.

[0038] In terms of the choice of client development framework, the project uses the WeChat Mini Program native framework for development. This choice is mainly based on the following considerations: First, the native framework has significant advantages in performance, especially in scenarios with high performance requirements such as Canvas drawing; second, WeChat officially provides complete development documents and supporting tools, which can significantly improve development efficiency; finally, using the native framework can ensure better platform compatibility and reduce potential compatibility issues.

[0039] A method for an alexithymia intervention system based on emotion creation and sharing, using the above intervention system, comprises the following steps: S1: Start the system: In the WeChat client, the user searches for the mini-program name, scans the mini-program code, or finds and clicks to open the system through WeChat chat history or the mini-program entrance on the discovery page, and enters the system homepage through the account and password authentication function. The user selects the emotion color wheel on the system page; S2: Emotion Recognition: Users select the color that best represents their own emotions on the emotion color wheel. The color selection result is reflected in the coloring work, providing a basis for subsequent emotion recognition training. When clicking on a color, the color will appear in the three corresponding buttons below. If you want to withdraw or redo, the user can click the Undo and Redo buttons in the blue block above, and click the Confirm button to confirm after the selection. The three progress bars at the bottom represent the entire painting process, which has a prompt and guiding role. For details, please refer to Figure 4 As shown; S3: Emotion source selection: Users can select the pixel Emoji image coloring box that best represents the source of their emotions based on their own cognition and judgment; after clicking the coloring box, a Confirm button will appear below, click it to proceed to the next step; Figure 5 As shown; S4: Emotional expression: Users can use the emotional attribute color selected in step S2 to fill the Emoji image coloring box selected in step S3 to freely express their emotions; the user enters the drawing board and starts painting; 1) Click the brush and eraser icons at the top to switch between them, and the selected one will have an orange background; slide to change the brush stroke size, and the size of the slider dot serves as a prompt for the brush stroke size; 2) Click the three color buttons below to switch the drawing color; the switched color icon will enlarge; 3) Start painting, the brush stroke will not overflow the coloring box, and the rest of the painting process in the box is left to the user. The user can give full play to his imagination and pour his emotions into the work; as shown in the following figure: Figure 6 As shown; S5: Work Record: After the user finishes coloring, he or she can choose to save the results of his or her emotional graffiti to the personal emotional archive; and can review the personal history record; at the same time, the system will provide regular feedback based on the user's emotional selection and works to help the user understand the progress of emotion recognition; S6: Work sharing: After the user completes coloring, he or she can also upload it to the Emoji community unit for sharing, which is used to display and share the Emoji images colored by multiple users, and at the same time help users in the Emoji community to like and comment on other people's Emoji image tags; as shown in 8.

[0040] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An alexithymia intervention system based on emotion creation and sharing, characterized by: The intervention system is divided into two parts in terms of architecture: the client layer and the cloud service layer. The client layer adopts a three-layer architecture, including the user interface layer, the business logic layer and the data access layer. The user interface layer implements the core page display logic including the home page, the creation page and the community page through a carefully designed page component module. The page component module also includes an emotional color wheel module and an Emoji scene library module. The emotional color wheel module is used to set an emotional color wheel to divide emotions into two dimensions: pleasure and displeasure, and calmness and excitement, and use the emotional symbolism of colors to reduce the difficulty of users in choosing emotional types. The Emoji scene library module is used to provide a rich source of social situations through carefully selected high-frequency and high-emotional polarity Emojis to help players identify the source of emotions. The business logic layer, as the core of the system, includes three important modules: the painting engine module, the state management module, and the tool management module. The painting engine module is based on Canvas 2D technology and implements key functions including brush algorithm, color mixing, and layer management. The painting engine module also includes an interactive coloring module, which is used to help players identify, record, and express their emotions by selecting emotional colors, selecting Emoji coloring boxes related to emotions, and freely coloring. The state management module adopts a hierarchical management strategy to ensure the predictability and consistency of data flow. The tool management module is used to uniformly manage various painting tools and provide a flexible expansion mechanism. The data access layer is mainly responsible for processing data access operations; this layer mainly completes the local data caching mechanism and optimizes the performance of frequently accessed data; at the same time, by encapsulating a unified network request interface, it implements the request retry and error handling mechanism; in terms of file operations, this layer is also mainly responsible for processing the read and write operations of local files, and managing the upload and download functions of files; the data access layer also includes an online interactive community module, which is used to allow players to browse and interact with other people's emotional works, promote emotional sharing and group healing; The cloud service layer mainly supports the operation of the entire system through four core services: cloud function module, cloud database module, cloud storage module and data storage module; among them, the cloud function module is mainly used to realize the core business functions of user management unit, work management unit and data statistics unit; the cloud database module is used to adopt NoSQL architecture and provide flexible data storage solutions; the cloud storage module is mainly responsible for handling the storage and access requirements of various resource files including work pictures; the data storage module includes user data unit, work data unit and statistical data unit; the user data unit is used to store a collection of personal information, including nicknames and avatars, fans, number of likes, and representative paintings; the work data unit is used to store a collection of work information, including the serial number, title, date, and thumbnail information of the work. Long pressing the corresponding work can save the pictures of these historical works locally; the statistical data unit is used to record and store the number of works published by individuals and the number of likes for the corresponding works.

2. The alexithymia intervention system based on emotion creation and sharing as claimed in claim 1, characterized in that: The emotion color wheel module includes a plurality of emotion color units. The user selects the color that best represents his or her emotion on the emotion color wheel. The color selection result is reflected in the coloring work, providing a basis for subsequent emotion recognition training.

3. The alexithymia intervention system based on emotion creation and sharing as claimed in claim 2, characterized in that: The Emoji scene library module is composed of multiple Emoji image units, each of which corresponds to an emotion coloring box. Users can choose the pixel Emoji image coloring box that best represents the source of their emotions based on their self-cognition and judgment, and fill it in to express their emotions freely.

4. The alexithymia intervention system based on emotion creation and sharing as claimed in claim 3, characterized in that: The online interactive community module also includes a page display unit, an image storage unit, an image transmission unit and an Emoji community unit; The page display unit is used to define emotional color nodes and Emoji image nodes as labels, and display them on the page in the form of tabs. Click different labels to display and view the emotional status of different nodes; the image storage unit is used to help players preview and save completed Emoji images. At the same time, the user's emotional selection and coloring works will be centrally stored to form a personal emotional archive, and personal historical records can be reviewed; at the same time, the system will provide regular feedback based on the user's emotional selection and works to help users understand the progress of emotion recognition; the image transmission unit is used to help users upload their own colored Emoji images to the Emoji community unit through the HTTPS secure transmission protocol; the Emoji community unit is used to display and share the Emoji images colored by multiple users themselves to promote emotional sharing and the improvement of social skills.

5. The alexithymia intervention system based on emotion creation and sharing as claimed in claim 4, characterized in that: The image storage unit also includes a personal work management subunit, a creation data statistics subunit, a personalized recommendation subunit and a user-exclusive gallery subunit; the personal work management subunit is used to count and display personal creations, and has the functions of keyword query search, modification and one-key deletion; The creation data statistics subunit is used to collect data statistics of the creation works and display the data in real time; the personalized recommendation subunit is used to make personalized recommendations and displays based on the user's preference attributes; The user-specific gallery subunit is used to classify and integrate the works according to the user's preferences to form a user-specific gallery for easy viewing.

6. The alexithymia intervention system based on emotion creation and sharing as claimed in claim 5, characterized in that: The Emoji community unit also includes an interactive sub-unit, which is used to help users in the Emoji community to like, comment on and collect other people's Emoji image tags, and to check the latest developments of the community in a timely manner through a real-time data synchronization function, and supports online reminders and keyword search functions.

7. The alexithymia intervention system based on emotion creation and sharing as claimed in claim 6, characterized in that: The interactive coloring module also includes a free creation unit and a template creation unit; the free creation unit is mainly used to help users freely express themselves on a blank canvas; the template creation unit is used to help users select preset expression templates for creation; at the same time, in either the free creation unit or the template creation unit, users can use color selectors and toolbars to assist in creation.

8. The alexithymia intervention system based on emotion creation and sharing as claimed in claim 7, characterized in that: The user interface layer also includes a color selector, a toolbar, a custom component module of a canvas controller, and a Canvas module, wherein the Canvas mainly uses the native Canvas 2D technology of the WeChat applet to achieve high-performance painting functions.

9. The alexithymia intervention system based on emotion creation and sharing as claimed in claim 8, characterized in that: The page component module also includes a user authentication module, which mainly uses the native login component provided by the WeChat applet to enter the login page and is responsible for processing the user's identity authentication and authorization; at the same time, after the user logs in successfully, he will be directed to the application homepage to start the creation journey.

10. A method for an alexithymia intervention system based on emotion creation and sharing, using the intervention system according to any one of claims 1 to 9, characterized in that: The steps include: S1: Start the system: In the WeChat client, the user searches for the mini-program name, scans the mini-program code, or finds and clicks to open the system through WeChat chat history or the mini-program entrance on the discovery page, and enters the system homepage through the account and password authentication function. The user selects the emotion color wheel on the system homepage; S2: Emotion recognition: Users select the color that best represents their emotions on the emotion color wheel. The color selection result is reflected in the coloring work, providing a basis for subsequent emotion recognition training. When clicking a color, the color will appear in the 3 corresponding buttons below; If you want to undo or redo, you can click the Undo and Redo buttons in the blue block above. After selecting, click the Confirm button to confirm. The three progress bars at the bottom represent the entire painting process, which serve as prompts and guides. S3: Emotion source selection: Users can select the pixel Emoji image coloring box that best represents the source of their emotions based on their self-cognition and judgment; After clicking the coloring box, a Confirm button will appear below. Click it to proceed to the next step. S4: Emotional expression: Users can use the emotional attribute color selected in step S2 to fill the Emoji image coloring box selected in step S3 to express their emotions freely; users enter the drawing board and start painting; 1) Click the brush and eraser icons at the top to switch between them, and the selected one will have an orange background; slide to change the brush stroke size, and the size of the slider dot serves as a reminder of the brush stroke size; 2) Click the three color buttons below to switch the drawing color; the switched color icon will be enlarged; 3) Start painting, the brush stroke will not overflow the coloring box, and the rest of the painting process in the box is left to the user. Users can give full play to their imagination and pour their emotions into the work; S5: Work Record: After the user finishes coloring, he or she can choose to save the results of his or her emotional graffiti to the personal emotional archive; and can review the personal history record; at the same time, the system will provide regular feedback based on the user's emotional selection and works to help the user understand the progress of emotion recognition; S6: Work Sharing: After the user completes coloring, he or she can also upload it to the Emoji community unit for sharing, which is used to display and share the Emoji images colored by multiple users. At the same time, it helps users in the Emoji community to like and comment on other people's Emoji image tags.