CN114168673A - Data display method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114168673A
CN114168673A CN202111477297.7A CN202111477297A CN114168673A CN 114168673 A CN114168673 A CN 114168673A CN 202111477297 A CN202111477297 A CN 202111477297A CN 114168673 A CN114168673 A CN 114168673A
Authority
CN
China
Prior art keywords
data
target
displayed
display
preset
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
CN202111477297.7A
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.)
Beijing Softong Intelligent Technology Co ltd
Original Assignee
Beijing Softong Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Softong Intelligent Technology Co ltd filed Critical Beijing Softong Intelligent Technology Co ltd
Priority to CN202111477297.7A priority Critical patent/CN114168673A/en
Publication of CN114168673A publication Critical patent/CN114168673A/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/26Visual data mining; Browsing structured data
    • 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/25Integrating or interfacing systems involving database management systems
    • G06F16/254Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (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 embodiment of the invention discloses a data display method and device, electronic equipment and a storage medium. Wherein, the method comprises the following steps: acquiring data to be displayed, and determining target data from the data to be displayed according to a preset data screening rule; and determining a target display template of the target data according to a preset data display rule, and displaying the target data on a terminal by using the target display template. The terminal display of different data to be displayed is realized, the layout of the customized data is not required to be performed by a user during display at each time, and the data display efficiency is improved.

Description

Data display method and device, electronic equipment and storage medium
Technical Field
The present invention relates to computer technologies, and in particular, to a method and an apparatus for displaying data, an electronic device, and a storage medium.
Background
With the increase of the data of the internet of things, when the data of the internet of things is displayed on different themes, pictures with different layouts need to be displayed for each theme.
In the prior art, customized theme data needs to be displayed according to different data types. When multi-service data is displayed, the traditional customized development needs to consume higher time cost and labor cost for theme design. And the staff can not confirm the data that need show fast, and each business data is dispersed, influences data display efficiency.
Disclosure of Invention
The embodiment of the invention provides a data display method and device, electronic equipment and a storage medium, and aims to improve data display efficiency.
In a first aspect, an embodiment of the present invention provides a method for displaying data, where the method includes:
acquiring data to be displayed, and determining target data from the data to be displayed according to a preset data screening rule;
and determining a target display template of the target data according to a preset data display rule, and displaying the target data on a terminal by using the target display template.
In a second aspect, an embodiment of the present invention further provides a data display apparatus, where the apparatus includes:
the data to be displayed screening module is used for acquiring data to be displayed and determining target data from the data to be displayed according to a preset data screening rule;
and the target data display module is used for determining a target display template of the target data according to a preset data display rule and displaying the target data on a terminal by using the target display template.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for data presentation according to any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the method of data presentation according to any of the embodiments of the present invention.
According to the embodiment of the invention, the target data is determined from a large amount of data to be displayed through the preset data screening rule, the process of manually screening the data is reduced, and the data display error is avoided. Different data can correspond to different display templates, and the target display template of the target data is determined according to a preset data display rule, so that the target data can be displayed on the terminal. The problem of among the prior art, the unable multiplexing of customization display screen is solved, various show templates of integration, the maintenance of being convenient for and modification practices thrift manpower and time, improves data display efficiency.
Drawings
FIG. 1 is a flow chart illustrating a method for data presentation according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for data presentation according to a second embodiment of the present invention;
FIG. 3 is a block diagram of the apparatus for data presentation according to the third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data display apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a data presentation method according to an embodiment of the present invention, where the method is applicable to a case of presenting data of different devices, and the method can be executed by a data presentation apparatus. As shown in fig. 1, the method specifically includes the following steps:
and 110, acquiring data to be displayed, and determining target data from the data to be displayed according to a preset data screening rule.
The data to be displayed can be data collected by field devices, and the field devices can be various devices installed in a preset environment. For example, the field devices may include elevator devices, intelligent hydro-power devices, environmental protection devices, vehicle-mounted devices, safety devices, video devices, fire-fighting hydro-power devices, noise devices, and the like, and the environmental protection devices may include, for example, small atmospheric monitoring stations, micro-stations, town stations, provincial and national control stations, and the like. The data to be presented may be real-time vital sign data of the device, and the real-time vital sign data of different devices may be different. For example, the data to be displayed of the elevator device may include a device model, a device name, a device state, a device operation direction, a floor where the device is located, a temperature, acquisition time, and the like, and the data to be displayed of the environmental protection device may include a ph value, a dust, an air humidity, a wind direction, a wind speed, an air temperature, an air pressure, and the like. The data to be displayed of each field device can be acquired in real time or at regular time according to a preset data acquisition cycle, and the data to be displayed can be stored.
The data screening method comprises the steps that data screening rules are preset, the data screening rules can be screened according to information such as equipment types, data ranges and data acquisition time, and data to be displayed comprise information such as the equipment types, the data ranges and the data acquisition time. According to the data screening rule, target data can be determined from a large amount of data to be displayed. For example, the data filtering rule may be to filter out the vital sign data of the elevator-type device within 24 hours, and then the data to be presented of the elevator device within 24 hours may be looked up as the target data.
In this embodiment, optionally, the obtaining of the data to be displayed includes: acquiring original data of field equipment in real time, and storing the original data in a preset message queue; storing the original data in the message queue to a data warehouse according to a preset data display period in a preset batch size; and acquiring data to be displayed from a data warehouse.
Specifically, data in the field devices can be determined as raw data, the raw data of each field device is collected in real time through the data collection service, and the raw data is stored in a preset message queue, so that data loss is avoided. All data of all field devices are stored in the message queue, the data in the message queue can be directly stored in the data warehouse, the message queue only temporarily stores the data, and the data in the message queue can be deleted after the data are stored in the data warehouse. A data display period may be preset, and the original data of a certain batch size may be extracted from the message queue according to the preset data display period, where the batch size may be preset. And storing the extracted original data into a preset data warehouse, and taking the data from the data warehouse in real time or at regular time according to a preset data taking period to process and display the data, wherein the data taken from the data warehouse is the data to be displayed. After the data are taken from the data warehouse, the taken data to be displayed can be classified according to the equipment type or the data category, the data to be displayed are stored into the corresponding theme database according to the classification result, and then the data to be displayed are taken from the theme database for data processing and displaying. The beneficial effect who sets up like this lies in, through depositing the data in the message queue, both can avoid the data confusion that too much causes of data, can prevent again that data from losing, data show during only need follow data warehouse or subject database obtain can, improve the efficiency and the precision of data show.
And 120, determining a target display template of the target data according to a preset data display rule, and displaying the target data on the terminal by using the target display template.
The data display rule is preset, and the data display rule may include display templates of data of different types of devices, display templates of different data ranges, display templates of data of different regions, display templates of data of different times, and the like. The display template may include a layout of the data to be displayed and a processing rule of the data to be displayed, for example, the processing rule may be an average value obtained according to a numerical value of the data to be displayed for displaying. Different data can correspond to different display templates, and the corresponding target display template is determined according to the target data, for example, the target display template of the target data is determined according to the data range of the target data. And processing the target data according to the target display template, and displaying the processed target data on the terminal in the format of the target display template to finish data display.
In this embodiment, optionally, the target data includes a device type; correspondingly, according to a preset data display rule, determining a target display template of target data, comprising: and determining a target display template of the target data based on the association relationship between the display template and the equipment type in the preset data display rule according to the equipment type of the target data.
Specifically, the target data may include a device type of the target data, and different types of devices may correspond to different presentation templates. And determining a display template associated with the equipment type according to the equipment type of the target data, wherein the display template is used as a target display template of the target data. The target data may further include data acquisition time, and the data acquired at different times may correspond to different display templates, for example, a night template and a daytime template are preset, and if the data acquisition time is 18 o 'clock to 6 o' clock of the next day, the night template is used as the target display template. The beneficial effect who sets up like this lies in, can obtain different target show templates to the different information in the target data, improves the flexibility and the variety of data display, and the user of being convenient for looks over key data.
In this embodiment, optionally, determining a target display template of the target data according to a preset data display rule, and displaying the target data on the terminal in the target display template, further includes: acquiring a predetermined type of a terminal to be displayed; determining a target display template of the target data based on the incidence relation between the display template and the equipment type in the preset data display rule and the incidence relation between the display template and the display terminal type according to the equipment type of the target data and the type of the terminal to be displayed; and displaying the target data on the terminal to be displayed by using the target display template.
Specifically, the target data may be displayed on a plurality of display terminals of the same type, or may be displayed on a plurality of display terminals of different types. The presentation template may be different on different types of display terminals for the same object data. The association relationship between the target data and the presentation template is preset, for example, the association relationship between the device type in the target data and the presentation template may be set. The association relationship between the display terminal type and the display template can be preset, and the display terminal can comprise a government affair large screen, a device small screen or a mobile phone. The user can select the terminal type to be displayed as the terminal type to be displayed.
And determining the type of the terminal to be displayed, which is predetermined by a user, and determining a target display template of the target data according to the incidence relation between the target data and the display template and the incidence relation between the type of the display terminal and the display template. For example, three associated presentation templates may be derived based on the device type of the target data, which is the type of field device. And then, according to the type of the terminal to be displayed, one target display template in the three display templates can be determined. And after the target display template is determined, displaying the target data on the terminal to be displayed in the format of the target display template. For example, the target data includes the total number of devices, the number of devices per yesterday, the number of devices per week, the number of devices per month, the device state, the online rate, the effective rate, the transmission rate, the failure rate, and the like, and according to the data processing rule in the target display template, the target data can be processed to obtain the periodic statistical analysis of the number of devices, the device state analysis, the device four-rate analysis, the device early warning analysis, the device inspection analysis, the device operation and maintenance service analysis, the device state map location, the device event map location, and the like. And displaying the processed data by using a target display template, so that a user can conveniently check the data. The beneficial effect who sets up like this lies in, to the display terminal of difference, can find the show template of adaptation fast, does not need the user to customize, reduces the consumption of time cost and human cost, and terminal show mode is various, improves the efficiency and the precision of data processing and show.
According to the technical scheme, the target data are determined from a large amount of data to be displayed through the preset data screening rule, the process of manually screening the data is reduced, and data display errors are avoided. Different data can correspond to different display templates, and the target display template of the target data is determined according to a preset data display rule, so that the target data can be displayed on the terminal. The problem of among the prior art, the unable multiplexing of customization display screen is solved, various show templates of integration, the maintenance of being convenient for and modification practices thrift manpower and time, improves data display efficiency.
Example two
Fig. 2 is a flowchart illustrating a data presentation method according to a second embodiment of the present invention, which is further optimized based on the second embodiment.
In this embodiment, according to a preset data screening rule, the target data is determined from the data to be displayed, and may be refined as follows: and searching target data matched with the candidate data theme from the data to be displayed according to the candidate data theme in the preset data screening rule.
As shown in fig. 2, the method specifically includes the following steps:
step 210, obtaining data to be displayed, and searching target data matched with the candidate data theme from the data to be displayed according to the candidate data theme in the preset data screening rule.
The data to be displayed can be obtained from the field device or obtained from a data warehouse. The method includes the steps that a data screening rule is preset, and the data screening rule includes a plurality of preset candidate data themes, for example, the candidate data themes may include an environment-friendly data theme, a safety data theme, a vehicle-mounted data theme and the like. Different candidate data topics correspond to different data, for example, an environmental protection type data topic corresponds to data of an environmental protection type device. After the data to be displayed are obtained, the target data matched with each candidate data theme can be searched from the data to be displayed, namely, if the candidate data theme is not specified by a user, the target data of all candidate data themes can be automatically determined, the types of the terminals to be displayed associated with different candidate data themes are preset, the target data of each candidate data theme is displayed on the corresponding terminal to be displayed, user operation is reduced, and the data display efficiency is improved.
In this embodiment, optionally, searching for target data matched with the candidate data topic from the data to be displayed according to the candidate data topic in the preset data screening rule includes: according to the incidence relation between the candidate data theme and the theme data in the preset data screening rule, the theme data matched with any candidate data theme is searched from the data to be displayed and used as the candidate data; and screening target data located in the preset equipment area range from the candidate data according to the equipment area range of the preset candidate data theme.
Specifically, the data screening rule may include an association relationship between each candidate data topic and the topic data, where the topic data refers to data reflecting the candidate data topic, and topic data corresponding to the candidate data topic may be searched for from the data to be displayed. After the data to be displayed are obtained, according to the incidence relation between the candidate data theme and the theme data, the theme data matched with each candidate data theme is searched from the data to be displayed and is used as the candidate data of each candidate data theme.
The device area ranges of different candidate data topics are preset, and the device area ranges are the geographical area ranges where the field devices are located. The candidate data of each candidate data topic may be data in all data acquisition regions, and after the candidate data of each candidate data topic is obtained, the candidate data may be screened according to the device region range to obtain target data. For example, for the environmental protection type data theme, only the data of the environmental protection type devices in the area a is shown, and after the candidate data of the environmental protection type data theme is determined, the data in the area a is selected from the candidate data as the target data of the environmental protection type data theme. The data display method has the advantages that secondary screening can be carried out on the data to be displayed according to the data screening rule, the candidate data are determined firstly, then the target data are determined from the candidate data, data redundancy and data display errors are avoided, and the efficiency and the precision of data display are improved.
In this embodiment, optionally, according to the association relationship between the candidate data topics and the subject data in the preset data screening rule, finding the subject data matched with any candidate data topic from the data to be displayed as the candidate data includes: acquiring a predetermined target data theme; and searching candidate data matched with the target data theme from the data to be displayed based on the incidence relation between the candidate data theme and the theme data in the preset data screening rule according to the target data theme.
Specifically, the target data of all candidate data topics may be displayed, or the target data topic may be specified in the candidate data topics by the user for displaying. And if the target data theme is specified by the user, determining the target data theme specified by the user in advance. Only candidates for the target data topic may be determined without determining candidates for other candidate data topics. Namely, according to the incidence relation between the preset candidate data theme and the theme data in the data screening rule, the candidate data matched with the target data theme is searched from the data to be displayed. And screening data positioned in the equipment area range from the candidate data according to the equipment area range of the preset target data theme to be used as target data of the target data theme. The method has the advantages that the candidate data of the target data theme can be searched in a targeted manner, the actual requirement of a user on data display is met, the flexibility of the data display is improved, and the viewing experience of the user is improved.
And step 220, determining a target display template of the target data according to a preset data display rule, and displaying the target data on the terminal by using the target display template.
According to the embodiment of the invention, the target data matched with the preset candidate data theme is determined from a large amount of data to be displayed through the preset data screening rule, so that the process of manually screening the data is reduced, and the data display error is avoided. Different data can correspond to different display templates, and the target display template of the target data is determined according to a preset data display rule, so that the target data can be displayed on the terminal. The problem of among the prior art, the unable multiplexing of customization display screen is solved, various show templates of integration, the maintenance of being convenient for and modification practices thrift manpower and time, improves data display efficiency.
EXAMPLE III
Fig. 3 is a block diagram of a data display apparatus according to a third embodiment of the present invention, which is capable of executing a data display method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 3, the apparatus specifically includes:
the to-be-displayed data screening module 301 is configured to acquire to-be-displayed data and determine target data from the to-be-displayed data according to a preset data screening rule;
and the target data display module 302 is configured to determine a target display template of the target data according to a preset data display rule, and display the target data on a terminal according to the target display template.
Optionally, the to-be-displayed data filtering module 301 includes:
the device comprises a message queue storage unit, a message queue processing unit and a message queue processing unit, wherein the message queue storage unit is used for acquiring original data of field equipment in real time and storing the original data in a preset message queue;
the data warehouse storage unit is used for storing the original data in the message queue into a data warehouse according to a preset data display period in a preset batch size;
and the data to be displayed acquisition unit is used for acquiring the data to be displayed from the data warehouse.
Optionally, the to-be-displayed data screening module 301 further includes:
and the target data determining unit is used for searching target data matched with the candidate data theme from the data to be displayed according to the candidate data theme in a preset data screening rule.
Optionally, the target data determining unit includes:
the candidate data determining subunit is used for searching the theme data matched with any candidate data theme from the data to be displayed according to the incidence relation between the candidate data theme and the theme data in the preset data screening rule, and using the theme data as the candidate data;
and the target data screening subunit is used for screening target data located in a preset equipment area range from the candidate data according to the equipment area range of a preset candidate data theme.
Optionally, the candidate data determining subunit is specifically configured to:
acquiring a predetermined target data theme;
and searching candidate data matched with the target data theme from the data to be displayed based on the incidence relation between the candidate data theme and the theme data in a preset data screening rule according to the target data theme.
Optionally, the target data includes a device type;
accordingly, the target data presentation module 302 is specifically configured to:
and determining the target display template of the target data based on the association relationship between the display template and the equipment type in the preset data display rule according to the equipment type of the target data.
Optionally, the target data display module 302 is further specifically configured to:
acquiring a predetermined type of a terminal to be displayed;
determining a target display template of the target data based on the incidence relation between a display template and the equipment type in a preset data display rule and the incidence relation between the display template and the display terminal type according to the equipment type of the target data and the type of the terminal to be displayed;
and displaying the target data on a terminal to be displayed by using the target display template.
According to the embodiment of the invention, the target data is determined from a large amount of data to be displayed through the preset data screening rule, the process of manually screening the data is reduced, and the data display error is avoided. Different data can correspond to different display templates, and the target display template of the target data is determined according to a preset data display rule, so that the target data can be displayed on the terminal. The problem of among the prior art, the unable multiplexing of customization display screen is solved, various show templates of integration, the maintenance of being convenient for and modification practices thrift manpower and time, improves data display efficiency.
Example four
Fig. 4 is a schematic structural diagram of a data display apparatus according to a fourth embodiment of the present invention. The data-rendering device is an electronic device, and FIG. 4 shows a block diagram of an exemplary electronic device 400 suitable for use in implementing embodiments of the present invention. The electronic device 400 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 4, electronic device 400 is embodied in the form of a general purpose computing device. The components of electronic device 400 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 that couples the various system components (including the system memory 402 and the processing unit 401).
Bus 403 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 400 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 400 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. The electronic device 400 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methods of the described embodiments of the invention.
The electronic device 400 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), with one or more devices that enable a user to interact with the electronic device 400, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 400 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interface 411. Also, the electronic device 400 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 412. As shown in FIG. 4, the network adapter 412 communicates with the other modules of the electronic device 400 over the bus 403. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 401 executes various functional applications and data processing by executing programs stored in the system memory 402, for example, implementing a data presentation method provided by the embodiment of the present invention, including:
acquiring data to be displayed, and determining target data from the data to be displayed according to a preset data screening rule;
and determining a target display template of the target data according to a preset data display rule, and displaying the target data on a terminal by using the target display template.
EXAMPLE five
The fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the storage medium stores a computer program, and when the computer program is executed by a processor, the method for displaying data provided by the fifth embodiment of the present invention is implemented, where the method includes:
acquiring data to be displayed, and determining target data from the data to be displayed according to a preset data screening rule;
and determining a target display template of the target data according to a preset data display rule, and displaying the target data on a terminal by using the target display template.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of data presentation, comprising:
acquiring data to be displayed, and determining target data from the data to be displayed according to a preset data screening rule;
and determining a target display template of the target data according to a preset data display rule, and displaying the target data on a terminal by using the target display template.
2. The method of claim 1, wherein obtaining data to be presented comprises:
acquiring original data of field equipment in real time, and storing the original data in a preset message queue;
storing the original data in the message queue to a data warehouse according to a preset data display period in a preset batch size;
and acquiring the data to be displayed from the data warehouse.
3. The method according to claim 1, wherein determining target data from the data to be displayed according to a preset data screening rule comprises:
and searching target data matched with the candidate data theme from the data to be displayed according to the candidate data theme in a preset data screening rule.
4. The method according to claim 3, wherein searching for target data matching with a candidate data topic from the data to be displayed according to the candidate data topic in a preset data screening rule comprises:
according to the incidence relation between the candidate data theme and the theme data in the preset data screening rule, searching the theme data matched with any candidate data theme from the data to be displayed as the candidate data;
and screening target data located in a preset equipment area range from the candidate data according to the equipment area range of a preset candidate data theme.
5. The method according to claim 4, wherein according to an association relationship between a candidate data topic and topic data in a preset data screening rule, searching topic data matched with any one candidate data topic from the data to be displayed as candidate data comprises:
acquiring a predetermined target data theme;
and searching candidate data matched with the target data theme from the data to be displayed based on the incidence relation between the candidate data theme and the theme data in a preset data screening rule according to the target data theme.
6. The method of claim 1, wherein the target data includes a device type;
correspondingly, according to a preset data display rule, determining a target display template of the target data, including:
and determining the target display template of the target data based on the association relationship between the display template and the equipment type in the preset data display rule according to the equipment type of the target data.
7. The method of claim 6, wherein an object display template of the object data is determined according to a preset data display rule, and the object data is displayed on a terminal in the object display template, further comprising:
acquiring a predetermined type of a terminal to be displayed;
determining a target display template of the target data based on the incidence relation between a display template and the equipment type in a preset data display rule and the incidence relation between the display template and the display terminal type according to the equipment type of the target data and the type of the terminal to be displayed;
and displaying the target data on a terminal to be displayed by using the target display template.
8. An apparatus for data presentation, comprising:
the data to be displayed screening module is used for acquiring data to be displayed and determining target data from the data to be displayed according to a preset data screening rule;
and the target data display module is used for determining a target display template of the target data according to a preset data display rule and displaying the target data on a terminal by using the target display template.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of data presentation according to any of claims 1-7 when executing the program.
10. A storage medium containing computer-executable instructions for performing the method of data presentation of any one of claims 1-7 when executed by a computer processor.
CN202111477297.7A 2021-12-06 2021-12-06 Data display method and device, electronic equipment and storage medium Pending CN114168673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111477297.7A CN114168673A (en) 2021-12-06 2021-12-06 Data display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111477297.7A CN114168673A (en) 2021-12-06 2021-12-06 Data display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114168673A true CN114168673A (en) 2022-03-11

Family

ID=80483315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111477297.7A Pending CN114168673A (en) 2021-12-06 2021-12-06 Data display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114168673A (en)

Similar Documents

Publication Publication Date Title
CN110351572B (en) Method, device and equipment for updating live broadcast room information and storage medium
US20190317966A1 (en) Method and apparatus for talent-post matching and computer readable storage medium
CN111815421B (en) Tax policy processing method and device, terminal equipment and storage medium
CN107133263B (en) POI recommendation method, device, equipment and computer readable storage medium
CN112417274A (en) Message pushing method and device, electronic equipment and storage medium
CN109284108B (en) Unmanned vehicle data storage method and device, electronic equipment and storage medium
CN114373460A (en) Instruction determination method, device, equipment and medium for vehicle-mounted voice assistant
CN107729944B (en) Identification method and device of popular pictures, server and storage medium
CN110675249A (en) Matching method, device, server and storage medium for network lending
CN111259270A (en) Weather reminding method, equipment and computer readable medium
CN112801016B (en) Ballot data statistics method, device, equipment and medium
CN114020774A (en) Method, device and equipment for processing multiple rounds of question-answering sentences and storage medium
CN113672802A (en) Flight recommendation method, system, electronic device and medium
CN112070580A (en) Flight-condition-based information display method, system, electronic device and medium
CN114168673A (en) Data display method and device, electronic equipment and storage medium
CN116450723A (en) Data extraction method, device, computer equipment and storage medium
US11599706B1 (en) Systems and methods for providing a view of geospatial information
CN110458743B (en) Community management method, device, equipment and storage medium based on big data analysis
CN115994534A (en) Government scene hot word mining method, device, equipment and storage medium
KR20230078522A (en) Apparatus and method for providing weather forecast information
CN113806556A (en) Method, device, equipment and medium for constructing knowledge graph based on power grid data
CN111126120B (en) Urban area classification method, device, equipment and medium
CN114490943A (en) Tourism information query method, device, equipment and storage medium
CN111694951B (en) Interest topic generation method, device, equipment and storage medium
CN111125272B (en) Regional characteristic acquisition method, regional characteristic acquisition device, computer equipment and medium

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