CN114064817A - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114064817A
CN114064817A CN202111357594.8A CN202111357594A CN114064817A CN 114064817 A CN114064817 A CN 114064817A CN 202111357594 A CN202111357594 A CN 202111357594A CN 114064817 A CN114064817 A CN 114064817A
Authority
CN
China
Prior art keywords
data
data item
displayed
item
dimensions
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.)
Pending
Application number
CN202111357594.8A
Other languages
Chinese (zh)
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.)
Chongqing Cisai Tech Co Ltd
Original Assignee
Chongqing Cisai Tech 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 Chongqing Cisai Tech Co Ltd filed Critical Chongqing Cisai Tech Co Ltd
Priority to CN202111357594.8A priority Critical patent/CN114064817A/en
Publication of CN114064817A publication Critical patent/CN114064817A/en
Pending legal-status Critical Current

Links

Images

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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • 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/26Visual data mining; Browsing structured data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a data processing method and device, electronic equipment and a storage medium. A data processing method, comprising: acquiring data to be displayed; the data to be displayed comprises: the data lists respectively correspond to a plurality of dimensions, the dimensions are dimensions with a cascade relation, and each data list comprises a plurality of data items; displaying an initial page based on the data to be displayed; the initial page comprises at least one data item which is displayed in a plurality of dimensions in columns; and updating the data items displayed in the initial page based on the received data item operation instruction. The data processing method is used for improving the operation convenience of data selection.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method and apparatus, an electronic device, and a storage medium.
Background
With the development of data intelligence, massive data needs to be processed, analyzed and mined through technologies such as large-scale machine learning and deep learning, and valuable information in the data is extracted. Data selection is an important step in the interaction of the analysis process, and a common data selection mode is generally a tree-shaped expansion structure, namely, a data source, a database, a data table and a column are gradually expanded to select data.
In the data selection mode, because the tree-shaped expansion structure is based, the selection of each dimension cannot be clearly limited and controlled; when the data volume is large, rendering performance is reduced by rendering the long list of the tree structure, and page browsing is caused to be blocked; moreover, the tree structure hierarchy information is nested too much, which causes inconvenience for user operation.
Therefore, the existing data selection mode based on the tree expansion structure has poor operation convenience.
Disclosure of Invention
An object of the embodiments of the present application is to provide a data processing method and apparatus, an electronic device, and a storage medium, so as to improve operation convenience of data selection.
In a first aspect, an embodiment of the present application provides a data processing method, including: acquiring data to be displayed; the data to be displayed comprises: the data lists respectively correspond to a plurality of dimensions, the dimensions are dimensions with a cascade relation, and each data list comprises a plurality of data items; displaying an initial page based on the data to be displayed; the initial page comprises at least one data item which is displayed in a plurality of dimensions in columns; and updating the data items displayed in the initial page based on the received data item operation instruction.
In the embodiment of the application, compared with the prior art, a tree-shaped expansion structure is not adopted any more, but the dimension is corresponding to the display column, and a column-divided expansion structure is adopted; and the data dimensions of the column-divided expansion structure have a cascade relation. By the data expansion mode, any data item can be selected from the display page conveniently, the data item displayed in the display page can be updated flexibly, and the operation convenience and flexibility of data selection are improved.
As a possible implementation manner, the data to be displayed is tree structure list data or general structure list data with a dimension relationship.
In the embodiment of the application, the incoming data to be presented (i.e. data source) may be tree structure list data or general structure list data with a dimensional relationship, and based on the list data with the dimensional relationship, the incoming data to be presented (i.e. data source) can be more efficiently converted into column list data.
As a possible implementation manner, the data to be displayed further includes: defaulting the selected data item; the default selected data item is included in the at least one data item.
In the embodiment of the application, the selected data item can be defaulted, and further, the default selected data item is directly displayed in the initial page, so that a user can conveniently perform further data selection operation based on the default selected data item.
As a possible implementation manner, the at least one data item is a data item corresponding to a highest-level dimension in the plurality of dimensions.
In the embodiment of the application, the initially displayed data items may be data items corresponding to the highest-level dimension, and then, the user may flexibly and conveniently select the required data based on the data items corresponding to the highest-level dimension.
As a possible implementation manner, the data item operation instruction is: an activation instruction of the first data item; the updating the data items displayed in the initial page based on the received data item operation instruction comprises: determining a next-level data item including a second data item among the at least one data item; the second data item is of the same dimension as the first data item; canceling the presentation of the next-level data item of the second data item, and presenting the next-level data item of the first data item.
In this embodiment of the application, the operation instruction of the data item may be an activation instruction, and for the activation instruction, if the sub data items of other data items in the same dimension are currently displayed, the display of the sub data items is cancelled, and then the sub data items of the data item corresponding to the current activation instruction are displayed, so that the linkage processing when the selected data dimension changes is realized.
As a possible implementation manner, the data item operation instruction is: a selection instruction of a first data item; the updating the data items displayed in the initial page based on the received data item operation instruction comprises: determining a next-level data item including a second data item among the at least one data item; the second data item is of the same dimension as the first data item; and canceling the next-level data item of the second data item, and adding a selected identifier for the first data item.
In the embodiment of the application, the operation instruction of the data item may be a selection instruction, and for the activation instruction, if the sub data items of other data items in the same dimension are currently displayed, the display of the sub data items is cancelled, and then the selection identifier is added to the data item corresponding to the currently selected instruction, so that the linkage processing when the selected data dimension changes is realized.
As a possible implementation manner, the data processing method further includes: determining data items displayed in the current page and selected data items in the current page; screening the data to be displayed based on the displayed data items and the selected data items to obtain screened data; and outputting the screened data.
In the embodiment of the application, after the user performs the corresponding data selection operation, the data finally selected by the user can be determined based on the data items displayed in the current page and the selected data items in the current page, and the data is output, so that the user can conveniently apply the selected data.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including: functional modules for implementing the data processing method described in the first aspect and any one of the possible implementation manners of the first aspect.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory and display communicatively coupled to the processor; the memory stores instructions executable by the processor to enable the processor to perform the method of the first aspect and any one of its possible implementations.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a computer, the computer program performs the data processing method described in the first aspect and any one of the possible implementation manners of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a data processing method provided in an embodiment of the present application;
FIG. 2 is an exemplary diagram of an initial page provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Icon: 300-a data processing apparatus; 310-an acquisition module; 320-a processing module; 400-an electronic device; 410-a processor; 420-a memory; 430-display.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The technical scheme provided by the embodiment of the application can be applied to application scenes of data selection of web pages or other front ends. For example: when a user selects data of a certain data source, the user selects a database of the data source, then selects a data table under the database, and finally selects specific data under the data table.
The technical scheme provided by the embodiment of the application depends on the front-end component, so that the technologies of component configuration, component rendering and the like are required to be utilized.
Based on the application scenario, the hardware operating environment corresponding to the technical solution provided in the embodiment of the present application may be a front end, and the expression form of the front end includes but is not limited to: a browser, a client or a terminal pole device, etc.
Referring to fig. 1, a flowchart of a data processing method according to an embodiment of the present application is shown, where the data processing method includes:
step 110: and acquiring data to be displayed. The data to be displayed comprises: the data lists correspond to the dimensions respectively, the dimensions are dimensions with a cascade relation, and each data list comprises a plurality of data items.
Step 120: and displaying the initial page based on the data to be displayed. The initial page comprises at least one data item which is displayed in a plurality of dimensions in columns.
Step 130: and updating the data items displayed in the initial page based on the received data item operation instruction.
In the embodiment of the application, compared with the prior art, a tree-shaped expansion structure is not adopted any more, but the dimension is corresponding to the display column, and a column-divided expansion structure is adopted; and the data dimensions of the column-divided expansion structure have a cascade relation. By the data expansion mode, any data item can be selected from the display page conveniently and fast, the data item displayed in the display page can be updated flexibly, and the operation convenience and flexibility of data selection are improved.
A detailed embodiment of the data processing method will be described below.
In step 110, data to be presented is obtained, and the data to be presented may be understood as data source data, which includes all data available for a user to select, and thus may also be understood as data to be selected.
In the data to be presented, the method comprises the following steps: the data lists respectively correspond to the multiple dimensions, wherein the multiple dimensions have a cascade relation, and each data list comprises multiple data items.
For example, assuming that the data to be shown corresponds to four dimensions, the cascade relations among the four dimensions are from high to low: data source, database, data table, column. Then, the data to be displayed includes data in the four dimensions, for example: the data source comprises two data sources under the dimension, the two data sources form a data list corresponding to the dimension, and the two data sources can be understood as two data items under the dimension; the three databases form a data list corresponding to the dimension, and can be understood as three data items under the dimension; the three databases and the two data sources have corresponding cascade relations; other data dimensions work the same way.
In the embodiment of the application, the data to be presented can be locally stored optional data; or alternatively, data that is imported (transmitted) from another platform; but also data uploaded by the user, which is not limited herein.
If the data to be displayed is locally stored data, the data to be displayed can be directly obtained from the local. And if the data to be displayed is data transmitted by other platforms, acquiring the data transmitted by other platforms. And if the data to be displayed is the data uploaded by the user, acquiring the data input by the user.
Of course, the data to be displayed may also be other data sources, and the corresponding data acquisition manner may be an acquisition manner matched with the data source, which is not limited herein.
In the embodiment of the application, in order to more efficiently realize the display of the column data, as an optional implementation manner, the data to be displayed is tree structure list data or general structure list data with a dimension relationship.
In this embodiment, if the original data (the acquired data for the user to select) is tree structure list data, since the tree structure list data itself has a dimensional relationship, the form of the original data does not need to be converted, and the original data can be directly used as the data to be displayed.
If the data to be displayed is non-tree structure list data or other structure list data without dimension relationship, the data can be converted into general structure data with dimension relationship, and then the converted data is used as the data to be displayed.
As an alternative implementation, the conversion of the structure data is performed by a data schema tool.
As another alternative, the conversion of the configuration data is performed outside the component by other processing means.
After data conversion, the general structure data includes: original data; may optionally include: the selected list is defaulted and the callback function when the data selection changes.
Wherein whether a default selected list is included depends on whether the object of the incoming data selects a particular data in the structured data. Whether the callback function when the data selection changes is included or not depends on the state corresponding to the data, if the data is in a read-only state, the callback function when the data selection changes is not included, and if the data is in a selectable state, the callback function when the data selection changes is required to be included.
It can be understood that the callback function when the data selection changes is used for realizing the state switching when the data selection changes.
In the embodiment of the application, the incoming data to be presented (i.e., the data source) may be tree structure list data or general structure list data with a dimensional relationship, and based on the list data with the dimensional relationship, the list data can be more efficiently converted into column list data.
After the data to be displayed is acquired in step 110, in step 120, an initial page is displayed based on the data to be displayed. It will be appreciated that the user can only make a selection of data based on the initial page presented.
As an alternative embodiment, step 120 includes: initializing the component for displaying the data to be displayed to complete the configuration of the basic component; rendering the data to be displayed based on the configured basic component so as to display an initial page corresponding to the data to be displayed.
As an optional implementation, the initialization of the data to be displayed includes: and (3) building a project by using the create-react-app, configuring data application page routing and creating a data selection component. The properties of the function components are extended using exact hooks (including use Effect, use Memo, use State).
Through the initialization mode, the configuration of the basic assembly can be completed, and the data to be displayed can be rendered by using the configured basic assembly subsequently.
As an optional implementation mode, the rendering of the data to be displayed is realized by calling use Memo to calculate and store the data to be rendered.
During rendering, performing columnar rendering on data to be displayed according to a plurality of dimensions in the data to be displayed so that the initial page comprises: at least one data item presented in columns.
With reference to the foregoing description of the embodiment, in the data structure of the data to be displayed, a default selected list may be included, where the default selected list corresponds to the data items in the data list, and therefore, as an optional implementation manner, the data to be displayed includes the default selected data items.
In this embodiment, since the data item has been selected by default, the data item selected by default needs to be included in at least one data item in the initial page. And if the default selected data item is the data item in the highest dimension, only the data item in the highest dimension may be included in at least one data item. If the default selected data item is not the data item with the highest dimension, the data item under the upper dimension of the default selected data item is required to be included in at least one data item, and the data item under the lower dimension of the default selected data item is not required to be included.
In the embodiment of the application, the selected data item can be defaulted, and further, the default selected data item is directly displayed in the initial page, so that a user can conveniently perform further data selection operation based on the default selected data item.
If the default selected data item is not included in the data items to be displayed, at least one data item corresponding to the initial page may be the default data item. Thus, as an alternative embodiment, at least one data item is a data item corresponding to the highest dimension of the plurality of dimensions.
Taking the foregoing example as an example, assuming that the highest-level dimension is the data source, at least one data item includes all data items in the data source dimension.
In the embodiment of the application, the initially displayed data items may be data items corresponding to the highest-level dimension, and then, the user may flexibly and conveniently select the required data based on the data items corresponding to the highest-level dimension.
Of course, in addition to the above two embodiments, the user may also flexibly configure at least one data item included in the initial page according to the needs of the user, which is not limited in the embodiment of the present application.
For column display, for convenience of understanding, please refer to fig. 2, which is an exemplary diagram of an initial page provided in an embodiment of the present application, in the initial page, corresponding to four dimensions, respectively: the data items selected by default are two data items in the database, so that the data items included in the initial page are data items in the dimension of the data source and data items in the dimension of the database.
It is understood that the initial page shown in fig. 2 is only an example, and in practical applications, the form or format of the content shown in the initial page may be flexibly configured in combination with different practical application scenarios, and does not constitute a limitation on the embodiment of the present application.
Based on the initial page displayed in step 120, the user may select data through the data item operation instruction, and correspondingly, the data item displayed in the initial page is also updated.
In the embodiment of the present application, the operation instruction of the data item may include two types: a select instruction and an activate instruction.
Based on the selection instruction, one or more data items in any dimension may be selected. Based on the activation instruction, one data item of any dimension can be activated, so that the corresponding next-level data item is activated, and further, the next-level data item can be selected.
As can be seen by the definition of the selection instruction and the activation instruction, the selection instruction may be directed to multiple data items, but the activation instruction may not be directed to multiple data items.
After the operations corresponding to the selection instruction and the activation instruction are completed, the corresponding data items are changed to the selection state or the activation state, in the embodiment of the present application, in the same dimension, the data items in the selection state and the activation state cannot exist at the same time, for example: if the first data item in a certain dimension is selected currently, the state of the first data item is the selected state, and if the second data item in the dimension is to be activated and changed into the activated state, the selected state of the first data item needs to be cleared.
For another example, if the state of the first data item in a certain dimension is currently the active state, and the second data item in the dimension is to be selected and changed to the selected state, the active state of the second data item needs to be cleared.
Therefore, as an optional implementation, the data item operation instruction is: an activation instruction for a first data item, step 130 comprising: determining a next-level data item including a second data item among the at least one data item; the second data item belongs to the same dimension as the first data item; the next-level data item of the second data item is not shown, and the next-level data item of the first data item is shown.
In this embodiment, it is first determined whether at least one data item includes a next-level data item of a second data item having the same dimension as the first data item, and if so, the second data item is in an active state. Since data items in two active states cannot exist simultaneously in the same dimension, the state of the data item in the other active state needs to be changed.
When the state of the second data item is changed, only the next-level data item of the second data item needs to be canceled. After the change, the next-level data item of the first data item is presented, and the first data item is changed to the activated state.
It will be appreciated that in such an embodiment, the current state of the first data item is the inactive or unselected state.
Of course, if the next-level data item of the second data item is not included in the at least one data item, that is, there is no data item which is in an active state in the same dimension, it is only necessary to display the next-level data item of the first data item.
In this embodiment of the application, the operation instruction of the data item may be an activation instruction, and for the activation instruction, if the sub data items of other data items in the same dimension are currently displayed, the display of the sub data items is cancelled, and then the sub data items of the data item corresponding to the current activation instruction are displayed, so that the linkage processing when the selected data dimension changes is realized.
As another alternative, the data item operation instruction is a selected instruction of the first data item, and step 130 includes: determining a next-level data item including a second data item among the at least one data item; the second data item belongs to the same dimension as the first data item; and canceling the next-level data item of the second data item, and adding the selected identification for the first data item.
In this embodiment, it is first determined whether at least one data item includes a next-level data item of a second data item having the same dimension as the first data item, and if so, the second data item is in an active state. Since the active state and the selected state cannot exist simultaneously in the same dimension, the state of the data item in the active state needs to be changed.
When the state of the second data item is changed, only the next-level data item of the second data item needs to be canceled. And after the change, adding a selection identifier for the first data item, and marking the first data item in a selection state.
For the selected identifier, taking fig. 2 as an example, a box is arranged in front of each data item, and a coincidence used for characterizing the selected identifier, such as "√" for example, may be added to the box or the box may be filled, and the like, which is not limited in the embodiment of the present application.
In order to distinguish the selected state from the activated state, in the activated state, the display frame of the data item may be further modified to a preset color, for example: blue, green, etc., to indicate that the data item is currently actively selected.
It will be appreciated that in such an embodiment, the current state of the first data item is the unselected state.
Therefore, if at least one data item does not include the next-level data item of the second data item, that is, there is no data item which is in an active state in the same dimension, it may be further determined whether the current state of the first data item is in an active state, and if so, the display of the next-level data item of the first data item is cancelled, and the selected identifier is added to the first data item, so as to change the current state from the active state to the selected state. And if the current state of the first data item is not the activation state, directly adding the selected identification to the first data item.
In the embodiment of the application, the operation instruction of the data item may be a selection instruction, and for the activation instruction, if the sub data items of other data items in the same dimension are currently displayed, the display of the sub data items is cancelled, and then the selection identifier is added to the data item corresponding to the currently selected instruction, so that the linkage processing when the selected data dimension changes is realized.
No matter what selection is made by the user on the data items presented in the page based on the two selection instructions, after detecting the data in the lowest dimension (for example, column dimension) finally selected by the user, the data processing method further includes: determining data items displayed in the current page and selected data items in the current page; screening the data to be displayed based on the displayed data items and the selected data items to obtain screened data; and outputting the screened data.
In this embodiment, the selected data items in the current page are determined, which may be understood as data items in the lowest dimension, and the data items shown in the current page are determined, which include data items having a cascading relationship with the selected data items and data items having no cascading relationship.
Further, screening data items which have no cascade relation with the selected data items in the displayed data items, and taking the data items which have the cascade relation with the selected data items in the displayed data items and the selected data items as screened data.
Based on the screened data, structured data, such as tree structure data, can be generated according to the cascade relationship between the screened data, and then the structured data is output.
In this way, the output of the data selected by the user can be realized, and the output data also contains the cascade relation among the data. Based on the cascade relation among the data, the user can better utilize the data.
In the embodiment of the application, after the user performs the corresponding data selection operation, the data finally selected by the user can be determined based on the data items displayed in the current page and the selected data items in the current page, and the data is output, so that the user can conveniently apply the selected data.
Based on the same inventive concept, referring to fig. 3, an embodiment of the present application further provides a data processing apparatus 300, including: an acquisition module 310 and a processing module 320.
An obtaining module 310, configured to obtain data to be displayed; the data to be displayed comprises: the data lists respectively correspond to multiple dimensions, the multiple dimensions are dimensions with a cascade relation, and each data list comprises multiple data items. The processing module 320 is used for displaying an initial page based on the data to be displayed; the initial page comprises at least one data item which is displayed in a plurality of dimensions in columns; and updating the data items displayed in the initial page based on the received data item operation instruction.
In this embodiment of the application, the processing module 320 is specifically configured to: determining a next-level data item including a second data item among the at least one data item; the second data item is of the same dimension as the first data item; canceling the presentation of the next-level data item of the second data item, and presenting the next-level data item of the first data item.
In this embodiment of the application, the processing module 320 is further specifically configured to: determining a next-level data item including a second data item among the at least one data item; the second data item is of the same dimension as the first data item; and canceling the next-level data item of the second data item, and adding a selected identifier for the first data item.
In this embodiment of the application, the processing module 320 is further configured to: determining data items displayed in the current page and selected data items in the current page; screening the data to be displayed based on the displayed data items and the selected data items to obtain screened data; and outputting the screened data.
The data processing apparatus 300 corresponds to the data processing method described above, and each functional module corresponds to each step of the data processing method, so that the implementation of each functional module refers to the implementation of each step in the foregoing embodiments, and will not be described again here.
Based on the same inventive concept, please refer to fig. 4, which is a schematic structural diagram of an electronic device 400 provided in the embodiment of the present application, where the electronic device 400 may be an execution main body of the data processing method, and the electronic device 400 may be a terminal device such as a mobile phone, a computer, a tablet computer, and the like.
The electronic device 400 includes: a processor 410, a memory 420, and a display 430.
The processor 410, the memory 420 and the display 430 may be disposed in a device body, and the device body may correspond to different embodiments in different application scenarios, for example: different shapes, different sizes, different materials, etc., are not limited in the embodiments of the present application.
The processor 410, the memory 420, and the display 430 are electrically connected, directly or indirectly, to enable transmission or interaction of data. For example, electrical connections may be made through one or more communication or signal buses. The aforementioned page jump methods respectively include at least one software functional module that may be stored in the memory 420 in the form of software or firmware (firmware), such as a software functional module or a computer program included in the data processing device 300.
The processor 410 may be an integrated circuit chip having signal processing capabilities. Processor 410 may be a general-purpose Processor including a CPU (Central Processing Unit), an NP (Network Processor), etc.; but may also be a digital signal processor, an application specific integrated circuit, an off-the-shelf programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components. Which may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 420 may store various software programs and modules, such as program instructions/modules corresponding to the data processing method and apparatus provided in the embodiments of the present application. The processor 410 executes various functional applications and data processing by executing software programs and modules stored in the memory 420, that is, implements the method in the embodiment of the present application.
In the embodiment of the present application, the memory 420 is also used for storing default configuration information.
The Memory 420 may include, but is not limited to, a RAM (Random Access Memory), a ROM (Read Only Memory), a PROM (Programmable Read-Only Memory), an EPROM (Erasable Read-Only Memory), an EEPROM (electrically Erasable Read-Only Memory), and the like.
The display 430 may be used to show an initial page and a page after updating data items of the processor 410, and may also be used as a medium for human-computer interaction.
In some embodiments, the display 430 may be a touch display or a non-touch display, and is not limited herein.
In some embodiments, electronic device 400 may also include an input-output module. The input and output module can be understood as a tool for realizing human-computer interaction by a user. Through the input and output module, a user can operate the electronic equipment to send instructions, upload data, download data, select data and the like.
In some embodiments, the input-output module may be: mouse, keyboard, etc., without limitation thereto.
It should be noted that the structure of the electronic device 400 shown in fig. 4 does not constitute a limitation of the electronic device 400, and an actual electronic device 400 may include more or less components than those shown, or combine some components, or arrange different components.
In addition, the technical effect of the electronic device 400 can refer to the technical effect of the page jump method described above, and will not be described herein again.
Based on the same inventive concept, embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a computer, the computer program executes the data processing method described in the foregoing embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A data processing method, comprising:
acquiring data to be displayed; the data to be displayed comprises: the data lists respectively correspond to a plurality of dimensions, the dimensions are dimensions with a cascade relation, and each data list comprises a plurality of data items;
displaying an initial page based on the data to be displayed; the initial page comprises at least one data item which is displayed in a plurality of dimensions in columns;
and updating the data items displayed in the initial page based on the received data item operation instruction.
2. The data processing method according to claim 1, wherein the data to be presented is tree structure list data or general structure list data with dimension relationship.
3. The data processing method according to claim 1, wherein the data to be displayed further comprises: defaulting the selected data item; the default selected data item is included in the at least one data item.
4. The data processing method of claim 1, wherein the at least one data item is a data item corresponding to a highest-level dimension of the plurality of dimensions.
5. The data processing method of claim 1, wherein the data item operation instruction is: an activation instruction of the first data item; the updating the data items displayed in the initial page based on the received data item operation instruction comprises:
determining a next-level data item including a second data item among the at least one data item; the second data item is of the same dimension as the first data item;
canceling the presentation of the next-level data item of the second data item, and presenting the next-level data item of the first data item.
6. The processing method according to claim 1, wherein the data item operation instruction is: a selection instruction of a first data item; the updating the data items displayed in the initial page based on the received data item operation instruction comprises:
determining a next-level data item including a second data item among the at least one data item; the second data item is of the same dimension as the first data item;
and canceling the next-level data item of the second data item, and adding a selected identifier for the first data item.
7. The data processing method of claim 1, further comprising:
determining data items displayed in the current page and selected data items in the current page;
screening the data to be displayed based on the displayed data items and the selected data items to obtain screened data;
and outputting the screened data.
8. A data processing apparatus, comprising:
the acquisition module is used for acquiring data to be displayed; the data to be displayed comprises: the data lists respectively correspond to a plurality of dimensions, the dimensions are dimensions with a cascade relation, and each data list comprises a plurality of data items;
a processing module to:
displaying an initial page based on the data to be displayed; the initial page comprises at least one data item which is displayed in a plurality of dimensions in columns;
and updating the data items displayed in the initial page based on the received data item operation instruction.
9. An electronic device, comprising:
a processor; and a memory and a display communicatively coupled to the processor;
the memory stores instructions executable by the processor to enable the processor to perform a data processing method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a computer, performs a data processing method according to any one of claims 1 to 7.
CN202111357594.8A 2021-11-16 2021-11-16 Data processing method and device, electronic equipment and storage medium Pending CN114064817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111357594.8A CN114064817A (en) 2021-11-16 2021-11-16 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111357594.8A CN114064817A (en) 2021-11-16 2021-11-16 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114064817A true CN114064817A (en) 2022-02-18

Family

ID=80273187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111357594.8A Pending CN114064817A (en) 2021-11-16 2021-11-16 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114064817A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150347529A1 (en) * 2014-05-30 2015-12-03 Fyre LLC System and method for contextual workflow automation
CN111338625A (en) * 2020-02-20 2020-06-26 广东小天才科技有限公司 Data processing method, system, terminal equipment and storage medium
CN112487067A (en) * 2020-12-04 2021-03-12 国泰新点软件股份有限公司 Method, device and storage medium for page display based on data configuration
CN112817515A (en) * 2021-01-29 2021-05-18 北京达佳互联信息技术有限公司 Data display method and device, electronic equipment and storage medium
CN113138825A (en) * 2021-04-28 2021-07-20 北京乐学帮网络技术有限公司 Information display method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150347529A1 (en) * 2014-05-30 2015-12-03 Fyre LLC System and method for contextual workflow automation
CN111338625A (en) * 2020-02-20 2020-06-26 广东小天才科技有限公司 Data processing method, system, terminal equipment and storage medium
CN112487067A (en) * 2020-12-04 2021-03-12 国泰新点软件股份有限公司 Method, device and storage medium for page display based on data configuration
CN112817515A (en) * 2021-01-29 2021-05-18 北京达佳互联信息技术有限公司 Data display method and device, electronic equipment and storage medium
CN113138825A (en) * 2021-04-28 2021-07-20 北京乐学帮网络技术有限公司 Information display method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
KR102570255B1 (en) Table browsing method in document, device, electronic device and storage medium
CN107656729B (en) List view updating apparatus, method and computer-readable storage medium
CN108038212B (en) Data interaction method, device, system, equipment and storage medium
CN103246578A (en) Method and browser for processing collapse of application software
CN107908442B (en) Spring-based resource loading method and device, terminal equipment and computer-readable storage medium
CN111104635A (en) Table webpage generation method and device
US20180095604A1 (en) Rendering components based on screen size
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
CN116301735B (en) Method, device and storage medium for organizing software elements into software data links
US20190196794A1 (en) Visual programming method, system and terminal device
CN111338625B (en) Data processing method, system, terminal equipment and storage medium
CN111125205A (en) Signboard data display method, terminal and storage medium
CN114064817A (en) Data processing method and device, electronic equipment and storage medium
CN110968386A (en) Navigation bar processing method and system
CN115758004A (en) Webpage table display method and device, computer readable medium and electronic equipment
CN114116712A (en) Extended field processing method and device, electronic equipment and storage medium
CN114089885A (en) Application icon management method and device, electronic equipment and readable storage medium
CN115687704A (en) Information display method and device, electronic equipment and computer readable storage medium
CN111124393A (en) Editing method and platform of algorithm logic, electronic equipment and storage medium
US9864739B1 (en) Automatic layout of graphical user interface screens from object data
CN113342413B (en) Method, apparatus, device, medium, and article for processing components
CN116028248B (en) Data processing method and device suitable for WEB terminal and electronic equipment
CN112486847B (en) Error reproduction method, apparatus, system, device and storage medium
CN111090824B (en) Content processing 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220218