CN107085520A - The intelligent completion input method of order and device under a kind of operating system - Google Patents

The intelligent completion input method of order and device under a kind of operating system Download PDF

Info

Publication number
CN107085520A
CN107085520A CN201710333052.4A CN201710333052A CN107085520A CN 107085520 A CN107085520 A CN 107085520A CN 201710333052 A CN201710333052 A CN 201710333052A CN 107085520 A CN107085520 A CN 107085520A
Authority
CN
China
Prior art keywords
command name
index file
program
command
alternative
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
CN201710333052.4A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710333052.4A priority Critical patent/CN107085520A/en
Publication of CN107085520A publication Critical patent/CN107085520A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Abstract

The invention provides a kind of intelligent completion input method of the order under operating system and device, this method includes:Setting up includes the first index file of the corresponding command name of installation procedure of each in operating system, and foundation includes the second index file of the corresponding command name of whole installation procedures involved by operating system;Obtain at least one character;The command name included according to the second index file, carries out completion at least one character, forms at least one alternative command name;According to external trigger, command object title is determined at least one alternative command name;Judge that command object title whether there is in the command name that the first index file includes, if it is, the corresponding program of operational objective command name;Otherwise, from the corresponding program of program storage center invocation target command name, install, run the program called.Therefore, the scheme that the present invention is provided can improve Consumer's Experience.

Description

The intelligent completion input method of order and device under a kind of operating system
Technical field
The present invention relates to field of computer technology, the intelligent completion input method of order under more particularly to a kind of operating system And device.
Background technology
With the development of computer technology, the corresponding program of each operating system is also constantly increasing.
It is desirable to when using program in an operating system, character be inputted in an operating system, operating system is merely with The corresponding command name of installation procedure carries out completion to the character of input.When target program is not installed at operating system, user Need oneself to go to download target program to the program storage center such as website or hard disk, then install and run again the target downloaded Program.
As can be seen that existing mode, due to only being carried out to the corresponding command name of installation procedure to the character of input Completion, and when target program is not installed at operating system, it is necessary to which user oneself downloads the program installed and run and download.Cause This, Consumer's Experience is poor.
The content of the invention
The invention provides a kind of intelligent completion input method of the order under operating system and device, user's body can be improved Test.
In a first aspect, the invention provides a kind of intelligent completion input method of the order under operating system, this method includes:
Set up the first index file of installation procedure, and set up complete involved by the operating system in operating system Second index file of portion's program;Wherein, first index file includes each corresponding command name of installation procedure;Institute Stating the second index file includes the involved corresponding command name of each program;
Obtain at least one character of outside input;
The command name included according to second index file, completion is carried out at least one described character, is formed extremely A few alternative command name;
According to external trigger, command object title is determined at least one described alternative command name;
Judge that the command object title whether there is in the command name that first index file includes,
If it is, running the corresponding program of the command object title;
Otherwise, the corresponding program of the command object title is called from outside program storage center, installs and run The described program called.
Preferably,
The command name included according to second index file, completion, shape are carried out at least one described character Into at least one alternative command name, including:
In the command name that second index file includes, determine that each includes the order of at least one character Title;
Using each described command name of determination, completion is carried out at least one described character, formed described at least one Individual alternative command name.
Preferably,
After described at least one alternative command name of formation, further comprise:
In at least one described alternative command name, it is determined that the already present alternative order in first index file Title, and determine the non-existent alternative command name in first index file;
Will in first index file already present alternative command name, and in first index file not The alternative command name existed, differentiation is shown to the user of outside.
Preferably,
The corresponding program of the command object title is called at the program storage center from outside, installs and runs After the described program called, further comprise:
Judge the described program called whether normal mounting and operation;
If it is, the corresponding command name of the described program called is write into first index file;
Otherwise, the report that the described program called is installed and run is formed, the report is sent to the user.
Preferably,
Further comprise:
Gather the current corresponding command name of installation procedure of each in the operating system;
Each described command name that each the described command name collected and first index file are included It is compared;
It is literary in the described first index when there is at least one first command name in each the described command name collected When being not present in part, then at least one described first command name is write in first index file;
When in first index file exist at least one second command name in each the described command name collected When being not present in title, then at least one described second command name is deleted in first index file.
Second aspect, the invention provides a kind of intelligent completion input unit of the order under operating system, the device includes:
Order collection module, for setting up the first index file of installation procedure, and set up described in operating system Second index file of whole programs involved by operating system;Wherein, first index file has installed journey including each The corresponding command name of sequence;Second index file includes the involved corresponding command name of each program;
Order analysis module, at least one character for obtaining outside input;Set up according to the order collection module The command name that includes of second index file, completion is carried out at least one described character, at least one is formed alternative Command name;
Order determining module, for according to external trigger, at least one is standby described in order analysis module formation Select determination command object title in command name;
Installing of Command and operation module, for judging that the order determining module determines whether the command object title deposits It is in the command name that first index file that the order collection module is set up includes, if it is, running the mesh Mark the corresponding program of command name;Otherwise, the corresponding program of the command object title is called from outside program storage center, Install and run the described program called.
Preferably,
The order analysis module, including:Determination sub-module and formation submodule;
The determination sub-module, the order that second index file for being set up in the order collection module includes In title, determine that each includes the command name of at least one character;
The formation submodule, for using the determination sub-module determine each described command name, to it is described extremely A few character carries out completion, forms at least one alternative command name.
Preferably,
Further comprise:Differentiation determining module;
The differentiation determining module, at least one alternative command name described in order analysis module formation In title, it is determined that the already present alternative command name in first index file that the order collection module is set up, and It is determined that the order collection module set up first index file in non-existent alternative command name;Will be described Already present alternative command name in one index file, and the non-existent alternative command name in first index file Claim, differentiation is shown to the user of outside.
Preferably,
Further comprise:Processing module;
The processing module, for judge the Installing of Command and the described program called of operation module whether normal mounting And operation;If it is, the corresponding command name of the described program called is write described in the order collection module foundation First index file;Otherwise, the report that the described program called is installed and run is formed, the report is sent to the use Family.
Preferably,
Further comprise:Acquisition module and comparison processing module;
The acquisition module, for gathering the current corresponding command name of installation procedure of each in the operating system;
The comparison processing module, for each the described command name collected and the order collection module to be set up Each described command name for including of first index file be compared;When each the described command name collected When middle at least one first command name of presence is not present in first index file, then in first index file At least one described first command name of write-in;When being adopted in first index file in the presence of at least one second command name When being not present in each the described command name collected, then at least one described second life is deleted in first index file Make title.
The embodiments of the invention provide a kind of intelligent completion input method of the order under operating system and device, by setting up The first index file including having installed the corresponding command name of each program in operating system, and foundation include operating system Second index file of the involved corresponding command name of whole programs.The order included according to the second index file of foundation Title, carries out completion to the character of outside input and forms alternative command name.Then according to outside triggering in the standby of formation Determination command object title in command name is selected, and when determination command object title is present in the order that the first index file includes When in title, the corresponding program of operational objective command name.When judgement determines that command object title is not present in the first index text When in the command name that part includes, from the corresponding program of program storage center invocation target command name, install and operation is adjusted Program.By said process, this programme can be by including the corresponding life of whole programs involved by operating system The second index file of title is made, completion is carried out to the character of outside input.And when the corresponding journey of command object title determined When sequence is not installed in an operating system, can from the corresponding program of program storage center invocation target command name, and install with And the program that operation is called.Due to not needing user oneself to look for, install and the corresponding program of operational objective command name, because The scheme that this present invention is provided can improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is the flow for ordering intelligent completion input method under a kind of operating system that one embodiment of the invention is provided Figure;
Fig. 2 is the stream for ordering intelligent completion input method under a kind of operating system that another embodiment of the present invention is provided Cheng Tu;
Fig. 3 is that the intelligent completion input unit place of order under a kind of operating system that one embodiment of the invention is provided is set A kind of standby hardware structure diagram;
Fig. 4 is the structure for ordering intelligent completion input unit under a kind of operating system that one embodiment of the invention is provided Schematic diagram;
Fig. 5 be one embodiment of the invention provide it is a kind of including determination sub-module and formation submodule operating system under The intelligent completion input unit of order structural representation;
Fig. 6 is the order intelligence under a kind of operating system including differentiation determining module that one embodiment of the invention is provided The structural representation of energy completion input unit;
Fig. 7 is the intelligent completion of order under a kind of operating system including processing module that one embodiment of the invention is provided The structural representation of input unit;
Fig. 8 be one embodiment of the invention provide it is a kind of including acquisition module and comparison processing module operating system under The intelligent completion input unit of order structural representation.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of intelligent completion input method of the order under operating system, the party Method may comprise steps of:
Step 101:Set up the first index file of installation procedure, and set up the operating system institute in operating system Second index file of the whole programs being related to;Wherein, first index file includes each corresponding life of installation procedure Make title;Second index file includes the involved corresponding command name of each program;
Step 102:Obtain at least one character of outside input;
Step 103:The command name included according to second index file, is mended at least one described character Entirely, at least one alternative command name is formed;
Step 104:According to external trigger, command object title is determined at least one described alternative command name;
Step 105:Judge that the command object title whether there is the command name included in first index file In, if it is, performing step 106;Otherwise, step 107 is performed;
Step 106:Run the corresponding program of the command object title;
Step 107:The corresponding program of the command object title is called from outside program storage center, installs and transports The described program that row is called.
According to embodiment as shown in Figure 1, include the corresponding order of each program has been installed in operating system by setting up First index file of title, and foundation include the second rope of the corresponding command name of whole programs involved by operating system Quotation part.The command name included according to the second index file of foundation, carries out completion to the character of outside input and forms standby Select command name.Then command object title is determined in the alternative command name of formation according to outside triggering, and when determination When command object title is present in the command name that the first index file includes, the corresponding program of operational objective command name. When judging to determine that command object title is not present in the command name that the first index file includes, adjusted from program storage center With the corresponding program of command object title, the program called is installed and run.By said process, this programme can lead to Crossing includes the second index file of the corresponding command name of whole programs involved by operating system, and the character of outside input is entered Row completion.And when it is determined that the corresponding program of command object title do not install in an operating system when, can be from program storage The corresponding program of heart invocation target command name, and install and run the program called.Due to not needing user oneself to go to seek Look for, install and the corresponding program of operational objective command name, therefore the embodiment that the present invention is provided can improve Consumer's Experience.
In an embodiment of the invention, the OS Type shown in above-mentioned Fig. 1 involved by flow chart can be according to industry Business requires to determine.Such as can be that Windows systems can also be linux system.It is determined that after the type of operating system, setting up First index file of installation procedure, and set up second of whole installation procedures involved by operating system in operating system Index file.Program 1, program 2 and program 3 are such as mounted with operating system A, then set up include installation procedure 1, First index file of program 2 and program 3.First index file includes program 1, program 2 and program 3 and corresponded to respectively Command name, such as the command name of program 1 is aac, the command name of program 2 is bbc and the command name of program 3 is ddc.Whole installation procedures involved by operating system A are program 1, program 2, program 3, program 4, program 5 and program 6, that Setting up includes the second index file of whole programs 1, program 2, program 3, program 4, program 5 and program 6.Second index File includes program 1, program 2, program 3, program 4, program 5 and program 6 and distinguishes corresponding command name, such as program 1 Command name be that aac, the command name of program 2 are that bbc, the command name of program 3 are that ddc, the command name of program 4 are Eec, the command name of program 5 are that ffc, the command name of program 6 are ttc.Other first index file and the second index text The pattern of part can be determined according to business need, such as can be text, form document or word file.
In an embodiment of the invention, the pattern of outside input character and the quantity of character can be wanted according to business Ask determination.The pattern of such as character can be at least one of letter, numeral, word and symbol.
In an embodiment of the invention, in flow chart shown in above-mentioned Fig. 1 step 103 according to the second index file bag The command name included, carries out completion at least one described character, forms at least one alternative command name, can include:
In the command name that second index file includes, determine that each includes the order of at least one character Title;
Using each described command name of determination, completion is carried out at least one described character, formed described at least one Individual alternative command name.
In the present embodiment, the second index file includes the corresponding command name of each program involved by operating system. Such as, the second index file includes program 1, program 2, program 3, program 4, program 5 and program 6 and distinguishes corresponding command name Claim, such as the command name of program 1 is that aac, the command name of program 2 are that bbc, the command name of program 3 are ddc, program 4 Command name is that eec, the command name of program 5 are that ffc, the command name of program 6 are ttc.When outside input character be c, The command name that then determining each in the second index file includes character c is aac, bbc, ddc, eec, ffc, ttc.Then, it is sharp Completion, the alternative command name bag of formation are carried out to character c with command name aac, bbc, ddc, eec, ffc, ttc of determination Include:aac、bbc、ddc、eec、ffc、ttc.When the character of outside input is ec, it is determined that the second index file includes word The command name for according with ec is eec.Then completion, the alternative order of formation are carried out to character ec using the command name eec determined Title includes:eec.
According to above-described embodiment, second of the corresponding command name of each program involved by operating system can included In index file, determine that each includes the command name of at least one character of outside input.And according to each order of determination Title, carries out completion, so as to form alternative command name to the character of input.Because alternative command name is according to including operation The second index file formation of the corresponding command name of each program involved by system, it is seen that alternative command name both included Installation procedure corresponding command name includes the corresponding command name of non-installation procedure in operating system again in operating system Claim.Therefore, the alternative command name of formation is more comprehensive.
In an embodiment of the invention, the formation in flow chart shown in above-mentioned Fig. 1 involved by step 103 at least one After alternative command name, it may further include:
In at least one described alternative command name, it is determined that the already present alternative order in first index file Title, and determine the non-existent alternative command name in first index file;
Will in first index file already present alternative command name, and in first index file not The alternative command name existed, differentiation is shown to the user of outside.
In the present embodiment, can be according to including installation procedure in operating system after alternative command name is determined First index file of corresponding command name, determines each installment state of alternative order in an operating system.When alternative life In the presence of title is made in the first index file, it is determined that the alternative corresponding program of command name has been installed in an operating system; When alternative command name is not present in the first index file, it is determined that the alternative corresponding program of command name is in operating system In do not install.Then will in the first index file already present alternative command name, and do not deposited in the first index file Alternative command name, differentiation is shown to user, so that user intuitively can distinguish the two.
In the present embodiment, the pattern of differential disply can be determined according to business need.It can such as be carried out by color Differentiation shows that already present alternative command name is shown to by the first color pre-set in the first index file User, non-existent alternative command name is shown to user by second of the color pre-set in the first index file. It can and for example be shown by increasing character progress differentiation, already present alternative command name increase is pre- in the first index file The first character first set, such as " Local Installed " are shown to user, non-existent standby in the first index file Second of character that command name increase is pre-set is selected, such as " Not Installed " are shown to user.
According to above-described embodiment, after alternative command name is formed, it can be determined in the alternative command name of formation The already present alternative command name in the first index file, and determine the non-existent alternative order in the first index file Title.And will in the first index file already present alternative command name, and in the first index file it is non-existent standby Command name is selected, differentiation is shown to user, so that user can intuitively recognize the corresponding program of each alternative command name Whether install in an operating system.
In an embodiment of the invention, formed after at least one alternative command name, by each alternative command name It is sent to user.Then user chooses the alternative command name of needs according to the demand of oneself in each alternative command name, And trigger the determination command object title at least one alternative command name.Then according to the command object title of determination in bag Include in operating system and whether there is in the first index file of the corresponding command name of installation procedure, when it is present, directly transport The corresponding program of row command object title.When in the absence of when, then need in outside program storage center invocation target life Make the corresponding program of title, the program of installed and invoking, then operation program after installing.
In the present embodiment, outside program storage center can be determined according to business need, such as can be to be in net The program storage file of program storage data storehouse or operating system in itself in network.
In an embodiment of the invention, program storage center of the step 107 from outside in flow chart shown in above-mentioned Fig. 1 The corresponding program of the command object title is called, installs and runs after the described program called, may further include:
Judge the described program called whether normal mounting and operation;
If it is, the corresponding command name of the described program called is write into first index file;
Otherwise, the report that the described program called is installed and run is formed, the report is sent to the user.
In the present embodiment, such as the program called is program A, and corresponding command name is aac, when program A is in operation When being installed in system and running normal, then the corresponding command name aac of program A are written in the first index file, so as to In time to the state of installation procedure is changed in operating system.When program A install or run in an operating system exist it is different During reason condition, then the report of the corresponding installations of program A and operation is formed, and report is sent to user, so that user is timely Solution program A abnormal conditions, and corresponding abnormality processing is carried out according to report.Wherein, the specific pattern of report can be according to industry Business requires to determine.
According to above-described embodiment, after installing and running the program called from program storage center, when judgement is called Program normal mounting and during operation, the corresponding command name of program is write into the first index file, with time to operating system In the command name of installation procedure be updated.When the non-normal mounting of program and operation for judging to call, the program is formed The report installed and run, so that user carries out corresponding abnormality processing according to report.
In an embodiment of the invention, under the operating system one can also be entered in the intelligent completion input method of order Step includes:
Gather the current corresponding command name of installation procedure of each in the operating system;
Each described command name that each the described command name collected and first index file are included It is compared;
It is literary in the described first index when there is at least one first command name in each the described command name collected When being not present in part, then at least one described first command name is write in first index file;
When in first index file exist at least one second command name in each the described command name collected When being not present in title, then at least one described second command name is deleted in first index file.
In the present embodiment, in order to understand the installation situation of operating system Program in time, it is necessary in real time or periodically go to adopt Collect the current corresponding command name of installation procedure of each in operating system.And set up the command name collected and before In first index file each the corresponding command name of installation procedure be compared.Such as, the command name of collection includes Aac, bbc, ddc, eec, ffc, ttc, and the first index file includes aac, bbc, ddc, eec, ffc, determines command name Ttc is not present in the first index file, then command name ttc is written in the first index file.Such as, the order of collection Title includes aac, bbc, ddc, eec, and the first index file includes aac, bbc, ddc, eec, ffc, determines the first index Command name ffc in file is not present in the command name of collection, then illustrates the corresponding programs of command name ffc in operation Unload, then deleted the command name ffc in the first index file in system.
According to above-described embodiment, the current corresponding command name of installation procedure, and adopting of each in acquisition operations system The command name that the first index file for collecting command name with setting up includes is compared, according to comparison result, to first Index file is updated operation.It therefore, it can make in the first index file each command name with actually pacifying in operating system The corresponding command name of dress program is consistent.
Below so that operating system is linux system as an example.The intelligent completion input side of order under expansion explanation operating system Method, as shown in Fig. 2 the intelligent completion input method of order under the operating system, may include steps of:
Step 201:Set up the first index file of installation procedure, and setting up involved by linux system in linux system And whole installation procedures the second index file;Wherein, the first index file includes each corresponding order of installation procedure Title;Second index file includes the involved corresponding command name of each installation procedure.
In this step, program 1, program 2 and program 3 are mounted with linux system, then setting up includes having installed First index file of program 1, program 2 and program 3.First index file includes 3 points of program 1, program 2 and program Not corresponding command name, such as the command name of program 1 is that aac, the command name of program 2 are bbc and the order of program 3 Entitled ddc.Whole installation procedures involved by linux system are program 1, program 2, program 3, program 4, program 5 and journey Sequence 6, then setting up includes the second index file of whole programs 1, program 2, program 3, program 4, program 5 and program 6.This Two index files include program 1, program 2, program 3, program 4, program 5 and program 6 and distinguish corresponding command name, such as The command name of program 1 is that aac, the command name of program 2 are that bbc, the command name of program 3 are ddc, the command name of program 4 Referred to as eec, the command name of program 5 are that ffc, the command name of program 6 are ttc.
Step 202:Obtain at least one character of outside input.
In this step, the character for obtaining outside input is c.
Step 203:In the command name that the second index file includes, determine that each includes the order of at least one character Title.
In this step, in command name aac, bbc, ddc, eec, ffc, ttc that the second index file includes, it is determined that The command name of character c including being obtained in step 202 includes aac, bbc, ddc, eec, ffc, ttc.
Step 204:Using each command name of determination, completion is carried out at least one character, at least one is formed standby Select command name.
In this step, using command name aac, bbc, ddc, eec, ffc, the ttc determined in step 203, to step The character c obtained in 202 carries out completion, and the alternative command name of formation is aac, bbc, ddc, eec, ffc, ttc.
Step 205:In at least one alternative command name, it is determined that the already present alternative order in the first index file Title, and the non-existent alternative command name in the first index file.
In this step, in the alternative command name of step 204 formation, it is determined that already present in the first index file Alternative command name is aac, bbc, ddc.It is determined that in the first index file non-existent alternative command name be eec, ffc, ttc。
Step 206:Will in the first index file already present alternative command name, and in the first index file not The alternative command name existed, differentiation is shown to the user of outside.
In this step, it is determined that differentiation display mode be by increase character carry out differentiation show, in the first rope Already present alternative command name is by the first character pre-set in quotation part, such as " Local Installed " show Show to user, non-existent alternative command name is by second of character pre-setting in the first index file, such as " Not Installed " are shown to user.
Step 207:According to external trigger, command object title is determined at least one alternative command name.
In this step, according to external trigger, determined in alternative command name aac, bbc, ddc, eec, ffc, ttc The entitled eec of command object.
Step 208:Judge that command object title whether there is in the command name that the first index file includes, if It is to perform step 209;Otherwise, step 210 is performed.
In this step, the order that the command object title eec that judgment step 207 is determined does not include in the first index file In title, step 210 is performed.
Step 209:The corresponding program of operational objective command name, and terminate current process.
In this step, when it is determined that the entitled aac of command object, it is determined that it is then directly transported in the first index file The corresponding programs of the entitled aac of row command object.
Step 210:From the outside corresponding program of program storage center invocation target command name, install and operation is adjusted Program.
In this step, from the download program website invocation target order on outside program storage center, such as network The corresponding program C of title eec, and installed and operation program C in linux system.
Step 211:Judge the program called whether normal mounting and operation, if it is, performing step 212;Otherwise, hold Row step 213.
In this step, the program C called in judgment step 210 whether normal mounting and operation, if it is, performing step Rapid 212;Otherwise, step 213 is performed.
Step 212:The corresponding command name of the program called is write into the first index file.
In this step, when the corresponding command name eec of the program C called are written in the first index file, the first rope The command name that quotation part includes is changed into aac, bbc, ddc, eec.
Step 213:The report that the program called is installed and run is formed, report is sent to user.
In this step, when the program C called is unable to normal mounting and operation, generation report, and will include being sent to User, so that user is handled abnormal conditions in time according to report.
As shown in Figure 3, Figure 4, the embodiments of the invention provide a kind of intelligent completion input unit of the order under operating system. Device embodiment can be realized by software, can also be realized by way of hardware or software and hardware combining.From hardware view For, as shown in figure 3, the equipment where the intelligent completion input unit of order under operating system provided in an embodiment of the present invention A kind of hardware structure diagram, in addition to the processor shown in Fig. 3, internal memory, network interface and nonvolatile memory, implements Equipment in example where device can also generally include other hardware, such as be responsible for the forwarding chip of processing message.With software Exemplified by realization, as shown in figure 4, being to be deposited by the CPU of equipment where it by non-volatile as the device on a logical meaning Corresponding computer program instructions read what operation in internal memory was formed in reservoir.Life under the operating system that the present embodiment is provided The intelligent completion input unit of order, including:
Order collection module 401, for setting up the first index file of installation procedure, and set up institute in operating system State the second index file of whole programs involved by operating system;Wherein, first index file has been installed including each The corresponding command name of program;Second index file includes the involved corresponding command name of each program;
Order analysis module 402, at least one character for obtaining outside input;According to the order collection module The command name that 401 second index files set up include, completion is carried out at least one described character, forms at least one Individual alternative command name;
Order determining module 403, for according to external trigger, described in the order analysis module 402 formation at least Command object title is determined in one alternative command name;
Installing of Command and operation module 404, for judging that the order determining module 403 determines the command object title With the presence or absence of in the command name that first index file that the order collection module 401 is set up includes, if it is, fortune The corresponding program of the row command object title;Otherwise, the command object title pair is called from outside program storage center The program answered, installs and runs the described program called.
According to embodiment as shown in Figure 4, the intelligent completion input unit of order under the operating system includes:Mould is collected in order Block, order analysis module, order determining module and Installing of Command and operation module.Order collection module is set up in operating system First index file of the corresponding command name of installation procedure, and the whole programs set up involved by operating system are corresponding The character of second index file of command name, then order analysis module acquisition outside input, and according to order collection module The command name that the second index file set up includes, carries out completion to the character of acquisition, forms alternative command name.Order is true Cover half block determines command object title under external trigger in the alternative command name of order analysis module formation.Then order Order is installed and operation module is when judging that order determining module determines that command object title is present in order collection module is set up the When in the command name that one index file includes, the corresponding program of operational objective command name.Installing of Command and operation module are worked as Judge that order determining module determines that command object title is not present in first index file of order collection module foundation and included When in command name, from the corresponding program of program storage center invocation target command name, install and that operation is called is described Program.By said process, this programme can be by including the corresponding command name of whole programs involved by operating system The second index file claimed, completion is carried out to the character of outside input.And work as the corresponding program of command object title determined not , can be from the corresponding program of program storage center invocation target command name when installing in an operating system, and install and transport The program that row is called.Due to not needing user oneself to look for, install and the corresponding program of operational objective command name, therefore this The embodiment that invention is provided can improve Consumer's Experience.
In an embodiment of the invention, as shown in figure 5, can include in the order analysis module 402:Determine submodule Block 501 and formation submodule 502;
The determination sub-module 501, second index file for being set up in the order collection module 401 includes Command name in, determine that each includes the command name of at least one character;
The formation submodule 502, it is right for each the described command name determined using the determination sub-module 501 At least one described character carries out completion, forms at least one alternative command name.
In an embodiment of the invention, as shown in fig. 6, the intelligent completion input unit of order under the operating system can To further comprise:Differentiation determining module 601;
The differentiation determining module 601, at least one is alternative described in the order analysis module 402 formation In command name, it is determined that the already present alternative order in first index file that the order collection module 401 is set up Title, and determine the non-existent alternative command name in first index file that the order collection module 401 is set up Claim;Will in first index file already present alternative command name, and be not present in first index file Alternative command name, differentiation be shown to outside user.
In an embodiment of the invention, as shown in fig. 7, the intelligent completion input unit of order under the operating system can To further comprise:Processing module 701;
The processing module 701, for whether just to judge the Installing of Command and the described program called of operation module 404 Often install and run;Built if it is, the corresponding command name of the described program called is write into the order collection module 401 Vertical first index file;Otherwise, the report that the described program called is installed and run is formed, the report is sent To the user.
In an embodiment of the invention, as shown in figure 8, the intelligent completion input unit of order under the operating system can To further comprise:Acquisition module 801 and comparison processing module 802;
The acquisition module 801, for gathering the current corresponding command name of installation procedure of each in the operating system Claim;
The comparison processing module 802, for by each the described command name collected and the order collection module Each described command name that 401 first index files set up include is compared;When collect each described in When being not present in command name in the presence of at least one first command name in first index file, then in first rope At least one described first command name is write in quotation part;When in first index file exist at least one second order When title is not present in each the described command name collected, then in first index file at least one described in deletion Individual second command name.
A kind of computer-readable recording medium is provided in one embodiment of the invention, the computer-readable recording medium includes:Execute instruction, when storage control Described in the computing device of device processed during execute instruction, the storage control performs the life under operating system described in any of the above-described The intelligent completion input method of order.
A kind of storage control is provided in one embodiment of the invention, the storage control includes:Processor, memory And bus;The memory is used to store execute instruction;The processor is connected with the memory by the bus;Work as institute When stating storage control operation, the execute instruction of memory storage described in the computing device, so that the storage control Device processed performs the intelligent completion input method of order under operating system described in any of the above-described.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In summary, each embodiment of the invention can at least realize following beneficial effect:
1st, in embodiments of the present invention, include each program corresponding command name has been installed in operating system by setting up The first index file, and set up include the corresponding command name of whole programs involved by operating system the second index it is literary Part.The command name included according to the second index file of foundation, carries out completion to the character of outside input and forms alternative life Make title.Then command object title is determined in the alternative command name of formation according to outside triggering, and when determination target When command name is present in the command name that the first index file includes, the corresponding program of operational objective command name.When sentencing When disconnected determination command object title is not present in the command name that the first index file includes, mesh is called from program storage center The corresponding program of command name is marked, the program called is installed and run.By said process, this programme can pass through bag The second index file of the corresponding command name of whole programs involved by operating system is included, the character of outside input is mended Entirely.And when it is determined that the corresponding program of command object title do not install in an operating system when, can be adjusted from program storage center With the corresponding program of command object title, and install and program that operation is called.Due to not needing user oneself to look for, pacify Dress and the corresponding program of operational objective command name, therefore the embodiment that the present invention is provided can improve Consumer's Experience.
2nd, in embodiments of the present invention, can be including the corresponding command name of each program involved by operating system In second index file, determine that each includes the command name of at least one character of outside input.And according to determination each Command name, carries out completion, so as to form alternative command name to the character of input.Because alternative command name is that basis includes The second index file formation of the corresponding command name of each program involved by operating system, it is seen that alternative command name was both Include in operating system that the corresponding command name of installation procedure includes the corresponding life of non-installation procedure in operating system again Make title.Therefore, the alternative command name of formation is more comprehensive.
3rd, in embodiments of the present invention, can be in the alternative command name of formation after alternative command name is formed It is determined that in the first index file already present alternative command name, and determine non-existent alternative in the first index file Command name.And will in the first index file already present alternative command name, and be not present in the first index file Alternative command name, differentiation is shown to user, so that user can intuitively recognize that each alternative command name is corresponding Whether program has been installed in an operating system.
4th, in embodiments of the present invention, after installing and running the program called from program storage center, judgement is worked as When the program normal mounting called and operation, the corresponding command name of program is write into the first index file, with time to operation The command name of installation procedure is updated in system.When the non-normal mounting of program and operation for judging to call, being formed should The report that program is installed and run, so that user carries out corresponding abnormality processing according to report.
5th, in embodiments of the present invention, the current corresponding command name of installation procedure of each in acquisition operations system, and The command name that the first index file that command name is collected with setting up includes is compared, it is right according to comparison result First index file is updated operation.It therefore, it can make each command name and reality in operating system in the first index file Installation procedure corresponding command name in border is consistent.
6th, in embodiments of the present invention, the intelligent completion input unit of order under the operating system includes:Mould is collected in order Block, order analysis module, order determining module and Installing of Command and operation module.Order collection module is set up in operating system First index file of the corresponding command name of installation procedure, and the whole programs set up involved by operating system are corresponding The character of second index file of command name, then order analysis module acquisition outside input, and according to order collection module The command name that the second index file set up includes, carries out completion to the character of acquisition, forms alternative command name.Order is true Cover half block determines command object title under external trigger in the alternative command name of order analysis module formation.Then order Order is installed and operation module is when judging that order determining module determines that command object title is present in order collection module is set up the When in the command name that one index file includes, the corresponding program of operational objective command name.Installing of Command and operation module are worked as Judge that order determining module determines that command object title is not present in first index file of order collection module foundation and included When in command name, from the corresponding program of program storage center invocation target command name, install and that operation is called is described Program.By said process, this programme can be by including the corresponding command name of whole programs involved by operating system The second index file claimed, completion is carried out to the character of outside input.And work as the corresponding program of command object title determined not , can be from the corresponding program of program storage center invocation target command name when installing in an operating system, and install and transport The program that row is called.Due to not needing user oneself to look for, install and the corresponding program of operational objective command name, therefore this The embodiment that invention is provided can improve Consumer's Experience.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply exist between these entities or operation Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements, But also other key elements including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including Also there is other identical factor in process, method, article or the equipment of the key element.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. the intelligent completion input method of order under a kind of operating system, it is characterised in that including:
Set up the first index file of installation procedure, and set up whole journeys involved by the operating system in operating system Second index file of sequence;Wherein, first index file includes each corresponding command name of installation procedure;Described Two index files include the involved corresponding command name of each program;
Obtain at least one character of outside input;
The command name included according to second index file, completion is carried out at least one described character, forms at least one Individual alternative command name;
According to external trigger, command object title is determined at least one described alternative command name;
Judge that the command object title whether there is in the command name that first index file includes, if it is, fortune The corresponding program of the row command object title;
Otherwise, the corresponding program of the command object title is called from outside program storage center, installs and operation is called Described program.
2. according to the method described in claim 1, it is characterised in that
The command name included according to second index file, completion is carried out at least one described character, is formed extremely A few alternative command name, including:
In the command name that second index file includes, determine that each includes the command name of at least one character Claim;
Using each described command name of determination, completion is carried out at least one described character, forms that described at least one is standby Select command name.
3. method according to claim 2, it is characterised in that
After described at least one alternative command name of formation, further comprise:
In at least one described alternative command name, it is determined that the already present alternative command name in first index file Claim, and determine the non-existent alternative command name in first index file;
Will in first index file already present alternative command name, and be not present in first index file Alternative command name, differentiation be shown to outside user.
4. according to the method described in claim 1, it is characterised in that
The corresponding program of the command object title is called at the program storage center from outside, installs and operation is called Described program after, further comprise:
Judge the described program called whether normal mounting and operation;
If it is, the corresponding command name of the described program called is write into first index file;
Otherwise, the report that the described program called is installed and run is formed, the report is sent to the user.
5. according to any described method of Claims 1-4, it is characterised in that
Further comprise:
Gather the current corresponding command name of installation procedure of each in the operating system;
Each described command name that each the described command name collected and first index file include is carried out Compare;
When in each the described command name collected exist at least one first command name in first index file In the absence of when, then at least one described first command name is write in first index file;
When in first index file exist at least one second command name in each the described command name collected In the absence of when, then at least one described second command name is deleted in first index file.
6. the intelligent completion input unit of order under a kind of operating system, it is characterised in that including:
Order collection module, for setting up the first index file of installation procedure, and set up the operation in operating system Second index file of whole programs involved by system;Wherein, first index file includes each installation procedure pair The command name answered;Second index file includes the involved corresponding command name of each program;
Order analysis module, at least one character for obtaining outside input;The institute set up according to the order collection module The command name that the second index file includes is stated, completion is carried out at least one described character, at least one alternative order is formed Title;
Order determining module, for according to external trigger, at least one alternative life described in order analysis module formation Make determination command object title in title;
Installing of Command and operation module, for judge the order determining module determine the command object title whether there is in In the command name that first index file that the order collection module is set up includes, if it is, running the target life Make the corresponding program of title;Otherwise, the corresponding program of the command object title is called from outside program storage center, installed And the described program that operation is called.
7. device according to claim 6, it is characterised in that
The order analysis module, including:Determination sub-module and formation submodule;
The determination sub-module, the command name that second index file for being set up in the order collection module includes In, determine that each includes the command name of at least one character;
The formation submodule, for each the described command name determined using the determination sub-module, to described at least one Individual character carries out completion, forms at least one alternative command name.
8. device according to claim 7, it is characterised in that
Further comprise:Differentiation determining module;
The differentiation determining module, at least one alternative command name described in order analysis module formation In, it is determined that the already present alternative command name in first index file that the order collection module is set up, and really It is scheduled on non-existent alternative command name in first index file that the order collection module is set up;Will be described first Already present alternative command name in index file, and the non-existent alternative command name in first index file, Differentiation is shown to the user of outside.
9. device according to claim 6, it is characterised in that
Further comprise:Processing module;
The processing module, for judge the Installing of Command and the described program called of operation module whether normal mounting and Operation;If it is, the corresponding command name of the described program called is write into the order collection module is set up described first Index file;Otherwise, the report that the described program called is installed and run is formed, the report is sent to the user.
10. according to any described device of claim 6 to 9, it is characterised in that
Further comprise:Acquisition module and comparison processing module;
The acquisition module, for gathering the current corresponding command name of installation procedure of each in the operating system;
The comparison processing module, for the institute for setting up each the described command name collected and the order collection module Each described command name that stating the first index file includes is compared;Deposited when in each the described command name collected When at least one first command name is not present in first index file, then write in first index file At least one described first command name;When being collected in first index file in the presence of at least one second command name Each described command name in when being not present, then at least one described second command name is deleted in first index file Claim.
CN201710333052.4A 2017-05-12 2017-05-12 The intelligent completion input method of order and device under a kind of operating system Pending CN107085520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710333052.4A CN107085520A (en) 2017-05-12 2017-05-12 The intelligent completion input method of order and device under a kind of operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710333052.4A CN107085520A (en) 2017-05-12 2017-05-12 The intelligent completion input method of order and device under a kind of operating system

Publications (1)

Publication Number Publication Date
CN107085520A true CN107085520A (en) 2017-08-22

Family

ID=59612961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710333052.4A Pending CN107085520A (en) 2017-05-12 2017-05-12 The intelligent completion input method of order and device under a kind of operating system

Country Status (1)

Country Link
CN (1) CN107085520A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007055528A1 (en) * 2005-11-10 2007-05-18 Lg Electronics Inc. Method for detecting if command implementation was completed on robot common framework, method for transmitting and receiving signals and device thereof
CN103744701A (en) * 2014-01-06 2014-04-23 浪潮电子信息产业股份有限公司 Method for system for complementing and installing smart commands under Linux
CN103995740A (en) * 2014-05-21 2014-08-20 深圳市新格林耐特通信技术有限公司 Achieving method of command line human-computer interaction interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007055528A1 (en) * 2005-11-10 2007-05-18 Lg Electronics Inc. Method for detecting if command implementation was completed on robot common framework, method for transmitting and receiving signals and device thereof
CN103744701A (en) * 2014-01-06 2014-04-23 浪潮电子信息产业股份有限公司 Method for system for complementing and installing smart commands under Linux
CN103995740A (en) * 2014-05-21 2014-08-20 深圳市新格林耐特通信技术有限公司 Achieving method of command line human-computer interaction interface

Similar Documents

Publication Publication Date Title
US10965559B1 (en) Automatic creation of related event groups for an IT service monitoring system
US10547695B2 (en) Automated service discovery in I.T. environments with entity associations
US10193775B2 (en) Automatic event group action interface
US11200130B2 (en) Automatic entity control in a machine data driven service monitoring system
US10209956B2 (en) Automatic event group actions
US10417108B2 (en) Portable control modules in a machine data driven service monitoring system
US10536353B2 (en) Control interface for dynamic substitution of service monitoring dashboard source data
US10430324B2 (en) System and method for automated intelligent mobile application testing
US10198155B2 (en) Interface for automated service discovery in I.T. environments
CN104503840B (en) The method and device that terminal resource is optimized
CN109445842A (en) Rule generating method, device, computer equipment and storage medium
CN106020811A (en) Development method and device of algorithm model
US9245256B2 (en) Assigning and managing reviews of a computing file
CN103092742A (en) Optimization method and system of program logging
CN108255620A (en) A kind of business logic processing method, apparatus, service server and system
CN109918437A (en) Distributed data processing method, apparatus and data assets management system
CN109298882A (en) Management method, computer readable storage medium and the terminal device of interface
CN108196944A (en) Mobile terminal background application inspection method and device
CN106095660A (en) The quality control method of application and device
US11755559B1 (en) Automatic entity control in a machine data driven service monitoring system
US20200147712A1 (en) Systems and methods to design part weld processes
CN104461741B (en) Graphics device interface based computing device optimizing method and device
CN103914288A (en) Control state judging method
CN107085520A (en) The intelligent completion input method of order and device under a kind of operating system
CN109660576B (en) User data real-time migration method, storage medium, electronic device and system

Legal Events

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

Application publication date: 20170822