Media resource acquisition method and related device, readable storage medium and program product

Through device permission checksum signature technology, secure storage and flexible circulation of media resources are achieved, and the problems of limited storage capacity and inconvenient circulation in the existing technology are solved, and the storage efficiency and circulation flexibility of copyrighted media files are improved.

CN119066646APending Publication Date: 2024-12-03TENCENT MUSIC ENTERTAINMENT TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411143746.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The prior art is difficult to take into account the storage efficiency and circulation flexibility of media resources, especially the storage and transmission of media resources with copyright attributes have problems such as capacity limitation and inconvenience in circulation during storage and transmission.

Method used

By obtaining device permission verification information, using device key signature and random numbers to generate verification data, verifying the access rights of the resource loading device, and transmitting permission verification information through ultrasonic signals, the secure storage and flexible flow of media resources can be achieved.

Benefits of technology

It solves the problems of limited capacity and easy corruption of physical storage media, improves the storage efficiency and circulation flexibility of copyrighted media files, and ensures the security and convenience of access rights.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119066646A_ABST
    Figure CN119066646A_ABST
Patent Text Reader

Abstract

The invention relates to a media resource acquisition method, a media resource distribution system, computer equipment, a computer readable storage medium and a computer program product, relates to the field of computer processing, and can give consideration to the storage efficiency and circulation flexibility of media resources. The method comprises the following steps: acquiring equipment permission verification information corresponding to permission providing equipment; sending the equipment permission verification information to resource loading equipment, and sending permission verification data carrying the equipment permission verification information and a resource identifier of a media resource to be acquired to a media resource providing end through the resource loading equipment; wherein the authority verification data is used for triggering the media resource providing end to provide the media resource for the resource loading equipment when the media resource providing end determines that the resource loading equipment has the access authority for the media resource based on the equipment authority verification information and the resource identifier.
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, and in particular to a media resource acquisition method, a media resource distribution system, a computer device, a computer-readable storage medium, and a computer program product. Background Art

[0002] With the development of technology, users can obtain media resources with copyright attributes in different ways. In one way, media resources can be distributed through physical objects as physical storage media, such as CDs, DVDs, vinyl records, etc. Alternatively, media resources in data form can be obtained directly from the Internet through online download.

[0003] However, in the above methods, the former is limited by the storage capacity of the physical storage medium, the number of stored media resources is limited, and as the information density in the storage medium increases, the possibility of errors will also increase. Although the latter can easily obtain various media resources with copyright attributes, the acquired media resources are generally bound to the user account. Once the user downloads the media resources, it is often difficult to transfer them between different users. It can be seen that for media resources with copyright attributes, the relevant technology is difficult to take into account both the storage efficiency and the circulation flexibility of media resources. Summary of the invention

[0004] Based on this, it is necessary to provide a media resource acquisition method, a media resource distribution system, a computer device, a computer-readable storage medium and a computer program product that can take into account both the storage efficiency and the flow flexibility of media resources in order to address the above technical problems.

[0005] In a first aspect, the present application provides a method for acquiring media resources, comprising:

[0006] Get the device permission verification information corresponding to the permission-providing device;

[0007] Sending the device permission verification information to a resource loading device, and sending permission verification data carrying the device permission verification information and a resource identifier of the media resource to be acquired to a media resource provider through the resource loading device;

[0008] The permission verification data is used to trigger the media resource provider to provide the media resource to the resource loading device when it is determined that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier.

[0009] In one embodiment, obtaining device permission verification information corresponding to the permission providing device includes:

[0010] Determine a resource identifier corresponding to the media resource to be obtained;

[0011] Using a device key corresponding to the permission providing device, signing the device identification of the permission providing device, the resource identification and the random number to obtain first signature data;

[0012] Obtaining device authority verification information including the first signature data, the device identification and the random number;

[0013] Among them, the permission verification data is also used to trigger the media resource provider to sign the device identifier, the resource identifier and the random number according to the pre-stored device key of the permission providing device to obtain second signature data, and when the second signature data matches the first signature data and the device identifier is associated with the authorized access record of the media resource, it is determined that the resource loading device has access rights to the media resource.

[0014] In one embodiment, sending the device permission verification information to the resource loading device includes:

[0015] Performing signal modulation on the device authority verification information to obtain an ultrasonic signal;

[0016] The ultrasonic signal is played by the permission providing device so that the sound receiving module of the resource loading device receives the ultrasonic signal, and the device permission verification information is obtained according to the demodulation processing result of the ultrasonic signal.

[0017] In a second aspect, the present application further provides a media resource acquisition method, which is applied to a resource loading device, and the method includes:

[0018] In response to a triggering event of acquiring a media resource, receiving device permission verification information corresponding to the permission providing device and sent by the permission providing device;

[0019] Send permission verification data carrying the device permission verification information and the resource identifier of the media resource to be obtained to the media resource provider, and obtain the media resource provided by the media resource provider; the resource identifier is an identifier corresponding to the media resource to be obtained, and the permission verification data is used to trigger the media resource provider to provide the media resource to the resource loading device when it is determined that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier.

[0020] In one embodiment, the receiving device permission verification information corresponding to the permission providing device sent by the permission providing device includes:

[0021] The ultrasonic signal played by the permission providing device is received through the sound receiving module; the ultrasonic signal is obtained by the permission providing device after signal modulation of the device permission verification information corresponding to the permission providing device;

[0022] The device authority verification information is obtained according to the demodulation processing result of the ultrasonic signal.

[0023] In one embodiment, the media resource provider includes a permission verification service and a resource provision service; after the step of sending permission verification data carrying the device permission verification information and the resource identifier of the media resource to be obtained to the media resource provider and before obtaining the media resource provided by the media resource provider, the method further includes:

[0024] receiving access authorization information returned by the permission verification service; the access authorization information is returned by the permission verification service after determining, based on the permission verification data, that the resource loading device has access rights to the media resource;

[0025] A media resource acquisition request carrying the access authorization information is sent to the resource providing service; wherein the media resource acquisition request is used to trigger the resource providing service to send the media resource to the resource loading device when it is determined that the resource loading device has obtained access rights to the media resource based on the access authorization information verification.

[0026] In a third aspect, the present application further provides a method for acquiring media resources, the method comprising:

[0027] Receive permission verification data sent by a resource loading device; the permission verification data carries device permission verification information and a resource identifier corresponding to the media resource to be acquired, and the device permission verification information is provided to the resource loading device by a permission providing device;

[0028] Verifying access rights of the resource loading device to the media resource based on the device permission verification information and the resource identifier;

[0029] When it is determined that the resource loading device has the access permission, the media resource is provided to the resource loading device.

[0030] In one of the embodiments, the device authority verification information includes the first signature data, the device identification of the authority providing device and a random number;

[0031] The verifying the access rights of the permission providing device to the media resource based on the device permission verification information and the resource identifier includes:

[0032] According to the device identification, querying a pre-stored device key corresponding to the permission providing device;

[0033] Signing the device identifier, the resource identifier and the random number using the pre-stored device key to obtain second signature data;

[0034] When the second signature data matches the first signature data and the device identifier is found to be associated with an authorized access record of the media resource corresponding to the resource identifier, it is determined that the resource loading device has access rights to the media resource.

[0035] In a fourth aspect, the present application further provides a media resource distribution system, the system comprising:

[0036] The permission providing device is used to send device permission verification information to the resource loading device;

[0037] The resource loading device is used to send the permission verification data carrying the device permission verification information and the resource identifier to the media resource provider;

[0038] The media resource provider is used to provide the media resource to the resource loading device when it is determined that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier in the permission verification data.

[0039] In a fifth aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements any of the above-mentioned media resource acquisition methods when executing the computer program.

[0040] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the above-mentioned media resource acquisition methods.

[0041] In a seventh aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned media resource acquisition methods.

[0042] In the above-mentioned media resource acquisition method, device, computer equipment, computer-readable storage medium and computer program product, the permission providing device can obtain the device permission verification information corresponding to the permission providing device, send the device permission verification information to the resource loading device, and send the permission verification data carrying the device permission verification information and the resource identification of the media resource to be obtained to the media resource providing end through the resource loading device, wherein the permission verification data can trigger the media resource providing end to provide the media resource to the resource loading device when it is determined that the resource loading device has the access rights to the media resource based on the device permission verification information and the resource identification. In this embodiment, on the one hand, by storing the media resources on the network, the problem of limited storage capacity of physical objects is solved; on the other hand, by obtaining the device permission verification information from the permission providing device, using the device permission information to obtain the access authorization information for the media resource, and then obtaining the media resource from the media resource providing end based on the access authorization information, it can detect whether any resource loading device has the right to access the media resource in the absence of a physical storage medium, thereby improving the flexibility of different resource loading devices to access media files with copyright attributes, thereby improving the circulation flexibility of copyright media files. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions 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 related drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 is a schematic diagram of a media resource distribution system in one embodiment;

[0045] Figure 2 A schematic diagram of a process of obtaining a media resource in an embodiment;

[0046] Figure 3 A flowchart of steps for access rights authentication in an embodiment;

[0047] Figure 4 A schematic diagram of a flow chart of a step of acquiring an ultrasonic signal in an embodiment;

[0048] Figure 5 is a flow chart of another method for acquiring media resources in one embodiment;

[0049] Figure 6 A schematic flow chart of a step of demodulating an ultrasonic signal for authentication in one embodiment;

[0050] Figure 7 A schematic diagram of a flow chart of a step of sending media resources in an embodiment;

[0051] Figure 8 is a flow chart of another method for acquiring media resources in one embodiment;

[0052] Fig. 9 is a schematic diagram of another media resource distribution system in one embodiment;

[0053] Fig.10 is an internal structure diagram of a computer device in one embodiment;

[0054] Fig.11 The figure is a diagram of the internal structure of another computer device in one embodiment. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] In an exemplary embodiment, the media resource acquisition method provided in the embodiment of the present application can be applied to Figure 1 In the media resource distribution system shown, the media resource distribution system includes a permission providing device 101 , a resource loading device 102 , and a media resource providing terminal 103 .

[0057] Among them, the permission providing device can communicate with the resource loading device via wired or wireless means; the media resource providing end may include a permission verification service and a resource providing service, and the resource loading device may communicate with the permission verification service and the resource providing service via a network; in some examples, when the resource providing service is used to provide media files, it may also be called a file service, and the resource providing service may communicate with the permission verification service via a network, and the permission verification service and the resource providing service may have corresponding data storage systems, and the data storage system of the permission verification service may store data used for permission verification, such as the device identification of the permission providing device and related data corresponding to the device identification, and the data storage system of the resource providing service may store resource data of various media resources, so that the resource data of the specified media resource may be issued upon receiving a request from the requesting party.

[0058] In this embodiment, the permission providing device can obtain the device permission verification information corresponding to the current permission providing device, send the device permission verification information to the resource loading device, and then send the permission verification data carrying the device permission verification information and the resource identifier of the media resource to be obtained to the media resource providing end through the resource loading device. After receiving the permission verification data, if the media resource providing end determines that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier, it can provide the media resource to the resource loading device.

[0059] Among them, resource loading devices can be, but are not limited to, various personal computers, laptops, smart phones, tablets, multimedia players, game consoles, IoT devices and portable wearable devices; IoT devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc.; portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc.; head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The media resource provider, permission verification service and resource provision service can be implemented through an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0060] In an exemplary embodiment, Figure 2 As shown, a method for obtaining media resources is provided, and the method is applied to Figure 1 Taking the permission providing device in the example as an example, the method includes the following steps S201 to S202. Among them:

[0061] S201, obtaining device permission verification information corresponding to the permission providing device.

[0062] Specifically, the permission providing device can be used to provide device permission verification information. When other devices except the permission providing device try to access media resources with access permission restrictions (such as those with copyright attributes), the device permission verification information provided by the permission providing device can be used to verify whether the device has the permission to access the media resource. It can be understood that the permission providing device in this application can only provide information for verifying identity without storing specific media resources. Exemplarily, the media resources requested by the resource loading device can include at least one of the following: music, video, picture, client installation package, game installation package.

[0063] In some optional embodiments, after detecting a trigger event for acquiring a media resource, the resource loading device may send an access permission acquisition request to the permission providing device, so as to obtain access permissions for the specified target media resource through the information provided by the permission providing device. In other embodiments, the user may also perform a preset trigger operation on the permission providing device to trigger the acquisition of device permission verification information.

[0064] In response to a received access permission acquisition request or in response to a trigger operation performed by a user, the permission providing device may obtain device permission verification information corresponding to the current permission providing device, wherein the device permission verification information may be information used to verify the device identity and uniquely corresponding to the permission providing device. In some embodiments, the device permission verification information may include a device identification of the permission providing device.

[0065] In some embodiments, in order to improve the security of the access permission verification process, the device permission verification information can also be information obtained by encrypting the device identification according to the encryption algorithm. For example, the permission providing device can be a smart card device (a card with a microchip embedded in it), and the smart card device can have a built-in storage module, encryption module and communication module, wherein the storage module can store information such as the device identification (Device ID) written in the factory, the device key (Key), the business custom data or instructions, etc., and the encryption module can use the device key in the storage module to sign and encrypt the specified data to obtain the encrypted information.

[0066] S202, sending device permission verification information to the resource loading device, and sending permission verification data carrying the device permission verification information and the resource identifier of the media resource to be obtained to the media resource provider through the resource loading device.

[0067] The permission verification data is used to trigger the media resource provider to provide the media resource to the resource loading device when it determines that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier.

[0068] In this step, after obtaining the device permission verification information, the permission providing device can provide the device permission verification information to the resource loading device, and the resource loading device sends the permission verification data carrying the device permission verification information and the resource identifier corresponding to the media resource to the media resource providing end. In one embodiment, when sending an access permission acquisition request for a specified media resource, the resource loading device can record the resource identifier corresponding to the media resource, and then obtain the permission verification data based on the device permission verification information provided by the permission providing device and the recorded resource identifier; in another embodiment, the permission providing device can also determine the resource identifier of the media resource, and then send the permission verification data carrying the resource identifier and the device permission verification information to the resource loading device, and the resource loading device can forward it to the permission verification service.

[0069] When the media resource provider receives the permission verification data, the media resource provider can first determine whether the resource loading device has access rights to the media resource corresponding to the resource identifier based on the device permission verification information and the resource identifier in the permission verification data. If the media resource provider determines that the resource loading device has obtained access rights to the media resource based on the device permission verification information and the resource identifier, the media resource provider can provide the media resource to the resource loading device. If the media resource provider determines that the resource loading device has not obtained access rights based on the device permission verification information and the resource identifier, the media resource provider can return a verification result of authentication failure and access denial to the resource loading device.

[0070] It can be understood that in the present application, the device that provides device permission verification information is separated from the resource loading device that performs media resource loading, and the two are independent of each other, so that the access rights to specific media resources do not need to be bound to the user account or common device used by the user. When it is necessary to use media resources with copyright attributes for resource exchange, it is only necessary to transfer the permission providing device to the corresponding user. In addition, on the one hand, by storing media resources on the server, the problem of limited storage capacity of physical objects is solved. On the other hand, the resource loading device obtains device permission verification information from the permission providing device, obtains access authorization information for media resources using the device permission information, and then obtains media resources from the media resource provider according to the access authorization information. In the absence of a physical storage medium, it can detect whether any resource loading device has the authority to access media resources, thereby improving the flexibility of different resource loading devices to access media files with copyright attributes, thereby improving the circulation flexibility of copyright media files.

[0071] In the above-mentioned media resource acquisition method, the permission providing device can obtain the device permission verification information corresponding to the permission providing device, send the device permission verification information to the resource loading device, and send the permission verification data carrying the device permission verification information and the resource identification of the media resource to be obtained to the media resource providing end through the resource loading device, wherein the permission verification data can trigger the media resource providing end to provide the media resource to the resource loading device when it is determined that the resource loading device has the access rights to the media resource based on the device permission verification information and the resource identification. In this embodiment, on the one hand, by storing the media resources on the network, the problem of limited storage capacity of physical objects is solved; on the other hand, by obtaining the device permission verification information from the permission providing device, the resource loading device obtains the access authorization information for the media resource using the device permission information, and then obtains the media resource from the media resource providing end based on the access authorization information, it can detect whether any resource loading device has the right to access the media resource in the absence of a physical storage medium, thereby improving the flexibility of different resource loading devices in accessing media files with copyright attributes, thereby improving the circulation flexibility of copyright media files.

[0072] In addition, the related art uses physical storage media to store media files, which can easily lead to the situation where the storage media is damaged and cannot be read. For example, when the surface of the storage disc is scratched, it is likely to cause data loss or unreadable. At the same time, for media files with copyright attributes, the physical storage media used in traditional methods (such as optical discs, vinyl records, etc.) are generally large in size and poor in portability. The corresponding data reading equipment is also limited by the size of the physical storage medium, which is very inconvenient to carry.

[0073] The media resource acquisition method of the present application solves the storage capacity limitation while avoiding file damage or unreadable due to the physical storage medium itself. In addition, compared with media such as CDs and vinyl records, the permission providing device is mainly used to provide device permission verification information. It is smaller in size, convenient for users to carry, and easy to load related data from the resource providing service.

[0074] In one embodiment, in step S201, obtaining device permission verification information corresponding to the permission providing device may include the following steps:

[0075] Determine the resource identifier corresponding to the media resource to be obtained; use the device key corresponding to the permission providing device to sign the device identifier, resource identifier and random number of the permission providing device to obtain first signature data; obtain device permission verification information including the first signature data, device identifier and random number.

[0076] Among them, the permission verification data is also used to trigger the media resource provider to sign the device identifier, resource identifier and random number according to the pre-stored device key of the permission providing device to obtain the second signature data, and when the second signature data matches the first signature data and the device identifier is associated with the authorized access record of the media resource, it is determined that the resource loading device has access rights to the media resource.

[0077] In actual applications, after receiving a request to obtain access rights, the permission providing device may first determine the resource identifier corresponding to the media resource to be obtained. In one embodiment, the resource loading device may send one or more resource identifiers to the permission providing device. Of course, in another embodiment, the resource identifiers may also be pre-stored in the permission providing device. For example, multiple resource identifiers may be pre-entered in a storage module of the permission providing device when it leaves the factory, and then after receiving a request to obtain access rights, one or more resource identifiers may be obtained from the storage module.

[0078] After obtaining the resource identifier, the permission providing device can further obtain the device key of the permission providing device itself. The device key can be agreed in advance with the media resource providing end (such as the permission verification service therein). For example, when the permission providing device leaves the factory, after entering the device key uniquely corresponding to the device into the permission providing device, the association between the permission providing device and the corresponding device key can be synchronized to the media resource providing end for subsequent access permission verification. The permission providing device can use its own device key to sign the device identifier, resource identifier and randomly generated random number of the permission providing device to obtain signature data. For the sake of distinction, the signature data is called the first signature data. Among them, the random number is randomly generated at each verification to improve security and prevent the first signature data obtained by the signature from being copied and reused for verification and authentication.

[0079] Then, the permission providing device can obtain the device permission verification information including the first signature data, the device identification and the random number, and send it together with the resource identification to the resource loading device, so that the resource loading device can obtain the permission verification data based on the received data.

[0080] For example, in one example, the authority providing device may sign in the following manner to obtain the first signature data sign:

[0081] sign = HMAC_SHA256 key (DeviceID+Data+Nonce)

[0082] DeviceID is the device ID; Data is the business-defined data, which can be a resource ID, such as the file ID of an opened media file, a product link, or a predefined instruction to be executed; Nonce is a random number; HMAC_SHA256 key is the signature algorithm.

[0083] Then the permission providing device can send permission verification data consisting of "DeviceID + Data + Nonce + Sign" to the resource loading device.

[0084] Then, after the resource loading device forwards the permission verification data to the media resource provider, Figure 3 As shown, the media resource provider (such as the permission verification service therein) can first parse the permission verification data to obtain the device identification, the first signature data and the resource identification therein, and then first find the device information corresponding to the permission providing device in the database according to the device identification. Among them, the device information includes the device key of the permission providing device pre-stored in the database, that is, the pre-stored device key. After receiving the permission verification data, the media resource provider can use the pre-stored device key obtained by the query to sign the device identification, the resource identification and the random number to obtain the signature data. For the convenience of distinction, the signature data is called the second signature data. It can be understood that if the first signature data is indeed signed by the permission providing device corresponding to the device identification, the second signature data matches the first signature data, for example, is the same; otherwise, if the second signature data does not match the first signature data, it can be determined that the current first signature data is not provided by the permission providing device corresponding to the device identification, and it can be determined that the access permission authentication has failed.

[0085] In addition, the device information may also include permission data of the permission providing device, and the permission data may include an authorized access record associated with the device identifier. For example, the resource identifiers corresponding to the various media resources associated with each permission providing device may be stored in a data table to form at least one authorized access record, wherein the permission providing device is associated with the media resource, which may indicate that the permission providing device has the qualifications to access or obtain the associated media resource; of course, in another example, the various permission providing devices associated with each media resource may also be stored in a data table to form at least one authorized access record. After obtaining the permission verification data, it is possible to query whether the permission providing device is associated with the authorized access record of the currently specified media resource based on the device identifier and resource identifier therein. If so, it can be determined that the permission providing device can obtain the media resource; if not, it can be determined that the permission providing device does not have the qualifications to obtain the media resource.

[0086] Based on this, when the second signature data matches the first signature data and the device identifier is associated with an authorized access record of the media resource, it can be determined that the resource loading device has been authorized by the permission providing device and has access rights to the media resources. The media resource provider can provide the corresponding media resources to the resource loading device.

[0087] In some embodiments, the media resource provider can compare the received first signature data with the currently generated second signature data. If they are the same, the verification is considered to be passed, and access authorization information (such as an access token) is generated. According to the permission type corresponding to the permission providing device, the content authorized to be accessed is recorded in the access authorization information. For example, for media data (such as videos or songs), at least one of online playback and file download can be performed. Different permission providing devices may have different permission types for the same media data. For example, permission providing device A only has the permission for online playback, while permission providing device B may have both online playback and file download. In this case, the database of the media resource provider can also record the permission type of the access rights of the permission providing device. Then, when performing access rights authentication, the corresponding access rights type can be added to the access authorization information to control the way in which the resource loading device obtains media resources.

[0088] In this embodiment, the first signature data can be provided to the media resource provider. By providing the media when the second signature data matches the first signature data and the device identifier is associated with the authorized access record of the media resource, the reliability of the verification result can be improved when verifying whether the resource loading device has access rights to the media resource.

[0089] In one embodiment, in step S202, sending device permission verification information to the resource loading device may include the following steps:

[0090] The permission verification data containing the device permission verification information is modulated to obtain an ultrasonic signal; the ultrasonic signal is played through the permission providing device so that the sound receiving module of the resource loading device receives the ultrasonic signal, and the device permission verification information is obtained according to the demodulation processing result of the ultrasonic signal.

[0091] In actual applications, the permission providing device may be provided with a sound playing module, such as a speaker; the resource loading device may be provided with a sound receiving module, such as an external microphone or a sound signal collecting device provided by the device.

[0092] In this regard, after obtaining the device permission verification information, the permission providing device can perform signal modulation on the device permission verification information. In some optional embodiments, the permission verification data can be converted into an ultrasonic signal through frequency shift keying (FSK) by the communication module in the permission providing device. Of course, other modulation technologies can also be selected for signal modulation. For example, the permission verification data can be converted into an ultrasonic signal using at least one of the following methods: phase shift keying (PSK), amplitude shift keying (ASK), orthogonal amplitude modulation (QAM).

[0093] Then, the ultrasonic signal can be played through the permission providing device, and accordingly, the resource loading device can receive the ultrasonic signal through the sound receiving module, demodulate the ultrasonic signal, and obtain the device permission verification information according to the demodulation result of the ultrasonic signal.

[0094] For example, Figure 4 As shown, after signing with the device key and concatenating multiple information such as the first signature data to obtain the permission verification data including the permission verification information and the resource identifier, the permission verification data can be used as the data to be sent and modulated into an ultrasonic signal. The resource loading device can demodulate the received ultrasonic signal to obtain the permission verification data including the permission verification information and the resource identifier.

[0095] In this embodiment, by utilizing the sound playing module and sound receiving module that are often configured on the device, the device permission information is sent to the resource loading device in the form of ultrasonic signals to send and receive data. Compared with communication protocols such as NFC and USB, this method can effectively reduce dependence on device resources, has a wider scope of application, and effectively improves the feasibility of the media resource acquisition method of this application on multiple devices.

[0096] Of course, in the specific implementation, different methods can be selected according to actual conditions to provide device permission verification information or permission verification data to the resource loading device. For example, any method such as NFC protocol, USB interface, Bluetooth protocol, etc. can be used for transmission.

[0097] In an exemplary embodiment, Figure 5 As shown, another method for obtaining media resources is provided, which is applied to Figure 1 The resource loading device in the example is used to illustrate, including the following steps S501 to S502. Among them:

[0098] S501 : In response to a triggering event of acquiring a media resource, receiving device permission verification information corresponding to the permission providing device and sent by the permission providing device.

[0099] In actual applications, the resource loading device can receive the device permission verification information sent by the permission providing device. In one embodiment, if the permission providing device only performs one-way communication with the resource loading device, such as the permission providing device is provided with an information sending module but not an information receiving module, the user can perform a preset trigger operation on the permission providing device to trigger the permission providing device to send the device permission verification information.

[0100] In another embodiment, after detecting a triggering event for acquiring a media resource, the resource loading device may send an access permission acquisition request to the permission providing device, so as to obtain access permissions for the specified target media resource through the information provided by the permission providing device. In response to the received access permission acquisition request, the permission providing device may obtain device permission verification information corresponding to the current permission providing device and send it to the resource loading device.

[0101] S502, sending permission verification data carrying device permission verification information and the resource identifier of the media resource to be obtained to the media resource provider, and obtaining the media resources provided by the media resource provider; the permission verification data is used to trigger the media resource provider to provide media resources to the resource loading device when it determines that the resource loading device has access rights to the media resources based on the device permission verification information and the resource identifier.

[0102] In this step, after obtaining the device permission verification information sent by the permission providing device, the resource loading device can send the permission verification data carrying the device permission verification information and the resource identifier corresponding to the media resource to the media resource providing end. The exemplary sending method can be referred to above and will not be repeated here.

[0103] When the media resource provider receives the permission verification data, the media resource provider can first determine whether the resource loading device has access rights to the media resource corresponding to the resource identifier based on the device permission verification information and the resource identifier in the permission verification data. If the media resource provider determines that the resource loading device has obtained access rights to the media resource based on the device permission verification information and the resource identifier, the media resource provider can provide the media resource to the resource loading device. If the media resource provider determines that the resource loading device has not obtained access rights based on the device permission verification information and the resource identifier, the media resource provider can return a verification result of authentication failure and access denial to the resource loading device.

[0104] In the above-mentioned media resource acquisition method, the resource loading device can receive the device permission verification information corresponding to the permission providing device sent by the permission providing device in response to the triggering event of acquiring the media resource; and then send the permission verification data carrying the device permission verification information and the resource identifier to the media resource providing end, the resource identifier being the identifier corresponding to the media resource to be acquired, and trigger the media resource providing end through the permission verification data to provide the media resource to the resource loading device when it is determined that the resource loading device has the access rights to the media resource based on the device permission verification information and the resource identifier. In this embodiment, on the one hand, by storing the media resources on the network, the problem of limited storage capacity of physical objects is solved; on the other hand, by obtaining the device permission verification information from the permission providing device, the resource loading device obtains the access authorization information for the media resource using the device permission information, and then obtains the media resource from the media resource providing end based on the access authorization information, it can detect whether any resource loading device has the right to access the media resource in the absence of a physical storage medium, thereby improving the flexibility of different resource loading devices to access media files with copyright attributes, thereby improving the circulation flexibility of copyright media files.

[0105] In one embodiment, in step S501, receiving device permission verification information corresponding to the permission providing device sent by the permission providing device may include the following steps:

[0106] The ultrasonic signal played by the permission-providing device is received through the sound receiving module; and the device permission verification information is obtained according to the demodulation processing result of the ultrasonic signal.

[0107] The ultrasonic signal is obtained by the authority providing device after performing signal modulation on the device authority verification information corresponding to the authority providing device.

[0108] The permission providing device may be provided with a sound playing module, such as a speaker; the resource loading device may be provided with a sound receiving module, such as an external microphone or a sound signal acquisition device provided by the device. In this regard, after obtaining the device permission verification information, the permission providing device may perform signal modulation on the device permission verification information. Exemplarily, the device permission verification information may be converted into an ultrasonic signal by any one of frequency shift keying, phase offset monitoring, amplitude offset monitoring or orthogonal amplitude modulation.

[0109] Then the ultrasonic signal can be played through the permission providing device. Accordingly, the resource loading device can receive the ultrasonic signal through the sound receiving module, demodulate the ultrasonic signal, and obtain the device permission verification information according to the demodulation result of the ultrasonic signal. Figure 6As shown, the resource loading device can identify ultrasonic signals through a microphone, and demodulate the ultrasonic signals into original encrypted data when the identification is successful. After the demodulation is successful, the original encrypted data can be used to request an authentication service (i.e., an authority verification service) for authentication. When the authentication is successful, an access token returned by the authority verification service can be obtained. The resource loading device can save the access token locally on the device, and subsequently obtain media resources based on the saved access token when media resources need to be loaded, or use the access token to request the resource provider server to execute predefined instructions.

[0110] In this embodiment, by utilizing the sound playing module and sound receiving module that are often configured on the device, the device permission information is sent to the resource loading device in the form of ultrasonic signals to send and receive data. Compared with communication protocols such as NFC and USB, this method can effectively reduce dependence on device resources, has a wider scope of application, and effectively improves the feasibility of the media resource acquisition method of this application on multiple devices.

[0111] In one embodiment, the media resource provider includes a permission verification service and a resource provision service, wherein the permission verification service can be used to perform access rights authentication verification on the resource loading end. The permission verification service is used to perform permission verification, and when it is determined that the resource loading device has access rights to the media resource, it can return access authorization information to the resource loading device. The resource provision service can be used to store and distribute media files required by the resource loading device, such as music, videos, pictures, APPs, game installation packages, etc., and can distribute corresponding media resources according to the access authorization information submitted by the device.

[0112] Accordingly, after the step of sending the permission verification data carrying the device permission verification information and the resource identifier of the media resource to be obtained to the media resource provider and before obtaining the media resource provided by the media resource provider, the method may further include the following steps:

[0113] Receive the access authorization information returned by the permission verification service; send a media resource acquisition request carrying the access authorization information to the resource provision service.

[0114] The access authorization information is returned by the permission verification service after determining that the resource loading device has access rights to the media resource based on the permission verification data. The media resource acquisition request is used to trigger the resource provision service to send the media resource to the resource loading device when the resource provision service determines that the resource loading device has access rights to the media resource based on the access authorization information verification.

[0115] Specifically, access rights can be authenticated through the permission verification service in the media resource provider. When the permission verification service determines that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier, the verification result carrying the access authorization information can be returned to the resource loading device. In one example, the access authorization information can be an access token, and the resource loading device can then obtain the media resource from the resource providing service based on the obtained access authorization information.

[0116] Specifically, the resource loading device may generate a media resource acquisition request carrying access authorization information, such as Figure 7 As shown, after receiving the media resource acquisition request, the resource providing service can parse the request parameters to obtain the access authorization information in the media resource acquisition request, and then use the access authorization information to request the permission verification service to perform access permission verification to determine whether the resource loading device has permission to the requested media resource. For example, the resource providing service can inquire whether the access permission service has previously sent an access token for the currently requested media resource to the resource loading device. When the resource providing service determines that the resource loading device has passed the permission verification, the corresponding media resource can be sent to the resource loading device.

[0117] If the permission verification service determines that the resource loading device lacks access rights to the media resource based on the device permission verification information and the resource identifier, the media resource provider may return a verification result of authentication failure to the resource loading device. For example, the permission verification service may return a verification result of authentication failure and refuse to return access authorization information to the resource loading device. In the absence of access authorization information, the resource loading device will fail to obtain the media file.

[0118] In this example, the resource loading device obtains media resources from the resource provision service by using the currently issued access authorization information, which can effectively improve the immediacy of data access and the access security of media data with access permission attributes during the process of obtaining media resources.

[0119] In an exemplary embodiment, Figure 8 As shown, another method for obtaining media resources is provided, which is applied to Figure 1 The media resource provider in the example is used to illustrate, including the following steps S801 to S803. Among them:

[0120] S801, receiving permission verification data sent by a resource loading device; the permission verification data carries device permission verification information and a resource identifier corresponding to the media resource to be acquired, and the device permission verification information is provided by the permission providing device to the resource loading device.

[0121] In a specific implementation, the resource loading device may obtain device permission verification information corresponding to the current permission providing device from the permission providing device, so as to obtain access rights for the specified target media resource through the information provided by the permission providing device.

[0122] After obtaining the device permission verification information sent by the permission providing device, the resource loading device can send permission verification data carrying the device permission verification information and the resource identifier corresponding to the media resource to the media resource providing end, so that the media resource providing end receives the permission verification data.

[0123] S802: Verify access rights of the resource loading device to the media resource based on the device permission verification information and the resource identifier.

[0124] S803: Provide media resources to the resource loading device when it is determined that the resource loading device has access rights.

[0125] When the media resource provider receives the permission verification data, the media resource provider can first determine whether the resource loading device has access rights to the media resource corresponding to the resource identifier based on the device permission verification information and the resource identifier in the permission verification data. If the media resource provider determines that the resource loading device has obtained access rights to the media resource based on the device permission verification information and the resource identifier, the media resource provider can provide the media resource to the resource loading device. If the media resource provider determines that the resource loading device has not obtained access rights based on the device permission verification information and the resource identifier, the media resource provider can return a verification result of authentication failure and access denial to the resource loading device.

[0126] In the above-mentioned media resource acquisition method, the media resource provider can receive the permission verification data sent by the resource loading device, and the permission verification data carries the device permission verification information and the resource identifier corresponding to the media resource to be acquired. The device permission verification information is provided by the permission providing device to the resource loading device; then the media resource provider can verify the access rights of the resource loading device to the media resource based on the device permission verification information and the resource identifier, and return the access authorization information to the resource loading device when it is determined that the resource loading device has the access rights, and provide the media resource to the resource loading device. In this embodiment, on the one hand, by storing the media resources on the network, the problem of limited storage capacity of physical objects is solved; on the other hand, the resource loading device obtains the device permission verification information from the permission providing device, obtains the access authorization information for the media resource using the device permission information, and then obtains the media resource from the media resource provider based on the access authorization information. In the absence of a physical storage medium, it can detect whether any resource loading device has the right to access the media resource, thereby improving the flexibility of different resource loading devices to access media files with copyright attributes, thereby improving the circulation flexibility of copyright media files.

[0127] In one embodiment, the device permission verification information includes the first signature data, the device identification of the permission providing device, and the random number; in step S802, based on the device permission verification information and the resource identification, verifying the access rights of the permission providing device to the media resource may include the following steps:

[0128] According to the device identifier, query the pre-stored device key corresponding to the permission providing device; use the pre-stored device key to sign the device identifier, resource identifier and random number to obtain second signature data; when the second signature data matches the first signature data, and when the device identifier is associated with the authorized access record of the media resource corresponding to the resource identifier, it is determined that the resource loading device has access rights to the media resource.

[0129] In a specific implementation, the permission providing device can determine the resource identifier corresponding to the media resource to be obtained and the device key of the permission providing device itself. The device key can be agreed upon in advance with the media resource providing end (such as the permission verification service). The permission providing device can use its own device key to sign the device identifier, resource identifier and randomly generated random number of the permission providing device to obtain the first signature data.

[0130] Then, the permission providing device can obtain the device permission verification information including the first signature data, device identification and random number, and send it together with the resource identification to the resource loading device, so that the resource loading device can obtain the permission verification data based on the above data received and forward it to the media resource providing device for permission authentication.

[0131] The media resource provider (such as the permission verification service therein) can first parse the permission verification data to obtain the device identifier, the first signature data and the resource identifier therein, and then search the database for the pre-stored device key corresponding to the permission providing device according to the device identifier, and use the pre-stored device key to sign the device identifier, resource identifier and random number to obtain the second signature data.

[0132] Then, the media resource provider can compare the received first signature data with the currently generated second signature data. If they are the same, the verification is considered to be passed, and access authorization information (such as an access token) is generated. According to the permission type corresponding to the permission providing device, the content authorized to be accessed is recorded in the access authorization information. For example, for media data (such as videos or songs), at least one of online playback and file download can be processed. Different permission providing devices may have different permission types for the same media data. For example, permission providing device A only has the permission for online playback, while permission providing device B may have both online playback and file download. In this case, the database of the media resource provider can also record the permission type of the access rights of the permission providing device. Then, when performing access rights authentication, the corresponding access rights type can be added to the access authorization information to control the way in which the resource loading device obtains media resources.

[0133] In this embodiment, by having the media resource provide the media when the second signature data matches the first signature data and the device identifier is associated with an authorized access record of the media resource, the reliability of the verification result can be improved when verifying whether the resource loading device has access rights to the media resource.

[0134] In order to enable those skilled in the art to better understand the above steps, the embodiment of the present application is illustrated below by using an example, but it should be understood that the embodiment of the present application is not limited to this.

[0135] This example applies to Fig. 9 The application environment shown includes smart card devices, application terminals, authentication services, and file services. The smart card device has built-in storage, encryption, and communication modules. The storage module is written with device ID, device key, business custom data or instructions, and other information when it leaves the factory. The encryption module uses the stored key to sign the data. After receiving the access permission acquisition request from the application terminal, the smart card device can obtain the device permission verification data as the data to be sent, and after modulating it into an ultrasonic signal, send it through the speaker.

[0136] The application terminal consists of a hardware device and an application running on it. The hardware device may include a microphone device, and may also have an audio input interface, a Bluetooth module, etc. It supports external microphone devices to receive ultrasonic signals emitted by smart card devices. In the process of requesting media resources, the application terminal receives the ultrasonic signal sent by the smart card device through the microphone device, demodulates the original encrypted data, and submits it to the authentication service for decryption and authentication. After the authentication is passed, the access token issued by the authentication service is stored locally, and the access token is used to request media data from the file server or execute predefined instructions.

[0137] The authentication service can be responsible for decrypting and verifying the encrypted data generated by the smart card device. Specifically, after receiving the authentication request from the application terminal, the authentication service can parse the device ID, business custom data and signature from the authentication request, and find the device information corresponding to the device in the database through the device ID, including the device key, permission data, etc., and then use the same signature mechanism or signature algorithm to sign the data, compare the received signature data with the currently generated signature data, and if they are the same, the verification is considered to be passed, generate an access token, and authorize the access token to access the content according to the corresponding permissions of the device.

[0138] The file service is used to store and distribute media files required by the application terminal, such as music, videos, pictures, apps, game installation packages, etc. After receiving the file request from the application terminal, the file service parses the request parameters to obtain the access token, uses the access token to request the authentication service, determines whether there is permission for the requested file, and distributes the corresponding file to the application terminal after the permission verification passes.

[0139] In an exemplary embodiment, the present application also provides a media resource distribution system, such as Figure 1 As shown, including:

[0140] The permission providing device 101 is used to send device permission verification information to the resource loading device;

[0141] The resource loading device 102 is used to send the permission verification data carrying the device permission verification information and the resource identifier to the media resource provider;

[0142] The media resource provider 103 is used to provide the media resource to the resource loading device when it is determined that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier in the permission verification data.

[0143] In this embodiment, on the one hand, the problem of limited storage capacity of physical objects is solved by storing media resources on the network. On the other hand, the resource loading device obtains device permission verification information from the permission providing device, uses the device permission information to obtain access authorization information for media resources, and then obtains media resources from the media resource provider based on the access authorization information. In the absence of a physical storage medium, it can detect whether any resource loading device has the authority to access the media resources, thereby improving the flexibility of different resource loading devices in accessing media files with copyright attributes, thereby improving the circulation flexibility of copyrighted media files.

[0144] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0145] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store media resource data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for acquiring media resources is implemented.

[0146] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for acquiring media resources is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0147] Those skilled in the art will understand that Fig.10 and Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0148] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0149] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0150] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0151] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, played data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0152] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0153] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0154] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for acquiring media resources, characterized in that: The method comprises: Get the device permission verification information corresponding to the permission-providing device; Sending the device permission verification information to a resource loading device, and sending permission verification data carrying the device permission verification information and a resource identifier of the media resource to be acquired to a media resource provider through the resource loading device; The permission verification data is used to trigger the media resource provider to provide the media resource to the resource loading device when it is determined that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier.

2. The method according to claim 1, characterized in that The device permission verification information corresponding to the permission providing device includes: Determine a resource identifier corresponding to the media resource to be obtained; Using a device key corresponding to the permission providing device, signing the device identification of the permission providing device, the resource identification and the random number to obtain first signature data; Obtaining device authority verification information including the first signature data, the device identification and the random number; Among them, the permission verification data is also used to trigger the media resource provider to sign the device identifier, the resource identifier and the random number according to the pre-stored device key of the permission providing device to obtain second signature data, and when the second signature data matches the first signature data and the device identifier is associated with the authorized access record of the media resource, it is determined that the resource loading device has access rights to the media resource.

3. The method according to claim 1 or 2, characterized in that: The sending the device authority verification information to the resource loading device includes: Performing signal modulation on the device authority verification information to obtain an ultrasonic signal; The ultrasonic signal is played by the permission providing device so that the sound receiving module of the resource loading device receives the ultrasonic signal, and the device permission verification information is obtained according to the demodulation processing result of the ultrasonic signal.

4. A method for acquiring media resources, characterized in that: Applied to a resource loading device, the method comprises: In response to a triggering event of acquiring a media resource, receiving device permission verification information corresponding to the permission providing device sent by the permission providing device; Send permission verification data carrying the device permission verification information and the resource identifier of the media resource to be obtained to the media resource provider, and obtain the media resource provided by the media resource provider; the permission verification data is used to trigger the media resource provider to provide the media resource to the resource loading device when it is determined that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier.

5. The method according to claim 4, characterized in that The receiving device permission verification information corresponding to the permission providing device sent by the permission providing device includes: The ultrasonic signal played by the permission providing device is received through the sound receiving module; the ultrasonic signal is obtained by the permission providing device after signal modulation of the device permission verification information corresponding to the permission providing device; The device authority verification information is obtained according to the demodulation processing result of the ultrasonic signal.

6. The method according to claim 4 or 5, characterized in that: The media resource provider includes permission verification services and resource service providers; After the step of sending the permission verification data carrying the device permission verification information and the resource identifier of the media resource to be obtained to the media resource provider and before obtaining the media resource provided by the media resource provider, the method further includes: receiving access authorization information returned by the permission verification service; the access authorization information is returned by the permission verification service after determining, based on the permission verification data, that the resource loading device has access rights to the media resource; A media resource acquisition request carrying the access authorization information is sent to the resource providing service; wherein the media resource acquisition request is used to trigger the resource providing service to send the media resource to the resource loading device when it is determined that the resource loading device has obtained access rights to the media resource based on the access authorization information verification.

7. A method for acquiring media resources, characterized in that: The method comprises: Receive permission verification data sent by a resource loading device; the permission verification data carries device permission verification information and a resource identifier corresponding to the media resource to be acquired, and the device permission verification information is provided to the resource loading device by a permission providing device; Verifying access rights of the resource loading device to the media resource based on the device permission verification information and the resource identifier; When it is determined that the resource loading device has the access permission, the media resource is provided to the resource loading device.

8. The method according to claim 7, characterized in that The device authority verification information includes the first signature data, the device identification of the authority providing device and a random number; The verifying the access rights of the permission providing device to the media resource based on the device permission verification information and the resource identifier includes: According to the device identification, querying a pre-stored device key corresponding to the permission providing device; Signing the device identifier, the resource identifier and the random number using the pre-stored device key to obtain second signature data; When the second signature data matches the first signature data and the device identifier is found to be associated with an authorized access record of the media resource corresponding to the resource identifier, it is determined that the resource loading device has access rights to the media resource.

9. A media resource distribution system, characterized in that: The system comprises: The permission providing device is used to send device permission verification information to the resource loading device; The resource loading device is used to send the permission verification data carrying the device permission verification information and the resource identifier to the media resource provider; The media resource provider is used to provide the media resource to the resource loading device when it is determined that the resource loading device has access rights to the media resource based on the device permission verification information and the resource identifier in the permission verification data.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the media resource acquisition method according to any one of claims 1 to 3, any one of claims 4 to 6, or any one of claims 7 to 8 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the media resource acquisition method according to any one of claims 1 to 3, any one of claims 4 to 6, or any one of claims 7 to 8 are implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the media resource acquisition method according to any one of claims 1 to 3, any one of claims 4 to 6, or any one of claims 7 to 8 are implemented.