CN106652879B - Method and equipment for displaying frame data - Google Patents
Method and equipment for displaying frame data Download PDFInfo
- Publication number
- CN106652879B CN106652879B CN201710109160.3A CN201710109160A CN106652879B CN 106652879 B CN106652879 B CN 106652879B CN 201710109160 A CN201710109160 A CN 201710109160A CN 106652879 B CN106652879 B CN 106652879B
- Authority
- CN
- China
- Prior art keywords
- displayed
- signal source
- frame data
- unselected
- screening
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000012216 screening Methods 0.000 claims abstract description 120
- 238000001914 filtration Methods 0.000 claims description 5
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 20
- 101150115300 MAC1 gene Proteins 0.000 description 20
- 230000015654 memory Effects 0.000 description 19
- 101100244969 Arabidopsis thaliana PRL1 gene Proteins 0.000 description 14
- 102100039558 Galectin-3 Human genes 0.000 description 14
- 101100454448 Homo sapiens LGALS3 gene Proteins 0.000 description 14
- 101150051246 MAC2 gene Proteins 0.000 description 14
- 230000003068 static effect Effects 0.000 description 7
- 230000005291 magnetic effect Effects 0.000 description 5
- -1 MAC3 Proteins 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2007—Display of intermediate tones
- G09G3/2018—Display of intermediate tones by time modulation using two or more time intervals
- G09G3/2022—Display of intermediate tones by time modulation using two or more time intervals using sub-frames
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The method comprises the steps of obtaining signal sources to be displayed and corresponding identification information and data information of the signal sources at a user equipment end; judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information, if so, decoding data information corresponding to the selected signal source to be displayed to obtain frame data corresponding to the selected signal source to be displayed, and displaying the frame data corresponding to the selected signal source to be displayed; and if not, screening and decoding the data information of the unselected signal source to be displayed to obtain screening frame data corresponding to the unselected signal source to be displayed, wherein the screening frame data comprises key frame data used for identifying the unselected signal source to be displayed, and displaying the screening frame data corresponding to the unselected signal source to be displayed, so that the frame data corresponding to the selected signal source to be displayed and the screening frame data of the unselected signal source are displayed in real time.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for displaying frame data.
Background
In the prior art, when browsing and displaying back display are performed on display windows corresponding to a plurality of network data simultaneously, due to the fact that the number of windows displayed back is large, data information corresponding to each display window needs to be decoded, and frame data decoded correspondingly to the data information of each display window needs to be updated, so that the utilization rate of a CPU is high, decoding of the data information is not timely, updating of the display windows is not timely, and delay of displaying of frame data by all the display windows is affected; and because the display delay of the frame data corresponding to the display window is large, each display window cannot display the corresponding frame data in real time.
Disclosure of Invention
An object of the present application is to provide a method and an apparatus for displaying frame data, which solve the problems of untimely display of frame data and large delay in the prior art.
According to an aspect of the present application, there is provided a method of displaying frame data, the method including:
acquiring signal sources to be displayed and corresponding identification information and data information of the signal sources to be displayed;
judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information,
and if so, decoding the data information corresponding to the selected signal source to be displayed to obtain frame data corresponding to the selected signal source to be displayed, and displaying the frame data corresponding to the selected signal source to be displayed.
Further, in the above method, before determining whether the signal source to be displayed belongs to the selected signal source based on the identification information, the method further includes:
acquiring a locally selected signal source and corresponding identification information thereof;
the judging whether the signal source to be displayed belongs to the selected signal source based on the identification information includes:
and judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information corresponding to the signal source to be displayed and the identification information corresponding to the selected signal source.
Further, in the above method, before displaying the frame data corresponding to the selected signal source to be displayed, the method further includes:
and locally storing the frame data corresponding to the selected signal source to be displayed.
Further, in the above method, the displaying the frame data corresponding to the selected signal source to be displayed includes:
and displaying frame data corresponding to the selected signal source to be displayed based on the original display frame rate.
Further, in the above method, after determining whether the signal source to be displayed belongs to the selected signal source based on the identification information, the method further includes:
and if not, screening and decoding the data information of the unselected signal source to be displayed to obtain screening frame data corresponding to the unselected signal source to be displayed, wherein the screening frame data comprises key frame data used for identifying the unselected signal source to be displayed, and the screening frame data corresponding to the unselected signal source to be displayed is displayed.
Further, in the above method, before displaying the screening frame data corresponding to the unselected signal source to be displayed, the method further includes:
and locally storing the screening frame data corresponding to the unselected signal source to be displayed.
Further, in the above method, the screening and decoding the data information of the unselected signal source to be displayed to obtain the screened frame data corresponding to the unselected signal source to be displayed includes:
screening the data information of the unselected signal source to be displayed to obtain the screened data information of the unselected signal source to be displayed;
and decoding the screened data information to obtain screened frame data corresponding to the unselected signal source to be displayed.
Further, in the above method, the screening the data information of the unselected signal source to be displayed includes:
determining the screening display frame rate of the unselected signal sources to be displayed based on the acquired number of the signal sources to be displayed;
and screening the data information of the unselected signal source to be displayed based on the screening display frame rate.
Further, in the above method, the displaying the screening frame data corresponding to the unselected signal source to be displayed includes:
and displaying the screening frame data corresponding to the unselected signal source to be displayed based on the screening display frame rate.
Further, in the above method, after the screening of the data information of the unselected signal source to be displayed, the method further includes:
and obtaining the common frame data information corresponding to the unselected signal source to be displayed, and discarding the common frame data information.
According to another aspect of the present application, there is also provided an apparatus for displaying frame data, the apparatus including:
the acquisition device is used for acquiring each signal source to be displayed and corresponding identification information and data information;
judging means for judging whether the signal source to be displayed belongs to the selected signal source based on the identification information,
and if so, decoding the data information corresponding to the selected signal source to be displayed to obtain frame data corresponding to the selected signal source to be displayed, and displaying the frame data corresponding to the selected signal source to be displayed.
Further, in the foregoing device, the determining means is further configured to:
acquiring a locally selected signal source and corresponding identification information thereof;
and judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information corresponding to the signal source to be displayed and the identification information corresponding to the selected signal source.
Further, in the foregoing device, the determining means is further configured to:
and locally storing the frame data corresponding to the selected signal source to be displayed.
Further, in the above device, the judging means is configured to:
and displaying frame data corresponding to the selected signal source to be displayed based on the original display frame rate.
Further, in the foregoing device, the determining means is further configured to:
and if not, screening and decoding the data information of the unselected signal source to be displayed to obtain screening frame data corresponding to the unselected signal source to be displayed, wherein the screening frame data comprises key frame data used for identifying the unselected signal source to be displayed, and the screening frame data corresponding to the unselected signal source to be displayed is displayed.
Further, in the foregoing device, the determining means is further configured to:
and locally storing the screening frame data corresponding to the unselected signal source to be displayed.
Further, in the above device, the judging means is configured to:
screening the data information of the unselected signal source to be displayed to obtain the screened data information of the unselected signal source to be displayed;
and decoding the screened data information to obtain screened frame data corresponding to the unselected signal source to be displayed.
Further, in the above device, the judging means is configured to:
determining the screening display frame rate of the unselected signal sources to be displayed based on the acquired number of the signal sources to be displayed;
and screening the data information of the unselected signal source to be displayed based on the screening display frame rate.
Further, in the above device, the judging means is configured to:
and displaying the screening frame data corresponding to the unselected signal source to be displayed based on the screening display frame rate.
Further, in the foregoing device, the determining means is further configured to:
and obtaining the common frame data information corresponding to the unselected signal source to be displayed, and discarding the common frame data information.
Compared with the prior art, the signal source to be displayed and the corresponding identification information and data information of the signal source to be displayed are acquired at the user equipment end; then, whether the signal source to be displayed belongs to the selected signal source is judged based on the identification information, if yes, data information corresponding to the selected signal source to be displayed is decoded to obtain frame data corresponding to the selected signal source to be displayed, the frame data corresponding to the selected signal source to be displayed is displayed, and real-time display of the frame data corresponding to the selected signal source to be displayed is achieved; further, if not, screening and decoding the data information of the unselected signal source to be displayed to obtain screening frame data corresponding to the unselected signal source to be displayed, wherein the screening frame data comprises key frame data for identifying the unselected signal source to be displayed and displaying the screening frame data corresponding to the unselected signal source to be displayed, and meanwhile, the data information of the unselected signal source to be displayed is screened and decoded, and the screened frame data corresponding to the unselected signal source to be displayed is displayed, so that the screened frame data corresponding to the unselected signal source to be displayed and containing the key frame data is displayed in real time, the screened frame data of the unselected signal source to be displayed is displayed in real time, the situation that the unselected signal source to be displayed is in a static and non-updated display state is avoided, and all the signal sources to be displayed are displayed in real time.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method of displaying frame data provided in accordance with an aspect of the present application;
fig. 2 is a flow chart illustrating a filtering of signal sources to be displayed in a practical application scenario according to an aspect of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
Fig. 1 is a flowchart illustrating a method for displaying frame data, which is applied to a user equipment side in a data display process and includes step S11, step S12, step S13 and step S14, where in step S11 first obtains each signal source to be displayed and its corresponding identification information and data information; and step S12 determines whether the signal source to be displayed belongs to a selected signal source based on the identification information, if so, step S13 decodes data information corresponding to the selected signal source to be displayed to obtain frame data corresponding to the selected signal source to be displayed, displays the frame data corresponding to the selected signal source to be displayed, and divides the signal source to be displayed into the selected signal source to be displayed and an unselected signal source to be displayed, and decodes all the data information corresponding to the selected signal source to be displayed to obtain corresponding frame data, thereby achieving the purpose of displaying the frame data corresponding to the selected signal source in real time.
Further, after the step S12 determines whether the signal source to be displayed belongs to the selected signal source based on the identification information, the method further includes: if not, the step S14 filters and decodes the data information of the unselected signal source to be displayed, to obtain filtered frame data corresponding to the unselected signal source to be displayed, where the filtered frame data includes key frame data for identifying the unselected signal source to be displayed, and displays the filtered frame data corresponding to the unselected signal source to be displayed, so as to implement real-time display of the filtered frame data including the key frame data corresponding to the unselected signal source to be displayed, thereby not only achieving real-time display of the filtered frame data of the unselected signal source, but also avoiding the unselected signal source to be displayed from being in a static and non-updated display state, so that each signal source to be displayed is displayed in real time.
In an embodiment of the present application, if each of the signal sources to be displayed acquired in the step S11 is "abaacabb" as shown in fig. 2, in a preferred embodiment of the present application, the identification information of the signal source to be displayed is preferably a corresponding MAC address when the signal source to be displayed is displayed, the identification information corresponding to each of the signal sources to be displayed "abaacabb" is MAC1, MAC2, MAC1, MAC1, MAC2, MAC1, MAC3, and MAC2, because the signal source to be displayed "a" and the signal source to be displayed "B" and the signal source to be displayed "C" belong to different signal sources, the identification information of the signal source to be displayed "a" is MAC1, the identification information of the signal source to be displayed "B" is MAC2, and the identification information of the signal source to be displayed "C" is MAC3, one signal source to be displayed corresponds to one display window, that is, the signal source to be displayed "a" and the signal source to be displayed "C" correspond to one display window respectively, of course, as shown in fig. 2, when the two windows corresponding to the signal source "a" to be displayed and the signal source "C" to be displayed are overlapped and there is a selected condition, the signal source to be displayed corresponding to the uppermost window in the overlapping area is marked as the selected signal source to be displayed, that is, the selected signal source to be displayed is "C"; next, step S12 is to determine whether the signal source to be displayed "abaacabb" belongs to the selected signal source based on the identification information corresponding to the signal source to be displayed, and the obtained determination result is as shown in fig. 2, where the signal source to be displayed "C" is the selected signal source to be displayed, and the remaining signal sources to be displayed "abaabaababab" are unselected signal sources to be displayed, then decode all the data information corresponding to the selected signal source to be displayed "C" to obtain the frame data corresponding to the selected signal source to be displayed "C", and then display the frame data corresponding to the selected signal source to be displayed "C" in real time when the frame data corresponding to the selected signal source to be displayed "C" needs to be displayed, so as to avoid the display delay of the frame data corresponding to the signal source to be displayed.
Next, in the foregoing embodiment of the present application, in order to ensure real-time display of the unselected signal source "abaababab" determined in step S12, and reduce consumption of memory resources used by the unselected signal source to decode data information corresponding to the unselected signal source "ababab" when decoding data information corresponding to the selected signal source "C", the step S13 filters data information of the unselected signal source "ababab" to filter out data information corresponding to key frame data that can reflect data information corresponding to the unselected signal source to be displayed, and correspondingly decodes the filtered data information including the key frame data to obtain filtered frame data corresponding to each unselected signal source to be displayed, where the filtered frame data includes key frame data used to identify the unselected signal source to be displayed, the method and the device ensure real-time display of the key frame data of the unselected signal sources to be displayed, achieve real-time display of the screening frame data of the unselected signal sources, and avoid the unselected signal sources to be displayed from being in a static and non-updated display state, so that the selected and unselected signal sources to be displayed can be displayed in real time without delay.
Further, the step S12, before determining whether the signal source to be displayed belongs to the selected signal source based on the identification information, further includes:
acquiring a locally selected signal source and corresponding identification information thereof;
the judging whether the signal source to be displayed belongs to the selected signal source based on the identification information includes:
and judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information corresponding to the signal source to be displayed and the identification information corresponding to the selected signal source.
Next, in the foregoing embodiment of the present application, before the step S12 determines whether each signal source "abaacabb" to be displayed belongs to the selected signal source, the user at the user equipment end selects the signal source "C" from each displayed signal source "abaacabb" by using a mouse or a shortcut keyboard, and records the selected signal source "C" at the subsequent user equipment end, so that the locally selected signal source and the identification information corresponding to the locally selected signal source are "signal source C and the identification information corresponding to the signal source C are MAC 3"; and then, the step S12 respectively judges whether each to-be-displayed signal source "abaacabb" belongs to the selected signal source according to the identification information corresponding to each to-be-displayed signal source "abaacabb" being MAC1, MAC2, MAC1, MAC1, MAC2, MAC1, MAC3, MAC2 and the identification information "MAC 3" corresponding to the locally selected signal source "C", so as to obtain the signal source "C" to be displayed belonging to the selected signal source, thereby determining the selected to-be-displayed signal source in all the to-be-displayed signal sources based on the locally selected signal source.
Further, before displaying the frame data corresponding to the selected signal source to be displayed in step S13, the method further includes: and locally storing the frame data corresponding to the selected signal source to be displayed. For example, after all the data information corresponding to the selected signal source "C" to be displayed is decoded, the decoded frame data corresponding to the selected signal source "C" to be displayed is stored locally, so that when the frame data corresponding to the selected signal source "C" to be displayed needs to be displayed subsequently, the frame data corresponding to the selected signal source "C" to be displayed can be read and displayed in real time, and the timeliness of frame data display is further improved.
Further, the displaying frame data corresponding to the selected signal source to be displayed in step S12 includes: and displaying frame data corresponding to the selected signal source to be displayed based on the original display frame rate. For example, if the original display frame rate is 30 frames/s, and frame data corresponding to the selected signal source to be displayed needs to be displayed, the frame data corresponding to the selected signal source "C" to be displayed is displayed according to the display frame rate of 30 frames/s, so as to realize real-time smooth display of the frame data corresponding to the selected signal source "C" to be displayed.
Further, before displaying the filtering frame data corresponding to the unselected signal source to be displayed in step S14, the method further includes: and locally storing the screening frame data corresponding to the unselected signal source to be displayed. For example, after the data information corresponding to all the unselected signal sources to be displayed "abaabaababab" is screened and decoded, the screening frame data corresponding to each unselected signal source to be displayed "ababab" obtained after decoding is stored locally, so that when the screening frame data corresponding to any one signal source to be displayed in each unselected signal source to be displayed "ababab" needs to be displayed subsequently, the screening frame data corresponding to the selected signal source to be displayed (for example, the unselected signal source to be displayed "a" and the identification information MAC1 corresponding thereto) can be read and displayed in real time, and the timeliness of displaying the screening frame data is further improved.
Further, the step S14 of filtering and decoding the data information of the unselected signal source to be displayed to obtain filtered frame data corresponding to the unselected signal source to be displayed includes:
screening the data information of the unselected signal source to be displayed to obtain the screened data information of the unselected signal source to be displayed;
and decoding the screened data information to obtain screened frame data corresponding to the unselected signal source to be displayed.
Then, in the above embodiment of the present application, after each unselected signal source to be displayed "ababab" is determined, first, data information corresponding to the unselected signal source to be displayed (for example, signal source to be displayed "a") is screened to obtain data information including key frame data of the unselected signal source to be displayed "a"), then, the data information including key frame data of the unselected signal source to be displayed "a" is decoded to obtain screened frame data of the unselected signal source to be displayed "a", where the screened frame data includes key frame data for identifying the unselected signal source to be displayed "a" to decode the unselected signal source to display the screened frame data of the unselected signal source to be displayed in real time, so as to ensure real-time display of frame data corresponding to the selected signal source to be displayed, and the screening frame data corresponding to the unselected signal sources to be displayed can be displayed in real time, so that the display delay or delay of each signal source to be displayed is avoided.
Further, the screening the data information of the unselected signal source to be displayed in step S14 includes: determining the screening display frame rate of the unselected signal sources to be displayed based on the acquired number of the signal sources to be displayed; and screening the data information of the unselected signal source to be displayed based on the screening display frame rate. For example, if the number of the acquired to-be-displayed signal sources is 100, determining that the display frame rate of the unselected to-be-displayed signal source is 10 frames/s, or for example, if the number of the acquired to-be-displayed signal sources is 60, determining that the display frame rate of the unselected to-be-displayed signal source is 20 frames/s; for example, if the number of the acquired signal sources to be displayed is 20, determining that the display frame rate of the unselected signal source to be displayed is 25 frames/s, and dynamically determining the screening display frame rate of the unselected signal source to be displayed based on the number of the acquired signal sources to be displayed so as to ensure that screening frame data corresponding to each signal source to be displayed, which needs to be displayed, can be displayed in real time; then, based on the dynamically determined screening display frame rate, respectively screening data information corresponding to each unselected signal source to be displayed, so that the screened data information includes key frame data of the unselected signal source to be displayed.
Further, the displaying the filtering frame data corresponding to the unselected signal source to be displayed in step S14 includes: and displaying the screening frame data corresponding to the unselected signal source to be displayed based on the screening display frame rate. For example, if the screening display frame rate dynamically determined based on the number of all the acquired to-be-displayed signal sources is 20 frames/s, the screening frame data corresponding to the selected to-be-displayed signal source is displayed according to the screening display frame rate of 20 frames/s, so that the screening frame data corresponding to the unselected to-be-displayed signal source "C" can be displayed smoothly in real time while the frame data corresponding to the unselected to-be-displayed signal source "abaabaababab" is displayed according to the original display frame rate of 30 frames/s.
Further, after the step S14 of screening the data information of the unselected signal source to be displayed, the method further includes: and obtaining the common frame data information corresponding to the unselected signal source to be displayed, and discarding the common frame data information. For example, in order to ensure real-time display of frame data corresponding to the selected signal source to be displayed and filtered frame data corresponding to the unselected signal source to be displayed, after the data information of the unselected signal source to be displayed is filtered in step S14, common frame data information corresponding to each unselected signal source to be displayed is obtained, and the obtained common frame data information is discarded, so as to reduce consumption of memory resources and display frame rate in the real-time display process, thereby ensuring real-time performance and timeliness of display of frame data corresponding to the selected signal source to be displayed and filtered frame data corresponding to the unselected signal source to be displayed.
Another aspect of the present application provides an apparatus for displaying frame data, which is applied to a user equipment terminal in a data display process, where the user equipment includes an obtaining device and a determining device, where the obtaining device is configured to: firstly, acquiring signal sources to be displayed and corresponding identification information and data information of the signal sources to be displayed; the judging device is used for: and judging whether the signal source to be displayed belongs to a selected signal source or not based on the identification information, if so, decoding data information corresponding to the selected signal source to be displayed by the judging device to obtain frame data corresponding to the selected signal source to be displayed, displaying the frame data corresponding to the selected signal source to be displayed, dividing the signal source to be displayed into the selected signal source to be displayed and a non-selected signal source to be displayed, and completely decoding the data information corresponding to the selected signal source to be displayed to obtain corresponding frame data so as to achieve the purpose of displaying the frame data corresponding to the selected signal source in real time.
Further, the determining device is further configured to: and if not, screening and decoding the data information of the unselected signal source to be displayed to obtain screening frame data corresponding to the unselected signal source to be displayed, wherein the screening frame data comprises key frame data used for identifying the unselected signal source to be displayed, and displaying the screening frame data corresponding to the unselected signal source to be displayed, so that the screening frame data corresponding to the unselected signal source to be displayed and containing the key frame data is displayed in real time, the screening frame data of the unselected signal source to be displayed is displayed in real time, the unselected signal source to be displayed is prevented from being in a static and non-updated display state, and all the signal sources to be displayed are displayed in real time.
In an embodiment of the present application, if each signal source to be displayed acquired in the acquiring apparatus is "abaacabb" as shown in fig. 2, in a preferred embodiment of the present application, the identification information of the signal source to be displayed is preferably a MAC address corresponding to the signal source to be displayed when the signal source to be displayed is displayed, the identification information corresponding to each signal source to be displayed "abaacabb" is MAC1, MAC2, MAC1, MAC1, MAC2, MAC1, MAC3, and MAC2, since the signal source to be displayed "a" and the signal source to be displayed "B" and the signal source to be displayed "C" belong to different signal sources, the identification information of the signal source to be displayed "a" is MAC1, the identification information of the signal source to be displayed "B" is MAC2, and the identification information of the signal source to be displayed "C" is MAC3, one signal source to be displayed corresponds to one display window, that is, i.e. the signal source to be displayed "a" and the signal source to be displayed "C, of course, as shown in fig. 2, when the two windows corresponding to the signal source "a" to be displayed and the signal source "C" to be displayed are overlapped and there is a selected condition, the signal source to be displayed corresponding to the uppermost window in the overlapping area is marked as the selected signal source to be displayed, that is, the selected signal source to be displayed is "C"; then, the judging device judges whether the signal source to be displayed "abaacabb" belongs to the selected signal source based on the identification information corresponding to the signal source to be displayed, and the obtained judgment result is as shown in fig. 2, wherein the signal source to be displayed "C" is the selected signal source to be displayed, and the remaining signal sources to be displayed "abaabaababab" are unselected signal sources to be displayed, then, all the data information corresponding to the selected signal source to be displayed "C" is decoded to obtain the frame data corresponding to the selected signal source to be displayed "C", and then, when the frame data corresponding to the selected signal source to be displayed "C" needs to be displayed, the frame data corresponding to the selected signal source to be displayed "C" is displayed in real time to avoid the display delay of the frame data corresponding to the signal source to be displayed.
Next, in the above embodiment of the present application, in order to ensure real-time display of the unselected signal source "abaababab" determined by the determining device, and reduce consumption of memory resources used by the unselected signal source to decode the corresponding data information when decoding the data information corresponding to the selected signal source "C", the step S13 screens the data information of the unselected signal source "ababab" to screen out the data information corresponding to the key frame data capable of reflecting the data information corresponding to the unselected signal source to be displayed, and correspondingly decodes the screened data information including the key frame data to obtain the frame data screening corresponding to each unselected signal source to be displayed, where the screening frame data includes the key frame data for identifying the unselected signal source to be displayed, the method and the device ensure real-time display of the key frame data of the unselected signal sources to be displayed, achieve real-time display of the screening frame data of the unselected signal sources, and avoid the unselected signal sources to be displayed from being in a static and non-updated display state, so that the selected and unselected signal sources to be displayed can be displayed in real time without delay.
Further, the determining device is further configured to:
acquiring a locally selected signal source and corresponding identification information thereof;
the judging whether the signal source to be displayed belongs to the selected signal source based on the identification information includes:
and judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information corresponding to the signal source to be displayed and the identification information corresponding to the selected signal source.
Next, in the above embodiment of the present application, before the determining device determines whether each signal source "abaacabb" to be displayed belongs to the selected signal source, the user at the user equipment end selects a signal source "C" from each displayed signal source "abaacabb" by using a mouse or a shortcut keyboard, and records the selected signal source "C" at the subsequent user equipment end, so that the locally selected signal source and the identification information corresponding to the locally selected signal source are obtained as "signal source C and the identification information thereof are MAC 3"; then, the judging device respectively judges whether each signal source to be displayed "ABAABACB" belongs to the selected signal source according to the identification information corresponding to each signal source to be displayed "ABAABACB" which is MAC1, MAC2, MAC1, MAC1, MAC2, MAC1, MAC3, MAC2 and the identification information "MAC 3" corresponding to the locally selected signal source "C", so as to obtain the signal source to be displayed "C" which belongs to the selected signal source, thereby realizing that the selected signal source to be displayed in all the signal sources to be displayed is determined based on the locally selected signal source.
Further, the determining device is further configured to: and locally storing the frame data corresponding to the selected signal source to be displayed. For example, after all the data information corresponding to the selected signal source "C" to be displayed is decoded, the decoded frame data corresponding to the selected signal source "C" to be displayed is stored locally, so that when the frame data corresponding to the selected signal source "C" to be displayed needs to be displayed subsequently, the frame data corresponding to the selected signal source "C" to be displayed can be read and displayed in real time, and the timeliness of frame data display is further improved.
Further, the judging device is configured to: and displaying frame data corresponding to the selected signal source to be displayed based on the original display frame rate. For example, if the original display frame rate is 30 frames/s, and frame data corresponding to the selected signal source to be displayed needs to be displayed, the frame data corresponding to the selected signal source "C" to be displayed is displayed according to the display frame rate of 30 frames/s, so as to realize real-time smooth display of the frame data corresponding to the selected signal source "C" to be displayed.
Further, the determining device is further configured to: and locally storing the screening frame data corresponding to the unselected signal source to be displayed. For example, after the data information corresponding to all the unselected signal sources to be displayed "abaabaababab" is screened and decoded, the screening frame data corresponding to each unselected signal source to be displayed "ababab" obtained after decoding is stored locally, so that when the screening frame data corresponding to any one signal source to be displayed in each unselected signal source to be displayed "ababab" needs to be displayed subsequently, the screening frame data corresponding to the selected signal source to be displayed (for example, the unselected signal source to be displayed "a" and the identification information MAC1 corresponding thereto) can be read and displayed in real time, and the timeliness of displaying the screening frame data is further improved.
Further, the judging device is configured to:
screening the data information of the unselected signal source to be displayed to obtain the screened data information of the unselected signal source to be displayed;
and decoding the screened data information to obtain screened frame data corresponding to the unselected signal source to be displayed.
Then, in the above embodiment of the present application, after each unselected signal source to be displayed "ababab" is determined, first, data information corresponding to the unselected signal source to be displayed (for example, signal source to be displayed "a") is screened to obtain data information including key frame data of the unselected signal source to be displayed "a"), then, the data information including key frame data of the unselected signal source to be displayed "a" is decoded to obtain screened frame data of the unselected signal source to be displayed "a", where the screened frame data includes key frame data for identifying the unselected signal source to be displayed "a" to decode the unselected signal source to display the screened frame data of the unselected signal source to be displayed in real time, so as to ensure real-time display of frame data corresponding to the selected signal source to be displayed, and the screening frame data corresponding to the unselected signal sources to be displayed can be displayed in real time, so that the display delay or delay of each signal source to be displayed is avoided.
Further, the judging device is configured to: determining the screening display frame rate of the unselected signal sources to be displayed based on the acquired number of the signal sources to be displayed; and screening the data information of the unselected signal source to be displayed based on the screening display frame rate. For example, if the number of the acquired to-be-displayed signal sources is 100, determining that the display frame rate of the unselected to-be-displayed signal source is 10 frames/s, or for example, if the number of the acquired to-be-displayed signal sources is 60, determining that the display frame rate of the unselected to-be-displayed signal source is 20 frames/s; for example, if the number of the acquired signal sources to be displayed is 20, determining that the display frame rate of the unselected signal source to be displayed is 25 frames/s, and dynamically determining the screening display frame rate of the unselected signal source to be displayed based on the number of the acquired signal sources to be displayed so as to ensure that screening frame data corresponding to each signal source to be displayed, which needs to be displayed, can be displayed in real time; then, based on the dynamically determined screening display frame rate, respectively screening data information corresponding to each unselected signal source to be displayed, so that the screened data information includes key frame data of the unselected signal source to be displayed.
Further, the judging device is configured to: and displaying the screening frame data corresponding to the unselected signal source to be displayed based on the screening display frame rate. For example, if the screening display frame rate dynamically determined based on the number of all the acquired to-be-displayed signal sources is 20 frames/s, the screening frame data corresponding to the selected to-be-displayed signal source is displayed according to the screening display frame rate of 20 frames/s, so that the screening frame data corresponding to the unselected to-be-displayed signal source "C" can be displayed smoothly in real time while the frame data corresponding to the unselected to-be-displayed signal source "abaabaababab" is displayed according to the original display frame rate of 30 frames/s.
Further, the determining device is further configured to: and obtaining the common frame data information corresponding to the unselected signal source to be displayed, and discarding the common frame data information. For example, in order to ensure real-time display of frame data corresponding to the selected signal source to be displayed and screening frame data corresponding to the unselected signal source to be displayed, after the data information of the unselected signal source to be displayed is screened by the judging device, common frame data information corresponding to each unselected signal source to be displayed is obtained, and the obtained common frame data information is discarded, so that consumption of memory resources and display frame rate in a real-time display process is reduced, and real-time performance and timeliness of display of the frame data corresponding to the selected signal source to be displayed and the screening frame data corresponding to the unselected signal source to be displayed are further ensured. In summary, in the present application, each signal source to be displayed and the corresponding identification information and data information thereof are obtained at a user equipment end; then, whether the signal source to be displayed belongs to the selected signal source is judged based on the identification information, if yes, data information corresponding to the selected signal source to be displayed is decoded to obtain frame data corresponding to the selected signal source to be displayed, the frame data corresponding to the selected signal source to be displayed is displayed, and real-time display of the frame data corresponding to the selected signal source to be displayed is achieved; further, if not, screening and decoding the data information of the unselected signal source to be displayed to obtain screening frame data corresponding to the unselected signal source to be displayed, wherein the screening frame data comprises key frame data for identifying the unselected signal source to be displayed and displaying the screening frame data corresponding to the unselected signal source to be displayed, and meanwhile, the data information of the unselected signal source to be displayed is screened and decoded, and the screened frame data corresponding to the unselected signal source to be displayed is displayed, so that the screened frame data corresponding to the unselected signal source to be displayed and containing the key frame data is displayed in real time, the screened frame data of the unselected signal source to be displayed is displayed in real time, the situation that the unselected signal source to be displayed is in a static and non-updated display state is avoided, and all the signal sources to be displayed are displayed in real time.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Claims (18)
1. A method of displaying frame data, wherein the method comprises:
acquiring signal sources to be displayed and corresponding identification information and data information of the signal sources to be displayed;
judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information,
if so, decoding data information corresponding to the selected signal source to be displayed to obtain frame data corresponding to the selected signal source to be displayed, and displaying the frame data corresponding to the selected signal source to be displayed;
and if not, screening and decoding the data information of the unselected signal source to be displayed to obtain screening frame data corresponding to the unselected signal source to be displayed, wherein the screening frame data comprises key frame data used for identifying the unselected signal source to be displayed, and the screening frame data corresponding to the unselected signal source to be displayed is displayed.
2. The method of claim 1, wherein before determining whether the signal source to be displayed belongs to the selected signal source based on the identification information, the method further comprises:
acquiring a locally selected signal source and corresponding identification information thereof;
the judging whether the signal source to be displayed belongs to the selected signal source based on the identification information includes:
and judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information corresponding to the signal source to be displayed and the identification information corresponding to the selected signal source.
3. The method according to claim 1, wherein before displaying the frame data corresponding to the selected signal source to be displayed, the method further comprises:
and locally storing the frame data corresponding to the selected signal source to be displayed.
4. The method according to claim 1, wherein the displaying the frame data corresponding to the selected signal source to be displayed comprises:
and displaying frame data corresponding to the selected signal source to be displayed based on the original display frame rate.
5. The method according to claim 1, wherein before displaying the filtered frame data corresponding to the unselected signal source to be displayed, the method further comprises:
and locally storing the screening frame data corresponding to the unselected signal source to be displayed.
6. The method according to claim 1, wherein the screening and decoding the data information of the unselected signal source to be displayed to obtain the screening frame data corresponding to the unselected signal source to be displayed includes:
screening the data information of the unselected signal source to be displayed to obtain the screened data information of the unselected signal source to be displayed;
and decoding the screened data information to obtain screened frame data corresponding to the unselected signal source to be displayed.
7. The method according to claim 6, wherein the screening the data information of the unselected signal source to be displayed comprises:
determining the screening display frame rate of the unselected signal sources to be displayed based on the acquired number of the signal sources to be displayed;
and screening the data information of the unselected signal source to be displayed based on the screening display frame rate.
8. The method according to claim 7, wherein the displaying the screening frame data corresponding to the unselected signal source to be displayed comprises:
and displaying the screening frame data corresponding to the unselected signal source to be displayed based on the screening display frame rate.
9. The method according to claim 1, wherein after the filtering the data information of the unselected signal sources to be displayed, the method further comprises:
and obtaining the common frame data information corresponding to the unselected signal source to be displayed, and discarding the common frame data information.
10. An apparatus for displaying frame data, wherein the apparatus comprises:
the acquisition device is used for acquiring each signal source to be displayed and corresponding identification information and data information;
judging means for judging whether the signal source to be displayed belongs to the selected signal source based on the identification information,
if so, decoding data information corresponding to the selected signal source to be displayed to obtain frame data corresponding to the selected signal source to be displayed, and displaying the frame data corresponding to the selected signal source to be displayed;
and if not, screening and decoding the data information of the unselected signal source to be displayed to obtain screening frame data corresponding to the unselected signal source to be displayed, wherein the screening frame data comprises key frame data used for identifying the unselected signal source to be displayed, and the screening frame data corresponding to the unselected signal source to be displayed is displayed.
11. The apparatus of claim 10, wherein the determining means is further configured to:
acquiring a locally selected signal source and corresponding identification information thereof;
and judging whether the signal source to be displayed belongs to the selected signal source or not based on the identification information corresponding to the signal source to be displayed and the identification information corresponding to the selected signal source.
12. The apparatus of claim 10, wherein the determining means is further configured to:
and locally storing the frame data corresponding to the selected signal source to be displayed.
13. The apparatus of claim 10, wherein the determining means is configured to:
and displaying frame data corresponding to the selected signal source to be displayed based on the original display frame rate.
14. The apparatus of claim 10, wherein the determining means is further configured to:
and locally storing the screening frame data corresponding to the unselected signal source to be displayed.
15. The apparatus of claim 10, wherein the determining means is configured to:
screening the data information of the unselected signal source to be displayed to obtain the screened data information of the unselected signal source to be displayed;
and decoding the screened data information to obtain screened frame data corresponding to the unselected signal source to be displayed.
16. The apparatus of claim 15, wherein the determining means is configured to:
determining the screening display frame rate of the unselected signal sources to be displayed based on the acquired number of the signal sources to be displayed;
and screening the data information of the unselected signal source to be displayed based on the screening display frame rate.
17. The apparatus of claim 16, wherein the determining means is configured to:
and displaying the screening frame data corresponding to the unselected signal source to be displayed based on the screening display frame rate.
18. The apparatus of claim 10, wherein the determining means is further configured to:
and obtaining the common frame data information corresponding to the unselected signal source to be displayed, and discarding the common frame data information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710109160.3A CN106652879B (en) | 2017-02-27 | 2017-02-27 | Method and equipment for displaying frame data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710109160.3A CN106652879B (en) | 2017-02-27 | 2017-02-27 | Method and equipment for displaying frame data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106652879A CN106652879A (en) | 2017-05-10 |
CN106652879B true CN106652879B (en) | 2020-06-19 |
Family
ID=58846650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710109160.3A Active CN106652879B (en) | 2017-02-27 | 2017-02-27 | Method and equipment for displaying frame data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106652879B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103021376B (en) * | 2012-11-26 | 2015-09-02 | 广东威创视讯科技股份有限公司 | A kind of multi signal image window display control method and system |
CN103024319A (en) * | 2012-12-28 | 2013-04-03 | 深圳Tcl新技术有限公司 | Method and device for controlling television set to display multiple things with display screen |
US9578372B2 (en) * | 2013-09-27 | 2017-02-21 | Cisco Technology, Inc. | Delay tolerant decoder |
CN105681789B (en) * | 2014-11-20 | 2018-07-17 | 炬芯(珠海)科技有限公司 | A kind of rearrangement method and device of reference frame data reading order |
CN104735419B (en) * | 2015-03-31 | 2017-10-10 | 广东威创视讯科技股份有限公司 | The display methods and system of vision signal |
CN105183287A (en) * | 2015-09-01 | 2015-12-23 | 联想(北京)有限公司 | Display processing method and electronic device |
CN105323636A (en) * | 2015-10-29 | 2016-02-10 | 无锡天脉聚源传媒科技有限公司 | Video processing method and video processing device |
-
2017
- 2017-02-27 CN CN201710109160.3A patent/CN106652879B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106652879A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20110227925A1 (en) | Displaying a visualization of event instances and common event sequences | |
CN110675399A (en) | Screen appearance flaw detection method and equipment | |
CN110851583A (en) | Novel recommendation method and device | |
US10324659B2 (en) | Detection of over-access of memory shared among multiple processes | |
CN111736825B (en) | Information display method, device, equipment and storage medium | |
WO2022017096A1 (en) | Screen recording method, electronic device, and computer readable storage medium | |
TW201624354A (en) | Method and apparatus for displaying information | |
EP3358484A1 (en) | Data presenting method and device, terminal, and storage medium | |
WO2022001027A1 (en) | Projection screen picture self-adaption method and apparatus in network teaching | |
CN106095417A (en) | A kind of prospect Application Program Interface refresh synchronization method and system | |
CN107193747B (en) | Code testing method and device and computer equipment | |
US11501172B2 (en) | Accurately identifying members of training data in variational autoencoders by reconstruction error | |
CN111259270A (en) | Weather reminding method, equipment and computer readable medium | |
CN109284101B (en) | Method and device for changing association of object attributes | |
WO2018121546A1 (en) | Method and device for displaying screen content of driving recording device | |
CN106652879B (en) | Method and equipment for displaying frame data | |
CN108304186B (en) | Method and equipment for executing multiple operations based on synthetic configuration file | |
CN113342434A (en) | Visualization method and device for display occupation of display object | |
CN107621951B (en) | View level optimization method and device | |
CN108089904B (en) | Display page expansion method and device | |
CN113377548A (en) | Identification generation method and device, computer equipment and storage medium | |
WO2017076027A1 (en) | Wallpaper processing method and apparatus | |
CN107766385B (en) | Method and equipment for converting file format of virtual disk | |
US10115064B2 (en) | Business storyboarding | |
CN115809956B (en) | Graphics processor performance analysis method, device, computer equipment and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |