A data processing method and apparatus
By establishing a binding relationship between the data interface and the interface interaction elements in the low-code platform, processing the data to be loaded and implementing interface rendering, the problem of unprepared data in the API is solved and the quality of interface interaction effect is improved.
Patent Information
- Application Number
- CN202111241121.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-25
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2041-10-25
AI Technical Summary
In low-code platforms, when the underlying data of the API is not ready, the correct interface display cannot be generated, resulting in poor interaction design and interface rendering.
By establishing a binding relationship between the data interface and the interface interactive elements, the data to be loaded is obtained based on the object content of the data interface and the association relationship processing of the interface elements, and when the application interface is triggered, the rendering and display of the interface elements is realized based on the data to be loaded.
It realizes automatic processing of data to be loaded in the application interface, ensuring that interface elements can be rendered and displayed correctly when triggered, meeting the user's interface interaction needs, and improving the quality of interaction effects.
Smart Images

Figure CN113900634B_ABST
Abstract
Description
Technical Field
[0001] This application relates to application release technology, and more specifically, to a data processing method and device. Background Art
[0002] In a low-code platform, interaction design generates an interface by dragging and dropping, and binds corresponding dynamic data interfaces, that is, APIs (Application Programming Interfaces), to the operation elements of the interface to produce appropriate interaction effects. In this case, if the underlying data of the API is not ready, the correct interface display cannot be generated. Summary of the Invention
[0003] In view of this, this application provides the following technical solutions:
[0004] A data processing method includes:
[0005] Establish a binding relationship between the published data interface and the interface interaction elements;
[0006] Process and obtain the data to be loaded according to the object content of the data interface and the association relationship between the interface interaction elements bound to the data interface and other interface interaction elements;
[0007] During the triggering process of the application interface, render and display the interface interaction elements bound to the data interface in the application interface based on the obtained data to be loaded.
[0008] Optionally, during the triggering process of the application interface, rendering and displaying the interface interaction elements bound to the data interface in the application interface based on the obtained data to be loaded includes:
[0009] Initialize the data to be loaded during the triggering process of the application interface, where the application interface includes the interface interaction elements bound to the data interface;
[0010] After the initialization of the data to be loaded is completed, return the data to be loaded to the interface interaction elements bound to the data interface to implement the rendering and display of the interface interaction elements.
[0011] Optionally, processing and obtaining the data to be loaded according to the object content of the data interface and the association relationship between the interface interaction elements bound to the data interface and other interface interaction elements includes:
[0012] Obtain the first processed data according to the object content of the data interface and the association relationship between the interface interaction elements bound to the data interface and other interface interaction elements;
[0013] The to-be-loaded data is obtained by processing the first processed data, and the data volume of the to-be-loaded data is greater than that of the first processed data.
[0014] Optionally, obtaining the first processed data according to the object content of the data interface and the association relationship between the interface interaction element bound to the data interface and other interface interaction elements includes:
[0015] Determine the first association relationship between the data interface and other data interfaces according to the association relationship between the interface interaction element bound to the data interface and other interface interaction elements, and the other data interfaces and the other interface interaction elements are respectively bound one by one;
[0016] Obtain the first processed data based on the object content of the data interface and the first association relationship.
[0017] Optionally, obtaining the first processed data based on the object content of the data interface and the first association relationship includes:
[0018] Based on the object content of the data interface and the first association relationship, use the enumeration algorithm and the combination algorithm to generate the first processed data.
[0019] Optionally, processing the first processed data to obtain the to-be-loaded data includes:
[0020] Based on the first processed data, use the recursive algorithm to generate the to-be-loaded data that is more than the first processed data.
[0021] Optionally, initializing the to-be-loaded data during the trigger process in the application interface includes:
[0022] During the trigger process in the application interface, initialize the to-be-loaded data to the underlying data model of the data interface.
[0023] Optionally, after the initialization of the to-be-loaded data is completed, returning the to-be-loaded data to the interface interaction element bound to the data interface to implement the rendering and display of the interface interaction element includes:
[0024] After the initialization of the to-be-loaded data is completed, return the to-be-loaded data to the interface interaction element bound to the data interface through the data interface to implement the rendering of the interface interaction element.
[0025] A data processing device includes:
[0026] A binding processing module, configured to establish a binding relationship between a published data interface and an interface interaction element;
[0027] A data processing module, configured to process and obtain data to be loaded according to the object content of the data interface and the association relationship between the interface interaction element bound to the data interface and other interface interaction elements;
[0028] An interface processing module, configured to, during the process of triggering the execution of the application interface, implement the rendering and display of the interface interaction element bound to the data interface in the application interface based on the obtained data to be loaded.
[0029] Optionally, the interface processing module includes:
[0030] An initialization module, configured to initialize the data to be loaded during the process of triggering the execution of the application interface, where the application interface includes the interface interaction element bound to the data interface;
[0031] A data transmission module, configured to, after the initialization of the data to be loaded is completed, return the data to be loaded to the interface interaction element bound to the data interface to implement the rendering and display of the interface interaction element.
[0032] As can be seen from the above technical solutions, compared with the prior art, the embodiments of the present application disclose a data processing method and apparatus. The method includes: establishing a binding relationship between a published data interface and an interface interaction element; processing and obtaining data to be loaded according to the object content of the data interface and the association relationship between the interface interaction element bound to the data interface and other interface interaction elements; during the process of triggering the execution of the application interface, implementing the rendering and display of the interface interaction element bound to the data interface in the application interface based on the obtained data to be loaded. After the data interface is bound to the interface interaction element, the above implementation solution can automatically process and obtain the data to be loaded based on the existing data, so that subsequently, by triggering the execution of the application interface, the rendering and display of the data to be loaded in the application interface can be realized, so as to generate an interface interaction effect that meets the user's needs. Description of the Drawings
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.
[0034] Figure 1 It is a flowchart of a data processing method disclosed in an embodiment of the present application;
[0035] Figure 2 It is a flowchart of implementing the rendering and display of the interface interaction element disclosed in an embodiment of the present application;
[0036] Figure 3 A flowchart for processing to obtain data to be loaded disclosed in an embodiment of the present application;
[0037] Figure 4 An example diagram of an enterprise information management application interface disclosed in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of the principle process of the data processing method disclosed in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of the structure of a data processing device disclosed in an embodiment of the present application when this application is implemented. Detailed implementation manners
[0040] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying 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 in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0041] Figure 1 A flowchart of a data processing method disclosed in an embodiment of the present application, Figure 1 The method shown can be applied to a low-code platform or other application editing platforms, and is used to automatically fill the underlying data of data interfaces in the low-code platform or other application editing platforms, so that the interface elements corresponding to the data interfaces in the subsequently generated or published application interfaces can be normally rendered and accurate data display can be performed, meeting the user's interface interaction requirements and achieving an ideal interaction effect. In the subsequent embodiment content, for the convenience of introduction, the low-code cloud platform will be taken as an example for relevant introduction.
[0042] See Figure 1 As shown, the data processing method may include:
[0043] Step 101: Establish a binding relationship between the already published data interface and the interface interaction elements.
[0044] In the low-code platform, users can directly pull and use some basic already encapsulated data interfaces. For example, the data interface can be but is not limited to an API (Application Programming Interface) interface. During the use of the data interface, a main body needs to be bound. In this implementation, the main body bound by the data interface can be an interface interaction element, that is, a triggerable element in the application display interface, such as a triggerable button, a dropdown form, etc.
[0045] When the officially released data interface in the low-code platform is put into use, it is necessary to first establish the binding relationship between it and the interface interaction elements, so that when the interface interaction elements bound by the data interface are selected and triggered during the subsequent application interface release, the underlying data of the data interface can be called and displayed to achieve the interface interaction effect.
[0046] It should be noted that an application interface usually includes multiple interface interaction elements, and each interface interaction element is bound to a data interface. Due to the certain logical association relationship between different interface interaction elements, there will also be a certain association relationship between the data interfaces bound by the interface interaction elements with logical association relationships. For example, for an application interface of enterprise employee information, it includes a triggerable "Department" button. When the user clicks and triggers the "Department" button, a drop-down window will appear, and the department names of each department are included in the drop-down window; in this implementation, there is a logical association relationship between the "Department" button and the drop-down window, so as interface interaction elements, there is also an association relationship between the API data interfaces bound by them.
[0047] Step 102: Process and obtain the data to be loaded according to the object content of the data interface and the association relationship between the interface interaction element bound by the data interface and other interface interaction elements.
[0048] Among them, the data to be loaded can be the data that finally needs to be presented in the application interface, and the data to be loaded is the data that can be loaded and rendered and displayed at the corresponding position of the corresponding interface interaction element when the application interface is released.
[0049] The data to be loaded can be processed and obtained based on the object content of the data interface and the association relationship between the interface interaction element bound by the data interface and other interface interaction elements. Among them, the object content of the data interface includes the underlying data model and specific data objects included in the data interface; based on the association relationship between the interface interaction element bound by the data interface and other interface interaction elements, the association relationship between different data interfaces can be determined, so that in the finally released application interface, when the user triggers a certain interface interaction element, the rendering content (corresponding to the data to be loaded) of other interface interaction elements that can produce a specific interaction effect can be obtained. Specifically, how the data to be loaded is processed and obtained will be introduced in detail in the following embodiments and will not be elaborated here.
[0050] Step 103: During the process of triggering the application interface, render and display the interface interaction element bound by the data interface in the application interface based on the obtained data to be loaded.
[0051] Among them, the execution trigger of the application interface can refer to the actions released by the application interface, or the actions of relevant staff for local preview and display before the official release of the application interface. That is, in the application interface editing window, relevant staff can perform the process of preview or application interface release test; during this process, the staff can execute the trigger preview function, and the rendering and display effect after the release of the application interface will be displayed in the preview window, so that relevant staff can pre-understand the rendering and display effect of the application interface and also check whether there are any display error problems in the application interface.
[0052] During the process of executing the trigger on the application interface, the low-code platform can implement the rendering and display of the interface interaction elements bound to the data interface in the application interface based on the obtained data to be loaded, which is convenient for relevant staff to obtain the application interface in a timely manner and can also verify the display content and display effect of the application interface.
[0053] After the data processing method in this embodiment binds the interface interaction elements to the data interface, it can automatically process the existing data to obtain the data to be loaded, so that subsequently, by executing the trigger on the application interface, the rendering and display of the data to be loaded in the application interface can be realized to generate an interface interaction effect that meets the user's needs.
[0054] Figure 2 It is a flowchart for realizing the rendering and display of interface interaction elements disclosed in the embodiments of this application. Combining Figure 2 As shown, during the process of executing the trigger on the application interface, implementing the rendering and display of the interface interaction elements bound to the data interface in the application interface based on the obtained data to be loaded may include:
[0055] Step 201: Initialize the data to be loaded during the process of executing the trigger on the application interface, where the application interface includes the interface interaction elements bound to the data interface.
[0056] During the process of executing the trigger on the application interface, the low-code platform will control the initialization of the underlying data model to automatically initialize the data to be loaded. Only after the initialization of the data to be loaded is completed, that is, after the underlying basic data is prepared, can the subsequent rendering and display of the corresponding interface interaction elements be carried out to enable users to obtain a better interaction experience.
[0057] Step 202: After the initialization of the data to be loaded is completed, return the data to be loaded to the interface interaction elements bound to the data interface to realize the rendering and display of the interface interaction elements.
[0058] In this embodiment, after the initialization of the data to be loaded is completed, that is, after the underlying data model of the data interface is initialized, the data to be loaded can be directly sent to the interface interaction element bound to the data interface through the data interface, and then the application interface is rendered, so that the application interface can present an interaction effect that meets the user's needs.
[0059] Figure 3 It is a flowchart for processing and obtaining the data to be loaded disclosed in an embodiment of the present application. As Figure 3 shown, the processing and obtaining of the data to be loaded according to the object content of the data interface and the association relationship between the interface interaction element bound to the data interface and other interface interaction elements may include:
[0060] Step 301: Obtain first processed data according to the object content of the data interface and the association relationship between the interface interaction element bound to the data interface and other interface interaction elements.
[0061] The object content of the data interface may but is not limited to include object attributes and data content. For example, in one example, if the interface interaction element bound to the data interface is a department list, the object content of the data interface includes the names of each department. Figure 4 It is an example diagram of the enterprise information management application interface disclosed in an embodiment of the present application. Combining Figure 4 shown, the application interface includes several interactive buttons such as "Enterprise Profile", "Enterprise Culture", "Enterprise Departments", and "Enterprise Products". When the user selects and clicks the "Enterprise Departments" button on the application interface, a drop-down window will be rendered and displayed below the "Enterprise Culture" button on the application interface, and the content displayed therein is a list of the names of each department, including "Design Department", "Market Research Department", "Human Resources Department", "Research Department", etc.
[0062] In a specific implementation, the first processed data may be a small amount of sample data that can represent the complete association relationship between each interface interaction element, such as the sequentially associated display of "Department" - "Design Department" - "Personal Information of Employee A".
[0063] After step 301, step 302 is entered.
[0064] Step 302: Process and obtain the data to be loaded based on the first processed data, and the data volume of the data to be loaded is greater than the data volume of the first processed data.
[0065] As introduced above, the first processed data can be sample data that can represent the association relationships between all complete interface interaction elements. Then, the data to be loaded can be a data set whose format, correspondence, etc. are exactly the same as those of the sample data and are automatically generated based on the sample data. The format of multiple data and the correspondence in this data set are the same, but the specific values may be different. For example, the genders and ages of different employees are different.
[0066] In this embodiment, a small amount of sample data can be generated first with human participation, and then a large amount of data to be loaded can be generated based on the sample data. The overall processing efficiency is higher, and the accuracy of the finally generated data to be loaded can be guaranteed, which can meet the user's usage requirements and improve the user's usage experience.
[0067] In the above embodiment, obtaining the first processed data according to the object content of the data interface and the association relationship between the interface interaction element bound to the data interface and other interface interaction elements may include: determining the first association relationship between the data interface and other data interfaces according to the association relationship between the interface interaction element bound to the data interface and other interface interaction elements, and the other data interfaces are respectively and correspondingly bound to the other interface interaction elements; obtaining the first processed data based on the object content of the data interface and the first association relationship.
[0068] As introduced above, since there are logical association relationships between different interface interaction elements in the application interface, there are also association relationships between the data interfaces bound to the interface interaction elements with logical association relationships. Therefore, the first processed data obtained based on the object content of the data interface and the association relationship between the interface interaction element it binds and other interface interaction elements can not only represent specific data content but also represent the association relationships between the data contents corresponding to different interface interaction elements.
[0069] For example, when the user clicks the "Human Resources Department" button on the application interface, the application interface will output a list of employee information of all employees in the Human Resources Department, rather than a list of employee information of employees in the Planning Department. In this example, there is a logical upper and lower layer association relationship between the interface interaction element of "list of employee information of the Human Resources Department" and the interface interaction element of "button of the Human Resources Department".
[0070] Among them, obtaining the first processed data based on the object content of the data interface and the first association relationship may include: generating the first processed data by using an enumeration algorithm and a combination algorithm based on the object content of the data interface and the first association relationship. The enumeration algorithm and the combination algorithm can realize the diversity of the attribute values of the data object to be loaded and ensure data integrity.
[0071] In the above embodiments, the process of processing the first processed data to obtain the data to be loaded may include: generating, based on the first processed data, the data to be loaded that is more than the first processed data by using a recursive algorithm.
[0072] In some implementations, after generating the data to be loaded, the data to be loaded can be directly mapped to the underlying data model corresponding to the data interface. In other implementations, the process of initializing the data to be loaded during the trigger process in the application interface may also include: during the trigger process in the application interface, initializing the data to be loaded to the underlying data model of the data interface.
[0073] The process of initializing the data to be loaded to the underlying data model of the data interface is also the process of writing the data to be loaded into the data model database.
[0074] Figure 5 The schematic diagram of the principle process of the data processing method disclosed in the embodiments of the present application, in combination with Figure 5 As shown, the processing logic of the embodiments of the present application includes: when designing the interactive interface of the low-code platform, certain interactive elements are configured by dragging, such as elements like forms, selection boxes, data perspective views, buttons, etc. During the publishing process of the application interface, associated simulation data sets (corresponding to the data to be loaded) can be generated based on the configuration connection relationships of these interactive elements, and the simulation data sets with associated relationships are automatically returned to the interface interactive elements through the data interface, and then directly used by the interface elements through the data interface. That is, when the interface interactive elements need to be rendered and displayed, the simulation data sets are directly called to complete the corresponding processing and obtain the desired interface interaction effect.
[0075] For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.
[0076] In the above embodiments disclosed in the present application, the method is described in detail. The method of the present application can be implemented by means of various forms of devices. Therefore, the present application also discloses a device, and specific embodiments are given below for detailed description.
[0077] Figure 6 The schematic diagram of the structure of a data processing device disclosed in the embodiments of the present application. Refer to Figure 6 As shown, the data processing device 60 may include:
[0078] The binding processing module 601 is used to establish a binding relationship between the already published data interface and the interface interaction elements.
[0079] The data processing module 602 is used to process and obtain the data to be loaded according to the object content of the data interface and the association relationship between the interface interaction elements bound to the data interface and other interface interaction elements.
[0080] The interface processing module 603 is used to render and display the interface interaction elements bound to the data interface in the application interface based on the obtained data to be loaded during the process of triggering the application interface.
[0081] After the data interface of the data processing device in this embodiment is bound to the interface interaction elements, it can automatically process and obtain the data to be loaded based on the existing data. Subsequently, by triggering the application interface, the rendering and display of the data to be loaded in the application interface can be realized, so as to generate an interface interaction effect that meets the user's needs.
[0082] In one implementation, the interface processing module includes: an initialization module, which is used to initialize the data to be loaded during the process of triggering the application interface, and the application interface includes the interface interaction elements bound to the data interface; a data transmission module, which is used to return the data to be loaded to the interface interaction elements bound to the data interface after the initialization of the data to be loaded is completed, so as to realize the rendering and display of the interface interaction elements.
[0083] In one implementation, the data processing module may include: a first processing module, which is used to obtain first processing data according to the object content of the data interface and the association relationship between the interface interaction elements bound to the data interface and other interface interaction elements; a second processing module, which is used to process and obtain the data to be loaded based on the first processing data, and the data volume of the data to be loaded is greater than the data volume of the first processing data.
[0084] In one implementation, the first processing module is specifically used to: determine the first association relationship between the data interface and other data interfaces according to the association relationship between the interface interaction elements bound to the data interface and other interface interaction elements, and the other data interfaces and the other interface interaction elements are respectively bound one by one; obtain the first processing data based on the object content of the data interface and the first association relationship.
[0085] In one implementation, the first processing module is specifically used to: generate the first processing data by using an enumeration algorithm and a combination algorithm based on the object content of the data interface and the first association relationship.
[0086] In one implementation, the second processing module may specifically be configured to: generate data to be loaded that is more than the first processed data based on the first processed data by using a recursive algorithm.
[0087] In one implementation, the initialization module is specifically configured to: during the triggering process of the application interface, initialize the data to be loaded to the underlying data model of the data interface.
[0088] In one implementation, the data transmission module is specifically configured to: after the initialization of the data to be loaded is completed, return the data to be loaded to the interface interaction element bound to the data interface through the data interface, so as to implement the rendering of the interface interaction element.
[0089] Any of the data processing devices in the above embodiments includes a processor and a memory. The binding processing module, data processing module, interface processing module, initialization module, data transmission module, first processing module, second processing module, etc. in the above embodiments are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to implement corresponding functions.
[0090] The processor includes a kernel, and the kernel retrieves the corresponding program module from the memory. One or more kernels can be set, and the processing of return visit data is achieved by adjusting kernel parameters.
[0091] The memory may include non-permanent memory in a computer-readable medium, forms such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flashRAM), and the memory includes at least one storage chip.
[0092] The embodiment of the present application provides a storage medium, on which a program is stored, and when the program is executed by a processor, it implements the data processing method described in the above embodiments.
[0093] The embodiment of the present application provides a processor, and the processor is used to run a program. When the program runs, it executes the data processing method described in the above embodiments.
[0094] Furthermore, the present embodiment provides an electronic device, including a processor and a memory. The memory is used to store executable instructions of the processor, and the processor is configured to execute the data processing method described in the above embodiments by executing the executable instructions.
[0095] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the similarities and common parts among the embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.
[0096] It should also be noted that in this text, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.
[0097] The steps of the methods or algorithms described in connection with the embodiments disclosed herein can be implemented directly in hardware, software modules executed by a processor, or a combination of both. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.
[0098] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data processing method, comprising: establishing a binding relationship between a published data interface and an interface interaction element; processing to obtain data to be loaded according to the object content of the data interface and the association relationship between the interface interaction element bound by the data interface and other interface interaction elements; during the process of triggering the execution of the application interface, rendering and displaying the interface interaction element bound by the data interface in the application interface based on the obtained data to be loaded; The processing to obtain the data to be loaded according to the object content of the data interface and the association relationship between the interface interaction element bound by the data interface and other interface interaction elements includes: obtaining first processed data according to the object content of the data interface and the association relationship between the interface interaction element bound by the data interface and other interface interaction elements, where the first processed data includes sample data that can represent the complete association relationship between each interface interaction element; processing to obtain the data to be loaded based on the first processed data, where the amount of data to be loaded is greater than the amount of data of the first processed data, and where the data to be loaded is a data set with the same format, correspondence relationship as the sample data and automatically generated based on the sample data; the data set contains multiple data formats, and data with the same correspondence relationship and the same or different specific values.
2. The data processing method according to claim 1, where during the process of triggering the execution of the application interface, rendering and displaying the interface interaction element bound by the data interface in the application interface based on the obtained data to be loaded, comprising: initializing the data to be loaded during the process of triggering the execution of the application interface, where the application interface includes the interface interaction element bound by the data interface; after the initialization of the data to be loaded is completed, returning the data to be loaded to the interface interaction element bound by the data interface to implement the rendering and display of the interface interaction element.
3. The data processing method according to claim 1, where obtaining the first processed data according to the object content of the data interface and the association relationship between the interface interaction element bound by the data interface and other interface interaction elements, comprising: determining a first association relationship between the data interface and other data interfaces according to the association relationship between the interface interaction element bound by the data interface and other interface interaction elements, where the other data interfaces are respectively and uniquely bound to the other interface interaction elements; obtaining the first processed data based on the object content of the data interface and the first association relationship.
4. The data processing method according to claim 3, where obtaining the first processed data based on the object content of the data interface and the first association relationship, comprising: generating the first processed data using an enumeration algorithm and a combination algorithm based on the object content of the data interface and the first association relationship.
5. The data processing method according to claim 1, where processing to obtain the data to be loaded based on the first processed data, comprising: generating, using a recursive algorithm, more data to be loaded than the first processed data based on the first processed data.
6. The data processing method according to claim 2, wherein the to-be-loaded data is initialized during the triggering process on the application interface, comprises: During the triggering process on the application interface, initializing the to-be-loaded data to the underlying data model of the data interface.
7. The data processing method according to claim 2, wherein after the initialization of the to-be-loaded data is completed, the to-be-loaded data is returned to the interface interaction element bound to the data interface to implement the rendering display of the interface interaction element, comprises: After the initialization of the to-be-loaded data is completed, returning the to-be-loaded data to the interface interaction element bound to the data interface through the data interface to implement the rendering of the interface interaction element.
8. A data processing device, comprises: A binding processing module, configured to establish a binding relationship between a published data interface and an interface interaction element; A data processing module, configured to process and obtain to-be-loaded data according to the object content of the data interface and the association relationship between the interface interaction element bound to the data interface and other interface interaction elements; An interface processing module, configured to implement the rendering display of the interface interaction element bound to the data interface in the application interface during the triggering process on the application interface based on the obtained to-be-loaded data; The data processing module is specifically configured to: Obtain first processing data according to the object content of the data interface and the association relationship between the interface interaction element bound to the data interface and other interface interaction elements, where the first processing data includes example data capable of representing the complete association relationship between each interface interaction element; Process and obtain to-be-loaded data based on the first processing data, where the data volume of the to-be-loaded data is greater than the data volume of the first processing data, and wherein the to-be-loaded data is a data set with the same format, corresponding relationship, and example data automatically generated based on the example data; the data set contains multiple data formats, and data with the same corresponding relationship and the same or different specific values.
9. The data processing device according to claim 8, wherein the interface processing module comprises: An initialization module, configured to initialize the to-be-loaded data during the triggering process on the application interface, where the application interface includes the interface interaction element bound to the data interface; A data transmission module, configured to return the to-be-loaded data to the interface interaction element bound to the data interface after the initialization of the to-be-loaded data is completed to implement the rendering display of the interface interaction element.
Citation Information
Patent Citations
Method for processing object in page, device and mobile terminal
CN106327281A
Chart data-binding design time user experience with dynamic sample generation
US20170004638A1