CN104866289A - Method and device for software identification - Google Patents

Method and device for software identification Download PDF

Info

Publication number
CN104866289A
CN104866289A CN201410060341.8A CN201410060341A CN104866289A CN 104866289 A CN104866289 A CN 104866289A CN 201410060341 A CN201410060341 A CN 201410060341A CN 104866289 A CN104866289 A CN 104866289A
Authority
CN
China
Prior art keywords
file
software
green
directory
filename
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410060341.8A
Other languages
Chinese (zh)
Inventor
张皓秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410060341.8A priority Critical patent/CN104866289A/en
Publication of CN104866289A publication Critical patent/CN104866289A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention discloses a method and a device for software identification. According to the method, green software in equipment is identified according to file characteristic information of a file included in pre-configured green software, so that a user can know the downloaded green software according to the identified green software, and thus the condition that the green software uselessly occupies storage resources of the equipment to be unable to provide the service for the user can be effectively avoided; and when the user utilizes the green software again, the user cannot forget the downloaded software to download again, so that the storage resources of the equipment are saved.

Description

Software identification method and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of software identification method and device.
Background technology
"Green" software refers to the software without the need to can directly use after installation, download, does not record any registration table key assignments in addition in registration table.Because "Green" software can not leave registration table key assignments in registration table, therefore relative to general software, "Green" software affects the normal operation of operating system hardly, can ensure the stability of system.
General, after user downloads "Green" software compressed package, under this "Green" software being unziped to the file directory that this user specifies arbitrarily.
And if user forgets and oneself has downloaded this "Green" software, so this "Green" software just can only futile take this user equipment (as, the computing machine etc. of this user) storage resources, and can not provide any service for this user, this obviously wastes storage resources.Even, when user uses this "Green" software again, oneself download this "Green" software owing to forgetting, therefore again downloaded this "Green" software possibly, the storage resources of the further waste equipment of meeting.
Summary of the invention
In view of the above problems, propose the present invention to provide a kind of overcoming the problems referred to above or the software identification method solved the problem at least in part and device, when can effectively avoid user to forget that it has downloaded "Green" software, the storage resources of "Green" software waste subscriber equipment.
According to a first aspect of the invention, propose a kind of software identification method, comprising:
For each "Green" software, the file feature information of the file comprised in pre-configured each "Green" software;
The file directory comprising the file mated with described file feature information whether is there is in judgment device;
If existed, then determine that the software comprised in described file directory is described "Green" software, otherwise, determine there is not described "Green" software in described equipment.
Alternatively, the file feature information configuring the file comprised in each "Green" software comprises further:
Extract filename and the file attribute information of the file comprised in each "Green" software, described file attribute information comprises: signing messages, descriptor, file size;
By the title of each "Green" software and the filename of file extracted and file attribute information association store.
Alternatively, before whether there is the file directory comprising the file mated with described file feature information in judgment device, also comprise:
The filename of the file comprised in each file directory in acquisition equipment;
Whether there is the satisfied file directory comprising the file mated with described file feature information in judgment device to comprise further:
According to the filename of the file comprised in each file directory, the file directory that the filename of the filename and configuration of searching the file comprised mates;
Determine the file attribute information of the file mated with the filename of configuration in the file directory found;
Judge whether the file attribute information determined mates with the file attribute information of configuration;
If so, then determine that the file directory found is the file directory comprising the file mated with described file feature information;
Otherwise, determine not exist the file directory comprising the file mated with described file feature information.
Alternatively, before determining that the software comprised in described file directory is described "Green" software, also comprise:
Determine that the unloading item in described equipment does not point to described file directory.
Alternatively, the file feature information configuring the file comprised in each "Green" software comprises further:
Extract the filename of the master program file comprised in each "Green" software, the file name association of the title of each "Green" software with the master program file extracted is stored;
After determining that the software comprised in described file directory is described "Green" software, also comprise:
When receiving the instruction running described "Green" software, the file that locating file name is mated with the filename of the described master program file of configuration in described file directory, and run;
When receiving the instruction of locating described "Green" software, open described file directory;
When receiving the instruction of deleting described "Green" software, delete described file directory.
According to a second aspect of the invention, propose a kind of software recognition device, comprising:
Configuration module, for for each "Green" software, the file feature information of the file comprised in pre-configured each "Green" software;
Whether judge module, for existing the file directory comprising the file mated with described file feature information in judgment device;
Identification module, for when the judged result of described judge module is for being, determines that the software comprised in described file directory is described "Green" software; When the judged result of described judge module is no, determine there is not described "Green" software in described equipment.
Alternatively, described configuration module specifically for, extract filename and the file attribute information of the file comprised in each "Green" software, by the title of each "Green" software and the filename of file extracted and file attribute information association store; Described file attribute information comprises: signing messages, descriptor, file size.
Alternatively, described device also comprises:
Scan module, for whether exist in described judge module judgment device comprise the file mated with described file feature information file directory before, the filename of the file comprised in each file directory in acquisition equipment;
Described judge module specifically for, according to the filename of the file comprised in each file directory, the file directory that the filename of the filename and configuration of searching the file comprised mates; Determine the file attribute information of the file mated with the filename of configuration in the file directory found; Judge whether the file attribute information determined mates with the file attribute information of configuration; If so, then determine that the file directory found is the file directory comprising the file mated with described file feature information; Otherwise, determine not exist the file directory comprising the file mated with described file feature information.
Alternatively, described judge module also for, before the software determining to comprise in described file directory is described "Green" software, determine that the unloading item in described equipment does not point to described file directory.
Alternatively, described configuration module specifically for, extract the filename of the master program file comprised in each "Green" software, the title of each "Green" software and the file name association of master program file extracted stored;
Described device also comprises:
Operational module, after software for determining to comprise in described file directory at described identification module is described "Green" software, when receiving the instruction running described "Green" software, the file that locating file name is mated with the filename of the described master program file of configuration in described file directory, and run; When receiving the instruction of locating described "Green" software, open described file directory; When receiving the instruction of deleting described "Green" software, delete described file directory.
According to software identification method provided by the invention, can according to the file feature information of the file comprised in pre-configured "Green" software, identify the "Green" software existed in equipment, therefore, user is according to the "Green" software identified, its "Green" software downloaded can be known, the futile effort of this "Green" software can be effectively avoided to take the storage resources of equipment and the situation of service can not be provided for user, when user uses this "Green" software again, also can not download this "Green" software because forgetting and again download, the storage resources of equipment can have been saved.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the software identification method according to one embodiment of the invention;
Fig. 2 identifies for foundation one embodiment of the invention the schematic diagram that "Green" software rear line provides button;
Fig. 3 is the software identification detailed process according to one embodiment of the invention;
Fig. 4 is the software recognition device structural representation according to one embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Below in conjunction with Figure of description, the embodiment of the present invention is described in detail.
Fig. 1 is the software identification method according to one embodiment of the invention, can comprise step:
S101: for each "Green" software, the file feature information of the file comprised in pre-configured each "Green" software.
S102: whether there is the file directory comprising the file mated with this file feature information in judgment device, if so, then performs step S103, otherwise performs step S104.
S103: determine that the software comprised in this file directory is this "Green" software.
S104: determine there is not this "Green" software in equipment.
From the foregoing, according to this embodiment, can for each "Green" software, be the file feature information of this "Green" software configuration correspondence in advance, if there is the file directory that certain mates with this file feature information in the equipment of user, then can determine that the software comprised in this file directory is exactly this "Green" software, like this, user is according to this "Green" software identified, can know that it has downloaded this "Green" software, the futile effort of this "Green" software can be effectively avoided to take the storage resources of equipment and the situation of service can not be provided for user, when user uses this "Green" software again, also can not download this "Green" software because forgetting and again download, the storage resources of equipment can be saved.
According to one embodiment of the present of invention, for certain "Green" software, during the file feature information of the file comprised in this "Green" software pre-configured, filename and the file attribute information of the file comprised in this "Green" software can be extracted, and by the title of this "Green" software extracted and the filename of file extracted and file attribute information association store, wherein, file attribute information comprises one or more in signing messages, descriptor, file size.Concrete, the file feature information configured for certain "Green" software can be kept in a specified file, and associate the title of this specified file and this "Green" software, below this specified file is called tag file.
Such as, for "Green" software R, a tag file filelist associated with this "Green" software R can be created, and in filelist, configure the file feature information of this "Green" software R.Because include file in "Green" software R is called 3 files of 1.exe, 2.exe, 3.exe, therefore, can extraction document name 1.exe, 2.exe, 3.exe, and to be stored in filelist.
Further, due in "Green" software R, the signing messages that file is called these two files of 1.exe and 2.exe is generally 123, the descriptor that file is called the file of 1.exe is R, the descriptor that file is called the file of 2.exe is rstart, therefore, can be called signing messages 123, the descriptor R of the file of 1.exe by extraction document, extraction document is called signing messages 123, the descriptor rstart of the file of 2.exe, and is stored in filelist.And be called the general size of file of 3.exe between 100K ~ 300K due to file, therefore, the file size 100K ~ 300K of the file of 3.exe can be called by extraction document, and be stored in filelist.Adopt as above after method configuration feature file f ilelist, the filelist of configuration is as shown in table 1.
Filename Signing messages Descriptor File size
1.exe 123 R
2.exe 123 rstart
3.exe 100K~300K
Table 1
As can be seen from Table 1, in table 1, the file feature information of configuration characterizes the feature of the file comprised in this "Green" software R, if there is the file directory that the file characteristic shown in the file comprised and table 1 matches in the equipment of user, namely, if there is certain file directory include file in the equipment of user to be called 1.exe, 2.exe, 3 files of 3.exe, and the signing messages that the file comprised is called the file of 1.exe is 123, descriptor is R, the signing messages that the file comprised is called the file of 2.exe is 123, descriptor is rstart, the file comprised is called the size of the file of 3.exe within the scope of 100K ~ 300K, then can determine that the software comprised in this file directory is exactly this "Green" software R.
Certainly, except configuring above-mentioned filename, signing messages, descriptor, file size, in the embodiment of the present invention, also alternative document characteristic information can be configured for "Green" software.As, also can extract the subdirectory name of the sub-directory comprised in "Green" software, and the filename of the file comprised in this sub-directory and file attribute information (file attribute information includes but not limited to signing messages, descriptor, file size), and the filename of the file comprised in the subdirectory name of extraction and sub-directory and the names associate of file attribute information and this "Green" software are stored.
Continue to be described for above-mentioned "Green" software R, due to the configuration file that a file is called conf.ini generally can be there is in "Green" software R, it is in the sub-directory of conf that this configuration file can be kept at subdirectory name, the signing messages of this configuration file is 123, descriptor is the configuration file of R, therefore, the subdirectory name conf in "Green" software R can be extracted, and extract the filename conf.ini of the file comprised in this sub-directory, extract the signing messages 123 of conf.ini, the configuration file of descriptor R, and the filename conf.ini of file will comprised in the subdirectory name conf of extraction and conf, signing messages 123, descriptor R is stored in filelist.
Wherein, when configuring the filename comprised in subdirectory name and sub-directory, can be configured by the form of file path+filename.As above in example because configuration file conf.ini is in sub-directory conf, therefore the filename of subdirectory name and configuration file can be configured to: conf conf.ini.Be configured with above-mentioned subdirectory name, tag file filelist after the filename of file that sub-directory comprises and file attribute information is as shown in table 2.
Filename Signing messages Descriptor File size
1.exe 123 R
2.exe 123 rstart
3.exe 100K~300K
\conf\conf.ini 123 The configuration file of R
Table 2
According to the feature of the "Green" software R shown in table 2, if there is certain file directory include file in the equipment of user to be called 1.exe, 2.exe, 3 files of 3.exe and subdirectory name are the sub-directory of conf, and the signing messages that the file comprised is called the file of 1.exe is 123, descriptor is R, the signing messages that the file comprised is called the file of 2.exe is 123, descriptor is rstart, the file comprised is called the size of the file of 3.exe within the scope of 100K ~ 300K, and include file is called the file of conf.ini in the sub-directory of conf by name, the signing messages of this file is 123, descriptor is the configuration file of R, then can determine that the software comprised in this file directory is exactly this "Green" software R, thus user is according to this "Green" software R identified, can know that it has downloaded this "Green" software R.
According to the above embodiment of the present invention, due to the present invention in identification equipment, whether there is certain "Green" software time, need to judge in a file directory, whether to comprise the All Files mated with the file feature information of this "Green" software of configuration, this also just needs the file feature information determining All Files in equipment, comprise filename and file attribute information (signing messages, descriptor, file size etc.), and owing to there is the "Green" software of magnanimity in actual applications, if determine the file feature information of All Files in primary equipment for each "Green" software, then can reduce the efficiency identifying "Green" software.Therefore, in order to improve recognition efficiency, whether can there is the file directory (the step S102 shown in Fig. 1) comprising the file mated with the file feature information extracted in the embodiment of the present invention in judgment device before, the filename of the file comprised in each file directory in acquisition equipment, and when whether there is the file directory comprising the file mated with the file feature information extracted in judgment device, according to the filename of the file comprised in each file directory, the file directory that the filename of the filename and configuration of searching the file comprised mates; Determine the file attribute information of the file mated with the filename of configuration in the file directory found; Judge whether the file attribute information determined mates with the file attribute information of configuration; If so, then determine that the file directory found is the file directory comprising the file mated with the file feature information extracted; Otherwise, determine not exist the file directory comprising the file mated with the file feature information extracted.
Such as, table 1 in above example is described for example, when whether there is "Green" software R in identification equipment, only need whether to exist in first judgment device to contain the file directory that file is called 3 files of 1.exe, 2.exe, 3.exe, if existed, whether the file attribute information corresponding to table 1 matches then to judge to be called 3 files of 1.exe, 2.exe, 3.exe by the file comprised in this file directory further, if there is no, then can determine there is not this "Green" software R in equipment.
Like this, when whether there is certain "Green" software in identification equipment, only need first to carry out judging according to the filename of All Files in equipment, if certain file directory contains the file of the filename for "Green" software configuration, judge whether these files mate with the file attribute information configured for this "Green" software more further, therefore effectively can improve the efficiency of identification software.
According to one embodiment of the present of invention, due to the software that "Green" software is without the need to installing, but the software that can directly use after decompress(ion), therefore be do not comprise unloading item in "Green" software, but not "Green" software generally can comprise unloading item, file directory pointed by this unloading item is exactly the file directory at non-green software place, this non-green software can be unloaded by this unloading item and delete the file directory at this non-green software place, therefore, in order to improve the accuracy identifying "Green" software, in the method shown in Fig. 1, after it is determined that the presence of by step S102 the file directory comprising the file mated with the file feature information extracted, before the software being determined by step S103 to comprise in this file directory is "Green" software, whether can also point to this file directory by unloading item in judgment device, if do not point to, then step S103 can be performed, namely, determine that the software comprised in this file directory is this "Green" software, if point to this file directory, then determine that the software comprised in this file directory is not "Green" software.
Foundation is by an embodiment of inventing, for each "Green" software, during the file feature information of the file of pre-configured each "Green" software, also can extract the filename of the master program file comprised in each "Green" software, the file name association of the title of each "Green" software with the master program file extracted is stored.Then in the step S103 shown in Fig. 1, determine that the software comprised in file directory is for after this "Green" software, also can receive the operational order of user to this "Green" software, when receiving the instruction running this "Green" software, the file that locating file name is mated with the filename of this master program file of configuration in this file directory, and run, when receiving the instruction of this "Green" software of location, opening this file directory, when receiving the instruction of deleting this "Green" software, deleting this file directory.Such as, still be described for "Green" software R, the file that can configure the master program file of this "Green" software R in tag file filelist is called 1.exe, at the software determining to comprise in certain file directory for after this "Green" software R, if receive the instruction running "Green" software R, then run the file that this file directory file is called 1.exe.
Concrete, software recognition device after identifying this "Green" software, can provide " RUN ", " opening ", " deletion " these three action buttons to user, as shown in Figure 2.
Fig. 2 identifies for foundation one embodiment of the invention the schematic diagram that "Green" software rear line provides button, in fig. 2, after software recognition device identifies "Green" software R, in human-computer interaction interface, provide three action buttons to user, be from left to right followed successively by " RUN ", " opening ", " deletion ".When user clicks " RUN " button, the instruction running this "Green" software R is then sent to software recognition device, the software recognition device file that then locating file name is mated with the filename of this master program file of configuration in this file directory also runs, when user clicks open button, the instruction of location this "Green" software R is then sent to software recognition device, this file directory then opened by software recognition device, when user clicks " deletion " button, the instruction of deleting this "Green" software R is then sent to software recognition device, this file directory then deleted by software recognition device.
Fig. 3 is the software identification detailed process according to one embodiment of the invention, comprises step:
S301: for "Green" software, the file feature information of the file comprised in this "Green" software pre-configured.
S302: the filename of the file comprised in each file directory in acquisition equipment.
S303: according to the filename of the file comprised in each file directory, the file directory that the filename searching the file comprised mates with the filename configured in this file feature information.
S304: the file attribute information determining the file mated with the filename of configuration in the file directory found.
S305: judge whether the file attribute information determined mates with the file attribute information of configuration, if so, then perform step S306, otherwise perform step S308.
S306: whether the unloading item in judgment device points to this file directory, if so, performs step S308, otherwise performs step S307.
S307: determine that the software comprised in this file directory is this "Green" software.
S308: determine there is not this "Green" software in equipment.
Certainly, in the process shown in Fig. 3, if the file directory that the filename that software recognition device does not find the file comprised in step S303 mates with the filename configured in this file feature information, then can determine there is not this "Green" software in equipment.
Be more than software identification method provided by the invention, based on same invention thinking, the present invention also provides a kind of software recognition device, as shown in Figure 4.
Fig. 4 is the software recognition device structural representation according to one embodiment of the invention, can comprise:
Configuration module 401, for for each "Green" software, the file feature information of the file comprised in pre-configured each "Green" software;
Whether judge module 402, for existing the file directory comprising the file mated with described file feature information in judgment device;
Identification module 403, for when the judged result of described judge module 402 is for being, determines that the software comprised in described file directory is described "Green" software; When the judged result of described judge module 402 is no, determine there is not described "Green" software in described equipment.
Described configuration module 401 specifically for, extract filename and the file attribute information of the file comprised in each "Green" software, by the title of each "Green" software and the filename of file extracted and file attribute information association store; Described file attribute information comprises: signing messages, descriptor, file size.
Described device also comprises:
Scan module 404, for whether there is the file directory comprising the file mated with described file feature information in described judge module 402 judgment device before, the filename of the file comprised in each file directory in acquisition equipment;
Described judge module 402 specifically for, according to the filename of the file comprised in each file directory, the file directory that the filename of the filename and configuration of searching the file comprised mates; Determine the file attribute information of the file mated with the filename of configuration in the file directory found; Judge whether the file attribute information determined mates with the file attribute information of configuration; If so, then determine that the file directory found is the file directory comprising the file mated with described file feature information; Otherwise, determine not exist the file directory comprising the file mated with described file feature information.
Described judge module 402 also for, before the software determining to comprise in described file directory is described "Green" software, determine that the unloading item in described equipment does not point to described file directory.
Described configuration module specifically for, extract the filename of the master program file comprised in each "Green" software, the title of each "Green" software and the file name association of master program file extracted stored;
Described device also comprises:
Operational module 405, after software for determining to comprise in described file directory at described identification module is described "Green" software, when receiving the instruction running described "Green" software, the file that locating file name is mated with the filename of the described master program file of configuration in described file directory, and run; When receiving the instruction of locating described "Green" software, open described file directory; When receiving the instruction of deleting described "Green" software, delete described file directory.
According to software identification method provided by the invention, can according to the file feature information of the file comprised in pre-configured "Green" software, identify the "Green" software existed in equipment, therefore, user is according to the "Green" software identified, its "Green" software downloaded can be known, the futile effort of this "Green" software can be effectively avoided to take the storage resources of equipment and the situation of service can not be provided for user, when user uses this "Green" software again, also can not download this "Green" software because forgetting and again download, the storage resources of equipment can have been saved.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the equipment of the implantation information in the interception application program of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The application can be applied to computer system/server, and it can operate with other universal or special computing system environment numerous or together with configuring.The example of the well-known computing system being suitable for using together with computer system/server, environment and/or configuration includes but not limited to: personal computer system, server computer system, thin client, thick client computer, hand-held or laptop devices, the system based on microprocessor, Set Top Box, programmable consumer electronics, NetPC Network PC, little type Ji calculate machine Xi Tong ﹑ large computer system and comprise the distributed cloud computing technology environment of above-mentioned any system, etc.
Computer system/server can describe under the general linguistic context of the computer system executable instruction (such as program module) performed by computer system.Usually, program module can comprise routine, program, target program, assembly, logic, data structure etc., and they perform specific task or realize specific abstract data type.Computer system/server can be implemented in distributed cloud computing environment, and in distributed cloud computing environment, task is performed by the remote processing devices by communication network links.In distributed cloud computing environment, program module can be positioned at and comprise on the Local or Remote computing system storage medium of memory device.

Claims (10)

1. a software identification method, it comprises:
For each "Green" software, the file feature information of the file comprised in pre-configured each "Green" software;
The file directory comprising the file mated with described file feature information whether is there is in judgment device;
If existed, then determine that the software comprised in described file directory is described "Green" software, otherwise, determine there is not described "Green" software in described equipment.
2. the file feature information the method for claim 1, wherein configuring the file comprised in each "Green" software comprises further:
Extract filename and the file attribute information of the file comprised in each "Green" software, described file attribute information comprises: signing messages, descriptor, file size;
By the title of each "Green" software and the filename of file extracted and file attribute information association store.
3. method as claimed in claim 2, wherein, before whether there is the file directory comprising the file mated with described file feature information, also comprises in judgment device:
The filename of the file comprised in each file directory in acquisition equipment;
Whether there is the satisfied file directory comprising the file mated with described file feature information in judgment device to comprise further:
According to the filename of the file comprised in each file directory, the file directory that the filename of the filename and configuration of searching the file comprised mates;
Determine the file attribute information of the file mated with the filename of configuration in the file directory found;
Judge whether the file attribute information determined mates with the file attribute information of configuration;
If so, then determine that the file directory found is the file directory comprising the file mated with described file feature information;
Otherwise, determine not exist the file directory comprising the file mated with described file feature information.
4., before the method for claim 1, wherein determining that the software comprised in described file directory is described "Green" software, also comprise:
Determine that the unloading item in described equipment does not point to described file directory.
5. the file feature information the method for claim 1, wherein configuring the file comprised in each "Green" software comprises further:
Extract the filename of the master program file comprised in each "Green" software, the file name association of the title of each "Green" software with the master program file extracted is stored;
After determining that the software comprised in described file directory is described "Green" software, also comprise:
When receiving the instruction running described "Green" software, the file that locating file name is mated with the filename of the described master program file of configuration in described file directory, and run;
When receiving the instruction of locating described "Green" software, open described file directory;
When receiving the instruction of deleting described "Green" software, delete described file directory.
6. a software recognition device, it comprises:
Configuration module, for for each "Green" software, the file feature information of the file comprised in pre-configured each "Green" software;
Whether judge module, for existing the file directory comprising the file mated with described file feature information in judgment device;
Identification module, for when the judged result of described judge module is for being, determines that the software comprised in described file directory is described "Green" software; When the judged result of described judge module is no, determine there is not described "Green" software in described equipment.
7. device as claimed in claim 6, wherein, described configuration module specifically for, extract filename and the file attribute information of the file comprised in each "Green" software, by the title of each "Green" software and the filename of file extracted and file attribute information association store; Described file attribute information comprises: signing messages, descriptor, file size.
8. device as claimed in claim 7, also comprises:
Scan module, for whether exist in described judge module judgment device comprise the file mated with described file feature information file directory before, the filename of the file comprised in each file directory in acquisition equipment;
Described judge module specifically for, according to the filename of the file comprised in each file directory, the file directory that the filename of the filename and configuration of searching the file comprised mates; Determine the file attribute information of the file mated with the filename of configuration in the file directory found; Judge whether the file attribute information determined mates with the file attribute information of configuration; If so, then determine that the file directory found is the file directory comprising the file mated with described file feature information; Otherwise, determine not exist the file directory comprising the file mated with described file feature information.
9. device as claimed in claim 6, wherein, described judge module also for, before the software determining to comprise in described file directory is described "Green" software, determine that the unloading item in described equipment does not point to described file directory.
10. device as claimed in claim 6, wherein, described configuration module specifically for, extract the filename of the master program file comprised in each "Green" software, the title of each "Green" software and the file name association of master program file extracted stored;
Described device also comprises:
Operational module, after software for determining to comprise in described file directory at described identification module is described "Green" software, when receiving the instruction running described "Green" software, the file that locating file name is mated with the filename of the described master program file of configuration in described file directory, and run; When receiving the instruction of locating described "Green" software, open described file directory; When receiving the instruction of deleting described "Green" software, delete described file directory.
CN201410060341.8A 2014-02-21 2014-02-21 Method and device for software identification Pending CN104866289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410060341.8A CN104866289A (en) 2014-02-21 2014-02-21 Method and device for software identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410060341.8A CN104866289A (en) 2014-02-21 2014-02-21 Method and device for software identification

Publications (1)

Publication Number Publication Date
CN104866289A true CN104866289A (en) 2015-08-26

Family

ID=53912143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410060341.8A Pending CN104866289A (en) 2014-02-21 2014-02-21 Method and device for software identification

Country Status (1)

Country Link
CN (1) CN104866289A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003084196A1 (en) * 2002-03-28 2003-10-09 Martin Dunsmuir Closed-loop command and response system for automatic communications between interacting computer systems over an audio communications channel
CN101141476A (en) * 2007-10-09 2008-03-12 创新科存储技术(深圳)有限公司 File storing, downloading method and device
CN101552669A (en) * 2008-04-02 2009-10-07 林兆祥 Method and system of data transmission
CN101771552A (en) * 2009-01-04 2010-07-07 英业达股份有限公司 Device, system and method for reducing repeated downloading of images through identification codes
CN102609515A (en) * 2012-02-07 2012-07-25 奇智软件(北京)有限公司 Quick file scanning method and quick file scanning system
CN103412900A (en) * 2013-07-29 2013-11-27 宇龙计算机通信科技(深圳)有限公司 File downloading treatment method and terminal
CN103473092A (en) * 2013-09-02 2013-12-25 小米科技有限责任公司 Method and device for processing downloaded applications and terminal equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003084196A1 (en) * 2002-03-28 2003-10-09 Martin Dunsmuir Closed-loop command and response system for automatic communications between interacting computer systems over an audio communications channel
CN101141476A (en) * 2007-10-09 2008-03-12 创新科存储技术(深圳)有限公司 File storing, downloading method and device
CN101552669A (en) * 2008-04-02 2009-10-07 林兆祥 Method and system of data transmission
CN101771552A (en) * 2009-01-04 2010-07-07 英业达股份有限公司 Device, system and method for reducing repeated downloading of images through identification codes
CN102609515A (en) * 2012-02-07 2012-07-25 奇智软件(北京)有限公司 Quick file scanning method and quick file scanning system
CN103412900A (en) * 2013-07-29 2013-11-27 宇龙计算机通信科技(深圳)有限公司 File downloading treatment method and terminal
CN103473092A (en) * 2013-09-02 2013-12-25 小米科技有限责任公司 Method and device for processing downloaded applications and terminal equipment

Similar Documents

Publication Publication Date Title
US20180113862A1 (en) Method and System for Electronic Document Version Tracking and Comparison
EP3336690A1 (en) Extensible data transformation authoring and validation system
CN103092604A (en) Application program classification method and device
CN104536792A (en) Method and device for eliminating application program residual files
CN103176828A (en) Method and device of deleting application program residual files
CN102520987A (en) Online experience and installation method, device, server and management system of application program
CN111008034B (en) Patch generation method and device
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
US20190095459A1 (en) Library indexing system and method
CN105354097A (en) Data operation method and device based on clipboard and electronic equipment
CN111240892B (en) Data backup method and device
CN105183760A (en) Webpage component loading method and apparatus
CN111563015A (en) Data monitoring method and device, computer readable medium and terminal equipment
CN103631603A (en) Software cleaning method and system
CN103679027A (en) Searching and killing method and device for kernel level malware
US20170185388A1 (en) Application program uninstallation method and apparatus
CN103139761A (en) Information real-time show method and mobile communication terminal
CN105554137A (en) Backup system and method
CN105204964A (en) Data backup method and device based on cloud disk
CN102999566B (en) Remove the method and apparatus of equipment use vestige
CN105049631A (en) Method and mobile terminal for sending information in address book program
CN102929733B (en) Method and device for processing error files and client-side equipment
CN104361007A (en) Browser and processing method for browser favorites
CN102999565B (en) A kind of method for cleaning of equipment use vestige and device
CN105426544A (en) Method and device for monitoring state of database

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150826