Data processing method, device and equipment and readable storage medium

By responding to user input in the application, determining the target data resource from multiple candidate data resources and generating data processing strategies based on their use attributes, the problems of complex access methods and low interaction quality in the prior art are solved, and efficient , improve the quality of diversified user interaction and reply content.

CN119089039APending Publication Date: 2024-12-06BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202411133032.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-18
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

During the creation and operation of applications, the prior art requires pre-creating matching skills and data resource access methods, resulting in low quality of interaction and reply content, and the data resource access methods are single, making it difficult to meet the needs of diverse users.

Method used

By responding to user input, the target data resource is determined from multiple candidate data resources and corresponding data processing strategies are generated based on their purpose attributes, and appropriate data processing strategies are selected to improve interaction quality, such as data analysis or knowledge question and answer strategies.

Benefits of technology

It realizes more efficient data resource matching and interaction, improves user interaction experience and reply content quality, and can flexibly respond to different data uses and query needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089039A_ABST
    Figure CN119089039A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data processing method and device, equipment and a readable storage medium. The method comprises the steps of determining a target data resource from a plurality of candidate data resources based on a user input in response to the received user input; based on the user input and the purpose attribute of the target data resource, reply content corresponding to the user input is generated, and the purpose attribute indicates a data processing strategy for the target data resource. The reply content which better conforms to the data resource interaction logic is generated through the process, and the interaction quality can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to data processing methods, apparatuses, devices, and readable storage media. Background Art

[0002] With the development of information technology, various terminal devices can provide various services to people in work and life. Applications that provide services can be deployed in terminal devices. Terminal devices present corresponding content and interact with users through the user interface of the application to meet various needs of users. In some cases, users may initiate queries within the application. Therefore, how to choose an appropriate response method to improve the quality of query results provided to users is a problem of concern. Summary of the invention

[0003] In a first aspect of the present disclosure, a data processing method is provided. The method is applicable to an application execution stage, and includes: in response to receiving a user input, determining a target data resource from a plurality of candidate data resources based on the user input. Based on the user input and a usage attribute of the target data resource, generating a reply content corresponding to the user input, wherein the usage attribute indicates a data processing strategy for the target data resource.

[0004] In a second aspect of the present disclosure, a data processing method is provided. The method is applicable to an application creation stage, and includes: receiving a selection of at least one data resource from a plurality of types of data resources. Based on the type or usage configuration indication of the selected at least one data resource, configuring a usage attribute of the at least one data resource, wherein the usage attribute indicates a data processing strategy for the data resource.

[0005] In a third aspect of the present disclosure, a task processing device is provided, which is suitable for an application execution stage, and includes: a target data resource determination module, configured to determine a target data resource from a plurality of candidate data resources based on the user input in response to receiving a user input; and a reply content generation module, configured to generate reply content corresponding to the user input based on the user input and a usage attribute of the target data resource, wherein the usage attribute indicates a data processing strategy for the target data resource.

[0006] In a fourth aspect of the present disclosure, a task processing device is provided, which is suitable for an application creation stage, and includes: a data resource selection instruction receiving module, configured to receive a selection of at least one data resource from a plurality of types of data resources; and a usage attribute configuration module, configured to configure a usage attribute of at least one data resource based on the type or usage configuration instruction of the selected at least one data resource, wherein the usage attribute indicates a data processing strategy for the data resource.

[0007] In a fifth aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect.

[0008] In a sixth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the computer program is executed by a processor, the method of the first aspect is implemented.

[0009] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0011] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;

[0012] Figure 2 A block diagram showing a data processing process according to some embodiments of the present disclosure;

[0013] Figure 3 A schematic diagram showing a data resource processing interface according to some embodiments of the present disclosure;

[0014] Figure 4 A block diagram showing a data processing process according to some embodiments of the present disclosure;

[0015] Figure 5A A schematic diagram showing a data resource selection interface according to some embodiments of the present disclosure;

[0016] Figure 5B A schematic diagram showing a data resource upload interface according to some embodiments of the present disclosure is shown;

[0017] Figure 6 A schematic diagram showing a data resource display interface according to some embodiments of the present disclosure is shown;

[0018] Figure 7 A schematic diagram showing the structured information display effect according to some embodiments of the present disclosure;

[0019] Figure 8A schematic diagram showing the display effect of knowledge fragments according to some embodiments of the present disclosure;

[0020] Fig. 9 A schematic diagram showing feedback information related to operation information according to some embodiments of the present disclosure;

[0021] Fig.10 A schematic diagram showing a data resource acquisition interface according to some embodiments of the present disclosure;

[0022] Fig.11 A schematic diagram showing a scenario of data processing according to some embodiments of the present disclosure;

[0023] Fig.12 A schematic structural block diagram of a data processing device according to some embodiments of the present disclosure is shown;

[0024] Fig.13 A schematic structural block diagram showing a data processing device according to some other embodiments of the present disclosure; and

[0025] Fig.14 A block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented is shown. DETAILED DESCRIPTION

[0026] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0027] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0028] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.

[0029] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0030] It is understandable that before using the technical solutions disclosed in each embodiment of the present disclosure, the types, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.

[0031] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.

[0032] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.

[0033] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0034] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multi-layer processing units. A neural network model is an example of a model based on deep learning. In this article, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", and these terms are used interchangeably in this article.

[0035] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. The environment 100 involves an application management platform 110, which can support the creation of applications and / or the running of applications. In some embodiments, the portion of the application management platform 110 that supports the creation of applications can also be referred to as an application creation portion. In some embodiments, the portion of the application management platform 110 that supports the running of applications can also be referred to as an application running portion.

[0036] like Figure 1 As shown, the application creation part can provide an application creation and publishing environment for user 105. User 105 can be referred to as an application creation user or creator. In some embodiments, the application creation part can be a low-code platform that provides a collection of tools for application creation. The application creation part can support visual development of various types of applications, so that developers can skip the manual coding process and speed up the application development cycle and cost. The application creation part can support any appropriate platform for users to develop one or more types of applications, for example, it can include a platform based on Application Platform as a Service (aPaaS). Such a platform can support users to efficiently develop applications and implement operations such as application creation and application function adjustment.

[0037] The application creation part can be deployed locally on the terminal device of user 105, and / or can be supported by a server device. For example, the terminal device of user 105 can run a client of the application creation part, which can support the interaction between the user and the application creation part provided by the server. In the case where the application creation part runs locally on the user's terminal device, the user 105 can directly interact with the local application creation part using the terminal device. In the case where the application creation part runs on the server device, the server device can, based on the communication connection with the terminal device, implement service provision for the client running in the terminal device. The application creation part can present a corresponding interface 130 to the user 105 based on the operation of the user 105, so as to output and / or receive information related to application creation to the user 105.

[0038] In some embodiments, the application creation part can be associated with a corresponding database, which stores data or information required for the application creation process supported by the application creation part. For example, the database can store the code and description information corresponding to each functional module used to constitute the application. The application creation part can also perform operations such as calling, adding, deleting, and updating the functional modules in the database. The database can also store operations that can be performed on different functional blocks. Exemplarily, in a scenario where an application is to be created, the application creation part can call the corresponding functional blocks from the database to build the application.

[0039] In an embodiment of the present disclosure, the user 105 can create a target application 120 as needed on the application creation part and publish the target application 120. The target application 120 can be published to any appropriate application running part, as long as the application running part can support the operation of the target application 120. After publishing, the target application 120 can be used to be operated by one or more end users 145. The end user 145 can be referred to as the end user of the target application 120. In some embodiments, the target application 120 may include or be implemented as a digital assistant 122.

[0040] The digital assistant 122 may be configured to have an intelligent conversation. Figure 1 In the example shown, the digital assistant 122 can be integrated into the target application 120 as a part of the target application 120 to assist in the task processing within the target application 120. In other examples, the digital assistant 122 can be configured as an independently running application, such as a web application or other types of applications. In such an example, the digital assistant 122 and the target application 120 can be regarded as the same application. The digital assistant 122 is provided to assist users with various task processing requirements in different applications and scenarios. During the interaction with the digital assistant 122, the user inputs an interactive message, and the digital assistant 122 provides a reply message in response to the user input. Generally, the digital assistant 122 can support users to input questions in natural language, and perform tasks and provide replies based on the understanding of natural language input and logical reasoning ability.

[0041] In some embodiments, the digital assistant 122 can interact with the end user 145 as a contact of the end user 145. For example, the digital assistant 122 can be implemented in an instant messaging (IM) application. The digital assistant 122 can interact with the end user 145 in a single chat session with the end user 145. In some embodiments, the digital assistant 122 can interact with multiple users in a group chat session including multiple users.

[0042] For each terminal user 145, the client of the application running part can present an interactive window 142 of the target application 120 or the digital assistant 122 in the client interface, such as a conversation window with the digital assistant 122. The terminal user 145 can enter a conversation message in the conversation window, and the target application 120 can determine the reply message of the digital assistant 122 based on the created configuration information and present it to the user in the interactive window 142. In some embodiments, depending on the configuration of the target application 120, the interactive message with the target application 120 may include a message in a multimodal form, such as a text message (e.g., a natural language text), a voice message, an image message, a video message, and the like.

[0043] Similar to the application creation part, the application running part can be deployed locally on the terminal device of each terminal user 145, and / or can be supported by a server device. For example, the terminal device of the terminal user 145 can run a client with an application running part, and the client can support the interaction between the user and the application running part provided by the server. In the case where the application running part runs locally on the user's terminal device, the terminal user 145 can directly use the terminal device to interact with the local application running part. In the case where the application running part runs on the server device, the server device can realize the service supply to the client running in the terminal device based on the communication connection with the terminal device. The application running part can present the corresponding application interface to the terminal user 145 based on the operation of the terminal user 145, so as to output and / or receive information related to the use of the application to the terminal user 145.

[0044] In some embodiments, the implementation of at least part of the functions of the target application 120 and / or the implementation of at least part of the functions of the digital assistant 122 in the target application 120 can be implemented based on the model. During the creation or operation of the target application 120, one or more models 155 can be called, such as the capabilities of the model 155. In the target application 120, the digital assistant 122 can use the model 155 to understand the user input and provide a reply to the user based on the output of the model 155.

[0045] During the creation process, the application management platform 110 needs to use the model 155 to determine whether the operation result of the target application 120 meets expectations when testing the target application 120. During the operation process, in response to different operation requests of the user of the target application 120, the application operation part may need to use the model 155 to determine the response result to the user.

[0046] Although shown as being independent of the application management platform 110, one or more models 155 may run on the application management platform 110, or other remote servers. In some embodiments, the model 155 may be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model may be based on a language model (LM). The language model can have question-answering capabilities by learning from a large amount of corpus. The model 155 may also be based on other appropriate models.

[0047] The application management platform 110 can run on appropriate electronic devices. The electronic devices here can be any type of device with computing capabilities, including terminal devices or server devices. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. In some embodiments, the management platform 110 can be implemented based on cloud services.

[0048] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. Figure 1 A single user interacting with the application creation portion and a single user interacting with the application running portion are shown, but in reality multiple users can access the application management platform 110 to each create a digital assistant, and each digital assistant can be used to interact with multiple users.

[0049] At present, in the process of creating an application, a skill needs to be created in advance, such as a skill for sales summary, a skill for cost analysis, and so on. For accessible data resources, they need to be matched with the created skills. Only when the match is successful can the corresponding data resources be accessed during the running of the skill. For the application creation process, the entire process is cumbersome and complex. On the other hand, during the running of the application, the application running end receives user input and also needs to match it with the created skills first, and then access the data resources corresponding to the skills. The access method of data resources is often specified in the skills. For example, the skill of sales summary can only be accessed through structured query language. The reply content is generated based on the access result of the data resource. Although the interaction can be completed, the reply content is often relatively simple, and even the answer is irrelevant.

[0050] In summary, although the current technology can generate reply content based on user input, there is still much room for improvement in both the complexity of application creation and the quality of reply content.

[0051] In an embodiment of the present disclosure, an improved data processing scheme is provided. In the scheme, in response to receiving a user input, a target data resource is determined from a plurality of candidate data resources based on the user input. Based on the user input and a usage attribute of the target data resource, a reply content corresponding to the user input is generated, where the usage attribute indicates a data processing strategy for the target data resource.

[0052] Through the above process, on the one hand, the candidate data resources accessible to users can be determined from the full amount of data resources, thereby ensuring the security of data resources. On the other hand, the target data resources can be determined from the accessible target data resources based on user input. In this way, data resources that are more suitable for user input can be matched to improve the quality of interaction. On the third hand, based on the purpose attributes of the target data resources, a data resource data processing strategy corresponding to the purpose attributes is selected, such as adopting a data analysis data processing strategy or a knowledge question and answer data processing strategy. In this way, the response content that is more in line with the data resource interaction logic is generated, which can improve the quality of interaction.

[0053] Some example embodiments of the present disclosure will be described in detail below with reference to the examples of the accompanying drawings. It should be understood that the interfaces shown in the accompanying drawings are merely examples, and various interface designs may actually exist. The various graphical elements in the interface may have different arrangements and different visual representations, one or more of which may be omitted or replaced, and one or more other elements may also exist. The embodiments of the present disclosure are not limited in this respect.

[0054] The task management process described in the embodiments of the present disclosure may be implemented in an application management platform, a terminal device installed with the application management platform, and / or a server corresponding to the application management platform. In the following examples, for the sake of discussion, the description is from the perspective of the application management platform, for example Figure 1 The application management platform 110 shown. The user interface presented by the application management platform 110 can be presented via the terminal device of the end user 145, and the application management platform 110 can receive user input via the terminal device of the end user 145. In some embodiments of the present disclosure, the end user 145 is the end user of the target application 120. It should be understood that the user interface presented by the application management platform 110 can also be presented via the terminal device of the user 105, and the application management platform 110 can also receive user input via the terminal device of the user 105. In some embodiments of the present disclosure, the user 105 is the creator, manager or maintainer of the target application 120.

[0055] Figure 2A block diagram of a data processing process 200 according to some embodiments of the present disclosure is shown. The data processing process can be implemented on the application management platform 110, and specifically corresponds to the application running part. Figure 1 To describe Figure 2 The task processing process is shown.

[0056] like Figure 2 As shown, in block 201, in response to receiving user input, the application management platform 110 determines a target data resource from a plurality of candidate data resources based on the user input. The plurality of candidate data resources may be data resources that the terminal user 145 corresponding to the user input is allowed to access.

[0057] The terminal user 145 can perform interactive actions in the interactive window 142, such as text input, voice input, etc. The user input can be a natural language received in the interactive window 142. The user input is a task execution request for the target application 120. For example, the user input can be "analyze the sales volume of product A in the last quarter", "distribution map of the industry to which company B belongs", etc.

[0058] Based on the received user input, the application management platform 110 may first obtain the identification of the terminal user 145. Based on the identification of the terminal user 145, the access rights of the terminal user 145 may be determined. Based on the access rights of the terminal user 145, data resources accessible to the terminal user 145, that is, multiple candidate data resources, may be determined in the data resource set.

[0059] Figure 3 A schematic diagram of a data resource processing interface 300 corresponding to data processing according to some embodiments of the present disclosure is shown. The data resource display area 301 of the interactive window 142 can be used to display some or all data resources accessible to the terminal user 145. The data resources accessible to the terminal user 145 displayed in the data resource display area 301 can also include attribute information of the data resources, such as the connection status of the data, the update time of the data, the person who updated the data, etc.

[0060] In block 202, the application management platform 110 generates a reply content corresponding to the user input based on the user input and the purpose attribute of the target data resource. The purpose attribute indicates the data processing strategy for the target data resource. The interactive area 302 of the interactive window 142 can be used to display the interactive content. That is, the interactive area 302 can display the user input and the reply content corresponding to the user input.

[0061] Based on the determined target data resource, the application management platform 110 can obtain the usage attribute corresponding to the target data resource. The usage attribute can be determined during the application creation process. The usage attribute is predetermined in the creation of the target application based on the type of the target data resource or the usage configuration indication. The usage attribute corresponding to the target data resource can be matched with the target data resource, or it can be determined based on user input. For example, if the application management platform 110 detects that the type of the target data resource is structured data, the usage attribute of the target data resource can be automatically determined to include data analysis during the application creation process. In addition, it can also be determined by the developer. For example, after the developer selects the target data resource, a usage configuration indication can be added to the target data resource. The usage configuration indication can include indicating data analysis, indicating knowledge questions and answers, etc. For example, for a target data resource that is unstructured data containing sales data, the developer can determine that the usage configuration indication corresponding to the target data resource includes indicating data analysis and indicating knowledge questions and answers.

[0062] For each data resource, there will be a matching usage attribute. For example, if the data resource is structured data, the usage attribute can be a data processing strategy. For example, if the data resource is unstructured data, the usage attribute can be a knowledge question and answer processing strategy. If the data resource contains both structured data and unstructured data, the usage attribute can include a data processing strategy and a knowledge question and answer processing strategy. In addition, if the user input includes "distribution map of the industry to which Company B belongs", the usage attribute can be a data processing strategy.

[0063] As mentioned above, the target data resource includes content corresponding to structured data (e.g., data tables, data objects). In this regard, its data processing strategy may include completing the interaction based on data query instruction access. In addition, the target data resource includes unstructured data (e.g., documents, web pages, etc.). In this regard, its data processing strategy may include interacting in the form of knowledge questions and answers. That is, extracting knowledge fragments related to user input from the target data resource, and generating natural language-based answers based on the knowledge fragments.

[0064] Through the above process, by intelligently matching user input and data resources, accurately inferring the user's query intention, and selecting the most appropriate data processing strategy to generate response content and provide a response that better meets user needs, the quality of interaction is improved. In addition, in the face of a wide variety of target data sources, the application management platform 110 can automatically identify the use attributes of data resources and select appropriate data processing strategies. In this way, it can dynamically adapt to different data use attributes and query requirements, and flexibly adjust the processing strategy when facing diversified data sources.

[0065] As an example, the usage attributes of target data resources can be divided into two categories. One is for data analysis, and the other is for knowledge question answering. The same target data resource corresponds to at least one type of usage attribute. Alternatively, the same target data resource can correspond to two types of usage attributes at the same time. First, taking data analysis as an example, the generation process of the reply content is introduced.

[0066] In some embodiments of the present disclosure, in response to the usage attribute indicating that the data processing strategy includes data analysis, a data query instruction is determined based on user input, a query result is determined from a target data resource based on the data query instruction, and a reply content corresponding to the user input is generated based on the query result.

[0067] In the case where the target data resource is structured data, or the target data resource contains structured data, the purpose attribute of the target data resource may indicate that the data processing strategy includes data analysis. Exemplarily, the purpose attribute of the target data resource may be marked. In other words, each target data resource may correspond to a mark containing the purpose attribute. The application management platform 110 may determine the purpose attribute of the target data resource based on the mark of the purpose attribute of the target data resource.

[0068] In response to the use attribute including data analysis, it can be first determined as a data query instruction based on the user input. Determining the data query instruction can include determining the intention and key elements of the user input, and determining the data query instruction based on the intention and key elements. For example, the user input can be "analyze the sales of product A last quarter", then it can be determined that the intention is to query sales data, and the key elements include product A and last quarter, etc. Based on this, the data query instruction can be determined based on the intention and key elements.

[0069] By using the data query instruction to execute the query process in the target data resource, the query result can be obtained. Based on the query result, a reply content corresponding to the user input can be generated. In the process of generating the reply content, analysis tools can be used. For example, business intelligence (BI) tools, data visualization tools, etc. Taking business intelligence tools as an example, after obtaining the sales volume of product A in the last quarter, further analysis can be performed based on the sales volume. Exemplarily, the analysis can include determining the average sales volume, analyzing the year-on-year and month-on-month growth or decrease, checking the sales volume of different specifications or models of product A, performing sales forecasts using historical data, and so on.

[0070] That is, based on the query results, a reply content corresponding to the user input can be generated. The reply content not only includes the query results, but also may include further analysis and visualization of the results, such as generating relevant charts or reports to enhance the user's understanding and decision support. Figure 3In this example, in the interactive area 302, in response to the user input of "provide a distribution chart of the industries to which XX enterprise belongs", the reply content obtained based on the query result is the distribution of the industries to which XX enterprise belongs in the form of a chart.

[0071] In this way, efficient query and response to structured data is achieved, greatly improving data processing efficiency and user interaction experience. It can respond to user query needs quickly and accurately, provide high-quality reply content, and meet users' diverse needs in data analysis and information retrieval.

[0072] In some embodiments of the present disclosure, if the usage attribute of the target data resource is a knowledge question and answer, then generating the reply content may exemplarily include the following process: in response to the usage attribute indicating that the data processing strategy includes knowledge question and answer, obtaining at least one knowledge fragment, the knowledge fragment being determined based on the target data resource. Based on the degree of matching between the user input and the knowledge fragment in the at least one knowledge fragment, determining the target knowledge fragment. Based on the target knowledge fragment, generating the reply content corresponding to the user input.

[0073] For user input, the application management platform 110 still needs to first determine the intent and key elements of the user input. Thereafter, the intent and key elements can be matched with the knowledge fragments to determine at least one related knowledge fragment. The knowledge fragments are extracted from the target data resources. For example, natural language processing technology can be used to identify the content in the target data resource to identify structures such as paragraphs, sentences, and titles in the content. Based on the recognition results, the target data resource can be segmented into at least one knowledge fragment. Generally speaking, multiple knowledge fragments can be obtained, and each knowledge fragment corresponds to an independent knowledge point.

[0074] The application management platform 110 determines the characteristic representations of the intention and key elements of the user input, and matches these characteristic representations with the characteristic representations of each knowledge fragment to obtain at least one target knowledge fragment. After performing content extraction, content splicing and other processing on the content of at least one knowledge fragment, a reply content corresponding to the user input can be generated. According to the settings, in the process of generating the reply content, additional explanations or related information can be added to provide a more comprehensive and detailed answer.

[0075] In this way, the application management platform 110 can utilize the data processing strategy of knowledge question answering to generate high-quality answer content based on the knowledge fragments in the target data resources. This process not only improves the system's ability to respond to user queries, but also enhances the user experience, allowing it to quickly and accurately obtain the required information and knowledge.

[0076] The foregoing describes how to complete the interaction with the target data resource. The following describes how to determine the target data resource from multiple candidate data resources accessible to the terminal user 145. In some embodiments of the present disclosure, the application management platform 110 determines multiple candidate data resources based on the permission identifier of the user corresponding to the user input. Based on the user input, prompt information is generated. Based on the prompt information, at least one target data resource is determined from the multiple candidate data resources using a machine learning model.

[0077] When the terminal user 145 accesses the target application 120, the application management platform 110 may obtain the permission identifier of the terminal user 145. For example, the permission identifier may be the user name, virtual level, etc. of the terminal user 145. The permission identifier may be used to determine the user's access rights in the data resource collection.

[0078] The application management platform 110 selects multiple candidate data resources that the user can access from the data resource set according to the authority identifier of the terminal user 145. This ensures that the terminal user 145 can only access data resources within the scope of his authority.

[0079] On the other hand, the application management platform 110 analyzes the user input, determines the query intention and demand corresponding to the user input, and generates prompt information based on the user input, which may be a keyword or phrase describing the user's query demand.

[0080] Based on the generated prompt information, the application management platform 110 uses the model 155 to match multiple candidate data resources accessible to the user. Determine at least one target data resource. The target data resource is a resource that is relevant and matches the user's query requirements. Exemplarily, the model 155 can be a text matching model based on deep learning, a semantic search model, etc., so that at least one target data resource related to the prompt information can be effectively found in large-scale data resources.

[0081] Through the above process, the target data resource is determined from the data resources accessible to the user, and the reply content corresponding to the user input is generated based on the user input and the usage attributes of the target data resource. This process not only ensures the security and compliance of data access, but also improves the response efficiency and user experience, enabling users to quickly and accurately obtain the information and knowledge they need.

[0082] Figure 4 A block diagram of a data processing process 400 according to some embodiments of the present disclosure is shown. The data processing process can be implemented on the application management platform 110, and specifically corresponds to the application creation part. Figure 1 To describe Figure 4The task processing process shown. A target application 120 may be deployed on the application management platform 110, and the target application 120 may include or be implemented as a digital assistant 122. Thus, interaction with the user may be achieved based on the digital assistant 122.

[0083] For the application creation process, in block 401, the application management platform 110 receives a selection of at least one data resource from multiple types of data resources. The resource selection interface may be an interface created for acquiring data. The resource selection interface may receive a selection of at least one data resource from multiple types of data resources.

[0084] Figure 5A A schematic diagram of a data resource selection interface 500A according to some embodiments of the present disclosure is shown. Through the resource selection interface 500A, the user 105 can select multiple types of data resources. Different types of data resources may include structured data resources such as data tables and data objects, and unstructured data resources such as documents and web pages. The sources of these data resources may include, but are not limited to, local (stored) files and external files obtained by online access (e.g., files of external business systems accessed online), etc.

[0085] Figure 5B A schematic diagram of a data resource upload interface 500B according to some embodiments of the present disclosure is shown. The data resource upload interface includes a purpose attribute configuration area 510. In the purpose attribute configuration area 510, a configuration entry for the purpose configuration indication of the data resource is presented. For example, the optional purpose configuration indications include data analysis, knowledge question and answer, and data record update. Among them, data analysis can correspond to the data processing strategy for the data resource including data analysis. Knowledge question and answer can correspond to the data processing strategy for the data resource including knowledge question and answer analysis. Data record update can correspond to the data processing strategy for the data resource including operations such as adding, modifying or deleting.

[0086] For scenarios where external files need to be obtained through online access, the application management platform 110 can perform corresponding operations based on its own permissions. For example, based on at least one permission identifier of the user 105 and the application management platform 110, the external data source can be logged in and the corresponding data can be obtained. The permission identifier can indicate the permission management policy for the data resource, such as read-write permission, read-only permission, unreadable, etc. When obtaining data, ensure that all operations comply with the permission management policy to ensure the security and compliance of data access.

[0087] In addition, data resources may also include files newly created in the application management platform 110. In order to improve the efficiency of obtaining data resources, a quick access entry for data resources may also be included in the resource selection interface 500A. The so-called quick access entry records the data resources that the terminal user 145 has accessed within a specified time period (recently), so as to achieve faster data resource acquisition.

[0088] Figure 6 A schematic diagram of a data resource interface 600 according to some embodiments of the present disclosure is shown. After acquiring resources, each data resource selected through the resource selection interface can be displayed on the data resource interface 600. Figure 6 In the example shown, for a data resource, the owner of the data resource can also be displayed. In addition, in addition to displaying the owner of the data resource, the type, name, connection status, last update time, updater, and purpose attribute configuration options of the data resource can also be displayed. Exemplarily, the type of data resource can refer to a document, a table, a web page, etc. The connection status can include connected, connecting, connection failure, etc. The connection status can indicate the availability of the data resource. The last update time can indicate the time when the data resource was last changed. The purpose attribute configuration option is used to determine the purpose attribute of the data resource.

[0089] In block 402 , the application management platform 110 configures a usage attribute of at least one data resource based on a type or usage configuration indication of at least one selected data resource, where the usage attribute indicates a data processing policy for the data resource.

[0090] For the acquired data resources, the purpose attributes of the data resources can be configured. The configuration indication of the purpose attributes can include two types: default configuration and dynamic configuration. The default configuration can be determined based on the type of data resource. For example, for structured data resources such as data tables and data objects, the configuration indication of the purpose attributes can be the default configuration. That is, the purpose attributes include data analysis, and the corresponding data processing strategy includes data query. For unstructured data resources such as documents and web pages, the configuration indication of the purpose attributes can also be the default configuration. That is, the purpose attributes include knowledge questions and answers, and the corresponding data processing strategy includes natural language processing.

[0091] In addition, for data resources that contain both structured and unstructured content, the configuration instructions for the usage attributes can be dynamically configured. In other words, the usage attributes of a data resource can include both data analysis and knowledge question answering.

[0092] Through the above process, the application management platform 110 can flexibly process various types of data resources and determine appropriate usage attributes and data processing strategies based on their type or usage configuration instructions. This method not only improves the data processing capability of the application management platform 110, but also enhances the user experience, enabling users to effectively manage and utilize various data resources to meet different query and analysis needs.

[0093] In the absence of a workflow configured for at least one data resource, at least one data resource is used for user interaction. For a data resource, there is no need for a developer to configure a workflow that calls the data resource. Since the purpose attribute already contains a predefined workflow for the data resource. Therefore, if the purpose attribute of at least one data resource is configured based on the type or purpose configuration indication of the selected at least one data resource, the application management platform 110 will automatically call the predefined workflow corresponding to the purpose attribute based on the purpose attribute to complete the corresponding data processing operation. This enables users to interact directly with data resources.

[0094] The data processing strategy indicated by the purpose attribute is associated with one or more workflows. The purpose attribute may include a workflow for data resources. When the processing strategy for data resources (such as data analysis, knowledge question and answer, data record update) is determined, the application management platform 110 will automatically call the predefined workflow corresponding to the processing strategy to complete the corresponding data processing operation. These workflows contain all the steps and logic required to complete the processing strategy, thereby ensuring the consistency and efficiency of data processing. For example, in the data analysis purpose attribute, the workflow may include data preprocessing, feature extraction, and application steps of calling data analysis models. In the knowledge question and answer purpose attribute, the workflow may involve the query and answer generation process of the knowledge base. In the data record update purpose attribute, the workflow may include operations such as data verification, record modification, and database update.

[0095] Since the workflow is predefined and modularized in the purpose attribute, it becomes easier to maintain and update the application management platform 110. Developers can directly use or adjust the workflow of a single purpose attribute as needed without having to write a comprehensive workflow code.

[0096] The following describes in detail the configuration process of the usage attribute. In some embodiments of the present disclosure, at least one data resource includes a first data resource, and the usage attribute of the first data resource indicates that the data processing strategy includes data analysis. In response to a preset operation related to the first data resource, structured information corresponding to the first data resource is presented.

[0097] The application management platform 110 can learn the usage attributes of each data resource in the data resources. For a first data resource whose usage attributes include data analysis, in response to a preset operation related to the first data resource, structured information corresponding to the first data resource can be presented, and the structured information can correspond to a data view. Subsequent examples also involve fragment information of knowledge fragments. The fragment information of knowledge fragments can correspond to a knowledge view.

[0098] The preset operation may be predefined. For example, the preset operation may include but is not limited to click, hover, double-click, preset voice or action instructions, etc. The structured information may correspond to detailed information of the first data resource. Figure 7 A schematic diagram of a structured information display effect 700 corresponding to a data view according to some embodiments of the present disclosure is shown. Structured information may include data fields, specific numerical values ​​corresponding to data fields, etc., so that users can intuitively view and analyze data. Assume that a user selects a table as the first data resource in the resource selection interface. The usage attribute of the table is data analysis. When the user performs a preset operation on the first data resource in the interface, the application management platform 110 identifies the preset operation and displays the detailed information of the table accordingly. The displayed information may include various fields in the table (such as customer name, sales volume, contract, unit price, etc.) and the specific numerical values ​​corresponding to each field. In this way, users can directly view and analyze the structured data in the table.

[0099] Through the above process, the application management platform 110 can effectively respond to the user's preset operation and provide structured information display matching the data analysis purpose attributes, which not only improves the user's interactive experience, but also enhances the user's understanding and analysis capabilities of data resources.

[0100] In some embodiments of the present disclosure, the structured information corresponding to the first data resource is determined by: obtaining a storage structure for storing the first data resource, the storage structure being part of the meta-information of the first data resource. Based on the storage structure, performing a structural transformation on the first data resource to obtain a transformed first data resource. Based on the transformed first data resource, generating the structured information.

[0101] Still taking the first data resource as a table as an example. The application management platform 110 obtains the storage structure of the specified database, including the architecture of the table, field definition and other information. Based on the storage structure of the specified database, perform structural conversion on the first data resource. For example, convert the data in the table into the table format in the specified database. During the structural conversion process, the application management platform 110 identifies and maps the fields and data types in the first data resource to the corresponding fields and data types in the specified database. The converted data resources are stored in a structured form in the database to facilitate data query of subsequent data query instructions.

[0102] Through the above process, the application management platform 110 can effectively convert and store standardized data resources into a relational database to ensure the structuring and accessibility of data. Based on preset operations, the application management platform 110 can dynamically display structured information to improve the user's interactive experience with data resources and data analysis capabilities.

[0103] In some embodiments of the present disclosure, for a second data resource in at least one data resource, the usage attribute of the second data resource indicates that the data processing strategy includes knowledge questions and answers. Based on this, in response to a preset operation related to the second data resource, fragment information of at least one knowledge fragment corresponding to the second data resource can be presented.

[0104] The preset operations related to the second data resource may be the same as the preset operations related to the first data resource, including but not limited to click, hover, double-click, and preset voice or action instructions. If the usage attribute of the second data resource includes knowledge questions and answers, then correspondingly, the second data resource may correspond to at least one knowledge fragment. For example, the second data resource is a document about machine learning. Exemplarily, based on the analysis of the document, knowledge fragments related to knowledge points such as "supervised learning", "unsupervised learning", and "neural network" can be determined. In response to the preset operations related to the second data resource, the knowledge fragment corresponding to the second data resource can be presented.

[0105] Through the above process, the application management platform 110 can effectively parse and split the unstructured second data resource into multiple knowledge fragments. Based on the preset operation, the knowledge fragments can be dynamically displayed to improve the user's interactive experience with the data resource and the efficiency of knowledge acquisition.

[0106] In some embodiments of the present disclosure, the fragment information of at least one knowledge fragment corresponding to the second data resource is determined in the following manner: at least one knowledge fragment is generated by dividing the content in the second data resource into at least one content fragment, and the at least one knowledge fragment each has a sequence number and a summary. For a knowledge fragment in the at least one knowledge fragment, the fragment information of the knowledge fragment is generated based on the sequence number and the summary of the knowledge fragment.

[0107] Parse the content of the second data resource and split it into multiple content segments, each of which can be used to generate at least one knowledge segment. For example, a document about machine learning can be split into knowledge segments such as "supervised learning", "unsupervised learning", and "neural network". The application management platform 110 extracts features of each knowledge segment, such as keywords and abstracts. In addition, the application management platform 110 can also assign serial number information to each knowledge segment to identify its position in the document. Figure 8 A schematic diagram of a knowledge fragment display effect 800 according to some embodiments of the present disclosure is shown. The application management platform 110 can present these knowledge fragments in a corresponding interface, and the user can view the detailed information of each knowledge fragment.

[0108] Through the above process, the application management platform 110 can effectively parse and split the unstructured second data resource into multiple knowledge fragments. Based on the preset operation, the application management platform 110 can dynamically display the knowledge fragments to improve the user's interactive experience with the data resource and the efficiency of knowledge acquisition. The feature extraction and display information determination process of the application management platform 110 ensures that the user can quickly identify and obtain the required knowledge points and realize efficient knowledge question and answer interaction.

[0109] In some embodiments of the present disclosure, training may also be included on how to generate higher quality reply content based on the usage configuration attributes of the data resources. Specifically, the application management platform 110 performs a test on the target application, and the test includes generating a test reply corresponding to the test case based on the usage attributes of the data resources of the target application. The corresponding operation information of the multiple stages corresponding to the generated test reply is presented, and the corresponding operation information of the multiple stages at least indicates the output of each of the multiple stages. Based on the feedback of the corresponding operation information of at least one stage in the multiple stages, the target application is updated.

[0110] A function of the target application may correspond to a response to receiving user input, and determine a target data resource from multiple candidate data resources based on the user input. And based on the user input and the usage attribute of the target data resource, a reply content corresponding to the user input is generated. The test query for the target application can be decomposed into multiple stages. Exemplarily, it mainly includes the following three stages: intent recognition and recall, data retrieval and processing, and generating results. For each stage, the target application generates corresponding operation information.

[0111] Based on the operation information of multiple stages, the application management platform 110 identifies and presents possible points to be optimized. For example, in the intent recognition and recall stage, the points to be optimized may include evaluating the accuracy of term interpretation and the effectiveness of intent rewriting. In the data retrieval and processing stage, the points to be optimized may include checking the correctness of query compilation and the optimization effect of prompt information. In the result generation stage, the points to be optimized may include evaluating the accuracy of the reply content and the degree of optimization of the representation.

[0112] Fig. 9 A schematic diagram of feedback information 900 of operating information according to some embodiments of the present disclosure is shown. Fig. 9 This corresponds to the stage of intent recognition and recall. The corresponding operation information at this stage may include the intent recognition results corresponding to the user input test case. The feedback information for the intent recognition results may include referencing similar cases, that is, querying whether there are other test cases similar to the user input test case, so that the intent recognition results of other test cases can be referenced. This can better determine the intent of the user input test case.

[0113] In addition, the feedback information of the operation information may also include term explanations. The term explanation may include parsing key terms in the user input test case and providing relevant explanations. For example, the user input test case contains field-specific terms such as "overseas company" and "offshore company". Through the explanation information of the field-specific terms, the user input test case can be better understood.

[0114] Intent rewriting can include opening multiple rounds of dialogue and conducting multiple rounds of dialogue through understanding the context. Alternatively, intent rewriting can also include splitting complex queries into multiple simple queries to determine reasonable intent. For example, the user input test case is "Why is my bill amount higher than last month." The built-in data question and answer function may not provide the best answer. In this case, you can customize the scenario and handle these complex queries by arranging the following business processes. Exemplarily, the customized scenario can disassemble the user input test case to obtain multiple simple queries such as obtaining last month's bill data, obtaining this month's bill data, comparing new charges in the bill data, discount changes, etc., thereby completing the parsing of the user input test case.

[0115] At each data retrieval and processing stage, feedback on the corresponding operation information can be obtained based on the rewriting and optimization of the received corresponding operation information. Thus, the target application can be updated based on the feedback so that the target application can generate better quality reply content for user input. Through the above process, the application management platform 110 can effectively generate higher quality reply content based on the usage configuration attributes of the data resources. The collection and analysis of multi-stage operation information, and the feedback information based on the operation information generated therefrom, ensure that the application management platform 110 can continuously optimize its query and reply mechanism, thereby improving the quality and efficiency of user interaction.

[0116] In some embodiments of the present disclosure, the application management platform 110 determines a data resource acquisition mode, which may indicate at least one of a transmission mode of at least one data resource and an access mode of at least one data resource. In the data resource acquisition interface, the data acquisition progress corresponding to the acquisition mode is presented.

[0117] The acquisition mode can be divided into two categories. The first category of the acquisition mode can indicate the transmission mode of the data resource. Exemplarily, the transmission mode of the data resource can be further divided into two subcategories.

[0118] The first subcategory can be called one-time transmission of data resources. One-time transmission can be a one-time import of selected data resources into the application management platform 110 in response to a user's data resource selection instruction. This method is suitable for scenarios with large amounts of data that do not require frequent updates.

[0119] The second subcategory can be called continuous import of data resources. Continuous import can be in response to detecting that a specified data resource is updated, and the application management platform 110 automatically triggers the transmission and import of data resources. This method is suitable for application scenarios with high requirements on the timeliness of data resources.

[0120] The second type of acquisition mode may indicate a data resource access mode. Exemplarily, the access mode may include local access and external access. For external access, external data may be directly acquired through online access. The application management platform 110 establishes a connection with an external business system or an external database, and users may access external data in real time through the system without transmitting and storing the data into the system. This method is suitable for scenarios where real-time access to external data is required.

[0121] Generally speaking, external business systems are software systems used to handle specific business functions, which can include business logic and data storage. They can provide application services and management functions in specific fields, such as customer relationship management, advertising delivery management, etc. External databases are systems used to store, manage and retrieve data. External databases provide data storage, query and analysis functions. The difference from external business systems is that external databases usually do not contain specific business logic. External databases can be used by various applications and systems for data storage and access.

[0122] Fig.10 A schematic diagram of a data resource acquisition interface 1000 according to some embodiments of the present disclosure is shown. In the data resource acquisition interface, the acquisition mode of each selected data resource and the data acquisition progress corresponding to the acquisition may be presented. For example, the acquisition mode may include "one-time import", "continuous import", "external connection import", and the like. The data acquisition progress may include "connection successful", "connecting", "connection failed", and the like. For example, for "connection failure", it may only correspond to the acquisition mode of external access. Based on the situation of "connection failure", the application management platform 110 may also obtain the reason for the connection failure, such as missing data, network failure, and the like. Based on the situation of "connection failure", the data resource acquisition interface may also include an acquisition entry for the reason for the connection failure, so that the reason for the connection failure may be presented based on the user's operation on the acquisition entry.

[0123] Fig.11 A schematic diagram of a data processing scenario 1100 according to some embodiments of the present disclosure is shown. The data processing scenario includes an application running part 1101 and an application creating part 1102. The application creating part 1102 includes a data integration framework, a data resource management framework, a data engineering framework, and a data service framework.

[0124] The framework of data integration may include acquiring data resources from data sources. Data sources include local (stored) files and external files accessed through online access (such as online access to files of external business systems), etc. For the acquired data resources, the integration method may include configuring the execution purpose attributes of the acquired data resources. Credential management can determine the access rights of different users based on different data resources, or based on different contents in the data resources. For example, read-write permissions, read-only permissions, inability to read, etc. Task management can perform management on the acquisition process of data resources acquired in different acquisition modes, such as determining the acquisition process of data resources, determining the reasons for failure to acquire data resources, etc. Errors and logs record and process error information and activity records of the application management platform 110.

[0125] The framework of data resource management may include determining and recording the acquisition method and processing process of data resources. For example, data resources may be structured data such as data tables and data objects, or unstructured data such as documents and web pages. The acquisition method of data resources may include acquiring from local applications of the application management platform 110, or acquiring from external business systems, external databases, etc. in an online access manner. The acquired resource data may also be presented with Figure 7 The data view shown corresponds to the structured information, and presents the knowledge fragments corresponding to the knowledge view.

[0126] The framework of data engineering includes data resource processing and user input processing. Data resource processing includes built-in processing and data flow. Built-in processing involves the data processing functions of the application management platform 110, such as data cleaning, conversion and standardization, etc. Data flow refers to the process of data transmission and conversion in the application management platform 110. For example, data is transmitted from an external database to a designated database through an API interface, and further processed and analyzed in the designated database. User input processing includes rules and cases. Rules refer to predefined rules and logic for processing user input. These rules determine how to parse and process user input. Cases refer to processing user input based on actual cases or examples, which usually involve processing methods based on historical data and predefined cases.

[0127] The framework of data services may include native data services, query services, and message services. Native data services may indicate object query language. Object query language is a language used to perform queries and operations on objects in a database. Query services may indicate structured query language, retrieval enhancement generation, and new queries. Structured query language is used to perform queries and operations (selection, insertion, update, and deletion) on data in a relational database. Retrieval enhancement generation can be used to improve the accuracy of answers to user queries by combining retrieval and generation techniques. For example, relevant information can be retrieved from the data and then a natural language answer is generated. A new query refers to allowing users to create custom queries based on specific needs. Message services may include event and application programming interface functions. Events may include processing events and notifications occurring in the application management platform 110, which are usually used to trigger specific operations or responses. For example, when a new data record is inserted, an event notification is generated to notify the relevant service for processing. The application programming interface function provides an interface to an external system or service for data exchange and operation. Through the above process, data resources 1101 can be constructed.

[0128] Fig.12A schematic structural block diagram of a data processing device 1200 according to some embodiments of the present disclosure is shown. The device 1200 may be implemented in or included in the application management platform 110, for example. Each module / component in the device 1200 may be implemented by hardware, software, firmware, or any combination thereof.

[0129] As shown in the figure, the device 1200 includes a target data resource determination module 1201, which is configured to determine the target data resource from multiple candidate data resources based on the user input in response to receiving the user input. A reply content generation module 1202 is configured to generate reply content corresponding to the user input based on the user input and the purpose attribute of the target data resource, and the purpose attribute indicates the data processing strategy for the target data resource.

[0130] In some embodiments, the reply content generation module 1202 may be specifically configured to: determine a data query instruction based on the user input in response to the usage attribute indicating that the data processing strategy includes data analysis; determine a query result from the target data resource based on the data query instruction; and generate reply content corresponding to the user input based on the query result.

[0131] In some embodiments, the reply content generation module 1202 may also be specifically configured to: in response to the purpose attribute indicating that the data processing strategy includes knowledge question and answer, obtain at least one knowledge fragment, where the knowledge fragment is determined based on the target data resource. Determine a target knowledge fragment based on the degree of matching between the user input and the knowledge fragment in the at least one knowledge fragment. Generate reply content corresponding to the user input based on the target knowledge fragment.

[0132] In some embodiments, the target data resource determination module 1201 may be specifically configured to: determine multiple candidate data resources based on the permission identifier of the user corresponding to the user input; generate prompt information based on the user input; and determine at least one target data resource from the multiple candidate data resources using a machine learning model based on the prompt information.

[0133] In some embodiments, wherein the user input is received in the target application, and the usage attribute is predetermined in the creation of the target application based on a type or usage configuration indication of the target data resource.

[0134] Fig.13 A schematic structural block diagram of a data processing device 1300 according to some embodiments of the present disclosure is shown. The device 1300 may be implemented in or included in the application management platform 110, for example. Each module / component in the device 1300 may be implemented by hardware, software, firmware, or any combination thereof.

[0135] The data resource selection instruction receiving module 1301 is configured to receive a selection of at least one data resource from a plurality of types of data resources. The usage attribute configuration module 1302 is configured to configure the usage attribute of at least one data resource based on the type or usage configuration instruction of the selected at least one data resource, wherein the usage attribute indicates a data processing strategy for the data resource.

[0136] In some implementations, at least one data resource is available for user interaction without a workflow configured for the at least one data resource.

[0137] In some implementations, the data processing strategy indicated by the usage attribute is associated with one or more workflows.

[0138] In some embodiments, when the at least one data resource includes a first data resource and the usage attribute of the first data resource indicates that the data processing strategy includes data analysis, the apparatus 1300 further includes a structured information presentation module. The structured information presentation module may be configured to: in response to a preset operation related to the first data resource, present structured information corresponding to the first data resource.

[0139] In some embodiments, the structured information presentation module may be further specifically configured to: obtain a storage structure for storing the first data resource, the storage structure being part of the meta-information of the first data resource; perform structural conversion on the first data resource based on the storage structure to obtain the converted first data resource; and generate structured information based on the converted first data resource.

[0140] In some embodiments, when the at least one data resource includes a second data resource and the usage attribute of the second data resource indicates that the data processing strategy includes knowledge questions and answers, the apparatus 1300 further includes a segment information presentation module. The segment information presentation module may be configured to: in response to a preset operation related to the second data resource, present segment information of at least one knowledge segment corresponding to the second data resource.

[0141] In some embodiments, the fragment information presentation module may be specifically configured to: generate at least one knowledge fragment by dividing the content in the second data resource into at least one content fragment, wherein each of the at least one knowledge fragment has a sequence number and a summary. For a knowledge fragment in the at least one knowledge fragment, the fragment information of the knowledge fragment is generated based on the sequence number and summary of the knowledge fragment.

[0142] In some embodiments, the apparatus 1300 further includes an optimization module. The optimization module may be configured to: perform a test on a target application, the test including generating a test response corresponding to a test case using a usage attribute of the target application based on a data resource; present corresponding operation information of multiple stages corresponding to the generated test response, the corresponding operation information of the multiple stages at least indicating the output of each of the multiple stages; and update the target application based on feedback of the corresponding operation information of at least one stage in the multiple stages.

[0143] In some embodiments, the apparatus 1300 further includes a data resource acquisition mode configuration module. The data resource acquisition mode configuration module is configured to: determine an acquisition mode of at least one data resource, where the acquisition mode indicates at least one of a transmission mode of at least one data resource and an access mode of at least one data resource. On the data resource acquisition interface, the data acquisition progress corresponding to the acquisition mode is presented.

[0144] Fig.14 1 shows a block diagram of an electronic device 1400 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig.14 The electronic device 1400 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Fig.14 The electronic device 1400 shown may include or be implemented as Figure 1 Application management platform 110, Fig.12 Device 1200 or Fig.13 Device 1300.

[0145] like Fig.14 As shown, the electronic device 1400 is in the form of a general electronic device. The components of the electronic device 1400 may include, but are not limited to, one or more processors or processing units 1410, a memory 1420, a storage device 1430, one or more communication units 1440, one or more input devices 1450, and one or more output devices 1460. The processing unit 1410 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 1420. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 1400.

[0146] The electronic device 1400 typically includes a plurality of computer storage media. Such media may be any accessible media accessible to the electronic device 1400, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1420 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1430 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 1400.

[0147] The electronic device 1400 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig.14 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 1420 may include a computer program product 1425 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0148] The communication unit 1440 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 1400 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 1400 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0149] Input device 1450 may be one or more input devices, such as a mouse, keyboard, tracking ball, etc. Output device 1460 may be one or more output devices, such as a display, a speaker, a printer, etc. Electronic device 1400 may also communicate with one or more external devices (not shown) through communication unit 1440 as needed, such as storage devices, display devices, etc., communicate with one or more devices that allow a user to interact with electronic device 1400, or communicate with any device that allows electronic device 1400 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0150] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0151] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0152] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0153] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0154] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0155] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A data processing method, comprising: In response to receiving a user input, determining a target data resource from a plurality of candidate data resources based on the user input; as well as Based on the user input and a usage attribute of the target data resource, a reply content corresponding to the user input is generated, wherein the usage attribute indicates a data processing policy for the target data resource.

2. The method according to claim 1, wherein generating a reply content corresponding to the user input comprises: In response to the usage attribute indicating that the data processing strategy includes data analysis, determining a data query instruction based on the user input; Based on the data query instruction, determining a query result from the target data resource; as well as Based on the query result, a reply content corresponding to the user input is generated.

3. The method according to claim 1, wherein generating a reply content corresponding to the user input comprises: In response to the usage attribute indicating that the data processing strategy includes knowledge question answering, obtaining at least one knowledge fragment, the knowledge fragment being determined based on the target data resource; Determining a target knowledge segment based on a degree of matching between the user input and a knowledge segment in the at least one knowledge segment; as well as Based on the target knowledge segment, a reply content corresponding to the user input is generated.

4. The method according to claim 1, wherein determining the target data resource comprises: Determining the plurality of candidate data resources based on the permission identifier of the user corresponding to the user input; Based on the user input, generate prompt information; as well as Based on the prompt information, at least one target data resource is determined from the multiple candidate data resources using a machine learning model.

5. The method of claim 1, wherein the user input is received in a target application, and the usage attribute is predetermined in the creation of the target application based on a type or usage configuration indication of the target data resource.

6. A data processing method, comprising: receiving a selection of at least one data resource from among a plurality of types of data resources; as well as Based on the type or usage configuration indication of the selected at least one data resource, a usage attribute of the at least one data resource is configured, wherein the usage attribute indicates a data processing policy for the data resource. 7 . The method of claim 6 , wherein the at least one data resource is used for user interaction without a workflow configured for the at least one data resource.

8. The method of claim 6, wherein the data processing strategy indicated by the usage attribute is associated with one or more workflows.

9. The method of claim 6, wherein the at least one data resource comprises a first data resource, a usage attribute of the first data resource indicates that the data processing strategy comprises data analysis, and the method further comprises: In response to a preset operation related to the first data resource, structured information corresponding to the first data resource is presented.

10. The method according to claim 9, wherein the structured information corresponding to the first data resource is determined by: Acquire a storage structure for storing the first data resource, where the storage structure is a part of the meta information of the first data resource; Based on the storage structure, performing structural conversion on the first data resource to obtain a converted first data resource; as well as The structured information is generated based on the converted first data resource.

11. The method of claim 6, wherein the at least one data resource comprises a second data resource, a usage attribute of the second data resource indicates that the data processing strategy comprises a knowledge question, and the method further comprises: In response to a preset operation related to the second data resource, segment information of at least one knowledge segment corresponding to the second data resource is presented.

12. The method according to claim 11, wherein the fragment information of at least one knowledge fragment corresponding to the second data resource is determined by: Generating the at least one knowledge fragment by dividing the content in the second data resource into at least one content fragment, each of the at least one knowledge fragment having a sequence number and a summary; and For a knowledge fragment in the at least one knowledge fragment, fragment information of the knowledge fragment is generated based on the sequence number and summary of the knowledge fragment.

13. The method according to claim 6, further comprising: Executing a test on a target application, the test comprising generating a test response corresponding to a test case using the target application based on a usage attribute of the data resource; Presenting corresponding operation information of a plurality of stages corresponding to generating the test answer, wherein the corresponding operation information of the plurality of stages at least indicates the output of each of the plurality of stages; as well as The target application is updated based on feedback of corresponding operation information of at least one stage among the multiple stages.

14. The method according to claim 6, further comprising: An acquisition mode of the at least one data resource is determined, the acquisition mode indicating at least one of a transmission mode of the at least one data resource and an access mode of the at least one data resource. On the data resource acquisition interface, the data acquisition progress corresponding to the acquisition mode is presented.

15. A data processing device, comprising: a target data resource determination module, configured to, in response to receiving a user input, determine a target data resource from a plurality of candidate data resources based on the user input; as well as The reply content generation module is configured to generate reply content corresponding to the user input based on the user input and the usage attribute of the target data resource, wherein the usage attribute indicates a data processing strategy for the target data resource.

16. A data processing device, comprising: a data resource selection instruction receiving module, configured to receive a selection of at least one data resource among a plurality of types of data resources; as well as The usage attribute configuration module is configured to configure the usage attribute of the at least one data resource based on the type or usage configuration indication of the selected at least one data resource, wherein the usage attribute indicates a data processing strategy for the data resource.

17. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, the instructions when executed by the at least one processing unit cause the electronic device to perform the method according to any one of claims 1 to 14.

18. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Information interaction method, equipment and device

    CN111914072A

  • Intelligent question and answer method and system for industry

    CN117520524A

  • Task scheduling method and device, computer equipment, storage medium and program product

    CN117742970A

  • Literature retrieval method and device based on multi-dimensional semantic index and medium

    CN118093770A

  • Method, device and equipment for searching target domain based on large language model, and medium

    CN118467595A

Cited By

  • Data processing methods and apparatuses, and device and readable storage medium

    WO2026040475A1