Processing method, device, equipment, medium and program product based on media application

Through self-developed digital copyright management equipment, it drives media applications and operating systems to obtain and decrypt keys, solving the problem of copyright management of digital media content in the audio and video field, achieving secure playback and cross-platform compatibility, and improving application security and Fluency.

CN118803368BActive Publication Date: 2025-01-07TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411289024.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-07
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

The existing media content playback system in the audio and video field cannot effectively realize digital copyright management, resulting in digital media content being easily copied and maliciously disseminated during the application process, and cannot meet the copyright holders' requirements for digital copyright management.

Method used

Through self-developed digital copyright management equipment, the media applications and target operating systems can be driven to perform key acquisition and decryption functions to achieve secure playback of copyrighted digital media. The specific steps include receiving an authorization request from the media application, generating a server playback context message, requesting an authorization key from the key server, and sending the key to the target operating system so that it can access and play copyrighted media content.

Benefits of technology

It realizes the secure playback of copyrighted digital media in media applications, overcomes the defect of not being able to play on the target operating system, improves security and fluency in media applications, and demonstrates cross-platform compatibility and broad adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803368B_ABST
    Figure CN118803368B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a processing method, device, equipment, medium and program product based on media application. The method includes: when the target copyright digital media in the media application is requested to be played in the target operating system, receiving an authorization request for the target copyright digital media sent by the media application; in response to the authorization request, driving the target operating system to generate a server playback context message; obtaining the authorization key of the target copyright digital media from the key server based on the server playback context message; sending the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media. The embodiment of the present application can be used to drive the media application and the target operating system to perform key acquisition and decryption functions through a self-developed digital rights management device, thereby achieving safe playback of the target copyright digital media in the media application on the target operating system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, in particular to the field of audio and video, and specifically to a processing method, device, equipment, medium and program product based on media application. Background Art

[0002] With the rapid development of digital media technology, digital media content has been widely used. Usually, digital media applications need to be access controlled during their widespread use to prevent digital media content from being illegally copied during the application process and to avoid the malicious spread of pirated digital media content.

[0003] For example, in the field of audio and video, if the media content playback system (such as a player application) provided by an online video operator cannot meet the digital rights management technology required by the copyright holder of the digital media content; then, even if the copyright holder authorizes the digital media content to the online video operator, the media content playback system provided by the online video operator will not be able to play the digital media content with digital copyright, thereby preventing the digital media content from being maliciously copied and disseminated.

[0004] Therefore, designing digital rights management technology that complies with the approval of copyright holders is particularly important to ensure the safe playback of digital media content. Summary of the invention

[0005] The embodiments of the present application provide a processing method, apparatus, device, medium and program product based on media applications, which drives the media application and the target operating system to execute key acquisition and decryption functions through a self-developed digital rights management device, thereby realizing the secure playback of copyrighted digital media in the media application on the target operating system.

[0006] On the one hand, an embodiment of the present application provides a processing method based on a media application, wherein the media application runs in a target operating system, and the target operating system accesses the copyrighted digital media in the media application through a digital rights management device. The processing method based on the media application includes:

[0007] When the target copyright digital media in the media application is requested to be played in the target operating system, receiving an authorization request for the target copyright digital media sent by the media application;

[0008] In response to the authorization request, the target operating system is driven to generate a server play context message; the server play context message is used to request an authorization key of the target copyright digital media from a key server;

[0009] Obtaining an authorization key for a target copyright digital media from a key server based on the server playback context message;

[0010] The authorization key is sent to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media.

[0011] On the other hand, an embodiment of the present application provides a processing device based on a media application, wherein the media application runs in a target operating system, and the target operating system accesses the copyrighted digital media in the media application through a digital rights management device, and the processing device based on the media application includes:

[0012] A receiving unit, configured to receive an authorization request for the target copyright digital media sent by the media application when the target copyright digital media in the media application is requested to be played in the target operating system;

[0013] The processing unit is used to drive the target operating system to generate a server play context message in response to the authorization request; the server play context message is used to request the authorization key of the target copyright digital media from the key server;

[0014] The processing unit is further used to obtain the authorization key of the target copyright digital media from the key server based on the server playback context message;

[0015] The processing unit is further used to send the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyrighted digital media.

[0016] In one implementation, the authorization key of the target copyright digital media is carried in the content key context message; the processing unit is used to obtain the authorization key of the target copyright digital media from the key server based on the server playback context message, specifically for:

[0017] Sending the server play context message to the key server, so that the key server obtains the authorization key of the target copyright digital media in response to the server play context message, and the key server encrypts the authorization key of the target copyright digital media to obtain a content key context message;

[0018] Receive the content key context message returned by the key server.

[0019] In one implementation, the target copyright digital media is encrypted using a digital rights management technology, and a protocol decryption service compatible with the digital rights management technology is deployed in the target operating system; the processing unit is used to send an authorization key to the target operating system so that the target operating system uses the authorization key to access and play the target copyright digital media, specifically for:

[0020] The content key context message is sent to the protocol decryption service in the target operating system, so that the protocol decryption service decrypts the content key context message and obtains the authorization key of the target copyright digital media from the decrypted content key context message; and after the protocol decryption service uses the authorization key to decrypt the target copyright digital media, the decrypted target copyright digital media is sent to the system player for playback.

[0021] In one implementation, the processing unit is further configured to:

[0022] receiving an encrypted notification message sent by a target operating system, the encrypted notification message being used to indicate that the target copyright digital media is encrypted using a digital rights management technology; the target operating system is an operating system that supports the digital rights management technology, and the digital rights management device is developed based on the digital rights management technology;

[0023] The encrypted notification message is forwarded to the media application, so that the media application generates an authorization request for the target copyright digital media according to the encrypted notification message, and sends the authorization request to the digital rights management device.

[0024] In one implementation, the process of generating an encrypted notification message by the target operating system includes:

[0025] The target operating system obtains the media address of the target copyright digital media;

[0026] The target operating system obtains a play list of the target copyright digital media from a content server corresponding to the media application according to the media address; the play list includes a first content attribute field;

[0027] When the first content attribute field indicates that the target copyright digital media is encrypted using a digital rights management technology, the target operating system generates an encryption notification message.

[0028] In one implementation, the target operating system obtains the media address of the target copyright digital media, including:

[0029] The target operating system obtains the media address of the target copyright digital media from the media application;

[0030] Among them, when the target copyright digital media in the media application is requested to be played in the target operating system, the media application obtains the media information of the target copyright digital media from the content server according to the media identifier of the target copyright digital media; the media information includes at least one of the following: the media address of the target copyright digital media, the certificate address of the target copyright digital media and the second content attribute field of the target copyright digital media; the second content attribute field is used by the media application to identify whether the target copyright digital media is encrypted using digital rights management technology.

[0031] In one implementation, the digital rights management device includes a digital rights management plug-in or a digital rights management program; the digital rights management device is integrated in the media application;

[0032] The digital rights management device includes a certificate manager, which is used to cache the certificate address and certificate data of the target copyright digital media accessed in the media application, and the certificate address points to the storage location of the certificate data.

[0033] In one implementation, when the second content attribute field of the target copyright digital media indicates that the target copyright digital media is encrypted using a digital rights management technology, the media application starts a digital rights management device; and the processing unit is further configured to:

[0034] According to the certificate address of the target copyright digital media, query in the certificate manager whether there is certificate data of the target copyright digital media;

[0035] If the certificate data of the target copyright digital media does not exist in the certificate manager, the certificate data of the target copyright digital media is obtained from the key server according to the storage location pointed to by the certificate address of the target copyright digital media;

[0036] The certificate data and the certificate address of the target copyright digital media are associated and stored in the certificate manager.

[0037] In one implementation, the process of generating a server playback context message by the target operating system includes:

[0038] Acquire the certificate data of the target copyright digital media from the certificate manager; the certificate data is issued by the key server for the target copyright digital media; and,

[0039] Acquire a playlist of the target copyright digital media, where the playlist includes media details that can be identified by the target operating system and are related to the target copyright digital media;

[0040] generating an initial context message based on the certificate data and the media details information;

[0041] The initial context message and the certificate data are packaged to generate a server play context message.

[0042] On the other hand, an embodiment of the present application provides a processing method based on a media application, wherein the media application runs in a target operating system, and the target operating system accesses the copyrighted digital media in the media application through a digital rights management device. The processing method based on the media application includes:

[0043] In response to a request to play the target copyright digital media in the media application in the target operating system, sending a media play request to the target operating system; the media play request is used to request a system player in the target operating system to play the target copyright digital media;

[0044] When receiving an encrypted notification message returned by the target operating system through the digital rights management device, generating an authorization request for the target copyright digital media; the encrypted notification message is used to indicate that the target copyright digital media is encrypted using the digital rights management technology;

[0045] An authorization request is sent to a digital rights management device, so that the digital rights management device drives the target operating system to generate a server playback context message in response to the authorization request; the server playback context message is used to request an authorization key for the target copyright digital media from a key server; and, the digital rights management device obtains the authorization key for the target copyright digital media from the key server based on the server playback context message; and, the digital rights management device sends the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media.

[0046] On the other hand, an embodiment of the present application provides a processing device based on a media application, wherein the media application runs in a target operating system, and the target operating system accesses the copyrighted digital media in the media application through a digital rights management device, and the processing device based on the media application includes:

[0047] A sending unit, configured to send a media play request to a target operating system in response to a request for playing a target copyright digital media in a media application in a target operating system; the media play request is used to request a system player in the target operating system to play the target copyright digital media;

[0048] The processing unit is used to generate an authorization request for the target copyright digital media when receiving an encrypted notification message returned by the target operating system through the digital rights management device; the encrypted notification message is used to indicate that the target copyright digital media is encrypted using the digital rights management technology;

[0049] The processing unit is further used to send an authorization request to a digital rights management device, so that the digital rights management device drives the target operating system to generate a server playback context message in response to the authorization request; the server playback context message is used to request an authorization key of the target copyright digital media from a key server; and, the digital rights management device obtains the authorization key of the target copyright digital media from the key server based on the server playback context message; and, the digital rights management device sends the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media.

[0050] In one implementation, the digital rights management device is integrated into a media application; the processing unit is further configured to:

[0051] Obtaining the media identification of the target copyright digital media;

[0052] According to the media identifier of the target copyright digital media, the media information of the target copyright digital media is obtained from the content server corresponding to the media application; the media information includes at least one of the following: the media address of the target copyright digital media, the certificate address of the target copyright digital media, and the second content attribute field of the target copyright digital media; the second content attribute field is used by the media application to identify whether the target copyright digital media is encrypted using the digital rights management technology;

[0053] When the second content attribute field indicates that the target copyright digital medium is encrypted using a digital rights management technology, the digital rights management device is activated.

[0054] In another aspect, an embodiment of the present application provides a computer device, the computer device comprising:

[0055] a processor adapted to execute a computer program;

[0056] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned processing method based on media application is implemented.

[0057] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is suitable for being loaded by a processor and executing the above-mentioned media application-based processing method.

[0058] On the other hand, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned processing method based on media application is implemented.

[0059] In an embodiment of the present application, a self-developed digital rights management device is provided; in this way, the target operating system can securely access the target copyright digital media in the media application running in the target operating system through the digital rights management device. Specifically, the digital rights management device can drive the target operating system and the media application to perform key acquisition and decryption functions for the target copyright digital media, thereby realizing the safe playback of the target copyright digital media with digital copyright in the media application in the target operating system. Among them, the process in which the digital rights management device drives the target operating system and the media application to perform key acquisition and decryption functions for the target copyright digital media may include: when the target copyright digital media in the media application is requested to be played in the target operating system (such as the target copyright digital media protected by copyright in the media application is triggered to play by the user, and the media application requests to play the target copyright digital media in the target operating system), the media application will send an authorization request for the target copyright digital media to the digital rights management device. When the digital rights management device receives the authorization request for the target copyright digital media sent by the media application, in response to the authorization request, it drives the target operating system to generate a server playback context message, and the server playback context message is used to request the authorization key of the target copyright digital media from the key server. At this time, after the digital rights management device obtains the server playback context message from the target operating system, it obtains the authorization key of the target copyright digital media from the key server, and sends the authorization key to the target operating system, so that the target operating system can use the authorization key to access and play the target copyright digital media. It can be seen that, on the one hand, the digital rights management device provided by the embodiment of the present application can well drive the target operating system and the media application to obtain the authorization key of the copyright digital media and decrypt it, thereby overcoming the defect that the target copyright digital media with digital copyright in the media application cannot be played on the target operating system, and improving the safe playback and smooth playback of the target copyright digital media in the media application. On the other hand, it can be seen from the process of realizing the key acquisition and decryption function of the digital rights management device described above that the process does not involve the media format of the target copyright digital media, and has excellent compatibility, specifically, it can be compatible with the key acquisition and decryption of the target copyright digital media in various media formats in the media application, and realize the safe playback of the target copyright digital media in various media formats in the media application. On the other hand, the digital rights management device has a strong adaptability, can drive the target operating system and various operating systems in the same ecosystem as the target operating system, has a wider range of applications, and exhibits excellent cross-platform characteristics. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0061] Figure 1 is a schematic diagram of the architecture of a media application-based processing system provided by an exemplary embodiment of the present application;

[0062] Figure 2 It is a flowchart of a processing method based on media application provided by an exemplary embodiment of the present application;

[0063] Figure 3 It is a flowchart of a digital rights management device receiving an authorization request for a target copyright digital media sent by a media application when the target copyright digital media in the media application is requested to be played in a target operating system, provided by an exemplary embodiment of the present application;

[0064] Figure 4 It is a flow chart of a target operating system generating a server playback context message based on certificate data provided by an exemplary embodiment of the present application;

[0065] Figure 5 is a flowchart of another processing method based on media application provided by an exemplary embodiment of the present application;

[0066] Figure 6 It is a flowchart of another processing method based on media application provided by an exemplary embodiment of the present application;

[0067] Figure 7 is a structural schematic diagram of a processing device based on a media application provided by an exemplary embodiment of the present application;

[0068] Figure 8 is a structural schematic diagram of another media application-based processing device provided by an exemplary embodiment of the present application;

[0069] Fig. 9 It is a structural diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0070] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0071] In the embodiment of the present application, a processing solution based on media application is proposed; specifically, a self-developed digital rights management device integrated in the media application is provided, through which the target operating system can obtain the key, decrypt and safely play the copyright digital media in the media application. In order to facilitate a better understanding of the embodiment of the present application, the following briefly introduces the technical terms and related concepts involved in the processing solution provided in the embodiment of the present application, among which:

[0072] (1) Digital media.

[0073] Digital media, also known as digital media content, is a type of digitized media content. The content forms of media content may include but are not limited to: text, graphics, images, audio, video, and animation, etc.; these content forms use digital media technology to present media content, making the processing, storage, and dissemination of media content more efficient and convenient. Among them, media content presented in these content forms may include but are not limited to: e-books, music, videos (such as movies and short videos) and software, etc.; for the sake of convenience, the following uses video as an example of media content for this purpose.

[0074] With the rapid development of digital media technology, media content has also been widely used, and copyright management for digital media digital copyright is crucial for the widespread application of media content. Among them, digital media digital copyright (can be referred to as copyright) refers to the protection of various rights of digital media in a digital environment. At present, digital rights management technology (Digital Rights Management, DRM) is mainly used to manage digital media digital copyright; among them, digital rights management technology for digital media is an access control technology, which is usually used in the digital media field to prevent digital media from being illegally copied and maliciously spread during the application process. Protecting the digital copyright of digital media through digital rights management technology aims to protect the copyright, dissemination right, adaptation right and property right of digital media, and prevent digital media without copyright authorization from being maliciously played, copied and spread, thereby protecting the legitimate rights and interests of the copyright holder of the digital media (which can be called the copyright owner or the source party, etc.).

[0075] Many software vendors have launched solutions for digital rights management technology; the so-called solutions for digital rights management technology can be understood as specific implementation plans that can implement digital rights management. For example, FairPlay Streaming (FPS) is a solution for digital rights management technology developed by software vendors; FPS technology, or FairPlay technology, provides encryption and authorization mechanisms to ensure that only legal purchasers of copyrights can decrypt copyrighted digital media and safely play decrypted copyrighted digital media; that is, FPS technology prevents unauthorized copyrighted digital media from being accessed and copied by encrypting digital media and using a key management system. Specifically, FPS technology provides a copyright encryption mechanism to help copyright holders encrypt digital media. For example, in order to achieve copyright protection of digital media, specifically to protect the content of digital media and prevent the copying and distribution of digital media without copyright authorization, etc.; for the copyright holder of digital copyright, it can use FPS technology (specifically the copyright encryption mechanism provided by FPS technology) to encrypt the created digital media to obtain copyright digital media; in this way, the copyright digital media encrypted by the copyright encryption mechanism can prevent piracy and illegal distribution, ensuring that only the purchaser of the digital copyright of the copyright digital media through legal channels can smoothly access and play the copyright digital media. Similarly, FPS technology provides an authorization mechanism to help visitors who want to access copyright digital media obtain the authorization key (or decryption key, content key) of the copyright digital media, so that the visitor uses the authorization key to decrypt the copyright digital media and then perform legal operations on the copyright digital media (such as playing, copying and sharing, etc.). For the convenience of explanation, the following takes digital copyright management technology as FPS technology as an example to introduce the processing solution based on media applications provided in the embodiment of this application.

[0076] (2) Media applications.

[0077] Media applications can be called media applications, which are applications that can play or display digital media; if a media application is an application that can play videos, then the media application can be called a player application. Applications can refer to computer programs that complete one or more specific tasks; according to the operation mode of media applications, media applications can include but are not limited to: clients installed in terminals, small programs that can be used without downloading and installing (as subprograms of clients), World Wide Web (Web) applications opened through browsers, etc.

[0078] If the digital media that the media application wants to access is copyrighted digital media (or encrypted copyrighted digital media), then the media application needs to purchase the digital copyright of the copyrighted digital media from the copyright holder of the copyrighted digital media (at this time, the media application can be understood as the visitor mentioned above who wants to access the copyrighted digital media, such as the visitor is an online video operating company that operates the media application, etc.); only after the media application purchases the digital copyright of the copyrighted digital media through legal means, the media application has the access right to access the copyrighted digital media.

[0079] Furthermore, to successfully access copyrighted digital media in a media application, in addition to ensuring that the media application has access rights to the copyrighted digital media, the media application is also required to provide digital rights management technology recognized by the copyright holder (i.e., the same digital rights management technology used by the copyright holder to encrypt the copyrighted digital media). In this way, the media application can obtain and decrypt the authorization key of the copyrighted digital media through the digital rights management technology, and can also prevent the copyrighted digital media from being maliciously copied in the media application during the process of accessing the copyrighted digital media. In other words, in order to protect the digital copyright of digital media, the copyright holder of digital media will not only use digital rights management technology to encrypt digital media, but also require the media application provided by the network video operating company to provide digital rights management technology that complies with the copyright holder's approval to protect the security of the copyrighted digital media.

[0080] For example, the film source (such as a film studio, etc.) uses FPS technology to encrypt the film. After obtaining the copyrighted film, the digital copyright of the copyrighted film can be authorized to the network video operating company under the authorization requirement of the network video operating company. While the network video operating company obtains access rights to the copyrighted film, the media application provided by the network video operating company also needs to be able to provide a digital copyright management device approved by the film source, so that the copyrighted film can be successfully accessed in the media application. The digital copyright management device is a device that is compatible with the FPS technology used to encrypt the copyrighted film and can use the specific interface provided by the target operating system (for the relevant content of the target operating system, see the relevant description of (3) below); specifically, the digital copyright management device is developed / built based on the digital copyright management technology - FPS technology, and can use the authorization mechanism principle of FPS technology to obtain the key of the copyrighted film encrypted using FPS technology, and send the obtained authorization key to the target operating system through the specific interface provided by the target operating system for decryption.

[0081] (3) Operating System (OS).

[0082] An operating system is a program built into a computer device that is used to collaborate with various hardware in the computer device and realize the interaction between the computer device and the user. As the core of the computer device, the operating system is mainly responsible for effectively managing the hardware resources of the computer device and providing a variety of basic functions, such as file organization, memory allocation, and process scheduling. Specifically, the operating system implements the various basic functions mentioned above by providing interfaces; according to different interface objects, interfaces can be divided into command interfaces and program interfaces. Among them: ① The command interface is a set of operation commands (such as keyboard operation commands) provided by the operating system to the user. The user enters commands from the input device connected to the computer device, and the command interpreter receives and interprets the input commands, and then calls the corresponding program inside the operating system to complete the corresponding functions that the user wants to achieve. ② The program interface is the interface between the operating system kernel and the application deployed on the computer device. It is set for the application to access system resources when executing. It is usually composed of a set of system calls. Each system call is called in the application and is a subroutine that can complete a specific function.

[0083] Considering that the hardware environments provided by different computer devices are different, the same system developer often needs to develop operating systems that are compatible with different computer devices. For example, Apple system developers have developed interactive operating systems (IOS) for mobile devices (such as smartphones, smart tablets, etc.); developed Mac (Macintosh) OS operating systems for Mac devices (such as laptops, desktop computers, etc.); and developed VisionOS operating systems for VisionPro (AppleVision Pro) devices (a wearable display device, such as a head-mounted display device). Among them, the VisionPro device has super spatial computing and binocular 4K resolution (i.e., 4096×2160 pixel resolution) display capabilities. When using the VisionPro device to play digital media in the media application running in the VisionPro device, users can get a better viewing experience; in order to further improve the playback quality of digital media in the VisionPro device, the system developer has also created a media format AIV (Apple Immersive Video) specifically for the VisionPro device. The digital media in the AIV format can effectively use 3D video with a viewing angle of 180 degrees and spatial audio with 8K resolution (i.e., 7680×4320 pixel resolution) to give users who watch movies an immersive feeling. It should be noted that some of the specific interfaces (such as the program interface provided for digital rights management devices to call) provided by the operating systems belonging to the Apple ecosystem mentioned above (i.e., operating systems developed by Apple to adapt to different devices) are similar (i.e., the functions of the system calls provided by the specific interfaces are the same or similar), and all support FPS technology; that is, the operating systems belonging to the Apple ecosystem all support access to digital media encrypted using FPS technology.

[0084] For ease of explanation, the embodiment of the present application is introduced by taking the target operating system mentioned later as any operating system that supports digital rights management technology - FPS technology as an example; wherein, any operating system that supports digital rights management technology may be an operating system under the Apple ecosystem, or may be an operating system other than the operating system under the Apple ecosystem. Optionally, the target operating system is an operating system that supports FPS technology under the Apple ecosystem, such as the target operating system may include an IOS operating system, a MacOS operating system, and a VisionOS operating system. Optionally, the target operating system is other operating systems that support FPS technology and provide specific interfaces for digital rights management devices to call (i.e., other operating systems other than the operating system under the Apple ecosystem), such as the target operating system may include an Android operating system or a Hongmeng operating system.

[0085] In actual applications, a protocol decryption service (which can be called an FPS service, and which is used to implement the authorization mechanism in the FPS technology) compatible with the digital rights management technology is deployed in the target operating system supporting the FPS technology. In this way, in a media application, when the target copyright digital media encrypted using the digital rights management technology - FPS technology is requested to be played in the target operating system, the target operating system can use the FPS service to decrypt the target copyright digital media using the authorization key of the target copyright digital media, so as to achieve the safe playback of the target copyright digital media. It is worth noting that in order to achieve the smooth playback of the target copyright digital media encrypted using the FPS technology in the media application described above in the target operating system, it is necessary to integrate a digital rights management device developed based on the digital rights management technology - FPS technology in the media application. In this way, the digital rights management device drives the media application and the target operating system to jointly obtain the authorization key of the target copyright digital media, and realizes the key acquisition and decryption functions for the target copyright digital media, so as to ensure that the target copyright digital media in the media application can be safely played in the target operating system.

[0086] The embodiment of the present application provides a self-developed digital rights management device (or called a DRM plug-in or DRM agent), which is developed based on FPS technology, and the logic provided by it to drive the media application and the target operating system to obtain the authorization key for the target copyright digital media is compatible with the FPS technology. At the same time, the digital rights management device also matches the specific interface provided by the target operating system, specifically, the digital rights management device can effectively call the specific interface provided by the target operating system to achieve key acquisition and decryption. In short, the media application-based processing scheme provided by the embodiment of the present application specifically includes: a self-developed digital rights management device based on FPS technology, and a processing scheme that uses the digital rights management device to drive the media application and the target operating system to obtain the authorization key for decryption. The following is a brief introduction to the two parts of the media application-based processing scheme provided in the embodiment of the present application, where:

[0087] (1) Self-developed digital rights management equipment based on FPS technology.

[0088] The digital rights management device is integrated into the media application in the form of an agent or a plug-in, and may include a digital rights management plug-in or a digital rights management program. In other words, when the digital rights management device is integrated into the media application, it exists as a plug-in (such as a digital rights management plug-in) or an extended service (such as a digital rights management program). In this way, the digital rights management device can drive the media application and the target operating system to achieve the acquisition and decryption functions of the authorization key for the target copyright digital media.

[0089] (2) A processing scheme for using the digital rights management device to drive the media application and the target operating system to obtain the authorization key for decryption.

[0090] The processing scheme based on media application can decrypt the target copyright digital media sent by the server based on the digital rights management device, and repackage it into an unencrypted clear stream and transmit it to the player of the target operating system (such as the player of the visionOS system) for playback. In the specific implementation, when any target copyright digital media encrypted by FPS technology in the media application is requested to be played in the target operating system, the digital rights management device effectively uses the specific interface provided by the target operating system (such as the program interface mentioned above) to drive the media application and the target operating system to jointly execute the target copyright digital media to obtain the authorization key. The digital rights management device sends the obtained authorization key of the target copyright digital media to the target operating system through a specific interface, and then the FPS service in the target operating system uses the authorization key to implement the decryption function for the target copyright digital media. The decrypted target copyright digital media is transmitted to the system player of the target operating system, and the system player plays the decrypted target copyright digital media safely and smoothly.

[0091] It can be seen that the processing solution based on media application provided by the embodiment of the present application has at least the following advantages:

[0092] ① The digital rights management device provided in the embodiment of the present application is developed based on digital rights management technology, specifically based on FPS technology. Therefore, as long as the target operating system deployed on the computer device supports the FPS technology, specifically a protocol decryption service (FPS service) compatible with the FPS technology is deployed, then the digital rights management devices in the media application support the decryption and playback of the target copyright digital media encrypted by the FPS technology in the target operating system, and can protect the digital copyright of the target copyright digital media. In particular, it can overcome the defect that the current VisionPro device does not support the playback of the target copyright digital media encrypted by the FPS technology, and can support the decryption and playback of the target copyright digital media in the AIV format encrypted by the FPS technology on the VisionPro device based on the digital rights management device.

[0093] ② The processing scheme based on media applications provided in the embodiment of the present application has a wide range of applications. Specifically, considering that the operating systems supporting FPS technology are diverse, such as the various operating systems under the Apple ecosystem; therefore, the processing scheme based on media applications provided in the embodiment of the present application has ecosystem diversity. For example, the digital rights management device provided in the embodiment of the present application, in addition to supporting the decryption and playback of the target copyright digital media encrypted by FPS technology in the VisionPro device based on the VisionOS system, can also be extended to the iPhone device based on the IOS system to realize the decryption and playback of the target copyright digital media encrypted by FPS technology, as well as, the Mac device based on the MacOS system to realize the decryption and playback of the target copyright digital media encrypted by FPS technology; this reflects that the embodiment of the present application has excellent cross-platform characteristics. For another example, the digital rights management device provided in the embodiment of the present application, in addition to supporting the decryption and playback of the target copyright digital media encrypted by FPS technology in the operating system under the Apple ecosystem, can also be extended to other operating systems that support FPS technology and provide specific interfaces for the digital rights management device to call, to realize the decryption and playback of the target copyright digital media encrypted by FPS technology.

[0094] ③ The media application-based processing solution provided in the embodiment of the present application has strong format compatibility. Specifically, it can be seen from the processing solution flow described above that the digital rights management device drives the media application and the target operating system to obtain and decrypt the key for the target copyright digital media, and the process does not restrict the media format of the target copyright digital media. This makes the media application-based processing solution provided in the embodiment of the present application have media format diversity. For example, the digital rights management device provided in the embodiment of the present application, in addition to supporting the decryption and playback of the target copyright digital media in the AIV format, is also compatible with the decryption and playback of copyright digital media other than the AIV format and encrypted based on the FPS technology.

[0095] For ease of explanation, the following is an introduction to the digital rights management device provided by the embodiment of the present application, which drives the media application and the target operating system to perform the authorization key acquisition and decryption functions in combination with an exemplary system architecture diagram. For example, the system architecture diagram involved in the media application-based processing solution provided by the embodiment of the present application can be found in Figure 1 .like Figure 1 As shown, the system architecture includes a terminal device 101 and a server, and the server includes a content server 102 and a key server 103, etc.; the processing solution based on the media application provided in the embodiment of the present application is executed by a computer device, and the computer device can be one or more of the terminal device 101, the content server 102 and the key server 103. The embodiment of the present application does not limit the type and quantity of the terminal device 101, the content server 102 and the key server 103 included in the system architecture. The following introduces each part / module that constitutes the system architecture, among which:

[0096] (1) Figure 1In the system architecture shown, the terminal device 101 is a head-mounted display, which can be a VisionPro device. The VisionPro device is deployed with a target operating system, namely, a VisionOS operating system, and a media application; the media application runs in the target operating system, and the digital rights management device provided by the embodiment of the present application is integrated in the media application. In this way, the target operating system can access the copyright digital media in the media application through the digital rights management device; specifically, the digital rights management device can call a specific interface provided by the target operating system to drive the target operating system and the media application to jointly execute the key acquisition and decryption of the copyright digital media in the media application, thereby helping the target operating system to successfully access the copyright digital media in the media application through the digital rights management device. Among them, the digital rights management device integrated in the media application is a core module in the system architecture, which can be called a digital rights management client agent; the digital rights management device includes a certificate manager (TPcertificateMgr) and a copyright manager (TPFairPlayMgr), and the certificate manager is used to cache the certificate address and certificate data of the target copyright digital media accessed in the media application, and the certificate address points to the storage location of the certificate data; the copyright manager is used to drive the work scheduling of each part / module in the system architecture.

[0097] It should be noted that Figure 1 Take the terminal device 101 as a head mounted display as an example. In practical applications, the terminal device 101 may also be other devices supporting digital rights management technology, in which an operating system supporting FPS technology is deployed; for example, the terminal device 101 may include a smart computer deployed with a MacOS operating system supporting FPS technology, or a smart phone deployed with an IOS operating system supporting FPS technology.

[0098] (2) Content Server 102 is a background server corresponding to the media application running in the terminal device 101. Content Server 102 is used to store and manage digital media content in the media application. Specifically, it is responsible for storing protected digital media content in the media application and checking the protection status of the digital media when receiving a playback request for the digital media from the media application, thereby ensuring the security and integrity of the digital media.

[0099] (3) The key server 103 (Key Server) is a background server for managing the authorization key of copyright digital media, specifically for securely creating, storing, managing and using the encryption key (i.e., authorization key) for the copyright digital key. The key server 103 carries the function of the Key Security Module (KSM), which is a component in the key server and is responsible for receiving and decrypting the license request for copyright digital media from the terminal device 101 (i.e., the server playback context message mentioned above); the KSM specifically first decrypts the server playback context message, obtains the authorization key based on the media details of the target copyright digital media, and packages it in the content key context message and returns it to the terminal device 101 (specifically, the digital rights management device deployed in the terminal device 101). The key server also carries other functions of the KSM, including but not limited to: the generation function of the authorization key, the key management and rotation function, the key use and encryption function, etc.

[0100] Based on the above brief introduction to each module / part in the system architecture, the following is a brief introduction to each module / part in the system architecture. Figure 1 The general process of the processing scheme based on media application is introduced. In the specific implementation, when the target copyright digital media in the media application in the terminal device 101 is triggered to play, on the one hand, the media application requests the media information of the target copyright digital media from the content server 102; when the media application determines that the target copyright digital media is encrypted using digital rights management technology (such as FairPlay technology) according to the second content attribute field in the media information returned by the content server 102, the media application starts the integrated digital rights management device. After the digital rights management device is successfully started, the copyright manager in the digital rights management device will obtain the certificate address of the target copyright digital media from the media information, and the certificate manager in the digital rights management device will obtain and cache the certificate data of the target copyright digital media according to the certificate address.

[0101] On the other hand, the media application requests to play the target copyright digital media in the target operating system. At this time, the target operating system obtains the play list of the target copyright digital media according to the media address of the target copyright digital media in the media information; and when it is determined that the target copyright digital media is a copyright digital media encrypted based on the digital copyright management technology according to the first content attribute in the play list, the target operating system calls the corresponding interface to notify the digital copyright management device and informs the media application that the target copyright digital media has been encrypted. In this way, the media application requests the target operating system to prepare a server context message (ServerPlaybackContext, SPC) through the digital rights management device to request an authorization key; specifically, the digital rights management device obtains the certificate data of the target copyright digital media from the certificate manager, and sends the certificate data to the target operating system to generate a server context message.

[0102] Further, after the target operating system generates a server context message, it sends the server context message to the digital rights management device, so that the digital rights management device sends the server context message to the key server 103. In response to the server context message sent by the terminal device 101 (such as a VisionPro device) (specifically, sent by the digital rights management device in the terminal device 101), the key server 103 returns the authorization key of the target copyright digital media to the digital rights management device. After receiving the authorization key of the target copyright digital media sent by the key server 103, the digital rights management device sends the authorization key to the target operating system, so that the target operating system can call the deployed FPS service to use the authorization key to decrypt the target copyright digital media and obtain the decrypted target copyright digital media. In this way, the decrypted target copyright digital media is directly sent to the system player (represented as AVPlayer) of the terminal device 101, that is, the system player can realize the smooth playback of the DRM encrypted (i.e., FPS encrypted) target copyright digital media on the terminal device 101.

[0103] Based on the above brief introduction to the processing solution and system architecture based on media applications provided in the embodiments of the present application, it is also necessary to explain that: ① The above-mentioned embodiments of the present application Figure 1 The system architecture shown is for the purpose of more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application. A person skilled in the art will know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems. In other words, Figure 1The system architecture diagram shown is an exemplary architecture diagram, and the embodiments of the present application do not limit the architecture diagram of the image generation system. ② In the embodiments of the present application, the collection and processing of relevant data should be strictly in accordance with the requirements of relevant laws and regulations. The acquisition of personal information requires the knowledge or consent of the individual subject (or the legal basis for obtaining the information), and the subsequent data use and processing behavior shall be carried out within the scope of authorization of laws and regulations and the subject of personal information. For example, when the embodiments of the present application are applied to specific products or technologies, such as when requesting the playback of the target copyright digital media, the user's permission or consent is required, and the collection, use and processing of relevant data (such as obtaining the authorization key of the target copyright digital media, etc.) need to comply with the relevant laws, regulations and standards of the relevant regions.

[0104] Based on the above-described processing scheme based on media applications, the embodiments of the present application propose a more detailed processing method based on media applications. The following will introduce the processing method based on media applications proposed in the embodiments of the present application in detail in conjunction with the accompanying drawings. It can be seen from the aforementioned related description that the processing method based on media applications provided in the embodiments of the present application involves interactions between multiple parts or modules, specifically interactions between digital rights management devices, media applications, target operating systems, content servers, and key servers. For ease of understanding, different embodiments are subsequently used to introduce the specific implementation process of the digital rights management device, the specific implementation process of the media application, and the specific implementation process of the interaction between all modules.

[0105] See also Figure 2 , Figure 2 is a flowchart of a processing method based on a media application provided by an exemplary embodiment of the present application; the flowchart mainly provides a specific implementation process of driving the media application and the target operating system to obtain the authorization key for the target copyright digital media from the perspective of the digital rights management device; that is, Figure 2 The method flow shown is applied to a digital rights management device. Figure 2 The method flow shown can be executed by the aforementioned computer device, where the computer device is the aforementioned Figure 1 The terminal device shown in the figure, namely, the VisionPro device, is used as an example for explanation. The processing method may include but is not limited to steps S201-S204:

[0106] S201: When target copyright digital media in a media application is requested to be played in a target operating system, an authorization request for the target copyright digital media sent by the media application is received.

[0107] In a specific implementation, if a user performs a trigger operation on a target copyright digital media in a media application, indicating that the user wants to watch the target copyright digital media, the media application requests the target operating system to play the triggered target copyright digital media, i.e., it is determined that the target copyright digital media in the media application is requested to be played in the target operating system. In this case, the target operating system will obtain the media address of the target copyright digital media to be played from the media application, and the media address is used to indicate the storage location of the media information of the target copyright digital media, such as the uniform resource locator (URL) of the target copyright digital media. The media address of the target copyright digital media in the media application is obtained by the media application from the content server according to the media identifier of the target copyright digital media when the target copyright digital media in the media application is requested to be played in the target operating system, specifically, the media information of the target copyright digital media is obtained from the content server. The media information includes at least one of the following: the media address of the target copyright digital media, the certificate address of the target copyright digital media, and the second content attribute field of the target copyright digital media; the second content attribute field is used by the media application to identify whether the target copyright digital media is encrypted using digital rights management technology.

[0108] Further, considering that the media application has pulled the media information of the target copyright digital media from the content server in response to the user's trigger operation on the target copyright digital media; therefore, the target operating system can directly obtain the media address of the target copyright digital media from the media application, and the media address is included in the media information. At this time, the target operating system sends a content attribute acquisition request to the content server corresponding to the media application according to the media address of the target copyright digital media, and the content attribute acquisition request is used to request the content server to return the play list of the target copyright digital media. In this way, after receiving the content attribute acquisition request, the content server returns the play list of the target copyright digital media to the target operating system in response to the content attribute acquisition request. Among them, the play list of the target copyright digital media includes a first content attribute field, which is set for the target operating system and can be recognized by the target operating system; the attribute value of the first content attribute field is used to indicate whether the target copyright digital media is encrypted using a digital copyright management technology (such as FPS technology). For example, when the attribute value is the first attribute value, it indicates that the target copyright digital media is encrypted using a digital copyright management technology, and when the attribute value is the second attribute value, it indicates that the target copyright digital media is not encrypted using a digital copyright management technology.

[0109] Furthermore, the target operating system performs content attribute identification processing on the first content attribute field in the playlist of the target copyright digital media to obtain a target attribute value; if the target attribute value is the first attribute value, it is determined that the first content attribute field indicates that the target copyright digital media is encrypted using digital rights management technology, and the target operating system cannot directly access the target copyright digital media. At this time, the target operating system needs to inform the media application that it cannot access the target copyright digital media, and request the media application to obtain the authorization key of the target copyright digital media.

[0110] Based on this, in order to enable the target operating system to play the target copyright digital media in the media application, the digital rights management device integrated in the media application drives the interaction between the media application and the target operating system to obtain the authorization key of the target copyright digital media. Specifically, the digital rights management device receives an encrypted notification message generated by the target operating system, and the encrypted notification message is used to indicate that the target copyright digital media is encrypted using the digital rights management technology. Then, the digital rights management device forwards the encrypted notification message obtained from the target operating system to the media application, so that the media application knows that the target operating system cannot play the target copyright digital media. After receiving the encrypted notification message sent by the digital rights management device, the media application generates an authorization request for the target copyright digital media according to the encrypted notification message, and sends the authorization request to the digital rights management device, and the authorization request is used to request that the target copyright digital media be authorized to the target operating system for playback; in this way, after receiving the authorization request, the digital rights management device can drive the operation of obtaining the authorization key of the target copyright digital media. After the digital rights management device receives the authorization request for the target copyright digital media sent by the media application, step S202 can be executed.

[0111] To facilitate understanding of the specific implementation process described above, Figure 3 The process of receiving the authorization request for the target copyright digital media sent by the media application by the digital rights management device when the target copyright digital media in the media application is requested to be played in the target operating system is introduced. Figure 3As shown, when the target copyright digital media in the media application is triggered by the user, the media application obtains the media information of the target copyright digital media from the content server according to the media identifier of the target copyright digital media, and the media information includes the digital address of the target copyright digital media. When the target copyright digital media in the media application is triggered by the user, the media application also requests the target operating system to play the target copyright digital media, and at this time the target operating system can perform an operation of generating an encrypted notification message; the operation specifically includes: the target operating system obtains the media address of the target copyright digital media from the media application, and obtains the play list of the target copyright digital media from the content server according to the media address, and the play list includes a first content attribute field. If the first content attribute field in the play list indicates that the target copyright digital media is encrypted using a digital rights management technology, the target operating system generates an encrypted notification message. Further, the target operating system sends an encrypted notification message to the media application through a digital rights management device, so that the media application returns an authorization request to the digital rights management device in response to the encrypted notification message, and the authorization request is used to request the digital rights management device to drive the target operating system to obtain the authorization key of the target copyright digital media (see step S202 for the specific implementation process).

[0112] S202: In response to the authorization request, drive the target operating system to generate a server playback context message.

[0113] After receiving the authorization request sent by the media application, the digital rights management device determines that the key acquisition operation needs to be performed. At this time, the digital rights management device will drive the target operating system to generate a server playback context message. Among them, the server playback context message is used to request the authorization key of the target copyright digital media from the content server; the server playback context message contains the media details required to play the target copyright digital media content, such as the media identifier of the target copyright digital media (such as content ID), playback position, etc. These media details are used to request the authorization key required to decrypt the target copyright digital media from the key server.

[0114] In order to ensure the security of the authorization key of the target copyright digital media, the key server that manages the authorization key needs to authenticate the object (the terminal device in the embodiment of the present application) requesting the authorization key; the key server will return the authorization key of the target copyright digital media only if the verified object is legal and has the key acquisition authority, thereby avoiding the leakage of the target copyright digital media caused by the malicious theft of the authorization key. The embodiment of the present application supports adding certificate data issued by the key server to the server playback context message to realize the identity authentication of the object requesting the authorization key.

[0115] Exemplarily, the exemplary process of the target operating system generating a server play context message based on the certificate data can be as follows: Figure 4 As shown, the process may include but is not limited to steps s11-s14; wherein:

[0116] s11: The target operating system obtains the certificate data of the target copyright digital media. The certificate data is issued by the key server for the target copyright digital media. By verifying the authenticity of the certificate data, the identity of the object holding the certificate data can be authenticated.

[0117] In order to improve the efficiency of obtaining certificate data, the embodiment of the present application supports pre-caching of certificate data by the digital rights management device. In this way, when the target operating system needs to obtain the certificate data of the target copyright digital media, the time spent on establishing a communication connection with the key server in order to obtain the certificate data according to the certificate address of the target copyright digital media can be reduced, thereby shortening the time to start playing the target copyright digital media and reducing the resource loss caused by the communication connection.

[0118] As described above, the digital rights management device includes a certificate manager and a copyright manager. The embodiment of the present application supports that after the media application obtains the media information of the target copyright digital media from the content server, if the media application determines that the target copyright digital media is encrypted using the digital rights management technology according to the second content attribute field in the media information, the media application starts the digital rights management device. When the digital rights management device is started, the certificate data of the target copyright digital media is asynchronously pulled. Among them, the process of asynchronously pulling the certificate data of the target copyright digital media includes: according to the certificate address of the target copyright digital media, querying whether the certificate data of the target copyright digital media exists in the certificate manager; if the certificate data of the digital media does not exist in the certificate manager, the certificate manager obtains the certificate data of the digital media from the key server according to the storage location pointed to by the certificate address of the digital media; and then associates the certificate data of the digital media with the certificate address and stores it in the certificate manager. Among them, the certificate manager uses a key-value pair (kv) to store the certificate address-certificate data of the copyright digital media.

[0119] s12: The target operating system obtains the play list of the target copyright digital media.

[0120] It should be noted that the specific implementation process of the target operating system obtaining the playlist of the target copyright digital media can be referred to the relevant description of the specific implementation process of the target operating system obtaining the playlist in the aforementioned step S201, which will not be repeated here. Among them, the playlist obtained by the target operating system includes, in addition to the first content attribute field mentioned above, media detail information that can be recognized by the target operating system and is related to the target copyright digital media. The media detail information may include but is not limited to: when the target copyright digital media is a video, the video length of the video, the storage address of each sub-media (such as a video clip) in the target copyright digital media, the video length of each sub-media, etc.

[0121] It should be noted that the embodiment of the present application does not limit the order in which the target operating system executes step s11 and step s12.

[0122] s13: The target operating system generates an initial context message based on the certificate data of the target copyright digital media and the media details information. The initial context message is used to request the key server to return the authorization key of the target copyright digital media.

[0123] s14: The target operating system packages the initial context message and the certificate data into a server play context message.

[0124] In steps s13-s14, the certificate data of the target copyright digital media not only participates in the generation of the initial context message, but also the certificate data and the initial context message are packaged into a data packet and sent directly to the key server. The key server can judge whether the identity of the computer device is legal based on the certificate data in the server playback context message, thereby effectively protecting the security of the authorization key of the target copyright digital media.

[0125] S203: Acquire the authorization key of the target copyright digital media from the key server based on the server playback context message.

[0126] In order to ensure the security of the authorization key of the target copyright digital media during transmission, the authorization key of the target copyright digital media is included in the content key context message for transmission.

[0127] In a specific implementation, after the digital rights management device obtains the server playback context message from the target operating system, it sends the server context message to the key server, so that the key server responds to the server playback context message and successfully authenticates the terminal device, and then obtains the authorization key of the target copyright digital media. In order to ensure the security of the authorization key of the target copyright digital media during transmission, the key server encrypts the authorization key of the target copyright digital media and obtains a content key context message (Content Key Context, CKC); the content key context message is an encrypted message that contains the authorization key of the target copyright digital media and is intended to safely return the authorization key of the target copyright digital media to the digital rights management device player. In this way, the digital rights management device receives the content key context message returned by the key server.

[0128] S204: Send the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyrighted digital media.

[0129] After the digital rights management device obtains the content key context message from the key server, it sends the content key context message to the protocol decryption service in the target operating system, namely the FPS service, so that the protocol decryption service decrypts the content key context message and obtains the authorization key of the target copyright digital media from the content key context message. Then, the protocol decryption service uses the authorization key of the target copyright digital media to decrypt the target copyright digital media and obtains the decrypted target copyright digital media. Furthermore, the decrypted target copyright digital media will be transmitted to the system player of the target operating system so that the system player can play the decrypted target copyright digital media safely and smoothly.

[0130] In summary, the digital rights management device provided in the embodiment of the present application is developed based on digital rights management technology, specifically based on FPS technology. Therefore, as long as the target operating system deployed on the computer device supports the FPS technology, specifically, a protocol decryption service (FPS service) compatible with the FPS technology is deployed, then the digital rights management devices in the media application support the decryption and playback of the target copyright digital media encrypted by the FPS technology in the target operating system, and can protect the digital copyright of the target copyright digital media. In particular, it can overcome the defect that the current VisionPro device does not support the playback of the target copyright digital media encrypted by the FPS technology, and can support the decryption and playback of the target copyright digital media in the AIV format encrypted by the FPS technology on the VisionPro device based on the digital rights management device.

[0131] See also Figure 5 , Figure 5is a flowchart of another processing method based on media application provided by an exemplary embodiment of the present application; the flowchart mainly provides a specific implementation process of obtaining the authorization key for the target copyright digital media from the perspective of the media application; that is, Figure 5 The method sequence shown applies to a media application. Figure 5 The method flow shown can be executed by the aforementioned computer device, where the computer device is the aforementioned Figure 1 The terminal device shown in the figure, namely, the VisionPro device, is used as an example for explanation. The processing method may include but is not limited to steps S501-S503:

[0132] S501: In response to a request to play a target copyright digital media in a media application in a target operating system, a media playing request is sent to the target operating system.

[0133] In a specific implementation, a media application can output one or more copyrighted digital media through the display screen of a computer device; a user can trigger an operation on the target copyrighted digital media that he wants to watch on the display screen according to his viewing needs. At this time, the media application determines that the user wants to watch the target copyrighted digital media and generates a media playback request, which is used to request the system player in the target operating system to play the target copyrighted digital media. After the target operating system receives the playback request sent by the media application, it can execute a series of operations such as obtaining the media address of the target copyrighted digital media, and sending a content attribute acquisition request to the content server corresponding to the media application according to the media address of the target copyrighted digital media to obtain the play list of the target copyrighted digital media. Among them, the series of operations performed by the target operating system after receiving the playback request sent by the media application can be referred to the aforementioned Figure 2 The description of the relevant contents shown in step S201 in the illustrated embodiment will not be repeated here.

[0134] In addition, when the target copyright digital media in the media application is requested to be played in the target operating system, the media application also needs to obtain the media identification of the copyright digital media, which is a mark (such as ID, number, etc.) used to uniquely identify the target copyright digital media. Then, the media application obtains the media information of the target copyright digital media from the content server corresponding to the media application based on the media identification of the target copyright digital media; the media information includes a second content attribute field of the target copyright digital media that can be recognized by the media application but cannot be recognized by the target operating system, and the second content attribute field is used by the media application to identify whether the target copyright digital media is encrypted using digital copyright management technology. When the second content attribute field indicates that the target copyright digital media is encrypted using digital copyright management technology, the media application starts the digital copyright management device. Among them, the relevant content of the management of certificate data by the digital copyright management device after startup can be found in the aforementioned Figure 2 The description of the relevant contents shown in step S201 in the illustrated embodiment will not be repeated here.

[0135] S502: When the encrypted notification message returned by the target operating system is received through the digital rights management device, an authorization request for the target copyright digital media is generated.

[0136] S503: Send the authorization request to the digital rights management device.

[0137] In steps S502-S503, as mentioned above, if the target operating system detects that the target copyright digital media is encrypted based on the digital rights management technology according to the first content attribute field in the playlist of the target copyright digital media, the target operating system will return an encrypted notification message to the media application through the digital rights management device. In this way, the media application can know that the target operating system does not have the authority to play the target copyright digital media after receiving the encrypted notification message, and the media application will generate an authorization request at this time. The media application sends the authorization request to the digital rights management device, so that the digital rights management device drives the target operating system to generate a server play context message in response to the authorization request; the server play context message is used to request the authorization key of the target copyright digital media from the key server. And, the digital rights management device obtains the authorization key of the target copyright digital media from the key server based on the server play context message; and, the digital rights management device sends the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media.

[0138] It should be noted that the specific implementation process of the above-mentioned digital rights management device driving the target operating system and the media application to jointly obtain the authorization key of the target copyright digital media after receiving the authorization request sent by the media application can be seen in the above Figure 2 The specific implementation process shown in steps S201-S204 in the illustrated embodiment will not be described in detail here.

[0139] In summary, by integrating a digital rights management device in a media application, the embodiment of the present application can ensure that the copyright digital media encrypted by the digital rights management technology in the media application can only be played through legal authorization and key decryption, thereby protecting the copyright of the copyright digital media in the media application and preventing the copyright digital media from being illegally copied and illegally disseminated. In addition, the embodiment of the present application does not limit the media format of the copyright digital media. In addition to supporting the decryption and playback of the target copyright digital media in the AIV format, it is also compatible with the decryption and playback of copyright digital media encrypted based on the FPS technology other than the AIV format; this can ensure that the media application can be compatible with the playback of copyright digital media in a large number of media formats, and improve the capacity of the copyright digital media of the media application. In addition, the embodiment of the present application expands the selectivity of the media application for the operating environment. In addition to supporting the operation of the media application on the VisionPro device based on the VisionOS system, it can also be extended to the operation of the media application on the iPhone device based on the IOS system, and the operation of the media application on the Mac device based on the MacOS system, so that the media application can be deployed in a variety of devices across platforms.

[0140] The foregoing Figure 2 The illustrated embodiment introduces the processing solution based on media applications provided by the embodiment of the present application from the perspective of a digital rights management device; Figure 5 The illustrated embodiment introduces the processing solution based on media applications provided by the embodiment of the present application from the perspective of media applications. Figure 6 The paper gives the interaction between the digital rights management device, media application, target operating system, content server and key server to realize the specific implementation process of the processing method based on media application; in which, the work scheduling of each module (i.e. media application, target operating system, content server and key server) in the whole implementation process is completed by direct or indirect driving of the digital rights management device. Figure 6 As shown, the specific implementation process may include but is not limited to steps S601-S615, wherein:

[0141] S601: The media application obtains media information according to the media identifier. Specifically, if any digital media in the media application is triggered to play by the user, the media application obtains the media identifier (such as ID) of the digital media, and requests to pull the media information of the digital media from the content server corresponding to the media application according to the media identifier.

[0142] S602: The content server returns media information. Specifically, when the content server receives the information acquisition request for the digital media from the media application, the content server can query the media information of the digital media from the database according to the media identifier of the digital media, and then return the media information to the media application.

[0143] S603: The media application determines whether the digital media is a copyrighted digital media encrypted using a digital rights management technology. Specifically, the media information pulled by the media application from the content server includes a first content attribute field, and the media application can identify the first content attribute field to detect whether the digital media is encrypted using a digital rights management technology.

[0144] S604. If yes, the media application starts the digital rights management device and performs certificate management. If the media application determines that any digital media is a copyright digital media encrypted using digital rights management technology, then at this time, any digital media can be called the target copyright digital media. As mentioned above, a digital rights management device is deployed in the media application; when the media application determines that the target copyright digital media is a copyright digital media encrypted using digital rights management technology based on the first content attribute field, the media application will start the digital rights management device integrated inside it. After starting, the digital rights management device will perform certificate management; the specific implementation process of the digital rights management device performing certificate management can refer to the relevant description of the relevant content shown in the aforementioned step s11, which will not be repeated here.

[0145] S605, the media application requests the target operating system to play the target copyright digital media. It is worth noting that the embodiment of the present application does not limit the execution order of step S605 and step S601. For example, when any target copyright digital media in the media application is triggered to play by the user, the media application can execute step S601 and step S605 at the same time. For another example, when any target copyright digital media in the media application is triggered to play by the user, the media application can first execute step S601 and then execute step S605. For another example, when any target copyright digital media in the media application is triggered to play by the user, the media application can first execute step S605 and then execute step S601. In this case, the target operating system needs to wait for the media application to obtain the media information from the content server before executing step S606.

[0146] S606, the target operating system obtains a playlist according to the media address. Specifically, when the target operating system receives a media play request from a media application requesting to play the target copyright digital media, it first obtains the media address of the target copyright digital media from the media application, and the media address is included in the media information. Then, based on the media address, the target operating system requests a playlist of the target copyright digital media from the content server. The playlist includes a second content attribute field and media detail information that can be recognized by the target operating system.

[0147] S607, the target operating system determines whether the target copyright digital media is a copyright digital media encrypted using digital copyright management technology. As mentioned above, the playlist of the target copyright digital media includes a second content attribute field, so the target operating system determines whether the target copyright digital media is a copyright digital media encrypted using digital copyright management technology according to the second content attribute field; if yes, execute step S608, if no, execute step S615.

[0148] S608: If yes, the target operating system sends the encrypted notification message to the digital rights management device. Specifically, if the target operating system determines that the target copyright digital media is encrypted using the digital rights management technology according to the second content attribute field, then the target operating system cannot play the encrypted target copyright digital media. At this time, the target operating system generates an encrypted notification message and sends the encrypted notification message to the digital rights management device.

[0149] S609, the digital rights management device drives the target operating system to generate a server play context message in response to the authorization request. Specifically, after receiving the encrypted notification message sent by the target operating system, the digital rights management device sends the encrypted notification message to the media application. If the media application determines to authorize the target operating system to play the encrypted target copyright digital media, the media application will generate an authorization request and send the authorization request to the digital rights management device, so that the digital rights management device drives the target operating system to generate a server play context message for requesting an authorization key for the target copyright digital media in response to the authorization request.

[0150] S610, the target operating system returns a server play context message. Specifically, the target operating system is driven by the digital rights management device, and after obtaining the certificate data and the information in the play list from the digital rights management device, generates a server play context message. It should be noted that the specific implementation process of the target operating system generating the server play context message can refer to the relevant description of the specific implementation process shown in the above steps s13 and s14, which will not be repeated here.

[0151] S611: The digital rights management device sends a server play context message to a key server.

[0152] S612, the key server returns a content key context message. Specifically, after receiving the server play context message sent by the digital rights management device, the key server decrypts the server play context message, queries the authorization key of the target copyright digital media, and encapsulates the authorization key into a content key context message, and then returns the content key context message to the digital rights management device.

[0153] S613: The digital rights management device sends the content key context message to the protocol decryption service. The protocol decryption service is deployed in the target operating system, and after receiving the content key context message, the protocol decryption service can use the authorization key in the content key context message to decrypt the target copyright digital media to obtain the decrypted target copyright digital media.

[0154] S614: The protocol decryption service sends the decrypted target copyright digital media to the system player for playback.

[0155] S615: If not, the unencrypted digital media is sent to the system player for playing. That is, if the target operating system detects that any digital media to be played is not a copyrighted digital media encrypted using digital rights management technology according to the playlist, it is determined that the target operating system has the authority to play the any digital media, and the any digital media can be directly sent to the system player for playing.

[0156] In summary, steps S601-S615 provide a complete flow of the processing method based on media applications provided by the embodiment of the present application from the dimension of interaction between multiple modules. It can be seen from this complete flow that, on the one hand, the digital rights management device is developed based on the digital rights management technology, so as long as the target operating system deployed on the terminal device supports the FPS technology, then the digital rights management device in the media application supports the decryption and playback of the target copyright digital media encrypted by the FPS technology in the target operating system, and can protect the digital copyright of the target copyright digital media. On the other hand, the processing solution based on media applications provided by the embodiment of the present application has ecosystem diversity. For example, the digital rights management device provided in the embodiment of the present application, in addition to supporting the decryption and playback of the target copyright digital media encrypted by FPS technology in the VisionPro device based on the VisionOS system, can also be extended to the iPhone device based on the IOS system to realize the decryption and playback of the target copyright digital media encrypted by FPS technology; and, extended to the Mac device based on the MacOS system to realize the decryption and playback of the target copyright digital media encrypted by FPS technology; and, extended to other devices deployed with other operating systems that support FPS technology and provide specific interfaces for the digital rights management device to call, to realize the decryption and playback of the target copyright digital media encrypted by FPS technology, so that the embodiment of the present application has excellent cross-platform characteristics (that is, the processing method based on media applications can be deployed to multiple types of devices). On the other hand, the processing solution based on media applications provided in the embodiment of the present application has media format diversity. For example, the digital rights management device provided in the embodiment of the present application, in addition to supporting the decryption and playback of the target copyright digital media in AIV format, is more compatible with the decryption and playback of the target copyright digital media encrypted based on FPS technology other than AIV format.

[0157] The above detailed description of the method of the embodiment of the present application, in order to facilitate the above-mentioned scheme of the embodiment of the present application, the device of the embodiment of the present application is provided below accordingly. In the embodiment of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that contains the function of the module or unit.

[0158] Figure 7 A schematic diagram of a structure of a processing device based on a media application provided by an exemplary embodiment of the present application is shown; the processing device based on the media application can be used to execute Figure 2 and Figure 6 Some or all of the steps in the method embodiment shown. Figure 7 The media application runs in the target operating system, and the target operating system accesses the copyrighted digital media in the media application through the digital rights management device. The device includes the following units:

[0159] The receiving unit 701 is configured to receive an authorization request for the target copyright digital media sent by the media application when the target copyright digital media in the media application is requested to be played in the target operating system;

[0160] The processing unit 702 is used to drive the target operating system to generate a server play context message in response to the authorization request; the server play context message is used to request the authorization key of the target copyright digital media from the key server;

[0161] The processing unit 702 is further configured to obtain an authorization key of the target copyright digital media from the key server based on the server playback context message;

[0162] The processing unit 702 is further configured to send the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyrighted digital media.

[0163] In one implementation, the authorization key of the target copyright digital media is carried in the content key context message; the processing unit 702 is used to obtain the authorization key of the target copyright digital media from the key server based on the server playback context message, specifically for:

[0164] Sending the server play context message to the key server, so that the key server obtains the authorization key of the target copyright digital media in response to the server play context message, and the key server encrypts the authorization key of the target copyright digital media to obtain a content key context message;

[0165] Receive the content key context message returned by the key server.

[0166] In one implementation, the target copyright digital media is encrypted using a digital rights management technology, and a protocol decryption service compatible with the digital rights management technology is deployed in the target operating system; the processing unit 702 is used to send the authorization key to the target operating system so that the target operating system uses the authorization key to access and play the target copyright digital media, specifically for:

[0167] The content key context message is sent to the protocol decryption service in the target operating system, so that the protocol decryption service decrypts the content key context message and obtains the authorization key of the target copyright digital media from the decrypted content key context message; and after the protocol decryption service uses the authorization key to decrypt the target copyright digital media, the decrypted target copyright digital media is sent to the system player for playback.

[0168] In one implementation, the processing unit 702 is further configured to:

[0169] receiving an encrypted notification message sent by a target operating system, the encrypted notification message being used to indicate that the target copyright digital media is encrypted using a digital rights management technology; the target operating system is an operating system that supports the digital rights management technology, and the digital rights management device is developed based on the digital rights management technology;

[0170] The encrypted notification message is forwarded to the media application, so that the media application generates an authorization request for the target copyright digital media according to the encrypted notification message, and sends the authorization request to the digital rights management device.

[0171] In one implementation, the process of generating an encrypted notification message by the target operating system includes:

[0172] The target operating system obtains the media address of the target copyright digital media;

[0173] The target operating system obtains a play list of the target copyright digital media from a content server corresponding to the media application according to the media address; the play list includes a first content attribute field;

[0174] When the first content attribute field indicates that the target copyright digital media is encrypted using a digital rights management technology, the target operating system generates an encryption notification message.

[0175] In one implementation, the target operating system obtains the media address of the target copyright digital media, including:

[0176] The target operating system obtains the media address of the target copyright digital media from the media application;

[0177] Among them, when the target copyright digital media in the media application is requested to be played in the target operating system, the media application obtains the media information of the target copyright digital media from the content server according to the media identifier of the target copyright digital media; the media information includes at least one of the following: the media address of the target copyright digital media, the certificate address of the target copyright digital media and the second content attribute field of the target copyright digital media; the second content attribute field is used by the media application to identify whether the target copyright digital media is encrypted using digital rights management technology.

[0178] In one implementation, the digital rights management device includes a digital rights management plug-in or a digital rights management program; the digital rights management device is integrated in the media application;

[0179] The digital rights management device includes a certificate manager, which is used to cache the certificate address and certificate data of the target copyright digital media accessed in the media application, and the certificate address points to the storage location of the certificate data.

[0180] In one implementation, when the second content attribute field of the target copyright digital media indicates that the target copyright digital media is encrypted using a digital rights management technology, the media application starts a digital rights management device; the processing unit 702 is further configured to:

[0181] According to the certificate address of the target copyright digital media, query in the certificate manager whether there is certificate data of the target copyright digital media;

[0182] If the certificate data of the target copyright digital media does not exist in the certificate manager, the certificate data of the target copyright digital media is obtained from the key server according to the storage location pointed to by the certificate address of the target copyright digital media;

[0183] The certificate data and the certificate address of the target copyright digital media are associated and stored in the certificate manager.

[0184] In one implementation, the process of generating a server playback context message by the target operating system includes:

[0185] Acquire the certificate data of the target copyright digital media from the certificate manager; the certificate data is issued by the key server for the target copyright digital media; and,

[0186] Acquire a playlist of the target copyright digital media, where the playlist includes media details that can be identified by the target operating system and are related to the target copyright digital media;

[0187] generating an initial context message based on the certificate data and the media details information;

[0188] The initial context message and the certificate data are packaged to generate a server play context message.

[0189] According to one embodiment of the present application, Figure 7The various units in the processing device based on media applications shown can be individually or completely combined into one or several other units to form, or one (some) of the units can be further divided into multiple functionally smaller units to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the image processing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units and can be implemented by the collaboration of multiple units. According to another embodiment of the present application, it can be executed by running on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access memory (RAM), and a read-only memory (ROM). Figure 2 and Figure 6 A computer program for each step of the corresponding method shown in FIG. Figure 7 The processing device based on media application shown in and the processing method based on media application of the embodiment of the present application are implemented. The computer program can be recorded on, for example, a computer readable recording medium, and loaded into the above-mentioned computing device through the computer readable recording medium and run therein.

[0190] In an embodiment of the present application, a self-developed digital rights management device is provided; in this way, the target operating system can securely access the copyright digital media in the media application running in the target operating system through the digital rights management device. Specifically, the digital rights management device can drive the target operating system and the media application to perform key acquisition and decryption functions for the copyright digital media, thereby realizing the safe playback of the copyright digital media with digital copyright in the media application in the target operating system. Among them, the process in which the digital rights management device drives the target operating system and the media application to perform key acquisition and decryption functions for the copyright digital media may include: when the target copyright digital media in the media application is requested to be played in the target operating system (such as the target copyright digital media protected by copyright in the media application is triggered to play by the user, and the media application requests to play the target copyright digital media in the target operating system), the media application will send the digital rights management device to send an authorization request for the target copyright digital media. When the digital rights management device receives the authorization request for the target copyright digital media sent by the media application, in response to the authorization request, it drives the target operating system to generate a server playback context message, and the server playback context message is used to request the authorization key of the target copyright digital media from the key server. At this time, after the digital rights management device obtains the server playback context message from the target operating system, it obtains the authorization key of the target copyright digital media from the key server, and sends the authorization key to the target operation, so that the target operating system can use the authorization key to access and play the target copyright digital media. It can be seen that, on the one hand, the embodiment of the present application provides a digital rights management device that can well drive the target operating system and the media application to obtain the key of the copyright digital media and decrypt it, thereby overcoming the defect that the copyright digital media with digital copyright in the media application cannot be played on the target operating system, and improving the safe playback and smooth playback of the copyright digital media in the media application. On the other hand, it can be seen from the process of the digital rights management device implementing the key acquisition and decryption function described above that the process does not involve the media format of the target copyright digital media, and has excellent compatibility, specifically, it can be compatible with the key acquisition and decryption of copyright digital media in various media formats in the media application, and realize the safe playback of copyright digital media in various media formats in the media application. On the other hand, the digital rights management device has a strong adaptability, can drive the target operating system and various operating systems in the same ecosystem as the target operating system, has a wider range of applications, and exhibits excellent cross-platform characteristics.

[0191] Figure 8 A schematic diagram of a structure of a processing device based on a media application provided by an exemplary embodiment of the present application is shown; the processing device based on the media application can be used to execute Figure 5 and Figure 6Some or all of the steps in the method embodiment shown. Figure 8 The media application runs in the target operating system, and the target operating system accesses the copyrighted digital media in the media application through the digital rights management device. The device includes the following units:

[0192] The sending unit 801 is used to send a media play request to the target operating system in response to the target copyright digital media in the media application being requested to be played in the target operating system; the media play request is used to request the system player in the target operating system to play the target copyright digital media;

[0193] The processing unit 802 is used to generate an authorization request for the target copyright digital media when receiving an encrypted notification message returned by the target operating system through the digital rights management device; the encrypted notification message is used to indicate that the target copyright digital media is encrypted using the digital rights management technology;

[0194] The processing unit 802 is further used to send an authorization request to the digital rights management device, so that the digital rights management device drives the target operating system to generate a server playback context message in response to the authorization request; the server playback context message is used to request the authorization key of the target copyright digital media from the key server; and, the digital rights management device obtains the authorization key of the target copyright digital media from the key server based on the server playback context message; and, the digital rights management device sends the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media.

[0195] In one implementation, the digital rights management device is integrated into the media application; the processing unit 802 is further configured to:

[0196] Obtaining the media identification of the target copyright digital media;

[0197] According to the media identifier of the target copyright digital media, the media information of the target copyright digital media is obtained from the content server corresponding to the media application; the media information includes at least one of the following: the media address of the target copyright digital media, the certificate address of the target copyright digital media, and the second content attribute field of the target copyright digital media; the second content attribute field is used by the media application to identify whether the target copyright digital media is encrypted using the digital rights management technology;

[0198] When the second content attribute field indicates that the target copyright digital medium is encrypted using a digital rights management technology, the digital rights management device is activated.

[0199] According to one embodiment of the present application, Figure 8The various units in the processing device based on media applications shown can be individually or completely combined into one or several other units to form, or one (some) of the units can be further divided into multiple functionally smaller units to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the image processing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units and can be implemented by the collaboration of multiple units. According to another embodiment of the present application, it can be executed by running on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access memory (RAM), and a read-only memory (ROM). Figure 5 and Figure 6 A computer program for each step of the corresponding method shown in FIG. Figure 8 The processing device based on media application shown in and the processing method based on media application of the embodiment of the present application are implemented. The computer program can be recorded on, for example, a computer readable recording medium, and loaded into the above-mentioned computing device through the computer readable recording medium and run therein.

[0200] Fig. 9 FIG. 1 shows a schematic diagram of a computer device provided by an exemplary embodiment of the present application. Fig. 9 , the computer device includes a processor 901, a communication interface 902 and a computer-readable storage medium 903. The processor 901, the communication interface 902 and the computer-readable storage medium 903 may be connected via a bus or other means. The communication interface 902 is used to receive and send data. The computer-readable storage medium 903 may be stored in the memory of the computer device, the computer-readable storage medium 903 is used to store computer programs, and the processor 901 is used to execute the computer programs stored in the computer-readable storage medium 903. The processor 901 (or CPU) is the computing core and control core of the computer device, which is suitable for implementing one or more computer programs, and is specifically suitable for loading and executing one or more computer programs to implement corresponding method flows or corresponding functions.

[0201] The embodiment of the present application also provides a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space that stores the processing system of the computer device. In addition, one or more computer programs suitable for being loaded and executed by the processor 901 are also stored in the storage space, and these computer programs can be one or more computer programs. It should be noted that the computer-readable storage medium here can be a high-speed RAM memory, or a non-volatile memory, such as at least one disk storage; optionally, it can also be at least one computer-readable storage medium located away from the aforementioned processor.

[0202] In one embodiment, the computer device may be the terminal or server mentioned in the aforementioned embodiment; one or more computer programs are stored in the computer-readable storage medium; the processor 901 loads and executes the one or more computer programs stored in the computer-readable storage medium to implement the corresponding steps in the above-mentioned media application-based processing method embodiment; in a specific implementation, the one or more computer programs in the computer-readable storage medium are loaded and executed by the processor 901 to execute the steps of each embodiment of the present application; wherein, the steps of each embodiment of the present application can refer to the relevant description of the aforementioned embodiments, and will not be repeated here.

[0203] Based on the same inventive concept, the principles and beneficial effects of solving the problems by the computer device provided in the embodiment of the present application are similar to the principles and beneficial effects of solving the problems by the processing method based on media applications in the method embodiment of the present application. Please refer to the principles and beneficial effects of the implementation of the method. For the sake of concise description, they will not be repeated here.

[0204] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned processing method based on media application is implemented.

[0205] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0206] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs (one or more). When the computer program is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transmitted through a computer-readable storage medium. The computer program can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media integrated. Available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, digital video disks (DVDs)), or semiconductor media (eg, solid state disks (SSDs)).

[0207] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A processing method based on media application, characterized in that: The media application runs in a target operating system, and the target operating system accesses the copyrighted digital media in the media application through a digital rights management device. The method includes: When the target copyright digital media in the media application is requested to be played in the target operating system, receiving an authorization request for the target copyright digital media sent by the media application; the authorization request is generated by the media application in response to an encrypted notification message generated by the target operating system, and the encrypted notification message is used to indicate that the target copyright digital media is encrypted using a digital rights management technology; the triggering condition for the target operating system to generate the encrypted notification message is: the target operating system obtains the media address of the target copyright digital media from the media application, and the target operating system obtains the play list of the target copyright digital media from the content server corresponding to the media application according to the media address, and if the first content attribute field in the play list indicates that the target copyright digital media is encrypted using the digital rights management technology, then the target operating system generates the encrypted notification message and forwards the encrypted notification message to the media application through the digital rights management device; In response to the authorization request, driving the target operating system to generate a server play context message; the server play context message is used to request an authorization key for the target copyright digital media from a key server; Acquire the authorization key of the target copyrighted digital media from the key server based on the server playback context message; The authorization key is sent to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media.

2. The method according to claim 1, characterized in that The authorization key of the target copyright digital media is carried in the content key context message; The obtaining the authorization key of the target copyright digital media from the key server based on the server playback context message includes: Sending the server play context message to the key server, so that the key server obtains the authorization key of the target copyright digital media in response to the server play context message, and the key server encrypts the authorization key of the target copyright digital media to obtain the content key context message; Receive the content key context message returned by the key server.

3. The method according to claim 2, characterized in that The target copyright digital media is encrypted using a digital copyright management technology, and a protocol decryption service compatible with the digital copyright management technology is deployed in the target operating system; The step of sending the authorization key to the target operating system so that the target operating system uses the authorization key to access and play the target copyrighted digital media includes: The content key context message is sent to the protocol decryption service in the target operating system, so that the protocol decryption service decrypts the content key context message and obtains the authorization key of the target copyrighted digital media from the decrypted content key context message; and after the protocol decryption service uses the authorization key to decrypt the target copyrighted digital media, the decrypted target copyrighted digital media is sent to the system player for playback.

4. The method according to claim 1, characterized in that Before receiving the authorization request for the target copyrighted digital media sent by the media application, the method further includes: receiving an encrypted notification message sent by the target operating system, the encrypted notification message being used to indicate that the target copyright digital media is encrypted using a digital rights management technology; the target operating system is an operating system that supports the digital rights management technology, and the digital rights management device is developed based on the digital rights management technology; The encrypted notification message is forwarded to the media application, so that the media application generates an authorization request for the target copyright digital media according to the encrypted notification message, and sends the authorization request to the digital rights management device.

5. The method according to claim 4, characterized in that The process of the target operating system generating the encrypted notification message includes: The target operating system obtains the media address of the target copyright digital media; The target operating system obtains a play list of the target copyright digital media from a content server corresponding to the media application according to the media address; the play list includes a first content attribute field; When the first content attribute field indicates that the target copyright digital media is encrypted using the digital rights management technology, the target operating system generates the encryption notification message.

6. The method according to claim 5, characterized in that The target operating system obtains the media address of the target copyright digital media, including: The target operating system obtains the media address of the target copyright digital media from the media application; Among them, when the target copyright digital media in the media application is requested to be played in the target operating system, the media application obtains the media information of the target copyright digital media from the content server according to the media identifier of the target copyright digital media; the media information includes at least one of the following: the media address of the target copyright digital media, the certificate address of the target copyright digital media and the second content attribute field of the target copyright digital media; the second content attribute field is used by the media application to identify whether the target copyright digital media is encrypted using the digital rights management technology.

7. The method according to any one of claims 1 to 6, characterized in that: The digital rights management device includes a digital rights management plug-in or a digital rights management program; the digital rights management device is integrated into the media application; The digital rights management device includes a certificate manager, which is used to cache the certificate address and certificate data of the target copyright digital media accessed by the media application, and the certificate address points to the storage location of the certificate data.

8. The method according to claim 7, characterized in that When the second content attribute field of the target copyright digital media indicates that the target copyright digital media is encrypted using a digital rights management technology, the media application activates the digital rights management device; The method further comprises: According to the certificate address of the target copyright digital media, querying in the certificate manager whether the certificate data of the target copyright digital media exists; If the certificate data of the target copyright digital medium does not exist in the certificate manager, acquiring the certificate data of the target copyright digital medium from the key server according to the storage location pointed to by the certificate address of the target copyright digital medium; The certificate data of the target copyright digital medium and the certificate address are associated and stored in the certificate manager.

9. The method according to claim 7, characterized in that The process of the target operating system generating the server playback context message includes: Acquire the certificate data of the target copyright digital medium from the certificate manager; the certificate data is issued by the key server for the target copyright digital medium; and, Acquire a playlist of the target copyrighted digital media, wherein the playlist includes media detail information that can be identified by the target operating system and is related to the target copyrighted digital media; generating an initial context message based on the certificate data and the media detail information; The initial context message and the certificate data are packaged to generate the server playback context message.

10. A processing method based on media application, characterized in that: The media application runs in a target operating system, and the target operating system accesses the copyrighted digital media in the media application through a digital rights management device. The method includes: In response to a request for playing the target copyright digital media in the media application in the target operating system, sending a media play request to the target operating system; the media play request is used to request a system player in the target operating system to play the target copyright digital media; When the encrypted notification message returned by the target operating system is received through the digital rights management device, an authorization request for the target copyright digital media is generated; the encrypted notification message is used to indicate that the target copyright digital media is encrypted using the digital rights management technology; the triggering condition for the target operating system to generate the encrypted notification message is: the target operating system obtains the media address of the target copyright digital media from the media application, the target operating system obtains the play list of the target copyright digital media from the content server corresponding to the media application according to the media address, and if the first content attribute field in the play list indicates that the target copyright digital media is encrypted using the digital rights management technology, then the target operating system generates the encrypted notification message; The authorization request is sent to the digital rights management device, so that the digital rights management device drives the target operating system to generate a server playback context message in response to the authorization request; the server playback context message is used to request the authorization key of the target copyright digital media from the key server; and the digital rights management device obtains the authorization key of the target copyright digital media from the key server based on the server playback context message; and the digital rights management device sends the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media.

11. The method according to claim 10, characterized in that The digital rights management device is integrated into the media application; the method further comprises: Obtaining a media identifier of the target copyrighted digital media; According to the media identifier of the target copyright digital media, the media information of the target copyright digital media is obtained from the content server corresponding to the media application; the media information includes at least one of the following: the media address of the target copyright digital media, the certificate address of the target copyright digital media, and the second content attribute field of the target copyright digital media; the second content attribute field is used by the media application to identify whether the target copyright digital media is encrypted using the digital rights management technology; When the second content attribute field indicates that the target copyright digital media is encrypted using the digital rights management technology, the digital rights management device is activated.

12. A processing device based on media application, characterized in that: The media application runs in a target operating system, and the target operating system accesses the copyrighted digital media in the media application through a digital rights management device; The media application-based processing device includes: A receiving unit, configured to receive an authorization request for the target copyright digital media sent by the media application when the target copyright digital media in the media application is requested to be played in the target operating system; the authorization request is generated by the media application in response to an encrypted notification message generated by the target operating system, the encrypted notification message being used to indicate that the target copyright digital media is encrypted using a digital rights management technology; a triggering condition for the target operating system to generate the encrypted notification message is: the target operating system obtains a media address of the target copyright digital media from the media application, the target operating system obtains a playlist of the target copyright digital media from a content server corresponding to the media application according to the media address, and if a first content attribute field in the playlist indicates that the target copyright digital media is encrypted using the digital rights management technology, the target operating system generates the encrypted notification message and forwards the encrypted notification message to the media application through the digital rights management device; A processing unit, configured to drive the target operating system to generate a server play context message in response to the authorization request; the server play context message is used to request an authorization key of the target copyright digital media from a key server; The processing unit is further configured to obtain the authorization key of the target copyright digital media from the key server based on the server playback context message; The processing unit is further configured to send the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyrighted digital media.

13. A processing device based on media application, characterized in that: The media application runs in a target operating system, and the target operating system accesses the copyrighted digital media in the media application through a digital rights management device; The media application-based processing device includes: A sending unit, configured to send a media play request to the target operating system in response to a request for the target copyright digital media in the media application to be played in the target operating system; the media play request is used to request a system player in the target operating system to play the target copyright digital media; a processing unit, configured to generate an authorization request for the target copyright digital media when receiving an encrypted notification message returned by the target operating system through the digital rights management device; the encrypted notification message is used to indicate that the target copyright digital media is encrypted using the digital rights management technology; a trigger condition for the target operating system to generate the encrypted notification message is: the target operating system obtains the media address of the target copyright digital media from the media application, the target operating system obtains the play list of the target copyright digital media from the content server corresponding to the media application according to the media address, and if the first content attribute field in the play list indicates that the target copyright digital media is encrypted using the digital rights management technology, then the target operating system generates the encrypted notification message; The processing unit is further used to send the authorization request to the digital rights management device, so that the digital rights management device drives the target operating system to generate a server playback context message in response to the authorization request; the server playback context message is used to request the authorization key of the target copyright digital media from the key server; and, the digital rights management device obtains the authorization key of the target copyright digital media from the key server based on the server playback context message; and, the digital rights management device sends the authorization key to the target operating system, so that the target operating system uses the authorization key to access and play the target copyright digital media.

14. A computer device, characterized in that: a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the processing method based on the media application as described in any one of claims 1 to 9 is implemented, or the processing method based on the media application as described in any one of claims 10 to 11 is implemented.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is suitable for being loaded by a processor and executing the processing method based on media applications as described in any one of claims 1-9, or implementing the processing method based on media applications as described in any one of claims 10-11.

16. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the processing method based on media applications as described in any one of claims 1-9, or implements the processing method based on media applications as described in any one of claims 10-11.

Citation Information

Patent Citations

  • Media file playing method and device and storage medium

    CN112804563A

  • Multimedia file playing processing method and device, electronic equipment and storage medium

    CN116137663A