CN113946380B - Picture loading method and device and video processing equipment - Google Patents

Picture loading method and device and video processing equipment Download PDF

Info

Publication number
CN113946380B
CN113946380B CN202010695770.8A CN202010695770A CN113946380B CN 113946380 B CN113946380 B CN 113946380B CN 202010695770 A CN202010695770 A CN 202010695770A CN 113946380 B CN113946380 B CN 113946380B
Authority
CN
China
Prior art keywords
picture
identification information
volatile memory
loading
target
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
Application number
CN202010695770.8A
Other languages
Chinese (zh)
Other versions
CN113946380A (en
Inventor
杨焕刚
周晶晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202010695770.8A priority Critical patent/CN113946380B/en
Publication of CN113946380A publication Critical patent/CN113946380A/en
Application granted granted Critical
Publication of CN113946380B publication Critical patent/CN113946380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses a picture loading method and device and video processing equipment. The picture loading method is applicable to a processor of a video processing device, the video processing device further comprises a volatile memory and a nonvolatile memory which are respectively electrically connected with the processor, and the picture loading method comprises the following steps: reading and analyzing the current scene file stored in the nonvolatile memory to obtain a target identification information set of a target display picture set; and traversing the picture set stored in the nonvolatile memory, and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory. The picture loading method provided by the embodiment of the invention can accelerate the starting-up speed of the video processing equipment and improve the user experience.

Description

Picture loading method and device and video processing equipment
Technical Field
The present invention relates to the field of video processing devices, and in particular, to a picture loading method, a picture loading device, and a video processing device.
Background
At present, video processing equipment becomes an essential system link in the LED display industry, and along with the maturity of the market, the functional requirement of users on the video processing equipment is increased, so that the data volume configured by the users in the process of using the video processing equipment is increased, and as a result, the problem of slow starting speed of the video processing equipment after the video processing equipment is used for a period of time is caused, and the user experience is seriously influenced.
Therefore, how to increase the starting-up speed of the video processing device is a technical problem to be solved.
Disclosure of Invention
Therefore, in order to overcome the defects and shortcomings of the prior art, the embodiment of the invention provides a picture loading method, a picture loading device and video processing equipment.
In one aspect, an embodiment of the present invention provides a picture loading method, which is applicable to a processor of a video processing device, where the video processing device further includes a volatile memory and a nonvolatile memory that are electrically connected to the processor, respectively, and the picture loading method includes: reading and analyzing the current scene file stored in the nonvolatile memory to obtain a target identification information set of a target display picture set; and traversing the picture set stored in the nonvolatile memory, and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory.
In the above scheme, the picture loading method according to the embodiment of the present invention traverses the picture set stored in the non-volatile memory, and loads the target display picture set corresponding to the target identification information set in the current scene file in the picture set to the volatile memory, so that only the target display picture set corresponding to the current scene file is loaded to the volatile memory during startup, and thus, the startup speed of the video processing device is increased, and user experience is improved.
In one embodiment of the invention, the picture set includes a first picture; the traversing the picture set stored in the nonvolatile memory, and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory, specifically includes: reading first picture identification information of the first picture; judging whether first target identification information matched with the first picture identification information exists in the target identification information set or not; and loading the first picture to the volatile memory in response to the target identification information being present in the set of first target identification information that matches the first picture identification information.
In one embodiment of the present invention, the picture loading method further includes: judging whether the picture set stored in the nonvolatile memory is traversed or not in response to the fact that the first target identification information matched with the first picture identification information does not exist in the target identification information set; reading second picture identification information of a second picture in the picture set in response to the picture set stored in the nonvolatile memory being not traversed; judging whether second target identification information matched with the second picture identification information exists in the target identification information set or not; and loading the second picture to the volatile memory in response to the second target identification information being present in the set of target identification information that matches the second picture identification information.
In one embodiment of the present invention, the picture loading method further includes: responding to the image set which is traversed and stored in the nonvolatile memory, and acquiring layout information of the target display image set according to the current scene file; reading the target display picture set in the volatile memory, and displaying the target display picture set according to the layout information so that the video processing equipment can normally operate; and during normal operation of the video processing equipment, obtaining an unloaded picture which is not loaded to the volatile memory in the nonvolatile memory, and loading the unloaded picture to the volatile memory.
In one embodiment of the present invention, the traversing the picture set stored in the nonvolatile memory, and loading the target display picture set corresponding to the target identification information set in the picture set into the volatile memory, further includes: marking each target display picture corresponding to the target display picture set in the nonvolatile memory as a loaded picture; during normal operation of the video processing device, obtaining an unloaded picture which is not loaded to the volatile memory in the nonvolatile memory, and loading the unloaded picture to the volatile memory, wherein the method specifically comprises the following steps: in response to reaching the loading permission time, judging whether the target picture in the nonvolatile memory is a loaded picture or not; loading the target picture to the volatile memory in response to the target picture being an unloaded picture, marking the target picture as a loaded picture; judging whether each picture in the nonvolatile memory is loaded to the volatile memory or not; and in response to each picture in the non-volatile memory being loaded into the volatile memory, no picture loading process is performed, or in response to there being other pictures in the non-volatile memory that are not loaded into the volatile memory, updating the load permission time.
In another aspect, an embodiment of the present invention provides a picture loading device, which is applicable to a processor of a video processing apparatus, where the video processing apparatus further includes a volatile memory and a nonvolatile memory that are electrically connected to the processor, respectively, and the picture loading device includes: the reading and analyzing module is used for reading and analyzing the current scene file stored in the nonvolatile memory to obtain a target identification information set of a target display picture set; and the traversing and loading module is used for traversing the picture set stored in the nonvolatile memory and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory.
In the above scheme, the picture loading device according to the embodiment of the present invention loads the target display picture set corresponding to the target identification information set in the current scene file into the volatile memory by traversing the picture set stored in the nonvolatile memory, so as to load only the target display picture set corresponding to the current scene file into the volatile memory during startup, thereby accelerating startup speed of the video processing device, and improving user experience.
In one embodiment of the invention, the picture set includes a first picture; the traversing and loading module specifically comprises: the first reading unit is used for reading first picture identification information of the first picture; a first judging unit, configured to judge whether first target identification information matched with the first picture identification information exists in the target identification information set; and a first response unit configured to load the first picture into the volatile memory in response to the first target identification information that matches the first picture identification information being present in the target identification information set.
In one embodiment of the present invention, the traversing and loading module further comprises: a second response unit, configured to determine whether to traverse the picture set stored in the nonvolatile memory in response to the target identification information set not having the first target identification information matched with the first picture identification information; a third response unit, configured to read second picture identification information of a second picture in the picture set in response to the picture set stored in the non-volatile memory not being traversed; a second judging unit, configured to judge whether second target identification information matched with the second picture identification information exists in the target identification information set; and a fourth response unit configured to load the second picture into the volatile memory in response to the second target identification information matching the second picture identification information being present in the target identification information set.
In one embodiment of the present invention, the traversing and loading module further comprises: a fifth response unit, configured to obtain layout information of the target display picture set according to the current scene file in response to traversing the picture set stored in the nonvolatile memory; the reading and displaying unit is used for reading the target display picture set in the volatile memory and displaying the target display picture set according to the layout information so that the video processing equipment can normally operate; and the loading unit is used for acquiring unloaded pictures which are not loaded to the volatile memory in the nonvolatile memory and loading the unloaded pictures to the volatile memory during normal operation of the video processing equipment.
In still another aspect, an embodiment of the present invention provides a video processing apparatus, including: a volatile memory; a nonvolatile memory; and a processor electrically connected between the volatile memory and the nonvolatile memory and configured to perform any of the above-described picture loading methods.
The above technical solution may have the following advantages or benefits: according to the picture loading method, the picture set stored in the nonvolatile memory is traversed, and the target display picture set corresponding to the target identification information set in the picture set is loaded into the volatile memory, so that only the target display picture set corresponding to the current scene file is loaded into the volatile memory when the video processing device is started, and therefore the starting speed of the video processing device is increased, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a picture loading method according to a first embodiment of the present invention.
Fig. 2 is a schematic flow chart of step S11 in fig. 1.
Fig. 3 is a schematic diagram of another specific flow of step S11 in fig. 1.
Fig. 4 is a schematic diagram of another specific flow of step S11 in fig. 1.
Fig. 5 is a schematic diagram illustrating a specific flow of step S119 in fig. 4.
Fig. 6 is a schematic structural diagram of a video processing apparatus to which the first embodiment of the present invention is applied.
Fig. 7 is a schematic block diagram of a picture loading device according to a second embodiment of the present invention.
FIG. 8 is a block diagram of the traverse and load module of FIG. 7.
FIG. 9 is a schematic diagram of another unit structure of the walk and load module of FIG. 7.
FIG. 10 is a schematic diagram of yet another unit structure of the walk-through and load module of FIG. 7.
Fig. 11 is a schematic structural diagram of a picture loading system according to a third embodiment of the present invention.
Fig. 12 is a schematic structural view of a computer readable storage medium according to a fourth embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Aiming at the problem of slow starting-up speed of the video processing device, it is found that at present, when the video processing device is started up, pictures such as background pictures (BKG) or LOGO pictures (LOGO, icon or label) stored in a non-volatile memory such as a Flash memory of the video processing device need to be fully loaded into a volatile memory such as DDR (Double Data Rate) memory of the video processing device. However, because of the large and large number of these pictures, the process of loading the pictures into DDR memory is time consuming and can even consume a significant portion of the on-time of the video processing device. Based on the above, the embodiment of the invention provides a picture loading method to solve the problem of slow starting-up speed of video processing equipment.
[ First embodiment ]
Referring to fig. 1, a picture loading method according to a first embodiment of the present invention is shown. The picture loading method is applicable to a processor of a video processing device, the video processing device further comprises a volatile memory and a nonvolatile memory which are respectively electrically connected with the processor, and the picture loading method comprises the following steps:
S10, reading and analyzing the current scene file stored in the nonvolatile memory to obtain a target identification information set of a target display picture set;
s11, traversing the picture set stored in the nonvolatile memory, and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory.
It should be noted that the current scene file is corresponding configuration information stored in the video processing device when the video processing device is used by the user last time, where the configuration information includes, but is not limited to, layout information of a picture, for example, a background picture (BKG), and identification information, for example, a picture name. The target display picture set is a picture corresponding to a picture name included in the current scene file, namely a picture required to be used by the current scene file. The target display picture set may include one or more pictures, and embodiments of the present invention are not specifically limited herein. In addition, the traversing is performed according to the storage sequence of the pictures in the picture set in the nonvolatile memory, for example, but the embodiment of the invention is not limited thereto.
In order to facilitate understanding of the present invention, a picture loading method according to an embodiment of the present invention will be described in detail with reference to fig. 2 to 6. The picture loading method of embodiments of the present invention may, for example, run on a video processing device 20 (shown in fig. 6) that includes a processor 22. The video processing device 20 further comprises a volatile memory 21 and a non-volatile memory 23 electrically connected to the processor 22, respectively. The non-volatile memory 23 is, for example, a Flash memory, the volatile memory 21 is, for example, a DDR memory, and the processor 22 is, for example, an MCU (Microcontroller Unit, micro control unit) or ARM (Advanced RISC Machine) processor, but the embodiment of the present invention is not limited thereto.
When the picture loading method is executed, as shown in fig. 1, the processor 22 first reads and parses the current scene file stored in the nonvolatile memory 23 to obtain a target identification information set of a target display picture set; then traversing the picture set stored in the nonvolatile memory 23, and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory 21. The target identification information set is, for example, a picture name of a target display picture set. According to the scheme, by traversing the picture set stored in the nonvolatile memory 23 and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory 21, only the target display picture set corresponding to the current scene file is loaded to the volatile memory 21 during starting, so that the starting speed of the video processing device 20 is increased, and the user experience is improved.
The picture set comprises a first picture; as shown in fig. 2, the step S11 specifically includes: s110, the processor 22 reads first picture identification information of the first picture (for example, a name of the first picture); s111, judging whether first target identification information matched with (for example, identical to) the first picture identification information exists in the target identification information set; and S112, in response to the presence of the first target identification information matching the first picture identification information in the target identification information set, the processor 22 loads the first picture into the volatile memory 21.
In view of the foregoing, as shown in fig. 3, the image loading method further includes: s113, the processor 22 determines whether to traverse the picture set stored in the nonvolatile memory 23 in response to the target identification information set not having the first target identification information matched with the first picture identification information; s114, the processor 22 reads second picture identification information (for example, a name of a second picture) of the picture set in response to the picture set stored in the non-volatile memory 23 not being traversed; s115, the processor 22 determines whether there is second target identification information matching the second picture identification information in the target identification information set; and S116, in response to the second target identification information matching the second picture identification information being present in the target identification information set, the processor 22 loads the second picture into the volatile memory 21.
In view of the foregoing, as shown in fig. 4, the image loading method further includes: s117, the processor 22 obtains layout information of the target display picture set according to the current scene file in response to traversing the picture set stored in the nonvolatile memory 23; s118, the processor 22 reads the target display picture set in the volatile memory 21, and displays the target display picture set according to the layout information, so that the video processing apparatus can operate normally; s119, during normal operation of the video processing apparatus, the processor 22 acquires an unloaded picture that is not loaded into the volatile memory 21 in the nonvolatile memory 23, and loads the unloaded picture into the volatile memory 21. In this scheme, the pictures, which are not needed by the current scene file, in the picture set stored in the non-volatile memory 23 are loaded into the volatile memory 21 during the normal operation of the video processing device 20, so that the user can use the pictures during the normal operation of the video processing device 20, and thus, only the pictures needed by the current scene file are loaded during the startup, and other pictures are loaded into the volatile memory 21 after the normal operation of the video processing device 20, thereby improving the startup speed, and meanwhile, the user can not be influenced to use other pictures, and thus improving the user experience.
In the above, step S11 further includes: each target display picture corresponding to the target display picture set in the non-volatile memory 23 is marked as a loaded picture, where the marking process may set a loading flag field for a picture, and after the picture is loaded into the volatile memory 21, the processor 22 sets a value corresponding to the loading flag field to 1, or may set other values as long as it can indicate that the picture has been loaded into the volatile memory 21.
As shown in fig. 5, the step S119 specifically includes: s1190, in response to reaching the load permission time, determining whether the target picture in the nonvolatile memory 23 is a loaded picture, where it is determined whether the target picture is a loaded picture, for example, by determining whether a load flag field of the target picture is 1; s1191, in response to the target picture being an unloaded picture, loading the target picture into the volatile memory 21, marking the target picture as a loaded picture; s1192, determining whether each picture in the nonvolatile memory 23 is loaded into the volatile memory; and S1193, in response to each picture in the nonvolatile memory 23 being loaded into the volatile memory 21, no picture loading process is performed, or in response to there being another picture in the nonvolatile memory 23 that is not loaded into the volatile memory 21, updating the loading permission time. It should be noted that the loading permission time may be determined by the processor 22 according to a user-defined detection period, for example, by executing the loading process of fig. 5 every 5 minutes after the video processing apparatus 20 is normally operated. Furthermore, the target picture is a picture in the picture set in the nonvolatile memory 23, and the loading process is performed, for example, according to the sequence of the pictures stored in the nonvolatile memory 23 corresponding to the storage addresses, for example, the first picture stored in the nonvolatile memory 23 is first determined, the first picture is the current target picture, and after the first picture is subjected to the relevant determination or processing, the next picture, that is, the second picture is the target picture at this time. Here, the loading permission time is set to periodically load the pictures which are not loaded in the volatile memory 21 in the nonvolatile memory 23, so that the video processor 20 is not blocked, thereby improving the user experience.
In addition, before the processor 22 executes step S11, a loading environment preparation is performed, which includes, but is not limited to, initialization of the IO/DDR/FPGA, which is common knowledge in the technical field of video processing devices, and the embodiment of the present invention is not specifically described herein.
In summary, according to the picture loading method in the embodiment of the present invention, by traversing the picture set stored in the non-volatile memory and loading the target display picture set corresponding to the target identification information set in the current scene file in the picture set to the volatile memory, only the target display picture set corresponding to the current scene file is loaded to the volatile memory during startup, so that startup speed of the video processing device is increased, and user experience is improved.
[ Second embodiment ]
As shown in fig. 7, a second embodiment of the present invention provides a picture loading device 30, which is suitable for a processor of a video processing apparatus, and the video processing apparatus further includes a volatile memory and a nonvolatile memory electrically connected to the processor, respectively. The picture loading means 30 comprise, for example, a reading and parsing module 31 and a traversing and loading module 32.
Specifically, the reading and analyzing module 31 is configured to read and analyze the current scene file stored in the nonvolatile memory to obtain a target identification information set of the target display picture set; and
And a traversing and loading module 32, configured to traverse the picture set stored in the nonvolatile memory, and load the target display picture set corresponding to the target identification information set in the picture set into the volatile memory.
In one embodiment of the present invention, the picture set includes a first picture; as shown in fig. 8, the traversing and loading module 32 specifically includes:
a first reading unit 320, configured to read first picture identification information of the first picture;
A first judging unit 321, configured to judge whether first target identification information matched with the first picture identification information exists in the target identification information set; and
A first response unit 322, configured to load the first picture into the volatile memory in response to the target identification information set having the first target identification information matched with the first picture identification information.
In one embodiment of the present invention, as shown in fig. 9, the traversing and loading module 30 further includes:
A second response unit 323, configured to determine whether to traverse the picture set stored in the nonvolatile memory, in response to the target identification information set not having the first target identification information matched with the first picture identification information;
a third response unit 324, configured to read second picture identification information of a second picture in the picture set in response to the picture set stored in the nonvolatile memory not being traversed;
A second judging unit 325, configured to judge whether second target identification information matched with the second picture identification information exists in the target identification information set; and
And a fourth response unit 326, configured to load the second picture into the volatile memory in response to the second target identification information matching the second picture identification information being present in the target identification information set.
In one embodiment of the present invention, as shown in fig. 10, the traversing and loading module 30 further includes:
a fifth response unit 327, configured to obtain layout information of the target display picture set according to the current scene file in response to traversing the picture set stored in the nonvolatile memory; and
A reading and displaying unit 328 that reads the target display picture set in the volatile memory and displays the target display picture set according to the layout information so that the video processing apparatus can operate normally;
And a loading unit 329, configured to obtain, during normal operation of the video processing device, an unloaded picture that is not loaded into the volatile memory in the nonvolatile memory, and load the unloaded picture into the volatile memory.
In one embodiment of the present invention, the traversing and loading module 32 is further configured to mark each target display picture corresponding to the target display picture set in the non-volatile memory as a loaded picture; the loading unit 329 is specifically configured to: in response to reaching the loading permission time, judging whether the target picture in the nonvolatile memory is a loaded picture or not; loading the target picture to the volatile memory in response to the target picture being an unloaded picture, marking the target picture as a loaded picture; judging whether each picture in the nonvolatile memory is loaded to the volatile memory or not; and in response to each picture in the non-volatile memory being loaded into the volatile memory, no picture loading process is performed, or in response to there being other pictures in the non-volatile memory that are not loaded into the volatile memory, updating the load permission time.
The specific working process and technical effects between the modules in the picture loading device 30 in this embodiment can be referred to the related description of the foregoing first embodiment, and will not be repeated here.
[ Third embodiment ]
As shown in fig. 11, a picture loading system 50 according to a third embodiment of the present invention includes: a processor 52 and a memory 54; wherein the memory 54 stores instructions for execution by the processor 52 and which, for example, cause the processor 52 to perform operations to carry out the picture loading method described in the foregoing first embodiment.
[ Fourth embodiment ]
As shown in fig. 12, a fourth embodiment of the present invention provides a computer-readable storage medium 60, which is a nonvolatile memory and stores program code that, when executed by one or more processors, for example, causes the one or more processors to perform the picture loading method described in the foregoing first embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments may be arbitrarily combined and matched without conflict in technical features, contradiction in structure, and departure from the purpose of the present invention.
In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and/or methods may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and the division of the units/modules is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units/modules described as separate units may or may not be physically separate, and units/modules may or may not be physically units, may be located in one place, or may be distributed on multiple network units. Some or all of the units/modules may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated in one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated in one unit/module. The integrated units/modules may be implemented in hardware or in hardware plus software functional units/modules.
The integrated units/modules implemented in the form of software functional units/modules described above may be stored in a computer readable storage medium. The software functional units described above are stored in a storage medium and include instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device, etc.) to perform some steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk, or an optical disk, etc., which can store program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A picture loading method, characterized by being applied to a processor of a video processing device, the video processing device further comprising a volatile memory and a nonvolatile memory electrically connected to the processor, respectively, the picture loading method comprising:
Reading and analyzing the current scene file stored in the nonvolatile memory to obtain a target identification information set of a target display picture set; and
Traversing the picture set stored in the nonvolatile memory, and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory;
the picture set comprises a first picture, and the current scene file is corresponding configuration information stored by the video processing equipment when a user uses the video processing equipment last time;
The traversing the picture set stored in the nonvolatile memory, and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory, specifically includes:
reading first picture identification information of the first picture;
judging whether first target identification information matched with the first picture identification information exists in the target identification information set or not; and
And loading the first picture to the volatile memory in response to the first target identification information matching the first picture identification information being present in the target identification information set.
2. The picture loading method as claimed in claim 1, further comprising:
judging whether the picture set stored in the nonvolatile memory is traversed or not in response to the fact that the first target identification information matched with the first picture identification information does not exist in the target identification information set;
Reading second picture identification information of a second picture in the picture set in response to the picture set stored in the nonvolatile memory being not traversed;
judging whether second target identification information matched with the second picture identification information exists in the target identification information set or not; and
And loading the second picture to the volatile memory in response to the second target identification information matching the second picture identification information being present in the target identification information set.
3. The picture loading method according to claim 2, further comprising:
Responding to the image set which is traversed and stored in the nonvolatile memory, and acquiring layout information of the target display image set according to the current scene file;
Reading the target display picture set in the volatile memory, and displaying the target display picture set according to the layout information so that the video processing equipment can normally operate; and
And during normal operation of the video processing equipment, obtaining an unloaded picture which is not loaded to the volatile memory in the nonvolatile memory, and loading the unloaded picture to the volatile memory.
4. The picture loading method as claimed in claim 3, wherein,
The traversing the picture set stored in the nonvolatile memory, and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory, further includes:
marking each target display picture corresponding to the target display picture set in the nonvolatile memory as a loaded picture;
During normal operation of the video processing device, obtaining an unloaded picture which is not loaded to the volatile memory in the nonvolatile memory, and loading the unloaded picture to the volatile memory, wherein the method specifically comprises the following steps:
In response to reaching the loading permission time, judging whether the target picture in the nonvolatile memory is a loaded picture or not;
loading the target picture to the volatile memory in response to the target picture being an unloaded picture, marking the target picture as a loaded picture;
Judging whether each picture in the nonvolatile memory is loaded to the volatile memory or not; and
The loading permission time is updated in response to each picture in the non-volatile memory being loaded into the volatile memory, no picture loading process being performed any more, or in response to there being other pictures in the non-volatile memory that are not loaded into the volatile memory.
5. A picture loading device, characterized by being adapted to a processor of a video processing apparatus, the video processing apparatus further comprising a volatile memory and a nonvolatile memory electrically connected to the processor, respectively, the picture loading device comprising:
The reading and analyzing module is used for reading and analyzing the current scene file stored in the nonvolatile memory to obtain a target identification information set of a target display picture set; and
The traversing and loading module is used for traversing the picture set stored in the nonvolatile memory and loading the target display picture set corresponding to the target identification information set in the picture set to the volatile memory;
the picture set comprises a first picture, and the current scene file is corresponding configuration information stored by the video processing equipment when a user uses the video processing equipment last time;
The traversing and loading module specifically comprises:
the first reading unit is used for reading first picture identification information of the first picture;
a first judging unit, configured to judge whether first target identification information matched with the first picture identification information exists in the target identification information set; and
And the first response unit is used for loading the first picture to the volatile memory in response to the fact that the first target identification information matched with the first picture identification information exists in the target identification information set.
6. The picture loading device of claim 5, wherein the traversing and loading module further comprises:
A second response unit, configured to determine whether to traverse the picture set stored in the nonvolatile memory in response to the target identification information set not having the first target identification information matched with the first picture identification information;
a third response unit, configured to read second picture identification information of a second picture in the picture set in response to the picture set stored in the non-volatile memory not being traversed;
a second judging unit, configured to judge whether second target identification information matched with the second picture identification information exists in the target identification information set; and
And a fourth response unit, configured to load the second picture into the volatile memory in response to the second target identification information matching the second picture identification information being present in the target identification information set.
7. The picture loading device of claim 6, wherein the traversing and loading module further comprises:
A fifth response unit, configured to obtain layout information of the target display picture set according to the current scene file in response to traversing the picture set stored in the nonvolatile memory;
The reading and displaying unit is used for reading the target display picture set in the volatile memory and displaying the target display picture set according to the layout information so that the video processing equipment can normally operate; and
And the loading unit is used for acquiring the unloaded picture which is not loaded to the volatile memory in the nonvolatile memory and loading the unloaded picture to the volatile memory during the normal operation of the video processing equipment.
8. A video processing apparatus, comprising:
A volatile memory;
A nonvolatile memory; and
A processor electrically connected between the volatile memory and the non-volatile memory and configured to perform the picture loading method according to any one of claims 1 to 4.
CN202010695770.8A 2020-07-17 2020-07-17 Picture loading method and device and video processing equipment Active CN113946380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010695770.8A CN113946380B (en) 2020-07-17 2020-07-17 Picture loading method and device and video processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010695770.8A CN113946380B (en) 2020-07-17 2020-07-17 Picture loading method and device and video processing equipment

Publications (2)

Publication Number Publication Date
CN113946380A CN113946380A (en) 2022-01-18
CN113946380B true CN113946380B (en) 2024-05-10

Family

ID=79327183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010695770.8A Active CN113946380B (en) 2020-07-17 2020-07-17 Picture loading method and device and video processing equipment

Country Status (1)

Country Link
CN (1) CN113946380B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102439557A (en) * 2009-03-20 2012-05-02 谷歌公司 Hybrid storage device
CN103677890A (en) * 2012-08-30 2014-03-26 索尼公司 Information processing apparatus, information processing method, and program
WO2017142302A1 (en) * 2016-02-18 2017-08-24 Samsung Electronics Co., Ltd. Electronic device and operating method thereof
CN109298905A (en) * 2018-08-15 2019-02-01 深圳点猫科技有限公司 Utilize the method and electronic equipment of the optimization picture lazyness load of front end programming language
CN109582889A (en) * 2018-10-17 2019-04-05 平安普惠企业管理有限公司 Picture loading method, device, computer equipment and storage medium
CN110543337A (en) * 2019-09-02 2019-12-06 联想(北京)有限公司 application program loading processing method, electronic device and medium
CN110647378A (en) * 2019-09-30 2020-01-03 北京金山安全软件有限公司 Dynamic image loading method and device and electronic equipment
CN111107438A (en) * 2019-12-30 2020-05-05 北京奇艺世纪科技有限公司 Video loading method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040229688A1 (en) * 2003-05-12 2004-11-18 Electronic Arts Inc. Methods and apparatus for playing video sequences while loading game data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102439557A (en) * 2009-03-20 2012-05-02 谷歌公司 Hybrid storage device
CN103677890A (en) * 2012-08-30 2014-03-26 索尼公司 Information processing apparatus, information processing method, and program
WO2017142302A1 (en) * 2016-02-18 2017-08-24 Samsung Electronics Co., Ltd. Electronic device and operating method thereof
CN109298905A (en) * 2018-08-15 2019-02-01 深圳点猫科技有限公司 Utilize the method and electronic equipment of the optimization picture lazyness load of front end programming language
CN109582889A (en) * 2018-10-17 2019-04-05 平安普惠企业管理有限公司 Picture loading method, device, computer equipment and storage medium
CN110543337A (en) * 2019-09-02 2019-12-06 联想(北京)有限公司 application program loading processing method, electronic device and medium
CN110647378A (en) * 2019-09-30 2020-01-03 北京金山安全软件有限公司 Dynamic image loading method and device and electronic equipment
CN111107438A (en) * 2019-12-30 2020-05-05 北京奇艺世纪科技有限公司 Video loading method and device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Real-time multi-camera video analytics system on GPU;Puren Guler et al.;《Journal of Real-Time Image Processing》;第11卷;第457-472页 *
基于CPCI总线的FPGA+DSP架构通用视频图像处理***的设计;于洪松 等;《液晶与显示》;第30卷(第2期);第333-339页 *

Also Published As

Publication number Publication date
CN113946380A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
US20160366158A1 (en) Method and Apparatus for File Identification
US10691390B2 (en) Method and device for video rendering
CN110554962A (en) Regression testing process covering method, server and computer readable storage medium
CN113051503A (en) Browser page rendering method and device, electronic equipment and storage medium
CN112149570A (en) Multi-person living body detection method and device, electronic equipment and storage medium
CN113641544B (en) Method, apparatus, device, medium and product for detecting application state
CN110716804A (en) Method and device for automatically deleting useless resources, storage medium and electronic equipment
CN113946380B (en) Picture loading method and device and video processing equipment
WO2019085343A1 (en) Marketing customer screening method based on tag library, electronic device and storage medium
CN107203463B (en) Interface testing method, interface drawing method and device
CN110413921B (en) Webpage loading method and device, computer equipment and storage medium
CN116149941A (en) Monitoring method and device of server component, server and storage medium
CN113642642B (en) Control identification method and device
CN113595762B (en) Network card configuration storage method and device
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file
CN108664486B (en) Webpage texture memory management method and device
CN111125567B (en) Equipment marking method, device, electronic equipment and storage medium
CN109522014B (en) Algorithm processing method based on new product development, electronic device and readable storage medium
CN114328080A (en) Firmware state detection method and device and electronic equipment
CN113590277A (en) Task state switching method and device and electronic system
CN109542726B (en) Power consumption detection method and device
CN110932941B (en) Cloud screen connection state detection method, server and storage medium
CN113568840B (en) Method and system for identifying transition drawing
CN111967225B (en) Index encoding method, apparatus and readable storage medium
CN111615124B (en) Service detection method and device, electronic 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