CN108089893A - Definite method, apparatus, terminal device and the storage medium of redundant resource - Google Patents

Definite method, apparatus, terminal device and the storage medium of redundant resource Download PDF

Info

Publication number
CN108089893A
CN108089893A CN201711343797.5A CN201711343797A CN108089893A CN 108089893 A CN108089893 A CN 108089893A CN 201711343797 A CN201711343797 A CN 201711343797A CN 108089893 A CN108089893 A CN 108089893A
Authority
CN
China
Prior art keywords
resource
redundant
resources
invalid
rule
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
CN201711343797.5A
Other languages
Chinese (zh)
Other versions
CN108089893B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201711343797.5A priority Critical patent/CN108089893B/en
Publication of CN108089893A publication Critical patent/CN108089893A/en
Application granted granted Critical
Publication of CN108089893B publication Critical patent/CN108089893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides definite method, apparatus, terminal device and the storage medium of a kind of redundant resource, method is included according to each adduction relationship between resource and other resources in the definite resources bank of quoting resource rule obtained in advance;The two-way quoting resource figure of the resources bank is built according to each adduction relationship between resource and other resources in the resources bank;The redundant resource that all invalid resources are used as in the resources bank is obtained by traveling through the two-way quoting resource figure;Delete processing is carried out to the redundant resource.The redundant resource that the embodiment of the present invention is found is more comprehensively complete, without cyclically deleting redundant resource with traveling through remaining resource, it can all-sidedly and accurately determine all redundant resources in resources bank, it is ready subsequently once to cross deletion redundant resource, so as to improve the efficiency for deleting redundant resource.

Description

Definite method, apparatus, terminal device and the storage medium of redundant resource
Technical field
The present invention relates to field of computer technology more particularly to a kind of definite method, apparatus of redundant resource, terminal devices With storage medium.
Background technology
In software development process, in order to which software is allowed to have better performance, the existing software resource of iteration often may require that; Inevitably cause that resource quantity is more and more, and client is increasing in resource iterative process.But in principle, quilt Resource after iteration, and need not persist in game client.So how accurately to determine the redundancy money in software Source, and delete processing is carried out to redundant resource, reduce client size, be to be sought after solving the problems, such as.
The scheme of definite redundant resource mainly has following two in the prior art.
Scheme one:By regular expression, searching resource name determines whether resource is cited in resources bank, if A certain resource is searched, then it is assumed that the resource has by other quoting resources, and is excluded in redundant resource;If instead The resource is not searched, then it is assumed that the resource by other quoting resources, does not judge that it belongs to redundant resource.
The shortcomings that scheme one, is that efficiency and accuracy are all very low.Resource quantity in resources bank be it is very huge, according to The method of scheme one needs each resource to carry out regular expression search, it is therefore desirable to consume long time, inefficiency; Meanwhile the mode of regular expression search is suitable only for the mode directly scanned for using resource name, when way of reference is more multiple When miscellaneous, regular expression search is likely to occur to search for less than there is the resource that is cited, and resource, accuracy are deleted so as to mistake occur It is relatively low.
Scheme two:All resources being cited are determined using rule is quoted, and reference rule here needs to be pre-configured with Or it obtains.Various softwares all can load various resources with certain rule.Than if desired for display model file, then centainly need A pre-loaded at least texture file is wanted, a material file can just show normal model file;Than if desired for swimming The icon of an article is shown in play, then can obtain the corresponding icon file name defined in planning table by article id, come Load correct icon file;How to know how it, dependent on which textures file, is obtained by article id by model file Correct icon file is taken, is just called reference rule.Such as Android software it is most common to the reference of resource rule just only there are two types of, Certainly the reference rule used in different software programs may be different.Specifically, every reference rule can determine one It is a to have by the set of other quoting resources, hereinafter referred to as efficient resource set, then the efficient resource set of all references rule Union form efficient resource and always collect, each resource and the efficient resource are always collected and compared, will not belong to this has The resource that effect resource always collects all is classified as redundant resource.Scheme two due to based on quoting rule judging to have the resource being cited so Accuracy increases, and reduces the situation for occurring deleting by mistake.
The inventor of the present application discovered that although scheme two can improve accuracy, efficiency is still remained still than relatively low The problem of.The reason is that, scheme, second is that by determining which resource is not cited, which resource is cited to determine redundancy Resource and nonredundancy resource, but scheme two does not further determine that the resource being cited actually is drawn by which resource With.The inventors of the present application found that when a resource is only cited in known redundant resource, then the resource is not also had Effect is quoted, and should be also included into redundant resource and be deleted.And in scheme two, the resource of the resources bank is traveled through every time all It can only find out currently without the resource being cited and therefrom determine redundant resource to delete, the money is traveled through again after deleting The resource in source storehouse is confirmed whether also redundant resource.For example, resource A is only quoted by resource B, resource B is not by any other Cited in resource, first time travel through when, resource B due to not cited in any other resource thus be considered as redundancy money Source, due to being quoted by resource B, resource A is considered not being redundant resource resource A.After resource B is deleted, then travel through once institute There is remaining resource, it can be found that since resource B is deleted, resource A is not also cited in any other resource, resource A Become new redundant resource.
As it can be seen that resource A and resource B here is to belong to redundant resource, but can only determine to provide at the beginning in scheme two Source B is redundant resource, and carrying out deleting afterwards again could find that resource A is also superfluous after current redundant resource (including resource B) Remaining resource.Therefore all redundant resources can not be once determined in the way of scheme two, after a redundant resource is deleted, It is possible that new redundant resource, it is also necessary to travel through remaining all resources again to determine to have or not redundant resource, such as Fruit finds to have to delete again.It can be seen that since scheme two is not comprehensive enough accurate when determining redundant resource, affect subsequently delete it is superfluous The efficiency of remaining resource.
The content of the invention
It, can be with the purpose of the present invention is to propose to definite method, apparatus, terminal device and the storage medium of a kind of redundant resource It all-sidedly and accurately determines all redundant resources in resources bank, is ready for follow-up deletion redundant resource of once crossing, so as to Improve the efficiency for deleting redundant resource.
To achieve the above object, on the one hand the embodiment of the present invention provides the definite method of a kind of redundant resource, bag It includes:
It is closed according to each reference between resource and other resources in the definite resources bank of quoting resource rule obtained in advance System;
The two-way of the resources bank is built according to each adduction relationship between resource and other resources in the resources bank Quoting resource figure;
It is provided by traveling through the two-way quoting resource figure to obtain the redundancy that all invalid resources are used as in the resources bank Source;The invalid resource refers to the resource do not quoted effectively.
Preferably, the resource do not quoted effectively includes not by other quoting resources and belongs to specific resources The resource of type and only by other invalid resource resource to be referred to.
Preferably, the father node resource of the adduction relationship between each resource and other resources including each resource with Child node resource;The father node resource is that other resources of the resource are quoted in the resources bank;The child node resource For in the resources bank by other resources of the quoting resource.
Preferably, it is described to be used as the resources bank by traveling through the two-way quoting resource figure to obtain all invalid resources In redundant resource, including:
The resource for not having father node resource in the resources bank is obtained by traveling through the two-way quoting resource figure;
It obtains the invalid resource in the resource of no father node resource and nothing is updated according to the invalid resource got Imitate resource collection;
When there is newly-increased invalid resource in the invalid resource set, all of the newly-increased invalid resource are obtained The invalid resource that invalid resource and basis in child node resource are got updates the invalid resource set;Wherein, when described All father node resources of i-th of child node resource of newly-increased invalid resource belong to for invalid resource when, judge the i Child node is invalid resource;
When invalid resource is not present in all child node resources of the newly-increased invalid resource, by the invalid resource All invalid resources in set are as the redundant resource.
Preferably, the invalid resource that the invalid resource in the resource for obtaining no father node resource and basis are got Invalid resource set is updated, including:
Determine the resource type of the resource without father node resource;
When the resource type is fine arts resource, it is invalid resource to determine the resource without father node resource;When When the resource type is plans table or program code, it is efficient resource to determine the resource without father node resource;
Invalid resource in the resource without father node resource updates the invalid resource set.
Preferably, the method further includes:
In resources bank is determined before each adduction relationship between resource and other resources, parse and provided in the resources bank Source Type is the resource of fine arts resource, obtains reference rule of the fine arts resource to other resources;And in the parsing resources bank Resource type is the resource of planning table, obtains reference rule of the planning table to other resources;And it is provided in the parsing resources bank Source Type is the resource of program code, obtains reference rule of the program code to other resources;
According to the fine arts resource to the reference rules of other resources, the planning table to the reference rules of other resources with And said program code obtains the quoting resource rule to the reference rule of other resources.
Preferably, the method further includes:
Each resource in the resources bank is traveled through, generates the res structural informations of each resource;The res structural informations Resource type including the resource and for marking the whether effective label information of the resource;Wherein, the mark letter Breath is initially set to effectively;
When the resource is confirmed as invalid resource, by the label information described in the res structural informations of the resource It is invalid for subsequently judging to use to be revised as.
Preferably, the method further includes:
After the redundant resource is determined, the redundant resource is checked to judge whether to require supplementation with and quotes rule;
When require supplementation with quote rule when by reference Policy Updates to be supplemented to the quoting resource rule with again true The fixed redundant resource.
Preferably, the method further includes:
When reference rule need not be supplemented, the redundant resource is deleted to discharge the occupied storage of the redundant resource Space.
Preferably, it is described after the redundant resource is got, the redundant resource is checked to judge whether to need to mend Reference rule is filled, including:
After the redundant resource is got, the redundant resource is searched for by regular expression to determine the redundancy Whether resource is cited;
When searching the redundant resource being cited, judgement require supplementation with reference rule and according to it is described be cited it is superfluous Remaining resource acquisition reference rule to be supplemented.
Preferably, it is described after the redundant resource is got, the redundant resource is checked to judge whether to need to mend Reference rule is filled, including:
After the redundant resource is got, check that the redundant resource of each resource folder in the resources bank accounts for Than with redundant resource quantity;The redundant resource accounting refers to redundant resource quantity and resource text in the resource folder The ratio of total resources quantity in part folder;
It is more than when being more than preset ratio threshold value or redundant resource quantity there are the redundant resource accounting of a resource folder During default amount threshold, judgement requires supplementation with reference rule and is obtained according to the redundant resource in the resource folder and waits to mend The reference rule filled.
Preferably, the method further includes:
It checks whether and reports an error in program operation process;
When reporting an error, the reason for being reported an error according to the document alignment to report an error;
According to reference rule to be supplemented being obtained the reason for reporting an error and arrive the reference Policy Updates to be supplemented Quoting resource rule.
Identical in order to achieve the purpose that, second aspect of the embodiment of the present invention provides a kind of redundant resource and deletes device, bag It includes:
Adduction relationship determining module, for according to each resource in the definite resources bank of quoting resource rule obtained in advance with Adduction relationship between other resources;
Figure structure module is quoted, for according to each adduction relationship structure between resource and other resources in the resources bank Build the two-way quoting resource figure of the resources bank;
Redundant resource acquisition module, for being used as by traveling through the two-way quoting resource figure to obtain all invalid resources Redundant resource in the resources bank;The invalid resource refers to the resource do not quoted effectively.
Identical in order to achieve the purpose that, the third aspect of the embodiment of the present invention provides a kind of terminal device, including processor, It memory and is stored in the memory and is configured as the computer program performed by the processor, the processor The definite method of the redundant resource described in above-mentioned first aspect is realized when performing the computer program.
Identical in order to achieve the purpose that, fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, The computer readable storage medium includes the computer program of storage, wherein, control institute when the computer program is run Equipment performs the definite method of the redundant resource described in above-mentioned first aspect where stating computer readable storage medium.
Compared with the prior art, the advantageous effect of the embodiment of the present invention is:An embodiment of the present invention provides a kind of redundancies Definite method, apparatus, terminal device and the storage medium of resource, method include being determined according to the quoting resource rule obtained in advance Each adduction relationship between resource and other resources in resources bank;According to each resource in the resources bank and other resources it Between adduction relationship build the two-way quoting resource figure of the resources bank;By traveling through the two-way quoting resource figure to obtain There is invalid resource as the redundant resource in the resources bank;The invalid resource refers to the resource do not quoted effectively;It is right The redundant resource carries out delete processing.It is looked for compared with using rule is quoted for the mode of redundant resource, the embodiment of the present invention The redundant resource found is more comprehensively complete, without cyclically deleting redundant resource with traveling through remaining resource, it is only necessary to travel through Once two-way quoting resource figure can find all redundant resources, will not occur again after subsequently redundant resource is deleted new Redundant resource, you can all-sidedly and accurately to determine all redundant resources in resources bank, deletion redundancy is once crossed to be follow-up Resource is ready, so as to improve the efficiency for deleting redundant resource.
Description of the drawings
Fig. 1 is a kind of flow diagram of the definite method of redundant resource provided in an embodiment of the present invention;
Fig. 2 its be the two-way quoting resource figure constructed by step S2 a simple view;
Fig. 3 is the idiographic flow schematic diagram of the step S3 in Fig. 1;
Fig. 4 is the structure diagram that a kind of redundant resource provided in an embodiment of the present invention deletes device;
Fig. 5 is the structure diagram of the redundant resource acquisition module 3 in Fig. 4.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment belongs to the scope of protection of the invention.
Referring to Fig. 1, it is a kind of flow diagram of the definite method of redundant resource provided in an embodiment of the present invention.Institute The method of stating includes:
S1, according to each reference between resource and other resources in the definite resources bank of quoting resource rule obtained in advance Relation;
S2 builds the double of the resources bank according to each adduction relationship between resource and other resources in the resources bank To quoting resource figure;
S3 obtains the redundancy that all invalid resources are used as in the resources bank by traveling through the two-way quoting resource figure Resource;The invalid resource refers to the resource do not quoted effectively.
In step sl, there are many kinds of quoting resource rules, for each resource, applicable quoting resource rule is found i.e. The quoting resource those resources can be found, so as to obtain each adduction relationship between resource and other resources in resources bank.
In embodiments of the present invention, not only consider when determining redundant resource currently without the resource being cited, but Consider the resource do not quoted effectively, i.e. invalid resource.It is all invalid to be found by the two-way quoting resource figure Resource as redundant resource, it is thus determined that redundant resource be more comprehensively more accurately so that once cross delete the redundancy New redundant resource will not be generated after resource again.
In a kind of optional embodiment, the resource do not quoted effectively is included not by other quoting resources Resource and only by other invalid resource resource to be referred to.More specifically, the resource do not quoted effectively includes Not by other quoting resources and belong to the resource of particular resource type and only by the money cited in other invalid resources Source.
As shown in Fig. 2, it is a simple view of the two-way quoting resource figure constructed by step S2.It is each in Fig. 2 One resource of node on behalf, in order to briefly explain, the model in Fig. 2 is to only have resource A in resources bank to resource N, but actually The resource quantity of resources bank is far above this quantity.It is so-called it is two-way refer to for same resource, can determine the money simultaneously Source refers to those resources and cited in those resource, and the arrow in Fig. 2, which is oriented to the resource being cited and is directed toward, to be needed to draw Resource, such as resource D refer to resource E and resource H, while resource D is cited in resource B and resource C.Step S2 is built The process of two-way quoting resource figure can be understood as:Using the resource in resources bank as inserting knot in two-way quoting resource figure On, according to two nodes that the adduction relationship is quoted and is cited using arrow connection, draw so as to build the two-way resource With figure.
It should be noted that since the resource quantity in resources bank is very huge, each resource can quote multiple moneys Source, can also be by multiple quoting resources, so the two-way quoting resource figure is generally in a complicated net structure.But No matter structure is complicated again, always exists in the two-way quoting resource figure not by other resource resource to be referred to (in such as Fig. 2 Resource A, resource B and resource M).It might not be exactly invalid resource by other resource resource to be referred to, only meet The resource of particular resource type can be considered as just invalid resource, and otherwise all resources can all be considered invalid resource.
It is obtained in order to illustrate in step S3 by traveling through the two-way quoting resource figure described in all invalid resources are used as The process of redundant resource in resources bank, it is assumed hereinafter that the resource A and resource M in Fig. 2 is invalid resource, and resource B is effective Resource.So by traveling through the two-way quoting resource figure, it can be found that in addition to resource A and resource M is invalid resource, by In resource C only cited in resource A, resource L is not drawn effectively only cited in resource M so resource C and resource L belong to Resource, i.e. resource C and resource M fall within invalid resource;Resource N is simultaneously cited in resource L and resource C, but due to money Source C and resource M fall within invalid resource, so resource N belongs to the resource do not quoted effectively, i.e. resource N is also invalid money Source.It should be noted that resource D simultaneously cited in resource B and resource C, since resource B is efficient resource, so resource D is simultaneously It is not belonging to invalid resource.Therefore by traveling through the two-way quoting resource figure, institute can be found in resources bank either with or without effective The resource (i.e. invalid resource) of reference, so that it is determined that the redundant resource in resources bank.Redundant resource is with black circle table in fig. 2 Show, including resource A, C, L, M, N.
The definite method of redundant resource provided in an embodiment of the present invention is each provided according to the reference Rule obtained in advance The adduction relationship of source and other resources simultaneously builds two-way quoting resource figure according to the adduction relationship, according to two-way quoting resource figure Can find either with or without the resource effectively quoted as redundant resource, look for the side of redundant resource compared with using rule is quoted For formula, the redundant resource that the embodiment of the present invention is found is more comprehensively complete, surplus with traversal without cyclically deleting redundant resource Under resource, it is only necessary to traversal once two-way quoting resource figure can find all redundant resources, subsequently by redundant resource Will not occur new redundant resource after deletion again, you can all-sidedly and accurately to determine all redundant resources in resources bank, It is ready subsequently once to cross deletion redundant resource, so as to improve the efficiency for deleting redundant resource.
In addition, because constructing " two-way quoting resource figure ", the relation between any resource can be clearly understood, therefore In addition to doing basis for deletion redundant resource, quoting resource inspection, the inquiry of resource physical location can also be provided, resource uses feelings Condition is inquired about, a series of resource checking tool such as resource iteration integrity checking, widely used.
In a kind of optional embodiment, the adduction relationship between each resource and other resources includes each money The father node resource in source and child node resource;The father node resource is that other moneys of the resource are quoted in the resources bank Source;The child node resource is by other resources of the quoting resource in the resources bank.Such as the resource D in Fig. 2 For, his father's node resource includes resource B and resource C, and child node resource includes resource E and resource H, and so on.
As shown in figure 3, it is the idiographic flow schematic diagram of the step S3 in Fig. 1.It is described double by traveling through in step S3 All invalid resources are obtained to quoting resource figure as the redundant resource in the resources bank, including:
S31 obtains the resource for not having father node resource in the resources bank by traveling through the two-way quoting resource figure;
S32 obtains the invalid resource that simultaneously basis is got of the invalid resource in the resource of no father node resource more New invalid resource set;
S33 when there is newly-increased invalid resource in the invalid resource set, obtains the newly-increased invalid resource The invalid resource that invalid resource and basis in all child node resources are got updates the invalid resource set;Wherein, when All father node resources of i-th of child node resource of the newly-increased invalid resource belong to for invalid resource when, judge institute I child node is stated as invalid resource;
S34, will be described invalid when invalid resource is not present in all child node resources of the newly-increased invalid resource All invalid resources in resource collection are as the redundant resource.
How above-mentioned specifically illustrate obtains the redundancy money by traveling through the two-way quoting resource figure in step S3 The process in source.It is other invalid resources since invalid resource meets it not having father node resource or his father's node resource, Invalid resource is so first determined in the resource of no father node resource, then is determined from all child node resources of invalid resource New invalid resource carries out recurrence in the manner described above, invalid when can not find in all child node resources of new invalid resource Resource, at this time recurrence terminate, all definite invalid resources are the redundant resource.
Illustrate the realization process of step S3 by taking the two-way quoting resource figure of Fig. 2 as an example below.
1st, resource A and M are determined as invalid resource by step S31 and step S32, invalid resource set becomes from empty set at this time For { A, M }, i.e. newly-increased invalid resource includes resource A and resource M, and all child node resources of newly-increased invalid resource include money Source C and resource L;
2nd, since the father node resource of resource C is resource A and resource A is invalid resource, then resource C is determined as invalid money Source;Since the father node resource of resource L is resource M and resource M is invalid resource, then resource L is determined as invalid resource, the nothing Effect resource collection becomes { A, M, C, L } from { A, M }, and newly-increased invalid resource includes resource C and resource L, newly-increased invalid resource All child node resources include resource N and resource D;
3rd, since the father node resource of resource N is resource C and resource L and resource C and resource L are invalid resource, then provide Source N is determined as invalid resource;Since the father node resource of resource D is resource B and resource C, and resource B is efficient resource, then provides Source D belongs to the resource effectively quoted, and resource D is not belonging to invalid resource.Therefore the invalid resource set becomes from { A, M, C, L } { A, M, C, L, N }, newly-increased invalid resource include resource N, and newly-increased invalid resource does not have child node resource, therefore recurrence knot Beam.
4th, all invalid resources in current invalid resource set { A, M, C, L, N } are redundant resource.
It should be noted that step S31~step S34 is only a specific embodiment party of the step S3 of the embodiment of the present invention Formula, the embodiment of the present invention are intended to obtain either with or without the resource effectively quoted make by traveling through the two-way quoting resource figure For redundant resource, as long as therefore the money can be used as to obtain all invalid resources by traveling through the two-way quoting resource figure The mode of redundant resource in the storehouse of source is all optional.
In a kind of optional embodiment, the invalid resource obtained in the resource without father node resource is simultaneously Invalid resource set is updated according to the invalid resource got, including:
Determine the resource type of the resource without father node resource;
When the resource type is fine arts resource, it is invalid resource to determine the resource without father node resource;When When the resource type is plans table or program code, it is efficient resource to determine the resource without father node resource;
Invalid resource in the resource without father node resource updates the invalid resource set.
The resource of software program mainly includes planning table, program code and fine arts resource.In software program iterative process, The mainly fine arts resource of redundant resource is generated, is, for example, icon, textures etc., and planning table and program code will not produce substantially Raw redundant resource, so it is actually for fine arts resource to delete redundant resource.So in the embodiment of the present invention, if without father The resource of node resource then thinks that it is invalid resource for fine arts resource, if without father node resource resource for planning table or Person's program code is not considered then as invalid resource.In fact, although planning table or program code be not by other resource institutes It quotes, they still can be called by other function modules, and shadow is likely to if being construed as invalid resource and deleting The normal operation of software program is rung, so must not believe that they are that invalid resource is deleted them.
In a kind of optional embodiment, the method further includes:
In resources bank is determined before each adduction relationship between resource and other resources, parse and provided in the resources bank Source Type is the resource of fine arts resource, obtains reference rule of the fine arts resource to other resources;And in the parsing resources bank Resource type is the resource of planning table, obtains reference rule of the planning table to other resources;And it is provided in the parsing resources bank Source Type is the resource of program code, obtains reference rule of the program code to other resources;
According to the fine arts resource to the reference rules of other resources, the planning table to the reference rules of other resources with And said program code obtains the quoting resource rule to the reference rule of other resources.
Since mainly composition is fine arts resource, planning table and program code in software resource, then previously according to these three Resource type carries out resource resolution, you can obtains all reference rules.If obtained quoting resource rule is abundanter, then The two-way quoting resource figure of structure also can be more perfect, and the accuracy for obtaining redundant resource also can be higher, further reduces appearance Situation about deleting by mistake.The process of above acquisition quoting resource rule is known as the process that positive structure quotes rule.
In a kind of optional embodiment, the method further includes:
Each resource in the resources bank is traveled through, generates the res structural informations of each resource;The res structural informations Resource type including the resource and for marking the whether effective label information of the resource;Wherein, the mark letter Breath is initially set to effectively;
When the resource is confirmed as invalid resource, by the label information described in the res structural informations of the resource It is invalid for subsequently judging to use to be revised as.
Due to previously generating the res structural informations of each resource, need to judge the resource type of the resource and whether When effective, its res structural information only need to be inquired about, therefore further improves the efficiency for obtaining redundant resource.
During forward direction builds and quotes rule, it is likely that be present with the rule of omission, cause the redundant resource found And it is sufficiently complete, it is desirable to by way of reverse search, the rule built is carried out to omit inspection and supplement.
In a kind of optional embodiment, the method further includes:
After the redundant resource is determined, the redundant resource is checked to judge whether to require supplementation with and quotes rule;
When require supplementation with quote rule when by reference Policy Updates to be supplemented to the quoting resource rule to obtain again Take the redundant resource.
By way of reverse search, the quoting resource that supplement is omitted well is regular, perfect " two-way quoting resource figure ", And can accurately recover to delete resource by mistake when recovering to delete resource by mistake, avoid recovering invalid resource it should be noted that working as resource It quotes when rule changes, it is necessary to according to identical method reacquisition redundant resource, rule is quoted until that need not supplement, The redundant resource determined at this time is most comprehensive and accuracy highest.
In a kind of optional embodiment, when reference rule need not be supplemented, the redundant resource is deleted to discharge The occupied memory space of redundant resource.
It is described to check that the redundant resource quotes rule to judge whether to require supplementation in a kind of optional embodiment Then, including:
The redundant resource is searched for by regular expression to determine whether the redundant resource is cited;
When searching the redundant resource being cited, judgement require supplementation with reference rule and according to it is described be cited it is superfluous Remaining resource acquisition reference rule to be supplemented.
In the method, complete file name, partial document name, without the filename of extension name, file path can be used Keywords is waited to carry out regular expression and search for entire resources bank, have checked whether omission resource.
For example, if it is desired to check whether f1/f2/f3/a_b.arp resources are referred to, then following key can be used Word carries out project search:a_b.arp;a_*.arp;a_b;F1/f2/f3 etc..
It is the prior art due to whether being referred to using regular expression searching resource, thus in the embodiment of the present invention In repeat no more.
It is described to check that the redundant resource quotes rule to judge whether to require supplementation in another optional embodiment Then, including:
Check the redundant resource accounting of each resource folder in the resources bank and redundant resource quantity;The redundancy Resource accounting refers to the ratio of the total resources quantity in redundant resource quantity and the resource folder in the resource folder;
It is more than when being more than preset ratio threshold value or redundant resource quantity there are the redundant resource accounting of a resource folder During default amount threshold, judgement requires supplementation with reference rule and is obtained according to the redundant resource in the resource folder and waits to mend The reference rule filled.
In embodiments of the present invention, all resource folders are checked, if there is the most of resources of some resource folder File (more than 90%) belong to redundant resource or redundant resource especially more (such as more than 100), it is necessary to priority check whether There is quoting resource rule to be missed.
The resource file clamping structure of software project usually has rational design, therefore congenerous file is often placed on a text In part folder.So if when certain file accompanies a large amount of " redundant resources ", it may be possible to which this file is in an iterative process By discarded use, it is also possible to miss the relevant quoting resource rule of the resource folder in two-way quoting resource figure.
Therefore preset ratio threshold value or redundant resource quantity are more than when there are the redundant resource accountings of a resource folder , it is necessary to be advised according to reference to be supplemented is obtained according to the redundant resource in the resource folder during more than default amount threshold Then.
In a kind of optional embodiment, the method further includes:
It checks whether and reports an error in program operation process;
When reporting an error, the reason for being reported an error according to the document alignment to report an error;
According to reference rule to be supplemented being obtained the reason for reporting an error and arrive the reference Policy Updates to be supplemented Quoting resource rule.
Such as lacked in game process in the event of resource, it often triggers client and reports an error.Therefore played just During normal testing process, the daily record of all clients is collected, according to the file to report an error, the reason for it reports an error is positioned, and then can seek Find the quoting resource rule of omission.
Referring to Fig. 4, it is the structure diagram that a kind of redundant resource provided in an embodiment of the present invention deletes device.It is described Redundant resource deletes the definite method that device is used to perform the redundant resource described in Fig. 1, including:
Adduction relationship determining module 1, for according to each resource in the definite resources bank of quoting resource rule obtained in advance With the adduction relationship between other resources;
Figure structure module 2 is quoted, for according to each adduction relationship between resource and other resources in the resources bank Build the two-way quoting resource figure of the resources bank;
Redundant resource determining module 3 is made for obtaining all invalid resources by traveling through the two-way quoting resource figure For the redundant resource in the resources bank;The invalid resource refers to the resource do not quoted effectively;
Referring to Fig. 5, it is the structure diagram of the redundant resource determining module 3 in Fig. 4.In a kind of optional embodiment In, the adduction relationship between each resource and other resources includes the father node resource of each resource and child node resource; The father node resource is that other resources of the resource are quoted in the resources bank;The child node resource is the resources bank Middle other resources by the quoting resource;
The redundant resource acquisition module 3 includes:
First resource acquiring unit 31, for not having by traveling through the two-way quoting resource figure to obtain in the resources bank There is the resource of father node resource;
Secondary resource acquiring unit 32, for obtaining the invalid resource in the resource without father node resource and basis The invalid resource update invalid resource set got;
Information resources acquiring unit 33, for when there is newly-increased invalid resource in the invalid resource set, obtaining Described in the invalid resource update that invalid resource and basis in all child node resources of the newly-increased invalid resource are got Invalid resource set;Wherein, when all father node resources of i-th of child node resource of the newly-increased invalid resource belong to For invalid resource when, it is invalid resource to judge the i child node;
Nothing is not present for working as in redundant resource determination unit 34 in all child node resources of the newly-increased invalid resource When imitating resource, using all invalid resources in the invalid resource set as the redundant resource.
In a kind of optional embodiment, the Secondary resource acquiring unit 32 is specifically used for:
Determine the resource type of the resource without father node resource;
When the resource type is fine arts resource, it is invalid resource to determine the resource without father node resource;When When the resource type is plans table or program code, it is efficient resource to determine the resource without father node resource;
Invalid resource in the resource without father node resource updates the invalid resource set.
In a kind of optional embodiment, described device further includes:
Resource resolution module, before each adduction relationship between resource and other resources in resources bank is determined, The resource that resource type in the resources bank is fine arts resource is parsed, obtains reference rule of the fine arts resource to other resources;With And resource type is the resource of planning table in the parsing resources bank, obtains reference rule of the planning table to other resources;And The resource that resource type in the resources bank is program code is parsed, obtains reference rule of the program code to other resources;
Rule acquisition module is quoted, for according to the fine arts resource is regular to the reference of other resources, the planning table Reference rule and said program code to other resources obtain the quoting resource rule to the reference rule of other resources Then.
In a kind of optional embodiment, described device further includes:
Structural information generation module for traveling through each resource in the resources bank, generates the res structures of each resource Information;The res structural informations include the resource type of the resource and for marking whether the resource effectively marks Information;Wherein, the label information is initially set to effectively;
Label information modified module, for when the resource is confirmed as invalid resource, by the res structures of the resource Label information described in information is revised as invalid for subsequently judging to use.
In a kind of optional embodiment, described device further includes:
Redundant resource checks module, for after the redundant resource is determined, checking the redundant resource to judge to be It is no to require supplementation with reference rule;
First quote Policy Updates module, for when require supplementation with quote rule when reference Policy Updates to be supplemented are arrived The quoting resource rule is to reacquire the redundant resource.
In a kind of optional embodiment, described device further includes:
Redundant resource removing module, for when reference rule need not be supplemented, deleting the redundant resource to discharge State the occupied memory space of redundant resource.
In a kind of optional embodiment, the redundant resource checks that module is specifically used for:
The redundant resource is searched for by regular expression to determine whether the redundant resource is cited;
When searching the redundant resource being cited, judgement require supplementation with reference rule and according to it is described be cited it is superfluous Remaining resource acquisition reference rule to be supplemented.
In another optional embodiment, the redundant resource checks that module is specifically used for:
Check the redundant resource accounting of each resource folder in the resources bank and redundant resource quantity;The redundancy Resource accounting refers to the ratio of the total resources quantity in redundant resource quantity and the resource folder in the resource folder;
It is more than when being more than preset ratio threshold value or redundant resource quantity there are the redundant resource accounting of a resource folder During default amount threshold, judgement requires supplementation with reference rule and is obtained according to the redundant resource in the resource folder and waits to mend The reference rule filled.
In a kind of optional embodiment, described device further includes:
It reports an error and checks module, report an error for being checked whether in program operation process;
The reason that reports an error locating module, the reason for for when reporting an error, being reported an error according to the document alignment to report an error;
Second quotes Policy Updates module, for obtaining reference rule to be supplemented according to the reason for reporting an error and being treated described The reference Policy Updates of supplement are regular to the quoting resource.
It should be noted that a kind of redundant resource determining device provided in an embodiment of the present invention is superfluous for performing above-mentioned one kind All method flows of the definite method of remaining resource, the operation principle and advantageous effect of the two correspond, thus repeat no more.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal device, including processor, memory and is stored in institute It states in memory and is configured as the computer program performed by the processor, the processor performs the computer program Step in the definite embodiment of the method for redundant resource above-mentioned Shi Shixian, such as step S1~S3 shown in FIG. 1;It is or described Processor realizes that above-mentioned redundant resource deletes the work(of each module/unit in device embodiment when performing the computer program Can, such as the modules in Fig. 4.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory, and is performed by the processor, to complete the present invention.It is one or more A module/unit can be the series of computation machine program instruction section that can complete specific function, which is used to describe institute State implementation procedure of the computer program in the terminal device.
The terminal device can be the computing devices such as desktop PC, notebook, palm PC and cloud server. The terminal device may include, but be not limited only to, processor, memory.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the terminal device, utilizes each of various interfaces and the entire terminal device of connection A part.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing The computer program and/or module that are stored in the memory and the data being stored in memory are called, described in realization The various functions of terminal device.The memory can mainly include storing program area and storage data field, wherein, storing program area It can storage program area, application program (such as sound-playing function, image player function etc.) needed at least one function etc.; Storage data field can be stored uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.In addition, storage Device can include high-speed random access memory, can also be hard including nonvolatile memory, such as hard disk, memory, plug-in type Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Wherein, if module/unit that the terminal device integrates is realized in the form of SFU software functional unit and as solely Vertical production marketing in use, can be stored in a computer readable storage medium.
Correspondingly, the embodiment of the present invention also provides a kind of computer readable storage medium, the computer-readable storage medium Matter includes the computer program of storage, wherein, control the computer readable storage medium when the computer program is run Place equipment performs the step in the definite embodiment of the method for above-mentioned redundant resource, such as step S1~S3 shown in FIG. 1.
Based on such understanding, the present invention realizes all or part of flow in above-described embodiment method, can also pass through Computer program instructs relevant hardware to complete, and the computer program can be stored in a computer readable storage medium In, the computer program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the calculating Machine program includes computer program code, and the computer program code can be source code form, object identification code form, can hold Style of writing part or some intermediate forms etc..The computer-readable medium can include:The computer program code can be carried Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications letter Number and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be managed according to the administration of justice Local legislation and the requirement of patent practice carry out appropriate increase and decrease, such as in some jurisdictions, according to legislation and patent Practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
Compared with the prior art, the advantageous effect of the embodiment of the present invention is:An embodiment of the present invention provides a kind of redundancies Definite method, apparatus, terminal device and the storage medium of resource, method include being determined according to the quoting resource rule obtained in advance Each adduction relationship between resource and other resources in resources bank;According to each resource in the resources bank and other resources it Between adduction relationship build the two-way quoting resource figure of the resources bank;By traveling through the two-way quoting resource figure to obtain There is invalid resource as the redundant resource in the resources bank;The invalid resource refers to the resource do not quoted effectively.Than It is looked for using rule is quoted for the mode of redundant resource, the redundant resource that the embodiment of the present invention is found is more comprehensively complete, Without cyclically deleting redundant resource with traveling through remaining resource, it is only necessary to which once two-way quoting resource figure can find institute to traversal Some redundant resources new redundant resource will not occur, you can with all-sidedly and accurately again after subsequently redundant resource is deleted It determines all redundant resources in resources bank, is ready for follow-up deletion redundant resource of once crossing, is deleted so as to improve The efficiency of redundant resource.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (15)

1. a kind of definite method of redundant resource, which is characterized in that including:
According to each adduction relationship between resource and other resources in the definite resources bank of quoting resource rule obtained in advance;
The two-way resource of the resources bank is built according to each adduction relationship between resource and other resources in the resources bank Quote figure;
The redundant resource that all invalid resources are used as in the resources bank is obtained by traveling through the two-way quoting resource figure;Institute It states invalid resource and refers to the resource do not quoted effectively.
2. the definite method of redundant resource as described in claim 1, which is characterized in that the resource do not quoted effectively Including not by other quoting resources and belonging to the resource of particular resource type and only cited in other invalid resources Resource.
3. the definite method of redundant resource as claimed in claim 1 or 2, which is characterized in that each resource and other moneys Adduction relationship between source includes the father node resource of each resource and child node resource;The father node resource is the resource Other resources of the resource are quoted in storehouse;The child node resource is by other moneys of the quoting resource in the resources bank Source.
4. the definite method of redundant resource as claimed in claim 3, which is characterized in that described by traveling through the two-way resource Reference figure obtains all invalid resources as the redundant resource in the resources bank, including:
The resource for not having father node resource in the resources bank is obtained by traveling through the two-way quoting resource figure;
It obtains the invalid resource in the resource of no father node resource and invalid money is updated according to the invalid resource got Gather in source;
When there is newly-increased invalid resource in the invalid resource set, all sub- sections of the newly-increased invalid resource are obtained The invalid resource that invalid resource and basis in point resource are got updates the invalid resource set;Wherein, when described newly-increased Invalid resource i-th of child node resource all father node resources belong to for invalid resource when, judge it is described i son section Point is invalid resource;
When invalid resource is not present in all child node resources of the newly-increased invalid resource, by the invalid resource set In all invalid resources as the redundant resource.
5. the definite method of redundant resource as claimed in claim 4, which is characterized in that the no father node resource of acquisition The invalid resource update invalid resource set that invalid resource and basis in resource are got, including:
Determine the resource type of the resource without father node resource;
When the resource type is fine arts resource, it is invalid resource to determine the resource without father node resource;When described When resource type is plans table or program code, it is efficient resource to determine the resource without father node resource;
Invalid resource in the resource without father node resource updates the invalid resource set.
6. the definite method of redundant resource as claimed in claim 1 or 2, which is characterized in that the method further includes:
In resources bank is determined before each adduction relationship between resource and other resources, parse resources-type in the resources bank Type is the resource of fine arts resource, obtains reference rule of the fine arts resource to other resources;And resource in the parsing resources bank Type is the resource of planning table, obtains reference rule of the planning table to other resources;It is and resources-type in the parsing resources bank Type is the resource of program code, obtains reference rule of the program code to other resources;
Rule, the planning table are quoted to the reference rule of other resources and institute to other resources according to the fine arts resource Reference rule of the program code to other resources is stated, obtains the quoting resource rule.
7. the definite method of redundant resource as claimed in claim 6, which is characterized in that the method further includes:
Each resource in the resources bank is traveled through, generates the res structural informations of each resource;The res structural informations include The resource type of the resource and for marking the whether effective label information of the resource;Wherein, at the beginning of the label information Beginning is arranged to effective;
When the resource is confirmed as invalid resource, the label information described in the res structural informations of the resource is changed To be invalid for subsequently judging to use.
8. the definite method of redundant resource as claimed in claim 1 or 2, which is characterized in that the method further includes:
After the redundant resource is determined, the redundant resource is checked to judge whether to require supplementation with and quotes rule;
When require supplementation with quote rule when by reference Policy Updates to be supplemented to the quoting resource rule to redefine State redundant resource.
9. the definite method of redundant resource as claimed in claim 8, which is characterized in that the method further includes:
When that need not supplement reference rule, it is empty to discharge the occupied storage of the redundant resource to delete the redundant resource Between.
10. the definite method of redundant resource as claimed in claim 8, which is characterized in that described to get the redundancy money After source, the redundant resource is checked to judge whether to require supplementation with and quotes rule, including:
After the redundant resource is got, the redundant resource is searched for by regular expression to determine the redundant resource Whether it is cited;
When searching the redundant resource being cited, judge to require supplementation with and quote rule and provided according to the redundancy being cited Source obtains reference rule to be supplemented.
11. the definite method of redundant resource as claimed in claim 8, which is characterized in that described to get the redundancy money After source, the redundant resource is checked to judge whether to require supplementation with and quotes rule, including:
After the redundant resource is got, check the redundant resource accounting of each resource folder in the resources bank with Redundant resource quantity;The redundant resource accounting refers to redundant resource quantity and the resource folder in the resource folder The ratio of interior total resources quantity;
To be more than preset ratio threshold value or redundant resource quantity more than default when there are the redundant resource accountings of a resource folder Amount threshold when, judgement require supplementation with reference rule and obtained according to the redundant resource in the resource folder to be supplemented Quote rule.
12. the definite method of redundant resource as described in claim 1, which is characterized in that the method further includes:
It checks whether and reports an error in program operation process;
When reporting an error, the reason for being reported an error according to the document alignment to report an error;
According to obtaining reference rule to be supplemented the reason for reporting an error and by the reference Policy Updates to be supplemented to the resource Quote rule.
13. a kind of redundant resource determining device, which is characterized in that including:
Adduction relationship determining module, for according to each resource in the definite resources bank of quoting resource rule obtained in advance and other Adduction relationship between resource;
Figure structure module is quoted, for building institute according to each adduction relationship between resource and other resources in the resources bank State the two-way quoting resource figure of resources bank;
Redundant resource determining module, for being obtained by traveling through the two-way quoting resource figure described in all invalid resources are used as Redundant resource in resources bank;The invalid resource refers to the resource do not quoted effectively.
14. a kind of terminal device, including processor, memory and it is stored in the memory and is configured as by described The computer program that device performs is managed, the processor is realized when performing the computer program as arbitrary in claim 1 to 12 The definite method of redundant resource described in one.
15. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage Machine program, wherein, equipment where controlling the computer readable storage medium when the computer program is run is performed as weighed Profit requires the definite method of the redundant resource described in any one in 1 to 12.
CN201711343797.5A 2017-12-14 2017-12-14 Method and device for determining redundant resources, terminal equipment and storage medium Active CN108089893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711343797.5A CN108089893B (en) 2017-12-14 2017-12-14 Method and device for determining redundant resources, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711343797.5A CN108089893B (en) 2017-12-14 2017-12-14 Method and device for determining redundant resources, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108089893A true CN108089893A (en) 2018-05-29
CN108089893B CN108089893B (en) 2021-03-16

Family

ID=62176221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711343797.5A Active CN108089893B (en) 2017-12-14 2017-12-14 Method and device for determining redundant resources, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108089893B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984207A (en) * 2018-06-14 2018-12-11 珠海金山网络游戏科技有限公司 A kind of method of installation kit invalid resource file detection
CN109344277A (en) * 2018-08-31 2019-02-15 网易传媒科技(北京)有限公司 Image processing method, device, medium and calculating equipment
CN109614254A (en) * 2018-12-27 2019-04-12 迅雷计算机(深圳)有限公司 A kind of Dylib reference delet method and relevant apparatus
CN109634613A (en) * 2018-12-06 2019-04-16 珠海西山居互动娱乐科技有限公司 A kind of hand trip installation kit redundant resource inspection method and system
CN109828777A (en) * 2018-12-06 2019-05-31 珠海西山居互动娱乐科技有限公司 A kind of hand trip installation kit optimization method and system
CN110147237A (en) * 2019-05-20 2019-08-20 深圳市腾讯网域计算机网络有限公司 A kind of redundant resource minimizing technology and device
CN110413282A (en) * 2019-08-01 2019-11-05 腾讯科技(深圳)有限公司 A kind of redundant resource processing method, device, equipment and storage medium
CN110960858A (en) * 2019-12-23 2020-04-07 上海米哈游网络科技股份有限公司 Game resource processing method, device, equipment and storage medium
CN112131211A (en) * 2020-09-15 2020-12-25 贝壳技术有限公司 Method, device and storage medium for clearing redundant service data
CN112199093A (en) * 2020-10-15 2021-01-08 腾讯科技(深圳)有限公司 Resource checking method, device, equipment and computer readable storage medium
CN112379891A (en) * 2020-10-09 2021-02-19 广州博冠信息科技有限公司 Data processing method and device
CN113051230A (en) * 2019-12-27 2021-06-29 福建省天奕网络科技有限公司 Method and storage medium for clearing UI picture resources by Laya project
CN113448932A (en) * 2020-03-25 2021-09-28 北京沃东天骏信息技术有限公司 Application program optimization method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826103A (en) * 2010-04-06 2010-09-08 山东高效能服务器和存储研究院 Method for reversely searching packet depended relationship in unix operating system
CN102411499A (en) * 2011-08-11 2012-04-11 浙江大学 Directed-graph-structure-based system information extraction method for single electronic control unit (ECU)
CN102622556A (en) * 2011-12-22 2012-08-01 南京邮电大学 Web service security analysis method based on program slicing technique
CN106599151A (en) * 2016-12-07 2017-04-26 Tcl集团股份有限公司 Method and system for parallel cleaning of Android engineering useless resources

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826103A (en) * 2010-04-06 2010-09-08 山东高效能服务器和存储研究院 Method for reversely searching packet depended relationship in unix operating system
CN102411499A (en) * 2011-08-11 2012-04-11 浙江大学 Directed-graph-structure-based system information extraction method for single electronic control unit (ECU)
CN102622556A (en) * 2011-12-22 2012-08-01 南京邮电大学 Web service security analysis method based on program slicing technique
CN106599151A (en) * 2016-12-07 2017-04-26 Tcl集团股份有限公司 Method and system for parallel cleaning of Android engineering useless resources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李运景: "《基于引文分析可视化的知识图谱构建研究》", 31 December 2009 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984207A (en) * 2018-06-14 2018-12-11 珠海金山网络游戏科技有限公司 A kind of method of installation kit invalid resource file detection
CN109344277A (en) * 2018-08-31 2019-02-15 网易传媒科技(北京)有限公司 Image processing method, device, medium and calculating equipment
CN109344277B (en) * 2018-08-31 2020-10-20 网易传媒科技(北京)有限公司 Picture processing method, device, medium and computing equipment
CN109828777A (en) * 2018-12-06 2019-05-31 珠海西山居互动娱乐科技有限公司 A kind of hand trip installation kit optimization method and system
CN109634613A (en) * 2018-12-06 2019-04-16 珠海西山居互动娱乐科技有限公司 A kind of hand trip installation kit redundant resource inspection method and system
CN109614254A (en) * 2018-12-27 2019-04-12 迅雷计算机(深圳)有限公司 A kind of Dylib reference delet method and relevant apparatus
CN110147237A (en) * 2019-05-20 2019-08-20 深圳市腾讯网域计算机网络有限公司 A kind of redundant resource minimizing technology and device
CN110147237B (en) * 2019-05-20 2023-08-08 深圳市腾讯网域计算机网络有限公司 Redundant resource removing method and device
CN110413282A (en) * 2019-08-01 2019-11-05 腾讯科技(深圳)有限公司 A kind of redundant resource processing method, device, equipment and storage medium
CN110413282B (en) * 2019-08-01 2024-01-30 腾讯科技(深圳)有限公司 Redundant resource processing method, device, equipment and storage medium
CN110960858A (en) * 2019-12-23 2020-04-07 上海米哈游网络科技股份有限公司 Game resource processing method, device, equipment and storage medium
CN110960858B (en) * 2019-12-23 2024-02-02 上海米哈游网络科技股份有限公司 Game resource processing method, device, equipment and storage medium
CN113051230A (en) * 2019-12-27 2021-06-29 福建省天奕网络科技有限公司 Method and storage medium for clearing UI picture resources by Laya project
CN113448932A (en) * 2020-03-25 2021-09-28 北京沃东天骏信息技术有限公司 Application program optimization method and device
CN112131211A (en) * 2020-09-15 2020-12-25 贝壳技术有限公司 Method, device and storage medium for clearing redundant service data
CN112379891A (en) * 2020-10-09 2021-02-19 广州博冠信息科技有限公司 Data processing method and device
CN112379891B (en) * 2020-10-09 2023-12-29 广州博冠信息科技有限公司 Data processing method and device
CN112199093B (en) * 2020-10-15 2022-06-07 腾讯科技(深圳)有限公司 Resource checking method, device, equipment and computer readable storage medium
CN112199093A (en) * 2020-10-15 2021-01-08 腾讯科技(深圳)有限公司 Resource checking method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN108089893B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN108089893A (en) Definite method, apparatus, terminal device and the storage medium of redundant resource
CN103902653B (en) A kind of method and apparatus for building data warehouse table genetic connection figure
US9158803B2 (en) Incremental schema consistency validation on geographic features
CN106126521A (en) The social account method for digging of destination object and server
DE102016013248A1 (en) Reference block accumulation in a reference quantity for deduplication in storage management
CN110515896B (en) Model resource management method, model file manufacturing method, device and system
CN105630803B (en) The method and apparatus that Document image analysis establishes index
CN106649464A (en) Method of building Chinese address tree and device
CN107491383A (en) Catching method, device and the mobile terminal of application crashes Operation Log
CN112667860A (en) Sub-graph matching method, device, equipment and storage medium
CN101772760A (en) Database management program and database management device
US10893067B1 (en) Systems and methods for rapidly generating security ratings
CN106294128B (en) A kind of automated testing method and device exporting report data
CN108536745A (en) Tables of data extracting method, terminal, equipment and storage medium based on Shell
CN108874930A (en) File attribute information statistical method, device, system, equipment and storage medium
CN106815232A (en) Catalog management method, apparatus and system
CN106802928B (en) Power grid historical data management method and system
CN109684517A (en) A kind of historical data storage method, reading/writing method, storage device and equipment
CN111708921B (en) Number selection method, device, equipment and storage medium
CN109102303A (en) Risk checking method and relevant apparatus
CN104572687B (en) The key user's recognition methods and device that microblogging is propagated
CN107943912A (en) A kind of response type Resource TOC data visualization management method, terminal and device
CN108959584A (en) A kind of method and device of the processing diagram data based on community structure
CN115982177A (en) Data collection method, device, equipment and medium based on tree dimensionality
CN110704468A (en) Data updating method and device and controller

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