CN111813789B - Data configuration method, device, computer readable storage medium and electronic equipment - Google Patents

Data configuration method, device, computer readable storage medium and electronic equipment Download PDF

Info

Publication number
CN111813789B
CN111813789B CN202010495233.9A CN202010495233A CN111813789B CN 111813789 B CN111813789 B CN 111813789B CN 202010495233 A CN202010495233 A CN 202010495233A CN 111813789 B CN111813789 B CN 111813789B
Authority
CN
China
Prior art keywords
data
component
current
initial
level
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.)
Active
Application number
CN202010495233.9A
Other languages
Chinese (zh)
Other versions
CN111813789A (en
Inventor
刘彦格
苏盼盼
徐锡明
杜雅慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinao Shuneng Technology Co Ltd
Original Assignee
Xinao Shuneng Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xinao Shuneng Technology Co Ltd filed Critical Xinao Shuneng Technology Co Ltd
Priority to CN202010495233.9A priority Critical patent/CN111813789B/en
Publication of CN111813789A publication Critical patent/CN111813789A/en
Application granted granted Critical
Publication of CN111813789B publication Critical patent/CN111813789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a data configuration method, a device, a computer readable storage medium and an electronic device, wherein the method comprises the following steps: acquiring current selected data of a current level and an initial cascading component; updating the initial concatenation component according to the current selected data; and configuring data of the next level of the current level according to the updated initial cascading component. Through the technical scheme of the invention, the data combination of different rules of different levels can be configured, unified and centralized management of the data is realized, and the requirements of different application scenes are met.

Description

Data configuration method, device, computer readable storage medium and electronic equipment
Technical Field
The present invention relates to the field of energy technologies, and in particular, to a data configuration method, a data configuration device, a computer readable storage medium, and an electronic device.
Background
The power spot transaction contains various data information, about eighty data are commonly used, and the data are generally required to be subjected to attribute combination, so that the application of the data is known, and the unified management of the data is further realized to meet the scene requirements of load prediction, price prediction, query temperature and the like.
At present, cascade components adopting a conventional splicing writing method are mainly used for loading data in various combination forms through a fixed hierarchy relation among provinces, cities and counties.
However, although the cascade components adopting the conventional concatenation writing method can realize simple data hierarchy relation, it is difficult to realize data combination of different rules of different hierarchies, and once the category and the condition relation change, the data combination cannot be used, so that the requirement of data management in power transaction cannot be met. Therefore, how to implement data configuration of different rules at different levels is a problem to be solved.
Disclosure of Invention
The invention provides a data configuration method, a data configuration device, a computer readable storage medium and electronic equipment, which can configure data combination of different rules of different levels, realize unified and centralized management of data and meet the requirements of different application scenes.
In a first aspect, the present invention provides a data configuration method, including:
acquiring current selected data of a current level and an initial cascading component;
updating the initial concatenation component according to the current selected data;
And configuring data of the next level of the current level according to the updated initial cascading component.
Optionally, the acquiring the current selected data of the current hierarchy includes:
acquiring hierarchy data corresponding to a current hierarchy;
when an external trigger of the hierarchical data is monitored, the selected hierarchical data is determined to be currently selected data for the current hierarchy.
Optionally, the acquiring the initial cascade component of the current hierarchy includes:
And when the external trigger of the data of the previous level of the current level is monitored, acquiring an initial cascading component of the current level.
Optionally, the updating the initial concatenation component according to the currently selected data includes:
judging the data type of the current selected data;
And updating the initial cascade component according to the currently selected data and the data category.
Optionally, the data category comprises a hierarchical category or a conditional category.
Optionally, the updating the initial concatenation component according to the currently selected data and the data category includes:
determining a data display mode according to the data category;
and updating the initial cascade component according to the currently selected data, the data category and the data display mode.
Optionally, the data display mode includes any one of a drop-down frame, a searchable drop-down frame, a time selector, and an input frame.
Optionally, the updating the initial cascade component according to the currently selected data, the data category and the data display mode includes:
and writing the currently selected data, the data type and the data display mode into a tag field, a data type field and a display mode field in the initial cascade component respectively so as to update the initial cascade component.
Optionally, the configuring the data of the next level of the current level according to the updated initial concatenation component includes:
and updating the page display corresponding to the data of the next level of the current level according to the updated initial cascade component.
In a second aspect, the present invention provides a data configuration apparatus, comprising:
the acquisition module is used for acquiring the current selected data of the current level and the initial cascade component;
the updating module is used for updating the initial cascade component according to the current selected data;
and the configuration module is used for configuring the data of the next level of the current level according to the updated initial cascade component.
In a third aspect, the present invention provides a computer readable storage medium comprising execution instructions which, when executed by a processor of an electronic device, perform the method of any of the first aspects.
In a fourth aspect, the present invention provides an electronic device comprising a processor and a memory storing execution instructions, the processor performing the method according to any one of the first aspects when executing the execution instructions stored in the memory.
The invention provides a data configuration method, a device, a computer readable storage medium and electronic equipment, wherein the method is used for determining data options and a data processing method corresponding to a current hierarchy by acquiring the current selected data and an initial cascading component of the current hierarchy, then updating the initial cascading component according to the current selected data so as to obtain configuration information of data of the next hierarchy of the current hierarchy, and then configuring the data of the next hierarchy of the current hierarchy according to the updated initial cascading component so as to realize configuration of data combinations of different rules of different hierarchies and obtain a plurality of hierarchy combinations of descriptive data, thereby being convenient for unified and centralized management of the data and meeting the requirements of different application scenes. In summary, through the technical scheme of the invention, the data combination of different rules of different levels can be configured, unified and centralized management of the data is realized, and the requirements of different application scenes are met.
Further effects of the above-described non-conventional preferred embodiments will be described below in connection with the detailed description.
Drawings
In order to more clearly illustrate the embodiments of the invention or the prior art solutions, the drawings which are used in the description of the embodiments or the prior art will be briefly described below, it being obvious that the drawings in the description below are only some of the embodiments described in the present invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a flow chart of a data configuration method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another data configuration method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a data configuration device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, an embodiment of the present invention provides a data configuration method, which includes the following steps:
Step 101, current selected data of a current hierarchy and an initial cascading component are obtained.
The current hierarchy particularly refers to the next hierarchy of the configured minimum hierarchy, where the configured minimum hierarchy may be understood as the hierarchy with the smallest data range summarized in the plurality of hierarchies that have been determined. For convenience of description, the different levels are numbered, the number of the levels is 1,2, …, i, …, n, the smaller the number is, the higher the level is, the current level is i+1, each level includes a plurality of data options, the larger the data range of the data option summary included in the level is, and the data range of the data option summary corresponding to the lower level is also understood to be the data range of the data option summary corresponding to the higher level.
The initial concatenation component specifically refers to the encapsulation of the data options and data processing methods corresponding to the current hierarchy, in other words, an object, for acquiring data from the interface and processing the data.
In some possible embodiments, the acquiring the initial concatenation component of the current hierarchy includes:
And when the external trigger of the data of the previous level of the current level is monitored, acquiring an initial cascading component of the current level.
Specifically, the external trigger refers to external input, and may be operation behaviors such as keyboard input and mouse clicking. The data of the previous hierarchy may be understood as a data option corresponding to the previous hierarchy of the current hierarchy, and a data range summarized by the data option corresponding to the previous hierarchy includes a data range summarized by the data option corresponding to the current hierarchy. For example, the data option corresponding to the previous hierarchy may be schedule information, and the data option corresponding to the current hierarchy may be a legal schedule.
Specifically, when external input of data of a previous hierarchy of the current hierarchy is monitored, and the data of the previous hierarchy does not meet the condition of stopping data configuration, the data of the current hierarchy needs to be configured is described, so that the data content and the data processing method corresponding to the current hierarchy can be determined by adding an object and determining the added object as an initial concatenation component.
In some possible implementations, the obtaining the current selected data of the current hierarchy includes:
acquiring hierarchy data corresponding to a current hierarchy;
when an external trigger of the hierarchical data is monitored, the selected hierarchical data is determined to be currently selected data for the current hierarchy.
In particular, the level data corresponding to the current level specifically refers to a number of data options corresponding to the current level, and the number of the data options may be plural, and the data options may be understood as expressions capable of summarizing a specific data range, and the above and below data options may be understood as expressions capable of summarizing a specific data range. The currently selected data is one of a plurality of hierarchical data. The external trigger specifically refers to external input, and may be operation behaviors such as keyboard input, mouse click, and the like.
Specifically, a plurality of level data corresponding to the current level is acquired, so that a plurality of data options corresponding to the current level are known, and the plurality of level data are displayed on corresponding pages, so that a user can conveniently select the plurality of level data, and when external input of the level data is monitored, the level data selected by the user are determined to be the current selected data. For example, assuming that the plurality of hierarchy data corresponding to the current hierarchy includes names of electricity quantity, electricity price, electricity fee, and the like, the user selects the electricity quantity option through a mouse click, and the electricity quantity is the currently selected data.
Step 102, updating the initial cascade component according to the current selected data.
The initial concatenation component is updated primarily to determine the current level of data options for user selection, the next level of data options, and/or data processing result information. The data processing result information may be understood as data obtained by processing the acquired data based on the data processing method in the initial concatenation component.
In some possible embodiments, the updating the initial concatenation component according to the currently selected data includes:
judging the data type of the current selected data;
And updating the initial cascade component according to the currently selected data and the data category.
Specifically, the data category of the current selected data is judged, so that the data characteristics of the next level corresponding to the current level are determined, the current selected data and the data category are written into the initial cascade component, and the data characteristics of the next level of the current level are recorded.
In some possible implementations, the data categories include hierarchical categories or conditional categories.
In particular, the data categories include hierarchical categories, which may be understood as data categories comprising a plurality of data options, or conditional categories, which may be understood as data categories summarizing a range of data, in other words data categories of a single data item, i.e. the smallest data unit. It should be noted that the data type may be changed according to an actual scene. For example, if the currently selected data is a load prediction and the data category of the load prediction is a hierarchical category, the load prediction is described as including a plurality of data items, such as a user prediction, a metering point load prediction, and a proxy user load prediction. For another example, the currently selected data is an electrical quantity, and assuming that the data type of the electrical quantity is a conditional type, the electrical quantity is described as including a numerical value.
When the data class is a conditional class, the meaning of the conditional class needs to be described in the initial concatenation component. For example, if the currently selected data is a power, then the unit of power needs to be accounted for in the initial concatenation component.
In some possible implementations, the updating the initial concatenation component according to the currently selected data and data category includes:
determining a data display mode according to the data category;
and updating the initial cascade component according to the currently selected data, the data category and the data display mode.
Specifically, the data display mode specifically refers to a mode in which the data option of the next level of the current level is displayed.
In some possible embodiments, the data display mode includes any one of a drop-down frame, a searchable drop-down frame, a time selector, and an input frame.
Specifically, the data display mode includes, but is not limited to, any one of a drop-down frame, a searchable drop-down frame, a time selector and an input frame, and specifically may be selected according to an actual scene. The searchable drop-down boxes can obtain data options in a searching mode, and can also obtain data options in a drop-down box list mode.
In some possible implementations, the updating the initial concatenation component according to the currently selected data, the data category, and the data display mode includes:
and writing the currently selected data, the data type and the data display mode into a tag field, a data type field and a display mode field in the initial cascade component respectively so as to update the initial cascade component.
Specifically, the currently selected data, the data category and the data display mode are respectively written into the corresponding fields in the initial cascade component, so that the configuration of the data options of the next level of the current level is realized. The tag field, the data category field and the display mode field are all set in advance, and can be changed specifically according to actual requirements.
And step 103, configuring data of a next level of the current level according to the updated initial cascading component.
In particular, the data of the next level of the current level may be understood as the data options of the next level corresponding to the current level. The data range outlined by the data option corresponding to the next level should be located in the data range outlined by the data option corresponding to the current level. For example, the data option corresponding to the current level may be a legal schedule, and the data option corresponding to the next level may be work/section false, and obviously, the time information outlined by the legal schedule includes work/section false.
In some possible embodiments, the page display corresponding to the data of the next level of the current level is updated according to the updated initial concatenation component.
Specifically, according to the updated initial concatenation component, a plurality of data options for a next level of the current level are obtained from the interface and displayed on the page. The component acquiring data and processing data are in the prior art, and will not be described in detail here.
Specifically, the data between the component and the page adopts a data bidirectional binding mode, so that the page corresponding to the data can be updated in time when the data changes.
Specifically, the data of the next level of the current level is displayed by means of data display in the initial cascade component, for example, a searchable drop-down box, an input box, or a time selector. Here, the display mode of the next hierarchical data is related to the data category, and when the currently selected data is the hierarchical data, the display mode may be a searchable drop-down box, and when the currently selected data is the conditional data, the display mode may be an input box or a time selector. For example, assuming that the currently selected data is the upper limit of the predicted load value and the predicted upper limit value is the conditional data, the data may be displayed in a form of an input box, and the user inputs a numerical value through the input box, and a name before the numerical value is used to describe the meaning of the numerical value.
It should be noted that, considering that the data may belong to different levels, each level has different meanings, based on the selection combination of different data options in different levels, a plurality of data with different meanings are obtained, and then, the data can be uniformly and centrally managed based on the meanings of the data, so as to meet different application scenarios. For example, the data is combined into a value of 1.5, which can be used for data-price prediction-clearing point price-stock price prediction-prediction expectation value, so that the understanding of the value of 1.5 is realized, and then the value can be applied in the stock price prediction scene. For each data combination, each hierarchy to which the data combination corresponds to an updated concatenation component, which is combined into a component for configuration data, in other words, each data combination can be understood as a component. For example, assuming that there are two data combinations, denoted by A, B, respectively, a is user data-user load-metering point-some electricity meter, and B is user data-user load-user-some company, the two data correspond to one cascade component, and each cascade component records one data combination.
The application scenario of the embodiment can be applied to the scenarios of load prediction, data query and the like, and the data can be related data in the power spot transaction. Specifically, a plurality of data combinations can be obtained, namely a plurality of data with meaning are obtained, and data selection is performed from the data combinations, so that scene requirements such as load prediction, data query and the like are met.
Specifically, the main body of execution of the above steps may be a server, a terminal, or the like, and specifically may be a processor, an algorithm module, or the like, but is not limited thereto.
It should be noted that, the technical solution of the embodiment of the present invention is to select and combine the hierarchy data corresponding to different hierarchies, so as to implement array combination of different rules of different hierarchies, implement unified and centralized management of data, and further meet different application scenario requirements.
According to the technical scheme, the embodiment of the invention has the beneficial effects that: according to the current selected data of the current level, the data are flexibly selected for combination, meanwhile, the initial cascade component of the current level is obtained, then, the update of the initial cascade component is realized according to the selected current selected data, the configuration of the data of the next level of the current level is realized, the data can be dynamically formed completely according to the requirements of users, the data combination requirements of different rules of different levels are met, the data with different meanings are obtained, the unified and centralized management of the data is convenient to realize, the requirements of different application scenes are met, meanwhile, the level of the data with the meanings is clear, after the data is changed, the corresponding page can be updated in time according to the changed data, the flexible configuration data is realized, and the user experience is improved.
Fig. 1 shows only a basic embodiment of the method according to the invention, on the basis of which certain optimizations and developments are made, but other preferred embodiments of the method can also be obtained.
Fig. 2 shows another embodiment of the data configuration method according to the present invention. The embodiment of the invention is more specifically described with reference to application scenes on the basis of the previous embodiment. The method specifically comprises the following steps:
step 201, when external triggering of data of a previous level of a current level is monitored, acquiring an initial cascade component of the current level.
For example, the data combination to be obtained is user data-load prediction-user load-prediction expected value-analysis deadline-20200320, the corresponding hierarchy number is 1-2-3-4-5-6, the current hierarchy is assumed to be hierarchy 2, hierarchy 1 includes 5 data options, which are user data, disclosure information, schedule information, environment information and custom information respectively, the previous hierarchy is hierarchy 1, and the user data, disclosure information, schedule information, environment information and custom information are the previous hierarchy data respectively, if the user selects user data from the 5 data options in hierarchy 1 on the page, an object is newly added as an initial concatenation component of the current hierarchy, in other words, when one hierarchy is newly added, an object is newly added behind the current object.
It should be noted that, when the current hierarchy is assumed to be hierarchy 1, at this time, the newly added object is used as an initial concatenation component, and the initial concatenation component obtains multiple hierarchy data of the current hierarchy through an interface, and displays the multiple hierarchy data corresponding to the current hierarchy in a manner of a searchable drop-down box.
It should be noted that the initial concatenation component may select a two-tier array, where the first tier array is used to illustrate data options of a current tier, and the second tier array is used to illustrate data relationships between the current tier and a next tier, and data option contents of the next tier data.
Step 202, acquiring hierarchy data corresponding to a current hierarchy; when an external trigger of the hierarchical data is monitored, the selected hierarchical data is determined to be currently selected data for the current hierarchy.
Assuming that the level 2 includes 4 levels of data, which are load prediction, user load, clearing data and price prediction, respectively, and the 4 levels of data are displayed on the page in a manner of a searchable drop-down frame, a user selects the 4 levels of data in the level 2 through the searchable drop-down frame, when the user selects the load prediction, the load prediction is the currently selected data.
And 203, judging the data type of the currently selected data, and determining a data display mode according to the data type.
Judging whether the load prediction is a hierarchy type or a condition type, and then determining the data display mode of the next hierarchy 3.
Step 204, writing the currently selected data, the data type and the data display mode into a tag field, a data type field and a display mode field in the initial cascade component respectively, so as to update the initial cascade component.
And assuming that the load prediction is a hierarchy type and the data display mode is a searchable drop-down frame, writing the load prediction, the hierarchy data and the searchable drop-down frame into fields corresponding to the initial cascade component, thereby updating the initial cascade component.
Step 205, updating the page display corresponding to the data of the next level of the current level according to the updated initial cascade component.
The load forecast is assumed to include 3 next-level data, namely, the agent total load, the user load, and the metering point load. And updating the page corresponding to the load prediction, namely adding a searchable drop-down frame after the load prediction in the page, wherein data in a searchable drop-down frame list is the agent total load, the user load and the metering point load, then taking the level 3 corresponding to the next level of data as the current level, repeatedly executing the steps until the level 5 is taken as the current level, updating a page loading time selector after the analysis deadline is selected by a user, and inputting time in the time selector by the user so as to form data with meaning, thereby obtaining a data combination of user data-load prediction-user load-prediction expected value-analysis deadline-20200320.
According to the technical scheme, the embodiment of the invention has the beneficial effects that: according to the selection combination of the user to the data of the multiple layers in the multiple layers, the data combination of different rules of different layers is flexibly configured, the configurable efficiency of the data is improved, and the user experience is improved. Meanwhile, when data configuration is carried out, the newly added level is newly added with the objects, and meanwhile, the newly added objects are the same, and the objects are updated through data change, so that development difficulty is reduced, and data selection and configuration can be flexibly carried out.
Based on the same concept as the method embodiment of the present invention, please refer to fig. 3, an embodiment of the present invention further provides a data configuration device, which includes:
an obtaining module 301, configured to obtain current selected data and an initial cascade component of a current level;
an updating module 302, configured to update the initial cascade component according to the currently selected data;
a configuration module 303, configured to configure data of a next level of the current level according to the updated initial concatenation component.
In one embodiment of the present invention, the obtaining module 301 includes: an acquisition unit and a monitoring unit; wherein,
The acquisition unit is used for acquiring the level data corresponding to the current level;
the monitoring unit is used for determining the selected hierarchy data as the current selected data of the current hierarchy when the external trigger of the hierarchy data is monitored.
In one embodiment of the present invention, the obtaining module 301 is configured to obtain an initial concatenation component of a current level when an external trigger of data of a level previous to the current level is monitored.
In one embodiment of the present invention, the update module 302 includes: a judging unit and an updating unit; wherein,
The judging unit is used for judging the data type of the current selected data;
And the updating unit is used for updating the initial cascade component according to the current selected data and the data category.
In one embodiment of the invention, the data categories include hierarchical categories or conditional categories.
In one embodiment of the present invention, the updating unit includes: a mode determining subunit and an updating subunit; wherein,
The mode determining subunit is used for determining a data display mode according to the data category;
And the updating subunit is used for updating the initial cascade component according to the current selected data, the data type and the data display mode.
In one embodiment of the present invention, the data display mode includes any one of a drop-down frame, a searchable drop-down frame, a time selector, and an input frame.
In one embodiment of the present invention, the updating subunit is configured to write the currently selected data, the data type and the data display mode into a tag field, a data type field and a display mode field in the initial cascade component, respectively, so as to update the initial cascade component.
In one embodiment of the present invention, the configuration module 303 is configured to update the page display corresponding to the data of the next level of the current level according to the updated initial cascade component.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. At the hardware level, the electronic device comprises a processor 401 and a memory 402 storing executable instructions, optionally together with an internal bus 403 and a network interface 404. The Memory 402 may include a Memory 4021, such as a Random-Access Memory (RAM), and may also include a nonvolatile Memory 4022 (non-volatile Memory), such as at least 1 disk Memory; the processor 401, the network interface 404, and the memory 402 may be interconnected by an internal bus 403, which internal bus 403 may be an ISA (Industry Standard Architecture ) bus, a PCI (PERIPHERAL COMPONENT INTERCONNECT, peripheral component interconnect standard) bus, or an EISA (Extended Industry Standard Architecture ) bus, etc.; the internal bus 403 may be divided into an address bus, a data bus, a control bus, etc., and is represented by only one double-headed arrow in fig. 4 for convenience of illustration, but does not represent only one bus or one type of bus. Of course, the electronic device may also include hardware required for other services. When the processor 401 executes the execution instructions stored in the memory 402, the processor 401 performs the method in any one of the embodiments of the present invention and is at least used to perform the method as shown in fig. 1 or fig. 2.
In one possible implementation, the processor reads the corresponding execution instruction from the nonvolatile memory into the memory and then executes the corresponding execution instruction, and may also obtain the corresponding execution instruction from other devices, so as to form a data configuration device on a logic level. The processor executes the execution instructions stored in the memory to implement a data configuration method provided in any embodiment of the present invention by executing the execution instructions.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The embodiment of the invention also provides a computer readable storage medium, which comprises execution instructions, when the processor of the electronic device executes the execution instructions, the processor executes the method provided in any embodiment of the invention. The electronic device may specifically be an electronic device as shown in fig. 4; the execution instruction is a computer program corresponding to the data configuration device.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method or a computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects.
The embodiments of the present invention are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or boiler that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or boiler. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of additional identical elements in a process, method, article, or boiler comprising the element.
The foregoing is merely exemplary of the present invention and is not intended to limit the present invention. Various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the invention are to be included in the scope of the claims of the present invention.

Claims (6)

1. A data configuration method, comprising:
acquiring current selected data of a current level and an initial cascading component, wherein the initial cascading component refers to packaging of data options and data processing methods corresponding to the current level;
updating the initial concatenation component according to the current selected data;
configuring next-level data of the current level according to the updated initial cascade component;
The configuring of the next level data of the current level according to the updated initial concatenation component includes:
Selecting and combining hierarchical data corresponding to different hierarchies to obtain data combination components with different meanings, wherein each hierarchy corresponding to the data combination corresponds to an updated initial cascade component;
updating page display corresponding to the data of the next level of the current level according to the updated initial cascade component, wherein the data between the component and the page adopts a data bidirectional binding mode;
said updating said initial concatenation component according to said currently selected data, comprising:
judging the data type of the current selected data;
determining a data display mode according to the data category;
and writing the currently selected data, the data type and the data display mode into a tag field, a data type field and a display mode field in the initial cascade component respectively so as to update the initial cascade component.
2. The method of claim 1, wherein the obtaining the current selected data for the current hierarchy comprises:
acquiring hierarchy data corresponding to a current hierarchy;
when an external trigger of the hierarchical data is monitored, the selected hierarchical data is determined to be currently selected data for the current hierarchy.
3. The method of claim 1, wherein the obtaining the initial concatenation component of the current hierarchy comprises:
And when the external trigger of the data of the previous level of the current level is monitored, acquiring an initial cascading component of the current level.
4. The method of claim 1, wherein the data category comprises a hierarchical category or a conditional category.
5. The method of claim 1, wherein the data display mode includes any one of a drop-down box, a searchable drop-down box, a time selector, and an input box.
6. A data configuration apparatus, comprising:
The system comprises an acquisition module, a data processing module and a data processing module, wherein the acquisition module is used for acquiring current selected data of a current level and an initial cascading component, and the initial cascading component refers to the encapsulation of a data option and a data processing method corresponding to the current level;
the updating module is used for updating the initial cascade component according to the current selected data;
the configuration module is used for configuring the data of the next level of the current level according to the updated initial cascade component;
The configuring of the next level data of the current level according to the updated initial concatenation component includes:
Selecting and combining hierarchical data corresponding to different hierarchies to obtain data combination components with different meanings, wherein each hierarchy corresponding to the data combination corresponds to an updated initial cascade component;
updating page display corresponding to the data of the next level of the current level according to the updated initial cascade component, wherein the data between the component and the page adopts a data bidirectional binding mode;
The updating module comprises: the device comprises a judging unit and an updating unit, wherein the updating unit comprises a mode determining subunit and an updating subunit; wherein,
The judging unit is used for judging the data type of the current selected data;
The mode determining subunit is used for determining a data display mode according to the data category;
The updating subunit is configured to write the currently selected data, the data type and the data display mode into a tag field, a data type field and a display mode field in the initial cascade component, respectively, so as to update the initial cascade component.
CN202010495233.9A 2020-06-03 2020-06-03 Data configuration method, device, computer readable storage medium and electronic equipment Active CN111813789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010495233.9A CN111813789B (en) 2020-06-03 2020-06-03 Data configuration method, device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010495233.9A CN111813789B (en) 2020-06-03 2020-06-03 Data configuration method, device, computer readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111813789A CN111813789A (en) 2020-10-23
CN111813789B true CN111813789B (en) 2024-04-19

Family

ID=72847944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010495233.9A Active CN111813789B (en) 2020-06-03 2020-06-03 Data configuration method, device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111813789B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880344A (en) * 2022-05-09 2022-08-09 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983279A (en) * 2005-11-30 2007-06-20 Sap股份公司 Modeling a data element
CN106649889A (en) * 2017-01-18 2017-05-10 深圳市华第时代科技有限公司 Data display method and device
CN107608686A (en) * 2016-07-11 2018-01-19 北京京东尚科信息技术有限公司 A kind of method and system for updating the component list data
CN108038142A (en) * 2017-11-24 2018-05-15 平安科技(深圳)有限公司 Realize method, electronic device and the storage medium of multistage linking combobox
CN109614177A (en) * 2018-10-31 2019-04-12 阿里巴巴集团控股有限公司 Select component and its control method
CN110738037A (en) * 2019-10-15 2020-01-31 深圳逻辑汇科技有限公司 Method, apparatus, device and storage medium for automatically generating electronic form

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983279A (en) * 2005-11-30 2007-06-20 Sap股份公司 Modeling a data element
CN107608686A (en) * 2016-07-11 2018-01-19 北京京东尚科信息技术有限公司 A kind of method and system for updating the component list data
CN106649889A (en) * 2017-01-18 2017-05-10 深圳市华第时代科技有限公司 Data display method and device
CN108038142A (en) * 2017-11-24 2018-05-15 平安科技(深圳)有限公司 Realize method, electronic device and the storage medium of multistage linking combobox
CN109614177A (en) * 2018-10-31 2019-04-12 阿里巴巴集团控股有限公司 Select component and its control method
CN110738037A (en) * 2019-10-15 2020-01-31 深圳逻辑汇科技有限公司 Method, apparatus, device and storage medium for automatically generating electronic form

Also Published As

Publication number Publication date
CN111813789A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
WO2020253059A1 (en) Method and apparatus for implementing multi-stage linkage drop-down box, and computer device
TWI777010B (en) Prediction of information conversion rate, information recommendation method and device
US9563450B1 (en) Expression based hierarchical mechanism for HTML form data validation
CN110069739B (en) Page preloading method and device
CN111581069A (en) Data processing method and device
CN111813789B (en) Data configuration method, device, computer readable storage medium and electronic equipment
CN105989066A (en) Information processing method and device
CN111813517A (en) Task queue allocation method and device, computer equipment and medium
CN114328983A (en) Document fragmenting method, data retrieval device and electronic equipment
CN113076094A (en) Front end component construction method and device and electronic equipment
CN114816389B (en) Management system building method, device, equipment and medium based on meta-model
CN112911235A (en) Monitoring rule configuration method, device, server and storage medium
CN110852050A (en) Method and device for configuring report generation system and electronic equipment
CN114461960B (en) Page generation method, page display method and page display device
CN113296788B (en) Instruction scheduling method, device, equipment and storage medium
CN114004190A (en) Method for multi-level information acquisition and extensible operation based on physical layout
CN110119351B (en) Test case execution method and device
CN113656549A (en) Content searching method of electronic book, electronic device and computer storage medium
CN113590604A (en) Service data processing method and device and server
CN112948264A (en) Test task execution method, device, system, storage medium and electronic device
CN109857501A (en) A kind of page display method of APP, device, storage medium and server
CN111309623B (en) Coordinate class data classification test method and device
CN116301758B (en) Rule editing method, device, equipment and medium based on event time points
US20230133422A1 (en) Systems and methods for executing and hashing modeling flows
CN112052418B (en) Data configuration method and device

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