WO2017140165A1 - 一种存储资源的方法、装置及电子设备 - Google Patents

一种存储资源的方法、装置及电子设备 Download PDF

Info

Publication number
WO2017140165A1
WO2017140165A1 PCT/CN2016/109712 CN2016109712W WO2017140165A1 WO 2017140165 A1 WO2017140165 A1 WO 2017140165A1 CN 2016109712 W CN2016109712 W CN 2016109712W WO 2017140165 A1 WO2017140165 A1 WO 2017140165A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
clip
extracted
address information
link address
Prior art date
Application number
PCT/CN2016/109712
Other languages
English (en)
French (fr)
Inventor
郭镇龙
Original Assignee
北京金山安全软件有限公司
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 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Publication of WO2017140165A1 publication Critical patent/WO2017140165A1/zh
Priority to US16/054,530 priority Critical patent/US10929460B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/81Threshold

Definitions

  • the present invention relates to computer information storage technologies, and in particular, to a method, device and electronic device for storing resources.
  • APP Application
  • a user can use a camera built in or externally in an electronic device to take pictures (photos), and/or video shots, and store them in an electronic device anytime, anywhere; for example, the user can
  • the device is connected to the mobile internet network, and downloads video resources such as movies, animations, and TV dramas from the network side server through the mobile internet, and stores them in the local storage.
  • video resources such as movies, animations, and TV dramas
  • the storage space of electronic devices is generally limited, especially mobile electronic devices.
  • the pictures and/or video that are downloaded or downloaded from the mobile internet network generally require a large storage space.
  • a large storage space For example, for a video that is long and long, it requires a large storage space of the electronic device.
  • the existing storage resource method when storing a large-capacity resource such as a picture, and/or a video, may easily lead to insufficient storage space of the electronic device, so that the number of resources that can be stored is small, and the resource storage efficiency is low; If the storage resource is stored in a manner that increases the storage space of the electronic device, it is necessary to increase the storage medium such as a disk, and the user is more expensive to use. Reduce the user experience.
  • the embodiments of the present invention provide a method, an apparatus, and an electronic device for storing resources, which improve resource storage efficiency.
  • an embodiment of the present invention provides a method for storing a resource, including:
  • the extracted resources stored in the electronic device are replaced with the encapsulated resources.
  • the performing the clip processing on the extracted resource, and encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • the video segment of the first duration and the video segment of the second duration are spliced to obtain a clip-processed resource
  • the link address information corresponding to the extracted resource is encapsulated into the clip-processed resource.
  • the performing the clip processing on the extracted resource, and encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • the link address information corresponding to the extracted resource is encapsulated into the clip-processed resource.
  • the performing the clip processing on the extracted resource, and encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • the link address information corresponding to the extracted resource is encapsulated into the clip-processed resource.
  • the encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • a control corresponding to the link address information corresponding to the extracted resource is set in a predetermined area of the play screen corresponding to the clip-processed resource.
  • the encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • the link address information corresponding to the extracted resource is displayed in a notification bar or a pop-up window.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the tag is a resource that downloads the tag.
  • an embodiment of the present invention provides a device for storing a resource, including: a resource backup module, a backup address obtaining module, a clip processing module, and a replacement module, where
  • a resource backup module configured to extract a resource whose storage size exceeds a preset capacity threshold, and back up the extracted resource to the cloud server;
  • a backup address obtaining module configured to obtain link address information of a resource backed up to the cloud server
  • a clip processing module configured to perform a clip process on the extracted resource, and encapsulate the link address information corresponding to the extracted resource into the clip-processed resource;
  • the replacement module replaces the extracted resources stored in the electronic device with the encapsulated resources.
  • the clip processing module includes: a first clip unit, a second clip unit, a first splicing unit, and a first package unit, where
  • a first editing unit configured to separately clip a preset video segment of a first duration in a header and a tail of the video
  • a second editing unit configured to separately edit a preset video segment of a second duration in a predetermined position of the video other than the head and the tail;
  • a first splicing unit configured to splicing a video segment of a first duration and a video segment of a second duration according to a time sequence of video playback, to obtain a clipped resource
  • a first encapsulating unit configured to encapsulate the link address information corresponding to the extracted resource into the clip-processed resource.
  • the clip processing module includes: a resolution processing unit and a second packaging unit, where
  • a resolution processing unit configured to reduce an image resolution of the extracted resource, and obtain a clip-processed resource
  • a second encapsulating unit configured to encapsulate link address information corresponding to the extracted resource to the In the resource of the clip processing.
  • the clip processing module includes: a target image determining unit, a marking unit, a second splicing unit, and a third packaging unit, where
  • a target image determining unit configured to determine a target image in the extracted resource
  • a marking unit configured to traverse the extracted resources in chronological order, and sequentially mark the extracted resources according to a start time of occurrence of the target image and a period of an end time of the target image disappearing;
  • a second splicing unit configured to delete resources in a time period between an end time of disappearing of the target image and a start time of occurrence of the target image, and splicing the remaining resources to obtain a clip-processed resource
  • a third encapsulating unit configured to encapsulate the link address information corresponding to the extracted resource into the clip-processed resource.
  • the encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • a control corresponding to the link address information corresponding to the extracted resource is set in a predetermined area of the play screen corresponding to the clip-processed resource.
  • the encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • the link address information corresponding to the extracted resource is displayed in a notification bar or a pop-up window.
  • the device further includes: a resource play module and a jump module, where
  • a resource playing module configured to receive a resource play request, and play a resource corresponding to the resource play request
  • a jump module configured to receive, by the user, link address information encapsulated in the played resource, jump to the cloud server mapped by the link address information, and read the corresponding resource for playing.
  • the device further includes:
  • the statistics processing module is configured to count the number of times the corresponding resource is read for playing, and if the number of statistics exceeds a preset threshold, download the resource mapped by the link address information and download the resource. Marking, replacing the corresponding encapsulated resource stored in the electronic device with a resource marked with a download mark.
  • the device further includes:
  • a play processing module configured to determine whether the resource marked with the download mark is played within a preset time threshold, and if not, perform editing processing on the resource marked with the download mark, and the resource marked with the download mark
  • the corresponding link address information is encapsulated into the clip-processed resource, and the resource marked with the download mark stored in the electronic device is replaced with the encapsulated resource.
  • an embodiment of the present invention provides an electronic device, including: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor And a memory disposed on the circuit board; a power supply circuit for powering each circuit or device of the electronic device; a memory for storing executable program code; and the processor operating by reading executable program code stored in the memory
  • the program corresponding to the execution program code is used to perform the following operations:
  • the extracted resources stored in the electronic device are replaced with the encapsulated resources.
  • the embodiment of the present invention further provides a storage medium for storing an application, where the application is used to execute a method for storing a resource provided by an embodiment of the present invention.
  • an embodiment of the present invention provides an application program for performing a method for storing resources provided by an embodiment of the present invention.
  • the method, the device, and the electronic device for storing the resource provided by the embodiment of the present invention extract the resource whose storage size exceeds the preset capacity threshold, back up the extracted resource to the cloud server, and obtain the link address information of the resource backed up to the cloud server;
  • the extracted resource is subjected to a clipping process, and the link address information corresponding to the extracted resource is encapsulated into the clip-processed resource;
  • the source replaces the extracted resource stored in the electronic device.
  • FIG. 1 is a schematic flowchart of a method for storing a resource according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a process of performing a clipping process on the extracted resource, and encapsulating the link address information corresponding to the extracted resource into a clip-processed resource according to the first embodiment of the present invention
  • FIG. 3 is a schematic flowchart of encapsulating the extracted resource, and encapsulating the link address information corresponding to the extracted resource into the clip-processed resource according to the second embodiment of the present invention
  • FIG. 4 is a schematic flowchart of encapsulating the extracted resource and encapsulating the link address information corresponding to the extracted resource into the clip-processed resource according to the third embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus for storing a resource according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of an electronic device according to the present invention.
  • FIG. 1 is a schematic flowchart of a method for storing a resource according to an embodiment of the present invention. Referring to Figure 1, the method includes:
  • Step 11 Extract a resource whose storage size exceeds a preset capacity threshold, and prepare the extracted resource. Share to the cloud server;
  • the capacity threshold may be set according to the actual needs of the user, for example, it may be set to 10M, 20M, 50M, 80M, etc., which is not limited in this embodiment of the present invention.
  • each application operator attracts users to participate in and use the application function, and provides various extended application function services.
  • a cloud storage service is provided, and the cloud storage service is an online storage mode (Virtual Storage).
  • the technology after configuring multiple storage servers as storage pools, is placed in the network cloud, so that users with storage needs, and/or enterprises, can use one or more virtual ones in the serviced storage pool through the subscription mode.
  • Storage server without the need to purchase storage media separately.
  • the cloud server guides the user to data storage by providing a web application service programming interface (API) or providing a web-based user interface.
  • API web application service programming interface
  • the cloud server is used to remotely back up a large-capacity resource stored in the electronic device, so as to reduce the cost of the storage medium such as a disk.
  • resources include, but are not limited to, pictures, audio, video, text, and the like.
  • the image format may be a bitmap (BMP, Bitmap) format, or may be a Joint Photographic Experts Group (JPEG) format, or may be a GIF (Graphics Interchange Format) or the like, and the video format may be It may be a real-time media (RM, Real Media) format, or may be an audio video interleaved format (AVI), which is not limited in this embodiment of the present invention.
  • BMP Bitmap
  • JPEG Joint Photographic Experts Group
  • GIF Graphics Interchange Format
  • the resource is a video.
  • the method may further include:
  • the method may also include:
  • the extracted resources are transmitted using a Secure Sockets Layer (SSL) protocol.
  • SSL Secure Sockets Layer
  • the resource whose storage size exceeds the preset capacity threshold is extracted in a timed or untimed manner, and the extracted resource is a newly stored resource exceeding a preset capacity threshold after the last extraction.
  • Step 12 Obtain link address information of a resource backed up to the cloud server.
  • a resource folder is set for each uploaded resource, and each resource folder corresponds to a link address information for storing the storage path of the resource, that is, each resource corresponds to a link.
  • Address information includes, but is not limited to, a Uniform Resource Locator (URL), IP address information, and HyperText Transfer Protocol (HTTP) information.
  • URL Uniform Resource Locator
  • IP address information IP address information
  • HTTP HyperText Transfer Protocol
  • the user when the user uploads the resource, the user can select the storage path and the storage folder for the resource, and the cloud server displays the link address information of the storage folder, so that the user can obtain the link address information of the resource.
  • the cloud server may return the link address information corresponding to the resource to the electronic device after storing the transferred resource.
  • Step 13 performing a clipping process on the extracted resource, and encapsulating the link address information corresponding to the extracted resource into the clip-processed resource;
  • FIG. 2 is a first embodiment of the present invention, and the extracted resource is subjected to a clipping process, and the link address information corresponding to the extracted resource is encapsulated to Schematic diagram of the process in the clipped resource.
  • the process includes:
  • Step 21 respectively editing a video segment of a first duration that is preset in the head and the tail of the video;
  • the first duration may be set according to actual needs, for example, may be set to 2 seconds, 5 seconds, or the like.
  • the clip video head starts the first 2 seconds of the video picture, and the video picture 2 seconds before the end of the clip video end.
  • Step 22 respectively, in a predetermined position of the video except the head and the tail, respectively editing a video segment of a second duration that is preset;
  • the video predetermined location includes: a quarter position of the video, a position of one-half, and a position of three-quarters. For example, a 2-second video picture starting at a quarter of the clip video, a 2 second video picture starting at one-half of the position of the clip video, and a 2 second video starting at three-quarters of the clip video Picture.
  • the video predetermined location may also include other locations of the video that are set in advance, which is not limited by the embodiment of the present invention.
  • the second duration may be set to be equal to the first duration, or may be set to be different from the first duration.
  • Step 23 splicing the video segment of the first duration and the video segment of the second duration according to the time sequence of the video playing, to obtain the clipped resource;
  • the video picture of the first 2 seconds of the video head is sequentially spliced, the video picture 2 seconds before the end of the video end, the 2 second video picture starting from the position of the quarter of the video, and the video 2 A 2-second video screen starting from one of the positions and a two-second video starting from three-quarters of the video, and the clipped resources are obtained.
  • Resources regarding splicing clips are well known techniques and will not be described in detail herein.
  • Step 24 Encapsulate the link address information corresponding to the extracted resource into the clip-processed resource.
  • the encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • the link address information corresponding to the extracted resource is displayed in a notification bar or a pop-up window.
  • FIG. 3 is a second embodiment of the present invention, performing the editing process on the extracted resource, and encapsulating the link address information corresponding to the extracted resource into the clip processing.
  • Step 31 reducing an image resolution of the extracted resource, and obtaining a clip-processed resource
  • Step 32 Encapsulate the link address information corresponding to the extracted resource into the clip-processed resource.
  • one pixel point may be extracted by every four pixel points or three pixel points or other plurality of pixel points in the image of the original resource.
  • FIG. 4 is a schematic flowchart of encapsulating the extracted resource and encapsulating the link address information corresponding to the extracted resource into the clip-processed resource according to the third embodiment of the present invention. Referring to Figure 4, the process includes:
  • Step 41 Determine a target image in the extracted resource.
  • the target image may be a person or thing related to the user.
  • the target image may be an image that is not preset in the video or an image selected from the played video.
  • Step 42 traversing the extracted resources in chronological order, and sequentially marking the extracted resources according to a start time of occurrence of the target image and a period of an end time of the target image disappearing;
  • Step 43 Delete a resource in a time period between an end time of disappearing of the target image and a start time of occurrence of the target image, and splicing the remaining resources to obtain a clip-processed resource;
  • Step 44 Encapsulate the link address information corresponding to the extracted resource into the clip-processed resource.
  • the user can determine the target image, apply the video image recognition and the image tracking technology, and identify the time point at which the target image begins to appear in the extracted video and the time point at which the disappearance begins, and the time point from the beginning to the beginning
  • the time period between the disappearing time points is the active time period of the target image, and by deleting the resources of the time period other than the active time period of the target image, the storage space required for resource storage can be effectively reduced. For example, if the total length of a video resource is 1000 seconds, the period according to the start time of the target image and the end time of the disappearance of the target image are marked as follows:
  • the clipped resources include: 10 seconds to 15 seconds of resource fragments, 121 seconds to 135 seconds of resource fragments, 192 seconds to 198 seconds of resource fragments, 652 seconds to 663 seconds of resource fragments, and, 856 seconds to 864 seconds of resource fragments.
  • the method further includes:
  • Clip processing tags for encapsulated resources Clip processing tags for encapsulated resources.
  • the stored resource carries a clip processing flag, it indicates that the stored resource is a clip version, and the full version is stored in the cloud server.
  • Step 14 replace the extracted resources stored in the electronic device with the encapsulated resources.
  • the extracted resource (original resource) in the storage directory in the electronic device is deleted, and the encapsulated resource is stored in the storage directory where the original resource is located in the electronic device.
  • the required storage space can be effectively reduced, and on the other hand, the user can know the resource information stored by the cloud server.
  • the extracted resource is backed up to the cloud server by extracting the resource whose storage size exceeds the preset capacity threshold; the link address information of the resource backed up to the cloud server is obtained; and the extracted resource is edited. Encapsulating the link address information corresponding to the extracted resource into the clip-processed resource; replacing the extracted resource stored in the electronic device with the encapsulated resource.
  • the required amount can be effectively reduced.
  • Storage space eliminates the need to add storage media such as disks to electronic devices, and can store a large number of resources, which effectively improves resource storage efficiency and reduces user usage costs.
  • the method may further include:
  • Step 15 Receive a resource play request, and play a resource corresponding to the resource play request.
  • Step 16 the user receives the link address information encapsulated in the played resource, jumps to the cloud server mapped by the link address information, and reads the corresponding resource for playing.
  • the link address information of the corresponding resource stored in the cloud server is displayed, for example, in the upper right corner of the play interface, the link is displayed.
  • the control button corresponding to the address information if the user needs to browse the complete resource, trigger the jump to the cloud server mapped by the control button by clicking the control button, and read the stored corresponding resource for playing.
  • the method may further include:
  • step 17 the number of times the corresponding resource is read for playing is counted. If the number of times of counting exceeds a preset number of times threshold, the resource mapped by the link address information is downloaded and downloaded, and the resource marked with the download mark is replaced by the resource. Corresponding said encapsulated resources in the electronic device.
  • the number threshold can be set according to actual needs, for example, it can be set to 2 times, 3 times, and the like.
  • the user can go to the cloud server to play the original resource online. If the number of online broadcasts exceeds 2 times, the user needs to browse the resource frequently.
  • the resource is a resource that the user frequently operates.
  • a copy of the original resource to the local memory may be cached for subsequent playback by the user.
  • the method may further include:
  • the method may further include:
  • Step 18 It is judged whether the resource marked with the download mark is played within the preset time threshold, and if not, the resource marked with the download mark is clip-processed, and the link corresponding to the resource marked with the download mark is linked. Address information is encapsulated into clipped resources and utilized by encapsulation The resource replaces the resource tagged with the download tag stored in the electronic device.
  • the time threshold is set according to actual needs, for example, may be set to January, February, and the like. For example, if the original resource is downloaded and cached from the cloud server, that is, the resource marked with the download tag is not played by the user within 1 month, the cached tag is automatically replaced with the clipped resource with the download tag. Resources.
  • FIG. 5 is a schematic structural diagram of an apparatus for storing a resource according to an embodiment of the present invention.
  • the device includes: a resource backup module 51, a backup address obtaining module 52, a clip processing module 53, and a replacement module 54, wherein
  • the resource backup module 51 is configured to extract a resource whose storage size exceeds a preset capacity threshold, and back up the extracted resource to the cloud server;
  • resources include, but are not limited to, pictures, audio, video, text, and the like.
  • the picture format includes but is not limited to: a bitmap format, a joint image expert group format, an image interchange format, and the like
  • the video format includes but is not limited to: a real-time media format, an audio video interlace format, and the like.
  • the method may further include:
  • the resource backup module 51 may also be configured to transmit the extracted resources by using a secure socket layer protocol.
  • the backup address obtaining module 52 is configured to obtain link address information of resources backed up to the cloud server;
  • the cloud server when storing the received resource, sets a resource folder for each uploaded resource, and each resource folder corresponds to a link address storing a storage path of the resource.
  • Information that is, each resource corresponds to a link address information.
  • the link address information includes but is not limited to: a uniform resource locator, an IP address information, and a hypertext transfer protocol information.
  • the clip processing module 53 is configured to perform a clip process on the extracted resource, and encapsulate the link address information corresponding to the extracted resource into the clip-processed resource;
  • the clip processing module 53 includes: a first clip unit, a second clip unit, a first splicing unit, and a first package unit (not shown), where
  • a first editing unit configured to separately clip a preset video segment of a first duration in a header and a tail of the video
  • a second editing unit configured to separately edit a preset video segment of a second duration in a predetermined position of the video other than the head and the tail;
  • the video predetermined location includes: a quarter position of the video, a position of one-half, and a position of three-quarters.
  • a first splicing unit configured to splicing a video segment of a first duration and a video segment of a second duration according to a time sequence of video playback, to obtain a clipped resource
  • a first encapsulating unit configured to encapsulate the link address information corresponding to the extracted resource into the clip-processed resource.
  • the clip processing module 53 includes: a resolution processing unit and a second package unit, where
  • a resolution processing unit configured to reduce an image resolution of the extracted resource, and obtain a clip-processed resource
  • a second encapsulating unit configured to encapsulate the link address information corresponding to the extracted resource into the clip-processed resource.
  • the clip processing module 53 includes: a target image determining unit, a marking unit, a second splicing unit, and a third packaging unit, where
  • a target image determining unit configured to determine a target image in the extracted resource
  • the target image may be a person or an object related to the user.
  • the target image It can be either an image that is not preset in the video or an image that is selected from the played video.
  • a marking unit configured to traverse the extracted resources in chronological order, and sequentially mark the extracted resources according to a start time of occurrence of the target image and a period of an end time of the target image disappearing;
  • a second splicing unit configured to delete resources in a time period between an end time of disappearing of the target image and a start time of occurrence of the target image, and splicing the remaining resources to obtain a clip-processed resource
  • a third encapsulating unit configured to encapsulate the link address information corresponding to the extracted resource into the clip-processed resource.
  • the encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • a control corresponding to the link address information corresponding to the extracted resource is set in a predetermined area of the play screen corresponding to the clip-processed resource.
  • the encapsulating the link address information corresponding to the extracted resource into the clip-processed resource includes:
  • the link address information corresponding to the extracted resource is displayed in a notification bar or a pop-up window.
  • the clip processing module 53 is further configured to perform a clip processing flag on the encapsulated resource.
  • the replacement module 54 replaces the extracted resources stored in the electronic device with the encapsulated resources.
  • the extracted resource (original resource) in the storage directory in the electronic device is deleted, and the encapsulated resource is stored in the storage directory where the original resource is located in the electronic device.
  • the required storage space can be effectively reduced, and on the other hand, the user can know the resource information stored by the cloud server.
  • the apparatus further includes: a resource playing module 55 And a jump module 56, wherein
  • the resource playing module 55 is configured to receive a resource play request, and play a resource corresponding to the resource play request;
  • the jump module 56 is configured to receive, by the user, link address information encapsulated in the played resource, jump to the cloud server mapped by the link address information, and read the corresponding resource for playing.
  • the apparatus further includes:
  • the statistics processing module 57 is configured to count the number of times the corresponding resource is read for playing, and if the number of statistics exceeds a preset number of times threshold, download the resource mapped by the link address information, and download the mark, and use the mark with the download mark.
  • the resource replaces the corresponding encapsulated resource stored in the electronic device.
  • the resource backup module 51 may further be configured to traverse the stored resources, obtain the resources without tags, and extract the resources without tags.
  • the tag includes a clip processing tag and a download tag.
  • the apparatus further includes:
  • the play processing module 58 is configured to determine whether the resource marked with the download mark is played within a preset time threshold, and if not, perform editing processing on the resource marked with the download mark, and the mark is marked with a download mark.
  • the link address information corresponding to the resource is encapsulated into the clip-processed resource, and the resource marked with the download mark stored in the electronic device is replaced with the encapsulated resource.
  • An embodiment of the present invention further provides an electronic device, where the electronic device includes the device described in any of the foregoing embodiments.
  • FIG. 6 is a schematic structural diagram of an embodiment of an electronic device according to the present invention, which can implement the process of the embodiment shown in FIG. 1-5 of the present invention.
  • the electronic device may include: a housing 61, a processor 62, and a memory.
  • the circuit board 64 is disposed inside the space enclosed by the housing 61, the processor 62 and the memory 63 are disposed on the circuit board 64; and the power supply circuit 65 is configured to The respective circuits or devices of the above electronic device are powered; the memory 63 is for storing executable program code; the processor 62 is configured to execute a program corresponding to the executable program code by reading the executable program code stored in the memory 63 for execution as follows operating:
  • the extracted resources stored in the electronic device are replaced with the encapsulated resources.
  • FIG. 1-5 of the present invention The description of the embodiment shown in FIG. 1-5 of the present invention is omitted, and the details are not described herein.
  • the electronic device exists in a variety of forms including, but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the embodiment of the present invention further provides a storage medium for storing an application, and the application is used to execute a method for storing a resource provided by an embodiment of the present invention.
  • the embodiment of the present invention further provides an application program for performing a storage resource method provided by an embodiment of the present invention.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are schematic, for example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or a software functional unit. Formal realization.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种存储资源的方法、装置及电子设备。该方法包括:提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器(11);获取备份到所述云端服务器的资源的链接地址信息(12);对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中(13);利用封装的资源替换存储在电子设备中的所述提取的资源(14)。应用该方法,可以提升资源存储效率。

Description

一种存储资源的方法、装置及电子设备
相关申请的交叉引用
本申请要求北京金山安全软件有限公司于2016年02月17日提交的、发明名称为“一种存储资源的方法、装置及电子设备”的、中国专利申请号“201610090277.7”的优先权。
技术领域
本发明涉及计算机信息存储技术,尤其涉及一种存储资源的方法、装置及电子设备。
背景技术
随着计算机通信以及互联网技术的不断发展,电子设备的应用越来越普遍,例如,智能移动电话、个人数字助理、掌上电脑、笔记本电脑得到了越来越广泛的应用。电子设备中安装的应用程序(APP,Application)也越来越多,提供的应用功能也越来越丰富。举例来说,用户可以随时随地,利用内置或外置在电子设备中的摄像头,进行图片(照片)、和/或,视频的拍摄,并存储在电子设备中;再例如,用户可以通过将电子设备连接移动互联网络,通过移动互联网络从网络侧服务器下载电影、动画、电视剧等视频资源,并存储至本地存储器。当需要浏览图片、和/或,视频时,通过视频播放器播放存储的图片、和/或,视频,用以满足用户个性化的需求。
但目前,基于硬盘存储技术以及生产成本的考虑,电子设备的存储空间一般较为有限,尤其是移动电子设备。而拍摄或从移动互联网络下载的图片、和/或,视频,一般所需的存储空间较大,例如,对于一时长较长的视频,需要占用电子设备非常大的存储空间。而现有存储资源的方法,在存储图片、和/或,视频等容量较大的资源时,很容易导致电子设备的存储空间不足,使得能够存储的资源数量较少,资源存储效率较低;而如果通过提升电子设备存储空间的方式存储资源,需要增加磁盘等存储介质,又会导致用户使用成本较高,从而 降低用户的体验。
发明内容
有鉴于此,本发明实施例提供一种存储资源的方法、装置及电子设备,提升资源存储效率。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,本发明实施例提供一种存储资源的方法,包括:
提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;
获取备份到所述云端服务器的资源的链接地址信息;
对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;
利用封装的资源替换存储在电子设备中的所述提取的资源。
可选的,所述对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中包括:
在视频的头部和尾部分别剪辑预先设置的第一时长的视频段;
在除头部和尾部之外的视频预定位置,分别剪辑预先设置的第二时长的视频段;
按照视频播放的时间顺序,将第一时长的视频段以及第二时长的视频段进行拼接,得到经过剪辑处理的资源;
将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
可选的,所述对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中包括:
降低所述提取的资源的图像分辨率,得到经过剪辑处理的资源;
将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
可选的,所述对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中包括:
确定所述提取的资源中的目标图像;
按时间顺序遍历所述提取的资源,按照所述目标图像出现的开始时间以及所述目标图像消失的结束时间的周期,依次标记所述提取的资源;
删除所述目标图像消失的结束时间至所述目标图像出现的开始时间之间的时间段内的资源,对剩余的资源进行拼接得到经过剪辑处理的资源;
将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
可选的,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
在所述经过剪辑处理的资源对应的播放画面的预定区域,设置所述提取的资源对应的链接地址信息对应的控件。
可选的,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
设置在播放所述经过剪辑处理的资源时,以通知栏或弹窗的方式展示所述提取的资源对应的链接地址信息。
可选的,所述方法还包括:
接收资源播放请求,播放资源播放请求对应的资源;
接收用户操作封装在播放的所述资源中的链接地址信息,跳转至所述链接地址信息映射的所述云端服务器,并读取相应资源进行播放。
可选的,所述方法还包括:
统计所述读取相应资源进行播放的次数,如果统计的次数超过预先设置的次数阈值,下载所述链接地址信息映射的资源并进行下载标记,利用标记有下载标记的资源替换存储在所述电子设备中相应的所述封装的资源。
可选的,所述方法还包括:
判断标记有下载标记的资源在预先设置的时间阈值内是否被播放过,如果 否,对所述标记有下载标记的资源进行剪辑处理,将所述标记有下载标记的资源对应的链接地址信息封装至经过剪辑处理的资源中,并利用封装的资源替换存储在电子设备中的所述标记有下载标记的资源。
第二方面,本发明实施例提供一种存储资源的装置,包括:资源备份模块、备份地址获取模块、剪辑处理模块以及替换模块,其中,
资源备份模块,用于提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;
备份地址获取模块,用于获取备份到所述云端服务器的资源的链接地址信息;
剪辑处理模块,用于对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;
替换模块,利用封装的资源替换存储在电子设备中的所述提取的资源。
可选的,所述剪辑处理模块包括:第一剪辑单元、第二剪辑单元、第一拼接单元以及第一封装单元,其中,
第一剪辑单元,用于在视频的头部和尾部分别剪辑预先设置的第一时长的视频段;
第二剪辑单元,用于在除头部和尾部之外的视频预定位置,分别剪辑预先设置的第二时长的视频段;
第一拼接单元,用于按照视频播放的时间顺序,将第一时长的视频段以及第二时长的视频段进行拼接,得到经过剪辑处理的资源;
第一封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
可选的,所述剪辑处理模块包括:分辨率处理单元以及第二封装单元,其中,
分辨率处理单元,用于降低所述提取的资源的图像分辨率,得到经过剪辑处理的资源;
第二封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经 过剪辑处理的资源中。
可选的,所述剪辑处理模块包括:目标图像确定单元、标记单元、第二拼接单元以及第三封装单元,其中,
目标图像确定单元,用于确定所述提取的资源中的目标图像;
标记单元,用于按时间顺序遍历所述提取的资源,按照所述目标图像出现的开始时间以及所述目标图像消失的结束时间的周期,依次标记所述提取的资源;
第二拼接单元,用于删除所述目标图像消失的结束时间至所述目标图像出现的开始时间之间的时间段内的资源,对剩余的资源进行拼接得到经过剪辑处理的资源;
第三封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
可选的,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
在所述经过剪辑处理的资源对应的播放画面的预定区域,设置所述提取的资源对应的链接地址信息对应的控件。
可选的,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
设置在播放所述经过剪辑处理的资源时,以通知栏或弹窗的方式展示所述提取的资源对应的链接地址信息。
可选的,所述装置还包括:资源播放模块以及跳转模块,其中,
资源播放模块,用于接收资源播放请求,播放资源播放请求对应的资源;
跳转模块,用于接收用户操作封装在播放的所述资源中的链接地址信息,跳转至所述链接地址信息映射的所述云端服务器,并读取相应资源进行播放。
可选的,所述装置还包括:
统计处理模块,用于统计所述读取相应资源进行播放的次数,如果统计的次数超过预先设置的次数阈值,下载所述链接地址信息映射的资源并进行下载 标记,利用标记有下载标记的资源替换存储在所述电子设备中相应的所述封装的资源。
可选的,所述装置还包括:
播放处理模块,用于判断标记有下载标记的资源在预先设置的时间阈值内是否被播放过,如果否,对所述标记有下载标记的资源进行剪辑处理,将所述标记有下载标记的资源对应的链接地址信息封装至经过剪辑处理的资源中,并利用封装的资源替换存储在电子设备中的所述标记有下载标记的资源。
第三方面,本发明实施例提供一种电子设备,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行如下操作:
提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;
获取备份到所述云端服务器的资源的链接地址信息;
对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;
利用封装的资源替换存储在电子设备中的所述提取的资源。
第四方面,本发明实施例还提供了一种存储介质,用于存储应用程序,所述应用程序用于执行本发明实施例所提供的一种存储资源的方法。
第五方面,本发明实施例还提供了一种应用程序,用于执行本发明实施例所提供的一种存储资源的方法。
本发明实施例提供的存储资源的方法、装置及电子设备,提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;获取备份到云端服务器的资源的链接地址信息;对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;利用封装的资 源替换存储在电子设备中的所述提取的资源。这样,通过将资源备份到云端服务器,自动剪辑资源并将云端服务器存储资源的链接地址信息封装在剪辑的资源中,替换保存在本地的相应资源,可以有效减少所需的存储空间,有效提升了资源存储效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本发明实施例存储资源的方法流程示意图;
图2为本发明第一实施例对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中的流程示意图;
图3为本发明第二实施例对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中的流程示意图;
图4为本发明第三实施例对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中的流程示意图;
图5为本发明实施例存储资源的装置结构示意图;
图6为本发明电子设备一个实施例的结构示意图。
具体实施方式
下面结合附图对本发明实施例进行详细描述。
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
图1为本发明实施例存储资源的方法流程示意图。参见图1,该方法包括:
步骤11,提取存储大小超过预先设置的容量阈值的资源,将提取的资源备 份到云端服务器;
本步骤中,容量阈值可根据用户的实际需要进行设置,例如,可以设置为10M、20M、50M、80M等,本发明实施例对此不作限定。
本发明实施例中,各应用程序运营商为了提升用户的应用功能体验,吸引用户参与并使用应用功能,提供有各类扩展应用功能业务。例如,对于电子设备的有限存储空间,为了降低用户提升电子设备存储空间而采购存储介质的成本,提供了云端存储服务,云端存储服务是一种互联网上存储(Online Storage)的模式,通过虚拟化技术,将多个存储服务器配置为存储池后,置于网络云端中,使得有存储需求的用户、和/或,企业,可通过订阅模式,使用服务化的存储池中的一个或多个虚拟存储服务器,而无需另行购置存储介质。其中,云端服务器通过提供网页(Web)服务应用程序编程接口(API,Application Programming Interface),或提供Web化的用户界面,引导用户进行数据存储。
本发明实施例中,考虑利用云端服务器,对电子设备中存储的较大容量的资源进行远程备份,以降低用户需要增加磁盘等存储介质的成本。
本发明实施例中,资源包括但不限于:图片、音频、视频、文本等。其中,图片格式可以是位图(BMP,Bitmap)格式,也可以是联合图像专家组(JPEG,Joint Photographic Experts Group)格式,还可以是图像互换格式(GIF,Graphics Interchange Format)等,视频格式可以是实时媒体(RM,Real Media)格式,也可以是音频视频交错格式(AVI,Audio Video Interleaved)等,本发明实施例对此不作限定。
较佳地,本发明实施例中,资源为视频。
本发明实施例中,作为一可选实施例,为了增强资源在云端服务器存储的安全性,避免资源被非法访问,在所述将提取的资源备份到云端服务器之后,该方法还可以包括:
对所述提取的资源进行加密处理。
作为另一可选实施例,对于涉及到用户隐私信息的资源,为了增强资源传 输过程中的安全性,该方法还可以包括:
采用安全套接层(SSL,Secure Sockets Layer)协议传输所述提取的资源。
本发明实施例中,可以通过定时或不定时的方式提取存储大小超过预先设置的容量阈值的资源,提取的资源为上一次提取后新存储的超过预先设置的容量阈值的资源。
步骤12,获取备份到所述云端服务器的资源的链接地址信息;
本步骤中,云端服务器在存储接收的资源时,为每一上传的资源设置一资源文件夹,每一资源文件夹对应有一存储该资源的存储路径的链接地址信息,即每一资源对应一链接地址信息。其中,链接地址信息包括但不限于:统一资源定位符(URL,Uniform Resource Locator)、IP地址信息、超文本传输协议(HTTP,HyperText Transfer Protocol)信息。
本发明实施例中,用户在上传资源时,可以通过为该资源选择存储路径以及存储文件夹,云端服务器显示该存储文件夹的链接地址信息,用户从而可以得到该资源的链接地址信息。也可以是云端服务器在存储完该传输的资源后,将该资源对应的链接地址信息返回至电子设备。
步骤13,对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;
本步骤中,以资源为视频为例,作为一可选实施例,图2为本发明第一实施例对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中的流程示意图。参见图2,该流程包括:
步骤21,在视频的头部和尾部分别剪辑预先设置的第一时长的视频段;
本步骤中,第一时长可依据实际需要进行设置,例如,可以设置为2秒、5秒或其他。举例来说,剪辑视频头部开始头2秒的视频画面,以及,剪辑视频尾部结束前2秒的视频画面。
步骤22,在除头部和尾部之外的视频预定位置,分别剪辑预先设置的第二时长的视频段;
本步骤中,作为一可选实施例,视频预定位置包括:视频的四分之一处位置、二分之一处位置以及四分之三处位置。例如,剪辑视频的四分之一处位置开始的2秒视频画面,剪辑视频的二分之一处位置开始的2秒视频画面,以及,剪辑视频的四分之三处位置开始的2秒视频画面。作为另一可选实施例,视频预定位置也可以包括预先设置的视频其他位置,本发明实施例对此不作限定。
本发明实施例中,第二时长可以设置为与第一时长相等,也可以设置为与第一时长不等。
步骤23,按照视频播放的时间顺序,将第一时长的视频段以及第二时长的视频段进行拼接,得到经过剪辑处理的资源;
本步骤中,如前所述,依次拼接视频头部开始头2秒的视频画面、视频尾部结束前2秒的视频画面、视频的四分之一处位置开始的2秒视频画面、视频的二分之一处位置开始的2秒视频画面、视频的四分之三处位置开始的2秒视频画面,得到经过剪辑处理的资源。关于拼接剪辑的资源为公知技术,在此略去详述。
步骤24,将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
本步骤中,作为一可选实施例,将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
在所述经过剪辑处理的资源对应的播放画面的预定区域,设置所述提取的资源对应的链接地址信息对应的控件;或,
设置在播放所述经过剪辑处理的资源时,以通知栏或弹窗的方式展示所述提取的资源对应的链接地址信息。
本发明实施例中,作为另一可选实施例,图3为本发明第二实施例对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中的流程示意图。参见图3,该流程包括:
步骤31,降低所述提取的资源的图像分辨率,得到经过剪辑处理的资源;
步骤32,将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
本发明实施例中,通过降低图像分辨率,可以有效降低资源所需的存储空间。例如,可以是通过在原资源的图像中,每四个像素点或三个像素点或其它多个像素点中,提取一像素点。
作为再一可选实施例,图4为本发明第三实施例对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中的流程示意图。参见图4,该流程包括:
步骤41,确定所述提取的资源中的目标图像;
本步骤中,目标图像可以是与用户相关的人或物。其中,目标图像既可以是预先设置的未在该视频中的图像,也可以是从播放的视频中选取的图像。
步骤42,按时间顺序遍历所述提取的资源,按照所述目标图像出现的开始时间以及所述目标图像消失的结束时间的周期,依次标记所述提取的资源;
步骤43,删除所述目标图像消失的结束时间至所述目标图像出现的开始时间之间的时间段内的资源,对剩余的资源进行拼接得到经过剪辑处理的资源;
步骤44,将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
本发明实施例中,可以通过用户确定目标图像,应用视频图像识别以及图像跟踪技术,识别目标图像在提取的视频中开始出现的时间点以及开始消失的时间点,该开始出现的时间点至开始消失的时间点之间的时间段为目标图像的活动时间段,通过删除目标图像的活动时间段之外的时间段的资源,可以有效降低资源存储所需的存储空间。举例来说,如果一视频资源总长为1000秒,按照目标图像出现的开始时间以及目标图像消失的结束时间的周期,标记如下:
在10秒时标记为开始时间,在15秒时标记为结束时间;
在121秒时标记为开始时间,在135秒时标记为结束时间;
在192秒时标记为开始时间,在198秒时标记为结束时间;
在652秒时标记为开始时间,在663秒时标记为结束时间;
在856秒时标记为开始时间,在864秒时标记为结束时间。
这样,经过剪辑处理的资源包括:10秒至15秒的资源片段、121秒至135秒的资源片段、192秒至198秒的资源片段、652秒至663秒的资源片段、以及,856秒至864秒的资源片段。通过依序拼接各资源片段,可以得到连续的经过剪辑处理的资源。
本发明实施例中,作为一可选实施例,为了便于用户识别经过剪辑处理的资源以及未经剪辑处理的资源,该方法还包括:
对封装的资源进行剪辑处理标记。
本步骤中,如果存储的资源携带有剪辑处理标记,表明该存储的资源为剪辑版,完整版存储在云端服务器。
步骤14,利用封装的资源替换存储在电子设备中的所述提取的资源。
本步骤中,删除电子设备中存储目录下的提取的资源(原资源),将封装的资源存储至电子设备中原资源所在的存储目录下。
本发明实施例中,通过保留经过剪辑处理的资源,一方面可以有效减少所需的存储空间,另一方面可以便于用户知晓云端服务器存储的资源信息。
本发明实施例中,通过提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;获取备份到云端服务器的资源的链接地址信息;对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;利用封装的资源替换存储在电子设备中的所述提取的资源。这样,通过将资源备份到云端服务器,自动剪辑资源并将云端服务器存储资源的链接地址信息封装在剪辑的资源中,替换保存在本地的相应资源,以供用户预览使用,可以有效减少所需的存储空间,无需在电子设备中增加磁盘等存储介质,能够存储的资源数量多,有效提升了资源存储效率,降低了用户使用成本。
作为一可选实施例,该方法还可以包括:
步骤15,接收资源播放请求,播放资源播放请求对应的资源;
步骤16,接收用户操作封装在播放的所述资源中的链接地址信息,跳转至所述链接地址信息映射的所述云端服务器,并读取相应资源进行播放。
本步骤中,如果当前播放携带有标记的经过剪辑处理的资源,则在播放中,会展示存储在所述云端服务器中的相应资源的链接地址信息,例如,在播放界面的右上角,展示链接地址信息对应的控件按钮,如果用户需要浏览完整的资源,则通过点击该控件按钮,触发跳转至控件按钮映射的云端服务器,读取存储的相应资源进行播放。
作为另一可选实施例,该方法还可以包括:
步骤17,统计所述读取相应资源进行播放的次数,如果统计的次数超过预先设置的次数阈值,下载所述链接地址信息映射的资源并进行下载标记,利用标记有下载标记的资源替换存储在所述电子设备中相应的所述封装的资源。
本步骤中,次数阈值可依据实际需要设置,例如,可以设置为2次、3次等。以2次为例,用户可到云端服务器进行原资源的在线播放,如果在线播放次数超过2次,认为用户需要经常浏览该资源,该资源为用户经常操作资源。因而,为了有效减少用户对封装在播放的所述资源中的链接地址信息的操作,可以缓存一份原始资源到本地存储器,以供用户的后续播放。
本发明实施例中,作为一可选实施例,在所述提取存储大小超过预先设置的容量阈值的资源之前,该方法还可以包括:
遍历存储的资源,获取不含标记的资源。
本步骤中,对于包含标记的资源,不进行剪辑处理,其中,标记包含剪辑处理标记以及下载标记。
作为再一可选实施例,该方法还可以包括:
步骤18,判断标记有下载标记的资源在预先设置的时间阈值内是否被播放过,如果否,对所述标记有下载标记的资源进行剪辑处理,将所述标记有下载标记的资源对应的链接地址信息封装至经过剪辑处理的资源中,并利用封装的 资源替换存储在电子设备中的所述标记有下载标记的资源。
本步骤中,如果标记有下载标记的资源在预先设置的时间阈值内被播放过,则不作处理。
本发明实施例中,时间阈值依据实际需要进行设置,例如,可以设置为1月、2月等。举例来说,如果从云端服务器下载并缓存至本地的原始资源,即标记有下载标记的资源在1个月内没有被用户播放,则自动利用经过剪辑处理的资源替换缓存的标记有下载标记的资源。
图5为本发明实施例存储资源的装置结构示意图。参见图5,该装置包括:资源备份模块51、备份地址获取模块52、剪辑处理模块53以及替换模块54,其中,
资源备份模块51,用于提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;
本发明实施例中,资源包括但不限于:图片、音频、视频、文本等。其中,图片格式包括但不限于:位图格式、联合图像专家组格式、图像互换格式等,视频格式包括但不限于:实时媒体格式、音频视频交错格式等。
本发明实施例中,作为一可选实施例,为了增强资源在云端服务器存储的安全性,避免资源被非法访问,在所述将提取的资源备份到云端服务器之后,还可以包括:
对所述提取的资源进行加密处理。
作为另一可选实施例,对于涉及到用户隐私信息的资源,为了增强资源传输过程中的安全性,资源备份模块51还可以用于采用安全套接层协议传输所述提取的资源。
备份地址获取模块52,用于获取备份到所述云端服务器的资源的链接地址信息;
本发明实施例中,云端服务器在存储接收的资源时,为每一上传的资源设置一资源文件夹,每一资源文件夹对应有一存储该资源的存储路径的链接地址 信息,即每一资源对应一链接地址信息。其中,链接地址信息包括但不限于:统一资源定位符、IP地址信息、超文本传输协议信息。
剪辑处理模块53,用于对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;
本发明实施例中,作为一可选实施例,剪辑处理模块53包括:第一剪辑单元、第二剪辑单元、第一拼接单元以及第一封装单元(图中未示出),其中,
第一剪辑单元,用于在视频的头部和尾部分别剪辑预先设置的第一时长的视频段;
第二剪辑单元,用于在除头部和尾部之外的视频预定位置,分别剪辑预先设置的第二时长的视频段;
本发明实施例中,作为一可选实施例,视频预定位置包括:视频的四分之一处位置、二分之一处位置以及四分之三处位置。
第一拼接单元,用于按照视频播放的时间顺序,将第一时长的视频段以及第二时长的视频段进行拼接,得到经过剪辑处理的资源;
第一封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
作为另一可选实施例,剪辑处理模块53包括:分辨率处理单元以及第二封装单元,其中,
分辨率处理单元,用于降低所述提取的资源的图像分辨率,得到经过剪辑处理的资源;
第二封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
作为再一可选实施例,剪辑处理模块53包括:目标图像确定单元、标记单元、第二拼接单元以及第三封装单元,其中,
目标图像确定单元,用于确定所述提取的资源中的目标图像;
本发明实施例中,目标图像可以是与用户相关的人或物。其中,目标图像 既可以是预先设置的未在该视频中的图像,也可以是从播放的视频中选取的图像。
标记单元,用于按时间顺序遍历所述提取的资源,按照所述目标图像出现的开始时间以及所述目标图像消失的结束时间的周期,依次标记所述提取的资源;
第二拼接单元,用于删除所述目标图像消失的结束时间至所述目标图像出现的开始时间之间的时间段内的资源,对剩余的资源进行拼接得到经过剪辑处理的资源;
第三封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
本发明实施例中,作为一可选实施例,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
在所述经过剪辑处理的资源对应的播放画面的预定区域,设置所述提取的资源对应的链接地址信息对应的控件。
作为另一可选实施例,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
设置在播放所述经过剪辑处理的资源时,以通知栏或弹窗的方式展示所述提取的资源对应的链接地址信息。
本发明实施例中,作为一可选实施例,剪辑处理模块53还用于对封装的资源进行剪辑处理标记。
替换模块54,利用封装的资源替换存储在电子设备中的所述提取的资源。
本发明实施例中,删除电子设备中存储目录下的提取的资源(原资源),将封装的资源存储至电子设备中原资源所在的存储目录下。
本发明实施例中,通过保留经过剪辑处理的资源,一方面可以有效减少所需的存储空间,另一方面可以便于用户知晓云端服务器存储的资源信息。
本发明实施例中,作为一可选实施例,该装置还包括:资源播放模块55 以及跳转模块56,其中,
资源播放模块55,用于接收资源播放请求,播放资源播放请求对应的资源;
跳转模块56,用于接收用户操作封装在播放的所述资源中的链接地址信息,跳转至所述链接地址信息映射的所述云端服务器,并读取相应资源进行播放。
本发明实施例中,作为另一可选实施例,该装置还包括:
统计处理模块57,用于统计所述读取相应资源进行播放的次数,如果统计的次数超过预先设置的次数阈值,下载所述链接地址信息映射的资源并进行下载标记,利用标记有下载标记的资源替换存储在所述电子设备中相应的所述封装的资源。
本发明实施例中,作为一可选实施例,资源备份模块51还可以用于遍历存储的资源,获取不含标记的资源后,对不含标记的资源进行提取。
本发明实施例中,标记包含剪辑处理标记以及下载标记。
本发明实施例中,作为再一可选实施例,该装置还包括:
播放处理模块58,用于判断标记有下载标记的资源在预先设置的时间阈值内是否被播放过,如果否,对所述标记有下载标记的资源进行剪辑处理,将所述标记有下载标记的资源对应的链接地址信息封装至经过剪辑处理的资源中,并利用封装的资源替换存储在电子设备中的所述标记有下载标记的资源。
本发明实施例中,如果标记有下载标记的资源在预先设置的时间阈值内被播放过,则不作处理。
本发明实施例还提供一种电子设备,所述电子设备包含前述任一实施例所述的装置。
图6为本发明电子设备一个实施例的结构示意图,可以实现本发明图1-5所示实施例的流程,如图6所示,上述电子设备可以包括:壳体61、处理器62、存储器63、电路板64和电源电路65,其中,电路板64安置在壳体61围成的空间内部,处理器62和存储器63设置在电路板64上;电源电路65,用于为 上述电子设备的各个电路或器件供电;存储器63用于存储可执行程序代码;处理器62通过读取存储器63中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行如下操作:
提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;
获取备份到所述云端服务器的资源的链接地址信息;
对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;
利用封装的资源替换存储在电子设备中的所述提取的资源。
处理器62对上述步骤的具体执行过程以及处理器62通过运行可执行程序代码来进一步执行的步骤,可以参见本发明图1-5所示实施例的描述,在此不再赘述。
该电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子设备。
本发明实施例还提供了一种存储介质,用于存储应用程序,所述应用程序用于执行本发明实施例所提供的一种存储资源的方法。
本发明实施例还提供了一种应用程序,用于执行本发明实施例所提供的一种存储资源的方法。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的 形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (21)

  1. 一种存储资源的方法,其特征在于,该方法包括:
    提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;
    获取备份到所述云端服务器的资源的链接地址信息;
    对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;
    利用封装的资源替换存储在电子设备中的所述提取的资源。
  2. 根据权利要求1所述的方法,其特征在于,所述对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中包括:
    在视频的头部和尾部分别剪辑预先设置的第一时长的视频段;
    在除头部和尾部之外的视频预定位置,分别剪辑预先设置的第二时长的视频段;
    按照视频播放的时间顺序,将第一时长的视频段以及第二时长的视频段进行拼接,得到经过剪辑处理的资源;
    将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
  3. 根据权利要求1或2所述的方法,其特征在于,所述对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中包括:
    降低所述提取的资源的图像分辨率,得到经过剪辑处理的资源;
    将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
  4. 根据权利要求1至3中任意一项所述的方法,其特征在于,所述对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过 剪辑处理的资源中包括:
    确定所述提取的资源中的目标图像;
    按时间顺序遍历所述提取的资源,按照所述目标图像出现的开始时间以及所述目标图像消失的结束时间的周期,依次标记所述提取的资源;
    删除所述目标图像消失的结束时间至所述目标图像出现的开始时间之间的时间段内的资源,对剩余的资源进行拼接得到经过剪辑处理的资源;
    将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
  5. 根据权利要求2至4任一项所述的方法,其特征在于,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
    在所述经过剪辑处理的资源对应的播放画面的预定区域,设置所述提取的资源对应的链接地址信息对应的控件。
  6. 根据权利要求2至4任一项所述的方法,其特征在于,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
    设置在播放所述经过剪辑处理的资源时,以通知栏或弹窗的方式展示所述提取的资源对应的链接地址信息。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述方法还包括:
    接收资源播放请求,播放资源播放请求对应的资源;
    接收用户操作封装在播放的所述资源中的链接地址信息,跳转至所述链接地址信息映射的所述云端服务器,并读取相应资源进行播放。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    统计所述读取相应资源进行播放的次数,如果统计的次数超过预先设置的次数阈值,下载所述链接地址信息映射的资源并进行下载标记,利用标记有下载标记的资源替换存储在所述电子设备中相应的所述封装的资源。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    判断标记有下载标记的资源在预先设置的时间阈值内是否被播放过,如果 否,对所述标记有下载标记的资源进行剪辑处理,将所述标记有下载标记的资源对应的链接地址信息封装至经过剪辑处理的资源中,并利用封装的资源替换存储在电子设备中的所述标记有下载标记的资源。
  10. 一种存储资源的装置,其特征在于,该装置包括:资源备份模块、备份地址获取模块、剪辑处理模块以及替换模块,其中,
    资源备份模块,用于提取存储大小超过预先设置的容量阈值的资源,将提取的资源备份到云端服务器;
    备份地址获取模块,用于获取备份到所述云端服务器的资源的链接地址信息;
    剪辑处理模块,用于对所述提取的资源进行剪辑处理,将所述提取的资源对应的链接地址信息封装至经过剪辑处理的资源中;
    替换模块,利用封装的资源替换存储在电子设备中的所述提取的资源。
  11. 根据权利要求10所述的装置,其特征在于,所述剪辑处理模块包括:第一剪辑单元、第二剪辑单元、第一拼接单元以及第一封装单元,其中,
    第一剪辑单元,用于在视频的头部和尾部分别剪辑预先设置的第一时长的视频段;
    第二剪辑单元,用于在除头部和尾部之外的视频预定位置,分别剪辑预先设置的第二时长的视频段;
    第一拼接单元,用于按照视频播放的时间顺序,将第一时长的视频段以及第二时长的视频段进行拼接,得到经过剪辑处理的资源;
    第一封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
  12. 根据权利要求10或11所述的装置,其特征在于,所述剪辑处理模块包括:分辨率处理单元以及第二封装单元,其中,
    分辨率处理单元,用于降低所述提取的资源的图像分辨率,得到经过剪辑处理的资源;
    第二封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
  13. 根据权利要求10至12中任意一项所述的装置,其特征在于,所述剪辑处理模块包括:目标图像确定单元、标记单元、第二拼接单元以及第三封装单元,其中,
    目标图像确定单元,用于确定所述提取的资源中的目标图像;
    标记单元,用于按时间顺序遍历所述提取的资源,按照所述目标图像出现的开始时间以及所述目标图像消失的结束时间的周期,依次标记所述提取的资源;
    第二拼接单元,用于删除所述目标图像消失的结束时间至所述目标图像出现的开始时间之间的时间段内的资源,对剩余的资源进行拼接得到经过剪辑处理的资源;
    第三封装单元,用于将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中。
  14. 根据权利要求11至13任一项所述的装置,其特征在于,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
    在所述经过剪辑处理的资源对应的播放画面的预定区域,设置所述提取的资源对应的链接地址信息对应的控件。
  15. 根据权利要求11至13任一项所述的装置,其特征在于,所述将所述提取的资源对应的链接地址信息封装至所述经过剪辑处理的资源中包括:
    设置在播放所述经过剪辑处理的资源时,以通知栏或弹窗的方式展示所述提取的资源对应的链接地址信息。
  16. 根据权利要求10至15任一项所述的装置,其特征在于,所述装置还包括:资源播放模块以及跳转模块,其中,
    资源播放模块,用于接收资源播放请求,播放资源播放请求对应的资源;
    跳转模块,用于接收用户操作封装在播放的所述资源中的链接地址信息, 跳转至所述链接地址信息映射的所述云端服务器,并读取相应资源进行播放。
  17. 根据权利要求16所述的装置,其特征在于,所述装置还包括:
    统计处理模块,用于统计所述读取相应资源进行播放的次数,如果统计的次数超过预先设置的次数阈值,下载所述链接地址信息映射的资源并进行下载标记,利用标记有下载标记的资源替换存储在所述电子设备中相应的所述封装的资源。
  18. 根据权利要求17所述的装置,其特征在于,所述装置还包括:
    播放处理模块,用于判断标记有下载标记的资源在预先设置的时间阈值内是否被播放过,如果否,对所述标记有下载标记的资源进行剪辑处理,将所述标记有下载标记的资源对应的链接地址信息封装至经过剪辑处理的资源中,并利用封装的资源替换存储在电子设备中的所述标记有下载标记的资源。
  19. 一种电子设备,其特征在于,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行如权利要求1-9任一项所述的存储资源的方法。
  20. 一种存储介质,其特征在于,用于存储应用程序,所述应用程序用于执行如权利要求1-9任一项所述的存储资源的方法。
  21. 一种应用程序,其特征在于,用于执行如权利要求1-9任一项所述的存储资源的方法。
PCT/CN2016/109712 2016-02-17 2016-12-13 一种存储资源的方法、装置及电子设备 WO2017140165A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/054,530 US10929460B2 (en) 2016-02-17 2018-08-03 Method and apparatus for storing resource and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610090277.7 2016-02-17
CN201610090277.7A CN105760490B (zh) 2016-02-17 2016-02-17 一种存储资源的方法、装置及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/054,530 Continuation US10929460B2 (en) 2016-02-17 2018-08-03 Method and apparatus for storing resource and electronic device

Publications (1)

Publication Number Publication Date
WO2017140165A1 true WO2017140165A1 (zh) 2017-08-24

Family

ID=56330916

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109712 WO2017140165A1 (zh) 2016-02-17 2016-12-13 一种存储资源的方法、装置及电子设备

Country Status (3)

Country Link
US (1) US10929460B2 (zh)
CN (1) CN105760490B (zh)
WO (1) WO2017140165A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760490B (zh) * 2016-02-17 2019-07-23 北京金山安全软件有限公司 一种存储资源的方法、装置及电子设备
CN106817621B (zh) * 2016-12-21 2020-10-02 北京安云世纪科技有限公司 移动终端及其视频备份及播放方法和装置
CN106790581B (zh) * 2016-12-28 2020-12-22 深圳天珑无线科技有限公司 应用数据处理方法、装置及终端
CN106845202B (zh) * 2017-03-09 2020-06-02 北京旷视科技有限公司 用于人脸识别系统的文件存取方法、装置和系统
WO2018177530A1 (en) * 2017-03-31 2018-10-04 Nokia Solutions And Networks Oy Optimizations for cloud storage related data flow
CN107809535A (zh) * 2017-10-30 2018-03-16 努比亚技术有限公司 一种信息处理方法、移动终端和计算机存储介质
JP7024603B2 (ja) * 2018-05-23 2022-02-24 トヨタ自動車株式会社 データ記録装置
CN114095758B (zh) * 2021-11-16 2024-05-24 北京百度网讯科技有限公司 云图像截取方法、相关装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458016A (zh) * 2013-08-21 2013-12-18 小米科技有限责任公司 图片管理的方法、装置及终端设备
US20150082198A1 (en) * 2013-09-13 2015-03-19 Box, Inc. System and method of a multi-functional managing user interface for accessing a cloud-based platform via mobile devices
CN104468774A (zh) * 2014-12-04 2015-03-25 北京奇虎科技有限公司 应用于云盘客户端的数据展示方法及云盘客户端
CN104834713A (zh) * 2015-05-08 2015-08-12 武汉网幂科技有限公司 对终端设备的图像数据进行存储及传输处理的方法及系统
CN105760490A (zh) * 2016-02-17 2016-07-13 北京金山安全软件有限公司 一种存储资源的方法、装置及电子设备
CN105931187A (zh) * 2016-04-29 2016-09-07 北京小米移动软件有限公司 图像处理方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10157184B2 (en) * 2012-03-30 2018-12-18 Commvault Systems, Inc. Data previewing before recalling large data files

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458016A (zh) * 2013-08-21 2013-12-18 小米科技有限责任公司 图片管理的方法、装置及终端设备
US20150082198A1 (en) * 2013-09-13 2015-03-19 Box, Inc. System and method of a multi-functional managing user interface for accessing a cloud-based platform via mobile devices
CN104468774A (zh) * 2014-12-04 2015-03-25 北京奇虎科技有限公司 应用于云盘客户端的数据展示方法及云盘客户端
CN104834713A (zh) * 2015-05-08 2015-08-12 武汉网幂科技有限公司 对终端设备的图像数据进行存储及传输处理的方法及系统
CN105760490A (zh) * 2016-02-17 2016-07-13 北京金山安全软件有限公司 一种存储资源的方法、装置及电子设备
CN105931187A (zh) * 2016-04-29 2016-09-07 北京小米移动软件有限公司 图像处理方法及装置

Also Published As

Publication number Publication date
CN105760490A (zh) 2016-07-13
US10929460B2 (en) 2021-02-23
US20180373736A1 (en) 2018-12-27
CN105760490B (zh) 2019-07-23

Similar Documents

Publication Publication Date Title
WO2017140165A1 (zh) 一种存储资源的方法、装置及电子设备
US20220417567A1 (en) Computerized system and method for automatic highlight detection from live streaming media and rendering within a specialized media player
US10063803B2 (en) Video playback method, device, and system
WO2017121362A1 (zh) 一种信息处理方法及服务器、计算机存储介质
US10706888B2 (en) Methods and systems for creating, combining, and sharing time-constrained videos
TWI711304B (zh) 一種視頻處理方法、用戶端及伺服器
US10565245B2 (en) Method and system for storytelling on a computing device via a mixed-media module engine
US8806340B2 (en) Method and apparatus for embedding media programs having custom user selectable thumbnails
CN111447505B (zh) 视频剪辑方法、网络设备及计算机可读存储介质
WO2017088408A1 (zh) 一种截取视频分享的实现方法和装置
US20140089800A1 (en) Multimedia comment system and multimedia comment method
CN102710789A (zh) 智能终端间数据的交互方法、系统及装置
CN104244079A (zh) 一种视频下载方法及装置
CN101909207A (zh) 视频播放方法及装置
CN104796448A (zh) 网络系统的数据处理方法和装置
US20150156236A1 (en) Synchronize Tape Delay and Social Networking Experience
CN107659831A (zh) 媒体数据处理方法、客户端、及存储介质
CN107333163A (zh) 一种视频处理方法及装置、一种终端及存储介质
WO2019114330A1 (zh) 一种视频播放方法、装置和终端设备
US20150268808A1 (en) Method, Device and System for Multi-Speed Playing
CN112969093A (zh) 互动业务处理方法、装置、设备及存储介质
CN105872857B (zh) 一种处理视频的方法、装置及电子设备
CN108616768B (zh) 多媒体资源的同步播放方法、装置、存储位置及电子装置
US20140047035A1 (en) Distributing collaborative computer editing system
US20170134781A1 (en) Method and apparatus for realizing custom menu, client and server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16890389

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.12.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16890389

Country of ref document: EP

Kind code of ref document: A1