A data processing method and related apparatus
By presenting candidate input data in the data format change interface of the SaaS platform and allowing users to bind target data formats, the problem of low configuration efficiency and difficulty in operation and maintenance caused by data format changes in the SaaS platform is solved, and efficient data format conversion and simple operation process are achieved.
Patent Information
- Application Number
- CN202210168108.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-23
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-02-23
AI Technical Summary
In a SaaS platform, when the output data format of any SaaS application changes, the code files of other SaaS applications that use its output data need to be modified, resulting in low configuration efficiency and increased maintenance difficulty of the information system.
By presenting candidate input data in the data format change interface, users can bind target input data to obtain the target data format, avoiding hard coding and using a visual interface to change the data format.
It improves data format conversion efficiency, simplifies operation processes, reduces reliance on code, and enhances application integration efficiency and user experience.
Smart Images

Figure CN116680235B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, and provides a data processing method and related device. BACKGROUND
[0002] With the development of Internet technology and the maturity of application software, a Software-as-a-Service (SaaS) platform begins to rise. The SaaS platform is used to provide an information system composed of multiple SaaS applications.
[0003] In the related art, for a specific business scenario, a corresponding code file is written according to the data flow between each SaaS application, and then the configuration of the information system is implemented according to the code file.
[0004] However, when the data format of the output data of any one SaaS application changes, the code file of other SaaS applications using the output data needs to be modified adaptively. Obviously, modifying the code file will affect the configuration efficiency of the information system. In the case of data format changes of the output data of multiple SaaS applications, the modification of the code file is difficult, and even the code file may need to be rewritten, further increasing the operation and maintenance difficulty of the information system. SUMMARY
[0005] The embodiments of the present application provide a data processing method and related device to improve the configuration flexibility and reduce the operation and maintenance difficulty of the information system.
[0006] In a first aspect, the embodiments of the present application provide a data processing method, comprising:
[0007] In response to a data format change operation triggered by a target object for a target application, a data format change interface containing an initial data format is presented, and the initial data format contains at least one information field to be processed;
[0008] In response to a trigger operation of the target object for the at least one information field to be processed, at least one candidate input data is presented in the data format change interface, and each candidate input data is used to represent the output data of at least one associated application associated with the target application;
[0009] In response to a selection operation of the target object for the at least one candidate input data, at least one target input data selected is presented in the data format change interface;
[0010] In response to a binding operation of the target object on the at least one target input data and the at least one to-be-processed information field, a target data format is obtained, and the target data format is presented in the data format changing interface.
[0011] In a second aspect, an embodiment of the present application provides an information processing apparatus, comprising:
[0012] An output presentation unit is configured to present a data format changing interface containing an initial data format in response to a data format changing operation triggered by a target object on a target application, wherein the initial data format contains at least one to-be-processed information field;
[0013] An input presentation unit is configured to present at least one candidate input data in the data format changing interface in response to a triggering operation of the target object on the at least one to-be-processed information field, wherein each candidate input data is used to represent an output data of at least one associated application associated with the target application;
[0014] A data selection unit is configured to present at least one target input data selected in the data format changing interface in response to a selection operation of the target object on the at least one candidate input data;
[0015] A data binding unit is configured to obtain a target data format in response to a binding operation of the target object on the at least one target input data and the at least one to-be-processed information field, and present the target data format in the data format changing interface.
[0016] As a possible implementation, the input presentation unit is further configured to perform at least one of the following operations:
[0017] The at least one candidate sample data is sent to a server based on a target address of the target object;
[0018] At least one output data of the at least one associated application is obtained, and the at least one output data is used as the at least one candidate sample data.
[0019] As a possible implementation, when the input presentation unit presents at least one candidate sample data in the data presentation area in response to a triggering operation of the target object on the data preview component, the input presentation unit is configured to:
[0020] At least one format selection component is presented in the data format configuration interface in response to a triggering operation of the target object on the data preview component, wherein each format selection component corresponds to a candidate sample data;
[0021] In response to the target object triggering the at least one format selection component, the corresponding candidate sample data is presented in the data presentation area.
[0022] As a possible implementation manner, the data format configuration interface further includes a data saving interface.
[0023] After the target sample data is presented in the data presentation area in response to the target object selecting the at least one candidate sample data, the data binding unit is further configured to:
[0024] In response to the target object triggering the data saving interface, the target sample data is saved to a specified storage location.
[0025] As a possible implementation manner, when the target data format is obtained, the data binding unit is specifically configured to:
[0026] Obtain a binding relationship between the at least one target input data and the at least one to-be-processed information field;
[0027] Based on the binding relationship, the at least one target input data is obtained as a field value of the corresponding to-be-processed information field, and a target data format is obtained.
[0028] As a possible implementation manner, after the target data format is presented in the data format changing interface, the data binding unit is further configured to:
[0029] Obtain target permission configuration information;
[0030] Based on the target permission configuration information, when the target object is configured to allow changing the data format, the target data format is saved to a specified storage location, so that the target application uses the target data format.
[0031] As a possible implementation manner, before the format changing interface including the initial data format is presented in response to the target object triggering the data format changing operation of the target application, the output presentation unit is further configured to:
[0032] Present an association relationship configuration interface, and the association relationship configuration interface includes the target application and the at least one associated application;
[0033] In response to the target object connecting the target application and the at least one associated application, a corresponding target association relationship is obtained, and the target association relationship is presented in the association relationship configuration interface.
[0034] As a possible implementation manner, before the data format change interface containing the initial data format is presented in response to the target object triggering the data format change operation for the target application, the output presentation unit is further configured to:
[0035] If there is one associated application in the at least one associated application, and the one associated application is associated with at least one other association relationship in addition to the target association relationship, the output presentation unit is further configured to:
[0036] Based on the key field set of the one associated application and the running state information corresponding to the association relationship and the at least one other association relationship respectively, the data format change sequence between the target association relationship and the at least one other association relationship is determined.
[0037] As a possible implementation manner, when the key field set of the one associated application is acquired, the output presentation unit is specifically configured to:
[0038] At least two candidate sample data of the one associated application are acquired.
[0039] Based on the at least two candidate sample data, the key field set of the one associated application is determined.
[0040] In a third aspect, an electronic device is provided, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above data processing method.
[0041] In a fourth aspect, a computer readable storage medium is provided, including a computer program, and when the computer program is run on an electronic device, the computer program is used to make the electronic device execute the steps of the above data processing method.
[0042] In a fifth aspect, a computer program product is provided, the program product including a computer program, the computer program being stored in a computer readable storage medium, and a processor of an electronic device reading and executing the computer program from the computer readable storage medium, so that the electronic device executes the steps of the above data processing method.
[0043] In the embodiments of the present application, when the data format is changed for the target application, after at least one to-be-processed information field is acquired, in response to the target object triggering the operation, candidate input data is presented in the data format change interface, and then the target data format is obtained according to the selected target input data.
[0044] In this way, on the one hand, by binding the to-be-processed information field with the target input data, the target data format is obtained, the low efficiency of data format change caused by hard coding is avoided, the data format conversion efficiency is improved, on the other hand, the user changes the data format through the visual interface, does not need to rely on the code, is simple and flexible, is convenient for user operation, can improve the user experience, and since the data format conversion is determined by the user, the access efficiency of the application can be significantly improved.
[0045] Additional features and advantages of the application will be set forth in the description that follows, and in part will be apparent from the description, or can be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings. BRIEF DESCRIPTION OF DRAWINGS
[0046] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and serve to explain the principles of the application, and do not limit the application. In the drawings:
[0047] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the application;
[0048] Figure 2A A structural schematic diagram of a SaaS application scenario connector provided in an embodiment of the application;
[0049] Figure 2B An interaction schematic diagram between a terminal device and a server provided in an embodiment of the application;
[0050] Figure 3 A flow schematic diagram of a data processing method provided in an embodiment of the application;
[0051] Figure 4 A schematic diagram of a target flow provided in an embodiment of the application;
[0052] Figure 5 A schematic diagram of a first data format change interface provided in an embodiment of the application;
[0053] Figure 6 A schematic diagram of a second data format change interface provided in an embodiment of the application;
[0054] Figure 7 A schematic diagram of a third data format change interface provided in an embodiment of the application;
[0055] Figure 8 A schematic diagram of a fourth data format change interface provided in an embodiment of the application;
[0056] Figure 9 A flowchart of a candidate input data obtaining method provided in an embodiment of the present application;
[0057] Figure 10 A logic diagram of input candidate sample data provided in an embodiment of the present application;
[0058] Figure 11 A schematic diagram of a first data format configuration interface provided in an embodiment of the present application;
[0059] Figure 12 A schematic diagram of a second data format configuration interface provided in an embodiment of the present application;
[0060] Figure 13 A logic diagram of a permission control provided in an embodiment of the present application;
[0061] Figure 14A A schematic diagram of an association relationship configuration interface provided in an embodiment of the present application;
[0062] Figure 14B A schematic diagram of another association relationship configuration interface provided in an embodiment of the present application;
[0063] Figure 15A A schematic diagram of a login interface provided in an embodiment of the present application;
[0064] Figure 15B A schematic diagram of a scheme creation interface provided in an embodiment of the present application;
[0065] Figure 16 A structural diagram of a data processing apparatus provided in an embodiment of the present application;
[0066] Figure 17 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described below in connection with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments described in the present application, all other embodiments obtained by those of ordinary skill in the art without any creative work fall within the scope of protection of the present application.
[0068] Some concepts involved in the embodiments of the present application will be introduced below.
[0069] SaaS: Software as a Service, software only needs to pass through the network, without the traditional installation steps can be used, software and related data centralized hosting in the cloud services.
[0070] ERP: Enterprise Resource Planning, a set of software for managing daily business activities, including but not limited to accounting, procurement, project management, risk management and compliance, supply chain operations, etc. The ERP suite can also include enterprise performance management software to help companies plan, budget, forecast and report around financial performance.
[0071] CRM: Customer Relationship Management, a system that uses software, hardware and network technology to build an information collection, management, analysis and utilization information system. With data management as the core, it records various interactive behaviors and the status of various related activities in the marketing and sales process, and provides various data models to support later analysis and decision-making.
[0072] Postman: an interface testing tool, when performing interface testing, Postman is equivalent to a client that can simulate various HTTP requests initiated by users, send HTTP requests to the server, obtain the corresponding response results, and verify whether the result data in the response matches the expected value, and ensure that vulnerabilities are handled in a timely manner, thereby ensuring the stability and security of the product after it goes online.
[0073] Target object: can refer to the handler who changes the data format of the target object. In the embodiments of the present application, the target object can be a certain user or an account logged in by a certain user.
[0074] Cloud technology: a hosting technology that unifies hardware, software, network and other series of resources in a wide area network or local area network to realize data calculation, storage, processing and sharing.
[0075] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology and the like applied based on a cloud computing business model, can form a resource pool, and is used on demand, flexible and convenient. Cloud computing technology will become an important support. The background service of a technical network system needs a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the high development and application of the Internet industry, in the future, every item may have its own identification mark and needs to be transmitted to the background system for logical processing. Different levels of data will be processed separately, and various industry data need strong system support, which can only be realized through cloud computing.
[0076] Cloud computing is a computing mode that distributes computing tasks on a resource pool formed by a large number of computers, so that various application systems can obtain computing power, storage space and information services according to needs. The network providing resources is called a "cloud". The resources in the "cloud" can be infinitely expanded in the eyes of the user, and can be obtained at any time, used on demand, expanded at any time, and paid according to use.
[0077] As a basic capability provider of cloud computing, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an Infrastructure as a Service (IaaS) platform) is established, and a plurality of types of virtual resources are deployed in the resource pool for external customers to select and use. The cloud computing resource pool mainly includes: a computing device (a virtualized machine including an operating system), a storage device, and a network device.
[0078] According to logical function division, a Platform as a Service (PaaS) layer can be deployed on the IaaS layer, and a SaaS layer is further deployed on the PaaS layer, or the SaaS can be directly deployed on the IaaS. The PaaS is a platform for software running, such as a database and a web container. The SaaS is various business software, such as a web portal website and a short message massager. Generally, the SaaS and the PaaS are upper layers relative to the IaaS.
[0079] With the development of Internet technology and the maturity of application software, the SaaS platform begins to rise. The SaaS platform is used to provide an information system composed of a plurality of SaaS applications.
[0080] In the related art, a code file is usually written according to the data flow among the SaaS applications for a specific business scenario, and then the configuration of the information system is realized according to the code file.
[0081] However, when the data format of the output data of any SaaS application changes, adaptive modifications are needed to the code files of other SaaS applications that use that output data. Obviously, modifying the code files impacts the configuration efficiency of the information system. When the data format of the output data from multiple SaaS applications changes, modifying the code files becomes very difficult, and may even require rewriting the code files, further increasing the operational complexity of the information system.
[0082] In this embodiment of the application, when changing the data format for a target application, after obtaining at least one field of information to be processed, in response to the target object's triggering operation on the field of information to be processed, candidate input data is presented on the data format change interface, and then the target data format is obtained according to the selected target input data.
[0083] In this way, on the one hand, by binding the information field to be processed with the target input data, the target data format is obtained, avoiding the inefficiency of data format changes caused by hard coding and improving the efficiency of data format conversion. On the other hand, data format changes can be made by the user and the visual interface without relying on code, which is simple and flexible. Moreover, since the data format conversion is determined by the user, the application access efficiency is greatly improved.
[0084] The preferred embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.
[0085] See Figure 1 The diagram shown illustrates an application scenario provided in this application embodiment. This application scenario includes at least a terminal device 110 and a server 120. The number of terminal devices 110 can be one or more, and the number of servers 120 can also be one or more. This application does not specifically limit the number of terminal devices 110 and servers 120.
[0086] In this embodiment, the terminal device 110 may be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, vehicle terminal, etc., but is not limited to these.
[0087] The server 120 can be a stand-alone physical server, a server cluster composed of multiple physical servers, or a distributed system, and can also be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal device 110 and the server 120 can be connected directly or indirectly through wired or wireless communication, which is not limited in the present application.
[0088] The present application can be applied to SaaS application scenario connectors, automated workflow platforms, approval flow platforms, smart home scenario connectors, and the like, but is not limited thereto.
[0089] Next, the SaaS application scenario connector will be described as an example.
[0090] Referring to Figure 2A The SaaS application scenario connector provided in the embodiments of the present application can include a sample data input module, a sample data saving module, and a data format conversion module, but is not limited thereto.
[0091] The sample data input module is configured to obtain target sample data corresponding to each SaaS application. In some embodiments, the sample data input module involves two data input methods: Webhook data input and test preview data input. The specific process of obtaining target sample data is described below.
[0092] The sample data saving module involves sample data preprocessing, sample data saving, and saving permission design. The sample data preprocessing refers to formatting the target sample data to obtain the corresponding candidate input data. The sample data saving refers to saving the target sample data. The saving permission design refers to controlling the saving of the target sample data based on permission control information. The specific sample data saving process is described below.
[0093] The data format conversion module involves SaaS application configuration, data conversion, and sample data variable replacement. The SaaS application configuration refers to configuring the initial data format for each SaaS application, i.e., configuring the to-be-processed field. The data conversion refers to selecting the target input data corresponding to the to-be-processed information field through the interaction between the user and the corresponding interface, wherein the target input data is obtained based on the target sample data of the corresponding associated application. The sample data variable replacement refers to obtaining the target input data by establishing a binding relationship between the to-be-processed information field and the target input data. The specific data format conversion process is described below.
[0094] In the embodiments of the present application, the user can perform the related data processing process through the visual interface, so that each application scheme in the SaaS application scenario connector can be automatically run according to the expectation without manual intervention. At the same time, the enterprise SaaS application can be connected digitally, the whole platform business scenario can be automatically connected, the information island can be broken, and the enterprise operation efficiency can be improved. In addition, in the embodiments of the present application, zero-code operation is adopted, so that professional background in research and development is not required, and the user can only rely on front-end and back-end click interaction to design the scheme and complete the connection of upstream and downstream SaaS applications.
[0095] It should be noted that the data processing method involved in the present application can be applied to a terminal device, can also be applied to a server, and can also be completed by interaction between the terminal device and the server.
[0096] Taking the acquisition process of the candidate input data as an example, referring to FIG. 1, which is an interaction schematic diagram between a terminal device and a server provided in an embodiment of the present application. Figure 2B
[0097] S201, the terminal device sends target sample data to the server. In the SaaS application scenario, the server can also be referred to as a SaaS application connector. The target sample data can be target sample data of an application.
[0098] S202, the server sends a policy acquisition request to the database. The policy acquisition request can carry application identification information of an application to which the target sample data belongs.
[0099] S203, the server acquires the corresponding data preprocessing strategy returned by the database. After the server acquires the data preprocessing strategy, the target sample data is formatted to obtain each candidate input data.
[0100] S204, the terminal device acquires the candidate input data returned by the server.
[0101] Further, the terminal device can present each candidate input data in the interface. The determination process of the candidate input data is specifically described below.
[0102] Referring to FIG. 2, which is a flowchart of a data processing method provided in an embodiment of the present application. The method can be applied to a terminal device, can also be applied to a server, and in the following, the application to the terminal device is taken as an example for description, and the specific process is as follows: Figure 3 S301, the terminal device presents a data format change interface containing an initial data format in response to a data format change operation triggered by a target object for a target application, and the initial data format contains at least one to-be-processed information field.
[0103]
[0104] In this embodiment, before executing S301, a target process can be presented in the data format change interface. The target process includes multiple applications and the relationships between these applications. When a user clicks on one of the multiple applications, the clicked application is designated as the target application, and a data format change operation is triggered for that target application. Correspondingly, the application that executes before the target application in the relationship can be considered as the associated application of the target application. It should be noted that, in this document, the associated application can also be referred to as the upstream application.
[0105] It should be noted that the embodiments in this application are described using only the click operation. Double-click, long press and other triggering methods can also be used, but it is not limited to this, and will not be described in detail here.
[0106] For example, see Figure 4 As shown, this is a schematic diagram of a target process provided in an embodiment of this application. The process name of the target process is Version 4. In this target process, there are 3 applications: Webhook, email application and document application. Webhook is used to receive data, email application is used to send emails, and document application is used to write data. The application account of email application is email account A, and the application account of document application is document account B. This target process represents that when Webhook receives data, it executes a trigger event, which is that the email application sends an email. After the email application sends an email, the document application writes data. The upstream application of the email application is Webhook, and the upstream applications of the document application are Webhook and email application.
[0107] When the user clicks on the document application, the following will be displayed: Figure 5The illustrated data format changing interface includes a target process in the left area, and includes a "application" tab, an "operation" tab, and a "configuration" tab in the right area, wherein the "application" tab is used to select each application included in the target process, the "operation" tab is used to set application operations, and the application operations include but are not limited to receiving data, sending an email, writing data, etc., and the "configuration" tab is used for data format changing. In the "configuration" tab, the initial data format applied by the document is included, and the initial data format includes three to-be-processed information fields, including a "post" field, a "name" field, and a "contact information" field. In the "configuration" tab, the "post" field, the "name" field, and the "contact information" field are respectively provided with corresponding "+" buttons, and when a user clicks the "+" button, it is determined that the user performs a trigger operation on the corresponding to-be-processed information field. In the "configuration" tab, a "save" button is also included, and when the user clicks the "+" button, the target data format is saved based on the values of the "post" field, the "name" field, and the "contact information" field input by the user.
[0108] It should be noted that in the embodiments of the present application, the initial data format can be configured by the user through the corresponding configuration interface after the target application is authorized and the account is created.
[0109] S302, in response to the trigger operation of the target object on the at least one to-be-processed information field, the terminal device presents at least one candidate input data in the data format changing interface, wherein each candidate input data is used to represent one output data of at least one associated application associated with the target application.
[0110] It should be noted that in the embodiments of the present application, if the target application is associated with one associated application, each candidate input data in the at least one candidate input data obtained is the output data of the associated application.
[0111] If the target application is associated with multiple associated applications, the at least one candidate input data obtained can be the output data of one associated application or the output data of multiple associated applications.
[0112] As a possible implementation manner, the trigger operation on the at least one to-be-processed information field can be a trigger operation on any one of the at least one to-be-processed information field, that is, the user triggers any one of the to-be-processed information field.
[0113] For ease of description, the following takes a to-be-processed information field x as an example, and the to-be-processed information field x is used to represent any one of the at least one to-be-processed information field.
[0114] If the user triggers the to-be-processed information field x, at least one candidate input data is presented in the data format changing interface. For example, as shown in
[0115] For example, as shown in Figure 6 For example, as shown in
[0116] As another possible implementation, the trigger operation for the at least one to-be-processed information field can be a shortcut trigger mode for presenting the at least one candidate input data, that is, the user triggers the shortcut trigger mode. The shortcut trigger mode can be implemented in various manners such as a gesture, an image, a voice, and the like, but is not limited thereto.
[0117] S303, the terminal device presents the selected at least one target input data in the data format changing interface in response to the selection operation of the target object on the at least one candidate input data.
[0118] For example, as shown in
[0119] For example, as shown in Figure 7 For example, as shown in
[0120] In the embodiments of the present application, the sample data request can also be initiated after the user clicks the required upstream application, the system receives the request and pulls the corresponding sample data, and returns the front end display after automatic analysis in the back end. At this time, the front end interface will present all the data output by the upstream, and the user can click the required part of the data. The above-mentioned front-end and back-end interaction operation is repeated for several times, and the data format conversion can be completed. Finally, after confirming that the configuration is correct, the save button can be clicked.
[0121] S304, in response to the binding operation of the target object on the at least one target input data and the at least one to-be-processed information field, obtaining a target data format, and presenting the target data format in a data format modification interface.
[0122] For example, referring to FIG. 6, when the user clicks the "Save" button, in response to the binding operation of each target input data and each to-be-processed information field, the target data format is obtained, in which the "position" field corresponds to the target input data "label", the "name" field corresponds to the target input data "children", and the "contact information" field corresponds to the target input data "type". Figure 8
[0123] Through the above implementation manner, the data format applied to the document can be changed through user graphical operation selection, and the backend program is no longer relied on. Through this design, the user can determine the conversion of the data format of the upstream and downstream applications through the window operation, and no longer needs the support of platform technical personnel. For non-technical professionals such as human resources, market public relations, data analysis, and Internet technology administrators, zero research and development cost, simple configuration, and efficient work can be achieved, and the operation difficulty of realizing business process automation and digitization is reduced.
[0124] In some embodiments, the target data format can be obtained in the following manner, but is not limited thereto:
[0125] Obtaining a binding relationship between the at least one target input data and the at least one to-be-processed information field; and based on the binding relationship, taking the at least one target input data as a field value of the corresponding to-be-processed information field to obtain the target data format.
[0126] It should be noted that in the embodiments of the present application, each to-be-processed field included in the initial data format can be pre-configured by the user. The initial data format can also include a field type corresponding to each to-be-processed field. The user can configure the key value and the field type of each to-be-processed field to obtain the input structure corresponding to the target application, i.e., the initial data format of the target application.
[0127] For example, in the binding relationship, the "position" field corresponds to the target input data "label", the "name" field corresponds to the target input data "children", and the "contact information" field corresponds to the target input data "type". After obtaining the binding relationship, based on the binding relationship, the target input data "label" is taken as the value of the "position" field, the target input data "children" is taken as the value of the "name" field, and the target input data "type" is taken as the value of the "contact information" field.
[0128] In the related art, since the development is heavily dependent on technical personnel, the data format conversion is mainly realized by hard coding, and by using the above implementation manner, the value of the input can be determined through the candidate input data, and then the target data format can be assembled through one-to-one correspondence with the key in the initial data format of the target application. In this way, the data format conversion of all applications can be realized by user and graphical interface interaction, without relying on any backend code, which is simple and flexible. Moreover, since the data format conversion is determined by the user, the upstream and downstream data formats can be converted automatically. Therefore, the platform developers do not need to process the input and output of the application, which greatly improves the efficiency of application access.
[0129] In some embodiments, referring to Figure 9 As shown in the figure, it is a flowchart for obtaining candidate input data provided in an embodiment of the present application, and the specific process is as follows:
[0130] S901, the terminal device presents a data format configuration interface in response to the data format configuration operation triggered by the target object for at least one associated application, and the data format configuration interface includes a data presentation area and a data preview component.
[0131] S902, the terminal device presents at least one candidate sample data in the data presentation area in response to the trigger operation of the target object for the data preview component.
[0132] Referring to Figure 10 As shown in the figure, it is a logic diagram of a candidate sample data input method provided in an embodiment of the present application. After the user inputs the initial sample data, the terminal device sends the initial sample data to the server. Correspondingly, the terminal can determine the target sample data by clicking the interface of the user front end and present the target sample data.
[0133] For ease of description, only the associated application x is taken as an example for description. The associated application x can be any one of the at least one associated application.
[0134] In the embodiment of the present application, the candidate sample data can be input in at least one of the following ways, but is not limited to:
[0135] Method one: Webhook input. Specifically, the terminal device sends at least one candidate sample data of the associated application x to the server based on the target address of the target object. To ensure data security, different addresses can be configured for each object. The user can send at least one sample data to the target address through but not limited to Postman.
[0136] Taking the associated application x as an example, referring to Figure 11As shown, it is the first data format configuration interface provided in the embodiment of the application, which includes a data presentation area and a data preview component. The data preview component is a "test and preview" button. The data format configuration interface also includes a Webhook address, a "save" button, and a "sample data" tab. The user can obtain the target address by copying, and then send three candidate sample data to the server based on the target link address. When the user clicks the "save" button, the three candidate sample data are presented in the form of tabs in the data presentation area. Figure 11 For example, only sample data 1 is presented in the above implementation mode. The sample data 1 includes "children", "type", "label", and the like.
[0137] Through the above implementation mode, each candidate sample data can be obtained and saved by external input, and then confirmed by the user as the target sample data.
[0138] Mode two: test preview input. Specifically, the terminal device obtains at least one output data of the associated application x, and takes the at least one output data as at least one candidate sample data.
[0139] It should be noted that in actual application, since the server usually saves the latest N output data of the associated application x, the terminal device can obtain N output data of the associated application x as N candidate sample data by using mode two. The value of N is a positive integer, for example, the value of N is 1.
[0140] For example, referring to Figure 12 As shown, it is the second data format configuration interface provided in the embodiment of the application. After the user configures the required input parameters of an associated application, the user clicks the "test and preview" button. The server sends the output data of the associated application, i.e., candidate sample data 1, to the terminal device, so that the terminal device presents the candidate sample data 1 in the data presentation area. The second data format configuration interface can also configure the document type, document name, and document storage location of a newly created document, which can be used to store candidate sample data.
[0141] Through the above implementation mode, the candidate sample data is automatically executed by the terminal device, so that the latest candidate sample data can be automatically saved as the target sample data, and the data processing efficiency is improved.
[0142] It should be noted that in addition to the above mode one and mode two, the candidate sample data can also be sent to the server by using an attachment upload, a web page submission, and the like.
[0143] Specifically, when S902 is performed, the following operations can be used but are not limited to:
[0144] In response to the triggering operation of the target object on the data preview component, at least one format selection component is presented in the data format configuration interface, and each format selection component corresponds to a candidate sample data.
[0145] In response to the triggering operation of the target object on the at least one format selection component, the corresponding candidate sample data is presented in the data presentation area.
[0146] Taking the type of the format selection component as a tab as an example, referring to FIG. 8, the "Test and preview" button is the data preview component. After the user clicks the "Test and preview" button, the "Sample data 1" tab, the "Sample data 2" tab, and the "Sample data 3" tab are presented in the data format configuration interface. Except for the "Sample data 1" tab, the other tabs are not shown in the figure. When the user clicks the "Sample data 1" tab, the terminal device presents the corresponding candidate sample data, i.e., sample data 1, in the data presentation area in response to the triggering operation of the user on one format selection component. Figure 11
[0147] In the above manner, the target sample data can be freely determined by the user, the process flexibility is improved, and thus the user experience can be improved.
[0148] S903, the terminal device presents the selected target sample data in the data presentation area in response to the selection operation of the target object on the at least one candidate sample data, and obtains at least one candidate input data based on the target sample data.
[0149] It should be noted that in the embodiments of the present application, specifically, when the at least one candidate input data is obtained based on the target sample data,
[0150] The corresponding data preprocessing strategy of the associated application is obtained, the target sample data is formatted according to the obtained data preprocessing strategy, and at least one candidate input data is obtained.
[0151] Each associated application can be associated with at least one data preprocessing strategy. When an associated application is associated with multiple data preprocessing strategies, the data preprocessing strategy to be executed can be determined based on the operation type of the associated application. The operation type includes but is not limited to querying data, writing data, importing data, and the like. That is, a SaaS application can have multiple sample data processing strategies. The data processing of the SaaS application does not depend on the detail table of the database, but mainly depends on the operation type of the application operation.
[0152] For example, referring to FIG. 8, the "Test and preview" button is the data preview component. After the user clicks the "Test and preview" button, the "Sample data 1" tab, the "Sample data 2" tab, and the "Sample data 3" tab are presented in the data format configuration interface. Except for the "Sample data 1" tab, the other tabs are not shown in the figure. When the user clicks the "Sample data 1" tab, the terminal device presents the corresponding candidate sample data, i.e., sample data 1, in the data presentation area in response to the triggering operation of the user on one format selection component. Figure 11 As shown, after the user clicks the "Sample Data 1" tab, the terminal device presents the corresponding candidate sample data: Sample Data 1 in the data presentation area in response to the user's triggering operation on the "Sample Data 1" tab. At this time, the user clicks the "Save" button, and the terminal device determines that the user triggers the selection operation on Sample Data 1, Sample Data 2, and Sample Data 3, and presents the selected target sample data: Sample Data 1 in the data presentation area. Since the operation type of the document application is to write data, the target sample data is formatted based on the data preprocessing strategy corresponding to the write data to obtain the corresponding candidate input data, which contains "children", "type", "label", etc.
[0153] Obviously, after the target sample data corresponding to the Webhook is formatted, the flat candidate input data is obtained, so that the target sample data of the Webhook can be clearly and simply presented, thereby reducing the difficulty of data processing and improving the efficiency of data processing.
[0154] In actual application, since there are cases where the same application is bound to multiple processes, in order to avoid the case where the data format of the application is changed, and all related processes are changed at the same time, in the embodiment of the application, the following methods can be used, but are not limited to:
[0155] If there is one associated application in the at least one associated application, and one associated application is associated with at least one other association relationship in addition to the target association relationship, the terminal device obtains the key field set of one associated application; based on the key field set and the running state information corresponding to the association relationship and the at least one other association relationship, the data format change order between the target association relationship and the at least one other association relationship is determined.
[0156] It should be noted that in the embodiment of the application, the association of one application with an association relationship can also be understood as the association relationship containing the application. Based on the key field set and the running state information, it can be determined that the corresponding process is in an editing state or a working state.
[0157] For example, assuming that the mail application is associated with other association relationships in addition to the target association relationship, that is, the mail application is bound to other processes in addition to the target process, the terminal device obtains the key field set of the mail application, and then determines the data format change order based on the key field set, the running state information of the target association relationship, and the running state information of the other association relationship: target association relationship, other association relationship, wherein the running state information of the target association relationship indicates that the target process is in an editing state, and the running state information of the other association relationship indicates that the other process is in a working state.
[0158] Through the implementation manner, based on the key field set, in combination with the flow information of the backend, it is confirmed that a certain flow is in an editing state or a working state, so that each flow bound to the application is processed one by one, thereby solving the one-to-many hot publishing problem.
[0159] In addition, since there can be multiple versions of the same flow, the state discrimination of the trigger of the sample data can also allow the flow to be edited and modified without being offline, thereby solving the blue-green publishing of the flow.
[0160] In some embodiments, when the key field set of an associated application is acquired, the following methods can be used, but are not limited to:
[0161] The terminal device acquires at least two candidate sample data of an associated application;
[0162] The terminal device determines a key field set of an associated application based on at least two candidate sample data.
[0163] It should be noted that each key field in the key field set can be a repeated field in the at least two candidate sample data, can be part of the repeated field, or can be a field with a confidence higher than a preset threshold selected from the at least two candidate sample data.
[0164] For example, the terminal device acquires two candidate sample data of the mail application, the repeated fields in the two candidate sample data are "project name" and "project identifier", and based on the two candidate sample data, the key field set of the mail application is determined, and the key fields in the key field set are "project name" and "project identifier".
[0165] In some embodiments, the data format configuration interface further includes a data saving interface, and in response to the selection operation of the target object on the at least one candidate sample data, the selected target sample data is presented in the data presentation area, and in response to the trigger operation of the target object on the data saving interface, the initial data format can be saved to a specified storage location.
[0166] The specified storage location can be a server or a database, and no limitation is made thereto.
[0167] For example, as shown in Figure 12 The data format configuration interface includes a "save" button, which is a data saving interface. When the user clicks the "save" button, the terminal device responds to the trigger operation of the "save" button to save the target sample data to the specified storage location.
[0168] Through the implementation manner, the target sample data is confirmed and saved based on the interaction process of the user and the visual interface, and the data processing efficiency is improved.
[0169] In some embodiments, after the target data format is presented in the data format changing interface, the method further includes:
[0170] obtaining target permission configuration information; and based on the target permission configuration information, determining that the target object is configured to allow the data format to be changed, and saving the target data format to a specified storage location so that the target application uses the target data format.
[0171] In the embodiments of the present application, the permission information of each object can be pre-configured in the target permission configuration information based on the object identifier corresponding to each object. The target permission configuration information can be used to indicate whether the target object allows the data format to be changed, and the target permission configuration information can also be used to limit the saving time and saving address of the target object. The specified storage location can be a database or a server corresponding to the target application.
[0172] Referring to Figure 13 As shown in the figure, the permission information of user A, user B, …, user M and Zhang San is included in the target permission configuration information, and the permission information of user A, user B, …, user M and Zhang San is configured by the configuration server. Assuming that the target object is Zhang San, the terminal device obtains the target permission configuration information, and when it is determined based on the target permission configuration information that Zhang San is configured to allow the data format to be changed, the target data format is saved to the specified storage location so that the document application uses the target data format.
[0173] It should be noted that in the embodiments of the present application, after the terminal device obtains each candidate input data, the candidate input data can also be saved to the specified storage location in a similar manner, which will not be described here.
[0174] Through the implementation manner, the target object is verified to have the information changing permission through the target permission configuration information, thereby improving the data security, avoiding the influence of information changing on the normal operation of the application, and improving the system stability.
[0175] When saving the target data format, the terminal device can also use a message queue to perform a downgrade distribution process on the temporary hot input. Specifically, when the number of target data formats included in the message queue exceeds a preset threshold value, the target data format of an application with a low priority can be distributed in a downgrade manner according to the priority corresponding to each application.
[0176] In some embodiments, the following methods can be used to obtain the association relationship, but are not limited thereto.
[0177] present an association relationship configuration interface, the association relationship configuration interface including a target application and at least one associated application;
[0178] In response to a connection operation of the target object on the target application and the at least one associated application, a corresponding target association relationship is acquired, and the target association relationship is presented in the association relationship configuration interface.
[0179] For example, as shown in Figure 14A The association relationship configuration interface includes three parts. The first part is a process name and a process operation button in a top area. The process operation button includes an "edit" button and a "publish" button. The second part is a process schematic area, which is used to edit the association relationship between applications. The third part is an authorization and configuration panel, which includes a document application, a webhook, a mail application, and the like. The configuration of each application can include account authorization, application operation, and application configuration.
[0180] When the user clicks the webhook, as shown in Figure 14B The webhook is presented in the process schematic area. Similarly, when the user clicks the mail application and the document application in turn, the terminal device presents the association relationship as shown in Figure 4 in response to the connection operation of the user on the mail application, the document application, and the webhook.
[0181] In some embodiments, the association relationship configuration interface can be presented in the following ways, but is not limited thereto:
[0182] As shown in Figure 15A which is a login interface of a scenario connector provided in an embodiment of the present application. The login interface includes an "immediate login" button. When the user clicks the "immediate login" button, a scheme creation interface as shown in Figure 15B is presented.
[0183] The scheme creation interface includes a "create from scratch" button and a "create from template" button. The "create from scratch" button is used to create a process from scratch in a blank canvas. The "create from template" button is used to quickly build a process using a preset scheme template. The scheme creation interface also includes various application schemes, and the scheme name, creation time, and modification time of each application method.
[0184] When the user clicks the "create from scratch" button, an association relationship configuration interface as shown in Figure 14A is presented.
[0185] Next, the present application is described in combination with three application scenarios.
[0186] Application scenario one: automatic workflow.
[0187] For example, the target process is: a document application, a personnel statistics application, wherein the output data of the document application is the input data of the personnel statistics application.
[0188] Suppose the target application is the personnel statistics application, and the terminal device presents a data format change interface containing an initial data format in response to a user triggering a data format change operation for the personnel statistics application, and the initial data format contains a to-be-processed information field "punch-in time".
[0189] The terminal device presents two candidate input data in the data format change interface in response to a user triggering an operation on the to-be-processed information field "punch-in time", wherein the two candidate input data are both output data of the document application, and the two candidate input data are input data "work time" and input data "off work time" respectively.
[0190] The terminal device presents the selected target input data "work time" in the data format change interface in response to a user selecting the two candidate input data.
[0191] The terminal device obtains a target data format in response to a user binding the target input data and the to-be-processed information field, and presents the target data format in the data format change interface, wherein the value of the to-be-processed information field "punch-in time" in the target data format is the input data "work time".
[0192] Application scenario two: approval flow platform of financial, procurement and personnel systems.
[0193] For example, the target process is: a procurement approval application, a supply chain operation approval application, and an accounting approval application. The output data of the procurement approval application is the input data of the supply chain operation approval application and the accounting approval application, and the output data of the supply chain operation approval application is the input data of the accounting approval application.
[0194] Suppose the target application is the accounting approval application, and the terminal device presents a data format change interface containing an initial data format in response to a user triggering a data format change operation for the accounting approval application, and the initial data format contains a to-be-processed information field "item 1".
[0195] The terminal device presents, in the data format change interface, 3 candidate input data in response to the triggering operation of the user on the to-be-processed information field "payment 1", wherein 2 of the 3 candidate input data are output data of the supply chain operation approval application, and 1 of the 3 candidate input data is output data of the purchase approval application, and the 3 candidate input data are input data "approval result A1", input data "approval result B1", and input data "approval result B2" respectively.
[0196] The terminal device presents, in the data format change interface, the selected target input data "approval result A1" in response to the selection operation of the user on the 3 candidate input data.
[0197] The terminal device obtains the target data format in response to the binding operation of the user on the target input data and the to-be-processed information field, and presents, in the data format change interface, the target data format, wherein the value of the to-be-processed information field "payment 1" in the target data format is the input data "approval result A1".
[0198] Application scenario three: smart home scene connector.
[0199] For example, the target process is: a smart lamp application and a sweeping robot application, and output data of the smart lamp application is input data of the sweeping robot application.
[0200] Suppose that the target application is the sweeping robot application, and the terminal device presents, in the data format change interface, an initial data format in response to the data format change operation triggered by the user on the sweeping robot application, wherein the initial data format includes a to-be-processed information field "whether to sweep".
[0201] The terminal device presents, in the data format change interface, 1 candidate input data in response to the triggering operation of the user on the to-be-processed information field "whether to sweep", wherein the candidate input data is output data of the smart lamp application, and the candidate input data is input data "whether the lamp is off".
[0202] The terminal device presents, in the data format change interface, the selected target input data "whether the lamp is off" in response to the selection operation of the user on the candidate input data.
[0203] The terminal device obtains the target data format in response to the binding operation of the user on the target input data and the to-be-processed information field, and presents, in the data format change interface, the target data format, wherein the value of the to-be-processed information field "whether to sweep" in the target data format is the input data "whether the lamp is off".
[0204] Based on the same inventive concept, an embodiment of the present application provides a data processing apparatus. As Figure 16As shown, it is a structural schematic diagram of the data processing apparatus 1600, which can include:
[0205] An output presentation unit 1601, configured to present a data format changing interface containing an initial data format in response to a data format changing operation triggered by a target object for a target application, the initial data format containing at least one to-be-processed information field;
[0206] An input presentation unit 1602, configured to present at least one candidate input data in the data format changing interface in response to a triggering operation of the target object for the at least one to-be-processed information field, wherein each candidate input data is used to represent an output data of at least one associated application associated with the target application;
[0207] A data selection unit 1603, configured to present at least one target input data selected in the data format changing interface in response to a selection operation of the target object for the at least one candidate input data;
[0208] A data binding unit 1604, configured to obtain a target data format in response to a binding operation of the target object for the at least one target input data and the at least one to-be-processed information field, and present the target data format in the data format changing interface.
[0209] As a possible implementation, the input presentation unit 1602 is further configured to:
[0210] present a data format configuration interface in response to a data format configuration operation triggered by the target object for the at least one associated application, the data format configuration interface containing a data presentation area and a data preview component;
[0211] present at least one candidate sample data in the data presentation area in response to a triggering operation of the target object for the data preview component;
[0212] present target sample data selected in the data presentation area in response to a selection operation of the target object for the at least one candidate sample data, and obtain the at least one candidate input data based on the target sample data selected.
[0213] As a possible implementation, the input presentation unit 1602 is further configured to perform at least one of the following operations:
[0214] send the at least one candidate sample data to a server based on a target address of the target object;
[0215] Obtaining at least one output data of the at least one associated application, and taking the at least one output data as the at least one candidate sample data.
[0216] As a possible implementation, in response to the triggering operation of the target object on the data preview component, the input presentation unit 1602 is configured to:
[0217] In response to the triggering operation of the target object on the data preview component, at least one format selection component is presented in the data format configuration interface, and each format selection component corresponds to a candidate sample data.
[0218] In response to the triggering operation of the target object on the at least one format selection component, the corresponding candidate sample data is presented in the data presentation area.
[0219] As a possible implementation, the data format configuration interface further includes a data saving interface.
[0220] After the target sample data is presented in the data presentation area in response to the selection operation of the target object on the at least one candidate sample data, the data binding unit 1604 is further configured to:
[0221] In response to the triggering operation of the target object on the data saving interface, the target sample data is saved to a specified storage location.
[0222] As a possible implementation, when the target data format is obtained, the data binding unit 1604 is specifically configured to:
[0223] Obtain a binding relationship between the at least one target input data and the at least one to-be-processed information field;
[0224] Based on the binding relationship, the at least one target input data is taken as a field value of the corresponding to-be-processed information field to obtain the target data format.
[0225] As a possible implementation, after the target data format is presented in the data format change interface, the data binding unit 1604 is further configured to:
[0226] Obtain target permission configuration information;
[0227] Based on the target permission configuration information, when the target object is configured to allow the data format to be changed, the target data format is saved to a specified storage location, so that the target application uses the target data format.
[0228] As a possible implementation manner, before the data format change interface containing the initial data format is presented in response to the data format change operation triggered by the target object for the target application, the output presentation unit 1601 is further used for:
[0229] presenting an association relationship configuration interface containing the target application and the at least one associated application;
[0230] in response to a connection operation of the target object for the target application and the at least one associated application, obtaining a target association relationship, and presenting the target association relationship in the association relationship configuration interface.
[0231] As a possible implementation manner, before the data format change interface containing the initial data format is presented in response to the data format change operation triggered by the target object for the target application, the output presentation unit 1601 is further used for:
[0232] if there is one associated application in the at least one associated application, and the one associated application is associated with at least one other association relationship in addition to the target association relationship, obtaining a key field set of the one associated application;
[0233] determining a data format change order between the target association relationship and the at least one other association relationship based on the key field set and running state information corresponding to the association relationship and the at least one other association relationship respectively.
[0234] As a possible implementation manner, when the key field set of the one associated application is obtained, the output presentation unit 1601 is specifically used for:
[0235] obtaining at least two candidate sample data of the one associated application;
[0236] determining the key field set of the one associated application based on the at least two candidate sample data.
[0237] For the convenience of description, each part is described as a module (or unit) according to function. Of course, when the present application is implemented, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.
[0238] Regarding the device in the above embodiments, the specific manner of each unit to perform the request has been described in detail in the embodiments related to the method, and will not be described in detail here.
[0239] Those skilled in the art can understand that each aspect of the present application can be implemented as a system, a method or a program product. Therefore, each aspect of the present application can be specifically implemented as follows: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which can be collectively referred to as "circuitry", "module" or "system" here.
[0240] After introducing the data processing method and device of the exemplary embodiments of the present application, next, an electronic device according to another exemplary embodiment of the present application is introduced.
[0241] Figure 17 is a block diagram of an electronic device 1700 according to an exemplary embodiment, which comprises:
[0242] a processor 1710;
[0243] a memory 1720 for storing instructions executable by the processor 1710;
[0244] The processor 1710 is configured to execute instructions to implement the data processing method in the embodiments of the present application, for example, the steps shown in the method 1000. Figure 3
[0245] In the exemplary embodiments, a storage medium including operations is also provided, for example, a memory 1720 including operations, which can be executed by the processor 1710 of the electronic device 1700 to complete the above method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a Read-Only Memory (ROM), a Random Access Memory (RAM), a portable Compact Disk Read Only Memory (CD-ROM), a magnetic tape, a floppy disk and an optical data storage device, etc.
[0246] Based on the same inventive concept, the present application also provides a computer program product or computer program, which comprises computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the data processing method provided in various optional implementation manners in the above embodiments.
[0247] In some possible implementation, each of the aspects of the data processing method provided by the present application can also be implemented in the form of a program product, which includes a computer program for causing a computer device to perform the steps of the data processing method according to various exemplary embodiments of the present application described above in the specification, when the program product is run on the computer device, for example, the computer device can perform the steps as shown in FIG. 6. Figure 3
[0248] The program product can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium may, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any suitable combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include an electrical connection having one or more wires, a portable disc, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0249] The program product of the embodiments of the present application can adopt a CD-ROM and include a program code, and can be run on a computing device. However, the program product of the present application is not limited to this, and in this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used or combined with a command execution system, device or apparatus.
[0250] The readable signal medium can include a data signal propagating in a baseband or as part of a carrier wave, in which a readable program code is borne. Such a propagating data signal can take on many forms, including but not limited to electro-magnetic, optical or any suitable combination thereof. The readable signal medium can also be any readable medium that is not a readable storage medium and that can transmit, propagate or transport a program for use by or in connection with a command execution system, device or apparatus. Although the preferred embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they have the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0251] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A data processing method, characterized in that, The method includes: A data format change interface containing the target process is presented, which includes multiple applications and the relationships between them. In response to a data format change operation triggered by the target object for the target application, an initial data format is presented in the data format change interface, the initial data format containing at least one information field to be processed; In response to a triggering operation by the target object on the at least one field of information to be processed, at least one candidate input data is presented on the data format change interface, wherein each candidate input data is used to characterize an output data of at least one associated application associated with the target application; each associated application is an application that is executed before the target application in the association relationship; In response to the target object's selection operation for the at least one candidate input data, the selected at least one target input data is presented in the data format change interface; In response to the binding operation of the target object for the at least one target input data and the at least one information field to be processed, the target data format is obtained and the target data format is presented in the data format change interface; The at least one candidate input data is obtained in the following manner: In response to a data format configuration operation triggered by the target object for the at least one associated application, a data format configuration interface is presented, which includes a data presentation area and a data preview component. In response to a trigger operation by the target object on the data preview component, at least one candidate sample data is presented in the data presentation area; In response to the target object's selection operation for the at least one candidate sample data, the selected target sample data is presented in the data presentation area, and the at least one candidate input data is obtained based on the selected target sample data.
2. The method as described in claim 1, characterized in that, The at least one candidate sample data is obtained through at least one of the following methods: Based on the target address of the target object, the at least one candidate sample data is sent to the server; Obtain at least one output data from the at least one associated application, and use the at least one output data as the at least one candidate sample data.
3. The method as described in claim 1, characterized in that, In response to a trigger operation by the target object on the data preview component, at least one candidate sample data is presented in the data presentation area, including: In response to the target object's trigger operation on the data preview component, at least one format selection component is presented in the data format configuration interface, and each format selection component corresponds to a candidate sample data. In response to a triggering operation by the target object on the at least one format selection component, corresponding candidate sample data is presented in the data presentation area.
4. The method as described in claim 1, characterized in that, The data format configuration interface also includes a data saving interface; Then, in response to the target object's selection operation for the at least one candidate sample data, after presenting the selected target sample data in the data presentation area, the method further includes: In response to the target object's triggered operation on the data saving interface, the target sample data is saved to the specified storage location.
5. The method according to any one of claims 1-4, characterized in that, The method of obtaining the target data format includes: Obtain the binding relationship between the at least one target input data and the at least one information field to be processed; Based on the binding relationship, the at least one target input data is used as the field value of the corresponding information field to be processed to obtain the target data format.
6. The method according to any one of claims 1-4, characterized in that, After presenting the target data format in the data format change interface, the process further includes: Obtain target permission configuration information; Based on the target permission configuration information, when it is determined that the target object is configured to allow changes to the data format, the target data format is saved to a specified storage location so that the target application can use the target data format.
7. The method according to any one of claims 1-4, characterized in that, Before presenting a format change interface containing the initial data format in response to a data format change operation triggered by the target object for the target application, the method further includes: A relationship configuration interface is presented, which includes the target application and the at least one associated application; In response to the connection operation of the target object for the target application and the at least one associated application, the corresponding target association relationship is obtained and presented in the association relationship configuration interface.
8. The method as described in claim 7, characterized in that, Before presenting the data format change interface containing the initial data format in response to a data format change operation triggered by the target object for the target application, the method further includes: If there is an associated application among the at least one associated application, and the associated application is associated with at least one other relationship in addition to the target relationship, then the set of key fields of the associated application is obtained. Based on the set of key fields and the running status information corresponding to the relationship and the at least one other relationship, the order of data format changes between the target relationship and the at least one other relationship is determined.
9. The method as described in claim 8, characterized in that, The process of obtaining the key field set of the associated application includes: Obtain at least two candidate sample data for the aforementioned associated application; Based on the at least two candidate sample data, determine the set of key fields for the associated application.
10. A data processing apparatus, characterized in that, include: The output presentation unit is used to present a data format change interface containing the target process, which includes multiple applications and the relationships between the multiple applications. In response to a data format change operation triggered by the target object for the target application, an initial data format is presented in the data format change interface, the initial data format containing at least one information field to be processed; An input presentation unit is configured to, in response to a triggering operation by the target object on the at least one field of information to be processed, present at least one candidate input data on the data format change interface, wherein each candidate input data is used to characterize an output data of at least one associated application associated with the target application; each associated application is an application that is executed before the target application is executed in the association relationship; A data selection unit is used to, in response to the target object's selection operation for the at least one candidate input data, present the selected at least one target input data in the data format change interface; A data binding unit is configured to, in response to the binding operation of the target object on the at least one target input data and the at least one information field to be processed, obtain the target data format and present the target data format in the data format change interface; The input presentation unit is further configured to: in response to a data format configuration operation triggered by the target object for the at least one associated application, present a data format configuration interface, the data format configuration interface including a data presentation area and a data preview component; in response to a trigger operation by the target object for the data preview component, present at least one candidate sample data in the data presentation area; in response to a selection operation by the target object for the at least one candidate sample data, present the selected target sample data in the data presentation area, and obtain the at least one candidate input data based on the selected target sample data.
11. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of any of the methods described in claims 1 to 9.
12. A computer-readable storage medium, characterized in that, It includes a computer program that, when run on an electronic device, causes the electronic device to perform the steps of any of the methods described in claims 1 to 9.
13. A computer program product, characterized in that, It includes a computer program stored in a computer-readable storage medium, and a processor of an electronic device reads from and executes the computer program, causing the electronic device to perform the steps of any of the methods described in claims 1 to 9.
Citation Information
Patent Citations
Interface display method and device, server and readable storage medium
CN112527280A
Data processing method, device and equipment and readable storage medium
CN113626512A