CN104239494A - Installation path searching method and system and auxiliary client - Google Patents

Installation path searching method and system and auxiliary client Download PDF

Info

Publication number
CN104239494A
CN104239494A CN201410456482.1A CN201410456482A CN104239494A CN 104239494 A CN104239494 A CN 104239494A CN 201410456482 A CN201410456482 A CN 201410456482A CN 104239494 A CN104239494 A CN 104239494A
Authority
CN
China
Prior art keywords
directory
sub
target sub
root directory
target
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
CN201410456482.1A
Other languages
Chinese (zh)
Other versions
CN104239494B (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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201410456482.1A priority Critical patent/CN104239494B/en
Publication of CN104239494A publication Critical patent/CN104239494A/en
Application granted granted Critical
Publication of CN104239494B publication Critical patent/CN104239494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices

Abstract

The invention discloses an installation path searching method and system and an auxiliary client. The method comprises the following steps: searching for a target root directory matched with a set root directory inspiration character string in the root directory of each disk in response to a path searching command, wherein the root directory inspiration character strings are used for searching for target root directories matched with the installation path of an application client in the root directories; judging whether an executable file of the application client exists in any searched target root directory or not, and if not, searching for a target sub-directory matched with a set sub-directory inspiration character string from each searched target root directory, wherein the sub-directory inspiration character strings are used for searching for target sub-directories matched with the installation path of the application client in the target root directories; judging whether an executable file of the application client exists in any searched target sub-directory or not, and if not, using the target sub-directory as the installation path of the application client. By adopting the installation path searching method and system and the auxiliary client, the searching efficiency of the installation path of the application client can be effectively increased.

Description

A kind of installation path searching method and system, assistant client terminal
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of installation path searching method and system, assistant client terminal.
Background technology
In computing machine use procedure, user sometimes can select the assistant client terminal (also referred to as assisted class instrument) installing some applications client, and assistant client terminal needs the installation path searching for applications client when mounted usually, such assistant client terminal just can normally work.For heroic alliance box, hero alliance box is as a kind of assistant client terminal (i.e. assisted class instrument) of heroic alliance game client, hero alliance box just needs the installation path searching for heroic alliance game client when mounted, and after the installation path of search heroic alliance game client, allow user to be performed by heroic alliance box and start the operation such as heroic alliance game client, inquiry military success.
Find in practice, the mode of installation path of assistant client terminal search applications client is normally realized by the executable file totally searching for applications client, and day by day increase along with disk size, the executable file searching for applications client with overall way of search can make the search efficiency of reduction installation path.
Summary of the invention
The embodiment of the invention discloses a kind of installation path searching method and system, assistant client terminal, effectively can promote the search efficiency of the installation path of applications client.
Embodiment of the present invention first aspect discloses a kind of installation path searching method, comprising:
Response path search instruction, searches in the root directory of each disk and inspires the target root directory of string matching with the root directory of setting; Described root directory inspiration character string is the target root directory for mating with the installation path of the applications client arranged in search Root;
Judge to search any one described in whether there is the executable file of described applications client under target root directory, if not, from search each described in target root directory search and the sub-directory of setting inspire the target sub-directory of string matching; Described sub-directory inspires character string to be for searching for the target sub-directory mated with the installation path of the applications client of described setting in target root directory;
Judge to search any one described in whether there is the executable file of described applications client under target sub-directory, if so, the installation path of described target sub-directory as described applications client is exported.
Embodiment of the present invention second aspect discloses a kind of installation path search system, comprising:
First search unit, for response path search instruction, searches in the root directory of each disk and inspires the target root directory of string matching with the root directory of setting; Described root directory inspiration character string is the target root directory for mating with the installation path of the applications client arranged in search Root;
First judging unit, for judge to search any one described in whether there is the executable file of described applications client under target root directory;
Second search unit, in described judgement if not, from search each described in target root directory search and the sub-directory of setting inspire the target sub-directory of string matching; Described sub-directory inspires character string to be for searching for the target sub-directory mated with the installation path of the applications client of described setting in target root directory;
Second judging unit, for judge to search any one described in whether there is the executable file of described applications client under target sub-directory;
Output unit, for when the judged result of described second judging unit is for being, exports the installation path of described target sub-directory as described applications client.
The embodiment of the present invention third aspect discloses a kind of assistant client terminal, and described assistant client terminal is as a kind of assisted class instrument of applications client, and described assistant client terminal comprises described installation path search system disclosed in embodiment of the present invention second aspect.
In the embodiment of the present invention, can response path search instruction, search in the root directory of each disk and inspire the target root directory of string matching with the root directory of setting, when all there is not the executable file of applications client under judging any one the target root directory searched, the target sub-directory inspiring string matching with the sub-directory of setting can be searched for further from each target root directory searched, when there is the executable file of applications client under judging any one the target sub-directory searched, the installation path of this target sub-directory as applications client is exported.Visible, the embodiment of the present invention according to the hunting zone of inspiring character string to carry out the installation path of Fast Convergent applications client, thus can search the installation path of applications client rapidly, effectively promotes the search efficiency of the installation path of applications client.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of installation path searching method disclosed in the embodiment of the present invention;
Fig. 2 is the process flow diagram of another kind of installation path searching method disclosed in the embodiment of the present invention;
Fig. 3 is the process flow diagram of another kind of installation path searching method disclosed in the embodiment of the present invention;
Fig. 4 is the schematic diagram arranging interface of a kind of heroic alliance box disclosed in the embodiment of the present invention;
Fig. 5 is another kind of disk file organization figure disclosed in the embodiment of the present invention;
Fig. 6 is the structural drawing of a kind of installation path search system disclosed in the embodiment of the present invention;
Fig. 7 is the structural drawing of another kind of installation path search system disclosed in the embodiment of the present invention;
Fig. 8 is the structural drawing of a kind of assistant client terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of installation path searching method and system, assistant client terminal, effectively can promote the search efficiency of the installation path of applications client.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the process flow diagram of a kind of installation path searching method disclosed in the embodiment of the present invention.As shown in Figure 1, this installation path searching method can comprise the following steps.
S101, response path search instruction, search in the root directory of each disk and inspire the target root directory of string matching with the root directory of setting; Wherein, root directory inspiration character string is the target root directory for mating with the installation path of the applications client arranged in search Root.
In the embodiment of the present invention, by assistant client terminal response path search instruction, can search in the root directory of each disk and inspire the target root directory of string matching with the root directory of setting.Wherein, assistant client terminal is as a kind of assisted class instrument of applications client, such as, when applications client is heroic alliance's game client, this assistant client terminal can be heroic alliance box, wherein, heroic alliance box, as a kind of assisted class instrument of heroic alliance game client, can be performed by heroic alliance box and start the operation such as heroic alliance game client, inquiry military success.
In the embodiment of the present invention, assistant client terminal can in installation process automatically response path search instruction, search in the root directory of each disk and inspire the target root directory of string matching with the root directory of setting; Or, assistant client terminal also can after installing, detect the item of automatically searching arranged in interface that user comprises for assistant client terminal and carry out operating the route searching instruction that (as clicked) input, and response path search instruction, search in the root directory of each disk and inspire the target root directory of string matching with the root directory of setting.
In the embodiment of the present invention, root directory inspires character string to be included in the software package of assistant client terminal, and root directory inspires the quantity of character string can be multiple.Correspondingly, multiple root directory inspires in character string, and any two root directorys inspiration character string can be different; Or multiple root directory inspires in character string, can there is synon root directory each other and inspire character string, such as root directory inspires character string " Games " and root directory to inspire character string " game " synonym each other.
Whether there is the executable file of applications client under any one target root directory that S102, judgement search, if not, from each target root directory searched, search and the sub-directory of setting inspire the target sub-directory of string matching; Wherein, sub-directory inspires character string to be for searching for the target sub-directory mated with the installation path of the applications client arranged in target root directory.
In the embodiment of the present invention, the executable file of applications client whether is there is under can judging by assistant client terminal any one the target root directory searched, if not, from each target root directory searched, search and the sub-directory of setting inspire the target sub-directory of string matching, if so, the installation path of this target root directory as applications client is exported.
In the embodiment of the present invention, sub-directory inspires character string to be included in the software package of assistant client terminal, and sub-directory inspires the quantity of character string can be multiple.Correspondingly, multiple sub-directory inspires in character string, and any two sub-directories inspiration character string can be different, or multiple sub-directory inspires in character string, can there is synon sub-directory each other and inspire character string.
In the embodiment of the present invention, applications client when mounted, the recommendation installation path inspiring character string and any one sub-directory to inspire character string to form by any one root directory can be recommended user, correspondingly, user can carry out the installation operation of applications client according to this recommendation installation path.
Whether there is the executable file of applications client under any one target sub-directory that S103, judgement search, if so, the installation path of this target sub-directory as applications client is exported.
In the embodiment of the present invention, the executable file of applications client whether is there is under can judging by assistant client terminal any one the target sub-directory searched, if, the installation path of this target sub-directory as applications client is exported, if not, then the information for pointing out the installation path not searching applications client is exported.
In the embodiment of the present invention, in the method described by Fig. 1, assistant client terminal can detect the item of automatically searching arranged in interface that user comprises for assistant client terminal and carry out operating the route searching instruction that (as clicked) input, and automatically search after item carries out operating the route searching instruction that (as clicked) input in arranging of detecting that user comprises for assistant client terminal in interface, and before performing step S101, can also following steps be performed:
Assistant client terminal obtains the filename that root directory inspires character string, the sub-directory of setting inspires the executable file of character string and applications client of setting from the software package of assistant client terminal.In other words, the filename of the executable file of applications client can be included in the software package of assistant client terminal.Correspondingly, in above-mentioned steps S102, whether assistant client terminal exists the executable file of applications client mode under judging any one the target root directory searched is specifically as follows:
Whether assistant client terminal has the executable file of title and this file famous prime minister applications client together under judging any one the target root directory searched, if exist, the executable file of applications client is there is under determining this target root directory, otherwise, if do not exist, under determining this target root directory, there is not the executable file of applications client.
Correspondingly, in above-mentioned steps S102, whether assistant client terminal exists the executable file of applications client mode under judging any one the target sub-directory searched is specifically as follows:
Whether assistant client terminal has the executable file of title and this file famous prime minister applications client together under judging any one the target sub-directory searched, if exist, the executable file of applications client is there is under determining this target sub-directory, otherwise, if do not exist, under determining this target sub-directory, there is not the executable file of applications client.
In the method described by Fig. 1, assistant client terminal can according to the hunting zone of inspiring character string to carry out the installation path of Fast Convergent applications client, thus the installation path of applications client can be searched rapidly, effectively promote the search efficiency of the installation path of applications client.
Refer to Fig. 2, Fig. 2 is the process flow diagram of another kind of installation path searching method disclosed in the embodiment of the present invention.As shown in Figure 2, this installation path searching method can comprise the following steps.
S201, assistant client terminal detect the route searching instruction of automatically searching item input arranged in interface comprised for assistant client terminal; Wherein, assistant client terminal is as a kind of assisted class instrument of applications client.
In the embodiment of the present invention, assistant client terminal can after installing, and detects the item of automatically searching arranged in interface that user comprises for assistant client terminal and carry out operating the route searching instruction that (as clicked) input.
S202, assistant client terminal obtain the filename that root directory inspires character string, the sub-directory of setting inspires the executable file of character string and applications client of setting from the software package of assistant client terminal; Wherein, root directory inspiration character string is the target root directory for mating with the installation path of the applications client arranged in search Root; Sub-directory inspires character string to be for searching for the target sub-directory mated with the installation path of the applications client arranged in target root directory.
In the embodiment of the present invention, root directory inspires character string to be included in the software package of assistant client terminal, and root directory inspires the quantity of character string can be multiple.Correspondingly, multiple root directory inspires in character string, and any two root directorys inspiration character string can be different; Or multiple root directory inspires in character string, can there is synon root directory each other and inspire character string, such as root directory inspires character string " Games " and root directory to inspire character string " game " synonym each other.
In the embodiment of the present invention, sub-directory inspires character string to be included in the software package of assistant client terminal, and sub-directory inspires the quantity of character string can be multiple.Correspondingly, multiple sub-directory inspires in character string, and any two sub-directories inspiration character string can be different, or multiple sub-directory inspires in character string, can there is synon sub-directory each other and inspire character string.
In the embodiment of the present invention, the fractional value that each sub-directory inspires fractional value corresponding to character string and each root directory to inspire character string corresponding can be set in the software package of assistant client terminal.Wherein, sub-directory inspires fractional value corresponding to character string to be directly proportional and inspires the matching degree of the installation path of the applications client of character string and recommendation in this sub-directory; Root directory inspires fractional value corresponding to character string to be directly proportional and inspires the matching degree of the installation path of the applications client of character string and recommendation in this root directory.In other words, when this sub-directory inspires the matching degree of the installation path of the applications client of character string and recommendation higher, the fractional value that this sub-directory inspires character string corresponding is larger, otherwise, when this sub-directory inspires the matching degree of the installation path of the applications client of character string and recommendation lower, the fractional value that this sub-directory inspires character string corresponding is less; When this root directory inspires the matching degree of the installation path of the applications client of character string and recommendation higher, the fractional value that this root directory inspires character string corresponding is larger, otherwise, when this root directory inspires the matching degree of the installation path of the applications client of character string and recommendation lower, the fractional value that this root directory inspires character string corresponding is less.
In the embodiment of the present invention, assistant client terminal can adopt the matching degree that string matching function (as C++ string matching function) calculates root directory inspiration character string, sub-directory inspires the installation path of the applications client of character string and recommendation.
S203, assistant client terminal response path search instruction, search in the root directory of each disk and inspire the target root directory of string matching with the root directory of setting.
In the embodiment of the present invention, assistant client terminal can response path search instruction, adopts Depth Priority Algorithm to search in the root directory of each disk and inspires the target root directory of string matching with the root directory of setting.
Whether S204, assistant client terminal have the executable file of title and this file famous prime minister applications client together under judging any one the target root directory searched, if not, perform step S205; If so, the installation path of this target root directory as applications client exports by assistant client terminal, and process ends.
Individual in the embodiment of the present invention, if assistant client terminal has the executable file of title and this file famous prime minister applications client together under judging any one the target root directory searched, the executable file of applications client is there is under then determining this target root directory, otherwise, if all do not have the executable file of title and this file famous prime minister applications client together under judging any one the target root directory searched, under determining this target root directory, there is not the executable file of applications client.
S205, assistant client terminal search for the target sub-directory inspiring string matching with the sub-directory of setting from each target root directory searched.
S206, assistant client terminal are for each target sub-directory searched, the fractional value that belonging to the fractional value inspiring character string corresponding according to the sub-directory of the catalogue level at this target sub-directory place, this target sub-directory coupling and this target sub-directory, the root directory of root directory coupling inspires character string corresponding, calculates the fractional value of this target sub-directory.
In the embodiment of the present invention, for each target sub-directory searched, assistant client terminal can calculate the catalogue level at this target sub-directory place and the product of the rank score value preset; Wherein, the rank score value of each catalogue level is identical; Further, the fractional value that the sub-directory that assistant client terminal can calculate this target sub-directory coupling inspires fractional value corresponding to character string to inspire character string corresponding with the root directory that root directory belonging to this target sub-directory mates and value; Further, assistant client terminal can deduct this product, to obtain the fractional value of this target sub-directory from this and value.
S207, assistant client terminal, according to the fractional value of each target sub-directory, choose the target sub-directory that fractional value exceedes preset fraction value.
S208, assistant client terminal exceed the target sub-directory of preset fraction value from fractional value, judge the executable file whether having title and this file famous prime minister applications client together under any one fractional value exceedes the target sub-directory of preset fraction value, if so, step S209 is performed; If not, assistant client terminal exports the information for pointing out the installation path not searching applications client, and process ends.
The installation path of this target sub-directory as applications client exports by S209, assistant client terminal, and process ends.
In the method described by Fig. 2, assistant client terminal can according to the hunting zone of inspiring fractional value corresponding to the inspiration character string of character string and setting to carry out the installation path of Fast Convergent applications client, thus the installation path of applications client can be searched rapidly, effectively promote the search efficiency of the installation path of applications client.
Refer to Fig. 3, Fig. 3 is the process flow diagram of another kind of installation path searching method disclosed in the embodiment of the present invention.In the installation path searching method described by Fig. 3, for assistant client terminal be heroic alliance box, applications client is described for heroic alliance game client.Wherein, heroic alliance box is as a kind of assisted class instrument of heroic alliance game client.In order to realize the present invention, the fractional value of root directory inspiration character string and correspondence thereof, sub-directory inspiration character string and the fractional value of correspondence thereof and the executable file filename of heroic alliance game client can be set in advance in the software package of heroic alliance box.Such as, the embodiment of the present invention can arrange in the software package at heroic alliance box that root directory inspires the fractional value of character string and correspondence thereof, sub-directory inspires character string and the fractional value of correspondence and the executable file filename of heroic alliance game client in the following manner, that is:
// set the executable file filename of heroic alliance game client
m_path_search.AddTargetFlie(L“lol.launcher_tencent.exe”);
m_path_search.AddTargetFlie(L“TCLS\\BackgroundDownloader.exe”);
// setting inspires the fractional value of character string and correspondence thereof
m_path_search.AddPatternString(L“*\\Games\\*,6);
m_path_search.AddPatternString(L“*\\Games\\*,6);
m_path_search.AddPatternString(L“*\\NetGame\\*,6);
M_path_search.AddPatternString (L " * game *, 6);
M_path_search.AddPatternString (L " * online game *, 6);
M_path_search.AddPatternString (L " * Tengxun game *, 8);
M_path_search.AddPatternString (L " * hero alliance *, 10);
m_path_search.AddPatternString(L“*LOL*,7);
// start search
m_path_search.Start(true);
Wherein, above-mentioned inspiration character string " Games ", " Games ", " NetGame ", " game ", " online game ", " Tengxun's game " can be regarded as root directory and inspire character string; And inspire character string " heroic alliance ", " LOL " can be regarded as sub-directory inspire character string.
On the basis of above-mentioned setting, the installation path searching method described by Fig. 3 can be performed.Wherein, the installation path searching method described by Fig. 3 can comprise the following steps.
S301, heroic alliance box detect the route searching instruction of automatically searching item input arranged in interface comprised for heroic alliance box.
In the embodiment of the present invention, heroic alliance box can after installing, and detects the item of automatically searching arranged in interface that user comprises for heroic alliance box and carry out operating the route searching instruction that (as clicked) input.
See also Fig. 4, Fig. 4 is the schematic diagram arranging interface of a kind of heroic alliance box disclosed in the embodiment of the present invention.As shown in Figure 4, hero alliance box can after installing, what what user can click that heroic alliance box comprises arranged in interface searches item automatically, and heroic alliance box can be detected, and the item of automatically searching arranged in interface that user comprises for heroic alliance box carries out operating the route searching instruction that (as clicked) input.
S302, heroic alliance box obtain the executable file filename that root directory inspires character string, the sub-directory of setting inspires character string and heroic alliance game client of setting from the software package of heroic alliance box; Wherein, root directory inspiration character string is the target root directory for mating with the installation path of the heroic alliance game client arranged in search Root; Sub-directory inspires character string to be for searching for the target sub-directory mated with the installation path of the heroic alliance game client arranged in target root directory.
S303, heroic alliance box response path search instruction, search in the root directory of each disk and inspire the target root directory of string matching with the root directory of setting.
In the embodiment of the present invention, heroic alliance box can response path search instruction, adopts Depth Priority Algorithm to search in the root directory of each disk and inspires the target root directory of string matching with the root directory of setting.
See also Fig. 5, Fig. 5 is a kind of disk file organization figure disclosed in the embodiment of the present invention.For the disk file organization shown in Fig. 5, heroic alliance box response path search instruction, can search out in the root directory of each disk and inspire the target root directory of string matching " D: play " and " E: Games " with the root directory of setting.
Whether S304, heroic alliance box have the executable file of title and this file famous prime minister heroic alliance game client together under judging any one the target root directory searched, if not, perform step S305; If so, the installation path of this target root directory as heroic alliance game client is exported, and process ends.
Individual in the embodiment of the present invention, if heroic alliance box has the executable file of the title heroic alliance game client identical with this filename (as " lol.launcher_tencent.exe ") under judging any one the target root directory searched, the executable file of heroic alliance game client is there is under then determining this target root directory, otherwise, if all do not have the executable file of title and this file famous prime minister heroic alliance game client together under judging any one the target root directory searched, the executable file of heroic alliance game client is there is not under determining this target root directory.
The target sub-directory inspiring string matching with the sub-directory of setting searched for by S305, heroic alliance box from each target root directory searched.
For the disk file organization shown in Fig. 5, target sub-directory that hero's alliance box can inspire character string " LOL " to mate with the sub-directory set from " D: game " search the target root directory searched " D: play LOL ", and, target sub-directory that heroic alliance box can inspire character string " heroic alliance " to mate with the sub-directory of setting from " E: Games " search the target root directory searched " E: Games heroic alliance ".
S306, heroic alliance box are for each target sub-directory searched, the fractional value that belonging to the fractional value inspiring character string corresponding according to the sub-directory of the catalogue level at this target sub-directory place, this target sub-directory coupling and this target sub-directory, the root directory of root directory coupling inspires character string corresponding, calculates the fractional value of this target sub-directory.
For the disk file organization shown in Fig. 5, hero's alliance box is for the target sub-directory searched " D: game LOL ", the catalogue level (namely 3) at this target sub-directory place and the product of the rank score value preset (the rank score value 2 such as, preset) can be calculated; Further, the fractional value (namely 6) that the sub-directory that heroic alliance box can calculate this target sub-directory coupling inspires fractional value (namely 7) corresponding to character string " LOL " to inspire character string " game " corresponding with the root directory that root directory belonging to this target sub-directory mates and value; Further, heroic alliance box can deduct this product from this and value, to obtain the fractional value of this target sub-directory, i.e. and 13 (i.e. 6+7)-6 (i.e. 3*2)=7.
Again for the disk file organization shown in Fig. 5, hero's alliance box is for the target sub-directory searched " E: Games hero alliance ", the catalogue level (namely 3) at this target sub-directory place and the product of the rank score value preset (the rank score value 2 such as, preset) can be calculated; Further, the fractional value (namely 6) that the sub-directory that heroic alliance box can calculate this target sub-directory coupling inspires fractional value (namely 10) corresponding to character string " heroic alliance " to inspire character string " Games " corresponding with the root directory that root directory belonging to this target sub-directory mates and value; Further, heroic alliance box can deduct this product from this and value, to obtain the fractional value of this target sub-directory, i.e. and 16 (i.e. 6+10)-6 (i.e. 3*2)=10.
S307, heroic alliance box, according to the fractional value of each target sub-directory, choose the target sub-directory that fractional value exceedes preset fraction value.
Again for the disk file organization shown in Fig. 5, hero's alliance box can according to the fractional value of target sub-directory " D: game LOL " and " E: Games hero alliance ", chooses the target sub-directory " E: Games heroic alliance " that fractional value exceedes preset fraction value 8.
S308, heroic alliance box exceed the target sub-directory of preset fraction value from fractional value, judge the executable file whether having title and this file famous prime minister heroic alliance game client together under any one fractional value exceedes the target sub-directory of preset fraction value, if so, step S309 is performed; If not, the information for pointing out the installation path not searching heroic alliance game client is exported.
Again for the disk file organization shown in Fig. 5, hero alliance box exceedes the target sub-directory " E: Games hero alliance " of preset fraction value 8 from fractional value, whether has the executable file of the title heroic alliance game client identical with this filename (as " lol.launcher_tencent.exe ") under judging target sub-directory " E: Games hero alliance ".
The installation path of this target sub-directory as heroic alliance game client exports by S309, heroic alliance box, and process ends.
Again for the disk file organization shown in Fig. 5, this target sub-directory " E: Games hero alliance " can export to as the installation path of heroic alliance game client and arrange interface shown in Fig. 4 by heroic alliance box.
In the method described by Fig. 3, hero's alliance box can be played the hunting zone of installation path of sub-client according to inspiring fractional value corresponding to the inspiration character string of character string and setting to come Fast Convergent hero alliance, thus male alliance can be searched rapidly to play the installation path of sub-client, effectively promote male alliance and to play the search efficiency of installation path of sub-client.
Refer to Fig. 6, Fig. 6 is the structural drawing of a kind of installation path search system disclosed in the embodiment of the present invention.As shown in Figure 6, this installation path search system can comprise:
First search unit 601, for response path search instruction, searches in the root directory of each disk and inspires the target root directory of string matching with the root directory of setting; Wherein, root directory inspiration character string is the target root directory for mating with the installation path of the applications client arranged in search Root;
Whether the first judging unit 602, for existing the executable file of applications client under judging any one target root directory of searching;
Second search unit 603, for when the judged result of the first judging unit 602 is no, from each target root directory that the first search unit 601 searches, search and the sub-directory of setting inspire the target sub-directory of string matching; Wherein, sub-directory inspires character string to be for searching for the target sub-directory mated with the installation path of the applications client arranged in target root directory;
Whether the second judging unit 604, for existing the executable file of applications client under judging any one target sub-directory that the second search unit 603 searches;
Output unit 605, for when the judged result of the second judging unit 604 is for being, exports the installation path of this target sub-directory as applications client.
See also Fig. 7, Fig. 7 is the structural drawing of another kind of installation path search system disclosed in the embodiment of the present invention.Wherein, a kind of installation path search system shown in Fig. 7 is that a kind of installation path search system is as shown in Figure 6 optimized and obtains.In the installation path search system shown in Fig. 7, also comprise:
Detecting unit 606, for at the first search unit 601 response path search instruction, search in the root directory of each disk before inspiring the target root directory of string matching with the root directory of setting, detect the route searching instruction of automatically searching item input arranged in interface comprised for assistant client terminal; Wherein, this assistant client terminal is as a kind of assisted class instrument of applications client.
Further, in the installation path search system shown in Fig. 7, also comprise:
Acquiring unit 607, for detect at detecting unit 606 comprise for assistant client terminal arrange in interface automatically search item input route searching instruction after, and the first search unit 601 response path search instruction, search in the root directory of each disk before inspiring the target root directory of string matching with the root directory of setting, the filename that the root directory obtaining setting from the software package of assistant client terminal inspires character string, the sub-directory of setting inspires the executable file of character string and applications client.
Correspondingly, in the installation path search system shown in Fig. 7, the second judging unit 604 comprises:
First computation subunit 6041, for for each target sub-directory searched, the fractional value that belonging to the fractional value inspiring character string corresponding according to the sub-directory of the catalogue level at this target sub-directory place, this target sub-directory coupling and this target sub-directory, the root directory of root directory coupling inspires character string corresponding, calculates the fractional value of this target sub-directory; Wherein, sub-directory inspires fractional value corresponding to character string to be directly proportional and inspires the matching degree of the installation path of the applications client of character string and recommendation in this sub-directory; Root directory inspires fractional value corresponding to character string to be directly proportional and inspires the matching degree of the installation path of the applications client of character string and recommendation in this root directory;
Choose subelement 6042, for the fractional value according to each target sub-directory, choose the target sub-directory that fractional value exceedes preset fraction value;
Judgment sub-unit 6043, for exceeding in the target sub-directory of preset fraction value from fractional value, judges the executable file that whether there is applications client under any one fractional value exceedes the target sub-directory of preset fraction value.
Correspondingly, the installation path of target sub-directory as applications client, specifically for when the judged result of judgment sub-unit 6043 is for being, exports by output unit 605.
Further, in the installation path search system shown in Fig. 7, the first computation subunit 6041 comprises:
First module 60411, for for each target sub-directory searched, calculates the catalogue level at this target sub-directory place and the product of the rank score value preset; Wherein, the rank score value of each catalogue level is identical;
Second module 60412, the fractional value that the sub-directory for calculating this target sub-directory coupling inspires fractional value corresponding to character string to inspire character string corresponding with the root directory that root directory belonging to this target sub-directory mates and value;
3rd module 60413, for deducting this product, to obtain the fractional value of this target sub-directory from this and value.
Correspondingly, whether the first judging unit 602 is specifically for having the executable file of title and this file famous prime minister applications client together under judging any one target root directory of searching;
Correspondingly, judgment sub-unit 6043, specifically for exceeding in the target sub-directory of preset fraction value from fractional value, judges the executable file whether having title and this file famous prime minister applications client together under any one fractional value exceedes the target sub-directory of preset fraction value.
Wherein, by implementing the system described by Fig. 6, assistant client terminal can according to the hunting zone of inspiring character string to carry out the installation path of Fast Convergent applications client, thus the installation path of applications client can be searched rapidly, effectively promote the search efficiency of the installation path of applications client.
Wherein, by implementing the system described by Fig. 6, assistant client terminal also can according to the hunting zone of inspiring fractional value corresponding to the inspiration character string of character string and setting to carry out the installation path of Fast Convergent applications client, thus the installation path of applications client can be searched rapidly, effectively promote the search efficiency of the installation path of applications client.
Refer to Fig. 8, Fig. 8 is the structural drawing of a kind of assistant client terminal disclosed in the embodiment of the present invention.Wherein, assistant client terminal shown in Fig. 8 is as a kind of assisted class instrument of applications client, this assistant client terminal can comprise installation path search system 801, structure, the function of this installation path search system 801 and the installation path search system described by Fig. 6 or Fig. 7 are identical, and the embodiment of the present invention does not repeat.
Wherein, by implementing the assistant client terminal described by Fig. 8, assistant client terminal can according to the hunting zone of inspiring character string to carry out the installation path of Fast Convergent applications client, thus the installation path of applications client can be searched rapidly, effectively promote the search efficiency of the installation path of applications client.
Wherein, by implementing the assistant client terminal described by Fig. 8, assistant client terminal also can according to the hunting zone of inspiring fractional value corresponding to the inspiration character string of character string and setting to carry out the installation path of Fast Convergent applications client, thus the installation path of applications client can be searched rapidly, effectively promote the search efficiency of the installation path of applications client.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium comprises ROM (read-only memory) (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, EPROM), disposable programmable ROM (read-only memory) (One-time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies ROM (read-only memory) (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, or other optical disc memorys CD-ROM), magnetic disk memory, tape memory, or can be used in any other medium computer-readable carrying or store data.
Above a kind of installation path searching method disclosed in the embodiment of the present invention and system, assistant client terminal are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. an installation path searching method, is characterized in that, comprising:
Response path search instruction, searches in the root directory of each disk and inspires the target root directory of string matching with the root directory of setting; Described root directory inspiration character string is the target root directory for mating with the installation path of the applications client arranged in search Root;
Judge to search any one described in whether there is the executable file of described applications client under target root directory, if not, from search each described in target root directory search and the sub-directory of setting inspire the target sub-directory of string matching; Described sub-directory inspires character string to be for searching for the target sub-directory mated with the installation path of the applications client of described setting in target root directory;
Judge to search any one described in whether there is the executable file of described applications client under target sub-directory, if so, the installation path of described target sub-directory as described applications client is exported.
2. method according to claim 1, is characterized in that, described judgement search any one described in whether there is described applications client under target sub-directory executable file comprise:
For each described target sub-directory searched, according to the fractional value that the sub-directory of the catalogue level at described target sub-directory place, described target sub-directory coupling inspires the root directory of root directory coupling belonging to fractional value corresponding to character string and described target sub-directory to inspire character string corresponding, calculate the fractional value of described target sub-directory; Wherein, described sub-directory inspires fractional value corresponding to character string to be directly proportional and inspires the matching degree of the installation path of the described applications client of character string and recommendation in described sub-directory; Described root directory inspires fractional value corresponding to character string to be directly proportional and inspires the matching degree of the installation path of the described applications client of character string and recommendation in described root directory;
According to the fractional value of each described target sub-directory, choose the target sub-directory that fractional value exceedes preset fraction value;
Exceed the target sub-directory of preset fraction value from described fractional value, judge the executable file that whether there is described applications client under fractional value described in any one exceedes the target sub-directory of preset fraction value.
3. method according to claim 2, it is characterized in that, the described each described target sub-directory for searching, according to the fractional value that the sub-directory of the catalogue level at described target sub-directory place, described target sub-directory coupling inspires the root directory of root directory coupling belonging to fractional value corresponding to character string and described target sub-directory to inspire character string corresponding, the fractional value calculating described target sub-directory comprises:
For each described target sub-directory searched, calculate the catalogue level at described target sub-directory place and the product of the rank score value preset; Wherein, the rank score value of each catalogue level is identical;
The fractional value that the sub-directory calculating described target sub-directory coupling inspires fractional value corresponding to character string to inspire character string corresponding with the root directory that root directory belonging to described target sub-directory mates and value;
Described product is deducted, to obtain the fractional value of described target sub-directory from described and value.
4. according to the method in claim 2 or 3, it is characterized in that, described response path search instruction, search in the root directory of each disk before inspiring the target root directory of string matching with the root directory of setting, described method also comprises:
Detect the item of automatically searching arranged in interface comprised for assistant client terminal to carry out operating the route searching instruction inputted; Wherein, described assistant client terminal is as a kind of assisted class instrument of described applications client.
5. method according to claim 4, it is characterized in that, described detection for assistant client terminal comprise arrange in interface automatically search item input route searching instruction after, and described response path search instruction, search in the root directory of each disk before inspiring the target root directory of string matching with the root directory of setting, described method also comprises:
The filename that the root directory obtaining setting from the software package of described assistant client terminal inspires character string, the sub-directory of setting inspires the executable file of character string and applications client.
6. method according to claim 5, is characterized in that, described judgement search any one described in whether there is described applications client under target root directory executable file comprise:
Judge to search any one described in whether have the executable file of the title described applications client identical with described filename under target root directory;
Describedly to exceed the target sub-directory of preset fraction value from described fractional value, judge that the executable file that whether there is described applications client under fractional value described in any one exceedes the target sub-directory of preset fraction value comprises:
Exceed the target sub-directory of preset fraction value from described fractional value, judge the executable file whether having the title described applications client identical with described filename under fractional value described in any one exceedes the target sub-directory of preset fraction value.
7. an installation path search system, is characterized in that, comprising:
First search unit, for response path search instruction, searches in the root directory of each disk and inspires the target root directory of string matching with the root directory of setting; Described root directory inspiration character string is the target root directory for mating with the installation path of the applications client arranged in search Root;
First judging unit, for judge to search any one described in whether there is the executable file of described applications client under target root directory;
Second search unit, for when the judged result of described first judging unit is no, from search each described in target root directory search and the sub-directory of setting inspire the target sub-directory of string matching; Described sub-directory inspires character string to be for searching for the target sub-directory mated with the installation path of the applications client of described setting in target root directory;
Second judging unit, for judge to search any one described in whether there is the executable file of described applications client under target sub-directory;
Output unit, for when the judged result of described second judging unit is for being, exports the installation path of described target sub-directory as described applications client.
8. system according to claim 7, is characterized in that, described second judging unit comprises:
First computation subunit, for for each described target sub-directory searched, according to the fractional value that the sub-directory of the catalogue level at described target sub-directory place, described target sub-directory coupling inspires the root directory of root directory coupling belonging to fractional value corresponding to character string and described target sub-directory to inspire character string corresponding, calculate the fractional value of described target sub-directory; Wherein, described sub-directory inspires fractional value corresponding to character string to be directly proportional and inspires the matching degree of the installation path of the described applications client of character string and recommendation in described sub-directory; Described root directory inspires fractional value corresponding to character string to be directly proportional and inspires the matching degree of the installation path of the described applications client of character string and recommendation in described root directory;
Choose subelement, for the fractional value according to each described target sub-directory, choose the target sub-directory that fractional value exceedes preset fraction value;
Judgment sub-unit, for exceeding in the target sub-directory of preset fraction value from described fractional value, judges the executable file that whether there is described applications client under fractional value described in any one exceedes the target sub-directory of preset fraction value.
9. system according to claim 8, is characterized in that, described first computation subunit comprises:
First module, for for each described target sub-directory searched, calculates the catalogue level at described target sub-directory place and the product of the rank score value preset; Wherein, the rank score value of each catalogue level is identical;
Second module, the fractional value that the sub-directory for calculating described target sub-directory coupling inspires fractional value corresponding to character string to inspire character string corresponding with the root directory that root directory belonging to described target sub-directory mates and value;
3rd module, for deducting described product, to obtain the fractional value of described target sub-directory from described and value.
10. system according to claim 8 or claim 9, it is characterized in that, described system also comprises:
Detecting unit, for at described first search unit response path search instruction, search in the root directory of each disk before inspiring the target root directory of string matching with the root directory of setting, detect the item of automatically searching arranged in interface comprised for assistant client terminal and carry out operating the route searching instruction inputted; Wherein, described assistant client terminal is as a kind of assisted class instrument of described applications client.
11. systems according to claim 10, is characterized in that, described system also comprises:
Acquiring unit, for detect at described detecting unit comprise for assistant client terminal arrange in interface automatically search the route searching instruction of item input after, and described first search unit response path search instruction, search in the root directory of each disk before inspiring the target root directory of string matching with the root directory of setting, the filename that the root directory obtaining setting from the software package of described assistant client terminal inspires character string, the sub-directory of setting inspires the executable file of character string and applications client.
12. systems according to claim 8, is characterized in that, described first judging unit specifically for judge to search any one described in whether have the executable file of the title described applications client identical with described filename under target root directory;
Described judgment sub-unit, specifically for exceeding in the target sub-directory of preset fraction value from described fractional value, judges the executable file whether having the title described applications client identical with described filename under fractional value described in any one exceedes the target sub-directory of preset fraction value.
13. 1 kinds of assistant client terminals, is characterized in that, described assistant client terminal is as a kind of assisted class instrument of applications client, and described assistant client terminal comprises the installation path search system described in claim 7 ~ 12 any one.
CN201410456482.1A 2014-09-09 2014-09-09 A kind of installation path searching method and system, auxiliary client Active CN104239494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410456482.1A CN104239494B (en) 2014-09-09 2014-09-09 A kind of installation path searching method and system, auxiliary client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410456482.1A CN104239494B (en) 2014-09-09 2014-09-09 A kind of installation path searching method and system, auxiliary client

Publications (2)

Publication Number Publication Date
CN104239494A true CN104239494A (en) 2014-12-24
CN104239494B CN104239494B (en) 2018-02-23

Family

ID=52227553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410456482.1A Active CN104239494B (en) 2014-09-09 2014-09-09 A kind of installation path searching method and system, auxiliary client

Country Status (1)

Country Link
CN (1) CN104239494B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5544360A (en) * 1992-11-23 1996-08-06 Paragon Concepts, Inc. Method for accessing computer files and data, using linked categories assigned to each data file record on entry of the data file record
US6477528B1 (en) * 1999-07-29 2002-11-05 Kabushiki Kaisha Toshiba File management system, electronic filing system, hierarchical structure display method of file, computer readable recording medium recording program in which function thereof is executable
CN101082930A (en) * 2006-05-29 2007-12-05 三星电子株式会社 Apparatus and method for storing and managing data
CN101432727A (en) * 2004-05-18 2009-05-13 诺基亚公司 Item type specific structured search
CN101860591A (en) * 2009-04-08 2010-10-13 北京搜狗科技发展有限公司 Method and device for sharing application program
CN102646042A (en) * 2012-02-28 2012-08-22 华为终端有限公司 Method and terminal equipment for storing application program data
CN103605758A (en) * 2013-11-22 2014-02-26 中国科学院深圳先进技术研究院 Method and device for searching files of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5544360A (en) * 1992-11-23 1996-08-06 Paragon Concepts, Inc. Method for accessing computer files and data, using linked categories assigned to each data file record on entry of the data file record
US6477528B1 (en) * 1999-07-29 2002-11-05 Kabushiki Kaisha Toshiba File management system, electronic filing system, hierarchical structure display method of file, computer readable recording medium recording program in which function thereof is executable
CN101432727A (en) * 2004-05-18 2009-05-13 诺基亚公司 Item type specific structured search
CN101082930A (en) * 2006-05-29 2007-12-05 三星电子株式会社 Apparatus and method for storing and managing data
CN101860591A (en) * 2009-04-08 2010-10-13 北京搜狗科技发展有限公司 Method and device for sharing application program
CN102646042A (en) * 2012-02-28 2012-08-22 华为终端有限公司 Method and terminal equipment for storing application program data
CN103605758A (en) * 2013-11-22 2014-02-26 中国科学院深圳先进技术研究院 Method and device for searching files of mobile terminal

Also Published As

Publication number Publication date
CN104239494B (en) 2018-02-23

Similar Documents

Publication Publication Date Title
Dierckxsens et al. NOVOPlasty: de novo assembly of organelle genomes from whole genome data
Punta et al. The Pfam protein families database
RU2660602C1 (en) Initiation and ranging of natural applications
US9542451B2 (en) Mobile application search ranking
WO2018075336A1 (en) Join with format modification by example
US20160306898A1 (en) Method, system and computer-readable recording medium for recommending query word using domain property
CN105045781A (en) Calculation method and device for similarity of query word as well as query word searching method and device
CN102693302A (en) Quick file comparison method, system and client side
CN107122295B (en) Test case script generation method and device
CN108572947A (en) A kind of data fusion method and device
CN111966912B (en) Recommendation method and device based on knowledge graph, computer equipment and storage medium
US20150288580A1 (en) Method and apparatus for evaluating hardware based on cloud server
Cros et al. RNAspace. org: An integrated environment for the prediction, annotation, and analysis of ncRNA
CN103324646A (en) Search supporting device and search supporting method
Disdero et al. LoRTE: Detecting transposon-induced genomic variants using low coverage PacBio long read sequences
Dunne et al. OrthoFiller: utilising data from multiple species to improve the completeness of genome annotations
KR101624420B1 (en) Method and System for searching using Related Keywords of Searching object
CN104239494A (en) Installation path searching method and system and auxiliary client
CN102270229A (en) Measurement method for basic input/output system (BIOS)-level system file
CN106648742B (en) A kind of the key dispositions method and system of PHP running environment
CN105069175A (en) Information retrieval method and server based on version control system
CN102200917B (en) Computing equipment and method for determining guiding equipment in startup process
CN103761335A (en) Method and device for downloading target application from network and electronic device
CN113747233B (en) Music replacement method and device, electronic equipment and storage medium
CN105630837A (en) Media record searching method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510000, Guangdong Province, Guangzhou, Panyu District Town, Huambo business district, Wanda Plaza, block B1, 28 floor

Applicant after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: Guangzhou Huaduo Network Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant