CN112612540A - Data model configuration method and device, electronic equipment and storage medium - Google Patents
Data model configuration method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112612540A CN112612540A CN202011511945.1A CN202011511945A CN112612540A CN 112612540 A CN112612540 A CN 112612540A CN 202011511945 A CN202011511945 A CN 202011511945A CN 112612540 A CN112612540 A CN 112612540A
- Authority
- CN
- China
- Prior art keywords
- data
- component
- model
- data model
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013499 data model Methods 0.000 title claims abstract description 326
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000012545 processing Methods 0.000 claims description 32
- 238000013500 data storage Methods 0.000 claims description 22
- 230000008859 change Effects 0.000 claims description 15
- 230000015654 memory Effects 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 11
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 239000003638 chemical reducing agent Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The disclosure relates to a data model configuration method and device, electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: associating the configuration file of the data container with the data of the newly added component; when the data container is operated, converting the data of the components associated with the configuration file to obtain a data model of the components, wherein the associated components at least comprise newly added components; loading the data model into a data container; the data model of the component comprises the data of the component and a model calling interface, the model calling interface is used for calling other data models in the data container, and the data of other components are called through the model calling interface.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data model configuration method and apparatus, an electronic device, and a storage medium.
Background
Generally, an applied page is composed of a plurality of components, and with the development of computer technology, the functions of the page are richer and more diversified, and the number of the contained components is increased. When updating the functionality of a page, new components may need to be added to the page.
In the related art, data of a plurality of components in a plurality of pages of an application are usually stored in one data container, and a data sharing relationship between different components is configured to implement data sharing between different components. However, if data of a new component is to be added to the data container and the data needs to be shared with other components in the page, all the data in the data container needs to be reconfigured, resulting in inefficient development of applications.
Disclosure of Invention
The disclosure provides a data model configuration method, a data model configuration device, an electronic device and a storage medium, and improves the development efficiency of applications.
According to an aspect of the embodiments of the present disclosure, there is provided a data model configuration method, including:
associating the configuration file of the data container with the data of the newly added component;
when the data container is operated, converting the data of the components associated with the configuration file to obtain a data model of the components, wherein the associated components at least comprise the newly added components;
loading the data model into the data container;
the data model of the component comprises data of the component and a model calling interface, and the model calling interface is used for calling other data models in the data container.
In some embodiments, the data model further comprises a subscription component identification indicating a subscription component that invoked the data model;
the method further comprises the following steps:
and when the data container is operated, responding to the change of the data in the data model, and sending a data updating message to a subscription component corresponding to the subscription component identifier in the data model, wherein the data updating message indicates the subscription component to recall the data model.
In some embodiments, the data model includes a scheduler having the subscription component identification stored therein;
the sending of a data update message to a subscription component in the data model that identifies a corresponding subscription component in response to a change in data in the data model comprises:
in response to a change in data in the data model, sending the data update message to a subscription component in the data model identifying a corresponding subscription component based on a scheduler in the data model.
In some embodiments, the data model includes a data update interface and a data processing interface, the method further comprising:
receiving a data updating request through a data processing interface in the data model, wherein the data updating request carries updating data of the data model;
calling the data updating interface through the data processing interface;
updating, by the data update interface, data in the data model based on the update data.
In some embodiments, the data model further comprises a data storage interface for storing data in the data model;
the updating, by the data update interface, data in the data model based on the update data includes:
updating, by the data update interface, data in the data storage interface based on the update data.
In some embodiments, said loading said data model into said data container comprises:
and storing the data model in the data container in correspondence with the component identification of the corresponding component.
In some embodiments, the method further comprises:
receiving a model calling message sent by any component through an index interface of the data container, wherein the model calling message comprises a component identifier corresponding to a data model requested to be called by the component;
querying the data container for the data model corresponding to the component identifier;
and sending the queried data model to the component through the index interface.
In some embodiments, the data model is a data model of the component, the method further comprising:
calling a model calling interface in the data model through the component;
and calling other data models indicated by the model calling interface through the model calling interface.
In some embodiments, the configuration file is stored in a designated directory, and the associating the configuration file of the data container with the data of the newly added component includes:
storing a newly added component file named by the component identifier of the newly added component under the specified directory, wherein the newly added component file comprises data of the newly added component;
and adding the component identification of the newly added component in the configuration file.
In some embodiments, the method further comprises:
upon launching a target application, running the data container of the target application.
According to still another aspect of the embodiments of the present disclosure, there is provided a data model configuration apparatus including:
the association unit is configured to associate the configuration file of the data container with the data of the newly added component;
the conversion unit is configured to convert the data of the component associated with the configuration file to obtain a data model of the component when the data container is operated, wherein the associated component at least comprises the newly added component;
a loading unit configured to perform loading of the data model into the data container;
the data model of the component comprises data of the component and a model calling interface, and the model calling interface is used for calling other data models in the data container.
In some embodiments, the data model further comprises a subscription component identification indicating a subscription component that invoked the data model;
the device further comprises:
a sending unit configured to execute, when the data container is run, sending a data update message to a subscription component corresponding to a subscription component identifier in the data model in response to a change of data in the data model, where the data update message instructs the subscription component to recall the data model.
In some embodiments, the data model includes a scheduler having the subscription component identification stored therein;
the sending unit is configured to execute sending the data update message to a subscription component in the data model to identify a corresponding subscription component based on a scheduler in the data model in response to a change of data in the data model.
In some embodiments, the data model includes a data update interface and a data processing interface, the apparatus further comprising:
a first receiving unit, configured to execute receiving a data update request through a data processing interface in the data model, where the data update request carries update data of the data model;
a calling unit configured to execute calling the data update interface through the data processing interface;
an updating unit configured to perform updating, through the data updating interface, data in the data model based on the update data.
In some embodiments, the data model further comprises a data storage interface for storing data in the data model;
the updating unit is configured to update the data in the data storage interface based on the updating data through the data updating interface.
In some embodiments, the loading unit is configured to perform storing the data model in the data container in correspondence with the component identification of the corresponding component.
In some embodiments, the apparatus further comprises:
the receiving unit is configured to execute the step of receiving a model calling message sent by any component through an index interface of the data container, wherein the model calling message comprises a component identifier corresponding to a data model requested to be called by the component;
a query unit configured to execute in the data container, querying the data model corresponding to the component identification;
a sending unit configured to execute sending the queried data model to the component through the index interface.
In some embodiments, the data model is a data model of the component, the apparatus further comprising:
a calling unit configured to execute calling of a model calling interface in the data model by the component;
the calling unit is configured to execute calling of other data models indicated by the model calling interface through the model calling interface.
In some embodiments, the configuration file is stored in a designated directory, and the associating unit is configured to perform storing, in the designated directory, a newly added component file named by a component identifier of the newly added component, the newly added component file including data of the newly added component; and adding the component identification of the newly added component in the configuration file.
In some embodiments, the apparatus further comprises:
an execution unit configured to execute the data container of a target application when the target application is started.
According to still another aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the data model configuration method of the above aspect.
According to yet another aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the data model configuration method of the above aspect.
According to yet another aspect of the embodiments of the present disclosure, there is provided a computer program product, wherein instructions of the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the data model configuration method of the above aspect.
According to the data model configuration method, the data model configuration device, the electronic equipment and the storage medium, when data of a newly added component is added into a data container, all data in the data container do not need to be reconfigured, only a configuration file of the data container needs to be associated with the data of the newly added component, a data model of the newly added component can be generated in the data container, and the data model comprises a model calling interface for calling other data models in the data container, so that the data of other components can be called through the model calling interface.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a data model configuration method in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a data model configuration method in accordance with an exemplary embodiment.
FIG. 3 is a schematic diagram of a React frame, shown in accordance with an exemplary embodiment.
FIG. 4 is a flow diagram illustrating a component invoking a data model in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating a data model configuration apparatus in accordance with an exemplary embodiment.
FIG. 6 is a block diagram illustrating a data model configuration apparatus in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating a terminal according to an example embodiment.
FIG. 8 is a block diagram illustrating a server in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the description of the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
As used in this disclosure, the terms "at least one," "a plurality," "each," "any," at least one includes one, two, or more than two, and a plurality includes two or more than two, each referring to each of the corresponding plurality, and any referring to any one of the plurality. For example, the plurality of data models includes 3 data models, each of the 3 data models refers to each of the 3 data models, and any one of the 3 data models refers to any one of the 3 data models, which may be the first one, the second one, or the third one.
It should be noted that the user information (including but not limited to user device information, user personal information, etc.) referred to in the present disclosure is information authorized by the user or sufficiently authorized by each party.
The data model configuration method provided by the embodiment of the disclosure can be applied to computer equipment. In some embodiments, the computer device is a terminal, for example, the terminal is a mobile phone, a tablet, a computer, or the like. In some embodiments, the computer device is a server, for example, the server is a server, or a server cluster composed of several servers, or a cloud computing service center.
The following embodiments are intended to briefly explain the principles of the present disclosure, and fig. 1 is a flow chart illustrating a data model configuration method according to an exemplary embodiment, referring to fig. 1, the method applied in a computer device, including the following steps:
101. the computer device associates the configuration file of the data container with the data of the newly added component.
The data container is used for storing a data model of the component, the data model comprises data of the component, and the configuration file of the data container is used for storing a component identifier of the component associated with the data container. The configuration file of the data container is associated with the data of the newly added component, so that when the data container is subsequently operated, a data model of the newly added component can be generated in the data container according to the data of the newly added component.
102. And when the computer equipment runs the data container, converting the data of the component associated with the configuration file to obtain a data model of the component.
Wherein the associated components at least comprise the newly added component. The data model of the component comprises data of the component and a model calling interface, and the model calling interface is used for calling other data models in the data container.
And converting the data of the associated component into a data model of the component by operating the data container, wherein the obtained data model not only comprises the data of the component, but also comprises a model calling interface for calling other data models, so that the subsequent component can call the data model to obtain the data in the data model and the model calling interface.
103. The computer device loads the data model into a data container.
The computer device loads the data model into a data container for subsequent components to invoke the corresponding data model from the data container.
According to the method provided by the embodiment of the disclosure, when data of a newly added component is added into a data container, all data in the data container does not need to be reconfigured, only the configuration file of the data container needs to be associated with the data of the newly added component, a data model of the newly added component can be generated in the data container, and the data model comprises a model calling interface for calling other data models in the data container, so that the data of other components can be called through the model calling interface.
In some embodiments, the data model further includes a subscription component identification indicating a subscription component that invoked the data model;
the method further comprises the following steps:
and when the data container is operated, responding to the change of the data in the data model, and sending a data updating message to the subscription component corresponding to the subscription component identifier in the data model, wherein the data updating message instructs the subscription component to recall the data model.
In some embodiments, the data model includes a scheduler having a subscription component identification stored therein;
in response to a change in data in the data model, sending a data update message to a subscription component in the data model that identifies the corresponding subscription component, including:
in response to a change in data in the data model, a data update message is sent to a subscription component in the data model identifying a corresponding subscription component based on a scheduler in the data model.
In some embodiments, the data model includes a data update interface and a data processing interface, the method further comprising:
receiving a data updating request through a data processing interface in the data model, wherein the data updating request carries updating data of the data model;
calling a data updating interface through a data processing interface;
and updating the data in the data model based on the updated data through the data updating interface.
In some embodiments, the data model further comprises a data storage interface for storing data in the data model;
updating data in the data model based on the updated data through a data updating interface, wherein the updating comprises the following steps:
and updating the data in the data storage interface based on the updated data through the data updating interface.
In some embodiments, loading the data model into a data container comprises:
and storing the data model in the data container in correspondence with the component identification of the corresponding component.
In some embodiments, the method further comprises:
receiving a model calling message sent by any component through an index interface of a data container, wherein the model calling message comprises a component identifier corresponding to a data model requested to be called by the component;
in the data container, the query component identifies the corresponding data model;
the queried data model is sent to the component through the indexing interface.
In some embodiments, the data model is a data model of the component, the method further comprising:
calling a model calling interface in the data model through the component;
and calling other data models indicated by the model calling interface through the model calling interface.
In some embodiments, the step of associating the configuration file of the data container with the data of the newly added component comprises:
storing a newly added component file named by a component identifier of the newly added component under a specified directory, wherein the newly added component file comprises data of the newly added component;
and adding the component identification of the newly added component in the configuration file.
In some embodiments, the method further comprises:
when the target application is started, the data container of the target application is run.
FIG. 2 is a flow chart illustrating a data model configuration method, see FIG. 2, as applied to a computer device, according to an exemplary embodiment, including the steps of:
201. and the computer equipment stores the newly added component file named by the component identifier of the newly added component in a specified directory.
In the embodiment of the disclosure, a page of an application is generally composed of a plurality of components, each component has corresponding data, and the presentation of the page can be realized by running the data of the components included in the page. When a new component needs to be added into the page, the new component file of the newly added component is associated with the configuration file of the data container, and a data model can be generated for the associated component subsequently when the data container runs, so that the subsequent component can call the data model in the data container to realize the display of the page.
The newly added component is an arbitrary component, for example, the newly added component is a component providing a search function, or a component providing a sliding operation, and the like. The component identifier of the newly added component is a unique identifier for indicating the newly added component, and in the embodiment of the present disclosure, the component identifiers of different components are different. The newly added component file is a storage form of data, and the newly added component file includes data of the newly added component. In some embodiments, the new added component file is stored in the form of a script.
The specified directory is used for storing component files of the components, and in some embodiments, the specified directory is a directory corresponding to a page to which the newly added component belongs. That is, under the specified directory, not only the newly added component file of the newly added component is stored, but also the component files of other components in the page to which the newly added component belongs can be stored. In some embodiments, the specified directory is a directory corresponding to a plurality of pages, and the plurality of pages include a page to which the newly added component belongs. Then, in the specified directory, not only the component files of other components in the page to which the newly added component belongs but also the component files of components in other pages may be stored.
The newly added component file is named by the component identifier of the newly added component and is stored in the appointed directory, so that the newly added component file can be subsequently associated with the data container, and the data container can generate a data model for the newly added component based on the newly added component file.
202. The computer device adds the component identification of the newly added component in the configuration file of the data container.
The newly added component file is named by the component identifier of the newly added component under the appointed directory, and the component identifier of the newly added component is added in the configuration file of the data container, so that the configuration file of the data container is associated with the newly added component file, and the newly added component file can be operated through the configuration file when the data container is operated subsequently, and a data model of the newly added component is generated. For example, the data container is Store (a data container), and the component identifier of the newly added component is added to the configuration file of Store.
In some embodiments, the data container is a global data container for the application, or alternatively, is a local data container for the application. For example, for an application, the data models corresponding to all components of the application are stored in a data container, that is, the data container is a global data container; or, the application includes a plurality of pages, each page corresponds to a data container, and the data models corresponding to the plurality of components in each page are stored in the corresponding data containers, so that the data containers are local data containers.
In some embodiments, the configuration file of the data container also includes component identifications of other components.
The other component files are named by the component identifications of the other components, are also stored in the specified directory, and comprise data of the other components. And generating a data model of the plurality of components in the data container through the component identification in the configuration file of the data container and then through the component files of the plurality of components under the specified directory.
In some embodiments, the configuration file is stored under the specified directory. For example, one data container corresponds to one page, the specified directory is a directory corresponding to the page, component files of components in the page and configuration files of the data container are stored in the specified directory, and the configuration files include component identifiers corresponding to a plurality of component files in the specified directory, so that data association between the configuration files and the components in the page is realized.
It should be noted that, in the embodiment of the present disclosure, the component is associated with the configuration file by adding the component identifier of the newly added component in the configuration file, and in another embodiment, the configuration file of the data container can be associated with the data of the newly added component in other ways without performing step 201 and 202.
203. And when the computer equipment runs the data container, converting the data of the component associated with the configuration file to obtain a data model of the component.
Wherein, the components associated with the configuration file at least comprise the newly added components. In some embodiments, the components with which the configuration file has been associated also include other components. The data model of the component comprises data of the component and a model calling interface, and the model calling interface is used for calling other data models in the data container.
When the data container is operated, the data of the associated component is determined through the configuration file, the data of the associated component is converted, the data model of the component is generated, the container aggregation effect of the data container is achieved, the data model comprises a model calling interface for calling other data models, the data of the other data models can be called through the model calling interface subsequently, and data sharing among the data models of the multiple components is achieved.
In some embodiments, the data model includes a data updating interface, a data processing interface, and a data storage interface, where the data in the data model is stored in the data storage interface, the data updating interface is used to update the data in the data storage interface, and the data processing interface is used to process the acquired asynchronous request.
In a possible implementation manner of the foregoing embodiment, when the data processing interface is running, a model calling interface is generated, and through the model calling interface, other data models can be called.
In some embodiments, the model calling interface includes an interface for calling a data updating interface of another data model, and any data model can call the data updating interface of another data model by calling the interface of the data updating interface of another data model, and update data in the data storage interface of another data model by using the data updating interface of another data model.
In some embodiments, this step 203 comprises: and when responding to the application starting, operating the data container, and converting the data of the component associated with the configuration file to obtain the data model of the component.
In the embodiment of the present disclosure, the newly added component is a component in the application page, and when the application is started, the data model of the newly added component is obtained by operating the data container, so that the application page is displayed subsequently through the data model of the newly added component.
In some embodiments, this step 203 comprises: and when the data container is operated, converting the data of the components associated with the configuration file through the analyzer to obtain the data model of the components. The parser is used for converting the data of the component into a data model. In some embodiments, the parser is provided by the React (a script library that builds user interfaces) framework, which is a development architecture.
In some embodiments, the data container is a data container corresponding to the target application, and before step 203, the method further includes: when the target application is started, the data container of the target application is run. When the target application is started, the data container of the target application is operated, so that the data model of the component is generated through the data container.
Additionally, in some embodiments, this step 203 comprises: and when the data container is operated, carrying out boundary check on the data of the component associated with the configuration file, responding to the passing of the boundary check, and converting the data of the component associated with the configuration file to obtain a data model of the component. Wherein the bounds check is used to check the data format of the component. And performing boundary check on the data of the component to ensure the accuracy of the data of the component and ensure the accuracy of the generated data model.
In one possible implementation of the above embodiment, the data of the component corresponds to a reference format, the boundary check of the data of the component is determined to pass in response to the data of the component satisfying the reference format, and the boundary check of the data of the component is determined to fail in response to the data of the component not satisfying the reference format.
204. The computer device stores the data model in the data container in correspondence with the component identification of the corresponding component.
The data model is stored in the data container corresponding to the component identification of the corresponding component, so that the corresponding data model can be inquired through the component identification in the following.
In some embodiments, a mount container is included in the data container, and the data model is stored in the mount container. For example, after a plurality of data models are generated, a mount container is generated for each data model, and the mount container is stored in the data container as a carrier of the data model. By generating a mounting container for each data model, each data model can establish a mounting relation with a corresponding component through the mounting container, so that subsequent components can interact with the data container, and the data model of the component is obtained.
It should be noted that, the embodiment of the present disclosure is described by taking the example of storing the data model and the component identifier in the data model, and in another embodiment, the data model can be loaded into the data container in other ways without executing step 204.
In some embodiments, the data model further comprises a subscription component identification, after step 204, the method further comprising: when the data container is operated, in response to the data in the data model changing, a data update message is sent to the subscription component corresponding to the subscription component identification in the data model.
Wherein the data update message instructs the subscription component to recall the data model and the subscription component identification instructs the subscription component to invoke the data model. For example, for any data model, the components subscribed to the data model include component 1, component 2, and component 3, and the data model includes the component identifications of component 1, component 2, and component 3.
And the subscription component calls the data model, and sends a data updating message to the subscription component when the data of the data model is changed, so that the subscription component calls the data model again after receiving the data updating message, and the subscription component is shown again by the changed data model.
In one possible implementation of the foregoing embodiment, the data model includes a scheduler, and the process of sending the data update message to the subscription component includes: in response to a change in data in the data model, a data update message is sent to a subscription component in the data model identifying a corresponding subscription component based on a scheduler in the data model. Wherein, the dispatcher stores the subscription component identification. For example, a subscription component identification of other subscription components that subscribe to the data model is also included in the scheduler.
The scheduler in the data model can monitor the data change condition in the data model, and when the data in the data model changes, the data update message is sent to the subscription component, so that the data model called by the subscription component can be updated in time.
After the data model for the component is generated in the data container, the data in the data model may be updated during runtime when certain operations are detected. In some embodiments, the data model includes a data update interface and a data processing interface, and after step 204, the method further includes: the data updating method comprises the steps of receiving a data updating request through a data processing interface in a data model, calling the data updating interface through the data processing interface, and updating data in the data model based on the updating data through the called data updating interface.
For example, the value (value) stored in the data model is 1, and the update data indicates that the value is 2, and after the data in the data model is updated, the value in the data model is 2.
In a possible implementation manner of the foregoing embodiment, the data model further includes a data storage interface, where the data storage interface is used for storing data in the data model; a process of updating data in the data model, comprising: and updating the data in the data storage interface based on the updated data through the data updating interface. The data in the data storage interface is updated through the data updating interface, so that the accuracy of data modification is ensured.
For example, the data model includes State (data storage interface), Reducer (data update interface, or data update function), and Effects (data processing interface), and after Effects receive a data update request, the Reducer is called, and the data stored in State is updated based on the update data in the data update request.
In some embodiments, after step 204, the method further comprises: and receiving a model calling message sent by any component through an index interface of the data container, inquiring the data model corresponding to the component identifier in the data container, and sending the inquired data model to the component through the index interface.
The index interface is used for inquiring the data model corresponding to the component identification. The model calling message is a message for requesting the data container to acquire the data model by the component, and the model calling message comprises a component identifier corresponding to the data model requested to be called by the component. In some embodiments, the component identification is a component identification of the component, or the component identification is other component identifications of other components. For example, the component can call the data model of the component and can also call the data models of other components, the component stores the component identifier of the component and other component identifiers, and the model calling message is sent to the index interface of the data container, so that the data container returns the data model corresponding to the component identifier in the model calling message.
In a possible implementation manner of the foregoing embodiment, the data model is a data model of the component, and after the component receives the data model, the method further includes: and calling the model calling interface in the data model through the component, and calling other data models indicated by the model calling interface through the model calling interface.
When the data model returned by the data container is the data model of the component, the component is represented to obtain the data model, the data model is operated, the model calling interface in the data model can be called through the component, and other data models indicated by the model calling interface are called through the model calling interface.
The method provided by the embodiment of the disclosure can be applied to the React framework, and the user interface can be constructed based on the React framework. For example, the React development framework is a ReactHooks (a new component construction approach) framework. In the development system of the React framework, the page of the application is composed of components, and data among the components are transmitted in a unidirectional mode. According to the data model configuration method provided by the embodiment of the disclosure, the data model of the component is assembled in the data container by taking the data model as a basic unit, so that the component can directly call the data model of the data container, and when the component is newly added to an application page, the component can be updated by associating the component file of the newly added component with the configuration file of the data container, all data in the data container does not need to be reconfigured, the flexibility of application is improved, and the maintainability of codes is improved. By the data model configuration method provided by the embodiment of the disclosure, a data flow frame is configured for the React frame, so that data of components in the application can be managed conveniently, maintenance cost is reduced, and application performance is improved.
According to the method provided by the embodiment of the disclosure, when data of a newly added component is added into a data container, all data in the data container does not need to be reconfigured, only the configuration file of the data container needs to be associated with the data of the newly added component, a data model of the newly added component can be generated in the data container, and the data model comprises a model calling interface for calling other data models in the data container, so that the data of other components can be called through the model calling interface. In addition, the data models are used as basic units, different data models can be called mutually, and the flexibility of application is improved.
Based on the data model configuration method provided by the above embodiment, a schematic diagram of an React frame is provided, and as shown in fig. 3, the display of a page can be realized through the React frame.
For a target application comprising a plurality of pages, each page comprising a plurality of components, configuring a data container for each page, creating a specified directory for each page. For any page, naming the component files of the components in the page by the identifiers of the components, storing the component files in a designated directory corresponding to the page, storing the configuration files of a data container in the designated directory, and adding the component identifiers corresponding to a plurality of component files in the designated directory in the configuration files to realize the association between the components and the data container.
When the target application is started, the data container is operated, the component file is subjected to boundary check to ensure the accuracy of the component file, after the boundary check of the component file passes, the component file related to the configuration file of the data container is converted into a data model through a parser and the container aggregation action of the data container, a mounting container is established for each data model in the data container, and the data model is stored in the mounting container. And storing the subscription component identification of the data model in the scheduler of each data model.
The data model in the data container is mounted on the component in the page display through the mounting container in the data container, so that the component can send the model calling message to the data container through the mounting container, the data container carries out model indexing on the component identification carried in the model calling message to determine the data model corresponding to the component identification, and the data model is sent to the component, and the process of calling the data model by the component is shown in fig. 4. After the component receives the data model returned by the data container, the data storage interface, the data updating interface and the data processing interface which are included by the data model can be obtained, and the page is rendered based on the data stored in the data storage interface so as to display the rendered page.
FIG. 5 is a block diagram illustrating a data model configuration apparatus in accordance with an exemplary embodiment. Referring to fig. 5, the apparatus includes:
an associating unit 501 configured to perform associating the configuration file of the data container with the data of the newly added component;
a conversion unit 502, configured to convert data of the component associated with the configuration file to obtain a data model of the component when the data container is executed, where the associated component at least includes a newly added component;
a loading unit 503 configured to perform loading of the data model into the data container;
the data model of the component comprises data of the component and a model calling interface, and the model calling interface is used for calling other data models in the data container.
The data model configuration device provided by the embodiment of the disclosure, when data of a newly added component is added in a data container, all data in the data container do not need to be reconfigured, only the configuration file of the data container needs to be associated with the data of the newly added component, a data model of the newly added component can be generated in the data container, and the data model comprises a model calling interface for calling other data models in the data container, so that the data of other components can be called through the model calling interface.
In some embodiments, the data model further includes a subscription component identification indicating a subscription component that invoked the data model;
as shown in fig. 6, the apparatus further comprises:
a sending unit 504 configured to execute, when the data container is run, sending a data update message to the subscription component corresponding to the subscription component identifier in the data model in response to a change of data in the data model, where the data update message instructs the subscription component to recall the data model.
In some embodiments, the data model includes a scheduler having a subscription component identification stored therein;
a sending unit 504 configured to execute sending a data update message to a subscription component in the data model identifying a corresponding subscription component based on a scheduler in the data model in response to a change in data in the data model.
In some embodiments, the data model includes a data update interface and a data processing interface, as shown in fig. 6, the apparatus further includes:
a receiving unit 505 configured to execute receiving a data update request through a data processing interface in the data model, where the data update request carries update data of the data model;
a calling unit 506 configured to execute calling the data update interface through the data processing interface;
an updating unit 507 configured to perform updating of data in the data model based on the update data through the data updating interface.
In some embodiments, the data model further comprises a data storage interface for storing data in the data model;
an updating unit 507 configured to perform updating of data in the data storage interface based on the update data through the data updating interface.
In some embodiments, the loading unit 503 is configured to perform storing the data model in the data container in correspondence with the component identification of the corresponding component.
In some embodiments, as shown in fig. 6, the apparatus further comprises:
a receiving unit 505 configured to execute receiving, through an index interface of a data container, a model calling message sent by any component, where the model calling message includes a component identifier corresponding to a data model requested to be called by the component;
a query unit 508 configured to execute in the data container, the query component identifying a corresponding data model;
a sending unit 504 configured to execute sending the queried data model to the component through the index interface.
In some embodiments, the data model is a data model of the component, and as shown in fig. 6, the apparatus further comprises:
a calling unit 506 configured to execute calling a model calling interface in the data model by the component;
and the calling unit 506 is configured to execute other data models indicated by the model calling interface through the model calling interface.
In some embodiments, the configuration file is stored in a specified directory, and the associating unit 501 is configured to perform storing, in the specified directory, a newly added component file named by a component identifier of the newly added component, where the newly added component file includes data of the newly added component; and adding the component identification of the newly added component in the configuration file.
In some embodiments, as shown in fig. 6, the apparatus further comprises:
the running unit 509 is configured to execute a data container of the target application when the target application is started.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
In an exemplary embodiment, there is also provided an electronic device, characterized in that the electronic device includes:
one or more processors;
volatile or non-volatile memory for storing one or more processor-executable instructions;
wherein the one or more processors are configured to perform the steps performed by the terminal or the server in the data model configuration method.
In some embodiments, the electronic device is provided as a terminal. Fig. 7 is a block diagram illustrating a structure of a terminal 700 according to an example embodiment. The terminal 700 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
The terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning component 708, and a power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, disposed on a front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the display screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side frame of terminal 700 and/or underneath display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the display screen 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is adjusted down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 is gradually increased, the processor 701 controls the display 705 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In some embodiments, the electronic device is provided as a server. Fig. 8 is a schematic structural diagram of a server according to an exemplary embodiment, where the server 800 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 801 and one or more memories 802, where the memory 802 stores at least one program code, and the at least one program code is loaded and executed by the processors 801 to implement the methods provided by the method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, which when program code in the storage medium is executed by a processor of an electronic device, enables the electronic device to perform the steps performed by the terminal or the server in the above data model configuration method. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product, wherein instructions of the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the steps performed by the terminal or the server in the above data model configuration method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. A method for configuring a data model, the method comprising:
associating the configuration file of the data container with the data of the newly added component;
when the data container is operated, converting the data of the components associated with the configuration file to obtain a data model of the components, wherein the associated components at least comprise the newly added components;
loading the data model into the data container;
the data model of the component comprises data of the component and a model calling interface, and the model calling interface is used for calling other data models in the data container.
2. The method of claim 1, wherein the data model further comprises a subscription component identification indicating a subscription component that invokes the data model;
the method further comprises the following steps:
and when the data container is operated, responding to the change of the data in the data model, and sending a data updating message to a subscription component corresponding to the subscription component identifier in the data model, wherein the data updating message indicates the subscription component to recall the data model.
3. The method of claim 2, wherein the data model comprises a scheduler having the subscription component identification stored therein;
the sending of a data update message to a subscription component in the data model that identifies a corresponding subscription component in response to a change in data in the data model comprises:
in response to a change in data in the data model, sending the data update message to a subscription component in the data model identifying a corresponding subscription component based on a scheduler in the data model.
4. The method of claim 1, wherein the data model comprises a data update interface and a data processing interface, the method further comprising:
receiving a data updating request through a data processing interface in the data model, wherein the data updating request carries updating data of the data model;
calling the data updating interface through the data processing interface;
updating, by the data update interface, data in the data model based on the update data.
5. The method of claim 4, wherein the data model further comprises a data storage interface for storing data in the data model;
the updating, by the data update interface, data in the data model based on the update data includes:
updating, by the data update interface, data in the data storage interface based on the update data.
6. The method of claim 1, wherein said loading said data model into said data container comprises:
and storing the data model in the data container in correspondence with the component identification of the corresponding component.
7. The method of claim 6, further comprising:
receiving a model calling message sent by any component through an index interface of the data container, wherein the model calling message comprises a component identifier corresponding to a data model requested to be called by the component;
querying the data container for the data model corresponding to the component identifier;
and sending the queried data model to the component through the index interface.
8. An apparatus for configuring a data model, the apparatus comprising:
the association unit is configured to associate the configuration file of the data container with the data of the newly added component;
the conversion unit is configured to convert the data of the component associated with the configuration file to obtain a data model of the component when the data container is operated, wherein the associated component at least comprises the newly added component;
a loading unit configured to perform loading of the data model into the data container;
the data model of the component comprises data of the component and a model calling interface, and the model calling interface is used for calling other data models in the data container.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the data model configuration method of any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the data model configuration method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011511945.1A CN112612540B (en) | 2020-12-18 | 2020-12-18 | Data model configuration method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011511945.1A CN112612540B (en) | 2020-12-18 | 2020-12-18 | Data model configuration method, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112612540A true CN112612540A (en) | 2021-04-06 |
CN112612540B CN112612540B (en) | 2024-04-09 |
Family
ID=75243604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011511945.1A Active CN112612540B (en) | 2020-12-18 | 2020-12-18 | Data model configuration method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112612540B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115129946A (en) * | 2022-06-30 | 2022-09-30 | 山东有人物联网股份有限公司 | Data model generation optimization method and device, electronic equipment and readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9323504B1 (en) * | 2014-03-19 | 2016-04-26 | Amazon Technologies, Inc. | Template-driven data access |
CN108762753A (en) * | 2018-04-17 | 2018-11-06 | 天津五八到家科技有限公司 | Page assembly amending method and equipment |
CN109274722A (en) * | 2018-08-24 | 2019-01-25 | 北京北信源信息安全技术有限公司 | Data sharing method, device and electronic equipment |
CN110020323A (en) * | 2018-07-27 | 2019-07-16 | 平安科技(深圳)有限公司 | Mix page switching method, frame, computer equipment and the storage medium of application |
US10489179B1 (en) * | 2016-06-28 | 2019-11-26 | Amazon Technologies, Inc. | Virtual machine instance data aggregation based on work definition metadata |
CN110955470A (en) * | 2019-12-06 | 2020-04-03 | 深圳前海环融联易信息科技服务有限公司 | Algorithm model interfacing method, apparatus, computer device and storage medium |
CN111124704A (en) * | 2019-11-26 | 2020-05-08 | 深圳云天励飞技术有限公司 | Data processing method, processor and terminal equipment |
CN111258675A (en) * | 2020-01-15 | 2020-06-09 | 平安银行股份有限公司 | Rendering method, device and equipment of shared front-end component and storage medium |
CN111949267A (en) * | 2020-08-14 | 2020-11-17 | 中国工商银行股份有限公司 | UI front end generation method and device |
CN112052253A (en) * | 2020-08-12 | 2020-12-08 | 网宿科技股份有限公司 | Data processing method, electronic device and storage medium |
-
2020
- 2020-12-18 CN CN202011511945.1A patent/CN112612540B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9323504B1 (en) * | 2014-03-19 | 2016-04-26 | Amazon Technologies, Inc. | Template-driven data access |
US10489179B1 (en) * | 2016-06-28 | 2019-11-26 | Amazon Technologies, Inc. | Virtual machine instance data aggregation based on work definition metadata |
CN108762753A (en) * | 2018-04-17 | 2018-11-06 | 天津五八到家科技有限公司 | Page assembly amending method and equipment |
CN110020323A (en) * | 2018-07-27 | 2019-07-16 | 平安科技(深圳)有限公司 | Mix page switching method, frame, computer equipment and the storage medium of application |
CN109274722A (en) * | 2018-08-24 | 2019-01-25 | 北京北信源信息安全技术有限公司 | Data sharing method, device and electronic equipment |
CN111124704A (en) * | 2019-11-26 | 2020-05-08 | 深圳云天励飞技术有限公司 | Data processing method, processor and terminal equipment |
CN110955470A (en) * | 2019-12-06 | 2020-04-03 | 深圳前海环融联易信息科技服务有限公司 | Algorithm model interfacing method, apparatus, computer device and storage medium |
CN111258675A (en) * | 2020-01-15 | 2020-06-09 | 平安银行股份有限公司 | Rendering method, device and equipment of shared front-end component and storage medium |
CN112052253A (en) * | 2020-08-12 | 2020-12-08 | 网宿科技股份有限公司 | Data processing method, electronic device and storage medium |
CN111949267A (en) * | 2020-08-14 | 2020-11-17 | 中国工商银行股份有限公司 | UI front end generation method and device |
Non-Patent Citations (1)
Title |
---|
钱正平;齐德昱;: "DataTurbo:一种插件化数据交换与集成工具", 计算机应用研究, no. 10 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115129946A (en) * | 2022-06-30 | 2022-09-30 | 山东有人物联网股份有限公司 | Data model generation optimization method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112612540B (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110841285B (en) | Interface element display method and device, computer equipment and storage medium | |
CN110659127A (en) | Method, device and system for processing task | |
CN108717365B (en) | Method and device for executing function in application program | |
CN111858382A (en) | Application program testing method, device, server, system and storage medium | |
CN111949680A (en) | Data processing method and device, computer equipment and storage medium | |
CN113051015B (en) | Page rendering method and device, electronic equipment and storage medium | |
CN111866140A (en) | Fusion management apparatus, management system, service calling method, and medium | |
CN113190362B (en) | Service calling method and device, computer equipment and storage medium | |
CN108848492B (en) | Method, device, terminal and storage medium for starting user identity identification card | |
CN110677713B (en) | Video image processing method and device and storage medium | |
CN112612539B (en) | Data model unloading method and device, electronic equipment and storage medium | |
CN110086814B (en) | Data acquisition method and device and storage medium | |
CN111008083B (en) | Page communication method and device, electronic equipment and storage medium | |
CN112612540B (en) | Data model configuration method, device, electronic equipment and storage medium | |
CN111580892B (en) | Method, device, terminal and storage medium for calling service components | |
CN112597417B (en) | Page updating method and device, electronic equipment and storage medium | |
CN112596810B (en) | Loading prompt information display method and device, electronic equipment and storage medium | |
CN111694521B (en) | Method, device and system for storing file | |
CN109101158A (en) | Import the method, apparatus and storage medium of list of songs | |
CN114138290A (en) | Method and device for generating application installation package, computer equipment and storage medium | |
CN109618018B (en) | User head portrait display method, device, terminal, server and storage medium | |
CN113076452A (en) | Application classification method, device, equipment and computer readable storage medium | |
CN114329292A (en) | Resource information configuration method and device, electronic equipment and storage medium | |
CN113268234A (en) | Page generation method, device, terminal and storage medium | |
CN111464457B (en) | Method, device and system for managing flow calculation model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |