CN113434070A - Multimedia information playing method and device, storage medium and electronic device - Google Patents
Multimedia information playing method and device, storage medium and electronic device Download PDFInfo
- Publication number
- CN113434070A CN113434070A CN202110707561.5A CN202110707561A CN113434070A CN 113434070 A CN113434070 A CN 113434070A CN 202110707561 A CN202110707561 A CN 202110707561A CN 113434070 A CN113434070 A CN 113434070A
- Authority
- CN
- China
- Prior art keywords
- target
- playing
- area
- multimedia information
- displayed
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000006870 function Effects 0.000 claims description 42
- 238000004590 computer program Methods 0.000 claims description 16
- 238000005516 engineering process Methods 0.000 abstract description 7
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 9
- 238000012544 monitoring process Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 230000003068 static effect Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a method, a device, a storage medium and an electronic device for playing multimedia information, wherein the method comprises the following steps: receiving a first adjusting instruction, and adjusting the content displayed on the target page of the target terminal into target content under the trigger of the first adjusting instruction; determining target area information of a target playing area of target multimedia information displayed on a target page based on the target content; and playing the target multimedia information in the target playing area under the condition that the information of the target area meets the target condition and the function of automatically playing the multimedia information is started by the target terminal. The invention solves the problem of complex multimedia information playing operation in the related technology, thereby achieving the effect of improving the operation convenience.
Description
Technical Field
The embodiment of the invention relates to the field of mobile Internet of things, in particular to a method and a device for playing multimedia information, a storage medium and an electronic device.
Background
With the rapid development of the mobile internet of things technology, applications for viewing multimedia information such as live broadcast, video, monitoring and the like through a terminal APP (Application) or a webpage end are increasingly popularized, and the requirement for the usability of operation is also increasingly high. For example, at present, a list page of a mobile phone APP or a web page end displays live broadcast, video and monitored contents through a static picture or a GIF (Graphics Interchange Format) moving picture, a user can only enter a playing page by clicking the static picture or the GIF moving picture of the list page to view, taking the mobile phone APP to view a monitoring picture of an intelligent camera as an example, the user can only enter a monitoring preview page by clicking the static picture or the GIF moving picture of the list page to view the monitoring picture, if the user has a plurality of intelligent cameras, the user needs to click the list page picture one by one to enter the monitoring preview page to view a real-time monitoring picture, the operation is complex, and the user experience is poor.
Therefore, how to provide an interactive technology capable of better automatically playing multimedia information on a page is particularly urgent to realize that a user quickly previews multimedia information on the page.
Aiming at the problem of complex multimedia information playing operation in the related technology, no effective solution is provided at present.
Disclosure of Invention
The embodiment of the invention provides a multimedia information playing method, a multimedia information playing device, a storage medium and an electronic device, and at least solves the problem that the multimedia information playing operation is complex in the related technology.
According to an embodiment of the present invention, there is provided a method for playing multimedia information, including: receiving a first adjusting instruction, and adjusting the content displayed on a target page of a target terminal into target content under the trigger of the first adjusting instruction; determining target area information of a target playing area of target multimedia information displayed on the target page based on the target content; and playing the target multimedia information in the target playing area under the condition that the target area information is determined to meet the target condition and the target terminal is determined to start the function of automatically playing the multimedia information.
In an exemplary embodiment, the method further includes: acquiring a switch switching instruction input through a switch button area displayed on the target page; and switching the on and off of the automatic multimedia information playing function of the target terminal based on the switch switching instruction.
In one exemplary embodiment, determining target area information of a target play area of target multimedia information displayed on the target page based on the target content includes: under the condition that a plurality of playing areas of multimedia information are displayed on the target page, acquiring the area integrity of each playing area of the multimedia information displayed on the target page based on the target content; determining a playing area of the multimedia information with the largest area integrity as the target playing area of the target multimedia information; and acquiring the target area information of the target playing area.
In an exemplary embodiment, in the case that it is determined that the target area information satisfies a target condition and it is determined that the target terminal has started an automatic multimedia information playing function, playing the target multimedia information in the target playing area includes: and playing the target multimedia information in the target playing area under the condition that the target playing area is determined to be completely displayed on the target page based on the target area information and the function of automatically playing the multimedia information is determined to be started by the target terminal.
In an exemplary embodiment, the method further includes: acquiring a playing instruction input through a preset area included in the target playing area; and playing the preset multimedia information corresponding to the preset area in the target playing area under the triggering of the playing instruction.
In an exemplary embodiment, the method further comprises one of: under the condition that the preset area is determined to be displayed on the target playing area, receiving a first area adjusting instruction, and hiding the preset area under the triggering of the first area adjusting instruction; and under the condition that the preset area is not displayed on the target playing area, receiving a second area adjusting instruction, and under the triggering of the second area adjusting instruction, calling the hidden preset area to display the preset area on the target playing area.
In an exemplary embodiment, after the target multimedia information is played in the target playing area, the method further includes: under the condition that the target multimedia information played in the target playing area reaches the target duration, stopping playing the target multimedia information; or receiving a second adjusting instruction, and adjusting the content displayed on the target page to other content except the target content under the trigger of the second adjusting instruction; and stopping playing the target multimedia information under the condition that the target playing area is determined not to be included on the target page or the target area information of the target playing area included on the target page does not meet the target condition based on the other contents.
In an exemplary embodiment, after stopping playing the target multimedia information, the method further includes: and adjusting the picture displayed in the target playing area to be the picture played by the target multimedia information at last.
According to another embodiment of the present invention, there is also provided a playing apparatus of multimedia information, including: the receiving module is used for receiving a first adjusting instruction and adjusting the content displayed on the target page of the target terminal into target content under the trigger of the first adjusting instruction; the determining module is used for determining target area information of a target playing area of the target multimedia information displayed on the target page based on the target content; and the playing module is used for playing the target multimedia information in the target playing area under the condition that the target area information is determined to meet the target condition and the function of automatically playing the multimedia information is determined to be started by the target terminal.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the aim of automatically playing the multimedia information can be triggered based on the target page of the adjusting terminal, so that the function of viewing the multimedia information on the target page in real time can be realized without clicking the multimedia files in the target page one by one. The problem that multimedia information playing operation is complex in the related technology is solved, and the effect of improving operation convenience is achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a playing method of multimedia information according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for playing multimedia information according to an embodiment of the present invention;
FIG. 3 is a diagram of an exemplary list page display in accordance with an embodiment of the present invention;
FIG. 4 is a hidden example of a listpage message box of FIG. one, according to an embodiment of the present invention;
FIG. 5 is a hidden example of a listpage message box of FIG. two, according to an embodiment of the present invention;
FIG. 6 is a flowchart of an example of automatically stopping play according to an embodiment of the present invention;
fig. 7 is a flowchart of a preferred method of playing multimedia information according to an embodiment of the present invention;
FIG. 8 is a flow diagram of automatic play switch status acquisition according to an embodiment of the present invention;
fig. 9 is a flow chart of auto-play function switch switching according to an embodiment of the present invention;
FIG. 10 is a diagram of an example of a list page message play according to an embodiment of the present invention;
fig. 11 is a block diagram of a playing apparatus for multimedia information according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal of the playing method of the multimedia information according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the method for playing multimedia information in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for playing multimedia information is provided, and fig. 2 is a flowchart of the method for playing multimedia information according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving a first adjusting instruction, and adjusting the content displayed on the target page of the target terminal into target content under the trigger of the first adjusting instruction;
step S204, determining target area information of a target playing area of the target multimedia information displayed on the target page based on the target content;
step S206, when the target area information is determined to meet the target condition and the target terminal is determined to start the automatic multimedia information playing function, the target multimedia information is played in the target playing area.
Through the steps, the aim of automatically playing the multimedia information can be triggered based on the target page of the adjusting terminal, so that the function of viewing the multimedia information on the target page in real time can be realized without clicking the multimedia files in the target page one by one. The problem that multimedia information playing operation is complex in the related technology is solved, and the effect of improving operation convenience is achieved.
The main body of the above steps may be a mobile terminal device, such as a smart phone, a notebook computer, or the like, or a web page, or a processor with human-computer interaction capability configured on a storage device, or a processing device or a processing unit with similar processing capability, but is not limited thereto. The following description is given by taking the smart phone APP to perform the above operation as an example (which is only an exemplary description, and in actual operation, other devices or modules may also perform the above operation):
in the above embodiment, the smart phone APP receives the first adjustment instruction, adjusts the content displayed on the target page of the smart phone APP into the target content, determines the target area information of the target playing area of the target multimedia information displayed on the target page based on the target content, and plays the target multimedia information in the target playing area when it is determined that the target area information meets the target condition and the function of playing the multimedia information is started by the smart phone APP. For example, under the trigger of a first adjustment instruction (e.g., finger sliding, mouse sliding, etc.), the content displayed on a target page (e.g., a list page) of the smartphone APP is adjusted, the adjusted content is used as a target content, and target area information of a target playing area of target multimedia information displayed in the list page is determined based on the target content, optionally, in practical applications, the multimedia information displayed in the list page may be one or more pieces (or some one or more pieces of multimedia information may be only partially displayed in the list page, that is, the display is incomplete), and in general, there are many pieces of multimedia information displayed in the list page, each piece of multimedia information is presented in a different area of the list page, where the target area information of each piece of target multimedia information needs to be determined, when it is determined that the target region information meets a target condition (for example, a target playing region to which the multimedia information a belongs is completely displayed on a list page and is at the top of the list page, or a region area occupied by the target playing region in the list page is the largest, and the like), and the smart phone APP has started an automatic multimedia information playing function, the target multimedia information (such as the multimedia information a) is played in the target playing region, optionally, in an actual application, the smart phone APP may also close the automatic multimedia information playing function, and when the automatic multimedia information playing function is closed, the playing region of the list page will not automatically play the multimedia information any more.
In an optional embodiment, the method further includes: acquiring a switch switching instruction input through a switch button area displayed on the target page; and switching the on and off of the automatic multimedia information playing function of the target terminal based on the switch switching instruction. In this embodiment, the smart phone APP may obtain the input switch switching instruction through a switch button region displayed on the target page, for example, the switch button region may be set in the upper right corner of the target page, and may also be set in other regions of the target page as needed, and in addition, the switch switching instruction may be obtained through finger touch, mouse click on the switch button region, or through other manners; the automatic playing function of the multimedia information on the target page of the smart phone APP can be switched between on and off based on the acquired switch switching instruction, for example, when the automatic playing function of the multimedia information on the target page of the smart phone APP is originally on, after the switch switching instruction is acquired (i.e., the multimedia information is switched from on to off), the automatic playing function of the multimedia information on the target page is turned off, that is, the multimedia information is not automatically played any more.
Fig. 3 is a diagram illustrating a list page display example according to an embodiment of the present invention, in fig. 3, an on/off auto-play button (corresponding to the aforementioned toggle button area) is disposed at the upper right corner of a target page, and the display content of the target page can be adjusted by sliding the list up and down.
In an optional embodiment, determining target area information of a target playing area of target multimedia information displayed on the target page based on the target content comprises: under the condition that a plurality of playing areas of multimedia information are displayed on the target page, acquiring the area integrity of each playing area of the multimedia information displayed on the target page based on the target content; determining a playing area of the multimedia information with the largest area integrity as the target playing area of the target multimedia information; and acquiring the target area information of the target playing area. In this embodiment, the determining, by the smart phone APP based on the target content, target area information of a target playing area of target multimedia information displayed on the target page includes: under the condition that a plurality of multimedia information playing regions are displayed on the target page (under the normal condition, a plurality of multimedia information playing regions are all displayed on the target page), acquiring the region integrity of each multimedia information playing region displayed on the target page, wherein the region integrity is the ratio of the region area of each multimedia information displayed on the target page to the region area of the complete playing region of each multimedia information, namely, only one part of a certain multimedia information playing region can be displayed in the target page, and the other part of the certain multimedia information playing region can slide out of the target page; and then determining the playing area of the multimedia information with the largest area integrity as the target playing area of the target multimedia information, for example, if the integrity of the multimedia information B in all the multimedia information in the target page is the highest, determining the playing area of the multimedia information B as the target playing area, and then obtaining the target area information of the target playing area.
In an optional embodiment, in a case that it is determined that the target area information satisfies a target condition and it is determined that the target terminal has started an automatic multimedia information playing function, playing the target multimedia information in the target playing area includes: and playing the target multimedia information in the target playing area under the condition that the target playing area is determined to be completely displayed on the target page based on the target area information and the function of automatically playing the multimedia information is determined to be started by the target terminal. In this embodiment, on the basis of the target area information, it is determined that the target playing area (the multimedia information B described above) is completely displayed on the target page, and when it is determined that the smart phone APP has started the function of automatically playing multimedia information, the target multimedia information can be played in the target playing area, optionally, in practical applications, the target page of the smart phone APP may display multiple playing areas (e.g., M) of multimedia information, and simultaneously, multiple playing areas of multimedia information are completely displayed on the target page (e.g., N playing areas of multimedia information are completely displayed, i.e., the playing areas of other N-M multimedia information are only partially displayed), at this time, other target conditions may be set, for example, the target conditions are set to be the top or the left side of the target page or the middle of the page, etc., or setting the playing area of the multimedia information in the first row and the first column as the target playing area which only meets the target condition.
In an optional embodiment, the method further includes: acquiring a playing instruction input through a preset area included in the target playing area; and playing the preset multimedia information corresponding to the preset area in the target playing area under the triggering of the playing instruction. In this embodiment, the smart phone APP may further obtain the inputted playing instruction through a predetermined area included in the target playing area, for example, the predetermined area may be set in a rightmost middle area of the target page, and of course, may also be set in another area of the target page as needed, and under the trigger of the playing instruction, predetermined multimedia information corresponding to the predetermined area is played in the target playing area, where the predetermined multimedia information is different from the above multimedia information, and the predetermined multimedia information may be some important notification or warning real-time multimedia information, for example, in the field of smart camera monitoring, when a dangerous or suspicious event is monitored, a message reminder may pop up in a list page of the smart phone APP, and at this time, the user may open the message video to perform timely tracking check and confirmation, the work efficiency in the field is effectively improved, and in addition, the playing instruction can be obtained through the modes of touch after finger touch or sliding, mouse click or click after dragging and the like.
In an optional embodiment, the method further comprises one of: under the condition that the preset area is determined to be displayed on the target playing area, receiving a first area adjusting instruction, and hiding the preset area under the triggering of the first area adjusting instruction; and under the condition that the preset area is not displayed on the target playing area, receiving a second area adjusting instruction, and under the triggering of the second area adjusting instruction, calling the hidden preset area to display the preset area on the target playing area. In this embodiment, in a case that it is determined that the predetermined area is displayed on the target playing area, a first area adjustment instruction may be received to hide the predetermined area, for example, the predetermined area is set in a middle area of the rightmost side of the target page, and when the first area adjustment instruction (for example, sliding to the right) is received, the predetermined area may be hidden, and optionally, in an actual application, when the predetermined area is hidden, an area (which is usually much smaller than the predetermined area) where a clickable pop-up message may be kept in the original predetermined area is also kept; in a case where it is determined that the predetermined area is not displayed in the target playing area, a second area adjustment instruction may be received to retrieve the hidden predetermined area, for example, when the predetermined area is hidden (at this time, an area where a pop-up message can be clicked is reserved in the predetermined area), when a second area adjustment instruction (for example, finger touch or mouse click or sliding or the like) is received, the hidden predetermined area may be retrieved again to display the predetermined area in the target playing area.
FIG. 4 is a first illustration of a hidden list page message box according to an embodiment of the present invention, in FIG. 4, the list page message box (corresponding to the above-mentioned predetermined area) has been hidden, but an area of a clickable pop-up message is reserved; fig. 5 is a second illustration of hiding a list page message frame according to an embodiment of the present invention, in fig. 5, the list page message frame (corresponding to the predetermined area) has been called, and the list page message frame can be hidden when the list page message frame is slid as shown in fig. 5 (corresponding to the second area adjustment instruction received).
In an optional embodiment, after the target multimedia information is played in the target playing area, the method further includes: under the condition that the target multimedia information played in the target playing area reaches the target duration, stopping playing the target multimedia information; or receiving a second adjusting instruction, and adjusting the content displayed on the target page to other content except the target content under the trigger of the second adjusting instruction; and stopping playing the target multimedia information under the condition that the target playing area is determined not to be included on the target page or the target area information of the target playing area included on the target page does not meet the target condition based on the other contents. In this embodiment, after the target multimedia information (e.g. multimedia information C) is played in the target playing area, in the case that it is determined that the target multimedia information is played in the target playing area for a target duration (e.g. 10s or 15s), the target multimedia information (i.e. the multimedia information C) is stopped to be played; or, receiving a second adjustment instruction to adjust the content displayed on the target page to other content except the target content (for example, the original target content may be moved out of the target page by sliding the target page), determining that the target page does not include the target playing area according to the other content, or stopping playing the target multimedia information if the target area information of the target playing area included in the target page does not satisfy the target condition, for example, moving the multimedia information C (normally played before sliding the target page) out of the target page by sliding the target page or if the multimedia information C cannot be completely displayed on the target page, at this time, stopping playing the multimedia information C.
FIG. 6 is a flowchart of an example of automatically stopping playback according to an embodiment of the present invention, including the steps of:
s602, a first judgment is carried out to judge whether the channel unit being played is moved out of the screen;
s604, if the first determination result is negative, continuing to perform a second determination to determine whether the multimedia information of the currently playing channel unit has been played for 15S (corresponding to the target duration, in practical applications, other durations may also be set);
s606, if the first determination result is yes (i.e. the playing channel unit has been removed from the screen), or if the second determination result is yes (i.e. the multimedia information of the playing channel unit has been played for 15S), the playing is stopped, and the playing is returned to the initial state (or called the playing waiting state);
s608, if the second determination result is negative (i.e. the playing channel unit is not removed from the screen and the playing time is less than 15S), the multimedia information of the playing channel unit will be continuously played.
In an optional embodiment, after stopping playing the target multimedia information, the method further includes: and adjusting the picture displayed in the target playing area to be the picture played by the target multimedia information at last. In this embodiment, after the target multimedia information (e.g., multimedia information D) is stopped playing, the picture displayed in the target playing area is adjusted to the picture that is played last by the target multimedia information, and in practical applications, the last static image of the last playing time of the target multimedia information may be displayed in the target playing area, for example, the multimedia information D is automatically stopped playing after playing for 15s, and after the playing is stopped, the picture displayed in the target playing area is adjusted to the picture of the last static image of the multimedia information D played in the 15 th s.
It is to be understood that the above-described embodiments are only a few, but not all, embodiments of the present invention.
The present invention will be described in detail with reference to the following examples:
fig. 7 is a flowchart of a preferred method for playing multimedia information according to an embodiment of the present invention, where the flowchart includes the following steps:
s702, judging whether an automatic playing function is started or not;
s704, if the determination result in the step S702 is no (i.e. the automatic playing function is not turned on), the automatic playing function is not triggered, and the current process is ended, i.e. the subsequent steps are not executed;
s706, if the determination result is yes (i.e. the automatic playing function is turned on), triggering the automatic playing function, calculating a first channel completely displayed in the screen, and performing automatic playing (which is equivalent to the aforementioned step of automatically playing the target multimedia information in the target area if it is determined that the target area information satisfies the target condition and it is determined that the target terminal has turned on the automatic playing multimedia information function);
s708, clicking the message in the channel (corresponding to the predetermined multimedia information of the predetermined area of the playing instruction triggering the predetermined area);
s710, obtaining a message video stream address from a server;
s712, obtaining the message video stream (corresponding to obtaining the predetermined multimedia information of the predetermined area) through the stream address;
s714, the message video stream is transmitted to a player on the channel unit;
s716, playing the message video on the channel unit (corresponding to the playing of the predetermined multimedia information corresponding to the predetermined area in the target playing area).
Fig. 8 is a flowchart of state acquisition of an automatic playback switch according to an embodiment of the present invention, where the flowchart includes the following steps:
s802, obtaining the state of an automatic playing switch from a server;
s804, after obtaining the automatic play on-off state, updating the on-off state of the client (corresponding to the foregoing smart phone APP), that is, updating the on-off state of the on-off button region of the smart phone APP;
s806, when the automatic playback switch is off, the sliding (corresponding to receiving the first adjustment command) list cannot trigger the automatic playback function;
s808, when the auto-play switch is on, sliding (corresponding to receiving the first adjustment command) the list triggers the auto-play function.
Fig. 9 is a flowchart of switching an auto-play function switch according to an embodiment of the present invention, where the flowchart includes the following steps:
s902, starting an automatic playing function;
s904, under the condition of starting the automatic playing function, the sliding list can trigger the multimedia information of the automatic playing target page;
s906, closing the automatic playing function;
s908, under the condition that the automatic playing function is closed, the sliding list cannot trigger the multimedia information of the automatic playing target page;
s910, updating whether the server starts the automatic playing state.
Fig. 10 is a diagram illustrating an example of playing a list page message, where when a message video is played, a close button exists in the upper left corner of a playing window, so that the currently playing message video can be closed. And when the sliding list enables the channel unit of the message video which is being played to be completely moved out of the screen, automatically closing the message video playback of the current channel unit.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a playing apparatus of multimedia information is further provided, and fig. 11 is a block diagram of a playing apparatus of multimedia information according to an embodiment of the present invention, as shown in fig. 11, the apparatus includes:
a receiving module 1102, configured to receive a first adjustment instruction, and adjust content displayed on a target page of a target terminal to target content under the trigger of the first adjustment instruction;
a determining module 1104, configured to determine target area information of a target playing area of target multimedia information displayed on the target page based on the target content;
a playing module 1106, configured to play the target multimedia information in the target playing area when it is determined that the target area information satisfies a target condition and it is determined that the target terminal has started an automatic multimedia information playing function.
In an optional embodiment, the apparatus further comprises: the first acquisition module is used for acquiring a switch switching instruction input through a switch button area displayed on the target page; and the switching module is used for switching on and off of the automatic multimedia information playing function of the target terminal based on the switch switching instruction.
In an optional embodiment, the determining module comprises: the first acquisition unit is used for acquiring the area integrity of the playing area of each piece of multimedia information displayed on the target page based on the target content under the condition that the playing area of a plurality of pieces of multimedia information displayed on the target page is determined; a determining unit, configured to determine a playing area of the multimedia information with a largest area integrity as the target playing area of the target multimedia information; a second obtaining unit, configured to obtain the target area information of the target playing area.
In an optional embodiment, the playing module includes: and the playing unit is used for playing the target multimedia information in the target playing area under the condition that the target playing area is determined to be completely displayed on the target page based on the target area information and the function of automatically playing the multimedia information is determined to be started by the target terminal.
In an optional embodiment, the apparatus further comprises: a second obtaining module, configured to obtain a play instruction input through a predetermined area included in the target play area; and the second playing module is used for playing the preset multimedia information corresponding to the preset area in the target playing area under the triggering of the playing instruction.
In an optional embodiment, the apparatus further comprises: the hiding module is used for receiving a first area adjusting instruction under the condition that the preset area is determined to be displayed on the target playing area, and hiding the preset area under the triggering of the first area adjusting instruction; and the calling module is used for receiving a second area adjusting instruction under the condition that the preset area is not displayed on the target playing area, and calling the hidden preset area under the triggering of the second area adjusting instruction so as to display the preset area on the target playing area.
In an optional embodiment, the apparatus further comprises: the first playing processing module is used for stopping playing the target multimedia information after the target multimedia information is played in the target playing area and under the condition that the target multimedia information played in the target playing area reaches the target duration; the second playing processing module is used for receiving a second adjusting instruction and adjusting the content displayed on the target page to other content except the target content under the trigger of the second adjusting instruction; and stopping playing the target multimedia information when it is determined that the target playing area is not included on the target page or target area information of the target playing area included on the target page does not satisfy the target condition based on the other content.
In an optional embodiment, the apparatus further comprises: and the adjusting module is used for adjusting the picture displayed in the target playing area to the picture played by the target multimedia information at last after the target multimedia information is stopped being played.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (11)
1. A method for playing multimedia information, comprising:
receiving a first adjusting instruction, and adjusting the content displayed on a target page of a target terminal into target content under the trigger of the first adjusting instruction;
determining target area information of a target playing area of target multimedia information displayed on the target page based on the target content;
and playing the target multimedia information in the target playing area under the condition that the target area information is determined to meet the target condition and the target terminal is determined to start the function of automatically playing the multimedia information.
2. The method of claim 1, further comprising:
acquiring a switch switching instruction input through a switch button area displayed on the target page;
and switching the on and off of the automatic multimedia information playing function of the target terminal based on the switch switching instruction.
3. The method of claim 1, wherein determining target area information of a target playback area of target multimedia information displayed on the target page based on the target content comprises:
under the condition that a plurality of playing areas of multimedia information are displayed on the target page, acquiring the area integrity of each playing area of the multimedia information displayed on the target page based on the target content;
determining a playing area of the multimedia information with the largest area integrity as the target playing area of the target multimedia information;
and acquiring the target area information of the target playing area.
4. The method of claim 1, wherein in the case that it is determined that the target area information satisfies a target condition and it is determined that the target terminal has started an automatic multimedia information playing function, playing the target multimedia information in the target playing area comprises:
and playing the target multimedia information in the target playing area under the condition that the target playing area is determined to be completely displayed on the target page based on the target area information and the function of automatically playing the multimedia information is determined to be started by the target terminal.
5. The method of claim 1, further comprising:
acquiring a playing instruction input through a preset area included in the target playing area;
and playing the preset multimedia information corresponding to the preset area in the target playing area under the triggering of the playing instruction.
6. The method of claim 5, further comprising one of:
under the condition that the preset area is determined to be displayed on the target playing area, receiving a first area adjusting instruction, and hiding the preset area under the triggering of the first area adjusting instruction;
and under the condition that the preset area is not displayed on the target playing area, receiving a second area adjusting instruction, and under the triggering of the second area adjusting instruction, calling the hidden preset area to display the preset area on the target playing area.
7. The method of claim 1, wherein after playing the target multimedia information in the target playing area, the method further comprises:
under the condition that the target multimedia information played in the target playing area reaches the target duration, stopping playing the target multimedia information;
or,
receiving a second adjusting instruction, and adjusting the content displayed on the target page to other content except the target content under the triggering of the second adjusting instruction; and stopping playing the target multimedia information under the condition that the target playing area is determined not to be included on the target page or the target area information of the target playing area included on the target page does not meet the target condition based on the other contents.
8. The method of claim 7, wherein after stopping playing the target multimedia information, the method further comprises:
and adjusting the picture displayed in the target playing area to be the picture played by the target multimedia information at last.
9. A device for playing multimedia information, comprising:
the receiving module is used for receiving a first adjusting instruction and adjusting the content displayed on the target page of the target terminal into target content under the trigger of the first adjusting instruction;
the determining module is used for determining target area information of a target playing area of the target multimedia information displayed on the target page based on the target content;
and the playing module is used for playing the target multimedia information in the target playing area under the condition that the target area information is determined to meet the target condition and the function of automatically playing the multimedia information is determined to be started by the target terminal.
10. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method as claimed in any of claims 1 to 8 are implemented when the computer program is executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110707561.5A CN113434070A (en) | 2021-06-24 | 2021-06-24 | Multimedia information playing method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110707561.5A CN113434070A (en) | 2021-06-24 | 2021-06-24 | Multimedia information playing method and device, storage medium and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113434070A true CN113434070A (en) | 2021-09-24 |
Family
ID=77754181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110707561.5A Pending CN113434070A (en) | 2021-06-24 | 2021-06-24 | Multimedia information playing method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113434070A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500079A (en) * | 2013-09-17 | 2014-01-08 | 小米科技有限责任公司 | Notification message display method and device and electronic equipment |
CN107193451A (en) * | 2017-06-15 | 2017-09-22 | 广东欧珀移动通信有限公司 | Information displaying method, device, computer equipment and computer-readable recording medium |
US20170339347A1 (en) * | 2016-05-20 | 2017-11-23 | Lg Electronics Inc. | Mobile terminal and control method thereof |
CN110072145A (en) * | 2019-04-03 | 2019-07-30 | 北京字节跳动网络技术有限公司 | Information broadcasting method, device and terminal device for terminal device |
CN110187952A (en) * | 2019-06-03 | 2019-08-30 | Oppo广东移动通信有限公司 | Store method, apparatus, terminal and the storage medium of content |
-
2021
- 2021-06-24 CN CN202110707561.5A patent/CN113434070A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103500079A (en) * | 2013-09-17 | 2014-01-08 | 小米科技有限责任公司 | Notification message display method and device and electronic equipment |
US20170339347A1 (en) * | 2016-05-20 | 2017-11-23 | Lg Electronics Inc. | Mobile terminal and control method thereof |
CN107193451A (en) * | 2017-06-15 | 2017-09-22 | 广东欧珀移动通信有限公司 | Information displaying method, device, computer equipment and computer-readable recording medium |
CN110072145A (en) * | 2019-04-03 | 2019-07-30 | 北京字节跳动网络技术有限公司 | Information broadcasting method, device and terminal device for terminal device |
CN110187952A (en) * | 2019-06-03 | 2019-08-30 | Oppo广东移动通信有限公司 | Store method, apparatus, terminal and the storage medium of content |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2628108C2 (en) | Method of providing selection of video material episode and device for this | |
CN112306607B (en) | Screenshot method and device, electronic equipment and readable storage medium | |
EP4109878A1 (en) | Content operation method and device, terminal, and storage medium | |
CN109245997B (en) | Voice message playing method and device | |
CN111612873A (en) | GIF picture generation method and device and electronic equipment | |
CN109286836B (en) | Multimedia data processing method and device, intelligent terminal and storage medium | |
CN112099707A (en) | Display method and device and electronic equipment | |
CN113596555B (en) | Video playing method and device and electronic equipment | |
CN112836086B (en) | Video processing method and device and electronic equipment | |
CN110830813B (en) | Video switching method and device, electronic equipment and storage medium | |
CN112672061B (en) | Video shooting method and device, electronic equipment and medium | |
CN111857460A (en) | Split screen processing method, split screen processing device, electronic equipment and readable storage medium | |
CN112911147B (en) | Display control method, display control device and electronic equipment | |
EP3142357A1 (en) | Operation instruction method and device for remote controller of smart television | |
US20240323490A1 (en) | Recommendation method, device, and storage medium | |
CN112887794A (en) | Video editing method and device | |
CN112799622A (en) | Application control method and device and electronic equipment | |
CN113873272A (en) | Method, device and storage medium for controlling background image of live video | |
CN113852756B (en) | Image acquisition method, device, equipment and storage medium | |
CN112181252B (en) | Screen capturing method and device and electronic equipment | |
CN111757177B (en) | Video clipping method and device | |
CN112684963A (en) | Screenshot method and device and electronic equipment | |
CN113434070A (en) | Multimedia information playing method and device, storage medium and electronic device | |
CN113726953B (en) | Display content acquisition method and device | |
CN114221923A (en) | Message processing method and device and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210924 |