Data processing method and device, computer readable storage medium and electronic equipment

By receiving user configuration operations to generate data query requests, and generating data to be displayed based on data type, device, and attributes, the problem of low flexibility when displaying full device data is solved, and personalized data display and effective visualization are realized.

CN119311941APending Publication Date: 2025-01-14CAXA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411266329.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In existing technologies, when all data collected by the device is displayed to the user, the data display flexibility is low and it cannot meet personalized needs.

Method used

By receiving user actions on the configuration page, a data query request is generated. Based on the data type, device, and attributes, the data to be displayed is generated and loaded into the target display control to achieve personalized data display.

Benefits of technology

It improves the flexibility of data display, meets users' personalized data display needs, and achieves accurate data acquisition and effective visualization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311941A_ABST
    Figure CN119311941A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, a computer readable storage medium and electronic equipment. Relates to the technical field of networks, and comprises: receiving a first configuration operation of a user in a configuration page, and generating a data query request according to the first configuration operation, the configuration page being at least used for configuring to-be-displayed data of a data display page, the to-be-displayed data being data obtained by performing data acquisition on a device, the first configuration operation is used for indicating the data type of the data in the to-be-displayed data, the equipment to which the data belongs and the data attribute; sending the data query request to a target query system, and receiving data fed back by the target query system to obtain to-be-displayed data; and loading the to-be-displayed data to a target display control in the data display page to obtain a target data display page. According to the invention, the technical problem that the data display flexibility is low when the total data collected by the equipment is displayed to the user in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network technology, and in particular to a data processing method, device, computer-readable storage medium and electronic device. Background Art

[0002] Equipment data collection is the process of obtaining the operating status and performance parameters of equipment in real time. This data can be used to monitor the health of equipment, predict equipment failures, optimize equipment operation, etc. The collected data is a data column recorded in chronological order with unified indicators. The data column for each device is different, such as equipment temperature, pressure, vibration, oil quality, etc. At present, the relevant technology displays the full amount of data obtained by data collection of the equipment to the user, which leads to the problem of low flexibility of data display.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a data processing method, device, computer-readable storage medium and electronic device to at least solve the technical problem that the related technology displays the full amount of data collected by the device to the user, but has low flexibility in data display.

[0005] According to one aspect of an embodiment of the present invention, a data processing method is provided, comprising: receiving a first configuration operation of a user in a configuration page, and generating a data query request according to the first configuration operation, wherein the configuration page is at least used to configure data to be displayed on a data display page, the data to be displayed is data obtained by collecting data from a device, and the first configuration operation is used to indicate the data type of the data to be displayed, the device to which the data belongs, and the data attributes; sending the data query request to a target query system, and receiving data fed back by the target query system to obtain the data to be displayed; loading the data to be displayed into a target display control in the data display page to obtain a target data display page.

[0006] Further, the first configuration operation includes a first configuration sub-operation, a second configuration sub-operation and a third configuration sub-operation, wherein the data processing method also includes: receiving a first configuration sub-operation performed by a user in a first area of ​​the configuration page, and determining a set name and a data type of a data set to which the data in the data to be displayed belongs according to the first configuration sub-operation; receiving a second configuration sub-operation performed by a user in a second area of ​​the configuration page, and determining a device identifier of a device to which the data in the data to be displayed belongs according to the second configuration sub-operation; receiving a third configuration sub-operation performed by a user in a third area of ​​the configuration page, and determining data attributes of the data in the data to be displayed according to the third configuration sub-operation; and generating a data query request according to the set name and data type of the data set to which the data belongs, the device identifier, and the data attributes.

[0007] Furthermore, the data processing method also includes: obtaining a matching relationship among a collection name, a data type, and a storage area to obtain a target matching relationship; determining a target storage area from the storage area according to the target matching relationship, the collection name and the data type in the data query request; and obtaining the data to be displayed by querying from the target storage area according to the device identifier and the data attributes in the data query request.

[0008] Furthermore, the data processing method also includes: receiving a second configuration operation of the user in the fourth area of ​​the configuration page, and determining a data update frequency of the data to be displayed according to the second configuration operation; and sending a data query request to the target query system according to the data update frequency.

[0009] Furthermore, the data processing method also includes: determining the data attributes of the data in the data to be displayed and the display color of the data of the data attributes according to the third configuration sub-operation; loading the data to be displayed into the target display control according to the display color corresponding to the data attributes to obtain the target data display page.

[0010] Furthermore, the data processing method also includes: before obtaining the target data display page, receiving the third configuration operation of the user in the fifth area of ​​the configuration page, and determining the data warning function that needs to be called by the target data display page and the information of the input data of the data warning function according to the third configuration operation, wherein the data warning function is used to determine whether to perform the warning operation according to the input data, and the input data belongs to the data to be displayed; after obtaining the target data display page, determining the input data from the data to be displayed according to the information of the input data, and calling the data warning function in the target data display page based on the input data.

[0011] Furthermore, the data processing method also includes: before loading the data to be displayed into the target display control in the data display page and obtaining the target data display page, receiving a control selection instruction from the user, and determining the target display control from multiple display controls based on the control selection instruction.

[0012] According to another aspect of an embodiment of the present invention, a data processing device is also provided, including: a generation module, used to receive a first configuration operation of a user in a configuration page, and generate a data query request according to the first configuration operation, wherein the configuration page is at least used to configure the data to be displayed of the data display page, the data to be displayed is data obtained by collecting data from a device, and the first configuration operation is used to indicate the data type of the data to be displayed, the device to which the data belongs, and the data attributes; a first processing module, used to send the data query request to a target query system, and receive data fed back by the target query system to obtain the data to be displayed; and a second processing module, used to load the data to be displayed into a target display control in the data display page to obtain a target data display page.

[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned data processing method when running.

[0014] According to another aspect of an embodiment of the present invention, an electronic device is also provided, which includes one or more processors; a memory for storing one or more programs, so that when the one or more programs are executed by the one or more processors, the one or more processors are implemented to run the programs, wherein the programs are configured to execute the above-mentioned data processing method when running.

[0015] In an embodiment of the present invention, a method of displaying device collected data to users in a personalized manner according to user requests is adopted, by receiving the first configuration operation of the user in the configuration page, generating a data query request according to the first configuration operation, and then sending the data query request to the target query system, and receiving the data fed back by the target query system, to obtain the data to be displayed, thereby loading the data to be displayed into the target display control in the data display page, and obtaining the target data display page. Among them, the configuration page is at least used to configure the data to be displayed of the data display page, the data to be displayed is the data obtained by collecting data from the device, and the first configuration operation is used to indicate the data type of the data to be displayed, the device to which the data belongs, and the data attributes.

[0016] In the above process, a first configuration operation of the user in the configuration page is received, and a data query request is generated according to the first configuration operation, thereby realizing accurate determination of information of data that the user expects to be displayed in the data display page, and accurately acquiring the data to be displayed by sending the data query request to the target query system to obtain the data to be displayed, and realizing accurate acquisition of the data to be displayed by loading the data to be displayed into the target display control in the data display page to obtain the target data display page, thereby realizing effective visualization of the data that the user expects to be displayed, thereby realizing personalized display of the collected device data for the user and improving the flexibility of data display.

[0017] It can be seen that the solution provided by the present application achieves the purpose of displaying the device collected data to the user in a personalized manner according to the user's request, thereby realizing the technical effect of improving the flexibility of data display, and further solving the technical problem that the related technology displays the full amount of data collected by the device to the user, resulting in low data display flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0019] Figure 1 is a schematic diagram of an optional data processing method according to an embodiment of the present invention;

[0020] Figure 2 is a schematic diagram of an optional configuration page according to an embodiment of the present invention;

[0021] Figure 3 is a schematic diagram of a selector of an optional data warning function according to an embodiment of the present invention;

[0022] Figure 4 is a schematic diagram of data in an optional target data display page according to an embodiment of the present invention;

[0023] Figure 5 is a schematic diagram of an optional data processing device according to an embodiment of the present invention;

[0024] Figure 6 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0028] Example 1

[0029] According to an embodiment of the present invention, an embodiment of a data processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0030] Figure 1 is a schematic diagram of an optional data processing method according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0031] Step S101, receiving a first configuration operation of a user in a configuration page, and generating a data query request according to the first configuration operation, wherein the configuration page is at least used to configure the data to be displayed of the data display page, the data to be displayed is data obtained by collecting data from a device, and the first configuration operation is used to indicate the data type of the data to be displayed, the device to which the data belongs, and the data attributes.

[0032] Optionally, electronic devices, application systems, servers and other devices may be used as the execution subject of the present application. In this embodiment, the target processing system is used as the execution subject to execute the data processing method.

[0033] Optionally, a device metamodel may be pre-configured in the target processing system. The device metamodel includes device number, device name, data collection item (ie, data attribute), maximum value of collection item, minimum value of collection item, etc. Data collection and data storage can be performed on the device based on the device metamodel.

[0034] In some embodiments, the data attributes of the data collected from the device include, but are not limited to, temperature, humidity, pressure, vibration, oil quality, etc. The data attributes vary according to actual needs, so they are not specifically limited here. The data type of the data is one of the following: real-time data, historical data. For example, the target processing system can determine the data collected before the day as historical data, and the data collected on the day as real-time data.

[0035] Optionally, the target processing system can display a configuration interface to the user through a human-computer interaction interface. For example, the configuration interface can be implemented using a Vue control, which is a progressive JavaScript framework for building user interfaces.

[0036] Optionally, the user can perform a first configuration operation in the configuration page, and then the target processing system determines the data type of the data to be displayed, the device to which the data belongs, and the data attributes based on the first configuration operation, thereby generating a data query request based on the data type of the data to be displayed, the device to which the data belongs, and the data attributes.

[0037] Optionally, the operation type of the first configuration operation includes but is not limited to operation types such as clicking, dragging, and information input.

[0038] Optionally, the first configuration operation may include multiple configuration sub-operations, and different configuration sub-operations may be used to indicate different information of the data to be displayed (eg, data type, device to which the data belongs, data attributes, etc.).

[0039] Step S102: sending a data query request to a target query system, and receiving data fed back by the target query system to obtain data to be displayed.

[0040] After generating a data query request, the target processing system can send the data query request to the target query system, which will query in the storage area (such as: database, cloud server, etc.) according to the data type of the data in the data query request, the device to which the data belongs, the data attributes and other information to obtain the data to be displayed, and feed the data to be displayed back to the target processing system.

[0041] Step S103: Load the data to be displayed into the target display control in the data display page to obtain the target data display page.

[0042] Optionally, different display controls correspond to different display rules. In the process of loading the data to be displayed into the target display control in the data display page, the target processing system can first determine the display rule corresponding to the target display control and obtain the target display rule, thereby loading the data to be displayed into the target display control in the data display page according to the target display rule to obtain the target data display page.

[0043] In some embodiments, the display controls include but are not limited to dashboard data, bar or line charts, tables, etc. For example, an optional correspondence between display controls and display rules is shown in Table 1:

[0044] Table 1

[0045]

[0046] Optionally, after obtaining the target data display page, the target processing system may display the target data display page to the user through a human-computer interaction interface, so that the user can view the full amount of data collected by the device.

[0047] Based on the scheme defined by the above steps S101 to S103, it can be known that in an embodiment of the present invention, a method of displaying device collected data to users in a personalized manner according to user requests is adopted, by receiving the first configuration operation of the user in the configuration page, and generating a data query request according to the first configuration operation, and then sending the data query request to the target query system, and receiving the data fed back by the target query system, to obtain the data to be displayed, thereby loading the data to be displayed into the target display control in the data display page, and obtaining the target data display page. Among them, the configuration page is at least used to configure the data to be displayed on the data display page, the data to be displayed is the data obtained by collecting data from the device, and the first configuration operation is used to indicate the data type of the data to be displayed, the device to which the data belongs, and the data attributes.

[0048] It is easy to notice that in the above process, a first configuration operation of the user in the configuration page is received, and a data query request is generated according to the first configuration operation, so as to realize accurate determination of information of data that the user expects to be displayed in the data display page, and to obtain the data to be displayed by sending the data query request to the target query system, so as to realize accurate acquisition of the data to be displayed, and to obtain the target data display page by loading the data to be displayed into the target display control in the data display page, so as to realize effective visualization of the data that the user expects to be displayed, thereby realizing personalized display of the collected device data for the user and improving the flexibility of data display.

[0049] It can be seen that the solution provided by the present application achieves the purpose of displaying the device collected data to the user in a personalized manner according to the user's request, thereby realizing the technical effect of improving the flexibility of data display, and further solving the technical problem that the related technology displays the full amount of data collected by the device to the user, resulting in low data display flexibility.

[0050] In an optional embodiment, the first configuration operation includes a first configuration sub-operation, a second configuration sub-operation, and a third configuration sub-operation, wherein, in the process of receiving the first configuration operation performed by the user in the configuration page and generating a data query request according to the first configuration operation, the target processing system may: receive the first configuration sub-operation performed by the user in the first area of ​​the configuration page, determine the set name and data type of the data set to which the data in the data to be displayed belongs according to the first configuration sub-operation, receive the second configuration sub-operation performed by the user in the second area of ​​the configuration page, determine the device identification of the device to which the data in the data to be displayed belongs according to the second configuration sub-operation, receive the third configuration sub-operation performed by the user in the third area of ​​the configuration page, determine the data attributes of the data in the data to be displayed according to the third configuration sub-operation, thereby generating a data query request according to the set name and data type of the data set to which the data belongs, the device identification, and the data attributes.

[0051] Optionally, the configuration page includes at least a first area, a second area and a third area. The first area is used to configure the set name and data type of the data set to which the data belongs, the second area is used to configure the device identifier of the device to which the data belongs, and the third area is used to configure the data attributes of the data.

[0052] In some embodiments, the target processing system may receive a first configuration sub-operation in the first area of ​​the configuration page by the user, and determine the set name and data type of the data set to which the data in the data to be displayed belongs according to the first configuration sub-operation. For example, the first area includes a selector for the set name and a selector for the data type, and the first configuration sub-operation includes at least an operation in which the user selects in the selector for the set name and an operation in which the user selects in the selector for the data type. The target processing system may determine the set name and data type of the data set to which the data in the data to be displayed belongs based on the first configuration sub-operation of the user.

[0053] In some embodiments, the user can perform a first configuration sub-operation in the configuration page, and after determining that the operation is completed, click a first save button in the first area, whereby the target processing system responds to the user's click of the first save button and determines the set name and data type of the data set to which the data in the data to be displayed belongs according to the first configuration sub-operation.

[0054] In some embodiments, Figure 2 is a schematic diagram of an optional configuration page according to an embodiment of the present invention, Figure 2 An optional first area is shown in FIG. 1 (selection box is not shown).

[0055] In some embodiments, the target processing system may receive a second configuration sub-operation in the second area of ​​the configuration page by the user, and determine the device identification of the device to which the data in the data to be displayed belongs according to the second configuration sub-operation. For example, the second area at least includes a selector for the device identification of the device, and the second configuration sub-operation at least includes an operation in which the user selects in the selector for the device identification. The target processing system may determine the device identification of the device to which the data in the data to be displayed belongs based on the second configuration sub-operation of the user.

[0056] In some embodiments, Figure 2 An optional second region is shown in Figure 2 As shown, the second area includes a selector for selecting the attribute of the object to which the data belongs (such as: device, etc.), a selector for selecting an operator (such as: equal to, contain, greater than, less than, etc.), a selector for selecting a value (i.e., device identifier), and a selector for selecting a value type. Assuming that the result of the user executing the second configuration sub-operation is as follows Figure 2 As shown in the second area, it can be determined that the object to which the data belongs is a device, and the device identifier of the device to which the data belongs is 351.

[0057] In some embodiments, the user can perform a second configuration sub-operation in the configuration page, and after determining that the operation is completed, click a second save button in the second area, whereby the target processing system responds to the user's click of the second save button and determines the device identification of the device to which the data in the data to be displayed belongs according to the second configuration sub-operation.

[0058] In some embodiments, the target processing system may receive a third configuration sub-operation in a third area of ​​the configuration page by the user, and determine the data attributes of the data in the data to be displayed according to the third configuration sub-operation. For example, the second area includes at least a selector for the data attribute, and the third configuration sub-operation includes at least an operation in which the user selects in the selector for the data attribute. The target processing system may determine the data attributes of the data in the data to be displayed based on the third configuration sub-operation of the user. The data attributes include, but are not limited to, temperature, humidity, pressure, vibration, oil quality, acquisition alarm, etc.

[0059] In some embodiments, Figure 2 An optional third region is shown in Figure 2 As shown, the third area includes a selector for selecting a data attribute. Assuming that the result of the user performing the third configuration sub-operation is as follows Figure 2 As shown in the third area, it can be determined that the data attribute is "Collection Alarm 1".

[0060] In some embodiments, the user can perform a third configuration sub-operation in the configuration page, and after determining that the operation is completed, click a third save button in the third area, whereby the target processing system responds to the user's click operation on the third save button and determines the data attributes of the data in the data to be displayed according to the third configuration sub-operation.

[0061] In some embodiments, after determining the set name and data type, device identification, and data attributes of the data set to which the data belongs, the target processing system may generate a data query request according to the set name and data type, device identification, and data attributes of the data set to which the data belongs. That is, the data query request includes the above-mentioned set name and data type, device identification, and data attributes.

[0062] In some embodiments, the selection items in the data attribute selector in the third area may be determined according to the device identification indicated by the user. That is, the target processing system stores the corresponding relationship between the device identification and the data attribute. The user can click Figure 2 The “Get Attribute Button” shown in FIG. 1 realizes refreshing of the selected items in the selector of the data attribute.

[0063] In some embodiments, Figure 2 As shown, the configuration page also includes an address filling component (i.e. Figure 2 In the "address" of the target query system, the address filling component is used to fill in the network address of the target query system. The target processing system can determine the network address of the target query system according to the address entered by the user in the address filling component, and then send a data query request to the target query system according to the network address of the target query system.

[0064] Optionally, the above process of determining the collection name and data type can be understood as the process of selecting a class, the above process of determining the device identification of the device to which the data belongs can be understood as the process of selecting a relationship, and the above process of determining the data attributes of the data can be understood as the process of selecting data.

[0065] It should be noted that, through the above process, accurate determination of the data query request is achieved.

[0066] In an optional embodiment, the target query system can obtain the data to be displayed in the following manner: obtain the matching relationship between the collection name, data type and storage area to obtain the target matching relationship; determine the target storage area from the storage area based on the target matching relationship, the collection name and data type in the data query request; and obtain the data to be displayed by querying from the target storage area based on the device identifier and data attributes in the data query request.

[0067] Optionally, the data set includes, but is not limited to, a collection data set (i.e., a set consisting of data directly collected) and a statistical data set (a set consisting of data obtained by performing statistics on the data directly collected).

[0068] In some embodiments, the data type may be historical data or real-time data.

[0069] In some embodiments, data sets with different set names and data types are stored in different storage areas. For example, real-time collected data (i.e., the data set is a collected data set, and the data type is real-time data) can be stored in a Redis cache database, historical collected data (i.e., the data set is a collected data set, and the data type is historical data) can be stored in a MongoDB NoSql database, and historical statistical data (i.e., the data set is a statistical data set, and the data type is historical data) can be stored in a SqlServer relational database.

[0070] Therefore, the target query system can obtain the matching relationship between the collection name, data type and storage area, obtain the target matching relationship, and determine the target storage area from the storage area according to the target matching relationship, the collection name and data type in the data query request. For example, if the collection name is "collection" and the data type is "real-time", the target storage area can be the above-mentioned Redis cache database.

[0071] Afterwards, the target query system can query the data to be displayed from the target storage area based on the device identification and data attributes in the data query request. For example, first query the data of the device corresponding to the device identification from the target storage area based on the device identification, and then determine the data to be displayed from the data of the device corresponding to the device identification based on the data attributes. The data to be displayed includes data attributes and attribute values ​​corresponding to the data attributes. For example, the data to be displayed can be "temperature: 35℃", where temperature is the data attribute and 35℃ is the attribute value.

[0072] It should be noted that, through the above process, it is possible to first determine the target storage area for storing the data to be displayed, and then query the data from the target storage area, thereby first narrowing the data query range, and then querying the data based on the data information, thereby effectively improving the query efficiency and query accuracy, and thus improving the data display efficiency and display accuracy.

[0073] In an optional embodiment, in the process of sending a data query request to a target query system, the target processing system may receive a second configuration operation of the user in the fourth area of ​​the configuration page, and determine the data update frequency of the data to be displayed based on the second configuration operation, thereby sending the data query request to the target query system based on the data update frequency.

[0074] Optionally, in some embodiments, the fourth area is used to configure the data update frequency of the data. Optionally, the target processing system may receive a second configuration operation of the user in the fourth area of ​​the configuration page, and determine the data update frequency of the data to be displayed according to the second configuration operation. For example, the fourth area at least includes an input device for the data update frequency, and the second configuration operation at least includes an operation of the user inputting in the input device for the data update frequency. The target processing system may determine the data update frequency of the data to be displayed based on the second configuration operation of the user.

[0075] In some embodiments, Figure 2 An optional fourth region is shown in Figure 2 As shown, the "Refresh Time" in the fourth area is an input device for the data update frequency. Its unit is a preset value, for example, seconds, minutes, etc.

[0076] In some embodiments, the target processing system may send the data query request to the target query system according to the data update frequency. For example, assuming that the data update frequency of the target processing system is in seconds, the data update frequency is as follows: Figure 2 As shown in 5, the target processing system can send a data query request to the target processing system every 5 seconds to update the data to be displayed in real time.

[0077] In some embodiments, if the data type of the data is historical data, the user can also configure the target time range corresponding to the historical data in the second area, wherein the target time range refers to the time range in which the data generation time of the data to be displayed needs to be, and the time end point of the target time range can be the latest current time point, for example, the target time range can be within the previous hour of the current time point, within the previous minute of the current time point, etc. After obtaining the target time range, the target processing system can generate a data query request according to the collection name and data type of the data collection to which the data belongs, the device identification, the data attributes and the target time range, so that the target query system can query the data to be displayed from the target storage area according to the device identification, the data attributes and the target time range in the data query request. Therefore, when the data type is historical data, the data to be displayed also changes due to the setting of the data update frequency.

[0078] It should be noted that, through the above process, the collected device data can be updated in a timely manner, thereby further improving the flexibility of data display.

[0079] In an optional embodiment, in the process of determining the data attributes of the data in the data to be displayed according to the third configuration sub-operation, the target processing system can determine the data attributes of the data in the data to be displayed and the display color of the data of the data attributes according to the third configuration sub-operation, and in the process of loading the data to be displayed into the target display control in the data display page to obtain the target data display page, the target processing system can load the data to be displayed into the target display control according to the display color corresponding to the data attributes to obtain the target data display page.

[0080] In some embodiments, the third area is also used to configure the display color of the data to be displayed, and data with different data attributes can be set with different display colors. For example, the third area includes a display color selector, and the third configuration sub-operation also includes an operation in which the user selects in the display color selector. The target processing system can determine the data attribute of the data in the data to be displayed and the display color of the data of the data attribute according to the third configuration sub-operation.

[0081] In some embodiments, Figure 2 An optional third region is shown in Figure 2 As shown, the user can click "Add" in the third area to add data attributes, and there is a corresponding relationship between the display color and the data attribute. The user can set different display colors for different data attributes. For example, the acquisition alarm can be divided into blue, yellow, orange and red according to the level.

[0082] After determining the display color corresponding to the data attribute, the target processing system can load the data to be displayed into the target display control according to the display color corresponding to the data attribute to obtain the target data display page.

[0083] It should be noted that, through the above process, the display color of data with different data attributes can be personalized, thereby further improving the flexibility of data display.

[0084] In an optional embodiment, before obtaining the target data display page, the target processing system may receive the third configuration operation of the user in the fifth area of ​​the configuration page, and determine the data warning function that needs to be called by the target data display page and the information of the input data of the data warning function according to the third configuration operation, wherein the data warning function is used to determine whether to perform the warning operation according to the input data, and the input data belongs to the data to be displayed; after obtaining the target data display page, the target processing system may determine the input data from the data to be displayed according to the information of the input data, and call the data warning function in the target data display page based on the input data.

[0085] Optionally, the fifth area is used to configure the data warning function that needs to be called by the target data display page and the information of the input data of the data warning function. For example, the fifth area may include a selector for the data warning function and a selector for the information of the input data. The third configuration operation at least includes an operation of the user selecting in the selector for the data warning function and an operation of the user selecting in the selector for the information of the input data.

[0086] In some embodiments, the target processing system can save multiple data warning functions in a cache in advance, and then use the bus communication in Vue to read the multiple data warning functions in the cache, and display the read multiple data warning functions in the selector of the above-mentioned data warning function. The user can select the data warning function that needs to be called on the target data display page in the selector of the data warning function. After the data warning function is determined, the target processing system can save the data warning function to the preset call function, so as to facilitate the subsequent call of the data warning function through the preset call function, and realize event interaction between unrelated components.

[0087] For example, Figure 3 It is a schematic diagram of a selector of an optional data warning function according to an embodiment of the present invention, in which two selection items are included: A data warning function and B data warning function.

[0088] For example, the target processing system can display an auxiliary configuration page for the user, and the user can select the data warning function that needs to be pre-saved in the cache from multiple preset candidate data warning functions by dragging and dropping on the auxiliary configuration page, so that the target processing system can determine the data warning function that needs to be saved in the cache.

[0089] In some embodiments, the information of the input data includes but is not limited to the data attributes of the input data and the characteristics of the input data (such as attribute values, etc.). Figure 2 An optional fifth region is shown in Figure 2 As shown, the fifth area includes a selector for selecting a data warning function, a selector for selecting a data attribute of input data, and a selector for selecting a feature of input data. Figure 2 As shown in the fifth area, the input data can be determined: the attribute value of the data with the data attribute "collection alarm 1".

[0090] Optionally, the selection items in the selector of the data attribute and the selection items in the selector of the feature of the input data may be determined according to the data attribute configured by the user in the third area, so that the input data specified by the user belongs to the data to be displayed.

[0091] Optionally, after determining the data warning function that needs to be called by the target data display page and the information of the input data of the data warning function, the target processing system can determine the input data from the data to be displayed based on the information of the input data (i.e., the aforementioned data attributes and characteristics of the input data). Afterwards, the target processing system can use the above-mentioned preset calling function to input the input data into the data warning function to call the data warning function, thereby realizing the warning operation on the target data display page based on the data warning function.

[0092] For example, the data warning function can compare the input data with the maximum and minimum values ​​corresponding to the preset data attributes (i.e., the aforementioned collection items) in the target processing system, and determine whether to perform the warning operation based on the comparison result. The warning operation of the data warning function is related to its function content, and the warning operation includes but is not limited to popping up a warning window in the target data display page, executing voice prompts, and other operations.

[0093] It should be noted that, through the above process, an early warning function is added to the target data display page, so that abnormal data displayed in the target data display page can be warned in time, the flexibility of data display is improved, and the security of the device whose data is collected is improved.

[0094] In an optional embodiment, before loading the data to be displayed into the target display control in the data display page to obtain the target data display page, the target processing system can receive a control selection instruction from the user and determine the target display control from multiple display controls based on the control selection instruction.

[0095] For example, the target processing system can display an auxiliary configuration page for the user, and the user can enter a control selection instruction in the auxiliary configuration interface, so that the target processing system determines the target display control from multiple display controls. For example, the user can drag and drop a display control that needs to be displayed on the data display page from multiple display controls into the target area of ​​the auxiliary configuration interface in the auxiliary configuration page, so that the target processing system determines the display control in the target area as the target display control and loads it to the data display page.

[0096] Optionally, if the target display control is a table, Figure 4 is a schematic diagram of data in an optional target data display page according to an embodiment of the present invention, such as Figure 4 As shown, the data to be displayed is displayed in the table.

[0097] It should be noted that, through the above process, personalized settings of the target display control are achieved, thereby further improving the flexibility of data display.

[0098] It can be seen that the solution provided by the present application achieves the purpose of displaying the device collected data to the user in a personalized manner according to the user's request, thereby realizing the technical effect of improving the flexibility of data display, and further solving the technical problem that the related technology displays the full amount of data collected by the device to the user, resulting in low data display flexibility.

[0099] Example 2

[0100] According to an embodiment of the present invention, an embodiment of a data processing device is provided, wherein: Figure 5 is a schematic diagram of an optional data processing device according to an embodiment of the present invention. Figure 5 As shown, the device comprises:

[0101] The generating module 501 is used to receive a first configuration operation of a user in a configuration page, and generate a data query request according to the first configuration operation, wherein the configuration page is at least used to configure the data to be displayed of the data display page, the data to be displayed is data obtained by collecting data from the device, and the first configuration operation is used to indicate the data type of the data to be displayed, the device to which the data belongs, and the data attribute;

[0102] The first processing module 502 is used to send a data query request to a target query system, and receive data fed back by the target query system to obtain data to be displayed;

[0103] The second processing module 503 is used to load the data to be displayed into the target display control in the data display page to obtain the target data display page.

[0104] It should be noted that the above-mentioned generation module 501, first processing module 502 and second processing module 503 correspond to steps S101 to S103 in the above-mentioned embodiment, and the examples and application scenarios implemented by the three modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0105] Optionally, the generation module also includes: a first determination submodule, used to receive a first configuration sub-operation performed by a user in a first area in the configuration page, and determine the set name and data type of the data set to which the data in the data to be displayed belongs according to the first configuration sub-operation; a second determination submodule, used to receive a second configuration sub-operation performed by a user in a second area in the configuration page, and determine the device identification of a device to which the data in the data to be displayed belongs according to the second configuration sub-operation; a third determination submodule, used to receive a third configuration sub-operation performed by a user in a third area in the configuration page, and determine the data attributes of the data in the data to be displayed according to the third configuration sub-operation; and a generation submodule, used to generate a data query request based on the set name and data type of the data set to which the data belongs, the device identification, and the data attributes.

[0106] Optionally, the data processing device also includes: an acquisition module, used to acquire the matching relationship between the set name, data type and storage area to obtain a target matching relationship; a first determination module, used to determine the target storage area from the storage area according to the target matching relationship, the set name and data type in the data query request; and a third processing module, used to query the data to be displayed from the target storage area based on the device identifier and data attributes in the data query request.

[0107] Optionally, the first processing module also includes: a fourth determination submodule, used to receive the second configuration operation of the user in the fourth area of ​​the configuration page, and determine the data update frequency of the data to be displayed based on the second configuration operation; a sending module, used to send the data query request to the target query system based on the data update frequency.

[0108] Optionally, the third determination submodule also includes: a first determination unit, used to determine the data attributes of the data in the data to be displayed and the display color of the data of the data attributes according to the third configuration sub-operation; the second processing module also includes: a first processing submodule, used to load the data to be displayed into the target display control according to the display color corresponding to the data attributes, and obtain the target data display page.

[0109] Optionally, the data processing device also includes: a second determination module, used to receive the third configuration operation of the user in the fifth area of ​​the configuration page, and determine the data warning function that needs to be called by the target data display page and the information of the input data of the data warning function according to the third configuration operation, wherein the data warning function is used to determine whether to perform the warning operation according to the input data, and the input data belongs to the data to be displayed; a third determination module, used to determine the input data from the data to be displayed based on the information of the input data, and call the data warning function in the target data display page based on the input data.

[0110] Optionally, the data processing device further includes: a fourth determination module, configured to receive a control selection instruction from a user, and determine a target display control from a plurality of display controls according to the control selection instruction.

[0111] Example 3

[0112] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned data processing method when running.

[0113] Example 4

[0114] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, wherein: Figure 6 is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as Figure 6 As shown, the electronic device includes one or more processors; a memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the above-mentioned data processing method when running.

[0115] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0116] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0117] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0119] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0120] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0121] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A data processing method, characterized in that: include: receiving a first configuration operation of a user in a configuration page, and generating a data query request according to the first configuration operation, wherein the configuration page is at least used to configure data to be displayed on a data display page, the data to be displayed is data obtained by collecting data from a device, and the first configuration operation is used to indicate a data type, a device to which the data belongs, and a data attribute of the data to be displayed; Sending the data query request to a target query system, and receiving data fed back by the target query system to obtain the data to be displayed; The data to be displayed is loaded into a target display control in the data display page to obtain a target data display page.

2. The method according to claim 1, characterized in that The first configuration operation includes a first configuration sub-operation, a second configuration sub-operation, and a third configuration sub-operation, wherein receiving the first configuration operation of the user in the configuration page and generating a data query request according to the first configuration operation includes: receiving a first configuration sub-operation of a user in a first area of ​​the configuration page, and determining a set name and a data type of a data set to which the data in the data to be displayed belongs according to the first configuration sub-operation; receiving a second configuration sub-operation of the user in a second area of ​​the configuration page, and determining a device identifier of a device to which the data in the data to be displayed belongs according to the second configuration sub-operation; receiving a third configuration sub-operation of the user in a third area of ​​the configuration page, and determining data attributes of the data in the data to be displayed according to the third configuration sub-operation; The data query request is generated according to the set name and data type of the data set to which the data belongs, the device identifier, and the data attribute.

3. The method according to claim 2, characterized in that The target query system obtains the data to be displayed in the following manner: Obtain the matching relationship between the collection name, data type and storage area to obtain the target matching relationship; Determine a target storage area from the storage area according to the target matching relationship, the collection name and the data type in the data query request; The data to be displayed is obtained by querying from the target storage area according to the device identification and data attributes in the data query request.

4. The method according to claim 1, characterized in that: Sending the data query request to the target query system includes: receiving a second configuration operation of the user in a fourth area of ​​the configuration page, and determining a data update frequency of the data in the data to be displayed according to the second configuration operation; The data query request is sent to the target query system according to the data update frequency.

5. The method according to claim 2, characterized in that: Determining data attributes of the data in the to-be-displayed data according to the third configuration sub-operation includes: Determine, according to the third configuration sub-operation, a data attribute of the data in the data to be displayed and a display color of the data of the data attribute; The data to be displayed is loaded into a target display control in the data display page to obtain a target data display page, including: The data to be displayed is loaded into the target display control according to the display color corresponding to the data attribute to obtain the target data display page.

6. The method according to claim 1, characterized in that Before obtaining the target data display page, the method further includes: receiving a third configuration operation of the user in the fifth area of ​​the configuration page, and determining, according to the third configuration operation, a data warning function to be called by the target data display page and information on input data of the data warning function, wherein the data warning function is used to determine whether to perform a warning operation according to input data, and the input data belongs to the data to be displayed; After obtaining the target data display page, the method further includes: The input data is determined from the data to be displayed according to information of the input data, and the data warning function is called in the target data display page based on the input data.

7. The method according to claim 1, characterized in that Before loading the data to be displayed into the target display control in the data display page to obtain the target data display page, the method further includes: A control selection instruction from a user is received, and a target display control is determined from a plurality of display controls according to the control selection instruction.

8. A data processing device, characterized in that: include: a generating module, configured to receive a first configuration operation of a user in a configuration page, and generate a data query request according to the first configuration operation, wherein the configuration page is at least used to configure data to be displayed on a data display page, the data to be displayed is data obtained by collecting data from a device, and the first configuration operation is used to indicate a data type, a device to which the data belongs, and a data attribute of the data to be displayed; A first processing module, configured to send the data query request to a target query system, and receive data fed back by the target query system to obtain the data to be displayed; The second processing module is used to load the data to be displayed into a target display control in the data display page to obtain a target data display page.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the data processing method described in any one of claims 1 to 7 when executed.

10. An electronic device, characterized in that: The electronic device includes one or more processors; A memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the data processing method described in any one of claims 1 to 7 when running.