CN110267091B - Play instance processing method and device and computer readable storage medium - Google Patents

Play instance processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN110267091B
CN110267091B CN201910376837.9A CN201910376837A CN110267091B CN 110267091 B CN110267091 B CN 110267091B CN 201910376837 A CN201910376837 A CN 201910376837A CN 110267091 B CN110267091 B CN 110267091B
Authority
CN
China
Prior art keywords
instance
playing
control
video
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910376837.9A
Other languages
Chinese (zh)
Other versions
CN110267091A (en
Inventor
高喆远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Ca Ltd
Original Assignee
Beijing QIYI Century Science and Technology Ca 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 QIYI Century Science and Technology Ca Ltd filed Critical Beijing QIYI Century Science and Technology Ca Ltd
Priority to CN201910376837.9A priority Critical patent/CN110267091B/en
Publication of CN110267091A publication Critical patent/CN110267091A/en
Application granted granted Critical
Publication of CN110267091B publication Critical patent/CN110267091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Abstract

The invention provides a playing instance processing method and device and a computer readable storage medium, and belongs to the technical field of computers. In the method, in response to a plurality of video playing instructions, a playing example corresponding to each video playing instruction is sequentially created according to the sequence of receiving each video playing instruction, the identification information of the playing example created latest is stored to a specific storage position, and in response to a video control instruction, a control method corresponding to the video control instruction is called from a control method supported by the playing example corresponding to the identification information stored in the specific storage position, so that the video being played can be controlled by directly calling a corresponding mode from the control method supported by the playing example corresponding to the identification information stored in the specific storage position, the control steps are simplified, and the control efficiency is improved.

Description

Play instance processing method and device and computer readable storage medium
Technical Field
The present invention belongs to the field of computer technology, and in particular, to a method and an apparatus for processing a play instance, and a computer-readable storage medium.
Background
At present, a user often uses a terminal to watch videos in the process of using the terminal, and other videos are often opened in the process of watching the videos, that is, a plurality of videos may be opened, and accordingly, an instance creating module in the terminal creates a plurality of playing instances and stores the playing instances in a control center class.
When a video currently being played in a plurality of opened videos needs to be controlled, for example, when the video currently being played needs to be fast-forwarded, the control center class needs to first determine which of the plurality of playing examples is a playing example corresponding to the video currently being played, and then call a control method supported by the playing example corresponding to the video currently being played, so as to implement corresponding control on the video currently being played, and the whole control process is tedious and low in efficiency.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for processing a playing instance, and a computer-readable storage medium, which solve the problems of complicated control process and low efficiency of the playing instance when multiple playing instances exist to a certain extent.
According to a first aspect of the present invention, there is provided a method for processing a play instance, which is applied to a terminal, and the method may include:
responding to a plurality of video playing instructions, and sequentially creating a playing example corresponding to each video playing instruction according to the sequence of receiving each video playing instruction;
storing the identification information of the latest created playing instance to a specific storage position;
and responding to a video control instruction, taking a playing instance corresponding to the identification information stored in the specific storage position as a target playing instance, and calling a control method corresponding to the video control instruction from control methods supported by the target playing instance to realize a control function indicated by the video control instruction.
Optionally, the identification information is an instance identification ID;
before storing the identification information of the latest created play instance to a specific storage location, the method further includes:
acquiring an instance ID of each playing instance from a control center class of the terminal, and storing registration information of each playing instance in the control center class based on the instance ID of each playing instance; the registration information comprises the instance ID and the creation time of the playing instance;
accordingly, the particular storage location is located in a particular sequence; the storing the identification information of the latest created playing instance to a specific storage location includes:
storing the instance ID of each playing instance to the specific sequence through the control center class according to the creation time of each playing instance; the instance ID of the latest created play instance is stored in the particular storage location of the particular sequence.
Optionally, before invoking the control method corresponding to the video control instruction from the control methods supported by the target playing instance, the method further includes:
establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the calling interface corresponding to the supported control method, and storing the calling interface of each playing instance and the corresponding relation to the control center class;
correspondingly, the calling the control method corresponding to the video control instruction from the control methods supported by the target playing instance includes:
searching the name of the calling interface corresponding to the instance ID stored in the specific storage position from the corresponding relation through the control center class to obtain the name of the alternative calling interface; the alternative calling interface is a calling interface corresponding to a control method supported by the target playing instance;
and calling a control method corresponding to the video control instruction through the control center class according to the name of the alternative calling interface corresponding to the video control instruction so as to realize the control function indicated by the video control instruction.
Optionally, the establishing a corresponding relationship between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the calling interface corresponding to the supported control method includes:
for each playing example, adding a corresponding name for a calling interface corresponding to each control method supported by the playing example according to the name of the specified control method;
and establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the name added in the calling interface.
Optionally, the specific storage location is a last bit of the specific sequence;
the storing, by the control center class, the instance ID of each play instance to the specific sequence according to the creation time of each play instance includes:
storing the instance ID of the playing instance with the latest creation time to the last position of the specific sequence through the control center class, and randomly storing the other instance IDs to other positions in the specific sequence; alternatively, the first and second electrodes may be,
and sequentially storing each instance ID from the first bit of the specific sequence according to the sequence of the corresponding creation time from early to late through the control center class.
Optionally, the method further includes:
if a video closing instruction is received, destroying the playing instance indicated by the video closing instruction;
deleting the calling interface of the playing instance stored in the control center class, the instance ID of the playing instance contained in the corresponding relation and the name of the calling interface of the playing instance, removing the instance ID of the playing instance from the specific sequence, and adjusting the instance ID of the playing instance created at the latest in the deleted specific sequence to the specific storage position.
Optionally, the method further includes:
and if a video selection instruction is received, adjusting the instance ID of the playing instance indicated by the video selection instruction in the specific sequence to the specific storage position.
According to a second aspect of the present invention, there is provided a play instance processing apparatus applied to a terminal, the apparatus may include:
the creating module is used for responding to a plurality of video playing instructions and sequentially creating a playing example corresponding to each video playing instruction according to the sequence of receiving each video playing instruction;
a first storage module, configured to store the identification information of the latest created playback instance in a specific storage location:
and the calling module is used for responding to a video control instruction, taking the playing example corresponding to the identification information stored in the specific storage position as a target playing example, and calling a control method corresponding to the video control instruction from the control methods supported by the target playing example to realize the control function indicated by the video control instruction.
Optionally, the identification information is an instance identification ID; the device further comprises:
the second storage module is used for acquiring the instance ID of each playing instance from the control center class of the terminal and storing each playing instance in the control center class to send registration information based on the instance ID of each playing instance; the registration information comprises the instance ID and the creation time of the playing instance;
correspondingly, the first storage module is specifically configured to store, by the control center class, the instance ID of each play instance to the specific sequence according to the creation time of each play instance; the instance ID of the latest created play instance is stored in the particular storage location of the particular sequence.
Optionally, the apparatus further comprises:
the establishing module is used for establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the calling interface corresponding to the supported control method, and storing the calling interface of each playing instance and the corresponding relation to the control center class;
accordingly, the calling module is configured to:
searching the name of the calling interface corresponding to the instance ID stored in the specific storage position from the corresponding relation through the control center class to obtain the name of the alternative calling interface; the alternative calling interface is a calling interface corresponding to a control method supported by the target playing instance;
and calling a control method corresponding to the video control instruction through the control center class according to the name of the alternative calling interface corresponding to the video control instruction so as to realize the control function indicated by the video control instruction.
Optionally, the establishing module is configured to:
for each playing example, adding a corresponding name for a calling interface corresponding to each control method supported by the playing example according to the name of the specified control method;
and establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the name added in the calling interface.
Optionally, the specific storage location is a last bit of the specific sequence;
the first storage module is specifically configured to store the instance ID of the playback instance with the latest creation time to the last bit of the specific sequence, and randomly store the remaining instance IDs to other positions in the specific sequence; alternatively, the first and second electrodes may be,
the first storage module is specifically configured to store each instance ID in sequence from the first of the specific sequence according to an order from early to late of the corresponding creation time.
Optionally, the apparatus further comprises:
the destruction module is used for destroying the playing example indicated by the video closing instruction if the video closing instruction is received;
and the deleting module is used for deleting the calling interface of the playing example stored in the control center class, the example ID of the playing example and the name of the calling interface of the playing example contained in the corresponding relation, removing the example ID of the playing example from the specific sequence, and adjusting the example ID of the playing example created latest in the deleted specific sequence to the specific storage position.
Optionally, the apparatus further comprises:
and the adjusting module is used for adjusting the instance ID of the playing instance indicated by the video selection instruction in the specific sequence to the specific storage position if the video selection instruction is received.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the play instance processing method according to the first aspect.
Aiming at the prior art, the invention has the following advantages:
in response to a plurality of video playing instructions, sequentially creating a playing instance corresponding to each video playing instruction according to the sequence of receiving each video playing instruction, then storing the identification information of the playing instance created at the latest to a specific storage position, and finally, in response to a video control instruction, calling a control method corresponding to the video control instruction from the control methods supported by the playing instance corresponding to the identification information stored in the specific storage position to realize the control function indicated by the video control instruction. In the embodiment of the invention, the identification information stored in the latest created playing instance is stored in the specific storage position, when a video control instruction is received, which playing instance is the playing instance corresponding to the video currently being played in a plurality of playing instances does not need to be judged, and the corresponding method is directly called from the control method supported by the playing instance corresponding to the identification information stored in the specific storage position, so that the video being played can be controlled, the control steps are simplified, and the control efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a method for processing a playback instance according to an embodiment of the present invention;
FIG. 2-1 is a flowchart illustrating steps of another example playback processing method according to an embodiment of the present invention;
fig. 2-2 is a schematic diagram of a registration provided by an embodiment of the present invention;
fig. 2-3 are schematic application diagrams of a processing method for playing examples according to an embodiment of the present invention;
fig. 3-1 is a block diagram of a playback example processing apparatus according to an embodiment of the present invention;
fig. 3-2 is a block diagram of another playback example processing apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart of steps of a method for processing a play instance according to an embodiment of the present invention, where the method may be applied to a terminal, and as shown in fig. 1, the method may include:
step 101, responding to a plurality of video playing instructions, and sequentially creating a playing instance corresponding to each video playing instruction according to the sequence of receiving each video playing instruction.
In the embodiment of the present invention, the video playing instruction may be sent to the terminal by a user by triggering a video playing function of the terminal, for example, the video playing instruction may be sent to the terminal by the user clicking a playing button displayed on a video playing interface of the terminal to trigger the video playing function of the terminal, and then the video playing instruction is sent to the terminal.
Further, when playing multiple videos, the user sends multiple video playing instructions, and accordingly, the terminal receives the multiple video playing instructions. For example, suppose that a user opens a movie "doggie adventure memo" at 9 point 30, clicks a recommended video type commercial advertisement at 9 point 32 on the movie playing interface, and clicks an introduction video of the commercial at 9 point 33, then the terminal receives 3 video playing instructions accordingly, and accordingly, in response to the 3 video playing instructions, the terminal may sequentially create a playing instance corresponding to each video playing instruction according to the sequence of receiving each video playing instruction, for example, first create a playing instance corresponding to a movie, then create a playing instance corresponding to a commercial advertisement, and finally create a playing instance corresponding to an introduction video. Specifically, when the playing instance is created, instantiation operation can be performed through an instance creation module in the terminal according to a preset instance creation method, so as to obtain a playing instance. The instance creating module may be a module that is formed by processing resources inside the terminal and has a function of creating a play instance.
And 102, storing the identification information of the latest created playing instance to a specific storage position.
In a practical scenario, in a case where a user opens multiple videos, the last opened video is often kept in a playing state, and the rest of opened videos are temporarily suspended, for example, when a video-type commercial advertisement is opened, a movie "doggie calendar note" is temporarily suspended, when an introduction video of a commercial product is opened, the commercial advertisement and the movie are temporarily suspended, and a playing instance created at the latest is created corresponding to the last opened video, so that the playing instance created at the latest is the video being played. Therefore, in this step, the identification information of the playback instance created at the latest may be stored in a specific storage location, and the specific storage location may be any preset location. Specifically, the terminal may store the data through a control center class, where the control center class may be a predefined class capable of implementing a series of operations such as data storage, reading, calling, and interaction, and specifically, may be an aggregate formed by encapsulating data corresponding to each operation, that is, data members, and operations related to the data, that is, member functions, as the control center class. Further, the identification information may be information capable of uniquely identifying the playing instance, and the identification information may be an ID assigned to the playing instance by the control center class or a field of the playing instance itself, which is not limited in this embodiment of the present invention.
Step 103, responding to a video control instruction, taking the playing instance corresponding to the identification information stored in the specific storage location as a target playing instance, and calling a control method corresponding to the video control instruction from the control methods supported by the target playing instance to realize the control function indicated by the video control instruction.
In the embodiment of the present invention, the video control instruction is an instruction sent by a user for controlling a video being played, the video playing instruction may be sent by the user to a terminal by triggering a video control function of the terminal, different video control instructions indicate different control operations, different video control functions correspond to different control operations, and accordingly, different video control functions are triggered to send different video control instructions, for example, the video control instruction may correspond to an operation of "fast forward for 15 seconds", and accordingly, the video control instruction user triggers a function of "15 seconds" through a "fast forward for 15 seconds" button displayed on a video playing interface of the terminal, so as to send a video control instruction indicating "fast forward for 15 seconds", and of course, for a terminal supporting voice control, the user may also input voice information including key words corresponding to the control operations to the terminal, and the terminal generates a video control instruction by extracting the key words in the voice information.
Further, since the playing instance corresponding to the identification information stored in the specific storage location is the playing instance corresponding to the video being played, the terminal may use the playing instance corresponding to the identification information stored in the specific storage location as a target playing instance through the control center class, and call a control method corresponding to the video control instruction from the control methods supported by the target playing instance, thereby implementing the control function indicated by the video control instruction, and completing the control operation that the user wants to execute on the video being played.
In summary, in the play instance processing method provided in the embodiments of the present invention, in response to a plurality of video play instructions, a play instance corresponding to each video play instruction is sequentially created according to the sequence of receiving each video play instruction, then the identification information of the play instance created latest is stored in a specific storage location, and finally, in response to a video control instruction, a control method corresponding to the video control instruction is invoked from control methods supported by the play instance corresponding to the identification information stored in the specific storage location, so as to implement a control function indicated by the video control instruction. In a scene that a user opens a plurality of videos, the last opened video can keep a playing state, the rest opened videos can be temporarily suspended, and the latest created playing example is created for playing the last opened video, so that in the embodiment of the invention, by sending the identification information stored in the latest created playing example to a specific storage position, when a video control instruction is received, it is not necessary to judge which of the plurality of playing examples is the playing example corresponding to the video which is currently playing, and the corresponding method is called directly from the control method supported by the playing example corresponding to the identification information stored in the specific storage position, so that the video which is currently playing can be controlled, the control steps are simplified, and the control efficiency is improved.
Fig. 2-1 is a flowchart of steps of another playing instance processing method provided in an embodiment of the present invention, and as shown in fig. 2-1, the method may include:
step 201, responding to a plurality of video playing instructions, and sequentially creating a playing instance corresponding to each video playing instruction according to the sequence of receiving each video playing instruction.
Specifically, the implementation manner of this step may refer to step 101 described above, and details of the embodiment of the present invention are not described herein.
Step 202, obtaining an instance ID of each playing instance from the control center class of the terminal, and storing the registration information of each playing instance in the control center class based on the instance ID of each playing instance.
Specifically, for each playing instance, the terminal may first control the playing instance to send an ID obtaining request to the control center class, and accordingly, the control center class may allocate an instance ID to the playing instance after receiving the obtaining request, and send the instance ID to the playing instance, thereby obtaining the instance ID of each playing instance from the control center class. Further, the playing instance may be controlled to send registration information to the control center class after obtaining the instance ID, where the registration information may include the instance ID and the creation time of the playing instance.
In practical application, if a field of a playing instance is selected as identification information for uniquely indicating the playing instance, the selection limitation is large, and the cost is high.
Step 203, storing the instance ID of each playing instance to a specific sequence according to the creation time of each playing instance through the control center class, and storing the instance ID of the latest created playing instance in the specific storage location of the specific sequence.
Specifically, taking the specific storage location as the last bit of the specific sequence as an example, the storage of the instance ID of each play instance in the specific sequence may be implemented by the following sub-step (1) or sub-step (2):
substep (1): and storing the instance ID of the playing instance with the latest creation time to the last bit of the specific sequence through the control center class, and randomly storing the rest instance IDs to other positions in the specific sequence.
In this step, the instance ID of the playing instance with the latest creation time may be stored to the last bit of the specific sequence, so as to ensure that the corresponding control method obtained from the identification information of the specified location when the video control instruction is received by the control center is the control method supported by the playing instance corresponding to the video being played, thereby ensuring that the video being played can be controlled. Further, the remaining instance IDs, i.e., other instance IDs except for the play instance whose creation time is the latest, may be randomly stored to an arbitrary position of the specific sequence.
Substep (2): and sequentially storing each instance ID from the first bit of the specific sequence according to the sequence of the corresponding creation time from early to late through the control center class.
In this step, the creation time corresponding to the playing instance indicates the time when the video corresponding to the playing instance is opened, so that the order of the creation time from early to late can indicate the order in which the plurality of videos are opened in sequence, and accordingly, each instance ID can be stored in sequence from the first of the specific sequence directly according to the order of the corresponding creation time from early to late through the control center class, so that the last of the specified sequence is the instance ID of the playing instance with the latest creation time, and it can be further ensured that when the control center class receives the video control instruction, the corresponding control method obtained from the identification information according to the specified position is the control method supported by the playing instance corresponding to the video being played, and it is ensured that the video being played can be controlled.
Of course, the instance ID stored in the specific storage location of the specific sequence may be dynamically changed along with the change of the video being played, for example, after step 203, if a video playing instruction is received, the corresponding playing instance may be created by the instance creation module in the terminal according to the video playing instruction, the identification information stored before the specific storage location is moved to another location of the specific sequence by the control center class, and the identification information of the playing instance is stored in the specific storage location. Specifically, the playing instance can be controlled to acquire the instance ID identifier from the control center class, and the registration information is sent to the control center class based on the instance ID, accordingly, since the video being played becomes the video corresponding to the playing instance, the control center class can store the instance ID of the playing instance to the specific storage location of the specific sequence, so as to ensure that the control center class can accurately control the video being played according to the instance ID of the specific storage location. Furthermore, in the embodiment of the present invention, when a new playing instance is added, it is not necessary to add and store the playing instance to the control center class, but only a new playing instance is created according to the opened video, and an instance ID is allocated to the playing instance, and accordingly, the playing instance is registered to the control center class according to the instance ID, so that the processing process of subsequently adding the playing instance is convenient.
Further, if a video selection instruction is received, the instance ID of the playing instance indicated by the video selection instruction in the specific sequence may be adjusted to a specific storage location. The video selection instruction may be sent by a user through selecting an already opened video playing window, and a playing instance indicated by the video selection instruction is a playing instance of a video corresponding to the playing window selected by the user. If the user opens the video a, the video b and the video c in sequence, the video c is a video being played, and further, if the user clicks the video b and selects the video b as the video being played, correspondingly, the instance ID of the playing instance corresponding to the video b in the specific sequence can be adjusted to the specific storage position of the specific sequence by the control center class, so that when the user needs to control the video b, the control center class can accurately invoke the control method supported by the playing instance corresponding to the new video being played, and further, accurate control is realized.
And 204, responding to a video control instruction, taking a playing instance corresponding to the identification information stored in the specific storage position as a target playing instance, and calling a control method corresponding to the video control instruction from control methods supported by the target playing instance to realize a control function indicated by the video control instruction.
Specifically, in order to facilitate calling the control method supported by the playing instance, in the embodiment of the present invention, before step 204, a corresponding relationship between the instance ID and the name of the calling interface may be established based on the instance ID of each playing instance and the calling interface corresponding to the supported control method, and the calling interface and the corresponding relationship of each playing instance are stored in the control center class.
Further, the process of establishing the corresponding relationship can be realized by the following steps a to B:
and step A, adding a corresponding name for a calling interface corresponding to each control method supported by each playing example according to the name of the specified control method for each playing example.
In this step, the name of the specified control method may be predefined by a developer, the name corresponding to each control method may be in one-to-one correspondence with the control function corresponding to the control method, and the name corresponding to each control method may be implemented according to the control function corresponding to the control method, for example, the name of the control method corresponding to the control function "fast forward" may be "program _ fast-forward", the name of the control method corresponding to the control function "PAUSE" may be "program _ PAUSE", the name of the control method corresponding to the control function "start DOLBY sound" may be "program _ lby", and so on.
Further, the name corresponding to the calling interface corresponding to the control method is the name corresponding to the control function corresponding to the control method defined in the specified control method name, and accordingly, the name corresponding to the control method supported by the control method can be obtained from the specified control method name through the playing instance, and the name is added to the calling interface of the control method. For example, the call interface corresponding to the control method whose corresponding control function is "PAUSE" can be encapsulated with the "PLAYER _ PAUSE" field by the play instance.
Further, the terminal may control each playing instance to send each added call interface and the instance ID of the playing instance to the control center class, where the sending operation may be implemented by passing parameters, and specifically, the playing instance may pass each call interface and the instance ID of the playing instance, to which a name is added, to the control center class. For example, fig. 2-2 is a registration schematic diagram provided in an embodiment of the present invention, as shown in fig. 2-2, a play instance may be controlled to perform instance registration to a control center class based on registration information, that is, creation time and an obtained instance ID identifier, and perform control method registration to the control center class based on supported control methods 1 and 2, that is, function registration, so that the control center class may call a method for registering a play instance, where the called method for registering a play instance is implemented by a control method supported by the play instance.
And B, establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the name added in the calling interface.
In this step, further, it is assumed that 3 playing instances send respective call interfaces and instance IDs to the control center class, and then a corresponding relationship may be established by the control center class according to the instance IDs of the 3 playing instances and names added in the respective call interfaces, specifically, a name of each call interface extracted from each call interface may be extracted first, and then a corresponding relationship between the instance ID of each playing instance and the name of the corresponding call interface may be established. By establishing the corresponding relation between the instance ID and the name of the calling interface, the calling interface of the control method corresponding to the playing instance to be controlled can be conveniently acquired in the subsequent process according to the instance ID of the playing instance.
Furthermore, the terminal can also control the control center class to store the calling interface and the corresponding relationship of each playing instance, so that the calling interface and the corresponding relationship of each playing instance are stored in the control center class. In the embodiment of the invention, the calling interface of each playing instance is stored by the control center class, so that the required control method can be conveniently and rapidly called by the stored calling interface in the subsequent process.
For example, fig. 2 to 3 are schematic application diagrams of a play instance processing method provided by an embodiment of the present invention, where fig. 2 to 3 include two play instances, and a user inputs a voice to a terminal for control, as shown in fig. 2 to 3, the terminal may convert the voice information input by the user into a video control instruction through a voice receiving module, so that a video corresponding to the play instance may be correspondingly controlled by a control center class according to the video control instruction, further, after the play instance a and the play instance b are created, the two play instances may be controlled to send an instance ID acquisition request to the control center class, accordingly, the control center class may return an instance ID allocated to the play instance, and then, the play instances a and b may send registration information to the control center class according to the instance ID, so that the control center class can store the instance IDs of the playing instances a and b into the specified sequence, and then the playing instances a and b can send the calling interfaces which are corresponding to the respective supported control methods and have names added to the control center class, in figure 2-2 the call interface a of the control method corresponding to the resume play function and the call interface b of the control method corresponding to the pause play function are sent with play instance a, the calling interface c corresponding to the control method for starting the dolby function is sent by the playing instance b, and finally, if a video closing instruction is received, the playing instances a and b are destroyed, and accordingly, the control center class can delete the information about the playing instances a and b, in fig. 2-2, a rectangular frame with diagonal lines corresponding to the control center class indicates information on the playback instance b, and a rectangular frame with no diagonal lines corresponding to the control center class indicates information on the playback instance a.
Further, the step 204 may include the following steps 2041 to 2042:
2041, searching the name of the calling interface corresponding to the instance ID stored in the specific storage location from the corresponding relationship through the control center class to obtain the name of the alternative calling interface; the alternative calling interface is a calling interface corresponding to the control method supported by the target playing example
In this step, the instance ID stored in the specific storage location is the instance ID of the playing instance corresponding to the video being played, that is, the instance ID stored in the specific storage location is the instance ID of the target playing instance, so that the name of the calling interface corresponding to the instance ID can be searched from the correspondence between the instance ID and the name of the calling interface established in step B by the control center class according to the instance ID, and an alternative interface name is obtained, where the alternative calling interface is the calling interface corresponding to the control method supported by the target playing instance. For example, assuming that there are 3 supported control methods for the playing instance corresponding to the instance ID stored in the specific storage location, and accordingly, the instance ID would correspond to the names of 3 calling interfaces, then 3 alternative interface names may be obtained by searching.
Step 2042, calling a control method corresponding to the video control instruction through the control center class according to the name of the alternative calling interface corresponding to the video control instruction, so as to realize the control function indicated by the video control instruction.
In this step, the name of the alternative call interface corresponding to the video control instruction indicates the name of the call interface of the control method whose corresponding control function matches the control function indicated by the video control instruction. For example, assuming that the control function indicated by the video control instruction is "enable DOLBY sound effect", the control method for matching the corresponding control function with the control function indicated by the video control instruction may be a control method for corresponding control function to be "enable DOLBY sound effect", accordingly, the name of the target interface may be "layer _ DOLBY", and further, the control method indicated by "layer _ DOLBY" may be called by the control center class, so as to implement the function of enabling DOLBY sound effect. It should be noted that, in an actual application scenario, there may be no control method corresponding to the video control instruction, and therefore, in the embodiment of the present invention, when there is no control method corresponding to the video control instruction, the control center may return a prompt message indicating that the instruction is invalid to the user.
In the embodiment of the invention, the instance ID is allocated to each playing instance, and the instance ID of the playing instance created latest is stored to the specific storage position of the specific sequence, so that when the video being played needs to be processed, the corresponding control method can be called directly according to the instance ID of the specific storage position, and thus, no matter what kind of video each playing instance corresponds to, for example, the playing instance may correspond to a cache video, and the playing instance may correspond to a live video.
Further, if a video closing instruction is received, the playing instance indicated by the video closing instruction may be destroyed by the instance creating module, the calling interface of the playing instance stored in the control center class, the instance ID of the playing instance and the name of the calling interface of the playing instance included in the corresponding relationship are deleted by the control center class, the instance ID of the playing instance is removed from the specific sequence, and the instance ID of the playing instance created latest in the deleted specific sequence is adjusted to a specific storage location. In this way, by destroying the unnecessary playing instances and deleting the calling interfaces and the corresponding relations of the unnecessary playing instances, the storage space can be saved, further, by adjusting the instance ID of the playing instance created at the latest in the deleted specific sequence to a specific storage position, the instance ID of the playing instance corresponding to the video being played can be ensured to be stored in the specific storage position, and further, when a video control instruction is received, the corresponding control method obtained according to the instance ID of the specific storage position can control the video being played, and the accuracy of the control operation is ensured.
To sum up, in another playing instance processing method provided in the embodiments of the present invention, in response to a plurality of video playing instructions, a playing instance corresponding to each video playing instruction is sequentially created according to the sequence of receiving each video playing instruction, then an instance ID of each playing instance is obtained from the control center class, and the registration information of each playing instance is stored in the control center class based on the instance ID of each playing instance, and then the instance ID of each playing instance is stored in a specific sequence according to the creation time in the registration information of each playing instance by the control center class, so that the instance ID of each playing instance is allocated as identification information by the control center class, which can ensure that the instance ID of the playing instance is not duplicated, ensure that the subsequent process can be accurately controlled, and meanwhile, the limitation of setting identification information is small, the selectability is large, the cost for setting the identification information is low, wherein the instance ID of the playing instance created at the latest is stored in the specific storage position of the specific sequence, and finally, in response to the video control instruction, the control method corresponding to the video control instruction is called from the control methods supported by the playing instance corresponding to the identification information stored in the specific storage position through the control center class, so as to realize the control function indicated by the video control instruction.
In the embodiment of the invention, the identification information stored in the latest created playing instance is stored in the specific storage position of the specific sequence, when a video control instruction is received, which playing instance is the playing instance corresponding to the video currently being played in a plurality of playing instances does not need to be judged, and the corresponding mode is directly called from the control method supported by the playing instance corresponding to the identification information stored in the specific storage position, so that the video being played can be controlled, the control steps are simplified, and the control efficiency is improved.
Fig. 3-1 is a block diagram of a playing instance processing apparatus provided in an embodiment of the present invention, where the apparatus may be applied to a terminal, and as shown in fig. 3-1, the apparatus 30 may include:
the creating module 301 is configured to respond to a plurality of video playing instructions, and sequentially create a playing instance corresponding to each video playing instruction according to the sequence of receiving each video playing instruction.
A first storage module 302, configured to store the identification information of the latest created playback instance in a specific storage location.
The invoking module 303 is configured to, in response to a video control instruction, use a playing instance corresponding to the identification information stored in the specific storage location as a target playing instance, and invoke a control method corresponding to the video control instruction from control methods supported by the target playing instance, so as to implement a control function indicated by the video control instruction.
In summary, in the apparatus provided in the embodiment of the present invention, the creating module, in response to a plurality of video playing instructions, sequentially creates a playing instance corresponding to each video playing instruction according to an order in which each video playing instruction is received, then the first storage module stores the identification information of the playing instance created latest to the specific storage location, and finally the calling module, in response to the video control instruction, calls the control method corresponding to the video control instruction from the control methods supported by the playing instance corresponding to the identification information stored in the specific storage location, so as to implement the control function indicated by the video control instruction. By storing the identification information stored in the latest created playing instance to the specific storage position, when a video control instruction is received, which playing instance is the playing instance corresponding to the currently playing video does not need to be judged, and the corresponding method is directly called from the control method supported by the playing instance corresponding to the identification information stored in the specific storage position, so that the video being played can be controlled, the control steps are simplified, and the control efficiency is improved.
Optionally, the identification information is an example identification ID, fig. 3-2 is a block diagram of another playing example processing apparatus provided in the embodiment of the present invention, as shown in fig. 3-2, the apparatus 30 further includes:
a second storage module 304, configured to obtain an instance ID of each playing instance from a control center class of the terminal, and store, in the control center class, each playing instance sending registration information based on the instance ID of each playing instance; the registration information includes the instance ID and the creation time of the play instance.
Accordingly, the first storing module 302 is specifically configured to store, by the control center class, the instance ID of each playing instance to the specific sequence according to the creation time of each playing instance. The instance ID of the latest created play instance is stored in the particular storage location of the particular sequence.
Optionally, as shown in fig. 3-2, the apparatus 30 further includes:
the establishing module 305 is configured to establish a corresponding relationship between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the calling interface corresponding to the supported control method, and store the calling interface of each playing instance and the corresponding relationship to the control center class.
Accordingly, the invoking module 303 is configured to:
searching the name of the calling interface corresponding to the instance ID stored in the specific storage position from the corresponding relation through the control center class to obtain the name of the alternative calling interface; and the alternative calling interface is a calling interface corresponding to the control method supported by the target playing instance.
And calling a control method corresponding to the video control instruction through the control center class according to the name of the alternative calling interface corresponding to the video control instruction so as to realize the control function indicated by the video control instruction.
Optionally, the establishing module 305 is configured to:
and for each playing instance, adding a corresponding name for a calling interface corresponding to each control method supported by the playing instance according to the specified control method name.
And establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the name added in the calling interface.
Optionally, the specific storage location is a last bit of the specific sequence.
The first storage module 302 is specifically configured to store the instance ID of the playing instance with the latest creation time to the last bit of the specific sequence, and randomly store the remaining instance IDs to other positions in the specific sequence; alternatively, the first and second electrodes may be,
the first storing module 302 is specifically configured to store each instance ID in sequence from the first of the specific sequence according to an order from early to late of the corresponding creation time.
Optionally, as shown in fig. 3-2, the apparatus 30 further includes:
the destroying module 306 is configured to destroy the playing instance indicated by the video closing instruction if the video closing instruction is received.
A deleting module 307, configured to delete the call interface of the play instance stored in the control center class, the instance ID of the play instance and the name of the call interface of the play instance included in the corresponding relationship, remove the instance ID of the play instance from the specific sequence, and adjust the instance ID of the play instance created latest in the deleted specific sequence to the specific storage location.
Optionally, as shown in fig. 3-2, the apparatus 30 further includes:
an adjusting module 308, configured to adjust, if a video selection instruction is received, an instance ID of a playing instance indicated by the video selection instruction in the specific sequence to the specific storage location.
To sum up, in the apparatus provided in the embodiment of the present invention, the creating module, in response to a plurality of video playing instructions, sequentially creates a playing instance corresponding to each video playing instruction according to the sequence of receiving each video playing instruction, then the second storage module obtains an instance ID of each playing instance from the control center class, and stores the registration information of each playing instance in the control center class based on the instance ID of each playing instance, and then the first storage module stores the instance ID of each playing instance in a specific sequence according to the creation time in the registration information of each playing instance by the control center class, so that the control center class allocates an instance ID as the identification information to each playing instance, which can ensure that the instance IDs of the playing instances are not duplicated, and ensure that the subsequent process can be accurately controlled, and finally, the calling module responds to the video control instruction and calls a control method corresponding to the video control instruction from the control methods supported by the playing instance corresponding to the identification information stored in the specific storage position through the control center class so as to realize the control function indicated by the video control instruction. Therefore, the video being played can be controlled by the identification information stored in the specific storage position without judging which one of the multiple playing examples is the playing example corresponding to the video being played currently, so that the control steps are simplified, and the control efficiency is improved.
For the above device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment.
Preferably, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing embodiment of the playing example processing method, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing playing example processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The method of play instance processing provided herein is not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the play instance processing method according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (15)

1. A play instance processing method is applied to a terminal, and the method comprises the following steps:
responding to a plurality of video playing instructions, and sequentially creating a playing example corresponding to each video playing instruction according to the sequence of receiving each video playing instruction;
storing the identification information of the latest created playing instance to a specific storage position;
and responding to a video control instruction, taking a playing instance corresponding to the identification information stored in the specific storage position as a target playing instance, and calling a control method corresponding to the video control instruction from control methods supported by the target playing instance to realize a control function indicated by the video control instruction.
2. The method of claim 1, wherein the identification information is an instance Identification (ID);
before storing the identification information of the latest created play instance to a specific storage location, the method further includes:
acquiring an instance ID of each playing instance from a control center class of the terminal, and storing registration information of each playing instance in the control center class based on the instance ID of each playing instance; the registration information comprises the instance ID and the creation time of the playing instance;
accordingly, the particular storage location is located in a particular sequence; the storing the identification information of the latest created playing instance to a specific storage location includes:
storing the instance ID of each playing instance to the specific sequence through the control center class according to the creation time of each playing instance; the instance ID of the latest created play instance is stored in the particular storage location of the particular sequence.
3. The method according to claim 2, wherein before the calling the control method corresponding to the video control instruction from the control methods supported by the target playback instance, the method further comprises:
establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the calling interface corresponding to the supported control method, and storing the calling interface of each playing instance and the corresponding relation to the control center class;
correspondingly, the calling the control method corresponding to the video control instruction from the control methods supported by the target playing instance includes:
searching the name of the calling interface corresponding to the instance ID stored in the specific storage position from the corresponding relation through the control center class to obtain the name of the alternative calling interface; the alternative calling interface is a calling interface corresponding to a control method supported by the target playing instance;
and calling a control method corresponding to the video control instruction through the control center class according to the name of the alternative calling interface corresponding to the video control instruction so as to realize the control function indicated by the video control instruction.
4. The method according to claim 3, wherein the establishing a correspondence between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the calling interface corresponding to the supported control method comprises:
for each playing example, adding a corresponding name for a calling interface corresponding to each control method supported by the playing example according to the name of the specified control method;
and establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the name added in the calling interface.
5. The method of claim 2, wherein the particular storage location is a last bit of the particular sequence;
the storing, by the control center class, the instance ID of each play instance to the specific sequence according to the creation time of each play instance includes:
storing the instance ID of the playing instance with the latest creation time to the last position of the specific sequence through the control center class, and randomly storing the other instance IDs to other positions in the specific sequence; alternatively, the first and second electrodes may be,
and sequentially storing each instance ID from the first bit of the specific sequence according to the sequence of the corresponding creation time from early to late through the control center class.
6. The method according to claim 3 or 4, characterized in that the method further comprises:
if a video closing instruction is received, destroying the playing instance indicated by the video closing instruction;
deleting the calling interface of the playing instance stored in the control center class, the instance ID of the playing instance contained in the corresponding relation and the name of the calling interface of the playing instance, removing the instance ID of the playing instance from the specific sequence, and adjusting the instance ID of the playing instance created at the latest in the deleted specific sequence to the specific storage position.
7. The method of claim 3, further comprising:
and if a video selection instruction is received, adjusting the instance ID of the playing instance indicated by the video selection instruction in the specific sequence to the specific storage position.
8. A play instance processing apparatus, applied to a terminal, the apparatus comprising:
the creating module is used for responding to a plurality of video playing instructions and sequentially creating a playing example corresponding to each video playing instruction according to the sequence of receiving each video playing instruction;
the first storage module is used for storing the identification information of the latest created playing example to a specific storage position;
and the calling module is used for responding to a video control instruction, taking the playing example corresponding to the identification information stored in the specific storage position as a target playing example, and calling a control method corresponding to the video control instruction from the control methods supported by the target playing example to realize the control function indicated by the video control instruction.
9. The apparatus of claim 8, wherein the identification information is an instance Identification (ID); the device further comprises:
the second storage module is used for acquiring the instance ID of each playing instance from the control center class of the terminal and storing each playing instance in the control center class to send registration information based on the instance ID of each playing instance; the registration information comprises the instance ID and the creation time of the playing instance;
accordingly, the particular storage location is located in a particular sequence; the first storage module is specifically configured to store, by the control center class, an instance ID of each play instance to the specific sequence according to the creation time of each play instance; the instance ID of the latest created play instance is stored in the particular storage location of the particular sequence.
10. The apparatus of claim 9, further comprising:
the establishing module is used for establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the calling interface corresponding to the supported control method, and storing the calling interface of each playing instance and the corresponding relation to the control center class;
accordingly, the calling module is configured to:
searching the name of the calling interface corresponding to the instance ID stored in the specific storage position from the corresponding relation through the control center class to obtain the name of the alternative calling interface; the alternative calling interface is a calling interface corresponding to a control method supported by the target playing instance;
and calling a control method corresponding to the video control instruction through the control center class according to the name of the alternative calling interface corresponding to the video control instruction so as to realize the control function indicated by the video control instruction.
11. The apparatus of claim 10, wherein the establishing module is configured to:
for each playing example, adding a corresponding name for a calling interface corresponding to each control method supported by the playing example according to the name of the specified control method;
and establishing a corresponding relation between the instance ID and the name of the calling interface based on the instance ID of each playing instance and the name added in the calling interface.
12. The apparatus of claim 9, wherein the particular storage location is a last bit of the particular sequence;
the first storage module is specifically configured to store the instance ID of the playback instance with the latest creation time to the last bit of the specific sequence, and randomly store the remaining instance IDs to other positions in the specific sequence; alternatively, the first and second electrodes may be,
the first storage module is specifically configured to store each instance ID in sequence from the first of the specific sequence according to an order from early to late of the corresponding creation time.
13. The apparatus of claim 10, further comprising:
the destruction module is used for destroying the playing example indicated by the video closing instruction if the video closing instruction is received;
and the deleting module is used for deleting the calling interface of the playing example stored in the control center class, the example ID of the playing example and the name of the calling interface of the playing example contained in the corresponding relation, removing the example ID of the playing example from the specific sequence, and adjusting the example ID of the playing example created latest in the deleted specific sequence to the specific storage position.
14. The apparatus of claim 10, further comprising:
and the adjusting module is used for adjusting the instance ID of the playing instance indicated by the video selection instruction in the specific sequence to the specific storage position if the video selection instruction is received.
15. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the play instance processing method according to any one of claims 1 to 7.
CN201910376837.9A 2019-05-07 2019-05-07 Play instance processing method and device and computer readable storage medium Active CN110267091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910376837.9A CN110267091B (en) 2019-05-07 2019-05-07 Play instance processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910376837.9A CN110267091B (en) 2019-05-07 2019-05-07 Play instance processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110267091A CN110267091A (en) 2019-09-20
CN110267091B true CN110267091B (en) 2021-04-16

Family

ID=67914345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910376837.9A Active CN110267091B (en) 2019-05-07 2019-05-07 Play instance processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110267091B (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7614066B2 (en) * 2002-05-03 2009-11-03 Time Warner Interactive Video Group Inc. Use of multiple embedded messages in program signal streams
US8832754B2 (en) * 2002-05-03 2014-09-09 Tvworks, Llc System and method for providing synchronized events to a television application
CN102523529B (en) * 2011-12-08 2015-05-20 中国联合网络通信集团有限公司 Method for continuously playing videos of multi-terminal equipment and video server
CN104182119B (en) * 2013-05-27 2018-02-09 腾讯科技(深圳)有限公司 The condition control method and device of the multiwindow page
CN105589619B (en) * 2014-11-17 2019-12-13 深圳市腾讯计算机系统有限公司 terminal multi-window display method and device
CN106973318B (en) * 2017-03-20 2020-01-14 聚好看科技股份有限公司 Aggregated video operation method and device
CN107172465B (en) * 2017-05-23 2019-05-17 维沃移动通信有限公司 A kind of video playing control method and mobile terminal
US20190069036A1 (en) * 2017-08-28 2019-02-28 i4Vu, Inc. d/b/a JadeStream, Inc. System and method for distributed control of segmented media
CN108024083A (en) * 2017-11-28 2018-05-11 北京川上科技有限公司 Handle method, apparatus, electronic equipment and the computer-readable recording medium of video
CN108616771B (en) * 2018-04-25 2021-01-15 维沃移动通信有限公司 Video playing method and mobile terminal
CN109040811A (en) * 2018-08-16 2018-12-18 北京奇艺世纪科技有限公司 A kind of video broadcasting method and device
CN109618192B (en) * 2018-12-21 2021-09-24 北京达佳互联信息技术有限公司 Method, device, system and storage medium for playing video

Also Published As

Publication number Publication date
CN110267091A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN106484862B (en) Page control method and device
US9524089B1 (en) Common web component
WO2016155379A1 (en) Method, device and system for dynamically acquiring app interface control data
CN108245896B (en) Method, device and system for presenting game live broadcast, storage medium and equipment
CN105183495B (en) Coordinating Activity view is carried out in cross operating system domain
CN107948672B (en) Method and system for storing video data, server and wearable device
US20140359006A1 (en) Dynamic local function binding apparatus and method
CN109074278B (en) Validating stateful dynamic links in mobile applications
WO2019184501A1 (en) Video editing method, video playing method, device and computer-readable medium
US20130325466A1 (en) System and method for controlling interactive video using voice
US9454964B2 (en) Interfacing device and method for supporting speech dialogue service
WO2016169321A1 (en) Method for playing video, player and computer storage media
CN112486451A (en) Voice broadcasting method, computing device and computer storage medium
CN105847320A (en) Resource obtaining method and device
US10133408B2 (en) Method, system and computer program product
CN110087120B (en) Same-window switching method of online list and local list and computing equipment
JP6877343B2 (en) Handling unstructured messages
WO2017128544A1 (en) Notification prompting method and apparatus
CN110267091B (en) Play instance processing method and device and computer readable storage medium
JP2018534670A (en) Pre-instantiating native applications in the background
CN107679214B (en) Link positioning method, device, terminal and computer readable storage medium
US20170264973A1 (en) Video playing method and electronic device
CN109033466A (en) Page sharing method calculates equipment and computer storage medium
WO2020024779A1 (en) Storage information processing method and device, locker and storage medium
CN110597566A (en) Application processing method and device, storage medium 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
GR01 Patent grant
GR01 Patent grant