Digital human interaction control method, system and device based on screen recognition
By building the application system knowledge graph and function search tree, digital human technology can independently plan interaction paths, solve the problem of inability to perform complex system operations in the existing technology, and realize flexible and efficient interactive control of the smart park management system.
Patent Information
- Application Number
- CN202510550543.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-04-29
AI Technical Summary
The existing digital human technology cannot achieve complex system operation and interface control in the smart park management system, and the smart assistant has poor adaptability to different application systems, which limits its wide application in smart park scenarios.
By building an application system knowledge graph, obtaining user input data for intent classification, capturing interface images for semantic segmentation, generating key-value dictionaries and building a functional search tree, generating operation instruction sequences, and realizing anthropomorphic operations.
It improves the flexibility and applicability of digital human interaction control, enables the system to independently plan interaction paths, completes complex system operations and interface control, and reduces user learning costs and usage thresholds.
Smart Images

Figure CN120066282B_ABST
Abstract
Description
Background Art
[0002] In the prior art, the intelligent park management system usually adopts digital human technology to realize voice interaction between users and anthropomorphic images. However, the existing digital human technology is mainly based on speech recognition and natural language processing, enabling users to obtain park data through voice commands, such as the number of visitors, vehicle access records, etc. However, this voice interaction-based method is limited to data query and cannot directly execute system operations, such as modifying the status of park equipment, adjusting access control permissions, or managing the parking system. Since such tasks usually involve complex interface operations and multi-step processes, the traditional voice-driven method is difficult to meet higher-level control requirements.
[0003] In addition, existing intelligent assistants usually rely on interfaces pre-opened by software. Due to the large differences in interface rules among various application systems, the adaptability of intelligent assistants to different applications is poor, and it is difficult to achieve unified automated operations. The above problems limit the wider promotion and application of digital human technology in the intelligent park scenario. Therefore, there is an urgent need to provide a more flexible and general digital human interaction control method to achieve more efficient interaction and control of the intelligent park management platform.
[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure. Therefore, it may include information related to technologies that are not known to those of ordinary skill in the art. Summary of the Invention
[0005] The purpose of the embodiments of the present disclosure is to provide a digital human interaction control method based on screen recognition, a digital human interaction control system based on screen recognition, an electronic device, and a computer-readable storage medium, thereby at least to some extent improving the flexibility and applicability of the digital human interaction control method.
[0006] Other features and advantages of the present disclosure will become apparent through the following detailed description, or be learned in part through the practice of the present disclosure.
[0007] According to the first aspect of the embodiments of the present disclosure, a digital human interaction control method based on screen recognition is provided. The method includes: constructing an application system knowledge graph based on the information parsing of the application system; obtaining user input data, and classifying the intent of the user input data based on the application system knowledge graph; in response to the result of the intent classification being a system operation type intent, capturing the interface image of the current screen, and performing semantic segmentation on the interface image to generate a key-value dictionary containing the function description and coordinate position of the interface component, and constructing an application system function search tree based on the key-value dictionary; generating an operation instruction sequence from the current page to the target function page based on the application system knowledge graph and the application system function search tree, and performing anthropomorphic operations according to the operation instruction sequence.
[0008] In some embodiments of the present disclosure, based on the foregoing solutions, the digital human interaction control method based on screen recognition further includes: in response to the result of the intention classification being an inquiry and answer type intention, extracting keywords from the user input data, and generating a database query instruction based on the keywords; obtaining query result data based on the query instruction, and using a multimodal large model to parse and generate natural language for the query result data to generate corresponding reply content.
[0009] In some embodiments of the present disclosure, based on the foregoing solutions, constructing an application system knowledge graph based on the information parsing of the application system includes: extracting buttons, form fields and their hierarchical relationships from the function description documents, user manuals, and interface elements of the application system, and performing semantic annotation on the UI icons, texts, and coordinate information of the buttons and form fields; using a pre-trained model to perform entity recognition on the semantically annotated text data, and extracting the object-verb structure relationship of the text data through dependency syntactic analysis; based on the result of the object-verb structure relationship extraction, constructing the application system knowledge graph including entity types, relationship types and attribute constraints.
[0010] In some embodiments of the present disclosure, based on the foregoing solutions, obtaining user input data and performing intention classification on the user input data based on the application system knowledge graph includes: collecting text data, image data and voice data input by the user to generate multimodal input data; extracting keywords from the multimodal input data, and retrieving function, operation and entity information associated with the keywords based on the application system knowledge graph; inputting the retrieval result and the multimodal input data into a pre-trained classification model to generate an intention classification result.
[0011] In some embodiments of the present disclosure, based on the foregoing solutions, performing semantic segmentation on the interface image to generate a key-value dictionary including the function description and coordinate position of the interface component, and constructing an application system function search tree based on the key-value dictionary includes: performing semantic segmentation on the interface image to determine the target area corresponding to each interface component; extracting the text feature and icon feature of the target area to generate a key-value dictionary of the function description and coordinate position of each interface component; constructing nodes of the application system function search tree based on the key-value dictionary, and gradually expanding the nodes according to the interaction operation to generate the application system function search tree.
[0012] In some embodiments of the present disclosure, based on the foregoing solution, extracting the text features and icon features of the target area to generate a key-value dictionary of the function description and coordinate position of each interface component includes: performing optical character recognition on the target area to obtain a text feature vector; using a convolutional neural network to extract image features of the icons in the target area to generate an icon feature vector; fusing the text feature vector and the icon feature vector to generate a fused feature vector; calculating the function category of the interface component based on the fused feature vector: , where represents the classifier weight matrix, represents the classifier bias term, represents the normalization function, represents the th function category of the interface component, represents the fused feature vector; combining the function category and the coordinate position of the target area to generate a key-value dictionary of the function description and coordinate position of the interface component.
[0013] In some embodiments of the present disclosure, based on the foregoing solution, constructing nodes of the application system function search tree based on the key-value dictionary and gradually expanding the nodes according to interaction operations to generate the application system function search tree includes: using the function category in the key-value dictionary as the function search tree node identifier and the coordinate position as the node attribute to construct function search tree nodes; after performing corresponding interaction operations on the function search tree nodes, updating the interface image and generating a new key-value dictionary to expand new function search tree nodes; connecting the newly generated function search tree nodes to the existing function search tree nodes and gradually expanding to construct a complete application system function search tree.
[0014] In some embodiments of the present disclosure, based on the foregoing solution, generating an operation instruction sequence from the current page to the target function page based on the application system knowledge graph and the application system function search tree includes: obtaining the keywords corresponding to the target function page according to the system operation class intention; retrieving in the application system knowledge graph based on the keywords to obtain the entities, relationships, and attributes associated with the keywords; inputting the keywords, the entities, relationships, and attributes, and the application system function search tree into a multi-modal large model to generate an operation path from the current page to the target function page; generating a corresponding operation instruction sequence according to the operation path.
[0015] According to a second aspect of the embodiments of the present disclosure, there is provided a digital human interaction control system based on screen recognition, the system comprising: a knowledge graph module for constructing an application system knowledge graph based on the information parsing of an application system; an intent classification module for obtaining user input data and classifying the intent of the user input data based on the application system knowledge graph; a screen capture module for capturing an interface image of the current screen in response to the result of the intent classification being a system operation type intent, performing semantic segmentation on the interface image to generate a key-value dictionary containing the function description and coordinate position of the interface components, and constructing an application system function search tree based on the key-value dictionary; an interaction execution module for generating an operation instruction sequence from the current page to the target function page based on the application system knowledge graph and the application system function search tree, and performing anthropomorphic operations according to the operation instruction sequence.
[0016] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device comprising: a processor; and a memory, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor, the above-mentioned digital human interaction control method based on screen recognition is implemented.
[0017] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned digital human interaction control method based on screen recognition is implemented.
[0018] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0019] In the digital human interaction control method based on screen recognition in the exemplary embodiments of the present disclosure, on the one hand, based on the information parsing of the application system, an application system knowledge graph is constructed, enabling the system to extract and organize the function information, operation logic, and interface structure of the application system. By parsing the information of the application system, a structured knowledge graph is formed, enabling the system to generalize the function levels in different application environments and providing a basis for subsequent interactions, thereby supporting the semantic understanding and task classification of user input data. On the other hand, user input data is obtained, and the intent of the user input data is classified based on the application system knowledge graph, enabling the system to distinguish user interaction requirements and match corresponding processing methods, ensuring the pertinence and accuracy of subsequent operations.
[0020] On the other hand, in response to the result of intent classification being a system operation type intent, capture the interface image of the current screen, and perform semantic segmentation on the interface image to generate a key-value dictionary containing the function descriptions and coordinate positions of the interface components, enabling the system to parse the interface information and identify the operable components. Through interface image analysis and component segmentation, the system can directly extract interface elements from the screen content without additional data input and establish an operation mapping relationship to provide visual recognition support for interaction execution. Further, based on the application system knowledge graph and the application system function search tree, generate an operation instruction sequence from the current page to the target function page, enabling the system to autonomously plan the interaction path and form a coherent operation process. Combining the knowledge graph and the search tree structure of the interface components enables the system to establish functional associations between interfaces and determine the execution path, enabling the interface operations to progress hierarchically, thus ensuring the smooth execution of tasks.
[0021] Finally, perform anthropomorphic operations according to the operation instruction sequence, enabling the system to perform interface operations based on the identified interface information in accordance with the user's interaction method. By identifying the interface components and generating instructions in combination with the operation path, the system can simulate the user's interaction methods such as clicking and inputting to complete the automation control based on screen recognition.
[0022] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and, together with the specification, used to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0024] Figure 1 Schematically shows a flowchart of a digital human interaction control method based on screen recognition according to some embodiments of the present disclosure.
[0025] Figure 2 Schematically shows a flowchart of another digital human interaction control method based on screen recognition according to some embodiments of the present disclosure.
[0026] Figure 3 Schematically shows a block diagram of a digital human interaction control system based on screen recognition according to some embodiments of the present disclosure.
[0027] Figure 4 Schematically shows a structural diagram of a computer system of an electronic device according to some embodiments of the present disclosure.
[0028] Figure 5 A schematic diagram showing a computer-readable storage medium according to some embodiments of the present disclosure is schematically illustrated.
[0029] In the drawings, the same or corresponding reference numerals denote the same or corresponding parts. Detailed implementation manners
[0030] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with this specification. On the contrary, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
[0031] The terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit this specification. The singular forms "a", "the", and "said" used in this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0032] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".
[0033] The exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more complete and comprehensive, and will fully convey the concept of the exemplary embodiments to those skilled in the art.
[0034] In addition, the drawings are only schematic diagrams and are not necessarily drawn to scale. The block diagrams shown in the drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0035] In related technologies, the intelligent park management system usually relies on digital human technology to achieve information communication between users and the system through voice interaction, mainly for querying and broadcasting park situation data. However, this type of technology only supports data query based on preset instructions and cannot deeply control and operate the management system. For example, users can obtain park access records through voice commands, but cannot directly adjust the device status, such as setting the vehicle barrier to be normally closed, resulting in great limitations when digital humans perform actual management tasks.
[0036] At the same time, the related technologies mainly rely on voice and text interactions, and the interaction method with application software is usually based on API calls. However, due to the different API rules of different application systems and the fact that some systems do not open standardized interfaces, it is difficult for AI assistants to adapt to all software, resulting in limited control capabilities, insufficient generalization capabilities, and lack of flexibility. In addition, AI assistants lack the ability to directly understand the content of device screens and cannot recognize and operate UI components when dealing with tasks involving interface interactions, making users still need to complete the search for information or execution of operations manually in specific application programs, restricting the scope of application of automated control. In addition, the related digital human technology only supports data query instructions, relies on background operation when executing command line operations, lacks visual feedback, and users cannot supervise the execution process. At the same time, this method requires a high level of technical ability from users, restricts the use of non-professional users, and further reduces the operability of digital human technology in complex management scenarios.
[0037] To solve all or part of the above technical problems in related technologies, Figure 1 A schematic flowchart of a digital human interaction control method based on screen recognition according to some embodiments of the present disclosure is schematically shown. Refer to Figure 1 As shown, the digital human interaction control method based on screen recognition may include the following steps:
[0038] Step S110, based on the information parsing of the application system, construct an application system knowledge graph; [[ID=...]]
[0039] Step S120, obtain user input data, and classify the intent of the user input data based on the application system knowledge graph;
[0040] Step S130, in response to the result of the intent classification being a system operation type intent, capture the interface image of the current screen, perform semantic segmentation on the interface image to generate a key-value dictionary containing the function description and coordinate position of the interface component, and construct an application system function search tree based on the key-value dictionary;
[0041] Step S140, based on the application system knowledge graph and the application system function search tree, generate an operation instruction sequence from the current page to the target function page, and perform anthropomorphic operations according to the operation instruction sequence.
[0042] In the actual operation process, the digital human interaction control method based on screen recognition in this embodiment first performs information parsing on the application system, extracts system functions, interface structures, and interaction logics, and organizes them into structured data to construct an application system knowledge graph. During this process, the system parses the hierarchical relationships, functional attributes, and associated operations of interface elements to provide a basis for subsequent interactions. After the user initiates an interaction request, the user input data is obtained, and the application system knowledge graph is used to analyze the input data to identify the user's intention. Through semantic parsing and knowledge matching of the input data, the user's intention is classified into different task types to determine the subsequent processing method. When the user's intention belongs to a system operation task, the screen image is captured according to the current interface state, and semantic segmentation is performed on it to extract the functional information and position coordinates of the interface components, generating a key-value dictionary of component function descriptions and coordinates. Based on this key-value dictionary, an application system function search tree is established, enabling the interface components to form a retrievable organization method in the hierarchical structure to support subsequent function positioning and operation path planning.
[0043] On the basis of generating the application system function search tree, combined with the application system knowledge graph, the target function page corresponding to the user's intention is inferred, and based on the association relationship between the current interface state and the target function, an operation instruction sequence from the current page to the target page is generated. By sequentially executing the generated operation instruction sequence, anthropomorphic operations are performed by simulating the user's interaction method to complete task execution. Through this process, the system can achieve automated interaction control of the application system based on the screen content, enabling the user to control the system functions through natural input without relying on preset APIs or manual interface operations, thereby improving the intelligence level of the interaction.
[0044] Next, the digital human interaction control method based on screen recognition in the above exemplary embodiment will be further described.
[0045] In step S110, an application system knowledge graph is constructed based on the information parsing of the application system.
[0046] Among them, the application system can represent a software platform that includes specific functions, operation logics, and interface elements. Information parsing can represent the extraction and analysis of data from the functional description documents, user manuals, and interface elements of the application system to generate structured information. The application system knowledge graph can represent a data structure established based on the information parsing of the application system, which includes the functional relationships, component hierarchies, and interaction rules of the application system and can be used to support the functional understanding and operation reasoning of the application system.
[0047] In some embodiments, based on the information parsing of the application system, an application system knowledge graph is constructed, which specifically includes the following technical steps: extracting buttons, form fields and their hierarchical relationships from the function description documents, user manuals, and interface elements of the application system, and performing semantic annotation on the UI icons, texts, and coordinate information of the buttons and form fields; using a pre-trained model to perform entity recognition on the semantically annotated text data, and extracting verb-object structure relationships from the text data through dependency syntactic analysis; based on the results of the verb-object structure relationship extraction, constructing an application system knowledge graph including entity types, relationship types, and attribute constraints.
[0048] Among them, the function description document can represent the document data used to record the function structure, operation process, and related descriptions of the application system. The user manual can represent the document resources that provide the usage methods, function descriptions, and interaction guidelines of the application system. The interface elements can represent the visual components in the application system interface, including buttons, form fields, UI icons, and text information, etc. The button can represent an interactive component used to trigger a specific function or execute a specific instruction. The form field can represent an interface input area used to input, display, or modify data. The hierarchical relationship can represent the parent-child nesting relationship, superior-subordinate relationship, or the relationship of the operation process sequence, etc. among different user interface components in the structural organization. Entity recognition can represent detecting and classifying the words or phrases with specific semantic attributes from the text data. Dependency syntactic analysis can represent parsing the grammatical relationships between words in the text data based on the syntactic structure to identify semantic dependency relationships such as subject-predicate and verb-object. The verb-object structure relationship can represent the grammatical connection between the verb representing the action and its affected object in the sentence. The entity type can represent different categories of concepts in the knowledge graph, such as functions, operations, or interface components. The relationship type can represent the association methods between different entities in the knowledge graph, such as function calls, interface hierarchies, or data input-output relationships. The attribute constraint can represent the conditions or constraint rules used to limit the entity features in the application system knowledge graph. It shows the structured organization method between interface elements, reflecting the nesting relationship and interaction priority of components.
[0049] Specifically, when constructing the application system knowledge graph, it is first necessary to extract the core information from the function description documents, user manuals, and interface elements of the application system to form a structured knowledge model for describing functions, operations, and data. In the information extraction stage, the interface elements are parsed to extract buttons, form fields and their hierarchical relationships. The UI icons, texts, and coordinate data in the interface are associated, and semantic annotation is combined with the function modules to clarify the functions and interaction logics of different interface elements. This process includes data cleaning, converting the original text and interface information into a machine-processable format, removing redundant information, and segmenting and clause-splitting through natural language processing methods to ensure the accuracy of subsequent analysis.
[0050] After the structured data is generated, a pre-trained model is used to perform entity recognition on the semantically annotated text data, extract key concepts, and match them to predefined entity categories. For interface text and instruction documents, pattern matching techniques are applied to identify specific terms, and statistical methods are combined to improve the recognition accuracy. For the verb and noun structures in the function description, dependency syntactic analysis is adopted to extract the verb-object structure, so as to obtain the relationship between the function operation and the affected object, and construct a preliminary function association network. After the verb-object structure relationship extraction is completed, based on the parsed entity and relationship information, the semantic framework of the knowledge base is defined, and a knowledge representation including entity types, relationship types, and attribute constraints is established. According to the extracted function modules, interface elements, and operation logic, an application system knowledge graph is constructed to support reasoning and query, providing a basis for subsequent user intention recognition and interaction control.
[0051] Exemplarily, when performing entity recognition on the semantically annotated text data, other suitable pre-trained models such as the Bidirectional Encoder Representations from Transformers (BERT) model and the Bidirectional Long Short-Term Memory with Conditional Random Fields (BiLSTM-CRF) model can be used.
[0052] In step S120, user input data is obtained, and the user input data is classified by intention based on the application system knowledge graph.
[0053] Among them, the user input data can represent the interaction information provided by the user in the forms of text, voice, or image, and this information is used to express query requirements or operation instructions. Intention classification can represent the analysis of the user input data to determine the target category it expresses, including various types of interaction requirements such as consultation and answering, system operation, or data query.
[0054] In some embodiments, obtaining user input data and classifying the user input data by intention based on the application system knowledge graph specifically includes the following technical steps: collecting the text data, image data, and voice data input by the user to generate multi-modal input data; extracting the keywords in the multi-modal input data, and retrieving the function, operation, and entity information associated with the keywords based on the application system knowledge graph; inputting the retrieval result and the multi-modal input data into a pre-trained classification model to generate an intention classification result.
[0055] First, collect the text data, image data, and voice data input by the user to generate multi-modal input data. For the text data, perform text preprocessing, including operations such as word segmentation, stop word removal, and word vectorization; for the image data, use optical character recognition (OCR) to extract text information and use a convolutional neural network to extract visual features; for the voice data, use speech recognition to convert speech into text and extract audio features such as Mel-Spectrogram.
[0056] Then, extract keywords from the multi-modal input data and retrieve the function, operation, and entity information associated with the keywords based on the application system knowledge graph. Specifically, use named entity recognition and dependency syntax analysis to extract key entities with semantic information from the text data, match the corresponding nodes in the knowledge graph, and obtain relevant function and operation information. At the same time, for the keyword extraction of image and voice data, combine the text transcription content to ensure the accuracy of knowledge retrieval.
[0057] Next, fuse the retrieval results with the multi-modal input data and input them into a pre-trained classification model to generate an intent classification result. During the fusion process, use a multi-modal fusion method based on the attention mechanism to perform weighted combination of the feature vectors of the text data, image data, and voice data to enhance the complementarity and information relevance of different modal information.
[0058] Specifically, define a multi-modal feature vector set:
[0059]
[0060] Among them, represents the text feature vector, represents the image feature vector, represents the voice feature vector, represents the feature vector of the function, operation, and entity information retrieved from the application system knowledge graph.
[0061] To enhance the interaction of different modal features, use the self-attention mechanism to calculate the weighted representation of each modality:
[0062]
[0063] Among them, represents the attention score of each modality feature, represents the attention weight matrix, represents the bias term, is used to perform normalization processing on different modality features.
[0064] Then, calculate the weighted feature after fusion:
[0065]
[0066] Among them, represents an element-wise weighted operation, represents the fused multi-modal feature vector.
[0067] Subsequently, the fused feature vector is input into a pre-trained classification model for intent prediction, using a classification method based on a fully connected layer:
[0068]
[0069] Among them, represents the final intent classification result, and represent the weights and biases of the hidden layer, and represent the weights and biases of the classification layer, is the activation function, for multi-class classification. Through the above method, not only the fusion of multi-modal information is achieved, but also the importance distribution of different modal information is enhanced by using the attention mechanism, improving the accuracy and robustness of the intent classification result.
[0070] In some embodiments of the present disclosure, when extracting features from the text data and speech data input by the user, the following technical steps can be adopted:
[0071] First, preprocess the text data to ensure data consistency and parsability. The preprocessing of text data includes removing special symbols, punctuation normalization, and case normalization to reduce the impact of noise on subsequent feature extraction. Subsequently, use sub-word level or character level tokenization technology to tokenize the text to improve the model's ability to handle out-of-vocabulary words while maintaining semantic integrity. The tokenized text data is mapped to a high-dimensional vector space, and the text feature vector is defined as follows:
[0072]
[0073] Among them, represents the text feature vector, represents the th word vector, represents the number of words in the text, represents the dimension of the word vector. To enhance text semantic information, pre-trained word vectors or context-dependent dynamic word vectors are used for text representation.
[0074] Furthermore, use a Transformer-based encoding method to perform deep semantic modeling on the text data to capture global dependencies. First, calculate the self-attention representation of the text:
[0075]
[0076] Among them, represents the self-attention weighted matrix of text features, represent the query matrix, key matrix, and value matrix of the text respectively, represents the scaling factor to balance the numerical range. Then, the text features are transformed by a feed-forward neural network to enhance the non-linear expression ability:
[0077]
[0078] Among them, represents the encoded text feature vector, and represent the weight matrix and bias term respectively, represents the non-linear activation function. To retain the order information of the text, positional encoding is further introduced so that the Transformer can perceive the word order information and improve the temporal modeling ability of the model.
[0079] When processing the speech data input by the user, endpoint detection is first performed to determine the start and end times of the speech segment and remove the silent part to ensure the validity of the input speech data. Subsequently, a convolutional neural network or a self-attention model is used to denoise the speech data to remove background noise and improve the clarity of the speech signal. Further, to ensure the consistency of the speech data format, the speech data with different sampling rates is normalized.
[0080] Next, the processed speech data is converted into a time-frequency domain representation, and the short-time Fourier transform is used to transform the speech signal to extract the time-frequency information of the speech signal. To further enhance the time-frequency resolution of the speech features, a Mel filter is used for conversion to obtain Mel spectrogram features: , where represents the Mel spectrogram features, represents the Mel filter matrix, represents the speech signal after STFT transformation.
[0081] Then, an audio pre-trained model is used for feature extraction, and a convolutional front-end is used to extract local features to generate a preliminary embedding:
[0082]
[0083] Among them, is the extracted speech feature vector, is the convolutional kernel, represents the convolutional operation, is the bias term.
[0084] Finally, the Transformer is used to globally model the extracted speech features, and feature transformation is performed through a feed-forward neural network:
[0085]
[0086] Among them, represents the finally extracted speech feature vector, represent the weight matrix and bias term respectively, represents the feature transformation activation function.
[0087] In step S130, in response to the result of intent classification being a system operation type intent, capture the interface image of the current screen, perform semantic segmentation on the interface image, generate a key-value dictionary containing the functional descriptions and coordinate positions of interface components, and construct an application system function search tree based on the key-value dictionary.
[0088] Among them, the interface image can represent the visual content of the current display interface of the application system, including the overall presentation of interface components, text information, and other graphical elements. Semantic segmentation can represent pixel-level analysis of the interface image to distinguish different functional areas and identify information such as the category, text, and position of interface components therein. The functional description of the interface component can represent the specific role of the interface component in the application system, including the interaction functions of components such as buttons, forms, and menus and their associated operations. The coordinate position can represent the spatial position information of the interface component in the interface image, including the center point coordinates, boundary range, or relative position relationship of the component. The key-value dictionary can represent a data structure composed of the functional description of the interface component as the key and the coordinate position as the corresponding value, used to store the functional information of the interface component and its spatial coordinates. The application system function search tree can represent a tree-like structure data model constructed based on the hierarchical relationship and interaction logic of interface components, where each node represents different functional components and their position relationships in the interface to support the retrieval of interface components and the inference of operation paths.
[0089] In some embodiments, performing semantic segmentation on the interface image, generating a key-value dictionary containing the functional descriptions and coordinate positions of interface components, and constructing an application system function search tree based on the key-value dictionary specifically includes the following technical steps: performing semantic segmentation on the interface image to determine the target areas corresponding to each interface component; extracting the text features and icon features of the target areas to generate a key-value dictionary of the functional descriptions and coordinate positions of each interface component; constructing the nodes of the application system function search tree based on the key-value dictionary, and gradually expanding the nodes according to the interaction operations to generate the application system function search tree.
[0090] Specifically, when constructing the application system function search tree, first obtain the current screen image by calling the operating system interface, and input the obtained interface image into the visual recognition module. The visual recognition module performs semantic segmentation on the interface image to determine the target areas corresponding to each interface component, and segments the target areas through a region extraction algorithm so that each area contains only a single interface component or its related text description to ensure the accuracy of subsequent feature extraction. After the target areas are determined, text features and icon features are extracted from the target areas. For the target areas containing text, an optical character recognition method is used to recognize the text information and generate text feature vectors. For the target areas containing icons, a deep learning model is used to extract icon feature vectors to represent their function categories and visual features. By combining the text features and icon features, generate the function descriptions of the interface components, and based on the position information of the target areas, construct a key-value dictionary containing the function descriptions and coordinate positions to form a structured representation of the interface components.
[0091] Subsequently, based on the key-value dictionary, construct the initial nodes of the application system function search tree. Each node of the function search tree corresponds to a target area in the interface, and the node information includes the text recognition result, the icon feature vector, and the position coordinates. By modeling the hierarchical relationship of the interface components, determine the superior-subordinate relationship between the components so that the function search tree can accurately reflect the interface structure. When performing an interaction operation, the system simulates click, input, or other interaction operations according to the coordinate information of the search tree nodes, and after the interface state is updated, performs semantic segmentation and target area recognition of the interface image again to create new function search tree sub-nodes. During the interaction process, by gradually expanding the search tree nodes, continuously record the recognized interface components and their hierarchical relationships in different interface states so that the function search tree can cover the complete application system interface structure. After sufficient interaction operations and interface recognition, finally form a complete representation of the application system function search tree to provide support for subsequent interaction control.
[0092] In some embodiments, extracting the text features and icon features of the target areas and generating a key-value dictionary of the function descriptions and coordinate positions of each interface component specifically includes the following technical steps: performing optical character recognition on the target areas to obtain text feature vectors; using a convolutional neural network to extract image features of the icons in the target areas to generate icon feature vectors; fusing the text feature vectors and icon feature vectors to generate fused feature vectors; calculating the function categories of the interface components based on the fused feature vectors: , where represents the classifier weight matrix, represents the classifier bias term, represents the normalization function, represents the th function category of the interface component. Represents the fused feature vector; combines the function category and the target area coordinate position to generate a key-value dictionary of the function description and coordinate position of the interface component.
[0093] Among them, by using optical character recognition and convolutional neural network to extract the text and icon features of the interface component and perform feature fusion, the integrity and accuracy of component recognition can be improved. The Softmax normalization method is used to calculate the function category to achieve automatic classification of the components. Combining the classification result with the coordinate information to generate a key-value dictionary associates the function description of the interface component with the spatial position information, providing structured support for subsequent interface interaction and automated operation.
[0094] In some embodiments, nodes of the application system function search tree are constructed based on the key-value dictionary, and the nodes are gradually expanded according to the interaction operations to generate the application system function search tree, which specifically includes the following technical steps: using the function category in the key-value dictionary as the identifier of the function search tree node and the coordinate position as the node attribute to construct the function search tree node; after performing corresponding interaction operations on the function search tree node, updating the interface image and generating a new key-value dictionary to expand new function search tree nodes; connecting the newly generated function search tree nodes to the existing function search tree nodes and gradually expanding to construct a complete application system function search tree.
[0095] Specifically, when constructing the application system function search tree based on the key-value dictionary, first, use the function category in the key-value dictionary as the identifier of the function search tree node and the corresponding coordinate position as the attribute of the node to create the initial function search tree node. This node contains the function description, coordinate information, and interaction type of the interface component, providing a basis for subsequent interface structure modeling. When performing interaction operations, according to the identifier information of the current function search tree node, simulate user input, click, or other interaction methods to change the interface. After the interaction operation is completed, re-capture and parse the updated interface image to generate a new key-value dictionary. The new key-value dictionary contains the function component information on the current interface and its coordinate position, providing a basis for the dynamic expansion of the function search tree. Subsequently, generate new function search tree nodes based on the new key-value dictionary and determine their association relationship with the existing nodes. If the newly generated node represents a component at the same function level, it is associated as a child node of the current node; if it represents a change in the interface level, a cross-level link is established to ensure that the search tree can accurately reflect the interface structure and function navigation path. By repeatedly performing interaction operations, interface updates, and search tree expansions, the newly generated function search tree nodes are gradually connected to the existing function search tree, gradually improving the entire search structure. After multiple rounds of iteration, a complete application system function search tree is finally formed.
[0096] In addition, in other embodiments of the present disclosure, when the result of intent classification is a Q&A intent, keywords are extracted from the user input data, and a database query instruction is generated based on the keywords; query result data is obtained based on the query instruction, and a multimodal large model is used to parse and generate natural language for the query result data to generate corresponding reply content. Among them, the keyword can represent the core vocabulary or phrase extracted from the user input data for matching relevant content in the database. The database query instruction can represent a standardized query statement generated based on the extracted keywords, and this statement can be used to retrieve relevant information in the database to obtain query result data. The multimodal large model can represent a deep learning model trained based on multiple data types, such as text, images, speech, etc.
[0097] Specifically, when the result of intent classification is a Q&A intent, first, keywords are extracted from the user input data. Through natural language processing techniques, the user input data is tokenized, stop words are removed, and part-of-speech tagging is performed to extract the core keywords with semantic information, and based on the API interface rules of the application system, standardized query parameters available for database query are determined. After obtaining the keywords, a database query instruction is generated according to the API rules of the application system. The query interface of the park system database is called to map the extracted keywords to the database query statement to match relevant information in the database. The database query instruction can adopt the structured query language (SQL) or the data request format based on the API to ensure that query result data meeting the user's needs can be obtained.
[0098] After the database query instruction is executed, query result data is obtained. The returned data is preprocessed, including format conversion, deduplication, sorting, and aggregation, to meet the user's query requirements. If the query result contains numerical values, statistical information, or time-series data, further data visualization processing is performed to generate charts or data summaries suitable for intuitive display. The processed query result data is input into the multimodal large model, and the multimodal large model parses and generates natural language for the query result data. The multimodal large model performs semantic analysis on the structured or unstructured query result data, extracts key information, and generates natural language text reply content that conforms to the user's intent based on context reasoning. If the query result data contains images, charts, or other visual data, the model will generate a supporting visual reply in combination with the text information. Finally, the generated reply content is fed back to the user in different forms. The full reply content is presented through the screen window, including detailed text descriptions and visual data, such as icons, charts, or tables. At the same time, the key information in the reply content is extracted to generate a simplified content summary, which is broadcast by a digital human in voice to enable the user to quickly obtain the key answers.
[0099] In step S140, based on the application system knowledge graph and the application system function search tree, an operation instruction sequence from the current page to the target function page is generated, and anthropomorphic operations are performed according to the operation instruction sequence. The operation instruction sequence can represent a sequence composed of multiple sequentially arranged operation instructions. This sequence is generated based on the application system knowledge graph and the application system function search tree and is used to guide the execution path of interface operations. Anthropomorphic operations can represent automated interactions performed based on the operation instruction sequence, including simulating user conventional interaction methods such as mouse clicks, keyboard inputs, touch operations, or interface scrolling to achieve control of the application system.
[0100] In some embodiments, generating an operation instruction sequence from the current page to the target function page based on the application system knowledge graph and the application system function search tree specifically includes the following technical steps: According to the system operation type intention, obtain the keywords corresponding to the target function page; Retrieve in the application system knowledge graph based on the keywords to obtain the entities, relationships, and attributes associated with the keywords; Input the keywords, entities, relationships, and attributes into a multi-modal large model together with the application system function search tree to generate an operation path from the current page to the target function page; Generate a corresponding operation instruction sequence according to the operation path.
[0101] Specifically, when generating the operation instruction sequence, first, according to the system operation type intention, parse the user input data and obtain the keywords corresponding to the target function page. The keywords can be extracted from the instruction text input by the user or inferred based on a semantic parsing model to ensure the accuracy of the match. Subsequently, perform a retrieval in the application system knowledge graph based on the keywords to obtain the entities, relationships, and attributes associated with the keywords. Entities can represent function modules, menu items, or interface components in the application system. Relationships can represent the association methods between different function components, such as hierarchical structures or interaction paths. Attributes can include information such as menu types, supported operations, and access conditions. Through this retrieval process, construct the knowledge representation of the target function page to support path reasoning.
[0102] After the retrieval is completed, the keywords, retrieved content, and application system function search tree are input into the multi-modal large model. The multi-modal large model combines the entity relationship information provided by the knowledge graph and the hierarchical structure of the function search tree to infer the operation path from the current page to the target function page. This path may include multiple intermediate interaction steps to ensure a smooth navigation from the current interface to the target function page, and the page hierarchical relationship and interaction rules are combined during the inference process to optimize the rationality of the operation path. Finally, a corresponding operation instruction sequence is generated according to the operation path. The operation instruction sequence includes specific operations such as clicks, inputs, scrolls, etc. required for interface interaction, and is arranged in the order of page flow. The system performs anthropomorphic operations according to the instruction sequence to achieve automated interaction from the current page to the target function page, thereby accurately executing the system operations corresponding to the user's intention.
[0103] In addition, referring to Figure 2 As shown, in other embodiments of the present disclosure, another digital human interaction control method based on screen recognition is also provided, which specifically includes the following steps:
[0104] Step S201, user voice input. Specifically, the user issues an instruction to the digital human assistant through voice input, and the instruction may involve data query or system operation.
[0105] Step S202, the large model obtains the user's intention. Specifically, the multi-modal large model analyzes the user's voice input to extract key information.
[0106] Step S203, perform instruction classification. Specifically, the application system knowledge graph classifies the user input for intention to determine whether the input belongs to an inquiry and answer type intention or a system operation type intention. If the instruction belongs to the inquiry and answer type, it enters the inquiry and answer process and jumps to step S204. If the instruction belongs to the system operation type, it enters the system operation process and jumps to step S208.
[0107] Step S204, call the database query interface and the system knowledge graph interface. Specifically, when the instruction classification result is an inquiry and answer type intention, keywords are extracted from the user input data, and a database query instruction is generated based on the keywords. Subsequently, the database query interface is called to obtain the query result data, and the data is input into the multi-modal large model for analysis and processing.
[0108] Step S205, the large model analyzes the query data. Specifically, based on the query results returned by the database, the multi-modal large model is used for data parsing, and the user's query intention is inferred in combination with the system knowledge graph to generate a natural language reply that meets the user's needs.
[0109] Step S206, generate a response content. Specifically, the multimodal large model generates a natural language response that can be understood by the user based on the query data and the semantic analysis results, and enhances the information presentation effect by combining visual data.
[0110] Step S207, the digital human broadcasts / generates the response content. Specifically, the digital human assistant displays the complete information on the screen according to the response content generated in Step S206, and extracts key content for voice broadcast.
[0111] Step S208, call the system interface to take a screenshot. Specifically, when the instruction classification result is a system operation type intention, call the operating system interface to obtain the interface image of the current screen for interface content parsing.
[0112] Step S209, image recognition. Specifically, perform semantic segmentation on the intercepted interface image, extract the function description and coordinate information of the interface components, generate a key-value dictionary to construct a structured representation of the interface components.
[0113] Step S210, determine whether it is the first operation on this page. Specifically, determine whether the current interface is the first operation. If it is the first operation, jump to Step S213; if there is a historical interaction record, jump to Step S211.
[0114] Step S211, determine whether there is a change in the recognition result compared with the function search tree. Specifically, compare the current interface parsing result with the existing function search tree to determine whether the structure of the interface components has changed. If there is no change, jump to Step S214; if there is a change, jump to Step S212.
[0115] Step S212, update the function search tree. Specifically, if the interface components or the hierarchical structure change, update the function search tree to ensure accurate subsequent operation path planning.
[0116] Step S213, create a function search tree for the current page. Specifically, when the interface is the first operation page, construct a function search tree based on the interface parsing result, and record the hierarchical relationship and interaction path of each component.
[0117] Step S214, input the user intention, function search tree, and system knowledge graph into the training large model. Specifically, input the user intention classification result, function search tree, and system knowledge graph into the pre-trained large model, and combine historical data for learning and optimization to improve the future task reasoning ability.
[0118] Step S215: Generate a sequence of screen operation instructions. Specifically, based on the application system knowledge graph, the function search tree, and the predicted path of the target function page, infer the operation path from the current page to the target page, and generate the corresponding operation instruction sequence, including anthropomorphic operation instructions such as clicking and inputting.
[0119] Step S216: Execute the instructions. Specifically, perform interface operations in sequence according to the operation instruction sequence to complete the task requested by the user.
[0120] Step S217: Determine whether all instructions are completed. Specifically, determine whether the currently executed instruction sequence has completed all steps. If not, jump to Step S208. If so, the task execution is completed. When all instructions are executed, the task process ends, and it returns to the standby state, waiting for new user input.
[0121] In the digital human interaction control method based on screen recognition in the exemplary embodiments of the present disclosure, on the one hand, based on the information analysis of the application system, an application system knowledge graph is constructed, enabling the user input data to be associated with the functions, operations, and data of the application system. By parsing the function description documents, user manuals, and interface elements of the application system, buttons, form fields, and their hierarchical relationships are extracted, and combined with semantic annotation and entity recognition methods, they are stored in a structured manner. Use a pre-trained model to perform entity recognition on text data, and extract the verb-object structure relationship through dependency syntactic analysis to clarify the relevance between different interface elements. In the above way, the application system knowledge graph can effectively represent the function hierarchy and component relationships of different application systems, providing a basis for subsequent user intention classification and interface operation planning.
[0122] On the other hand, an application system function search tree is constructed based on a key-value dictionary to establish the hierarchical relationship of interface operations. By using the function categories of interface components as the identification of search tree nodes and combining the coordinate positions to construct the function search tree nodes, the rational organization of different interface components in the tree structure is ensured. In addition, based on the application system knowledge graph and the application system function search tree, an operation instruction sequence from the current page to the target function page is generated to realize the inference of the interaction path. After inputting keywords, entities, relationships, and attributes into the multi-modal large model, combined with the hierarchical relationship of the function search tree, an operation path is generated and further converted into a screen interaction instruction sequence. This method enables the system to simulate user operations, gradually execute interface interactions from the current interface, and realize the automated operation of the target function. Thus, the anthropomorphic control of the management system is realized, reducing the user learning cost and usage threshold. Through operation supervision via the user interface, the risks and potential hazards are reduced compared to back-end operations, ensuring the user's right to know. This method provides a new digital human assistant assistance mode, with higher generalization ability and transferability, without the need for complex API adaptation, and can learn and reason about the operations and controls of a new system based on screen graphics and text.
[0123] It should be noted that although the steps of the methods in the present disclosure are described in a specific order in the drawings, this does not require or imply that these steps must be executed in that specific order, or that all the steps shown must be executed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc.
[0124] Next, in the embodiments of the present disclosure, a digital human interaction control system based on screen recognition is also provided. Referring to Figure 3 as shown, the digital human interaction control system 300 based on screen recognition may be composed of a knowledge graph module 301, an intention classification module 302, a screen capture module 303, and an interaction execution module 304. Among them: the knowledge graph module can be used to construct an application system knowledge graph based on the information parsing of the application system; the intention classification module can be used to obtain user input data and classify the intention of the user input data based on the application system knowledge graph; the screen capture module can be used to capture the interface image of the current screen in response to the result of the intention classification being a system operation type intention, perform semantic segmentation on the interface image, generate a key-value dictionary containing the function description and coordinate position of the interface component, and construct an application system function search tree based on the key-value dictionary; the interaction execution module can be used to generate an operation instruction sequence from the current page to the target function page based on the application system knowledge graph and the application system function search tree, and perform anthropomorphic operations according to the operation instruction sequence.
[0125] In addition, in other embodiments of the present disclosure, the digital human interaction control system based on screen recognition further includes a consultation and Q&A module, which is configured to, in response to the result of the intention classification being a consultation and Q&A type intention, extract keywords from the user input data, and generate a database query instruction based on the keywords; obtain query result data based on the query instruction, and use a multimodal large model to parse and generate natural language for the query result data to generate corresponding reply content.
[0126] It should be noted that the specific details of each part in the above digital human interaction control system based on screen recognition have been described in detail in the embodiments of the digital human interaction control method based on screen recognition. The details not disclosed can be referred to the content of the embodiments of the method, and thus will not be elaborated herein.
[0127] In addition, in an exemplary embodiment of the present disclosure, there is also provided an electronic device capable of implementing the above digital human interaction control method based on screen recognition.
[0128] Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, a method, or a program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which can be collectively referred to as "circuit", "module", or "system" here.
[0129] The following refers to Figure 4 to describe the electronic device 400 according to this embodiment of the present disclosure. Figure 4 The illustrated electronic device 400 is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.
[0130] As Figure 4 shown, the electronic device 400 is presented in the form of a general-purpose computing device. The components of the electronic device 400 may include, but are not limited to: the at least one processing unit 410 described above, the at least one storage unit 420 described above, a bus 430 connecting different system components (including the storage unit 420 and the processing unit 410), and a display unit 440.
[0131] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 410, so that the processing unit 410 executes the steps according to various exemplary embodiments of the present disclosure described in the above "exemplary method" part of this specification.
[0132] The storage unit 420 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 421 and / or a cache storage unit 422, and may further include a read-only storage unit (ROM) 423.
[0133] The storage unit 420 may also include a program / utilities 424 having a set (at least one) of program modules 425. Such program modules 425 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.
[0134] The bus 430 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.
[0135] The electronic device 400 may also communicate with one or more external devices 470 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 400, and / or communicate with any device that enables the electronic device 400 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be carried out through an input / output (I / O) interface 450. Also, the electronic device 400 may communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 460. As shown in the figure, the network adapter 460 communicates with other modules of the electronic device 400 through the bus 430. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0136] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or can be implemented by a combination of software and necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
[0137] In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium, on which a program product capable of implementing the above methods in this specification is stored. In some possible embodiments, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.
[0138] Referring Figure 5 As shown, a program product 500 for implementing the above-described digital human interaction control method based on screen recognition according to an embodiment of the present disclosure is described. It can be in the form of a portable compact disc read-only memory (CD-ROM) and includes program code, and can run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0139] The program product can adopt any combination of one or more readable media. The readable media can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0140] The computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium can also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0141] The program code contained on the readable medium can be transmitted by any appropriate medium, including but not limited to wireless, wired, optical fiber, electromagnetic wave, etc., or any suitable combination of the above.
[0142] Program code for performing the operations of the present disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user's computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).
[0143] From the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
[0144] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily think of other embodiments of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include well-known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.
[0145] It should be understood that the present disclosure is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A digital human interaction control method based on screen recognition, characterized in that, Including: Construct an application system knowledge graph based on the information parsing of the application system; Obtain user input data, and classify the intent of the user input data based on the application system knowledge graph; In response to the result of the intent classification being a system operation type intent, capture the interface image of the current screen, perform semantic segmentation on the interface image, generate a key-value dictionary containing the function description and coordinate position of the interface components, and construct an application system function search tree based on the key-value dictionary; Generate an operation instruction sequence from the current page to the target function page based on the application system knowledge graph and the application system function search tree, and perform anthropomorphic operations according to the operation instruction sequence; Among them, the performing semantic segmentation on the interface image, generating a key-value dictionary containing the function description and coordinate position of the interface components, and constructing an application system function search tree based on the key-value dictionary includes: Perform semantic segmentation on the interface image to determine the target area corresponding to each interface component; Perform optical character recognition on the target area to obtain a text feature vector; use a convolutional neural network to extract image features of the icons within the target area to generate icon feature vectors; fuse the text feature vector and the icon feature vector to generate a fused feature vector; calculate the functional category of the interface component based on the fused feature vector: , where represents the classifier weight matrix, represents the classifier bias term, represents the normalization function, represents the th functional category of the interface component, represents the fused feature vector; combine the functional category and the target area coordinate position to generate a key-value dictionary of the interface component function description and coordinate position; Use the function category in the key-value dictionary as the function search tree node identifier, and the coordinate position as the node attribute to construct function search tree nodes; after performing corresponding interaction operations on the function search tree nodes, update the interface image and generate a new key-value dictionary, expand new function search tree nodes; connect the newly generated function search tree nodes to the existing function search tree nodes, and expand step by step to construct a complete application system function search tree.
2. The digital human interaction control method based on screen recognition according to claim 1, wherein It also includes: In response to the result of the intent classification being a consultation and Q&A type intent, extract the keywords in the user input data, and generate a database query instruction based on the keywords; Obtain query result data based on the query instruction, and use a multimodal large model to parse and generate natural language for the query result data to generate corresponding reply content.
3. The digital human interaction control method based on screen recognition according to claim 1, characterized in that The constructing an application system knowledge graph based on the information parsing of the application system includes: Extract buttons, form fields and their hierarchical relationships from the function description documents, user manuals, and interface elements of the application system, and perform semantic annotation on the UI icons, texts, and coordinate information of the buttons and form fields; Use a pre-trained model to perform entity recognition on the semantically annotated text data, and extract the verb-object structure relationship of the text data through dependency syntactic analysis; Based on the result of the verb-object structure relationship extraction, construct the application system knowledge graph including entity types, relationship types, and attribute constraints.
4. The digital human interaction control method based on screen recognition according to claim 1, wherein, The obtaining user input data and classifying the intent of the user input data based on the application system knowledge graph includes: Collect text data, image data, and voice data input by the user to generate multimodal input data; Extract the keywords in the multimodal input data, and retrieve function, operation, and entity information associated with the keywords based on the application system knowledge graph; Input the retrieval result and the multimodal input data into a pre-trained classification model to generate an intent classification result.
5. The digital human interaction control method based on screen recognition according to claim 1, characterized in that, The generating an operation instruction sequence from the current page to the target function page based on the application system knowledge graph and the application system function search tree includes: Obtain the keywords corresponding to the target function page according to the system operation type intention; Retrieve in the application system knowledge graph based on the keywords, and obtain the entities, relationships, and attributes associated with the keywords; Input the keywords, the entities, relationships, and attributes, and the application system function search tree into the multi-modal large model to generate an operation path from the current page to the target function page; Generate a corresponding operation instruction sequence according to the operation path.
6. A digital human interaction control system based on screen recognition, used to implement the digital human interaction control method based on screen recognition described in any one of claims 1 to 5, characterized in that, Including: A knowledge graph module for constructing an application system knowledge graph based on the information analysis of the application system; An intention classification module for obtaining user input data and classifying the user input data based on the application system knowledge graph; A screen capture module for, in response to the result of the intention classification being a system operation type intention, capturing an interface image of the current screen, performing semantic segmentation on the interface image, generating a key-value dictionary containing the function description and coordinate position of the interface components, and constructing an application system function search tree based on the key-value dictionary; An interaction execution module for generating an operation instruction sequence from the current page to the target function page based on the application system knowledge graph and the application system function search tree, and performing anthropomorphic operations according to the operation instruction sequence.
7. An electronic device, characterized in that, Including: A processor; And A memory for storing the executable instructions of the processor; Wherein, the processor is configured to execute the screen recognition-based digital human interaction control method according to any one of claims 1-5 by executing the executable instructions.
Citation Information
Patent Citations
Intelligent question answering system and method based on knowledge graph
CN115525751A
Corpus labeling method, device and system, knowledge extraction method, device and system and graph construction method, device and system
CN118152577A