A method and system for scheduling multiple scenes of advertising machine programs
By using timing triggers in advertising machine programs to check and manage the play countdown of scenes, the problem of unsmooth scene scheduling and high complexity in the prior art is solved, and more efficient and clear scene conversion and playback is achieved.
Patent Information
- Application Number
- CN202310086109.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-13
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2043-01-13
AI Technical Summary
When the prior art handles the jump, return and pause of multiple interactive scenes in advertising machine programs, the algorithm is complex and the logical structure is unclear, resulting in poor scene scheduling and complex countdown memory and recovery management.
By obtaining information about multiple scenes of the advertising machine program, using a preset timing trigger to check the play countdown of the scene, determine the next play scene, and trigger the countdown of the second play scene when the first play scene is about to end, realizing the scene sequential playback and smooth conversion.
It improves the fluency of scene scheduling and the efficiency of scene conversion, simplifies jump, return and pause processing between interactive scenes, and reduces the complexity of algorithms and logical structures.
Smart Images

Figure CN116112719B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for scheduling multiple scenes of advertising machine programs. Background Art
[0002] Usually a program is composed of multiple scenes, each of which has its own attributes, such as the address of the material in the scene, the screen time of the scene, and the address of the next scene. Program playback is the presentation of the movement of each scene. Therefore, how to efficiently and accurately schedule the scenes is one of the core demands of program playback, especially when the scenes are not only displayed sequentially but also have interactive attributes, the jump, return, and pause between scenes also need to be well handled.
[0003] The existing technical solution reads and stores the address of each scene, obtains the attributes of the scene according to the address, starts the countdown, switches to the next scene after the countdown ends, saves the current scene address when processing the jump interactive scene, loads the interactive scene according to the interactive scene address, starts the countdown, and when processing the interactive scene return, retrieves and loads the last saved scene address. If a paused scene is encountered, the countdown is paused.
[0004] The existing technical solutions do not uniformly process and store scene-related attributes, and only obtain them when they are used, which has a certain impact on the smoothness of scene switching. In addition, when processing interactive scene jumps, the algorithm complexity is high and the logical structure is unclear when processing step-by-step returns and skip-level returns after multiple jumps and repeated scenes. After multiple jumps, the memory and recovery management of the countdown of each scene are complicated. Summary of the invention
[0005] The present invention provides a method and system for scheduling multiple scenes of advertising machine programs, which improve the fluency of scene scheduling and the efficiency of scene conversion.
[0006] In order to achieve the above-mentioned object, in a first aspect, the present invention provides a method for scheduling multiple scenes of an advertising machine, comprising:
[0007] Acquire information of multiple scenes of the advertising machine program; the scenes include main scenes and jump scenes; the information of each scene includes the memory address of the next scene, the playing time of the current scene and the playing countdown;
[0008] By using a preset timing trigger, checking the play countdown of the multiple scenes, and obtaining a first play scene to be played;
[0009] The first play scene is played, and according to the memory address of the second scene in the information of the first play scene, a second play scene is obtained, and the play countdown of the second play scene is stopped.
[0010] According to the playing time of the first playing scene, the timing trigger is triggered, the playing countdown of the second playing scene is started and checked, and the scene is scheduled to be played.
[0011] The invention discloses a method for scheduling multiple scenes of an advertising machine. First, the information of multiple scenes in a stored advertising machine program is obtained. The scenes in the program are saved in advance. Then, during the program playback, the information and attributes of the stored multiple scenes are obtained according to the playback requirements, and judgment is performed to improve the playback fluency. Meanwhile, the playback countdown of each stored scene is checked through a preset timing trigger to determine the next playback scene to be played, so as to improve the fluency of scene conversion. Meanwhile, after obtaining the first playback scene, in order to ensure that the program is played in sequence, the playback countdown of the second playback scene is paused when the first playback scene is played to avoid confusion in scene scheduling. When it is detected that the first playback scene is about to end, the playback countdown of the second playback scene is triggered. The playback of the second playback scene is started in the same way as the first playback scene, so as to complete the conversion and playback between different scenes. By pre-stored information and attributes of each scene, search is performed in advance to improve the efficiency of scene conversion. Then, the playback countdown saved in each scene and the memory address of the next scene are used to convert and play the scene, so as to improve the fluency of scene conversion.
[0012] As a preferred example, before obtaining the information of multiple scenes of the advertising machine program, the method specifically includes:
[0013] Parse the advertising machine program to obtain information and attributes of all main scenes and jump scenes of the advertising machine program; the information includes the memory address, play duration and play countdown of the next scene; the attributes include the display position and size of the video and picture in the scene, the address of the scene itself in the system file directory, the address of the content in the scene in the system file directory, and the amount of content in the scene;
[0014] Encapsulating the information and attributes of the plurality of main scenes respectively to obtain a plurality of corresponding main frames;
[0015] Encapsulating the information and attributes of the multiple jump scenes respectively to obtain a corresponding number of jump frames;
[0016] The plurality of main frames are stored according to the playback order of the plurality of main scenes through a preset stack storage structure to obtain a main frame stack.
[0017] The present invention parses the advertising machine program to obtain multiple scenes in the advertising machine program, and divides the scenes into main scenes and jump scenes. The main scenes are played in sequence, and the jump scenes appear between the main scenes according to trigger conditions. The main scenes and the jump scenes are stored in the form of frames respectively. During the playback process, it is only necessary to search for information of each scene of the pre-stored frame for playback, and no further analysis and search are required when in use, thereby improving the efficiency of scene playback.
[0018] As a preferred example, in the step of checking the play countdown of the plurality of scenes through a preset timing trigger to obtain the first play scene to be played, specifically includes:
[0019] By means of a preset timing trigger, the play time of the first main frame at the top of the main frame stack is checked regularly according to a preset time period, and the play time is reduced according to the time period; the first main frame is the first play scene;
[0020] When the playback time is less than or equal to 0, the first playback scene is moved out of the main frame stack, the playback content and playback duration of the first playback scene are obtained, and the first playback scene starts to be played.
[0021] The present invention periodically checks the play time of the first main frame at the top of the stack in the stack according to a preset time period through a preset timing trigger, reduces the play countdown through each check, and when it is detected that the play time is less than or equal to 0, it is determined that the first play scene starts to play. By setting the play countdown and timing trigger, it is ensured that the scene is played on time, thereby improving the smoothness of scene switching.
[0022] As a preferred example, obtaining the second playback scene according to the memory address of the second scene in the information of the first playback scene, and stopping the playback countdown of the second playback scene specifically includes:
[0023] According to the memory address of the next scene in the information of the first playback scene, by querying the main frame stack, determining whether the second playback scene is a main scene or a jump scene;
[0024] If the second playback scene is the main scene, moving the second playback scene to the top of the main frame stack;
[0025] If the second play scene is a jump scene, the second play scene is added to the main frame stack.
[0026] When acquiring the next playback scene stored in the first playback scene, the present invention determines whether the next scene is a main scene or a jump scene. If the next scene is the main scene, it only needs to be moved to the top of the main frame stack. If the next scene is a jump scene, the frame corresponding to the jump scene is added to the top of the stack. If the next main scene or jump scene starts to play, the main scene and the jump scene are moved out of the main frame stack. By saving the main scene in the same stack, the scenes are guaranteed to be played in sequence. At the same time, the jump scene and the main scene are separated to reduce the calculation amount of multiple scene jumps and improve the efficiency of scene conversion.
[0027] As a preferred example, in triggering the timing trigger, starting and checking the play countdown of the second play scene, and performing scene scheduling, specifically includes:
[0028] By checking the playing time of the first playing scene, the timing trigger is triggered to start the checking, and the playing countdown of the second playing scene is started at the same time;
[0029] According to the play countdown, the play content and play duration of the second play scene and the memory address of the third play scene are obtained to complete the scheduling play of multiple scenes.
[0030] The present invention triggers the timing trigger by detecting the playing time of the first playing scene, so that the timing trigger starts the playing countdown of the second playing scene, ensuring that the first playing scene and the second playing scene are played continuously, and at the same time, the information of the third playing scene is obtained according to the second playing scene so that each scene is played continuously, thereby improving the fluency of scene scheduling.
[0031] In a second aspect, the present invention provides a multi-scene scheduling system for advertising machine programs, including an acquisition module, a first playback module, a second playback module and a scheduling module;
[0032] The acquisition module is used to acquire information of multiple scenes of the advertising machine program; the scenes include main scenes and jump scenes; the information of each scene includes the memory address of the next scene, the playing time of the current scene and the playing countdown;
[0033] The first playback module is used to check the playback countdown of the multiple scenes through a preset timing trigger to obtain a first playback scene that needs to be played;
[0034] The second playing module is used to play the first playing scene, obtain the second playing scene according to the memory address of the second scene in the information of the first playing scene, and stop the playing countdown of the second playing scene.
[0035] The scheduling module is used to trigger the timing trigger according to the playing duration of the first playing scene, start and check the playing countdown of the second playing scene, and schedule the playing of the scene.
[0036] The present invention provides a multi-scene scheduling system for advertising machine programs. By acquiring information of multiple scenes in a stored advertising machine program, the scenes in the program are saved in advance. During the program playback, the information and attributes of the stored multiple scenes are acquired according to the playback requirements, and judgment is performed to improve the playback fluency. At the same time, through a preset timing trigger, the playback countdown of each stored scene is checked to determine the next playback scene to be played, so as to improve the fluency of scene conversion. At the same time, after obtaining the first playback scene, in order to ensure that the program is played in sequence, when the first playback scene is played, the playback countdown of the second playback scene is paused to avoid confusion in scene scheduling. When it is detected that the first playback scene is about to end, the playback countdown of the second playback scene is triggered. The playback of the second playback scene is started in the same way as the first playback scene, so as to complete the conversion and playback between different scenes. Through the pre-stored information and attributes of each scene, the search is performed in advance to improve the efficiency of scene conversion. Then, the playback countdown saved in each scene and the memory address of the next scene are used to convert and play the scene, so as to improve the fluency of scene conversion.
[0037] As a preferred example, the first playing module includes a searching unit and a playing unit;
[0038] The search unit is used to check the play time of the first main frame at the top of the main frame stack according to a preset time period through a preset timing trigger, and reduce the play time according to the time period; the first main frame is the first play scene;
[0039] The playback unit is configured to, when the playback time is less than or equal to 0, move the first playback scene out of the main frame stack, obtain the playback content and playback duration of the first playback scene, and start playing the first playback scene.
[0040] The present invention periodically checks the play time of the first main frame at the top of the stack in the stack according to a preset time period through a preset timing trigger, reduces the play countdown through each check, and when it is detected that the play time is less than or equal to 0, it is determined that the first play scene starts to play. By setting the play countdown and timing trigger, it is ensured that the scene is played on time, thereby improving the smoothness of scene switching.
[0041] As a preferred example, the second playing module includes a judging unit and a moving unit;
[0042] The judging unit is used to judge whether the second playing scene is a main scene or a jump scene by querying the main frame stack according to the memory address of the next scene in the information of the first playing scene;
[0043] The moving unit is used for moving the second playing scene to the top of the main frame stack if the second playing scene is the main scene; and adding the second playing scene to the main frame stack if the second playing scene is a jump scene.
[0044] When acquiring the next playback scene stored in the first playback scene, the present invention determines whether the next scene is a main scene or a jump scene. If the next scene is the main scene, it only needs to be moved to the top of the main frame stack. If the next scene is a jump scene, the frame corresponding to the jump scene is added to the top of the stack. If the next main scene or jump scene starts to play, the main scene and the jump scene are moved out of the main frame stack. By saving the main scene in the same stack, the scenes are guaranteed to be played in sequence. At the same time, the jump scene and the main scene are separated to reduce the calculation amount of multiple scene jumps and improve the efficiency of scene conversion.
[0045] As a preferred example, the scheduling module includes a starting unit and a scheduling unit;
[0046] The starting unit is used to trigger the timing trigger to start checking by checking the playing time of the first playing scene, and to start the playing countdown of the second playing scene at the same time;
[0047] The scheduling unit is used to obtain the playback content and playback duration of the second playback scene and the memory address of the third playback scene according to the playback countdown, so as to complete the scheduling playback of multiple scenes.
[0048] The present invention triggers the timing trigger by detecting the playing time of the first playing scene, so that the timing trigger starts the playing countdown of the second playing scene, ensuring that the first playing scene and the second playing scene are played continuously, and at the same time, the information of the third playing scene is obtained according to the second playing scene so that each scene is played continuously, thereby improving the fluency of scene scheduling.
[0049] In a third aspect, the present invention provides an electronic device comprising: at least one processor; and a storage device configured to store at least one program, so that when the at least one program is executed by the at least one processor, the at least one processor implements the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1: A flowchart of a method for scheduling multiple scenes of advertising machine programs provided by an embodiment of the present invention;
[0051] Figure 2 : A structural diagram of a multi-scene scheduling system for advertising machine programs provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] Embodiment 1
[0054] The embodiment of the present invention provides a method for scheduling multiple scenes of advertising machine programs. For the specific process of the method, please refer to Figure 1 , mainly including step 101 to step 104, each step specifically includes:
[0055] Step 101: Acquire information of multiple scenes of an advertising machine program.
[0056] In this embodiment, before executing this step, the following steps are specifically performed: parsing the advertising machine program to obtain information and attributes of all main scenes and jump scenes of the advertising machine program; the information includes the memory address, playback duration and playback countdown of the next scene; the attributes include the display position and size of the video and picture in the scene, the address of the scene itself in the system file directory, the address of the content in the scene in the system file directory, and the number of contents in the scene; encapsulating the information and attributes of the multiple main scenes respectively to obtain a corresponding number of main frames; encapsulating the information and attributes of the multiple jump scenes respectively to obtain a corresponding number of jump frames; storing the multiple main frames according to the playback order of the multiple main scenes through a preset stack storage structure to obtain a main frame stack.
[0057] In this embodiment, the step is specifically as follows: parsing all main scene and jump scene information in the program, wherein the main scene refers to a scene that can be actively displayed on the screen in a certain order without human intervention, and the jump scene refers to a scene that needs to be passively triggered to be displayed on the screen, and is stored in the computer memory; encapsulating the information and attributes of each scene into a frame, and each frame can be a still picture or a collection of a group of pictures; the information therein includes but is not limited to the display position and size of the content, the display time, the address of the content, the memory address of the next frame, the memory address of the jump frame, etc., using a stack structure to store the frames encapsulated by the above scenes, and pushing the main frame into the stack.
[0058] Step 102: Check the play countdowns of the multiple scenes through a preset timing trigger to obtain a first play scene that needs to be played.
[0059] In this embodiment, this step specifically includes: through a preset timing trigger, regularly checking the playback time of the first main frame at the top of the main frame stack according to a preset time period, and reducing the playback time according to the time period; the first main frame is the first playback scene; when the playback time is less than or equal to 0, the first playback scene is removed from the main frame stack and the playback content and playback duration of the first playback scene are obtained, and the first playback scene is started to be played.
[0060] In this embodiment, the step is specifically as follows: using a preset timing trigger, check the last frame pushed into the stack once a second, subtract 1 second from the display time saved in the frame, if the result is less than or equal to 0, it means that the playback time of this frame has expired, move it out of the stack, obtain the content address stored in the frame, call the corresponding player to play, and open up a corresponding area on the screen to display the content according to the position and size stored in the frame.
[0061] Step 103: Play the first play scene, obtain the second play scene according to the memory address of the second scene in the information of the first play scene, and stop the play countdown of the second play scene.
[0062] In this embodiment, this step mainly includes: judging whether the second playback scene is a main scene or a jump scene by querying the main frame stack according to the memory address of the next scene in the information of the first playback scene; if the second playback scene is the main scene, moving the second playback scene to the top of the main frame stack; if the second playback scene is a jump scene, adding the second playback scene to the main frame stack.
[0063] In this embodiment, the step is specifically as follows: obtaining the memory address of the next frame from the frame removed from the stack and loading it into the stack. When there is interaction and jump, the jump frame belongs to an inserted scene. The content address of the next jump frame is obtained from the main frame or the jump frame, and the jump frame is pushed into the stack. Due to the timing trigger, only the frame at the top of the stack will be checked to reduce its saved display time. The main frame or jump frame below the jump frame is naturally in a paused state.
[0064] Step 104: triggering the timing trigger according to the playing duration of the first playing scene, starting and checking the playing countdown of the second playing scene, and scheduling the playing of the scene.
[0065] In this embodiment, this step mainly includes: by checking the playback duration of the first playback scene, triggering the timing trigger to start the check, and simultaneously starting the playback countdown of the second playback scene; according to the playback countdown, obtaining the playback content and playback duration of the second playback scene, and the memory address of the third playback scene, so as to complete the scheduled playback of multiple scenes.
[0066] In this embodiment, the step is specifically as follows: after the jump frame is moved out, the main frame or jump frame originally at the bottom floats to the top of the stack. Since the display time of the last pause is stored in the main frame, when the timing trigger is triggered to check, the playback is resumed from the paused state and the countdown continues. The playback of the jump frame is the same as the main frame, and the address, size and position of the content stored therein are obtained; because the frame at the top of the stack is removed and floats to the top, at the same time, the address of the content stored therein is obtained, and the corresponding player is called to play, and the corresponding area on the screen is opened to display the content according to the position and size stored in the frame, and playback begins.
[0067] On the other hand, this embodiment also provides a multi-scene scheduling system for advertising machine programs. Please refer to Figure 2 , mainly including an acquisition module 201, a first playback module 202, a second playback module 203 and a scheduling module 204;
[0068] The acquisition module 201 is used to acquire information of multiple scenes of the advertising machine program; the scenes include the main scene and the jump scene; the information of each scene includes the memory address of the next scene, the playing time of the current scene and the playing countdown;
[0069] The first playback module 202 is used to check the playback countdown of the multiple scenes through a preset timing trigger to obtain a first playback scene that needs to be played;
[0070] The second playing module 203 is used to play the first playing scene, obtain the second playing scene according to the memory address of the second scene in the information of the first playing scene, and stop the playing countdown of the second playing scene.
[0071] The scheduling module 204 is used to trigger the timing trigger according to the playing duration of the first playing scene, start and check the playing countdown of the second playing scene, and schedule the playing of the scene.
[0072] In this embodiment, the first playing module 202 includes a search unit and a playing unit;
[0073] The search unit is used to check the play time of the first main frame at the top of the main frame stack according to a preset time period through a preset timing trigger, and reduce the play time according to the time period; the first main frame is the first play scene;
[0074] The playback unit is configured to, when the playback time is less than or equal to 0, move the first playback scene out of the main frame stack, obtain the playback content and playback duration of the first playback scene, and start playing the first playback scene.
[0075] In this embodiment, the search unit periodically checks the playback time of the first main frame at the top of the stack according to a preset timing trigger and a preset time period, and reduces the playback countdown through each check. When the playback unit detects that the playback time is less than or equal to 0, it is determined that the first playback scene starts to be played. By setting the playback countdown and timing trigger, it is ensured that the scene is played on time, thereby improving the smoothness of scene transitions.
[0076] In this embodiment, the second playing module 203 includes a judgment unit and a moving unit;
[0077] The judging unit is used to judge whether the second playing scene is a main scene or a jump scene by querying the main frame stack according to the memory address of the next scene in the information of the first playing scene;
[0078] The moving unit is used for moving the second playing scene to the top of the main frame stack if the second playing scene is the main scene; and adding the second playing scene to the main frame stack if the second playing scene is a jump scene.
[0079] In this embodiment, when the next playback scene stored in the first playback scene is obtained by the judgment unit, it is judged whether the next scene is a main scene or a jump scene. If the next scene is the main scene, it is only necessary to move the next scene to the top of the main frame stack through the east unit. If the next scene is a jump scene, the frame corresponding to the jump scene is added to the top of the stack. If the next main scene or jump scene starts to play, the main scene and the jump scene are moved out of the main frame stack. By saving the main scene in the same stack, the scenes are played in sequence. At the same time, the jump scene and the main scene are separated to reduce the calculation amount of multiple scene jumps and improve the efficiency of scene conversion.
[0080] In this embodiment, the scheduling module 204 includes a starting unit and a scheduling unit;
[0081] The starting unit is used to trigger the timing trigger to start checking by checking the playing time of the first playing scene, and to start the playing countdown of the second playing scene at the same time;
[0082] The scheduling unit is used to obtain the playback content and playback duration of the second playback scene and the memory address of the third playback scene according to the playback countdown, so as to complete the scheduling playback of multiple scenes.
[0083] In this embodiment, the timing trigger is triggered by detecting the playback duration of the first playback scene through the starting unit, so that the timing trigger starts the playback countdown of the second playback scene, ensuring that the first playback scene and the second playback scene are played continuously. At the same time, the scheduling unit is used to obtain information about the third playback scene according to the second playback scene so that each scene can be played continuously, thereby improving the smoothness of scene scheduling.
[0084] In this embodiment, an electronic device is also provided, including: at least one processor; a storage device, configured to store at least one program, when the at least one program is executed by the at least one processor, the at least one processor implements a multi-scene scheduling method for advertising machine programs provided in this embodiment.
[0085] This embodiment provides a method and system for scheduling multiple scenes of advertising machine programs, obtains information of multiple scenes in a stored advertising machine program, saves the scenes in the program in advance, and obtains information and attributes of the stored multiple scenes according to the playback requirements during the playback of the program, makes judgments, and improves the fluency of the playback. At the same time, through a preset timing trigger, the playback countdown of each stored scene is checked to determine the next playback scene to be played, so as to improve the fluency of scene switching. At the same time, after obtaining the first playback scene, in order to ensure that the program is played in sequence, the playback countdown of the second playback scene is paused when the first playback scene is played, so as to avoid confusion in scene scheduling. When it is detected that the first playback scene is about to end, the playback countdown of the second playback scene is triggered. As with the first playback scene, the playback of the second playback scene is started, thereby completing the conversion and playback between different scenes. Through the pre-stored information and attributes of each scene, search is performed in advance to improve the efficiency of scene conversion. Then, the playback countdown saved in each scene and the memory address of the next scene are used to convert and play the scenes, thereby improving the smoothness of scene conversion. Using the method and system provided by this embodiment, scene switching takes less time, and the implementation complexity of functions such as jumping, returning, and pausing between interactive scenes is lower, the structure is clearer, management and maintenance are more convenient, and it is easier to expand.
[0086] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for scheduling multiple scenes of advertising machine programs, characterized in that: include: Obtain information about multiple scenes of advertising machine programs; The scenes include main scenes and jump scenes; The information of each scene includes the memory address of the next scene, the playing time of the current scene and the playing countdown; By using a preset timing trigger, checking the play countdown of the multiple scenes, and obtaining a first play scene to be played; Play the first playback scene, obtain the second playback scene according to the memory address of the second scene in the information of the first playback scene, and stop the playback countdown of the second playback scene; According to the playing time of the first playing scene, the timing trigger is triggered, the playing countdown of the second playing scene is started and checked, and the scene is scheduled to be played.
2. A method for scheduling multiple scenes of advertising machine programs as claimed in claim 1, characterized in that: Before obtaining the information of multiple scenes of the advertising machine program, the method specifically includes: Parse the advertising machine program to obtain information and attributes of all main scenes and jump scenes of the advertising machine program; the information includes the memory address, play duration and play countdown of the next scene; the attributes include the display position and size of the video and picture in the scene, the address of the scene itself in the system file directory, the address of the content in the scene in the system file directory, and the amount of content in the scene; Encapsulating information and attributes of the plurality of main scenes respectively to obtain a plurality of corresponding main frames; Encapsulating the information and attributes of the plurality of jump scenes respectively to obtain a plurality of corresponding jump frames; A plurality of main frames are stored according to the playback order of the plurality of main scenes through a preset stack storage structure to obtain a main frame stack.
3. A method for scheduling multiple scenes of advertising machine programs as claimed in claim 2, characterized in that: The step of checking the play countdown of the plurality of scenes through a preset timing trigger to obtain the first play scene to be played specifically includes: By means of a preset timing trigger, the play time of the first main frame at the top of the main frame stack is checked regularly according to a preset time period, and the play time is reduced according to the time period; the first main frame is the first play scene; When the playback time is less than or equal to 0, the first playback scene is moved out of the main frame stack, the playback content and playback duration of the first playback scene are obtained, and the first playback scene starts to be played.
4. A method for scheduling multiple scenes of advertising machine programs as claimed in claim 2, characterized in that: The obtaining the second playback scene according to the memory address of the second scene in the information of the first playback scene, and stopping the playback countdown of the second playback scene specifically includes: According to the memory address of the next scene in the information of the first playback scene, by querying the main frame stack, determining whether the second playback scene is a main scene or a jump scene; If the second playback scene is the main scene, moving the second playback scene to the top of the main frame stack; If the second play scene is a jump scene, the second play scene is added to the main frame stack.
5. The method for scheduling multiple scenes of advertising machine programs according to claim 1, characterized in that: The triggering of the timing trigger, starting and checking the play countdown of the second play scene, and performing scene scheduling specifically includes: By checking the playing time of the first playing scene, the timing trigger is triggered to start the checking, and the playing countdown of the second playing scene is started at the same time; According to the play countdown, the play content and play duration of the second play scene and the memory address of the third play scene are obtained to complete the scheduling play of multiple scenes.
6. A multi-scene scheduling system for advertising machine programs, characterized in that: It includes an acquisition module, a first playback module, a second playback module and a scheduling module; The acquisition module is used to acquire information of multiple scenes of the advertising machine program; the scenes include main scenes and jump scenes; the information of each scene includes the memory address of the next scene, the playing time of the current scene and the playing countdown; The first playback module is used to check the playback countdown of the multiple scenes through a preset timing trigger to obtain a first playback scene that needs to be played; The second playing module is used to play the first playing scene, obtain the second playing scene according to the memory address of the second scene in the information of the first playing scene, and stop the playing countdown of the second playing scene; The scheduling module is used to trigger the timing trigger according to the playing duration of the first playing scene, start and check the playing countdown of the second playing scene, and schedule the playing of the scene.
7. The advertising machine program multi-scene scheduling system as claimed in claim 6, characterized in that: The first playing module includes a searching unit and a playing unit; The search unit is used to check the play time of the first main frame at the top of the main frame stack according to a preset time period through a preset timing trigger, and reduce the play time according to the time period; The first main frame is the first playback scene; The playback unit is configured to, when the playback time is less than or equal to 0, move the first playback scene out of the main frame stack, obtain the playback content and playback duration of the first playback scene, and start playing the first playback scene.
8. The advertising machine program multi-scene scheduling system as claimed in claim 7, characterized in that: The second playing module includes a judging unit and a moving unit; The judging unit is used to judge whether the second playing scene is a main scene or a jump scene by querying the main frame stack according to the memory address of the next scene in the information of the first playing scene; The moving unit is used for moving the second playing scene to the top of the main frame stack if the second playing scene is the main scene; If the second play scene is a jump scene, the second play scene is added to the main frame stack.
9. The advertising machine program multi-scene scheduling system as claimed in claim 6, characterized in that: The scheduling module includes a starting unit and a scheduling unit; The starting unit is used to trigger the timing trigger to start checking by checking the playing time of the first playing scene, and to start the playing countdown of the second playing scene at the same time; The scheduling unit is used to obtain the playback content and playback duration of the second playback scene and the memory address of the third playback scene according to the playback countdown, so as to complete the scheduling playback of multiple scenes.
10. An electronic device, characterized in that: include: at least one processor; A storage device configured to store at least one program, when the at least one program is executed by the at least one processor, enables the at least one processor to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for playing internet protocol television (IPTV) programs
CN103428536A
Method for presenting screensaver information on screen of display equipment and display equipment
CN112463267A