CN112788362B - Video playing method, video playing device and storage medium - Google Patents

Video playing method, video playing device and storage medium Download PDF

Info

Publication number
CN112788362B
CN112788362B CN202011560743.6A CN202011560743A CN112788362B CN 112788362 B CN112788362 B CN 112788362B CN 202011560743 A CN202011560743 A CN 202011560743A CN 112788362 B CN112788362 B CN 112788362B
Authority
CN
China
Prior art keywords
application
video
target
communication protocol
source information
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
CN202011560743.6A
Other languages
Chinese (zh)
Other versions
CN112788362A (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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011560743.6A priority Critical patent/CN112788362B/en
Publication of CN112788362A publication Critical patent/CN112788362A/en
Application granted granted Critical
Publication of CN112788362B publication Critical patent/CN112788362B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure relates to a video playing method, a video playing device and a storage medium. The video playing method is applied to the terminal, and comprises the following steps: determining target film source information, wherein the target film source information is film source information corresponding to target video search information input by a user on a first application running on the terminal; and if the target film source information does not belong to the running first application, determining a second application corresponding to the target film source information, and switching to the second application to play the target video. The effect of smooth switching between video applications is achieved, and the image quality of the played video resources is guaranteed.

Description

Video playing method, video playing device and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a video playing method, a video playing device, and a storage medium.
Background
With the development of communication technology, more and more application scenarios, especially, the advent of Over The Top (OTT) manufacturers and vertical industries, are presented, and the demands of these new service forms on network resources are diversified, and the demands on network data are higher and higher.
In the related art, OTT manufacturers and applications corresponding to various vertical industries all include own corresponding copyrights, and resources available to each application are limited due to the copyrights. Therefore, when other application is required to have copyrighted resources, the corresponding resources can be acquired through the intermediate web page, so that the terminal experience is poor, and the acquired resources have the problems of function deficiency and quality degradation.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a video playing method, a video playing device, and a storage medium.
According to a first aspect of an embodiment of the present disclosure, there is provided a video playing method, applied to a terminal, the method including:
determining target film source information, wherein the target film source information is film source information corresponding to target video search information input by a user on a first application running on the terminal; and if the target film source information does not belong to the running first application, determining a second application corresponding to the target film source information, and switching to the second application to play the target video.
In one embodiment, the determining the second application corresponding to the target film source information and switching to the second application to play the target video include:
analyzing character string information of target video search information corresponding to the target film source information; determining an application communication protocol included in the target video clip source information based on the character string information; generating a control instruction for controlling the second application to play the target video based on the first application; and switching to the second application to play the target video according to the control instruction and the application communication protocol.
In one embodiment, switching to the second application to play the target video according to the control instruction and the application communication protocol includes:
generating a target slice carrying the application communication protocol based on the control instruction and the application communication protocol; determining a second application corresponding to the target slice in a media resource library comprising slices, wherein the slices in the media resource library bear an application communication protocol, and the application communication protocol has a corresponding relation with the application playing the video; and starting the second application, and playing the target video by the second application.
In one embodiment, the media asset library including the slice is determined as follows:
determining an application for playing the video, and generating a slice bearing an application communication protocol in a virtualization way based on the application communication protocol adopted by the application; and creating a media resource library comprising slices based on the slices carrying the application communication protocol.
In one embodiment, the virtualizing generates slices carrying application communication protocols, comprising:
based on the slice subscription manager, virtualization generates one or more slices carrying the same application communication protocol.
According to a second aspect of embodiments of the present disclosure, there is provided a video playing device, applied to a terminal, the device including:
the determining module is used for determining target film source information, wherein the target film source information is film source information corresponding to target video search information input by a user on a first application running on the terminal; and the switching module is used for determining a second application corresponding to the target film source information if the target film source information does not belong to the first application running, and switching to the second application to play the target video.
In one embodiment, the determining module is configured to:
analyzing character string information of target video search information corresponding to the target film source information; determining an application communication protocol included in the target video clip source information based on the character string information; generating a control instruction for controlling the second application to play the target video based on the first application; and switching to the second application to play the target video according to the control instruction and the application communication protocol.
In one embodiment, the switching module is configured to:
generating a target slice carrying the application communication protocol based on the control instruction and the application communication protocol; determining a second application corresponding to the target slice in a media resource library comprising slices, wherein the slices in the media resource library bear an application communication protocol, and the application communication protocol has a corresponding relation with the application playing the video; and starting the second application, and playing the target video by the second application.
In one embodiment, the determining module is further configured to:
determining an application for playing the video, and generating a slice bearing an application communication protocol in a virtualization way based on the application communication protocol adopted by the application; and creating a media resource library comprising slices based on the slices carrying the application communication protocol.
In one embodiment, the determining module is further configured to:
based on the slice subscription manager, virtualization generates one or more slices carrying the same application communication protocol.
According to a third aspect of the embodiments of the present disclosure, there is provided a video playing device, including:
a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the video playing method described in the first aspect or any implementation manner of the first aspect is executed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, enables the mobile terminal to perform the video playing method of the first aspect or any implementation manner of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: according to the video playing method and device, the video playing application corresponding to the target film source information can be further determined according to the determined target film source information, and therefore the target video is played by switching to the video playing application corresponding to the target film source information. Smooth switching between video applications is realized, and the image quality and other corresponding functions of the played target video can be ensured.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a video playing method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a video playing method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating parsing target clip source information in a video playback method according to an exemplary embodiment.
Fig. 4 is a schematic diagram illustrating switching applications in a video playing method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a video playing method according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a video playing method according to an exemplary embodiment.
Fig. 7 is a schematic diagram showing an overall framework in a video playing method according to an exemplary embodiment.
Fig. 8 is a schematic diagram illustrating slice subscription in a video playing method according to an exemplary embodiment.
Fig. 9 is a schematic diagram illustrating logic implemented in a video playback method according to an exemplary embodiment.
Fig. 10 is a block diagram of a video playback device according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating an apparatus for video playback according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
With the development of communication technology, more and more application scenes are presented, in the related technology, a network slicing technology is presented, a physical slice is divided into a plurality of virtual end-to-end networks, each of which can obtain logically independent network resources, and the slices can be mutually insulated, so that the method can be suitable for various application scenes. Network slicing techniques may allow operators to select the characteristics required for each slice, such as low latency, high throughput, connection density, spectral efficiency, traffic capacity, and network efficiency, while providing different network slices to provide high throughput, fast data transfer speeds, and low latency, which may lead to better cost effectiveness.
The rapid popularization and development of communication network technology, the new business forms of OTT manufacturers and vertical industries present diversified demands for network resources, and the demand for flow is higher and higher. Among other things, OTT vendors include third party services that are independent of the carrier's communication network, and deliver a wide variety of content to users through applications. OTT typically uses an operator communication network to provide services and applications for its users. OTT may directly access OTT content through platforms connected to an operator's communication network, such as personal computers, laptops, tablets, smartphones, and other devices capable of using web services. Some examples of OTT are internet telephony and instant messaging applications such as Skype, google voice, and Viber. Such OTT applications provide voice calls, messages and/or video services to users.
The provider for such OTT applications may purchase network sliced services from the operator, the service requirements of the network sliced services including, but not limited to, OTT application identification, area of use, time of use, number of concurrent users, and business requirements. From this information, the operator determines to create and store different types of network slices, i.e., slice information, for these OTT application identifications that purchased the network slice service. And the user needs to purchase the service of the network slice from the OTT application service provider, including the use area, the use time length, etc., when using the OTT application. For example: turning on VIP members, purchasing business acceleration packages, etc. Or the provider of the OTT application directly authorizes all or part of the users to use the network slice, and the embodiment of the application is not limited. After the provider of OTT application authorizes the user, the user can use the services of the network slice of the operator, thereby improving the quality of OTT service.
It should be noted that, when a user uses an OTT application or a vertical industry, for example, in the related art, the terminal includes various video client software, and due to the copyright problem of the film source, although the a-station client can find the film source of the B-station client, when clicking the playing service, the user will automatically jump to the B-station playing film source of the web page version, which results in extremely reduced quality in various aspects such as video definition, image quality, function selection, and the like, and poor user experience. Based on the above, the present disclosure provides a video playing method, which switches a video to an application corresponding to film source information for playing, so as to improve user experience.
The embodiment of the disclosure will explain a video playing method by referring to the figures.
Fig. 1 is a flowchart illustrating a video playing method according to an exemplary embodiment. As shown in fig. 1, the video playing method is used in a terminal and includes the following steps.
In step S11, target slice source information is determined.
In the embodiment of the disclosure, the target film source information is film source information corresponding to target video search information input by a user on a first application running on a terminal.
The terminal determines a first application to be operated, determines target video search information detected by the first application through an application layer, identifies character string information of the target video search information, and determines target film source information. The first application is an a-station client, the terminal detects that a user searches for the target video XX based on touch operation of the a-station client at the a-station client, and obtains film source information of the target video XX.
In step S12, if the target film source information does not belong to the running first application, determining a second application corresponding to the target film source information, and switching to the second application to play the target video.
In the embodiment of the disclosure, the terminal determines whether the target film source information belongs to a first application running currently according to the acquired target film source information of the target video. If the target film source information of the target video searched by the user based on the first application does not belong to the first application, the terminal determines a second application corresponding to the target film source information, namely, a video application to which the copyright of the target video belongs. And the terminal switches the first application running currently to a second application corresponding to the target film source information according to the determined target film source information, and the second application plays the video. It is understood that the first application is switched to the second application having the target video playback right.
According to the video playing method provided by the embodiment of the disclosure, the target video is played by determining the target film source information and the second application corresponding to the target film source information, and smoothly switching from the first application to the second application corresponding to the target film source information, so that user experience and playing quality and function of the target video are improved.
In the embodiment of the present disclosure, determining the second application corresponding to the target film source information, and switching to the second application to play the target video may be implemented by executing the following steps.
Fig. 2 is a flowchart illustrating a video playing method according to an exemplary embodiment. As shown in fig. 2, determining a second application corresponding to the target film source information, and switching to the second application to play the target video includes the following steps.
In step S21, character string information of the target video search information corresponding to the target clip source information is parsed.
In the embodiment of the disclosure, the service layer of the terminal can analyze the target video search information corresponding to the target film source to obtain the character string information of the target video search information corresponding to the target film source information. The character string information is used to obtain the information flow of the corresponding application communication protocol, such as transmission control protocol/internet protocol (English: transmission Control Protocol/Internet Protocol, english abbreviation: TCP/IP).
In step S22, an application communication protocol included in the target video clip source information is determined based on the character string information.
In the embodiment of the disclosure, a terminal analyzes target video search information corresponding to a target film source based on a service layer to obtain character string information of the target video search information corresponding to the target film source information, and determines an application communication protocol through communication between a modem (modem) and a cloud server, thereby determining an information flow of the application communication protocol. For example determining the information flow of the transmission control protocol/internet protocol.
In step S23, a control instruction for controlling the second application to play the target video is generated based on the first application.
In the embodiment of the disclosure, the terminal generates a control instruction for controlling and calling a second application to play a target video based on the second application corresponding to the target film source information determined by the first application and the first application. And transmitting the generated control instruction to a processing device (or a processor) of the terminal, wherein the terminal background CPU processing device (or the processor) can quickly respond after receiving the control instruction.
Fig. 3 is a flowchart illustrating parsing target clip source information in a video playback method according to an exemplary embodiment. As shown in fig. 3, the terminal determines whether the target film source information belongs to the local resource of the first application, and if the target film source information belongs to the local resource of the first application running currently, the target film source information is not analyzed, and the first application is directly adopted to play the target video. If the target film source information does not belong to the first application running currently, analyzing the target film source information, determining an application corresponding to the target film source information, and further determining whether the application corresponding to the target film source information is consistent with the subscribed slice. And if the determined application corresponding to the target source information is consistent with the subscribed slice, packaging the slice bearing the application communication protocol of the application and the generated control instruction, and sending the packaged slice to the application corresponding to the target source information (namely the target station client). And if the determined application corresponding to the target source information is consistent with the subscribed slice, ending switching to the application corresponding to the target source information.
In step S24, the second application is switched to play the target video according to the control instruction and the application communication protocol.
In the embodiment of the disclosure, the terminal determines target video information of the second application according to target film source information included in the application communication protocol, opens the second application according to the received control instruction based on a switching controller in the background processor, and further responds to opening the target video. Fig. 4 is a schematic diagram illustrating switching applications in a video playing method according to an exemplary embodiment. As shown in fig. 4, the first application is exemplified as a station a client, and the second application is exemplified as a station B client. And the terminal A station client side determines a second application and a first application corresponding to the target film source information, generates a control instruction for controlling and calling the second application to play the target video, transmits the generated control instruction to a processing device of the terminal, and requests to switch to the B station client side. The terminal analyzes the target video search information corresponding to the target film source according to the service layer to obtain character string information of the target video search information corresponding to the target film source information, and determines an application communication protocol through communication between a modem and a cloud server, and further determines information flow of the application communication protocol. And the switching controller of the terminal processing device determines to open the B station client according to the control instruction and the information flow of the application communication protocol, so that smooth switching between video applications is realized, and the application switching efficiency and the user experience effect are improved.
In the embodiment of the present disclosure, switching to the second application to play the target video according to the control instruction and the application communication protocol may be achieved by executing the following steps.
Fig. 5 is a flowchart illustrating a video playing method according to an exemplary embodiment. As shown in fig. 5, switching to the second application to play the target video according to the control instruction and the application communication protocol includes the following steps.
In step S31, a target slice carrying the application communication protocol is generated based on the control instruction and the application communication protocol.
In the embodiment of the disclosure, all video applications correspond to high-definition video slice resources, wherein the high-definition video slice resources are divided into video slice resources corresponding to each video application. For example, a station client corresponds to a video resource slice, a station client corresponds to B video resource slice, etc. Wherein each video application corresponds to a client-corresponding (occupied) video slice resource comprising at least one, each video slice resource corresponding to application communication protocol information, such as transmission control protocol or internet protocol information, comprising the video client, and further comprising end user data information, etc. The terminal generates a target slice of the application communication protocol carrying the second application based on the control instruction and the application communication protocol.
In step S32, a second application corresponding to the target slice is determined in the media asset library including the slice.
In the embodiment of the disclosure, the slices in the media resource library carry an application communication protocol, and the application communication protocol has a corresponding relationship with an application playing the video.
The terminal also comprises a media resource library, and the video slicing resources corresponding to each video client are stored in the media resource library. After the terminal determines the target slice, determining a second application corresponding to the target slice in a media resource library comprising the slice. The target slice carries information such as application communication protocol and end user data of the second application.
In step S33, a second application is started, and a target video is played by the second application.
In the embodiment of the disclosure, the terminal processing device starts the second application according to the received control instruction, determines the target video information based on the application communication protocol of the second application carried in the target slice, and plays the target video after the terminal opens the second application.
In the embodiment of the disclosure, determining the media asset library including the slice may be implemented by performing the following steps.
Fig. 6 is a flowchart illustrating a video playing method according to an exemplary embodiment. As shown in fig. 6, determining a media asset library including slices includes the following steps.
In step S41, an application playing the video is determined, and a slice carrying the application communication protocol is generated by virtualization based on the application communication protocol adopted by the application.
In the embodiment of the disclosure, the terminal determines an application playing the video corresponding to each video, and determines an application communication protocol adopted by each application. Based on the application communication protocol and the virtualization technology adopted by the application, the network side physical layer is virtualized, and a slice for bearing the application communication protocol is determined, wherein the slice can be also called slice resource.
In step S42, a media asset library including slices is created based on the slices carrying the application communication protocol.
In the embodiment of the present disclosure, each slice resource is an independent slice, and the slices corresponding to each application together form a media resource library, wherein in the embodiment of the present disclosure, the media resource library may also be referred to as a high-definition video resource library slice. The high-definition video resource library slice is used for bearing all high-definition video resources, and copyrights belong to various video applications. For example, each video application may be a video client provided by a different OTT vendor. Fig. 7 is a schematic diagram showing an overall framework in a video playing method according to an exemplary embodiment. As shown in fig. 7, the network side physical layer is effectively sliced based on the virtualization technology, including slice 1 and slice 2 … … slice n. Among slices 1, 2, … …, N, which include high definition video slices, the high definition video slices are further divided into slices corresponding to each video application, including a-station slices, B-station slices … … N-station slices. And distributing the A station slice and the B station slice … … N station slices to the video applications corresponding to the terminals, analyzing the accessed slices by the terminals, and distributing the slices to the corresponding video applications through the control surface.
In an embodiment of the disclosure, the terminal may further include a slice subscription manager. The terminal refines the media resource library (namely the slices of the high-definition video resource library) based on the slice subscription manager, and determines one or more logic independent slices corresponding to each video application. And as described above, one or more logical independent slices corresponding to each video application carry information such as corresponding application communication protocols and user data. It should be noted that, the logic corresponding to each video application carrying the information such as the corresponding application communication protocol and the user data is sliced independently, and the upper server of the terminal is temporarily stored. The terminal data path management layer can realize a slice subscription function, and uniformly manage subscribed slices so as to realize a sharing mechanism of independent slices. Fig. 8 is a schematic diagram illustrating slice subscription in a video playing method according to an exemplary embodiment. As shown in fig. 8, the slice subscription manager may obtain a slice of the high-definition video resource, temporarily store the slice of the high-definition video resource in an upper server of the terminal, and determine, according to a request message sent by the video application to subscribe to the slice, to allocate a corresponding slice to the application. The sharing of the slices by the application can also be controlled, and the slices are uniformly managed.
Fig. 9 is a schematic diagram illustrating logic implemented in a video playback method according to an exemplary embodiment. As shown in fig. 9, the network side resource is described as a 5G resource. In the embodiment of the disclosure, the terminal accesses the 5G slice resource of the network side based on the 5G network interface, and the terminal DATA access DATA channel (Data access in DATA channel, DATA) acquires the 5G slice resource and acquires the application communication protocol corresponding to the 5G slice resource. And analyzing the 5G slice in the application communication protocol, acquiring a character string corresponding to the search target video information, and starting the application corresponding to the target video information by generating a control instruction. By the implementation logic process, smooth switching between applications can be realized, particularly for video applications, and when the target video is determined not to belong to the first application running currently, a second application corresponding to the target video can be directly opened, and video information of a webpage version is not opened any more. When the current video application obtains other video application resources different from the current application, the corresponding video application can be directly adopted for playing, so that the defects of low image quality and no function (such as barrage) caused by the priority selection of webpage version playing are avoided, and the user experience is effectively improved.
Based on the same conception, the embodiment of the disclosure also provides a video playing device.
It can be appreciated that, in order to achieve the above-mentioned functions, the video playing device provided in the embodiments of the present disclosure includes corresponding hardware structures and/or software modules for performing the respective functions. The disclosed embodiments may be implemented in hardware or a combination of hardware and computer software, in combination with the various example elements and algorithm steps disclosed in the embodiments of the disclosure. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation is not to be considered as beyond the scope of the embodiments of the present disclosure.
Fig. 10 is a block diagram of a video playback device 100 according to an exemplary embodiment. Referring to fig. 9, the apparatus determining module 101 and the switching module 102 are applied to a terminal.
The determining module 101 is configured to determine target film source information, where the target film source information is film source information corresponding to target video search information input on a first application running on a terminal by a user. And the switching module 102 is configured to determine a second application corresponding to the target film source information if the target film source information does not belong to the running first application, and switch to the second application to play the target video.
In the embodiment of the present disclosure, the determining module 101 is configured to parse the string information of the target video search information corresponding to the target film source information. Based on the character string information, an application communication protocol included in the target video clip source information is determined. And generating a control instruction for controlling and calling the second application to play the target video based on the first application. And switching to a second application to play the target video according to the control instruction and the application communication protocol.
In the embodiment of the present disclosure, the switching module 102 is configured to generate, based on the control instruction and the application communication protocol, a target slice carrying the application communication protocol. And determining a second application corresponding to the target slice in a media resource library comprising the slice, wherein the slice in the media resource library carries an application communication protocol, and the application communication protocol has a corresponding relation with the application playing the video. And starting the second application, and playing the target video by the second application.
In the embodiment of the present disclosure, the determining module 101 is further configured to determine an application playing the video, and virtualize to generate a slice carrying the application communication protocol based on the application communication protocol adopted by the application. Based on the slice carrying the application communication protocol, a media asset library including the slice is created.
In an embodiment of the present disclosure, the determining module 101 is further configured to virtualize, based on the slice subscription manager, one or more slices carrying the same application communication protocol.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 11 is a block diagram illustrating an apparatus 200 for video playback according to an exemplary embodiment. For example, apparatus 200 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 11, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the apparatus 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interactions between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the apparatus 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 204 may be implemented by any type or combination of volatile or nonvolatile memory devices 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 component 206 provides power to the various components of the device 200. The power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 200.
The multimedia component 208 includes a screen between the device 200 and the user that provides an output interface. 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 input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes 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 apparatus 200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive external audio signals when the device 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 further includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing assembly 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 214 includes one or more sensors for providing status assessment of various aspects of the apparatus 200. For example, the sensor assembly 214 may detect the on/off state of the device 200, the relative positioning of the components, such as the display and keypad of the device 200, the sensor assembly 214 may also detect a change in position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration/deceleration of the device 200, and a change in temperature of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 214 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 214 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate communication between the apparatus 200 and other devices in a wired or wireless manner. The device 200 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 200 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, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 204, including instructions executable by processor 220 of apparatus 200 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
It is understood that the term "plurality" in this disclosure means two or more, and other adjectives are similar thereto. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It is further understood that the terms "first," "second," and the like are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the expressions "first", "second", etc. may be used entirely interchangeably. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that "connected" includes both direct connection where no other member is present and indirect connection where other element is present, unless specifically stated otherwise.
It will be further understood that although operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous.
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 adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A video playing method, applied to a terminal, the method comprising:
determining target film source information, wherein the target film source information is film source information corresponding to target video search information input by a user on a first application running on the terminal;
if the target film source information does not belong to the running first application, determining a second application corresponding to the target film source information;
if the application corresponding to the target film source information is consistent with the subscribed slice, switching to the second application to play the target video;
wherein the switching to the second application to play the target video includes:
analyzing character string information of target video search information corresponding to the target film source information;
determining an application communication protocol included in the target video clip source information based on the character string information;
generating a control instruction for controlling the second application to play the target video based on the first application;
switching to the second application to play the target video according to the control instruction and the application communication protocol;
the switching to the second application to play the target video according to the control instruction and the application communication protocol includes:
generating a target slice carrying the application communication protocol based on the control instruction and the application communication protocol;
determining a second application corresponding to the target slice in a media resource library comprising slices, wherein the slices in the media resource library bear an application communication protocol, and the application communication protocol has a corresponding relation with the application playing the video;
and starting the second application, and playing the target video by the second application.
2. The video playing method according to claim 1, wherein the media asset library including slices is determined by:
determining an application for playing the video, and generating a slice bearing an application communication protocol in a virtualization way based on the application communication protocol adopted by the application;
and creating a media resource library comprising slices based on the slices carrying the application communication protocol.
3. The video playback method of claim 2, wherein virtualizing generates slices carrying application communication protocols, comprising:
based on the slice subscription manager, virtualization generates one or more slices carrying the same application communication protocol.
4. A video playing device, characterized in that it is applied to a terminal, said device comprising:
the determining module is used for determining target film source information, wherein the target film source information is film source information corresponding to target video search information input by a user on a first application running on the terminal;
the switching module is used for determining a second application corresponding to the target film source information if the target film source information does not belong to the first application which is operated;
if the application corresponding to the target film source information is consistent with the subscribed slice, switching to the second application to play the target video;
wherein, the determining module is used for:
analyzing character string information of target video search information corresponding to the target film source information;
determining an application communication protocol included in the target video clip source information based on the character string information;
generating a control instruction for controlling the second application to play the target video based on the first application;
switching to the second application to play the target video according to the control instruction and the application communication protocol;
wherein, the switching module is used for:
generating a target slice carrying the application communication protocol based on the control instruction and the application communication protocol;
determining a second application corresponding to the target slice in a media resource library comprising slices, wherein the slices in the media resource library bear an application communication protocol, and the application communication protocol has a corresponding relation with the application playing the video;
and starting the second application, and playing the target video by the second application.
5. The video playback device of claim 4, wherein the determination module is further configured to:
determining an application for playing the video, and generating a slice bearing an application communication protocol in a virtualization way based on the application communication protocol adopted by the application;
and creating a media resource library comprising slices based on the slices carrying the application communication protocol.
6. The video playback device of claim 5, wherein the determination module is further configured to:
based on the slice subscription manager, virtualization generates one or more slices carrying the same application communication protocol.
7. A video playback device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: a video playing method as claimed in any one of claims 1 to 3.
8. A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform the video playback method of any one of claims 1 to 3.
CN202011560743.6A 2020-12-25 2020-12-25 Video playing method, video playing device and storage medium Active CN112788362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011560743.6A CN112788362B (en) 2020-12-25 2020-12-25 Video playing method, video playing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011560743.6A CN112788362B (en) 2020-12-25 2020-12-25 Video playing method, video playing device and storage medium

Publications (2)

Publication Number Publication Date
CN112788362A CN112788362A (en) 2021-05-11
CN112788362B true CN112788362B (en) 2023-09-12

Family

ID=75752446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011560743.6A Active CN112788362B (en) 2020-12-25 2020-12-25 Video playing method, video playing device and storage medium

Country Status (1)

Country Link
CN (1) CN112788362B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727133B (en) * 2021-08-31 2023-04-28 广州方硅信息技术有限公司 Live broadcast control method and device, equipment and medium thereof
CN113973233A (en) * 2021-10-22 2022-01-25 深圳小湃科技有限公司 Method, device and equipment for optimizing switching playing of multi-platform film and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792079A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 Video access device and method
CN108184138A (en) * 2017-11-20 2018-06-19 腾讯科技(深圳)有限公司 Video broadcasting method, server, client, storage medium and electronic device
WO2019128667A1 (en) * 2017-12-29 2019-07-04 中兴通讯股份有限公司 Video playback method and terminal, server and storage medium
CN110351607A (en) * 2018-04-04 2019-10-18 优酷网络技术(北京)有限公司 A kind of method, computer storage medium and the client of panoramic video scene switching
CN112040532A (en) * 2020-09-17 2020-12-04 Oppo广东移动通信有限公司 Network slice selection method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792079A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 Video access device and method
CN108184138A (en) * 2017-11-20 2018-06-19 腾讯科技(深圳)有限公司 Video broadcasting method, server, client, storage medium and electronic device
WO2019128667A1 (en) * 2017-12-29 2019-07-04 中兴通讯股份有限公司 Video playback method and terminal, server and storage medium
CN110351607A (en) * 2018-04-04 2019-10-18 优酷网络技术(北京)有限公司 A kind of method, computer storage medium and the client of panoramic video scene switching
CN112040532A (en) * 2020-09-17 2020-12-04 Oppo广东移动通信有限公司 Network slice selection method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112788362A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN108063773B (en) Application service access method and device based on mobile edge computing
US10419804B2 (en) Cooperative provision of personalized user functions using shared and personal devices
CN113810760B (en) Method for controlling screen projection, electronic device and computer readable storage medium
CN112788362B (en) Video playing method, video playing device and storage medium
CN111031368A (en) Multimedia playing method, device, equipment and storage medium
CN106231640B (en) Wireless access point switching method and device
WO2019000414A1 (en) Method, apparatus, device, and base station for achieving edge computing in cellular network
US12015733B2 (en) Do-not-disturb method and terminal
CN110858173A (en) Data processing method and device and data processing device
US11523146B2 (en) Live broadcast method and apparatus, electronic device, and storage medium
CN113365153B (en) Data sharing method and device, storage medium and electronic equipment
CN106792892B (en) Access control method and device for application program
CN105630949A (en) Page loading and backspacing method and device
CN114071243A (en) Video playing method and device, electronic equipment and storage medium
CN112162716A (en) File transmission method, device, terminal and storage medium
CN107272896B (en) Method and device for switching between VR mode and non-VR mode
US11809683B2 (en) Display method, display device and storage medium
WO2013037083A1 (en) Personalized video content consumption using shared video device and personal device
CA3224322A1 (en) Video playing method and apparatus, and storage medium
JP6311028B2 (en) Telephone interaction method, user terminal, telephone agent system, telephone interaction system, program, and recording medium
CN113946251A (en) Media content sending method, device, equipment, readable storage medium and product
CN105704208A (en) Service starting method and device
CN110311968B (en) Method and device for loading file in streaming mode and intelligent equipment
CN109375959B (en) Method and device for directionally pulling up application
WO2023240501A1 (en) Multimedia data playback method and apparatus, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant