Method, system and equipment for efficiently displaying effective information in video data and medium

By screenshotting and identifying key information of sports lottery video data and synthesizing gif animations, the problems of low efficiency and cumbersome operation of sports lottery lottery information in the existing technology are solved, efficient and convenient information display is achieved, and user experience is improved.

CN119583867APending Publication Date: 2025-03-07SUZHOU YIDUODUO INFORMATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411827306.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

When the existing sports lottery APP displays the sports lottery draw process, users need to watch the live broadcast at a specific time, and the live broadcast includes advertisements, which reduces user experience and efficiency; historical video playback requires users to manually drag the progress bar, which is cumbersome and easy to miss key information.

Method used

By obtaining the pending video data, setting the time interval for video screenshot processing, identifying key information and synthesizing gif animations containing the key processes and key results of the video, achieving efficient display of effective information in the video data.

Benefits of technology

It saves users time to watch the sports lottery live broadcast to understand the lottery process, saves users the tedious operation of dragging historical videos to view the lottery results, and improves the convenience and user experience of obtaining sports lottery information on mobile.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583867A_ABST
    Figure CN119583867A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a system and equipment for efficiently displaying effective information in video data and a medium, and the method comprises the following steps: obtaining to-be-processed video data, setting a time interval, and carrying out video screenshot processing on the to-be-processed video data according to the time interval to obtain a plurality of video screenshots; setting key information, performing key information identification on the plurality of video screenshots based on an OCR technology, and confirming a key screenshot in the plurality of video screenshots; determining an associated screenshot according to the position of the key screenshot in the plurality of video screenshots; synthesizing a gif moving picture containing a video key process and a key result based on the key screenshot and the associated screenshot; according to the invention, the historical lottery drawing video of the sports lottery can be converted into the dynamic graph form, the information acquisition requirements of the user who pays attention to the lottery drawing process and the user who pays attention to the lottery drawing result can be efficiently met, the time for the user to watch the sports lottery live broadcast to know the lottery drawing process is saved, and the tedious operation for the user to drag the historical video to check the lottery drawing result is omitted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and more specifically, to a method, system, device and medium for efficiently displaying effective information in video data. Background Art

[0002] In the current sports lottery app, the lottery draw process is mainly displayed to the public through live broadcast and historical video playback, covering various lottery types such as Super Lotto, Arrangement 3, Arrangement 5, Seven Stars, etc. This mechanism aims to increase the transparency and credibility of the lottery draw process and meet the supervision needs of lottery players and the public for the fairness of the lottery draw.

[0003] However, in actual operation, for users who care about the lottery process, watching the live broadcast is an instant and intuitive way. However, this method requires users to log in to the website at a specific time (i.e. when the lottery live broadcast begins) to watch, and the live broadcast is often interspersed with advertisements and other content that is irrelevant to the actual lottery process, which undoubtedly increases the user's time cost. In addition, if the user is only interested in the lottery results of a specific lottery type, and the lottery order of this lottery type is relatively late, the user has to wait patiently and watch the lottery process of all the previous lottery types, which undoubtedly reduces the viewing efficiency and user experience.

[0004] On the other hand, historical video playback, as another way to watch the lottery process, although it provides time flexibility and allows users to review past lottery records at any time, also faces similar problems as live broadcasts. Users need to manually drag the video progress bar to skip the lottery draws that they are not interested in or are already familiar with. This process is not only cumbersome, but also easy to miss key information during the operation, affecting the continuity and accuracy of viewing.

[0005] In summary, the existing sports lottery APP does not provide a convenient information acquisition solution for the sports lottery draw process, which reduces the efficiency and flexibility of users in obtaining key information. Summary of the invention

[0006] The object of the present invention is to provide a method, system, device and medium for efficiently displaying effective information in video data, thereby solving all or one of the above-mentioned problems existing in the prior art.

[0007] In order to solve the above technical problems, the specific technical solutions of the present invention are as follows: In one aspect, the present invention provides a method for efficiently displaying effective information in video data, comprising the following steps: Image capture steps: Acquire the video data to be processed, set a time interval, and perform video screenshot processing on the video data to be processed according to the time interval to obtain a plurality of video screenshots; Key screenshot recognition steps: Setting key information, identifying the key information on the plurality of video screenshots respectively based on the OCR technology, and confirming the key screenshots among the plurality of video screenshots; GIF synthesis steps: Determine the associated screenshots according to the positions of the key screenshots in the plurality of video screenshots; and synthesize a GIF animation containing the key process and key results of the video based on the key screenshots and the associated screenshots.

[0008] As an improved solution, the image interception step further includes: The video data to be processed is played, and during the playing process, a frame grabber FFmpegFrameGrabber is used to grab the video screenshot of the video to be processed.

[0009] As an improved solution, the time interval includes: one second.

[0010] As an improved solution, the image interception step further includes: The plurality of video screenshots are saved in the order of creation time, and the plurality of file names corresponding to the plurality of video screenshots are named with increasing Arabic numerals.

[0011] As an improved solution, the key screenshot identification step further includes: In response to the video screenshot being of a sports lottery type, setting the key information to a key ball; The key ball is determined according to the number of winning numbers appearing in the sports lottery.

[0012] As an improved solution, the key screenshot identification step further includes: Determine that a video screenshot containing the key information among the plurality of video screenshots is the key screenshot.

[0013] As an improved solution, the GIF synthesis step further includes: The video screenshot between two adjacent key screenshots is used as the associated screenshot; Sort the key screenshots and the associated screenshots according to the ascending order of the Arabic numerals in the file names of the key screenshots and the associated screenshots; The sorted key screenshots and the associated screenshots are combined into the gif animation.

[0014] On the other hand, the present invention also provides an efficient display system for effective information in video data, comprising: An image capture module is used to obtain the video data to be processed, set a time interval, and perform video capture processing on the video data to be processed according to the time interval to obtain a plurality of video captures; A key screenshot recognition module, used to set key information, recognize the key information of the plurality of video screenshots respectively based on OCR technology, and identify the key screenshots among the plurality of video screenshots; The GIF synthesis module is used to determine the associated screenshots according to the position of the key screenshots in the plurality of video screenshots; and synthesize a GIF animation containing the key process and key results of the video based on the key screenshots and the associated screenshots.

[0015] On the other hand, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for efficiently displaying effective information in the video data are implemented.

[0016] On the other hand, the present invention further provides a computer device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the method for efficiently displaying effective information in the video data by running the program stored in the memory.

[0017] The beneficial effects of the technical solution of the present invention are: 1. The efficient display method of effective information in video data described in the present invention can realize the conversion of sports lottery historical lottery videos into animated images, and can efficiently meet the information acquisition needs of users who focus on the lottery process and users who focus on the lottery results. It saves users' time in watching sports lottery live broadcasts to understand the lottery process, and also saves users from the tedious operation of dragging historical videos to view lottery results. It improves the convenience of mobile terminals for obtaining sports lottery information, improves user experience, makes up for the defects of the existing technology, and has high application value.

[0018] 2. The efficient display system of effective information in video data described in the present invention can realize the efficient display method of effective information in video data described in the present invention through the mutual cooperation of system modules.

[0019] 3. The computer-readable storage medium described in the present invention can realize the cooperation of the guidance system module, thereby realizing the efficient display method of effective information in the video data described in the present invention, and the computer-readable storage medium described in the present invention also effectively improves the operability of the efficient display method of effective information in the video data.

[0020] 4. The computer device described in the present invention can store and execute the computer-readable storage medium, thereby realizing the efficient display method of effective information in video data described in the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 is a flow chart of a method for efficiently displaying effective information in video data according to Embodiment 1 of the present invention; Figure 2 It is a schematic diagram of a partial implementation code of step S100 in the method for efficiently displaying effective information in video data according to embodiment 1 of the present invention; Figure 3 It is a schematic diagram of a partial implementation code of step S200 in the method for efficiently displaying effective information in video data according to embodiment 1 of the present invention; Figure 4 is a schematic diagram of the architecture of a system for efficiently displaying effective information in video data according to Embodiment 2 of the present invention; Figure 5 is a schematic diagram of the structure of the computer device described in Example 4 of the present invention; The symbols in the accompanying drawings are explained as follows: 1501, processor; 1502, communication interface; 1503, memory; 1504, communication bus. DETAILED DESCRIPTION

[0023] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.

[0024] In the description of the present invention, it should be noted that the embodiments described in the present invention are only part of the embodiments of the present invention, rather than all of the embodiments; based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

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

[0026] This embodiment provides an efficient method for displaying effective information in video data, such as Figure 1~Figure 3 As shown, the following steps are included: S100, image capture steps: In this step, the video data to be processed is obtained, the video data to be processed is played, and video screenshots are processed at preset time intervals during the playback process, and finally a number of video screenshots are obtained, as follows: Specifically, the frame grabber FFmpegFrameGrabber (groupId is org.bytedeco, artifactId is javacv) is used to grab video screenshots: Specifically, the continuously captured video screenshots are temporarily saved in jpg format, and the screenshot names are incremented from 1 in chronological order; Specifically, the preset time interval is 1 second, that is, the screenshot frequency is 1 screenshot per second, thereby achieving the effect of not missing the main information frames in the video.

[0027] S200, key screenshot recognition steps: In this step, OCR technology is used to identify key information of several video screenshots, and the video screenshots containing key information are confirmed as key screenshots, as follows: Specifically, since the present application is applied to sports lottery draw videos or live broadcast videos, the aforementioned video screenshots are video screenshots of the sports lottery draw process, and the key information is whether there is a "key ball" in each screenshot; Specifically, taking the Super Lotto as an example, the winning numbers of the Super Lotto are 5 red balls and 2 blue balls, so the "key balls (key information)" are the first balls, the fifth balls, the sixth balls and the seventh balls that appear for the first time; Specifically, taking the game of Arrangement 3 as an example, the winning numbers of Arrangement 3 are 3 red balls, so the "key balls (key information)" are the first and third balls that appear for the first time; Specifically, the OCR technology is used in this step to confirm how many balls are in each screenshot, and finally to confirm a certain video screenshot where the above-mentioned "key ball" appears as the key screenshot.

[0028] S300, GIF synthesis steps: In this step, according to the position of the key screenshots, the captured video screenshots are selectively synthesized to obtain a GIF that can finally contain key information and the video process, as follows: Specifically, the key screenshots containing the "key ball" and the related screenshots between the key screenshots are synthesized into the final GIF animation; Specifically, taking the Super Lotto as an example, when the first screenshot of the first ball is 101.jpg, the first screenshot of the fifth ball is 165.jpg, the first screenshot of the sixth ball is 182.jpg, and the first screenshot of the seventh ball is 192.jpg, the synthesis strategy of the gif animation is as follows: Set 101.jpg, 165.jpg, 182.jpg and 192.jpg as the first to fourth key screenshots respectively; The 63 screenshots from 102.jpg to 164.jpg between 101.jpg and 165.jpg are taken as the first associated screenshots; Take the 9 screenshots from 183.jpg to 191.jpg between 182.jpg and 192.jpg as the second associated screenshots; The first to fourth key screenshots, the first associated screenshots and the second associated screenshots are combined into the final gif animation in the order of the screenshot names.

[0029] It should be noted that the above examples are only for explaining the present invention and cannot limit the protection scope of the present invention. Example 2

[0030] This embodiment is based on the same inventive concept as the method for efficiently displaying effective information in video data described in Embodiment 1, and provides an efficient display system for effective information in video data, such as Figure 4 As shown, including: An image capture module is used to obtain the video data to be processed, set a time interval, and perform video capture processing on the video data to be processed according to the time interval to obtain a plurality of video captures; A key screenshot recognition module, used to set key information, recognize the key information of the plurality of video screenshots respectively based on OCR technology, and identify the key screenshots among the plurality of video screenshots; The GIF synthesis module is used to determine the associated screenshots according to the position of the key screenshots in the plurality of video screenshots; and synthesize a GIF animation containing the key process and key results of the video based on the key screenshots and the associated screenshots. Example 3

[0031] This embodiment provides a computer-readable storage medium, including: The storage medium is used to store computer software instructions used to implement the efficient display method of effective information in video data described in the above-mentioned embodiment 1, which includes a program for executing the above-mentioned program set for the efficient display method of effective information in video data; specifically, the executable program can be built into the efficient display system of effective information in video data described in embodiment 2, so that the efficient display system of effective information in video data can implement the efficient display method of effective information in video data described in embodiment 1 by executing the built-in executable program.

[0032] In addition, the computer-readable storage medium of this embodiment may adopt any combination of one or more computer-readable storage media, wherein the computer-readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or components, or any combination thereof. Example 4

[0033] This embodiment provides an electronic device, such as Figure 5 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .

[0034] Memory 1503, used for storing computer programs; The processor 1501 is used to implement the steps of the method for efficiently displaying effective information in video data described in the above-mentioned embodiment 1 when executing the computer program stored in the memory 1503.

[0035] As an embodiment of the present invention, the communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0036] As an implementation mode of the present invention, the communication interface is used for communication between the above-mentioned terminal and other devices.

[0037] As an embodiment of the present invention, the memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0038] As an embodiment of the present invention, the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0039] Different from the prior art, the present application adopts a method, system, device and medium for efficiently displaying effective information in video data, which can convert historical lottery draw videos into animated images, and can efficiently meet the information acquisition needs of users who focus on the draw process and users who focus on the draw results. It saves users' time in watching sports lottery live broadcasts to understand the draw process, and also saves users from the tedious operation of dragging historical videos to view draw results. It improves the convenience of mobile terminals for obtaining sports lottery information, improves user experience, makes up for the defects of the prior art, and has high application value.

[0040] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.

[0041] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0042] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this article.

[0043] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0044] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.

[0045] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.

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

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

[0048] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for efficiently displaying effective information in video data, characterized in that: The following steps are involved: Image capture steps: Acquire the video data to be processed, set a time interval, and perform video screenshot processing on the video data to be processed according to the time interval to obtain a plurality of video screenshots; Key screenshot recognition steps: Setting key information, identifying the key information on the plurality of video screenshots respectively based on the OCR technology, and confirming the key screenshots among the plurality of video screenshots; GIF synthesis steps: Determine the associated screenshots according to the positions of the key screenshots in the plurality of video screenshots; and synthesize a GIF animation containing the key process and key results of the video based on the key screenshots and the associated screenshots.

2. The method for efficiently displaying effective information in video data according to claim 1, characterized in that: The image interception step further comprises: The video data to be processed is played, and during the playing process, a frame grabber FFmpegFrameGrabber is used to grab the video screenshot of the video to be processed.

3. The method for efficiently displaying effective information in video data according to claim 2, characterized in that: The time interval includes: one second.

4. The method for efficiently displaying effective information in video data according to claim 2, characterized in that: The image interception step further includes: The plurality of video screenshots are saved in the order of creation time, and the plurality of file names corresponding to the plurality of video screenshots are named with increasing Arabic numerals.

5. The method for efficiently displaying effective information in video data according to claim 1, characterized in that: The key screenshot identification step further includes: In response to the video screenshot being of a sports lottery type, setting the key information to a key ball; The key ball is determined according to the number of winning numbers appearing in the sports lottery.

6. The method for efficiently displaying effective information in video data according to claim 1, characterized in that: The key screenshot identification step further includes: Determine that a video screenshot containing the key information among the plurality of video screenshots is the key screenshot.

7. The method for efficiently displaying effective information in video data according to claim 1, characterized in that: The GIF synthesis step further comprises: The video screenshot between two adjacent key screenshots is used as the associated screenshot; Sort the key screenshots and the associated screenshots according to the ascending order of the Arabic numerals in the file names of the key screenshots and the associated screenshots; The sorted key screenshots and the associated screenshots are combined into the gif animation.

8. An efficient display system for effective information in video data, characterized in that: include: An image capture module is used to obtain the video data to be processed, set a time interval, and perform video capture processing on the video data to be processed according to the time interval to obtain a plurality of video captures; A key screenshot recognition module, used to set key information, recognize the key information of the plurality of video screenshots respectively based on OCR technology, and identify the key screenshots among the plurality of video screenshots; The GIF synthesis module is used to determine the associated screenshots according to the position of the key screenshots in the plurality of video screenshots; and synthesize a GIF animation containing the key process and key results of the video based on the key screenshots and the associated screenshots.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for efficiently displaying effective information in video data as described in any one of claims 1 to 7.

10. A computer device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the method for efficiently displaying effective information in video data as described in any one of claims 1 to 7 by running the program stored in the memory.

Citation Information

Cited By

  • Practical training room desktop operation key step playback method based on real-time screenshot splicing

    CN121542468A