CN114020938A - Method and device for playing pictures in circulating rolling mode, display equipment and storage medium - Google Patents

Method and device for playing pictures in circulating rolling mode, display equipment and storage medium Download PDF

Info

Publication number
CN114020938A
CN114020938A CN202111314216.1A CN202111314216A CN114020938A CN 114020938 A CN114020938 A CN 114020938A CN 202111314216 A CN202111314216 A CN 202111314216A CN 114020938 A CN114020938 A CN 114020938A
Authority
CN
China
Prior art keywords
picture
target
target picture
display area
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111314216.1A
Other languages
Chinese (zh)
Inventor
林坤杰
秦杰
叶茂林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yehe Technology Development Co ltd
Original Assignee
Shenzhen Yehe Technology Development 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 Shenzhen Yehe Technology Development Co ltd filed Critical Shenzhen Yehe Technology Development Co ltd
Priority to CN202111314216.1A priority Critical patent/CN114020938A/en
Publication of CN114020938A publication Critical patent/CN114020938A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/432Query formulation
    • G06F16/434Query formulation using image data, e.g. images, photos, pictures taken by a user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a method, a device, display equipment and a storage medium for playing pictures in a circulating rolling way, wherein the method comprises the following steps: if a playing instruction is detected, playing a first target picture in the picture object in a display area in a preset container according to the playing instruction, and starting a timer; judging whether the first time recorded by the timer is equal to a preset time or not; if the first time recorded by the timer is equal to the preset time, judging whether the target picture displayed in the display area is the last target picture in the picture object; if the target picture displayed in the display area is the last target picture in the picture objects, the position of the picture objects is reset so that the first target picture of the picture objects is located in the display area. The invention can not only circularly scroll and play the pictures, but also can not generate picture flicker when the first picture is switched from the last picture.

Description

Method and device for playing pictures in circulating rolling mode, display equipment and storage medium
Technical Field
The present invention relates to the field of picture playing technologies, and in particular, to a method and an apparatus for playing pictures in a circular scrolling manner, a display device, and a storage medium.
Background
With the continuous development of modern technologies, the application of digital display technology is ubiquitous. The digital signage distributes and processes information in a media mode by means of fusion of network and multimedia technology, interacts with feedback information of customers in time, and is widely applied to the fields of finance, telecommunication, hospitals, markets, supermarkets, hotels, public places and the like. At present, the modes of displaying pictures on digital signage are generally divided into two modes, one is static display, and the other is dynamic display, and the dynamic display can display more contents, so that the current mainstream digital signage adopts dynamic display.
In the dynamic display, a group of pictures are played in a circulating rolling mode, each picture is displayed for a period of time and then rolled to the next picture, however, due to the limited number of the group of pictures, when the picture is rolled to the last picture, the first picture needs to be switched back to restart the rolling, and when the picture is switched from the last picture to the first picture, the picture flickers, so that the display process is not smooth, and the browsing experience of a user is influenced.
Disclosure of Invention
The embodiment of the invention provides a method and a device for playing pictures in a circulating rolling manner, display equipment and a storage medium, which not only can play the pictures in the circulating rolling manner, but also can support the switching of the last picture to be played by a user to the first picture to be played by the user in a rolling manner, and the picture flicker can not occur during the switching.
In a first aspect, an embodiment of the present invention provides a method for playing pictures in a scrolling manner, where the method includes:
if a playing instruction is detected, playing a first target picture in a picture object in a display area in a preset container according to the playing instruction, and starting a timer, wherein the picture object comprises at least three target pictures, and the first target picture is the same as the last target picture;
judging whether first time recorded by the timer is equal to preset time or not, wherein the first time is the time of the target picture staying in the display area;
if the first time recorded by the timer is equal to the preset time, judging whether the target picture displayed in the display area is the last target picture in the picture object;
if the target picture displayed in the display area is the last target picture in the picture objects, the position of the picture objects is reset so that the first target picture of the picture objects is located in the display area.
In a second aspect, an embodiment of the present invention further provides an apparatus for playing pictures by scrolling in a loop, where the apparatus includes:
the picture playing unit is used for playing a first target picture in a picture object in a display area in a preset container according to a playing instruction if the playing instruction is detected, and starting a timer, wherein the picture object comprises at least three target pictures, and the first target picture is the same as the last target picture;
the first judging unit is used for judging whether first time recorded by the timer is equal to preset time or not, wherein the first time is the time of the target picture staying in the display area;
a second determining unit, configured to determine whether the target picture displayed in the display area is a last target picture in the picture object if the first time recorded by the timer is equal to the preset time;
a first position resetting unit, configured to reset a position of the picture object to enable a first target picture of the picture object to be located in the display area if the target picture displayed in the display area is a last target picture in the picture object.
In a third aspect, an embodiment of the present invention further provides a display device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the above method when being executed by a processor.
The embodiment of the invention provides a method and a device for playing pictures in a circulating rolling manner, display equipment and a storage medium, wherein the method comprises the following steps: if a playing instruction is detected, playing a first target picture in a picture object in a display area in a preset container according to the playing instruction, and starting a timer, wherein the picture object comprises at least three target pictures, and the first target picture is the same as the last target picture; judging whether first time recorded by the timer is equal to preset time or not, wherein the first time is the time of the target picture staying in the display area; if the first time recorded by the timer is equal to the preset time, judging whether the target picture displayed in the display area is the last target picture in the picture object; if the target picture displayed in the display area is the last target picture in the picture objects, the position of the picture objects is reset so that the first target picture of the picture objects is located in the display area. The method and the device have the advantages that the plurality of target pictures are arranged in the picture object, when a playing instruction is received, the pictures are played from the first target picture in the display area to start to circularly scroll and play, meanwhile, whether the next picture needs to be played or not is judged by judging whether the first time recorded by the timer is equal to the preset time or not, whether the position of the picture object needs to be reset or not is judged by judging whether the currently displayed target picture is the last target picture or not, when the target picture is the last target picture, the initial position of the picture object is reset, the first target picture and the last target picture in the picture object are the same, and therefore when the position of the picture object is reset, picture flicker cannot occur.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for playing pictures by scrolling in a loop according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for playing pictures by scrolling in a loop according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for playing pictures by scrolling in a loop according to another embodiment of the present invention;
FIG. 4 is a schematic view of a scene of picture playing provided by an embodiment of the present invention;
FIG. 5 is a schematic block diagram of an apparatus for playing pictures by scrolling in a loop according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of an apparatus for playing pictures by scrolling in a loop according to another embodiment of the present invention;
FIG. 7 is a schematic block diagram of an apparatus for playing pictures by scrolling in a loop according to another embodiment of the present invention;
fig. 8 is a schematic block diagram of a display device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for playing pictures by scrolling in a loop according to an embodiment of the present invention, where the method is applicable to a display device, such as a digital signage, and the method for playing pictures by scrolling in a loop according to an embodiment of the present invention can be used to switch from a last picture to a first picture without flickering. As shown in fig. 1, the method includes steps S110 to S140.
S110, if a playing instruction is detected, playing a first target picture in a picture object in a display area in a preset container according to the playing instruction, and starting a timer, wherein the picture object comprises at least three target pictures, and the first target picture is the same as the last target picture.
In the embodiment of the invention, the preset container is used for accommodating the picture object and is provided with a display area, and the display area is used for displaying the target picture. Specifically, the Canvas can be used as a preset container in the present invention, and the Canvas is a layout control, which can not only present the contents such as pictures on the webpage, but also control the position of its own child control, thereby adjusting the contents to be presented. The Canvas is used as a layout control, the display area of the Canvas is the control, and the size of the control can be set according to the requirements of users. The picture object comprises at least three target pictures, and the first target picture is the same as the last target picture. Specifically, the picture object may be a StackPanel control, and the StackPanel control is a layout control, and is used for arranging the sub-elements, for example, from left to right or from top to bottom, so that the StackPanel control may include a plurality of target pictures, and the target pictures are arranged in the StackPanel control according to a preset sequence, which is convenient for playing different target pictures under the control of a Canvas. The timer is used for recording the playing time length of the current picture, and when the playing time length of the current picture reaches the preset time length, the Canvas controls the StackPanel control to move so as to switch the next target picture.
In some embodiments, such as this embodiment, as shown in FIG. 2, the step S110 may be preceded by steps S110a-S110 e.
S110a, confirming the size of the picture set and the display area selected by the user, and adjusting the size of the picture to be adjusted in the picture set to match the size of the picture to be adjusted with the size of the display area to obtain the target picture;
in the embodiment of the invention, the picture set is a picture which needs to be played by a user, and the display area is the size of the finally presented area designated by the user. The size of the picture to be played is not necessarily matched with the size of the display area, so that after the picture set is determined, the size of the picture to be adjusted in the picture set needs to be adjusted, the size of the picture to be adjusted is matched with the size of the display area, and the target picture is obtained. Specifically, an Image object, that is, a target picture, with a size equal to the size of the display area is created according to a path set of pictures to be played through traversal.
S110b, putting all the target pictures into the picture objects according to the sequence selected by the user.
In the embodiment of the present invention, the sequence selected by the user is the sequence that the user wishes to switch pictures during playing, and the picture object may arrange the target pictures that are put in. Specifically, the Image objects may be added to the StackPanel control, and the StackPanel control arranges the Image objects in order from left to right or from top to bottom.
S110c, copying a first target picture in the picture object to obtain a copy target picture.
S110d, adding the copy target picture at the end of the picture object.
In the embodiment of the present invention, after the added target pictures are sorted by the picture object, a first target picture in the picture object may be copied, and the copied first target picture may be added to the end of the picture object.
S110e, putting the picture object into the preset container, and setting the initial coordinates of the picture object in the preset container.
In the embodiment of the invention, after the target picture is processed, the picture object is placed in the preset container, and the initial coordinate is added to the picture object, so that the picture object can be reset conveniently. For example, the Canvas may add additional properties to the child control to control the position of the child control, which may add a coordinate with an initial coordinate of (0,0) to the StackPanel control, which then controls the position of the StackPanel control relative to the Canvas by the coordinate.
And S120, judging whether the first time recorded by the timer is equal to a preset time or not, wherein the first time is the time of the target picture staying in the display area.
In the embodiment of the present invention, the first time is a time designated by the user to display the same picture, that is, a time that the target picture stays in the display area.
And S130, if the first time recorded by the timer is equal to the preset time, judging whether the target picture displayed in the display area is the last target picture in the picture objects.
In the embodiment of the present invention, when the first time recorded by the timer is equal to the preset time, it indicates that the target picture needs to be switched, and at this time, it needs to further determine whether the currently displayed target picture is the last target picture in the picture objects, and perform different processing according to different situations.
In some embodiments, such as this embodiment, as shown in fig. 3, the step S130 may be followed by a step S130 a.
S130a, if the target picture displayed in the display area is not the last target picture in the picture objects, moving the picture objects toward a preset direction for a preset distance to display the next target picture.
In the embodiment of the invention, when the target picture displayed in the display area is not the last target picture in the picture objects, the picture objects are controlled to move towards the preset direction for the preset distance, so that the next target picture can be displayed. The preset direction is related to the arrangement sequence of the target pictures in the picture object, when the arrangement sequence of the target pictures in the picture object is from left to right, the preset direction moves towards the left side, and the preset distance is equal to the width of the target pictures.
S140, if the target picture displayed in the display area is the last target picture in the picture objects, resetting the position of the picture object so that the first target picture of the picture object is located in the display area.
In the embodiment of the present invention, as shown in fig. 4, fig. 4 has eight rows, each row has three pictures, P1, P2 and P3, where P3 is a duplicate picture of P1 and is identical to P1, a region framed by a dashed portion of each row in fig. 4 is a display region, P1 to P3 constitute picture objects, and the second row to the eighth row in fig. 4 are different positions of the picture objects at different times. When the dwell time of P1 reaches the preset time, the picture object moves toward the left side until moving to P2, as shown in the first four rows in fig. 4. The fifth row is the moment when P3 is located in the presentation area, when the dwell time of P3 reaches the preset time, since P3 is already the last target picture in the picture object, the position of the picture object is reset first, so that the picture object returns to the original position, i.e., the position shown in the first row, and then the above process is repeated. In the whole process, since P1 and P3 are completely consistent, no picture flicker occurs when resetting the position.
In some embodiments, for example, in this embodiment, the step S140 may include the following steps: confirming the current coordinates and the initial coordinates of the picture object; replacing the current coordinates of the picture object with the initial coordinates to reset the position of the picture object.
In the embodiment of the present invention, the position of the picture object in the preset container may be defined by coordinates, for example, when the preset container is a Canvas and the picture object is a Stackpanel control, the Stackpanel control is added to the Canvas, and the Canvas may define the initial coordinates of the Stackpanel control as (0,0), and then the Stackpanel control is controlled to move according to the preset time set by the timer, and when the last target picture is moved, the coordinates of the Stackpanel control are reset to (0,0), so as to reset the position of the Stackpanel control.
Fig. 5 is a schematic block diagram of an apparatus 100 for playing pictures by scrolling in a circle according to an embodiment of the present invention. As shown in fig. 5, the present invention also provides an apparatus 100 for playing pictures by cyclically scrolling, corresponding to the above method for playing pictures by cyclically scrolling. The apparatus 100 for playing pictures by loop scrolling comprises means for performing the above method for playing pictures by loop scrolling. Specifically, referring to fig. 5, the apparatus 100 for cyclically scrolling and playing pictures includes a picture playing unit 110, a first determining unit 120, a second determining unit 130, and a first position resetting unit 140.
The picture playing unit 110 is configured to, if a playing instruction is detected, play a first target picture in a picture object in a display area in a preset container according to the playing instruction, and start a timer, where the picture object includes at least three target pictures, and the first target picture is the same as the last target picture; the first determining unit 120 is configured to determine whether a first time recorded by the timer is equal to a preset time, where the first time is a time that the target picture stays in the display area; the second determining unit 130 is configured to determine whether the target picture displayed in the display area is the last target picture in the picture objects if the first time recorded by the timer is equal to the preset time; the first position resetting unit 140 is configured to reset the position of the picture object to enable the first target picture of the picture object to be located in the display area if the target picture displayed in the display area is the last target picture in the picture object.
Fig. 6 is a schematic block diagram of an apparatus 100 for playing pictures by scrolling in a circle according to another embodiment of the present invention. As shown in fig. 6, the apparatus 100 for cyclically scrolling playing pictures of the present embodiment is the above-described embodiment, and is added with a picture size adjustment unit 110a, a picture put-in unit 110b, a picture copy unit 110c, a picture addition unit 110d, and a coordinate setting unit 110 e.
The picture size adjusting unit 110a is configured to determine a picture set selected by a user and a size of the display area, and adjust a size of a picture to be adjusted in the picture set so that the size of the picture to be adjusted matches the size of the display area to obtain the target picture; the picture placing unit 110b is configured to place all the target pictures into the picture objects according to the sequence selected by the user; the picture copying unit 110c is configured to copy a first target picture in the picture object to obtain a copy target picture; the picture adding unit 110d is configured to add the copy target picture at the end of the picture object; the coordinate setting unit 110e is configured to put the picture object into the preset container, and set an initial coordinate of the picture object in the preset container.
Fig. 7 is a schematic block diagram of an apparatus 100 for playing pictures by scrolling in a circle according to another embodiment of the present invention. As shown in fig. 7, the apparatus 100 for playing pictures by scrolling in a circle of the present embodiment is added with a picture moving unit 130a in addition to the above-mentioned embodiment.
The picture moving unit 130a is configured to move the picture object toward a preset direction by a preset distance to display a next target picture if the target picture displayed in the display area is not the last target picture in the picture objects.
In some embodiments, such as the present embodiment, the first position resetting unit 140 includes a coordinate confirmation unit and a coordinate resetting unit.
The coordinate confirming unit is used for confirming the current coordinate and the initial coordinate of the picture object; the coordinate resetting unit is used for replacing the current coordinates of the picture object with the initial coordinates so as to reset the position of the picture object.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the apparatus for playing pictures by scrolling in a circular manner and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The above-mentioned means for playing pictures by scrolling in a loop can be implemented in the form of a computer program that can be run on a display device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a display device according to an embodiment of the present disclosure. The display device can be a terminal or a server, wherein the terminal can be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 8, the display device 500 includes a processor 502, a memory and an interface connected by a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to perform a method of playing pictures by scrolling in a loop.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall display device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be enabled to execute a method for playing pictures by scrolling in a circle.
The interface 505 is used to communicate with other devices. Those skilled in the art will appreciate that the structure shown in fig. 8 is a block diagram of only a portion of the structure relevant to the present application, and does not constitute a limitation on the display device 500 to which the present application is applied, and that a particular display device 500 may include more or less components than those shown in the figures, or combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
if a playing instruction is detected, playing a first target picture in a picture object in a display area in a preset container according to the playing instruction, and starting a timer, wherein the picture object comprises at least three target pictures, and the first target picture is the same as the last target picture;
judging whether first time recorded by the timer is equal to preset time or not, wherein the first time is the time of the target picture staying in the display area;
if the first time recorded by the timer is equal to the preset time, judging whether the target picture displayed in the display area is the last target picture in the picture object;
if the target picture displayed in the display area is the last target picture in the picture objects, the position of the picture objects is reset so that the first target picture of the picture objects is located in the display area.
In an embodiment, after the step of determining whether the target picture displayed in the display area is the last target picture in the picture objects if the first time recorded by the timer is equal to the preset time is realized, the processor 502 further includes the following steps:
and if the target picture displayed in the display area is not the last target picture in the picture objects, moving the picture objects to a preset direction for a preset distance to display the next target picture.
In an embodiment, before implementing the steps of playing the first target picture in the picture object in the display area in the preset container according to the play instruction and starting the timer if the play instruction is detected, the processor 502 further includes the following steps:
confirming the size of the picture set selected by the user and the size of the display area, and adjusting the size of the picture to be adjusted in the picture set so that the size of the picture to be adjusted is matched with the size of the display area to obtain the target picture;
and putting all the target pictures into the picture objects according to the sequence selected by the user.
In an embodiment, the processor 502 further comprises, after the step of putting all the target pictures into the picture objects in the order selected by the user, the following steps:
copying a first target picture in the picture object to obtain a copied target picture;
adding the copy target picture at the end of the picture object.
In an embodiment, the processor 502 further comprises, after implementing the step of adding the copy target picture at the end of the picture object, the steps of:
and putting the picture object into the preset container, and setting the initial coordinate of the picture object in the preset container.
In an embodiment, when the step of resetting the position of the picture object to enable the first target picture of the picture object to be located in the display area is implemented by the processor 502, the following steps are specifically implemented:
confirming the current coordinates and the initial coordinates of the picture object;
replacing the current coordinates of the picture object with the initial coordinates to reset the position of the picture object.
In an embodiment, after implementing the step of determining whether the first time recorded by the timer is equal to the preset time, the processor 502 further includes the following steps:
and if the first time recorded by the timer is not equal to the preset time, continuing to display the target picture.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, digital Signal processors (FSP), Application Specific Integrated Circuits (ASIC), Field Programmable Gate Arrays (FPGA) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. Which when executed by a processor implements any of the embodiments of the above-described method of cyclically scrolling through pictures.
The storage medium may be a usb disk, a removable hard disk, a read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a display device to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for playing pictures by scrolling in a loop, the method comprising:
if a playing instruction is detected, playing a first target picture in a picture object in a display area in a preset container according to the playing instruction, and starting a timer, wherein the picture object comprises at least three target pictures, and the first target picture is the same as the last target picture;
judging whether first time recorded by the timer is equal to preset time or not, wherein the first time is the time of the target picture staying in the display area;
if the first time recorded by the timer is equal to the preset time, judging whether the target picture displayed in the display area is the last target picture in the picture object;
if the target picture displayed in the display area is the last target picture in the picture objects, the position of the picture objects is reset so that the first target picture of the picture objects is located in the display area.
2. The method for cyclically scrolling and playing pictures according to claim 1, wherein after the step of determining whether the target picture displayed in the display area is the last target picture in the picture objects if the first time recorded by the timer is equal to the preset time, the method further comprises:
and if the target picture displayed in the display area is not the last target picture in the picture objects, moving the picture objects to a preset direction for a preset distance to display the next target picture.
3. The method for playing cyclically scrolling pictures according to claim 1, wherein before the steps of playing the first target picture in the picture object in the display area of the preset container according to the play command and starting the timer if the play command is detected, the method further comprises:
confirming the size of the picture set selected by the user and the size of the display area, and adjusting the size of the picture to be adjusted in the picture set so that the size of the picture to be adjusted is matched with the size of the display area to obtain the target picture;
and putting all the target pictures into the picture objects according to the sequence selected by the user.
4. The method for cyclically scrolling a picture playing list according to claim 3, wherein said step of placing all of said target pictures in said picture objects in an order selected by a user further comprises:
copying a first target picture in the picture object to obtain a copied target picture;
adding the copy target picture at the end of the picture object.
5. The method of cyclically scrolling a picture playing list according to claim 4, wherein said step of adding said copy target picture at the end of said picture object further comprises:
and putting the picture object into the preset container, and setting the initial coordinate of the picture object in the preset container.
6. The method of claim 5, wherein said step of repositioning said picture object so that a first of said target pictures of said picture object is located within said presentation area comprises:
confirming the current coordinates and the initial coordinates of the picture object;
replacing the current coordinates of the picture object with the initial coordinates to reset the position of the picture object.
7. The method for cyclically scrolling a picture according to claim 1, wherein said step of determining whether the first time recorded by the timer is equal to a preset time further comprises:
and if the first time recorded by the timer is not equal to the preset time, continuing to display the target picture.
8. An apparatus for playing pictures with circular scrolling, the apparatus comprising:
the picture playing unit is used for playing a first target picture in a picture object in a display area in a preset container according to a playing instruction if the playing instruction is detected, and starting a timer, wherein the picture object comprises at least three target pictures, and the first target picture is the same as the last target picture;
the first judging unit is used for judging whether first time recorded by the timer is equal to preset time or not, wherein the first time is the time of the target picture staying in the display area;
a second determining unit, configured to determine whether the target picture displayed in the display area is a last target picture in the picture object if the first time recorded by the timer is equal to the preset time;
a first position resetting unit, configured to reset a position of the picture object to enable a first target picture of the picture object to be located in the display area if the target picture displayed in the display area is a last target picture in the picture object.
9. A display device, comprising a memory and a processor coupled to the memory; the memory is used for storing a computer program; the processor is adapted to run a computer program stored in the memory to perform the steps of the method according to any of claims 1-7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when being executed by a processor, realizes the steps of the method according to any one of claims 1 to 7.
CN202111314216.1A 2021-11-08 2021-11-08 Method and device for playing pictures in circulating rolling mode, display equipment and storage medium Pending CN114020938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111314216.1A CN114020938A (en) 2021-11-08 2021-11-08 Method and device for playing pictures in circulating rolling mode, display equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111314216.1A CN114020938A (en) 2021-11-08 2021-11-08 Method and device for playing pictures in circulating rolling mode, display equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114020938A true CN114020938A (en) 2022-02-08

Family

ID=80062255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111314216.1A Pending CN114020938A (en) 2021-11-08 2021-11-08 Method and device for playing pictures in circulating rolling mode, display equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114020938A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116185323A (en) * 2023-02-17 2023-05-30 广州市保伦电子有限公司 Infinite circulation scrolling display method, device, storage medium and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116185323A (en) * 2023-02-17 2023-05-30 广州市保伦电子有限公司 Infinite circulation scrolling display method, device, storage medium and system
CN116185323B (en) * 2023-02-17 2024-03-08 广东保伦电子股份有限公司 Infinite circulation scrolling display method, device, storage medium and system

Similar Documents

Publication Publication Date Title
Schmitz et al. Ad-Hoc Multi-Displays for Mobile Interactive Applications.
US8749586B2 (en) Method and apparatus for providing folder item information based on touch operation
EP3740855B1 (en) Methods and devices to select presentation mode based on viewing angle
WO2017024964A1 (en) Object-associated image quick preview method and device
WO2017133475A1 (en) Multimedia data playing method, apparatus and device, and interface rendering method, apparatus and device
CN112835499A (en) Carousel graph display method, device, equipment and medium
US20220321974A1 (en) Display method and apparatus
CN114020938A (en) Method and device for playing pictures in circulating rolling mode, display equipment and storage medium
CN113849734A (en) Information display method and device, computer equipment and storage medium
CN114443945A (en) Display method of application icons in virtual user interface and three-dimensional display equipment
WO2019105062A1 (en) Content display method, apparatus, and terminal device
EP4060999A1 (en) Video playback method and video playback apparatus
CN113786607A (en) Interface display method, device, terminal and storage medium
CN113115108A (en) Video processing method and computing device
CN116049453A (en) Picture set playing method and device, equipment and medium thereof
JP5653937B2 (en) Display area control device, display area control method, and integrated circuit
US6833841B2 (en) Image forming method, computer program for forming image, and image forming apparatus
CN115658196A (en) Page display method and device, electronic equipment and storage medium
CN115454250A (en) Method, apparatus, device and storage medium for augmented reality interaction
CN114185629A (en) Page display method and device, electronic equipment and storage medium
WO2019153904A1 (en) Method and device for refreshing
CN111328391B (en) Icon display method and icon display device of intelligent terminal
CN112672196B (en) System and method for channel selection and image display
WO2022183869A1 (en) Display method, terminal, and storage medium
CN117950535A (en) Interaction method, device, 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