CN110636376A - Video positioning method and device, server and readable storage medium - Google Patents

Video positioning method and device, server and readable storage medium Download PDF

Info

Publication number
CN110636376A
CN110636376A CN201910836955.3A CN201910836955A CN110636376A CN 110636376 A CN110636376 A CN 110636376A CN 201910836955 A CN201910836955 A CN 201910836955A CN 110636376 A CN110636376 A CN 110636376A
Authority
CN
China
Prior art keywords
video
playing
positioning
sequence
played
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
CN201910836955.3A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910836955.3A priority Critical patent/CN110636376A/en
Publication of CN110636376A publication Critical patent/CN110636376A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Abstract

The disclosure relates to a video positioning method and device, a server and a readable storage medium. The method comprises the following steps: responding to the switching to the video sequence, and acquiring the playing state information of each video in the sharing list; determining the playing sequence of each video played in the videos in the shared list based on the playing state information; setting a positioning identifier to a last played video in the video sequence based on the playing order. In the embodiment, by sharing the video information in the video sequence and synchronizing the playing state information of each video in the shared list, the last played video in the video sequence can be positioned when the video sequence is switched to, the last played video can be conveniently positioned when the video sequence is displayed, the playing position does not need to be manually positioned by a user, the operation times and the operation time of the user are reduced, and the use experience is favorably improved.

Description

Video positioning method and device, server and readable storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a video positioning method and apparatus, a server, and a readable storage medium.
Background
At present, in a scene of watching a video, a user usually browses a video sequence first and triggers to operate a target video, so that the user can jump to a playing module and play the target video by the playing module. And in the process of playing the target video, the user continuously selects the next video in the play list of the playing module and switches to play. When the video sequence is returned, the video sequence still locates the target video, which is different from the video actually played by the playing module. When a user needs to browse unviewed videos, the videos actually played by the video playing module need to be manually positioned first, and then the browsing can be continued, so that the use experience of the user is influenced.
Disclosure of Invention
The present disclosure provides a video positioning method and apparatus, a server, and a readable storage medium, to at least solve the problem in the related art that when a video sequence is returned, the position of a played video is not accurate, and a user needs to reposition.
The technical scheme of the disclosure is as follows:
responding to the switching to the video sequence, and acquiring the playing state information of each video in the sharing list;
determining the playing order of the played videos in the shared list based on the playing state information;
setting a positioning identifier to a last played video in the video sequence based on the playing order.
Optionally, the sharing list is stored in a preset designated position, and the number of videos in the sharing list changes or the videos in the sharing list are updated synchronously after being played.
Optionally, setting a positioning identifier to a last played video in the video sequence based on the playing order includes:
judging whether each video in the shared list exists in the video sequence or not according to the sequence of the playing time from near to far;
determining a first video existing in the video sequence as a last played video in the video sequence;
and setting a positioning identifier to the last played video in the video sequence.
Optionally, setting a positioning identifier to a last played video in the video sequence based on the playing order includes:
determining the first video in the playing sequence as the last played video in the video sequence according to the sequence of the playing time from near to far;
and setting a positioning identifier to the last played video in the video sequence.
Optionally, before switching to the video sequence, the method further comprises:
detecting the quantity of videos which are not played by a playing module, or detecting the quantity of videos between a browsing position and a tail part in a playing list of the playing module;
if the number of the videos does not exceed a number threshold, acquiring video data from a set position and adding the video data into the sharing list;
synchronizing the added video to a playlist of the playback module such that the number of unplayed videos within the playlist exceeds the number threshold.
Optionally, after setting the positioning identifier to the last played video in the video sequence, the method further includes:
and displaying the video sequence and the positioning identification of the last played video.
According to a second aspect of the embodiments of the present disclosure, there is provided a video positioning apparatus, the method comprising:
a state information acquisition unit configured to perform acquisition of play state information of each video within the shared list in response to switching to the video sequence;
a play order determination unit configured to perform determination of a play order of videos to be played within the shared list based on the play state information;
a positioning identifier setting unit configured to perform setting of a positioning identifier to a last played video in the video sequence based on the playing order.
Optionally, the sharing list is stored in a preset designated position, and the number of videos in the sharing list changes or the videos in the sharing list are updated synchronously after being played.
Optionally, the positioning identifier setting unit includes:
a video judgment subunit configured to perform judgment of whether each video in the shared list exists in the video sequence based on the playing order in an order from near to far in terms of playing time;
a video determination subunit configured to perform a determination of a first video present in the video sequence as a last played video in the video sequence;
an identification setting subunit configured to perform setting of a positioning identification to a last played video in the video sequence.
Optionally, the positioning identifier setting unit includes:
a video determining subunit configured to perform determining, in order from near to far in terms of playing time, a first video in the playing order as a video played last time in the video sequence;
an identification setting subunit configured to perform setting of a positioning identification to a last played video in the video sequence.
Optionally, the apparatus further comprises:
the device comprises a video quantity detection unit, a video quantity detection unit and a video quantity detection unit, wherein the video quantity detection unit is configured to detect the quantity of videos which are not played by a playing module, or detect the quantity of videos between a browsing position and a tail part in a playing list of the playing module;
a video adding unit configured to perform, in a case where the number of videos does not exceed a number threshold, acquiring video data from a set position and adding the video data to the share list;
a playlist synchronization unit configured to perform synchronization of the added video to a playlist of the playback module such that a number of videos not played within the playlist exceeds the number threshold.
Optionally, the apparatus further comprises:
a video positioning unit configured to perform positioning identification of displaying the video sequence and the last played video.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions; wherein the processor is configured to execute executable instructions in the memory to implement the steps of the method of any one of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor, are capable of performing the steps of the method according to any one of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided an application program, which, when executed by a processor of an electronic device, enables the electronic device to perform the steps of the method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the embodiment, when the video sequence is switched, the playing state information of each video in the sharing list is acquired; (ii) a Then, the playing order of the played videos in the shared list can be determined based on the playing state information; then, the positioning identifier can be set to the last played video in the video sequence through the playing order. Therefore, in the embodiment, by sharing the video information in the video sequence and synchronizing the playing state information of the videos in the shared list, the last played video in the video sequence can be positioned when the video sequence is switched to, the last played video is conveniently positioned when the video sequence is displayed, the playing position does not need to be manually positioned by a user, the operation times and the operation time of the user are reduced, and the use experience is favorably improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flow chart illustrating a video positioning method according to an exemplary embodiment.
Fig. 2(a) is an effect diagram of a video sequence shown in accordance with an example embodiment.
Fig. 2(b) is an effect diagram illustrating a video sequence after a user selects a video according to an exemplary embodiment.
Fig. 2(c) is an effect diagram illustrating playing a selected video according to an example embodiment.
Fig. 2(d) is an effect diagram illustrating selection of a video from a playlist for playback according to an exemplary embodiment.
Fig. 3(a) is a schematic diagram of videos and their play state information within the shared list corresponding to fig. 2 (a).
Fig. 3(b) is a schematic diagram of videos within the shared list corresponding to fig. 2(c) and their play state information.
Fig. 3(c) is a schematic diagram of videos within the shared list corresponding to fig. 2(d) and their play state information.
Fig. 4 is an effect diagram illustrating selection of a video from a playlist for playback according to an exemplary embodiment.
FIG. 5 is a flow chart illustrating another video positioning method according to an example embodiment.
Fig. 6 is an effect diagram illustrating the addition of video to a playlist according to an exemplary embodiment.
Fig. 7 is a schematic diagram of the play order corresponding to fig. 3 (c).
FIG. 8 is a flow chart illustrating yet another video positioning method according to an exemplary embodiment.
FIG. 9 is a flow chart illustrating yet another video positioning method according to an exemplary embodiment.
FIG. 10 is an effect diagram illustrating positioning of a video after returning to a video sequence, according to an example embodiment.
Fig. 11-15 are block diagrams illustrating a video positioning device according to an exemplary embodiment.
FIG. 16 is a block diagram illustrating a server in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
At present, in a scene of watching a video, a user usually browses a video sequence first and triggers to operate a target video, so that the user can jump to a playing module and play the target video by the playing module. And in the process of playing the target video, the user continuously selects the next video in the play list of the playing module and switches to play. When the video sequence is returned, the video sequence still locates the target video, which is different from the video actually played by the playing module. When a user needs to browse unviewed videos, the videos actually played by the video playing module need to be manually positioned first, and then the browsing can be continued, so that the use experience of the user is influenced.
Therefore, the embodiment of the disclosure provides a video positioning method, and the inventive concept is to share video information in a video sequence to obtain a sharing list; in the process of playing a video selected by a user from a video sequence, or when the user slides up and down to select the video in a play list for playing, the playing state information of the video in the shared list can be synchronized. Therefore, after the video sequence is switched to, the video sequence can synchronize the playing state information of the videos in the shared list, so that the last played video is located.
Fig. 1 illustrates a video positioning method according to an exemplary embodiment, which may be applied to an electronic device, where the electronic device may include a terminal such as a smart phone, a tablet computer, and the like, may be a server, and may also be an electronic system composed of the terminal and the server, which is not limited herein. Referring to fig. 1, a video positioning method includes steps 101 to 103, where:
in step 101, in response to switching to a video sequence, playing state information of each video in the shared list is acquired.
In practical application, a browser and/or an application APP may be installed on the electronic device, and the solution of each embodiment is described by taking the browser as an example. The user can browse the video sequence and watch the video through the browser.
In this embodiment, after the browser is opened, the video sequence is displayed, and the effect is as shown in fig. 2 (a). Referring to fig. 2(b), the browser may select a video (e.g., video 5) in response to a trigger operation of the user, and then the playing module plays the selected video, with the effect as shown in fig. 2 (c). Referring to fig. 2(c), the browser may include therein: the video playing device comprises a playing area and a playing list area, wherein the selected video is played in the playing area, and the video which can be selected by a user is displayed in the playing list. During the playing process, the user can also continue to select the next video (e.g., video 7), and at this time, the video 7 is played in the playing area, and the effect is shown in fig. 2 (d).
In this embodiment, a sharing module may be set in the electronic device, and after a video sequence is updated, the video information and the playing state thereof may be synchronized to the sharing module, so as to obtain a sharing list. Continuing with the example of the video sequence shown in FIG. 2(a), the videos in the sharing module and their playing states can be as shown in FIG. 3 (a). When the user selects video 5, the video sequence shown in fig. 2(b) can be obtained, the playing module can synchronize the playing status information to the sharing module, and each video in the sharing module and the playing status thereof can be as shown in fig. 3 (b). When the user selects video 7, the video sequence shown in fig. 2(d) can be obtained, the playing module can synchronize the playing status information to the sharing module, and each video in the sharing module and the playing status thereof can be as shown in fig. 3 (c).
In the process of playing the video, when the user triggers the operation of returning, the slave playing module is switched to the video sequence, and at the moment, the electronic equipment can respond to the switching to the video sequence and acquire the playing state information of each video in the sharing list. For example, a video sequence may read a sharing list from a sharing module, so that the playing state information of each video may be obtained from the sharing list.
In practical applications, referring to fig. 4, a user may switch to the bottom or the top of a playlist when switching videos, or the user has browsed the playlist or soon browses the playlist, in which case, videos need to be added to the playlist. Referring to fig. 5, the sharing module may detect unplayed video data within the play module based on the synchronized play state information, or detect video data between a browsing position within the playlist and the end of the playlist (corresponding to step 501 in fig. 5). Then, comparing the number of videos with a preset number threshold, if the number of videos does not exceed the number threshold, acquiring video data from a set position and adding the video data into the sharing list (corresponding to step 502 in fig. 5). The set position may be a preset resource page, or may be a server, which is not limited herein. The sharing module may then synchronize the added video to the playlist of the playback module such that the number of unplayed videos within the playlist exceeds a number threshold (corresponding to step 503 in fig. 5). Referring to fig. 6, through the adding operation of the sharing module, a video is added to the playlist: video 10, video 11, and video 12. It is understood that the number of the newly added videos may be set according to a specific scene, and is not limited herein.
In step 102, based on the playing status information, the playing order of the videos to be played in the shared list is determined.
In this embodiment, the video sequence in the electronic device may determine the playing order of the played video based on the playing state information. With continued reference to fig. 3(c), the video sequence may be played in the order shown in fig. 7.
In step 103, a positioning identifier is set to the last played video in the video sequence based on the playing order.
In this embodiment, the video sequence sets a positioning flag for the video played last time based on the playing order.
In an example, considering the scenes that the videos in the playlist and the video sequence may be different, referring to fig. 8, the video sequence may determine whether each video in the shared list exists in the video sequence based on the playing order according to the order of the playing time from near to far (corresponding to step 801 in fig. 8). The video sequence may then determine the first video present in the video sequence as the last played video in the video sequence (corresponding to step 802 in fig. 8). Thereafter, the video sequence may set the positioning flag to the video that was played last time (corresponding to step 803 in fig. 8).
In another example, considering a scene where the playlists and the videos in the video sequence are all the same, referring to fig. 9, the video sequence may determine the video existing in the video sequence first in the playing order as the video played last time in the video sequence in the order of the playing time from near to far (corresponding to step 901 in fig. 9). Thereafter, the video sequence may set the position indicator to the last played video (corresponding to step 902 in fig. 9).
In this way, when the browser displays the video sequence, the browser can display the positioning identifiers of each video in the video sequence and the video played last time, and the effect is as shown in fig. 10. Referring to fig. 10, after switching to the video sequence, the video 7 played by the playing module for the last time is displayed in the browser. It can be understood that the positioning identifier may be identified by a position, a color, and the like of the video, so that the video played last time is different from other videos, and may be selected according to a specific scene, which is not limited herein.
In this embodiment, when switching to a video sequence, the playing state information of each video in the shared list may be obtained; then, the playing order of the played videos in the shared list can be determined based on the playing state information; then, the positioning identifier can be set to the last played video in the video sequence through the playing order. Therefore, in the embodiment, by sharing and synchronizing the playing state information of each video in the video sequence in the sharing list, the last played video in the video sequence can be positioned when the video sequence is switched to, and the last played video is conveniently positioned when the video sequence is displayed, so that the playing position does not need to be manually positioned by a user, the operation times and the operation time of the user are reduced, and the use experience is favorably improved.
A video positioning method provided in this embodiment is described below with reference to a WEB browser as an example. In a video viewing scenario, a video sequence may synchronize video information and play state information to a sharing module. When the user selects one video from the video sequence to play, the WEB browser enters the playing module from the video sequence. The playing module synchronizes the video information and the playing state information of each video from the sharing module, then plays the video selected by the user, and simultaneously displays a play list. Also, the user may trigger an operation in the play module, such as sliding up and down, to switch videos. During the switching process, the sharing module may detect the number of unplayed videos, and when the number of videos does not exceed the number threshold, may request video data of the server from the network, update videos and play status information in a sharing list in the sharing module based on the video data, and synchronize to the playing module.
When the user clicks to return, the video sequence is returned from the playing module, the video sequence can synchronously play the state information from the sharing module, and the video played at the last time is positioned. During the display process, all videos in the video sequence are displayed and the last played video is distinctively displayed.
For example, the current page (i.e., video sequence) includes videos 1-n, the current display position is the position of the video 1, the video 1 is clicked to enter playing, different videos are switched to be played in a mode of sliding up and down, the position of the last played video 9 before returning to the page including the videos 1-n is recorded, and the display page is positioned to the position of the video 9 after returning by clicking.
On the basis of the above-mentioned video positioning method, the present embodiment further provides a video positioning apparatus, fig. 11 is a video positioning apparatus according to an exemplary embodiment, and referring to fig. 11, a video positioning apparatus 1100 includes:
a state information acquisition unit 1101 configured to perform acquisition of play state information of each video within the shared list in response to switching to the video sequence;
a play order determination unit 1102 configured to perform determining a play order of videos to be played within the shared list based on the play state information;
a location flag setting unit 1103 configured to perform setting of a location flag to a last played video in the video sequence based on the playing order.
In one embodiment, the sharing list is stored in a preset designated position, and the number of videos in the sharing list is changed or the videos in the sharing list are synchronously updated after being played.
Fig. 12 is a block diagram of another video positioning apparatus according to an exemplary embodiment, and on the basis of the video positioning apparatus shown in fig. 11, referring to fig. 12, the positioning flag setting unit 1103 includes:
a video judgment subunit 1201 configured to perform judgment of whether each video in the shared list exists in the video sequence based on the playing order in order of playing time from near to far;
a video determination subunit 1202 configured to perform determining a video that is first present in the video sequence as a video that is played last time in the video sequence;
an identity setting subunit 1203 configured to perform setting of a positioning identity to a last played video in the video sequence.
Fig. 13 is a block diagram of another video positioning apparatus according to an exemplary embodiment, and on the basis of the video positioning apparatus shown in fig. 11, referring to fig. 13, the positioning flag setting unit 1103 includes:
a video determining subunit 1301 configured to perform determining, according to an order from near to far in playing time, a first video in the playing order as a video played last time in the video sequence;
an identity setting subunit 1301 configured to perform setting of a positioning identity to a last played video in the video sequence.
Fig. 14 is a block diagram illustrating another video positioning apparatus according to an exemplary embodiment, and based on the video positioning apparatus illustrated in fig. 11, referring to fig. 14, the apparatus further includes:
a video number detection unit 1401 configured to perform detection of the number of videos that are not played by a playing module, or detect the number of videos between a browsing position and a tail in a playlist of the playing module;
a video adding unit 1402 configured to perform, in a case where the number of videos does not exceed a number threshold, obtaining video data from a set position to add into the share list;
a playlist synchronization unit 1403 configured to perform synchronization of the added video to the playlist of the play module so that the number of unplayed videos within the playlist exceeds the number threshold.
Fig. 15 is a block diagram illustrating another video positioning apparatus according to an exemplary embodiment, and based on the video positioning apparatus illustrated in fig. 11, referring to fig. 15, the apparatus further includes:
a video positioning unit 1501 configured to perform positioning identification of the video sequence and the last played video.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In this embodiment, when switching to a video sequence, the playing state information of each video in the shared list may be obtained; then, the playing order of the played videos in the shared list can be determined based on the playing state information; then, the positioning identifier can be set to the last played video in the video sequence through the playing order. Therefore, in the embodiment, by sharing and synchronizing the playing state information of each video in the video sequence in the sharing list, the last played video in the video sequence can be positioned when the video sequence is switched to, and the last played video is conveniently positioned when the video sequence is displayed, so that the playing position does not need to be manually positioned by a user, the operation times and the operation time of the user are reduced, and the use experience is favorably improved.
FIG. 16 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 1600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 16, electronic device 1600 may include one or more of the following components: processing component 1602, memory 1604, power component 1606, multimedia component 1608, audio component 1610, input/output (I/O) interface 1612, sensor component 1614, and communications component 1616.
The processing component 1602 generally controls overall operation of the electronic device 1600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1602 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1602 can include one or more modules that facilitate interaction between the processing component 1602 and other components. For example, the processing component 1602 can include a multimedia module to facilitate interaction between the multimedia component 1608 and the processing component 1602.
The memory 1604 is configured to store various types of data to support operation at the electronic device 1600. Examples of such data include instructions for any application or method operating on the electronic device 1600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1604 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 1606 provides power to the various components of the electronic device 1600. The power components 1606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1600.
The multimedia component 1608 includes a screen that provides an output interface between the electronic device 1600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1608 comprises a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 1600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1610 is configured to output and/or input an audio signal. For example, the audio component 1610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1604 or transmitted via the communications component 1616. In some embodiments, audio component 1610 further includes a speaker for outputting audio signals.
The I/O interface 1612 provides an interface between the processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1614 includes one or more sensors for providing various aspects of status assessment for electronic device 1600. For example, sensor assembly 1614 may detect an open/closed state of electronic device 1600, the relative positioning of components, such as a display and keypad of electronic device 1600, a change in position of electronic device 1600 or a component of electronic device 1600, the presence or absence of user contact with electronic device 1600, orientation or acceleration/deceleration of electronic device 1600, and a change in temperature of electronic device 1600. The sensor assembly 1614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1616 is configured to facilitate communications between the electronic device 1600 and other devices in a wired or wireless manner. The electronic device 1600 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1616 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an embodiment of the present disclosure, the electronic device 1600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an embodiment of the present disclosure, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1604 comprising instructions, executable by the processor 1620 of the electronic device 1600 to perform the method of obtaining a viewing time duration is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an embodiment of the present disclosure, an application program is further provided, which, when executed by a processor of an electronic device, enables the electronic device to perform the above method to obtain the same technical effect.
In an embodiment of the present disclosure, there is also provided a computer program product, which, when executed by a processor of an electronic device, enables the electronic device to perform the above method to obtain the same technical effect.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus/electronic device/storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method for video positioning, the method comprising:
responding to the switching to the video sequence, and acquiring the playing state information of each video in the sharing list;
determining the playing order of the played videos in the shared list based on the playing state information;
setting a positioning identifier to a last played video in the video sequence based on the playing order.
2. The video positioning method according to claim 1, wherein the sharing list is stored at a preset designated position, and the video number in the sharing list is changed or the video in the sharing list is updated synchronously after being played.
3. The video positioning method according to claim 1, wherein setting a positioning identifier to a last played video in the video sequence based on the playing order comprises:
judging whether each video in the shared list exists in the video sequence or not according to the sequence of the playing time from near to far;
determining a first video existing in the video sequence as a last played video in the video sequence;
and setting a positioning identifier to the last played video in the video sequence.
4. The video positioning method according to claim 1, wherein setting a positioning identifier to a last played video in the video sequence based on the playing order comprises:
determining the first video in the playing sequence as the last played video in the video sequence according to the sequence of the playing time from near to far;
and setting a positioning identifier to the last played video in the video sequence.
5. The video positioning method of claim 1, wherein prior to switching to a video sequence, the method further comprises:
detecting the quantity of videos which are not played by a playing module, or detecting the quantity of videos between a browsing position and a tail part in a playing list of the playing module;
if the number of the videos does not exceed a number threshold, acquiring video data from a set position and adding the video data into the sharing list;
synchronizing the added video to a playlist of the playback module such that the number of unplayed videos within the playlist exceeds the number threshold.
6. The video positioning method according to claim 1, wherein positioning identification is set to a position after the last played video in the video sequence, the method further comprising:
and displaying the video sequence and the positioning identification of the last played video.
7. A video positioning apparatus, the method comprising:
a state information acquisition unit configured to perform acquisition of play state information of each video within the shared list in response to switching to the video sequence;
a play order determination unit configured to perform determination of a play order of videos to be played within the shared list based on the play state information;
a positioning identifier setting unit configured to perform setting of a positioning identifier to a last played video in the video sequence based on the playing order.
8. The video positioning apparatus of claim 7, wherein the sharing list is stored at a preset designated position, and the video number in the sharing list is changed or the video in the sharing list is updated synchronously after being played.
9. The video positioning apparatus according to claim 7, wherein the positioning flag setting unit comprises:
a video judgment subunit configured to perform judgment of whether each video in the shared list exists in the video sequence based on the playing order in an order from near to far in terms of playing time;
a video determination subunit configured to perform a determination of a first video present in the video sequence as a last played video in the video sequence;
an identification setting subunit configured to perform setting of a positioning identification to a last played video in the video sequence.
10. The video positioning apparatus according to claim 7, wherein the positioning flag setting unit comprises:
a video determining subunit configured to perform determining, in order from near to far in terms of playing time, a first video in the playing order as a video played last time in the video sequence;
an identification setting subunit configured to perform setting of a positioning identification to a last played video in the video sequence.
11. The video positioning apparatus of claim 7, wherein the apparatus further comprises:
the device comprises a video quantity detection unit, a video quantity detection unit and a video quantity detection unit, wherein the video quantity detection unit is configured to detect the quantity of videos which are not played by a playing module, or detect the quantity of videos between a browsing position and a tail part in a playing list of the playing module;
a video adding unit configured to perform, in a case where the number of videos does not exceed a number threshold, acquiring video data from a set position and adding the video data to the share list;
a playlist synchronization unit configured to perform synchronization of the added video to a playlist of the playback module such that a number of videos not played within the playlist exceeds the number threshold.
12. The video positioning apparatus of claim 7, wherein the apparatus further comprises:
a video positioning unit configured to perform positioning identification of displaying the video sequence and the last played video.
13. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions; wherein the processor is configured to execute executable instructions in the memory to implement the steps of the method of any one of claims 1 to 6.
14. A storage medium, wherein instructions of the storage medium, when executed by a processor, are capable of performing the steps of the method according to any one of claims 1 to 6.
CN201910836955.3A 2019-09-05 2019-09-05 Video positioning method and device, server and readable storage medium Pending CN110636376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910836955.3A CN110636376A (en) 2019-09-05 2019-09-05 Video positioning method and device, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910836955.3A CN110636376A (en) 2019-09-05 2019-09-05 Video positioning method and device, server and readable storage medium

Publications (1)

Publication Number Publication Date
CN110636376A true CN110636376A (en) 2019-12-31

Family

ID=68970246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910836955.3A Pending CN110636376A (en) 2019-09-05 2019-09-05 Video positioning method and device, server and readable storage medium

Country Status (1)

Country Link
CN (1) CN110636376A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581359A (en) * 2015-01-30 2015-04-29 无锡天脉聚源传媒科技有限公司 Method and system for processing watching records in television box
CN105635254A (en) * 2015-12-23 2016-06-01 小米科技有限责任公司 Method and device for downloading multimedia resource
US9641898B2 (en) * 2013-12-24 2017-05-02 JBF Interlude 2009 LTD Methods and systems for in-video library
CN109582893A (en) * 2018-11-29 2019-04-05 北京字节跳动网络技术有限公司 A kind of page display position jump method, device, terminal device and storage medium
CN109922357A (en) * 2019-03-29 2019-06-21 乐蜜有限公司 The method and device of video recommendations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9641898B2 (en) * 2013-12-24 2017-05-02 JBF Interlude 2009 LTD Methods and systems for in-video library
CN104581359A (en) * 2015-01-30 2015-04-29 无锡天脉聚源传媒科技有限公司 Method and system for processing watching records in television box
CN105635254A (en) * 2015-12-23 2016-06-01 小米科技有限责任公司 Method and device for downloading multimedia resource
CN109582893A (en) * 2018-11-29 2019-04-05 北京字节跳动网络技术有限公司 A kind of page display position jump method, device, terminal device and storage medium
CN109922357A (en) * 2019-03-29 2019-06-21 乐蜜有限公司 The method and device of video recommendations

Similar Documents

Publication Publication Date Title
CN109120981B (en) Information list display method and device and storage medium
CN106559712B (en) Video playing processing method and device and terminal equipment
CN111294623B (en) Video playing method and device, electronic equipment and storage medium
CN108966025B (en) Video playing method and device and computer readable storage medium
US11545188B2 (en) Video processing method, video playing method, devices and storage medium
CN107562349B (en) Method and device for executing processing
CN110996121A (en) Information processing method and device, electronic equipment and storage medium
CN111343476A (en) Video sharing method and device, electronic equipment and storage medium
CN106896991B (en) Method and device for updating information
CN110719530A (en) Video playing method and device, electronic equipment and storage medium
CN113259226B (en) Information synchronization method and device, electronic equipment and storage medium
CN114025180A (en) Game operation synchronization system, method, device, equipment and storage medium
CN106254939B (en) Information prompting method and device
CN112765375A (en) Multimedia resource information display method and device, electronic equipment and storage medium
CN110636383A (en) Video playing method and device, electronic equipment and storage medium
CN111736746A (en) Multimedia resource processing method and device, electronic equipment and storage medium
CN107272896B (en) Method and device for switching between VR mode and non-VR mode
CN109521938B (en) Method and device for determining data evaluation information, electronic device and storage medium
CN113613082A (en) Video playing method and device, electronic equipment and storage medium
CN113988021A (en) Content interaction method and device, electronic equipment and storage medium
CN107872620B (en) Video recording method and device and computer readable storage medium
CN106528247B (en) Data refreshing method and device
CN112685599A (en) Video recommendation method and device
CN110769282A (en) Short video generation method, terminal and server
US11284127B2 (en) Method and apparatus for pushing information in live broadcast room

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: 20191231