CN116150452A - Visual data display method and device - Google Patents

Visual data display method and device Download PDF

Info

Publication number
CN116150452A
CN116150452A CN202211614594.6A CN202211614594A CN116150452A CN 116150452 A CN116150452 A CN 116150452A CN 202211614594 A CN202211614594 A CN 202211614594A CN 116150452 A CN116150452 A CN 116150452A
Authority
CN
China
Prior art keywords
data
missing
visual
period
visual data
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
CN202211614594.6A
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.)
Fujian Funo Mobile Communication Technology Co ltd
Original Assignee
Fujian Funo Mobile Communication 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 Fujian Funo Mobile Communication Technology Co ltd filed Critical Fujian Funo Mobile Communication Technology Co ltd
Priority to CN202211614594.6A priority Critical patent/CN116150452A/en
Publication of CN116150452A publication Critical patent/CN116150452A/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/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a method and a device for displaying visual data, wherein the method comprises the following steps: acquiring a data updating period T required by a user, and dividing the data updating period T into a data grabbing period with the time of T-T and a data processing time with the time of T, wherein T and T are positive numbers, and T is larger than T; and grabbing the visual data in the data grabbing period of each data updating period T, judging whether the visual data has missing data, if so, supplementing the missing data in the data processing time of the data updating period T, and displaying the complete visual data. The invention can ensure the integrity of the visual display of the data on the basis of meeting the data updating period.

Description

Visual data display method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for displaying visual data.
Background
The data extraction of the visual large screen in the current market is generally to directly fetch and display the data according to the data updating period required by the user and the preset data grabbing period from the docking platform. In the display process, insufficient display or display failure caused by data loss occurs, so that poor display effect and influence are caused.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method and a device for displaying visual data, which can ensure the integrity of the visual display of the data on the basis of meeting the data updating period.
In order to achieve the above purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for displaying visual data, including:
acquiring a data updating period T required by a user, and dividing the data updating period T into a data grabbing period with the time of T-T and a data processing time with the time of T, wherein T and T are positive numbers, and T is larger than T;
and capturing visual data in a data capturing period of each data updating period T, judging whether the visual data has missing data, and if so, supplementing the missing data in the data processing time of the data updating period T to obtain complete visual data for display.
The invention has the beneficial effects that: in each data updating period, the data updating period is divided into a data grabbing period and a data processing time, so that when the visualized data acquired in the data grabbing period is missing, the visualized data can be supplemented completely in the data processing time, and the integrity of the visualized data display can be ensured on the basis of meeting the data updating period.
Optionally, the supplementing the missing data in the data processing time of the data update period T includes:
and sending a re-reading instruction of the missing data in the data processing time of the data updating period T, normally displaying if the missing data is received, and calculating the missing data to supplement the visual data if the missing data is not received.
According to the description, when the data is found to be missing, the capturing is firstly performed again, the true accuracy of the data is ensured, and if the data is not captured twice continuously, the missing data is supplemented and integrated in a calculation mode, so that the display integrity of the data is ensured.
Optionally, the calculating the missing data to supplement the visual data includes:
reading the last data of the missing data;
reading the latest N days of data in a time period of N times T before and after the time point of the missing data, and obtaining historical average data of the latest N days of data, wherein N and N are positive integers;
and obtaining estimated missing data after averaging the latest data and the historical average data, and supplementing the missing data to the visual data.
According to the above description, the data of the last time of day and the data of the last days of the same time period are calculated, and the specific gravity of the data of the last time of day is greater than that of other data, so that the calculated data is more similar to the real data.
Optionally, the capturing visual data is: capturing visual data through Mysql statements;
the judging whether the visual data has missing data is as follows: judging whether the visual data has missing data or not through Mysql statement.
In a second aspect, the present invention provides a visual data presentation apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a data updating period T required by a user, and dividing the data updating period T into a data grabbing period with the time of T-T and a data processing time with the time of T, wherein T and T are positive numbers, and T is larger than T;
and capturing visual data in a data capturing period of each data updating period T, judging whether the visual data has missing data, and if so, supplementing the missing data in the data processing time of the data updating period T to obtain complete visual data for display.
Optionally, the supplementing the missing data in the data processing time of the data update period T includes:
and sending a re-reading instruction of the missing data in the data processing time of the data updating period T, normally displaying if the missing data is received, and calculating the missing data to supplement the visual data if the missing data is not received.
Optionally, the calculating the missing data to supplement the visual data includes:
reading the last data of the missing data;
reading the latest N days of data in a time period of N times T before and after the time point of the missing data, and obtaining historical average data of the latest N days of data, wherein N and N are positive integers;
and obtaining estimated missing data after averaging the latest data and the historical average data, and supplementing the missing data to the visual data.
Optionally, the capturing visual data is: capturing visual data through Mysql statements;
the judging whether the visual data has missing data is as follows: judging whether the visual data has missing data or not through Mysql statement.
The technical effects corresponding to the visual data display device provided in the second aspect refer to the related description of the visual data display method provided in the first aspect.
Drawings
Fig. 1 is a main flow diagram of a method for displaying visual data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a visual data display method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a visual data display device according to an embodiment of the present invention.
[ reference numerals description ]
1: a visual data display device;
2: a processor;
3: a memory.
Detailed Description
In order that the above-described aspects may be better understood, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Example 1
The embodiment is suitable for displaying application scenes, especially data display of a large visual screen, on a screen, and is described below with reference to a specific method.
Referring to fig. 1 to 2, a method for displaying visual data includes the steps of:
s1, acquiring a data updating period T required by a user, and dividing the data updating period T into a data grabbing period with the time of T-T and a data processing time with the time of T, wherein T and T are positive numbers, and T is larger than T;
according to the embodiment, the data missing module (T-T) +t) is built between data acquisition and data display, the data updating period is redistributed on the basis that the data updating period required by a user is not reduced, the data integrity test and the data missing are achieved, and the requirement of a customer on the data visualization large screen display effect is met.
Referring to fig. 2, the following is a specific disassembly:
t: a data update period required by a user;
T-T: the data updating period required by the user is reduced by t, namely the updating frequency is improved;
t, for data integrity verification and data complementation.
When the data updating period of the large screen display data is 30 seconds and the data processing time is 1 second, the data deficiency module (T-T) +t) automatically divides the time into 29 seconds and 1 second according to the principle of (T-T) +t, 29 seconds is a data grabbing period, and 1 second is used for deficiency and deficiency of the grabbing data.
S2, capturing the visual data in the data capturing period of each data updating period T, judging whether the visual data has missing data, if so, supplementing the missing data in the data processing time of the data updating period T, and displaying the complete visual data.
In this embodiment, step S2 specifically includes:
s21, capturing visual data through Mysql sentences in a data capturing period of each data updating period T;
s22, judging whether the visual data has missing data or not through Mysql statement.
Specifically, in this embodiment, an http+json interface protocol, a POST data submitting mode, and a mode of a signaling gateway and a media gateway are adopted to interface a standard platform and a nonstandard platform, and then platform data is read according to a split data grabbing period through Mysql statements.
S23, if so, sending a re-reading instruction of the missing data in the data processing time of the data updating period T, if the missing data is received, performing normal display, and if the missing data is not received, calculating the missing data to supplement the visual data.
In the present embodiment, the step S23 of estimating missing data to supplement the visualized data includes:
s231, reading the last data of the missing data;
i.e. the last value of missing data a is read by Mysql statement.
S232, obtaining historical average data of the latest N days of data in a time period of N times T before and after a time point of reading the missing data, wherein N and N are positive integers;
in this embodiment, n is 2 and n is 7, and step S232 is to obtain the historical average data of the last 7 days data in a time period of 1 minute before and after the time point of reading the missing data a.
S233, obtaining estimated missing data after averaging the latest data and the historical average data, and supplementing the missing data to the visual data.
In this embodiment, the missing data is calculated by adopting the method of the average value of the neighboring points according to the following formula:
missing data a' = [ data of approximately 7 days in a period of 1min before and after occurrence of missing data a +.7 +.data capture times) +last numerical value ].
That is, the number of data grasping is determined not by the total of four times each for one minute before and by 28 times for 7 days, but by the number of times actually grasped from the data source platform, and the originally estimated numerical value is eliminated, so that the estimation is performed by considering only the actual data, and the accuracy of the estimation is improved.
After that, the calculated missing data a 'is interpolated into the data extracted in the present round, it should be noted that, regarding the calculated missing data a', the format of the missing data a 'is denormalized, for example, the obtained missing data a' is 487.236, and the format of the missing data a is 487.2, where the number interpolated into the data extracted in the present round is normalized.
S24, obtaining complete visual data for display
Thus, the complete data after the deficiency is displayed on the large screen in the data updating period required by the user.
In summary, the embodiment can reduce the error rate of incomplete display or display failure caused by data missing on the basis of meeting the data updating period, and ensure the integrity and consistency of data visual display.
Example two
Referring to fig. 3, a visual data display device 1 includes a memory 3, a processor 2, and a computer program stored in the memory 3 and capable of running on the processor 2, wherein the steps in the first embodiment are implemented when the processor 2 executes the computer program.
Since the apparatus/device described in the foregoing embodiments of the present invention is an apparatus/device used for implementing the method of the foregoing embodiments of the present invention, those skilled in the art can understand the specific structure and modification of the apparatus/device based on the method of the foregoing embodiments of the present invention, and thus are not described herein. All devices/apparatuses used in the methods of the above embodiments of the present invention are within the scope of the present invention.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the terms first, second, third, etc. are for convenience of description only and do not denote any order. These terms may be understood as part of the component name.
Furthermore, it should be noted that in the description of the present specification, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to a specific feature, structure, material, or characteristic described in connection with the embodiment or example being included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art upon learning the basic inventive concepts. Therefore, the appended claims should be construed to include preferred embodiments and all such variations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, the present invention should also include such modifications and variations provided that they come within the scope of the following claims and their equivalents.

Claims (8)

1. A method for displaying visual data, comprising:
acquiring a data updating period T required by a user, and dividing the data updating period T into a data grabbing period with the time of T-T and a data processing time with the time of T, wherein T and T are positive numbers, and T is larger than T;
and capturing visual data in a data capturing period of each data updating period T, judging whether the visual data has missing data, and if so, supplementing the missing data in the data processing time of the data updating period T to obtain complete visual data for display.
2. The method for displaying visual data according to claim 1, wherein said supplementing said missing data within a data processing time of said data update period T comprises:
and sending a re-reading instruction of the missing data in the data processing time of the data updating period T, normally displaying if the missing data is received, and calculating the missing data to supplement the visual data if the missing data is not received.
3. The method for displaying visual data according to claim 2, wherein said calculating said missing data to supplement visual data comprises:
reading the last data of the missing data;
reading the latest N days of data in a time period of N times T before and after the time point of the missing data, and obtaining historical average data of the latest N days of data, wherein N and N are positive integers;
and obtaining estimated missing data after averaging the latest data and the historical average data, and supplementing the missing data to the visual data.
4. A method of displaying visual data according to any one of claims 1 to 3, wherein the capturing visual data is: capturing visual data through Mysql statements;
the judging whether the visual data has missing data is as follows: judging whether the visual data has missing data or not through Mysql statement.
5. A visual data presentation apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program performs the steps of:
acquiring a data updating period T required by a user, and dividing the data updating period T into a data grabbing period with the time of T-T and a data processing time with the time of T, wherein T and T are positive numbers, and T is larger than T;
and capturing visual data in a data capturing period of each data updating period T, judging whether the visual data has missing data, and if so, supplementing the missing data in the data processing time of the data updating period T to obtain complete visual data for display.
6. The visual data display apparatus according to claim 5, wherein said supplementing said missing data during a data processing time of said data update period T comprises:
and sending a re-reading instruction of the missing data in the data processing time of the data updating period T, normally displaying if the missing data is received, and calculating the missing data to supplement the visual data if the missing data is not received.
7. The visual data presentation device of claim 6, wherein said deriving said missing data to supplement visual data comprises:
reading the last data of the missing data;
reading the latest N days of data in a time period of N times T before and after the time point of the missing data, and obtaining historical average data of the latest N days of data, wherein N and N are positive integers;
and obtaining estimated missing data after averaging the latest data and the historical average data, and supplementing the missing data to the visual data.
8. A visual data display device according to any one of claims 5 to 7, wherein the captured visual data is: capturing visual data through Mysql statements;
the judging whether the visual data has missing data is as follows: judging whether the visual data has missing data or not through Mysql statement.
CN202211614594.6A 2022-12-13 2022-12-13 Visual data display method and device Pending CN116150452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211614594.6A CN116150452A (en) 2022-12-13 2022-12-13 Visual data display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211614594.6A CN116150452A (en) 2022-12-13 2022-12-13 Visual data display method and device

Publications (1)

Publication Number Publication Date
CN116150452A true CN116150452A (en) 2023-05-23

Family

ID=86338100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211614594.6A Pending CN116150452A (en) 2022-12-13 2022-12-13 Visual data display method and device

Country Status (1)

Country Link
CN (1) CN116150452A (en)

Similar Documents

Publication Publication Date Title
US11157818B2 (en) Model training method and apparatus based on gradient boosting decision tree
RU2013123929A (en) IDENTIFICATION AND REDUCTION OF DISTORTION OF THE IMAGE
CN108961679A (en) A kind of attention based reminding method, device and electronic equipment
CN108510084B (en) Method and apparatus for generating information
CN109634867B (en) Software testing method and device based on data simulation system and storage medium
CN110087143A (en) Method for processing video frequency and device, electronic equipment and computer readable storage medium
EP3866492A1 (en) Information processing device, information processing method, and information processing program
US11106524B1 (en) Resolving technology issues
CN112667834A (en) Image annotation method and related device
JP6874864B2 (en) Image processing equipment, image processing methods and programs
CN106792163B (en) Method and device for detecting video playing state
CN116150452A (en) Visual data display method and device
CN113082703A (en) Cursor display method, device and medium
US11800975B2 (en) Eye fatigue prediction based on calculated blood vessel density score
CN110322525B (en) Method and terminal for processing dynamic diagram
CN116955068A (en) Sequence similarity calculation and alarm processing method, device and storage medium
WO2020163230A1 (en) Systems and methods for item response modelling of digital assessments
CN110806909A (en) Method and device for determining page frame dropping information of application program and electronic equipment
CN110971895A (en) Video jitter detection method and device
CN106326097B (en) Method and device for testing page perception performance
CN114071127A (en) Live video delay testing method and device, storage medium and electronic equipment
CN113673811A (en) Session-based online learning performance evaluation method and device
CN110942238A (en) Course recommendation device and method
JPWO2021100191A5 (en)
CN113724225B (en) Method and device for determining transmission quality of application program

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