CN107547751A - Media resource store method, media resource save set and terminal device - Google Patents

Media resource store method, media resource save set and terminal device Download PDF

Info

Publication number
CN107547751A
CN107547751A CN201710832669.0A CN201710832669A CN107547751A CN 107547751 A CN107547751 A CN 107547751A CN 201710832669 A CN201710832669 A CN 201710832669A CN 107547751 A CN107547751 A CN 107547751A
Authority
CN
China
Prior art keywords
media resource
album
terminal device
photograph album
title
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.)
Granted
Application number
CN201710832669.0A
Other languages
Chinese (zh)
Other versions
CN107547751B (en
Inventor
汪刚
陈少杰
张文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tai'an Mount Taishan Network Media Co.,Ltd.
Original Assignee
Wuhan Douyu Network Technology 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710832669.0A priority Critical patent/CN107547751B/en
Publication of CN107547751A publication Critical patent/CN107547751A/en
Application granted granted Critical
Publication of CN107547751B publication Critical patent/CN107547751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Media resource store method, media resource save set and terminal device provided by the invention, are related to media resource Techniques of preserving field.Wherein, the media resource store method includes:The title of each photograph album in terminal device is obtained, obtains multiple album names;Judge to whether there is in the multiple album name the title identical album name of media resource example corresponding with needing the media resource that preserves;If the title identical album name of media resource example corresponding with the media resource for needing to preserve in the multiple album name be present, the url addresses of the media resource for needing to preserve are obtained;By media resource corresponding to the url address acquisitions, and the media resource is stored in had with corresponding media resource example in the photograph album of same names.By the above method, media resource can be simply and efficiently stored in the photograph album of terminal device.

Description

Media resource store method, media resource save set and terminal device
Technical field
The present invention relates to media resource Techniques of preserving field, in particular to a kind of media resource store method, media Resource conservation device and terminal device.
Background technology
Media resource refers to image and video resource, with the continuous development of the information processing technology, using the matchmaker of the technology Body resource conservation technology has also obtained increasing application.Wherein, the application in terminal device has obtained user increasingly More concerns.
Study and find through inventor, in existing technology, given if media resource is written in the photograph album of terminal device With preserve, terminal device need perform a series of complex process step, for example, it is desired to consider various types of fault-tolerant outlets, The problems such as empowerment management and memory overflow of photograph album, and then cause existing media resource Techniques of preserving terseness, effect to be present The problem of forthright low.
The content of the invention
In view of this, it is an object of the invention to provide a kind of media resource store method, media resource save set and Terminal device, so that media resource to be simply and efficiently stored in the photograph album of terminal device.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that:
A kind of media resource store method, applied to terminal device.Methods described includes:
The title of each photograph album in terminal device is obtained, obtains multiple album names;
Judge to whether there is media resource example corresponding with the media resource for needing to preserve in the multiple album name Title identical album name;
If the title of media resource example corresponding with the media resource for needing to preserve in the multiple album name be present Identical album name, obtain the url addresses of the media resource for needing to preserve;
It is stored in and corresponding media by media resource corresponding to the url address acquisitions, and by the media resource Resource instances have in the photograph album of same names.
In the embodiment of the present invention preferably selects, in above-mentioned media resource store method, the acquisition terminal device In each photograph album title, the step of obtaining multiple album names includes:
Enumerator is generated to obtain the photograph album resource in the terminal device, the photograph album resource includes multiple photograph albums;
The title of each photograph album in the terminal device is enumerated by the enumerator, obtains multiple album names.
In the embodiment of the present invention preferably selects, in above-mentioned media resource store method, the judgement is the multiple It whether there is the title identical album name of media resource example corresponding with the media resource for needing to preserve in album name The step of include:
By the enumerator successively by obtained multiple album names media corresponding with the media resource for needing to preserve The title of resource instances is compared.
In the embodiment of the present invention preferably selects, in above-mentioned media resource store method, it is described by the url Location obtain corresponding to media resource, and the media resource is stored in there are same names with corresponding media resource example Step in photograph album includes:
Pass through media resource corresponding to the url address acquisitions;
Judge whether media resource example corresponding to the media resource has each photograph album of the access terminal device Authority;
When media resource example corresponding to the media resource has the authority for each photograph album for accessing the terminal device, The media resource is stored in be had in the photograph album of same names with corresponding media resource example.
In the embodiment of the present invention preferably selects, in above-mentioned media resource store method, by the media resource After being stored in the photograph album for having same names with corresponding media resource example, methods described also includes:
Judge to whether there is the media resource in the photograph album;
If the media resource in the photograph album be present, generate and preserve successful first prompting for identifying the media resource Information;
If the media resource is not present in the photograph album, generates and carried for identifying the second of the media resource preservation failure Show information.
In the embodiment of the present invention preferably selects, in above-mentioned media resource store method, methods described also includes:
If the name of media resource example corresponding with the media resource for needing to preserve is not present in the multiple album name Claim identical album name, then generating a media resource example corresponding with the media resource for needing to preserve has same names Photograph album.
The embodiment of the present invention additionally provides a kind of media resource save set, applied to terminal device.The media resource Save set includes:
Album name acquisition module, for obtaining the title of each photograph album in terminal device, obtain multiple album names;
Album name judge module, provided for judging to whether there is in the multiple album name with the media for needing to preserve The title identical album name of media resource example corresponding to source;
Url address acquisition modules, if corresponding with the media resource for needing to preserve for existing in the multiple album name Media resource example title identical album name, obtain the url addresses of media resource for needing to preserve;
Media resource preserving module, for by media resource corresponding to the url address acquisitions, and the media are provided Source is stored in be had in the photograph album of same names with corresponding media resource example.
In the embodiment of the present invention preferably selects, in above-mentioned media resource save set, the album name obtains Module includes:
Enumerator generation unit, for generating enumerator to obtain the photograph album resource in the terminal device, the photograph album Resource includes multiple photograph albums;
Album name acquiring unit, for enumerating the title of each photograph album in the terminal device by the enumerator, Obtain multiple album names.
In the embodiment of the present invention preferably selects, in above-mentioned media resource save set, the media resource preserves Module includes:
Media resource acquiring unit, for passing through media resource corresponding to the url address acquisitions;
Access rights judging unit, institute is accessed for judging whether media resource example corresponding to the media resource has State the authority of each photograph album of terminal device;
Media resource storage unit, the terminal is accessed for having in media resource example corresponding to the media resource During the authority of each photograph album of equipment, the media resource is stored in the phase for having same names with corresponding media resource example In volume.
The embodiment of the present invention also provides a kind of terminal device, including processor, memory and is stored in memory and can The program run on a processor, the processor perform following steps when running the program:
The title of each photograph album in terminal device is obtained, obtains multiple album names;
Judge to whether there is media resource example corresponding with the media resource for needing to preserve in the multiple album name Title identical album name;
If the title of media resource example corresponding with the media resource for needing to preserve in the multiple album name be present Identical album name, obtain the url addresses of the media resource for needing to preserve;
By media resource corresponding to the url address acquisitions, and the media resource is stored in and provided with corresponding media Source instance has in the photograph album of same names.
Media resource store method, media resource save set and terminal device provided by the invention, by simplifying matchmaker Body resource conservation while ensureing that effectively media resource can be preserved, can solve in the process step of the photograph album of terminal device There is the problem of terseness and low efficiency in certainly existing media resource Techniques of preserving, drastically increase media resource preservation side The practicality and reliability of method, media resource save set and terminal device.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Fig. 1 is the structured flowchart of terminal device provided in an embodiment of the present invention.
Fig. 2 is the schematic flow sheet of media resource store method provided in an embodiment of the present invention.
Fig. 3 is the schematic flow sheet of step S110 in Fig. 2.
Fig. 4 is the schematic flow sheet of step S140 in Fig. 2.
Fig. 5 is another schematic flow sheet of media resource store method provided in an embodiment of the present invention.
Fig. 6 is the structured flowchart of media resource save set provided in an embodiment of the present invention.
Fig. 7 is the structured flowchart of album name acquisition module provided in an embodiment of the present invention.
Fig. 8 is the structured flowchart of media resource preserving module provided in an embodiment of the present invention.
Icon:10- terminal devices;20- processors;30- memories;100- media resource save sets;110- photograph album names Claim acquisition module;111- enumerator generation units;113- album name acquiring units;120- album name judge modules;130- Url address acquisition modules;140- media resource preserving modules;141- media resource acquiring units;143- access rights judge single Member;145- media resource storage units.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment only It is the part of the embodiment of the present invention, rather than whole embodiments.The present invention being generally described and illustrated herein in the accompanying drawings The component of embodiment can be configured to arrange and design with a variety of.
Therefore, below the detailed description of the embodiments of the invention to providing in the accompanying drawings be not intended to limit it is claimed The scope of the present invention, but be merely representative of the present invention selected embodiment.It is common based on the embodiment in the present invention, this area The every other embodiment that technical staff is obtained under the premise of creative work is not made, belong to the model that the present invention protects Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.
As shown in figure 1, the embodiments of the invention provide a kind of terminal device 10, including processor 20, memory 30 and It is stored in memory 30 and the program that can be run on processor 20.
Further, in the present embodiment, performed when the operation of processor 20 is stored in the program of memory 30 following Step:The title of each photograph album in terminal device 10 is obtained, obtains multiple album names;Judge in the multiple album name whether In the presence of the title identical album name of media resource example corresponding with needing the media resource that preserves;If the multiple photograph album The title identical album name of media resource example corresponding with needing the media resource that preserves in title be present, described in acquisition Need the url addresses of media resource preserved;By media resource corresponding to the url address acquisitions, and by the media resource Be stored in has in the photograph album of same names with corresponding media resource example.
Alternatively, the particular type of the terminal device 10 is unrestricted, for example, it may be, but be not limited to, intelligent hand Machine, PC (personal computer, PC), tablet personal computer, personal digital assistant (personal digital Assistant, PDA), mobile internet surfing equipment (mobile Internet device, MID) etc. have information processing, receive with And the electronic equipment of transmitting capacity.
Alternatively, the operating system for controlling the terminal device 10 to run is unrestricted, can carry out according to the actual requirements Set, for example, it is the operating systems such as Android, BSD, Linux, IOS, OSX, Windows that can include, but are not limited to.At this In embodiment, the operating system of the terminal device 10 is preferably IOS and OSX operating systems
Alternatively, the specific connected mode between the processor 20 and the memory 30 is unrestricted, for example, can be with It is directly or indirectly to be electrically connected with, to realize the transmission of data or interaction.Also, these elements can pass through one between each other Or a plurality of communication bus or signal wire are realized and are electrically connected with.Wherein, it is stored with the memory 30 with software or firmware (firmware) form is stored in the software function module in the memory 30, and the processor 20 is stored in by operation Software program and module in memory 30, it is each so as to perform such as the media resource save set 100 in the embodiment of the present invention Kind application of function and data processing, that is, realize the media resource store method in the embodiment of the present invention.
The processor 20 is probably a kind of IC chip, has the disposal ability of signal.Above-mentioned processor 20 Can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..It can also be digital signal processor (DSP), application specific integrated circuit (ASIC), scene Programmable gate array (FPGA) either other PLDs, discrete gate or transistor logic, discrete hardware group Part.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with It is microprocessor or any conventional processor etc..
The memory 30 may be, but not limited to, random access memory (Random Access Memory, RAM), Read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 30 is used for storage program, and processor 20 performs described program after execute instruction is received.Further, on State the software program in memory 30 and module may also include operating system.It may include various to be used for management system task The component software of (such as memory management, storage device control, power management etc.) and/or driving, and can be with various hardware or soft Part component mutually communicates, so as to provide the running environment of other software component.
It is appreciated that the structure shown in Fig. 1 is only to illustrate, the terminal device 10 may also include more more than shown in Fig. 1 Either less component or there is the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software Or its combination is realized.
With reference to Fig. 2, the embodiment of the present invention also provides a kind of media resource store method, applied to the terminal device 10. Method and step defined in the relevant flow of methods described can be realized by the processor 20.Below by the tool shown in Fig. 2 Body flow is described in detail.
Step S110, the title of each photograph album in terminal device 10 is obtained, obtains multiple album names.
Step S120, judge to whether there is media corresponding with the media resource for needing to preserve in the multiple album name The title identical album name of resource instances.
Step S130, if it is real media resource corresponding with the media resource for needing to preserve in the multiple album name to be present The title identical album name of example, obtain the url addresses of the media resource for needing to preserve.
Step S140, by media resource corresponding to the url address acquisitions, and by the media resource be stored in it is right The media resource example answered has in the photograph album of same names.
Alternatively, the concrete mode for the title that the terminal device 10 obtains each photograph album is unrestricted, for example, it may be institute State terminal device 10 to count respectively when generating each photograph album and store the title of each photograph album, so as to need to obtain the name of each photograph album Can directly be obtained during title, can also when counted again when needing to obtain the title of each photograph album.With reference to Fig. 3, in this implementation In example, the terminal device 10 can obtain the title of each photograph album by enumerator, i.e. step S110 can include step S111 and step S113.
Step S111, to obtain the photograph album resource in the terminal device 10, the photograph album resource includes generation enumerator Multiple photograph albums.
Step S113, the title of each photograph album in the terminal device 10 is enumerated by the enumerator, obtains multiple phases Volume title.
By the setting of above-mentioned enumerator, the terminal device 10 can be avoided because being counted respectively simultaneously when generating each photograph album Store the title of each photograph album and cause the processor 20 of terminal device 10 and memory 30 the problem of workload is big to be present, effectively Improve the terseness and practicality of the media resource store method.
Alternatively, perform step S120 to judge title whether the specific judgment mode of identical is unrestricted, for example, can divide The title of media resource example is contrasted with each photograph album corresponding to the media resource that will not need to preserve not simultaneously, can also It is that the title that will need media resource example corresponding to the media resource that preserves successively is contrasted with each photograph album.Consider If contrasted the title for the media resource example for needing to preserve with each photograph album simultaneously, the terminal device 10 can be increased Processor 20 workload, in the present embodiment, title can be judged by following steps:Enumerated by described Device is successively compared the title of obtained multiple album names media resource example corresponding with the media resource for needing to preserve Compared with.By the step, when judging to draw the photograph album with same names, stopping, which is compared, to be operated and obtains the photograph album for follow-up The step of use.
With reference to Fig. 4, in the present embodiment, step S140 can include step S141, step S143 and step S145, with Preserve media resource corresponding to the url addresses obtained.
Step S141, pass through media resource corresponding to the url address acquisitions.
Step S143, judge whether media resource example corresponding to the media resource has and access the terminal device 10 Each photograph album authority.
Step S145, there is each phase for accessing the terminal device 10 in media resource example corresponding to the media resource During the authority of volume, the media resource is stored in be had in the photograph album of same names with corresponding media resource example.
By the above method, can solve because arbitrary media resource example can be carried out to each photograph album of terminal device 10 The problem of accessing and causing the media resource for being stored in each photograph album easily illegally to be revealed, it is greatly low to improve the media resource The safety and reliability of store method.
Alternatively, when execution step S143 is judged whether with access rights, specific judgment mode is unrestricted, example Such as, can prestore whether each media resource example has the data for the authority for accessing each photograph album in the terminal device 10, Can also be when performing step S143, whether generation one has the inquiry message of access rights to inquire user, and is connecing Media resource example is with the authority for accessing each photograph album corresponding to assert when receiving the expression of user with access rights.In this reality Apply in example, for the security for meeting the different demands of user, improving the media resource store method, performing step S143 When, whether generation one has the inquiry message of access rights to inquire user, and has in the expression for receiving user and access Media resource example corresponding to assert during authority has the authority for accessing each photograph album.
With reference to Fig. 5, for ease of whether being successfully saved in corresponding photograph album for the media resource for judging to need to preserve, with Avoid preserving unsuccessful and causing media resource to lose, in turn result in the problem of user experience is low, it is in the present embodiment, described Method also includes step S150, step S160 and step S170.
Step S150, judge to whether there is the media resource in the photograph album.
Step S160, if the media resource in the photograph album be present, generate and preserved successfully for identifying the media resource The first prompt message.
Step S170, if the media resource is not present in the photograph album, generates and preserve mistake for identifying the media resource The second prompt message lost.
Further, it is contemplated that when performing step S120, may judge to draw in multiple album names be not present with The situation of the title identical album name of media resource example corresponding to the media resource that preserves is needed, for example, being directed to the matchmaker Body resource instances carried out for the first time during the operation of media resource preservation, or because the demand of user is by corresponding tool The photograph album for having same names is deleted, and therefore, in the present embodiment, methods described also includes:If the multiple album name In the title identical album name of media resource example corresponding with needing the media resource that preserves is not present, then generate one Media resource example corresponding with the media resource for needing to preserve has the photograph album of same names.
With reference to Fig. 6, the embodiment of the present invention also provides a kind of media resource save set 100, applied to the terminal device 10.The media resource save set 100 includes album name acquisition module 110, album name judge module 120, url addresses Acquisition module 130 and media resource preserving module 140.
The album name acquisition module 110, for obtaining the title of each photograph album in terminal device 10, obtain multiple photograph albums Title.In the present embodiment, Fig. 2 step S110 can be performed by the album name acquisition module 110.
The album name judge module 120, for judging to whether there is with needing to preserve in the multiple album name Media resource corresponding to media resource example title identical album name.In the present embodiment, Fig. 2 step S120 can be with Performed by the album name judge module 120.
The url address acquisition modules 130, if being provided for existing in the multiple album name with the media for needing to preserve The title identical album name of media resource example corresponding to source, obtain the url addresses of the media resource for needing to preserve. In the present embodiment, Fig. 2 step S130 can be performed by the url address acquisition modules 130.
The media resource preserving module 140, for by media resource corresponding to the url address acquisitions, and by institute Stating media resource and being stored in has in the photograph album of same names with corresponding media resource example.In the present embodiment, the step of Fig. 2 S140 can be performed by the media resource preserving module 140.
With reference to Fig. 7, in the present embodiment, the album name acquisition module 110 can include enumerator generation unit 111 With album name acquiring unit 113.
The enumerator generation unit 111, for generating enumerator to obtain the photograph album resource in the terminal device 10, The photograph album resource includes multiple photograph albums.In the present embodiment, Fig. 3 step S111 can be by the enumerator generation unit 111 Perform.
The album name acquiring unit 113, for enumerating each phase in the terminal device 10 by the enumerator The title of volume, obtains multiple album names.In the present embodiment, Fig. 3 step S113 can be by the album name acquiring unit 113 perform.
With reference to Fig. 8, in the present embodiment, the media resource preserving module 140 can include media resource acquiring unit 141st, access rights judging unit 143 and media resource storage unit 145.
The media resource acquiring unit 141, for passing through media resource corresponding to the url address acquisitions.This implementation In example, Fig. 4 step S141 can be performed by the media resource acquiring unit 141.
The access rights judging unit 143, for judging whether media resource example has corresponding to the media resource There is the authority for each photograph album for accessing the terminal device 10.In the present embodiment, Fig. 4 step S143 can be by the access rights Judging unit 143 performs.
The media resource storage unit 145, accessed for having in media resource example corresponding to the media resource During the authority of each photograph album of the terminal device 10, the media resource is stored in has phase with corresponding media resource example With in the photograph album of title.In the present embodiment, Fig. 4 step S145 can be performed by the media resource storage unit 145.
In summary, media resource store method provided by the invention, media resource save set 100 and terminal device 10, by simplifying the process step for the photograph album that media resource is stored in terminal device 10, ensureing effectively preserve media While resource, can solve the problems, such as that existing media resource Techniques of preserving has terseness and efficiency is low, greatly carry The high practicality and reliability of media resource store method, media resource save set 100 and terminal device 10.
In several embodiments that the embodiment of the present invention is provided, it should be understood that disclosed apparatus and method, also may be used To realize by another way.Apparatus and method embodiment described above is only schematical, for example, in accompanying drawing Flow chart and block diagram show the device of multiple embodiments according to the present invention, the possibility of method and computer program product is realized Architectural framework, function and operation.At this point, each square frame in flow chart or block diagram can represent module, a program A part for section or code, a part for the module, program segment or code include one or more and are used to realize defined patrol Collect the executable instruction of function.It should also be noted that at some as the function of in the implementation replaced, being marked in square frame Can be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be held substantially in parallel OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or The combination of each square frame and block diagram in flow chart and/or the square frame in flow chart, function or dynamic as defined in performing can be used The special hardware based system made is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, electronic equipment, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes. It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of elements not only include those key elements, but also including The other element being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, other identical element also be present in article or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

  1. A kind of 1. media resource store method, applied to terminal device, it is characterised in that methods described includes:
    The title of each photograph album in terminal device is obtained, obtains multiple album names;
    Judge to whether there is in the multiple album name the name of media resource example corresponding with needing the media resource that preserves Claim identical album name;
    It is if identical in the presence of the title of media resource example corresponding to the media resource with needing to preserve in the multiple album name Album name, obtain the url addresses of media resource for needing to preserve;
    It is stored in and corresponding media resource by media resource corresponding to the url address acquisitions, and by the media resource Example has in the photograph album of same names.
  2. 2. media resource store method according to claim 1, it is characterised in that each photograph album in the acquisition terminal device Title, the step of obtaining multiple album names includes:
    Enumerator is generated to obtain the photograph album resource in the terminal device, the photograph album resource includes multiple photograph albums;
    The title of each photograph album in the terminal device is enumerated by the enumerator, obtains multiple album names.
  3. 3. media resource store method according to claim 2, it is characterised in that described to judge the multiple album name In the step of whether there is the title identical album name of media resource example corresponding with needing the media resource that preserves wrap Include:
    By the enumerator successively by obtained multiple album names media resource corresponding with the media resource for needing to preserve The title of example is compared.
  4. 4. according to the media resource store method described in claim 1-3 any one, it is characterised in that described by described Media resource corresponding to url address acquisitions, and the media resource is stored in corresponding media resource example have it is identical Step in the photograph album of title includes:
    Pass through media resource corresponding to the url address acquisitions;
    Judge whether media resource example corresponding to the media resource has the authority for each photograph album for accessing the terminal device;
    When media resource example corresponding to the media resource has the authority for each photograph album for accessing the terminal device, by institute Stating media resource and being stored in has in the photograph album of same names with corresponding media resource example.
  5. 5. according to the media resource store method described in claim 1-3 any one, it is characterised in that provided by the media After source is stored in the photograph album for having same names with corresponding media resource example, methods described also includes:
    Judge to whether there is the media resource in the photograph album;
    If the media resource in the photograph album be present, generate and preserve successful first prompting letter for identifying the media resource Breath;
    If the media resource is not present in the photograph album, the second prompting letter that failure is preserved for identifying the media resource is generated Breath.
  6. 6. according to the media resource store method described in claim 1-3 any one, it is characterised in that methods described is also wrapped Include:
    If the title phase of media resource example corresponding with the media resource for needing to preserve is not present in the multiple album name Same album name, then generating a media resource example corresponding with the media resource for needing to preserve has the phase of same names Volume.
  7. A kind of 7. media resource save set, applied to terminal device, it is characterised in that the media resource save set bag Include:
    Album name acquisition module, for obtaining the title of each photograph album in terminal device, obtain multiple album names;
    Album name judge module, for judging to whether there is the media resource pair with needing to preserve in the multiple album name The title identical album name for the media resource example answered;
    Url address acquisition modules, if for matchmaker corresponding with the media resource for needing to preserve in the multiple album name be present The title identical album name of body resource instances, obtain the url addresses of the media resource for needing to preserve;
    Media resource preserving module, for by media resource corresponding to the url address acquisitions, and the media resource is protected Be stored in has in the photograph album of same names with corresponding media resource example.
  8. 8. media resource save set according to claim 7, it is characterised in that the album name acquisition module bag Include:
    Enumerator generation unit, for generating enumerator to obtain the photograph album resource in the terminal device, the photograph album resource Including multiple photograph albums;
    Album name acquiring unit, for enumerating the title of each photograph album in the terminal device by the enumerator, obtain Multiple album names.
  9. 9. the media resource save set according to claim 7 or 8, it is characterised in that the media resource preserving module Including:
    Media resource acquiring unit, for passing through media resource corresponding to the url address acquisitions;
    Access rights judging unit, the end is accessed for judging whether media resource example corresponding to the media resource has The authority of each photograph album of end equipment;
    Media resource storage unit, the terminal device is accessed for having in media resource example corresponding to the media resource Each photograph album authority when, the media resource is stored in the photograph album for having same names with corresponding media resource example In.
  10. 10. a kind of terminal device, it is characterised in that including processor, memory and be stored in memory and can be in processor The program of upper operation, the processor perform following steps when running the program:
    The title of each photograph album in terminal device is obtained, obtains multiple album names;
    Judge to whether there is in the multiple album name the name of media resource example corresponding with needing the media resource that preserves Claim identical album name;
    It is if identical in the presence of the title of media resource example corresponding to the media resource with needing to preserve in the multiple album name Album name, obtain the url addresses of media resource for needing to preserve;
    It is stored in and corresponding media resource reality by media resource corresponding to the url address acquisitions, and by the media resource Example has in the photograph album of same names.
CN201710832669.0A 2017-09-15 2017-09-15 Media resource saving method, media resource saving device and terminal equipment Active CN107547751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710832669.0A CN107547751B (en) 2017-09-15 2017-09-15 Media resource saving method, media resource saving device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710832669.0A CN107547751B (en) 2017-09-15 2017-09-15 Media resource saving method, media resource saving device and terminal equipment

Publications (2)

Publication Number Publication Date
CN107547751A true CN107547751A (en) 2018-01-05
CN107547751B CN107547751B (en) 2020-08-04

Family

ID=60963190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710832669.0A Active CN107547751B (en) 2017-09-15 2017-09-15 Media resource saving method, media resource saving device and terminal equipment

Country Status (1)

Country Link
CN (1) CN107547751B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070150479A1 (en) * 2005-12-27 2007-06-28 Flashpoint Technology, Inc. System and method for accessing and managing mobile device metadata
CN101452512A (en) * 2007-12-03 2009-06-10 联想(北京)有限公司 Method and apparatus for implementing file safety storage, and file reading apparatus
CN101834738A (en) * 2010-03-24 2010-09-15 无锡天鸿信息技术有限公司 Centralized management method of storage media
CN102523175A (en) * 2011-12-18 2012-06-27 上海量明科技发展有限公司 Method and system for storing icon files by transmitting data via instant communication
CN102917126A (en) * 2012-10-11 2013-02-06 中兴通讯股份有限公司 Method and system for processing photos
CN103052952A (en) * 2010-08-08 2013-04-17 高通股份有限公司 Apparatus and methods for managing content
CN103390059A (en) * 2013-07-29 2013-11-13 广东欧珀移动通信有限公司 Picture induction processing method and system
KR20160071144A (en) * 2014-12-11 2016-06-21 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN105740454A (en) * 2016-02-04 2016-07-06 北京金山安全软件有限公司 Display method and device of picture folder and electronic equipment
CN106412231A (en) * 2015-08-03 2017-02-15 Lg电子株式会社 Mobile terminal and method for controlling the same
CN106874918A (en) * 2017-02-23 2017-06-20 上海与德信息技术有限公司 A kind of photo store method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070150479A1 (en) * 2005-12-27 2007-06-28 Flashpoint Technology, Inc. System and method for accessing and managing mobile device metadata
CN101452512A (en) * 2007-12-03 2009-06-10 联想(北京)有限公司 Method and apparatus for implementing file safety storage, and file reading apparatus
CN101834738A (en) * 2010-03-24 2010-09-15 无锡天鸿信息技术有限公司 Centralized management method of storage media
CN103052952A (en) * 2010-08-08 2013-04-17 高通股份有限公司 Apparatus and methods for managing content
CN102523175A (en) * 2011-12-18 2012-06-27 上海量明科技发展有限公司 Method and system for storing icon files by transmitting data via instant communication
CN102917126A (en) * 2012-10-11 2013-02-06 中兴通讯股份有限公司 Method and system for processing photos
CN103390059A (en) * 2013-07-29 2013-11-13 广东欧珀移动通信有限公司 Picture induction processing method and system
KR20160071144A (en) * 2014-12-11 2016-06-21 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN106412231A (en) * 2015-08-03 2017-02-15 Lg电子株式会社 Mobile terminal and method for controlling the same
CN105740454A (en) * 2016-02-04 2016-07-06 北京金山安全软件有限公司 Display method and device of picture folder and electronic equipment
CN106874918A (en) * 2017-02-23 2017-06-20 上海与德信息技术有限公司 A kind of photo store method and device

Also Published As

Publication number Publication date
CN107547751B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN109743315B (en) Behavior identification method, behavior identification device, behavior identification equipment and readable storage medium for website
CN104144419B (en) Identity authentication method, device and system
TWI515588B (en) Machine behavior determination method, web browser and web server
CN107729137B (en) Server, block chain signature verification decryption method and storage medium
US20170005858A1 (en) Log processing method and client
CN107104924B (en) Verification method and device for website backdoor file
CN110635898A (en) Encryption method and encryption system
CN104320375A (en) Method and device of preventing illegal registration
CN111628863B (en) Data signature method and device, electronic equipment and storage medium
CN104767761A (en) Cloud storage platform access control method and device
CN113890879A (en) Load balancing method and device for data access, computer equipment and medium
CN103780592B (en) Method and apparatus for determining being stolen of user account
CN108833500B (en) Service calling method, service providing method, data transmission method and server
CN111259364A (en) Method, device, equipment and storage medium for using national secret encryption card
CN111090616B (en) File management method, corresponding device, equipment and storage medium
CN110929129A (en) Information detection method, equipment and machine-readable storage medium
CN106611118B (en) Method and device for applying login credentials
CN110209347B (en) Traceable data storage method
CN109361712B (en) Information processing method and information processing device
CN109922056B (en) Data security processing method, terminal and server thereof
CN111597093B (en) Exception handling method, device and equipment thereof
CN110881030A (en) Logstack-based method and device for recording operation logs of web service administrator
CN106790159A (en) Level of confidentiality method of calibration and device
CN107547751A (en) Media resource store method, media resource save set and terminal device
CN103312785B (en) A kind of determination method and device of access relation

Legal Events

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

Effective date of registration: 20240407

Address after: No. 333, Mount Taishan Street, Tai'an, Shandong 271000

Patentee after: Tai'an Mount Taishan Network Media Co.,Ltd.

Country or region after: China

Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building

Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.

Country or region before: China