CN117118971A - Resource downloading method, device, electronic equipment and computer readable storage medium - Google Patents

Resource downloading method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN117118971A
CN117118971A CN202310964884.1A CN202310964884A CN117118971A CN 117118971 A CN117118971 A CN 117118971A CN 202310964884 A CN202310964884 A CN 202310964884A CN 117118971 A CN117118971 A CN 117118971A
Authority
CN
China
Prior art keywords
resource
cloud server
disk
resource downloading
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310964884.1A
Other languages
Chinese (zh)
Inventor
黄伟庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xituo Liaoning Cultural Media Co ltd
Original Assignee
Xituo Liaoning Cultural Media Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xituo Liaoning Cultural Media Co ltd filed Critical Xituo Liaoning Cultural Media Co ltd
Priority to CN202310964884.1A priority Critical patent/CN117118971A/en
Publication of CN117118971A publication Critical patent/CN117118971A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Abstract

The embodiment of the invention relates to a resource downloading method, a device, electronic equipment and a computer readable storage medium, which are applied to a USB flash disk with a networking function in a resource downloading system, wherein the resource downloading system comprises the USB flash disk, a message server, a mobile terminal and a cloud server, and the cloud server stores resources; the method comprises the steps that a resource synchronization instruction sent by the mobile terminal through the message server is received, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from a cloud server; sending a resource downloading request to the cloud server according to the resource downloading address information; receiving a resource sent by a cloud server in response to the resource downloading request; the embodiment of the invention can realize online real-time update of the content in the USB flash disk without physically inserting the USB flash disk into corresponding equipment.

Description

Resource downloading method, device, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and apparatus for downloading resources, an electronic device, and a computer readable storage medium.
Background
The U disk is a semiconductor memory device, has small volume and convenient carrying, and is used after being physically connected with various devices with USB interfaces. When the content stored in the USB flash disk needs to be updated, the USB interface of the USB flash disk needs to be inserted into corresponding computer equipment, the operation is troublesome, and a user cannot operate the updating on line at any time.
Disclosure of Invention
The embodiment of the invention provides a resource downloading method, a resource downloading device, electronic equipment and a computer readable storage medium, which are used for solving the technical problem that a traditional U disk can be updated by inserting the traditional U disk into the computer equipment.
In a first aspect, an embodiment of the present invention provides a resource downloading method, which is applied to a usb disk having a networking function in a resource downloading system, where the resource downloading system includes the usb disk, a message server, a mobile terminal, and a cloud server, where the cloud server stores resources; receiving a resource synchronization instruction sent by the mobile terminal through the message server, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from a cloud server; sending a resource downloading request to the cloud server according to the resource downloading address information; and receiving the resource sent by the cloud server in response to the resource downloading request.
In some embodiments, the method further comprises: determining U disk information and sending the U disk information to the mobile terminal through the message server; the USB flash disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
In some embodiments, the method further comprises: and receiving a modification or deletion instruction sent by the mobile terminal through the message server, and carrying out corresponding modification or deletion processing on the target resource in the stored resource list according to the modification or deletion instruction.
In some embodiments, the resources on the cloud server are encrypted; the receiving cloud server responds to the resource sent by the resource downloading request, and the receiving cloud server comprises the following steps: receiving an encrypted resource and a corresponding decryption key sent by a cloud server in response to the resource downloading request; the method further comprises the steps of: and decrypting the encrypted resource based on the decryption key when a resource display instruction is received.
In some embodiments, the resources on the cloud server are encrypted; the method further comprises the steps of: receiving a decryption key sent by the mobile terminal through the message server, wherein the decryption key is acquired by the mobile terminal from the cloud server; the receiving cloud server responds to the resource sent by the resource downloading request, and the receiving cloud server comprises the following steps: receiving the encrypted resource sent by the cloud server in response to the resource downloading request, wherein the method further comprises the following steps: and decrypting the encrypted resource based on the decryption key when a resource display instruction is received.
In a second aspect, an embodiment of the present invention provides a resource downloading method, which is applied to a mobile terminal in a resource downloading system, where the resource downloading system includes a usb disk with a networking function, a message server, the mobile terminal, and a cloud server, where the cloud server stores resources; receiving resource downloading address information sent by a cloud server; and generating a resource synchronization instruction based on the resource downloading address information, and sending the resource synchronization instruction to the U disk through the message server so that the U disk responds to the resource synchronization instruction to download corresponding resources from the cloud server.
In some embodiments, the method further comprises: receiving U disk information sent by the U disk through the message server, wherein the U disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
In some embodiments, the method further comprises: receiving a user modification or deletion operation of a target resource in the stored resource list; and generating a corresponding modification or deletion instruction based on the modification or deletion operation, and sending the modification or deletion instruction to the U disk through the message server so that the U disk carries out corresponding modification or deletion processing on the target resource.
In some embodiments, the resources on the cloud server are encrypted; the method further comprises the steps of: receiving a decryption key sent by a cloud server; and sending the decryption key to the U disk through a message server, so that the U disk decrypts the encrypted resources downloaded from the cloud server according to the decryption key when receiving the resource display instruction.
In a third aspect, an embodiment of the present invention provides a resource downloading device, which is applied to a usb disk having a networking function in a resource downloading system, where the resource downloading system includes the usb disk, a message server, a mobile terminal, and a cloud server, where the cloud server stores resources; the first receiving module is used for receiving a resource synchronization instruction sent by the mobile terminal through the message server, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from the cloud server; the first sending module is used for sending a resource downloading request to the cloud server according to the resource downloading address information; the first receiving module is further configured to receive a resource sent by the cloud server in response to the resource downloading request.
In a fourth aspect, an embodiment of the present invention provides a resource downloading device, which is applied to a mobile terminal in a resource downloading system, where the resource downloading system includes a usb disk with a networking function, a message server, the mobile terminal, and a cloud server, where the cloud server stores resources; the second receiving module is used for receiving the resource downloading address information sent by the cloud server; and the second sending module is used for generating a resource synchronization instruction based on the resource downloading address information, and sending the resource synchronization instruction to the U disk through the message server so that the U disk responds to the resource synchronization instruction and downloads corresponding resources from the cloud server.
In a fifth aspect, an embodiment of the present invention provides a resource downloading system, which is characterized by including a usb disk having a networking function, a message server, a mobile terminal, and a cloud server, where the cloud server stores resources, the mobile terminal is in communication connection with the cloud server, the mobile terminal is in communication connection with the usb disk through the message server, and the usb disk is in communication connection with the cloud server; the USB flash disk is used for realizing the steps of the resource downloading method according to any one of the first aspect, and the mobile terminal is used for realizing the steps of the resource downloading method according to any one of the second aspect.
In a sixth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; a memory for storing a computer program; a processor configured to implement the steps of the resource downloading method according to any one of the first or second aspects when executing a program stored on a memory.
In a seventh aspect, embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the resource downloading method of any of the first or second aspects.
The resource downloading method, the device, the electronic equipment and the computer readable storage medium provided by the embodiment of the invention are applied to a USB flash disk with a networking function in a resource downloading system, wherein the resource downloading system comprises the USB flash disk, a message server, a mobile terminal and a cloud server, and the cloud server stores resources; the method comprises the steps that a resource synchronization instruction sent by the mobile terminal through the message server is received, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from a cloud server; sending a resource downloading request to the cloud server according to the resource downloading address information; receiving a resource sent by a cloud server in response to the resource downloading request; the embodiment of the invention can realize online real-time update of the content in the USB flash disk without physically inserting the USB flash disk into corresponding equipment.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a resource downloading system according to an embodiment of the present invention;
FIG. 2 is an interaction schematic diagram of a resource downloading method according to an embodiment of the present invention;
FIG. 3 is an interactive schematic diagram of another resource downloading method according to an embodiment of the present invention;
FIG. 4 is an interactive schematic diagram of another resource downloading method according to an embodiment of the present invention;
FIG. 5 is an interactive schematic diagram of another resource downloading method according to an embodiment of the present invention;
fig. 6 is a flow chart of a method for downloading resources based on a usb disk side according to an embodiment of the present invention;
fig. 7 is a flow chart of a resource downloading method based on a mobile terminal side according to an embodiment of the present invention;
Fig. 8 is a schematic structural diagram of a resource downloading device according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of another resource downloading device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The U disk is a semiconductor memory device, has small volume and convenient carrying, and is used after being physically connected with various devices with USB interfaces. In an actual scenario, many display terminals or playing terminals do not have networking and storage functions, and typically, a usb disk is inserted into the display terminal or the playing terminal, so as to implement corresponding file display or song playing.
When new files or new songs need to be displayed, the USB interface of the USB flash disk needs to be inserted into corresponding computer equipment, the new files or the new songs are downloaded into the USB flash disk, the operation is troublesome, a user cannot operate and update online at any time, in addition, the physical access of the USB flash disk to the computer equipment is extremely easy to cause computer virus transmission, and original contents in the USB flash disk are damaged.
Aiming at the technical problems, the technical conception of the invention is as follows: the USB flash disk is provided with a networking function, and a synchronous instruction is sent to the USB flash disk through the mobile terminal, so that the USB flash disk can be directly connected to the cloud server to realize corresponding resource downloading.
Fig. 1 is a schematic structural diagram of a resource downloading system provided by an embodiment of the present invention, where, as shown in fig. 1, the resource downloading system includes a U disc 101 with a networking function, a message server 102, a mobile terminal 103, a cloud server 104, and a resource display terminal 105, where resources are stored on the cloud server 104; the mobile terminal 103 is in communication connection with the cloud server 104, the mobile terminal 103 is in communication connection with the USB flash disk 101 through the message server 102, the USB flash disk 101 is in communication connection with the cloud server 104, and the USB flash disk is connected to the resource display terminal 105 in a plug-in manner.
Optionally, the usb disk 101 includes at least a networking unit and a storage unit, where the usb disk is communicatively connected to the cloud server 104 through the networking unit, and the storage unit is configured to store resources downloaded from the cloud server 104.
Optionally, the networking unit includes a logistics network module and a 4G traffic card. The internet of things module can be understood as an integrated communication chip for networking; the 4G traffic card does not need real-name authentication, the 4G signal adopted by the embodiment is more stable, the transmission rate of data is higher, the compatibility is smoother, the communication quality is higher, the technology used in 4G communication is advanced in 2G and 3G communication, the information communication speed is increased, the static transmission rate of 4G reaches 1Gbps, and the static transmission rate of 4G can reach 100Mbps in a high-speed moving state.
Optionally, the storage unit is a first storage unit fixedly arranged on the usb disk, or a second storage unit pluggable to the first storage unit. The first storage unit is an EMMC card, and the second storage unit is a TF card. According to the user demand, when the USB flash disk leaves the factory, the EMMC card can be welded on the USB flash disk, or can be set as a pluggable TF card, and the USB flash disk can be selected from the USB flash disk.
Optionally, the resources on the cloud server 104 are encrypted, and the usb disk 101 further includes an encryption unit, where the encryption unit is configured to decrypt the encrypted resources downloaded to the usb disk 101.
Fig. 2 is an interaction schematic diagram of a resource downloading method according to an embodiment of the present invention, which is applied to the resource downloading system shown in fig. 1. As shown in fig. 2, the resource downloading method includes:
step S201, the mobile terminal receives resource downloading address information sent by a cloud server.
The song resources are described as an example. When the user wants to update the songs in the U disk, the user can automatically jump to the corresponding applet by scanning the two-dimensional code on the server equipment providing the song resources, acquire the song list from the cloud server corresponding to the applet and display the song list on the mobile terminal, and each song in the song list corresponds to the song downloading address URL.
Step S202, the mobile terminal generates a resource synchronization instruction based on the resource download address information.
Specifically, the user can select a target song to be updated on the mobile terminal, and the mobile terminal generates a resource synchronization instruction according to the song download address URL of the target song.
And step 203, the mobile terminal sends the resource synchronization instruction to the U disk through the message server.
Correspondingly, the U disk receives a resource synchronization instruction sent by the mobile terminal through the message server, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from the cloud server.
Specifically, the message server is based on a message queue telemetry transport protocol (Message Queuing Telemetry Transport, abbreviated as MQTT), is a lightweight message transport protocol in a publish-subscribe mode, is an open message protocol specially designed for internet of things applications in low bandwidth and unstable network environments, and is simple and easy to implement. In the step, the mobile terminal sends a resource synchronization instruction to the U disk through the MQTT message server.
And step S204, the USB flash disk sends a resource downloading request to the cloud server according to the resource downloading address information.
Specifically, after receiving the resource synchronization instruction, the USB flash disk sends a resource downloading request to the cloud server according to the song downloading address in the resource synchronization instruction so as to request downloading of the corresponding target song.
Step S205, the cloud server responds to the resource downloading request and sends the corresponding resource to the U disk.
Specifically, the cloud server sends the corresponding songs to the USB flash disk according to the song downloading addresses in the resource downloading requests.
Correspondingly, the USB flash disk receives the resource sent by the cloud server in response to the resource downloading request.
The resource downloading method provided by the embodiment of the invention is applied to a USB flash disk with a networking function in a resource downloading system, wherein the resource downloading system comprises the USB flash disk, a message server, a mobile terminal and a cloud server, and the cloud server stores resources; the method comprises the steps that a resource synchronization instruction sent by the mobile terminal through the message server is received, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from a cloud server; sending a resource downloading request to the cloud server according to the resource downloading address information; receiving a resource sent by a cloud server in response to the resource downloading request; the embodiment of the invention can realize online real-time update of the content in the USB flash disk without physically inserting the USB flash disk into corresponding equipment.
On the basis of the foregoing embodiment, fig. 3 is an interaction schematic diagram of another resource downloading method according to the embodiment of the present invention, where, as shown in fig. 3, the resource downloading method includes:
step S301, the USB flash disk determines USB flash disk information and sends the USB flash disk information to the mobile terminal through the message server.
The USB flash disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
Correspondingly, the mobile terminal receives the USB flash disk information sent by the USB flash disk through the message server, wherein the USB flash disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
Specifically, the usb disk reports its attribute information, such as a usb disk version number, a remaining storage capacity, a song list, etc., to the mobile terminal through the MQTT message server.
Step S302, the mobile terminal receives the modification or deletion operation of the target resource in the stored resource list by the user.
Specifically, the user can view the song list in the usb disk through the mobile terminal, and modify (e.g. modify name, display mode, etc.) or delete the target song in the song list.
Step S303, the mobile terminal generates a corresponding modification or deletion instruction based on the modification or deletion operation, and sends the modification or deletion instruction to the U disk through the message server.
Specifically, after receiving a modification or deletion operation of a user on a target song, the mobile terminal generates a corresponding modification or deletion instruction, and synchronizes the modification or deletion instruction to the USB flash disk through the message server.
And step S304, the U disk carries out corresponding modification or deletion processing on the target resources in the stored resource list according to the modification or deletion instruction.
Specifically, after receiving the modification or deletion instruction, the USB flash disk carries out modification or deletion processing on the corresponding target song.
On the basis of the foregoing embodiment, the usb disk information is determined, and the usb disk information is sent to the mobile terminal through the message server, where the usb disk information includes at least one of the following: the version number, the residual storage capacity and the stored resource list realize that the related information of the U disk can be conveniently checked without physically inserting the U disk into related equipment; by receiving the modification or deletion instruction sent by the mobile terminal through the message server and carrying out corresponding modification or deletion processing on the target resource in the stored resource list according to the modification or deletion instruction, the content in the U disk can be modified or deleted without inserting the U disk into related equipment.
On the basis of the foregoing embodiments, fig. 4 is an interaction schematic diagram of another resource downloading method according to the embodiment of the present invention, as shown in fig. 4, where a resource on the cloud server is encrypted, and the resource downloading method includes:
step S401, the mobile terminal receives resource downloading address information sent by a cloud server.
And step S402, the mobile terminal generates a resource synchronization instruction based on the resource download address information.
Step S403, the mobile terminal sends the resource synchronization instruction to the U disk through the message server.
Correspondingly, the U disk receives a resource synchronization instruction sent by the mobile terminal through the message server, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from the cloud server.
And step S404, the USB flash disk sends a resource downloading request to the cloud server according to the resource downloading address information.
And step S405, the cloud server responds to the resource downloading request and sends the encrypted resource and the corresponding decryption key to the U disk.
And step S406, when the U disk receives the resource display instruction, decrypting the encrypted resource based on the decryption key.
Steps S401 to S404 in this embodiment are similar to the implementation manner of steps S201 to S204 in the foregoing embodiment, and will not be described here again.
The difference from the foregoing embodiment is that, in this embodiment, the resources on the cloud server are encrypted to solve the technical problem that the copyrights of the resources such as songs cannot be controlled and piracy is flooded; receiving an encrypted resource and a corresponding decryption key sent by a cloud server in response to the resource downloading request; and decrypting the encrypted resource based on the decryption key when a resource display instruction is received.
Specifically, songs on the cloud server are encrypted and store corresponding decryption keys. When the U disk receives a resource synchronization instruction sent by the mobile terminal, a resource downloading request is sent to a cloud server, and the cloud server sends corresponding encrypted songs and corresponding decryption keys to the U disk; when the USB flash disk is inserted into the resource display terminal, the USB flash disk is considered to receive the resource display instruction, and the USB flash disk can decrypt and play the encrypted song through the decryption key.
In addition, the USB flash disk can identify whether illegal copying is performed, and the copied data is still in an encrypted state or the data is damaged and cannot be used, so that the song copyright is protected, and the USB flash disk can be adapted to various systems.
On the basis of the embodiment, the downloading and storage of songs are encrypted, and the problem that the copyrights of the songs of the traditional U disk cannot be controlled and the piracy is flooded is effectively solved.
On the basis of the above embodiment, fig. 5 is an interaction schematic diagram of another resource downloading method according to the embodiment of the present invention, as shown in fig. 5, where a resource on the cloud server is encrypted, and the resource downloading method includes:
step S501, the mobile terminal receives the resource download address information and the decryption key sent by the cloud server.
Step S502, the mobile terminal generates a resource synchronization instruction based on the resource download address information.
And step S503, the mobile terminal sends the resource synchronization instruction and the decryption key to the U disk through the message server.
And step S504, the U disk sends a resource downloading request to the cloud server according to the resource downloading address information.
In step S505, the cloud server responds to the resource downloading request, and sends the encrypted resource to the U disk.
And step S506, when the U disk receives the resource display instruction, decrypting the encrypted resource based on the decryption key.
Steps S502, S504 and S506 in the embodiment of the present invention are similar to the implementation manner of steps S402, S404 and S406 in the previous embodiment, and are not repeated here.
The difference between the embodiment shown in fig. 4 is that the mobile terminal receives the decryption key sent by the cloud server, and sends the decryption key to the usb disk through the message server, so that the usb disk decrypts the encrypted resource downloaded from the cloud server according to the decryption key when receiving the resource display instruction.
Specifically, the resources on the cloud server are encrypted and stored with the corresponding decryption key. When a user wants to update songs in the USB flash disk, the user obtains a corresponding song downloading address and a decryption key from the cloud server through the mobile terminal, carries the corresponding song downloading address and the decryption key in a resource synchronization instruction and sends the resource synchronization instruction to the USB flash disk, and the USB flash disk downloads the corresponding encrypted songs from the cloud server according to the resource downloading address and decrypts and plays the encrypted songs when playing the songs of the USB flash disk.
On the basis of the embodiment, the song downloading, the storage encryption and the copy prevention are realized, and the problem that the copyright of the song of the traditional U disk cannot be controlled and the piracy is flooded is effectively solved.
Fig. 6 is a flow chart of a method for downloading resources based on a usb disk side, which is provided by an embodiment of the present invention, and is applied to a usb disk having a networking function in a resource downloading system, where the resource downloading system includes the usb disk, a message server, a mobile terminal, and a cloud server, and the cloud server stores resources. As shown in fig. 6, the resource downloading method includes:
step S601, receiving a resource synchronization instruction sent by the mobile terminal through the message server, where the resource synchronization instruction includes resource download address information, and the resource download address information is acquired by the mobile terminal from a cloud server.
And step S602, a resource downloading request is sent to the cloud server according to the resource downloading address information.
Step S603, receiving a resource sent by the cloud server in response to the resource downloading request.
In some embodiments, the method further comprises: determining U disk information and sending the U disk information to the mobile terminal through the message server; the USB flash disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
In some embodiments, the method further comprises: and receiving a modification or deletion instruction sent by the mobile terminal through the message server, and carrying out corresponding modification or deletion processing on the target resource in the stored resource list according to the modification or deletion instruction.
In some embodiments, the resources on the cloud server are encrypted; the receiving cloud server responds to the resource sent by the resource downloading request, and the receiving cloud server comprises the following steps: receiving an encrypted resource and a corresponding decryption key sent by a cloud server in response to the resource downloading request; the method further comprises the steps of: and decrypting the encrypted resource based on the decryption key when a resource display instruction is received.
In some embodiments, the resources on the cloud server are encrypted; the method further comprises the steps of: receiving a decryption key sent by the mobile terminal through the message server, wherein the decryption key is used for decrypting the encrypted resource; the receiving cloud server responds to the resource sent by the resource downloading request, and the receiving cloud server comprises the following steps: receiving the encrypted resource sent by the cloud server in response to the resource downloading request, wherein the method further comprises the following steps: and decrypting the encrypted resource based on the decryption key when a resource display instruction is received.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the resource downloading method provided in the embodiment of the present invention has similar principles and technical effects to those of the foregoing embodiment, and will not be described in detail herein.
Fig. 7 is a flow chart of a resource downloading method based on a mobile terminal side, which is applied to a mobile terminal in a resource downloading system, wherein the resource downloading system comprises a usb disk with a networking function, a message server, the mobile terminal and a cloud server, and the cloud server stores resources. As shown in fig. 7, the resource downloading method includes:
step S701, receiving resource download address information sent by a cloud server.
And step S702, generating a resource synchronization instruction based on the resource downloading address information, and sending the resource synchronization instruction to the U disk through the message server so that the U disk responds to the resource synchronization instruction to download corresponding resources from the cloud server.
In some embodiments, the method further comprises: receiving U disk information sent by the U disk through the message server, wherein the U disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
In some embodiments, the method further comprises: receiving a user modification or deletion operation of a target resource in the stored resource list; and generating a corresponding modification or deletion instruction based on the modification or deletion operation, and sending the modification or deletion instruction to the U disk through the message server so that the U disk carries out corresponding modification or deletion processing on the target resource.
In some embodiments, the resources on the cloud server are encrypted; the method further comprises the steps of: receiving a decryption key sent by a cloud server; and sending the decryption key to the U disk through a message server, so that the U disk decrypts the encrypted resources downloaded from the cloud server according to the decryption key when receiving the resource display instruction.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the resource downloading method provided in the embodiment of the present invention has similar principles and technical effects to those of the foregoing embodiment, and will not be described in detail herein.
Fig. 8 is a schematic structural diagram of a resource downloading device provided by an embodiment of the present invention, which is applied to a usb disk having a networking function in a resource downloading system, where the resource downloading system includes the usb disk, a message server, a mobile terminal, and a cloud server, where resources are stored in the cloud server; as shown in fig. 8, the resource downloading apparatus includes:
a first receiving module 801, configured to receive a resource synchronization instruction sent by the mobile terminal through the message server, where the resource synchronization instruction includes resource download address information, where the resource download address information is acquired by the mobile terminal from a cloud server; a first sending module 802, configured to send a resource downloading request to the cloud server according to the resource downloading address information; the first receiving module 801 is further configured to receive a resource sent by the cloud server in response to the resource downloading request.
In some embodiments, the first sending module 802 is further configured to determine usb disk information, and send the usb disk information to the mobile terminal through the message server; the USB flash disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
In some embodiments, the resource downloading device further comprises a first processing module 803; the first receiving module 801 is further configured to receive a modification or deletion instruction sent by the mobile terminal through the message server, and the first processing module 803 is configured to perform corresponding modification or deletion processing on a target resource in the stored resource list according to the modification or deletion instruction.
In some embodiments, the resources on the cloud server are encrypted; the first receiving module 801 is specifically configured to receive an encrypted resource and a corresponding decryption key sent by the cloud server in response to the resource download request; the first processing module 803 is specifically configured to: and decrypting the encrypted resource based on the decryption key when a resource display instruction is received.
In some embodiments, the resources on the cloud server are encrypted; the first receiving module 801 is further configured to receive a decryption key sent by the mobile terminal through the message server, where the decryption key is obtained by the mobile terminal from the cloud server; receiving the encrypted resources sent by the cloud server in response to the resource downloading request; the first processing module 803 is further configured to decrypt the encrypted resource based on the decryption key when receiving a resource presentation instruction.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and corresponding beneficial effects of the resource downloading device described above may refer to the corresponding process in the foregoing method example, which is not described herein again.
Fig. 9 is a schematic structural diagram of another resource downloading device provided in an embodiment of the present invention, which is applied to a mobile terminal in a resource downloading system, where the resource downloading system includes a usb disk with a networking function, a message server, the mobile terminal, and a cloud server, where resources are stored in the cloud server, as shown in fig. 9, and the resource downloading device includes:
The second receiving module 901 is configured to receive resource download address information sent by the cloud server; and the second sending module 902 is configured to generate a resource synchronization instruction based on the resource download address information, and send the resource synchronization instruction to the usb disk through the message server, so that the usb disk responds to the resource synchronization instruction, and downloads a corresponding resource from the cloud server.
In some embodiments, the second receiving module 901 is further configured to receive usb disk information sent by a usb disk through the message server, where the usb disk information includes at least one of the following: version number, remaining storage capacity, list of stored resources.
In some embodiments, the second receiving module 901 is further configured to receive a modification or deletion operation of the target resource in the stored resource list by a user; the second sending module 902 is further configured to generate a corresponding modification or deletion instruction based on the modification or deletion operation, and send the modification or deletion instruction to the usb disk through the message server, so that the usb disk performs a corresponding modification or deletion process on the target resource.
In some embodiments, the resources on the cloud server are encrypted; the second receiving module 901 is further configured to receive a decryption key sent by the cloud server; the second sending module 902 is further configured to send the decryption key to the usb disk through a message server, so that the usb disk decrypts the encrypted resource downloaded from the cloud server according to the decryption key when receiving the resource display instruction.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and corresponding beneficial effects of the resource downloading device described above may refer to the corresponding process in the foregoing method example, which is not described herein again.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention. As shown in fig. 10, the electronic device includes a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004, wherein the processor 1001, the communication interface 1002, the memory 1003 complete communication with each other through the communication bus 1004,
a memory 1003 for storing a computer program;
in one embodiment of the present invention, the processor 1001 is configured to implement the steps of the resource downloading method provided in any of the foregoing method embodiments when executing the program stored in the memory 1003.
The implementation principle and technical effects of the electronic device provided by the embodiment of the invention are similar to those of the above embodiment, and are not repeated here.
The memory 1003 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. The memory 1003 has a storage space for program code for performing any of the method steps described above. For example, the memory space for the program code may include individual program code for implementing individual steps in the above method, respectively. The program code can be read from or written to one or more computer program products. These computer program products comprise a program code carrier such as a hard disk, compact Disk (CD), memory card or floppy disk. Such computer program products are typically portable or fixed storage units. The storage unit may have a memory segment or a memory space or the like arranged similarly to the memory 1003 in the above-described electronic device. The program code may be compressed, for example, in a suitable form. In general, the storage unit comprises a program for executing the steps of the method according to an embodiment of the invention, i.e. codes that can be read by a processor, such as 1001, for example, which when run by an electronic device, cause the electronic device to perform the steps in the method described above.
Embodiments of the present invention also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the resource downloading method described above.
The computer-readable storage medium may be embodied in the apparatus/means described in the above embodiments; or may exist alone without being assembled into the apparatus/device. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present invention.
According to embodiments of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (14)

1. The resource downloading method is characterized by being applied to a USB flash disk with a networking function in a resource downloading system, wherein the resource downloading system comprises the USB flash disk, a message server, a mobile terminal and a cloud server, and the cloud server stores resources;
receiving a resource synchronization instruction sent by the mobile terminal through the message server, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from a cloud server;
sending a resource downloading request to the cloud server according to the resource downloading address information;
and receiving the resource sent by the cloud server in response to the resource downloading request.
2. The method according to claim 1, wherein the method further comprises:
determining U disk information and sending the U disk information to the mobile terminal through the message server;
the USB flash disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
3. The method according to claim 2, wherein the method further comprises:
and receiving a modification or deletion instruction sent by the mobile terminal through the message server, and carrying out corresponding modification or deletion processing on the target resource in the stored resource list according to the modification or deletion instruction.
4. A method according to any one of claims 1 to 3, wherein the resources on the cloud server are encrypted; the receiving cloud server responds to the resource sent by the resource downloading request, and the receiving cloud server comprises the following steps:
receiving an encrypted resource and a corresponding decryption key sent by a cloud server in response to the resource downloading request;
the method further comprises the steps of: and decrypting the encrypted resource based on the decryption key when a resource display instruction is received.
5. A method according to any one of claims 1 to 3, wherein the resources on the cloud server are encrypted; the method further comprises the steps of:
receiving a decryption key sent by the mobile terminal through the message server, wherein the decryption key is acquired by the mobile terminal from the cloud server;
the receiving cloud server responds to the resource sent by the resource downloading request, and the receiving cloud server comprises the following steps:
receiving the encrypted resources sent by the cloud server in response to the resource downloading request;
the method further comprises the steps of: and decrypting the encrypted resource based on the decryption key when a resource display instruction is received.
6. The resource downloading method is characterized by being applied to a mobile terminal in a resource downloading system, wherein the resource downloading system comprises a USB flash disk with a networking function, a message server, the mobile terminal and a cloud server, and the cloud server stores resources;
receiving resource downloading address information sent by a cloud server;
and generating a resource synchronization instruction based on the resource downloading address information, and sending the resource synchronization instruction to the U disk through the message server so that the U disk responds to the resource synchronization instruction to download corresponding resources from the cloud server.
7. The method of claim 6, wherein the method further comprises:
receiving U disk information sent by the U disk through the message server, wherein the U disk information comprises at least one of the following: version number, remaining storage capacity, list of stored resources.
8. The method of claim 7, wherein the method further comprises:
receiving a user modification or deletion operation of a target resource in the stored resource list;
and generating a corresponding modification or deletion instruction based on the modification or deletion operation, and sending the modification or deletion instruction to the U disk through the message server so that the U disk carries out corresponding modification or deletion processing on the target resource.
9. The method according to any one of claims 6 to 8, wherein the resources on the cloud server are encrypted; the method further comprises the steps of:
receiving a decryption key sent by a cloud server;
and sending the decryption key to the U disk through a message server, so that the U disk decrypts the encrypted resources downloaded from the cloud server according to the decryption key when receiving the resource display instruction.
10. The resource downloading device is characterized by being applied to a USB flash disk with a networking function in a resource downloading system, wherein the resource downloading system comprises the USB flash disk, a message server, a mobile terminal and a cloud server, and the cloud server stores resources;
the first receiving module is used for receiving a resource synchronization instruction sent by the mobile terminal through the message server, wherein the resource synchronization instruction comprises resource downloading address information, and the resource downloading address information is acquired by the mobile terminal from the cloud server;
the first sending module is used for sending a resource downloading request to the cloud server according to the resource downloading address information;
the first receiving module is further configured to receive a resource sent by the cloud server in response to the resource downloading request.
11. The resource downloading device is characterized by being applied to a mobile terminal in a resource downloading system, wherein the resource downloading system comprises a USB flash disk with a networking function, a message server, the mobile terminal and a cloud server, and the cloud server stores resources;
the second receiving module is used for receiving the resource downloading address information sent by the cloud server;
and the second sending module is used for generating a resource synchronization instruction based on the resource downloading address information, and sending the resource synchronization instruction to the U disk through the message server so that the U disk responds to the resource synchronization instruction and downloads corresponding resources from the cloud server.
12. The resource downloading system is characterized by comprising a USB flash disk with a networking function, a message server, a mobile terminal and a cloud server, wherein resources are stored on the cloud server, the mobile terminal is in communication connection with the USB flash disk through the message server, and the USB flash disk is in communication connection with the cloud server;
the method for downloading the resources comprises the steps of a method for downloading the resources according to any one of claims 1 to 5, wherein the USB flash disk is used for realizing the steps of the method for downloading the resources according to any one of claims 6 to 9, and the mobile terminal is used for realizing the steps of the method for downloading the resources according to any one of claims 1 to 5.
13. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the resource downloading method according to any one of claims 1-9 when executing a program stored on a memory.
14. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor implements the steps of the resource downloading method according to any of claims 1-9.
CN202310964884.1A 2023-08-01 2023-08-01 Resource downloading method, device, electronic equipment and computer readable storage medium Pending CN117118971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310964884.1A CN117118971A (en) 2023-08-01 2023-08-01 Resource downloading method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310964884.1A CN117118971A (en) 2023-08-01 2023-08-01 Resource downloading method, device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117118971A true CN117118971A (en) 2023-11-24

Family

ID=88793887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310964884.1A Pending CN117118971A (en) 2023-08-01 2023-08-01 Resource downloading method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117118971A (en)

Similar Documents

Publication Publication Date Title
US7272859B2 (en) Information providing device and method
US8280986B2 (en) Mobile terminal and associated storage devices having web servers, and method for controlling the same
KR101496875B1 (en) Apparatus and methods for retrieving/downloading content on a communication device
CN102129378B (en) A kind of software menu updating method and device
EP2628125B1 (en) Method and apparatus for downloading drm module
CN104539977A (en) Live broadcast previewing method and device
EP2551766A1 (en) Method and system for download of data package
CN104410660A (en) Method and device of downloading multimedia resources as well as router and server
CN109521956A (en) A kind of cloud storage method, apparatus, equipment and storage medium based on block chain
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
CN110046000B (en) Applet running method and device
KR102048750B1 (en) Method and system for providing secure message
CN109218793A (en) Video loading method, device, electronic equipment and computer readable storage medium
CN113656713A (en) Network resource processing method, device and system
JP2014106690A (en) Terminal equipment, server, content distribution system, content distribution method and program
CN104639973A (en) Information pushing method and device
CN116107520B (en) S3 object storage protocol encrypted data storage method and system
CN104104676A (en) Audio/video playing method and device
CN109213955B (en) Data processing method and related equipment
CN107463808B (en) Method for calling functional module integrated in operating system
CN117118971A (en) Resource downloading method, device, electronic equipment and computer readable storage medium
CN103312777B (en) A kind of resource search method and client
KR20170006960A (en) Application Providing System using Cloud Virtual File, Cloud Server and Application Providing Method, Service Server and Service Method, Mobile and Application Practicing Method
EP3293924B1 (en) Message processing method and device
CN109657480A (en) A kind of document handling method, equipment and computer readable storage medium

Legal Events

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