CN110083597A - Order querying method, device, computer equipment and storage medium - Google Patents

Order querying method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110083597A
CN110083597A CN201910200318.7A CN201910200318A CN110083597A CN 110083597 A CN110083597 A CN 110083597A CN 201910200318 A CN201910200318 A CN 201910200318A CN 110083597 A CN110083597 A CN 110083597A
Authority
CN
China
Prior art keywords
command
character
command code
alias
code
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
CN201910200318.7A
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910200318.7A priority Critical patent/CN110083597A/en
Publication of CN110083597A publication Critical patent/CN110083597A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application involves data query technique field more particularly to a kind of order querying method, device, computer equipment and storage mediums, comprising: obtains command code, extracts the characteristic character in the command code, constructs Command alias according to the characteristic character;The storage location in the Command alias indexed file is obtained, according to the storage location, establishes the index list for inquiring the Command alias;The subdirectories at different levels in the index list are assigned with different identifiers, receive command code inquiry request information, according to the corresponding relationship of the command code solicited message and the identifier, the index list of the corresponding Command alias of the command code inquiry request information is obtained.The application solves the problems, such as to correspond to same commands alias due to being likely to occur different command code when the inquiry of line command alias.

Description

Order querying method, device, computer equipment and storage medium
Technical field
This application involves data query technique field more particularly to a kind of order querying method, device, computer equipment and Storage medium.
Background technique
Computer command is exactly the instruction and order for commanding machine operation, and program is exactly a series of to arrange in certain sequence Order, the process for executing program is exactly the course of work of computer.Controller commands machine operation, people's command table by order Up to the intention of oneself, and give controller execution.
Currently, an order includes both sides content, operation code and operand, operation code determines the operation to be completed, Operand refers to the element address of the data and its place of participating in operation, needs when carrying out order input by all information of order It is inputted, or simplifies system command length using alias alias system.
But asking for same commands alias is corresponded to due to being likely to occur different command code when carrying out Command alias inquiry Topic, results in the need for manually veritifying the corresponding command code of Command alias.
Summary of the invention
Based on this, it is necessary to correspond to same commands alias due to being likely to occur different command code for when alias being enabled to inquire The problem of, a kind of order querying method, device, computer equipment and storage medium are provided.
A kind of order querying method, includes the following steps:
Command code is obtained, the characteristic character in the command code is extracted, it is other according to characteristic character building order Name;
The storage location in the Command alias indexed file is obtained, according to the storage location, is established for inquiring The index list of the Command alias;
The subdirectories at different levels in the index list are assigned with different identifiers, receive command code inquiry request letter Breath obtains the command code inquiry request letter according to the corresponding relationship of the command code solicited message and the identifier Cease the index list of corresponding Command alias.
In a wherein possible embodiment, the acquisition command code extracts the tagged word in the command code Symbol constructs Command alias according to the characteristic character, comprising:
The bebinning character and final character for obtaining command code, according to the position of the bebinning character and the final character Position, extract the command code;
The subcommand for including in the command code is obtained, using the initial character of each subcommand as the characteristic character, The subcommand is assigned with label according to the attribute of the subcommand, splices the label and the characteristic character forms the life Enable alias.
In a wherein possible embodiment, the storage location obtained in the Command alias indexed file, According to the storage location, the index list for inquiring the Command alias is established, comprising:
The Command alias is ranked up according to letter composition, the Command alias after assigning sequence is with feature of abridging The Command alias is written to the different storage locations of index file according to the abbreviation characteristic symbol by symbol;
The location name for obtaining the storage location extracts the characteristic identifier in the location name, according to the spy Sign identifier establishes the root of the index list;
The last letter in the directory name in preset subdirectory and described are inquired according to the initial of the root The root is connect by the consistent subdirectory title of the initial of catalogue with the preset subdirectory;
The initial for obtaining the preset subdirectory, inquire last letter in the directory name in preset master catalogue with The consistent master catalogue title of the initial of the subdirectory, after the preset subdirectory is connect with the preset master catalogue Form the index list of the Command alias.
In a wherein possible embodiment, the subdirectories at different levels assigned in the index list are with different marks Know symbol, receives command code inquiry request information, according to the corresponding relationship of the command code solicited message and the identifier, Obtain the index list of the corresponding Command alias of the command code inquiry request information, comprising:
The historical data of the title forms and frequency of use of subdirectory at different levels in the index list is obtained, with the title Characteristic character in composition splices the primary identifier and the weight using frequency of use as weight identifier for primary identifier Identifier constitutes the dirid of subdirectories at different levels;
Command code inquiry request information is received, the code characteristic word in the command code inquiry request information is obtained After being compared code characteristic character with the dirid, it is corresponding to obtain the command code inquiry request information for symbol Command alias index list.
In a wherein possible embodiment, the bebinning character and final character for obtaining command code, according to institute The position of bebinning character and the position of the final character are stated, the command code is extracted, comprising:
Preset command list (CLIST) is obtained, the bebinning character and final character of each command code are extracted;
The information that user inputs, is divided by the expected length of field for obtaining the command code according to the expected length Several sub-information sections;
The bebinning character and final character of the sub-information section are obtained, if the bebinning character of the sub-information section is the life It enables the bebinning character of code and the final character of the sub-information section is the final character of the command code, then the sub-information Section is the command code;
If the bebinning character or final character of the sub-information section are not bebinning character or the end of the command code Only character then extends the sub-information section to the one end for not being the bebinning character or the final character, after extending Bebinning character or final character be the bebinning character or the final character, obtain the command code.
It is described to obtain the subcommand for including in the command code in a wherein possible embodiment, with every height The initial character of order assigns the subcommand as the characteristic character, according to the attribute of the subcommand with label, splices institute It states label and the characteristic character forms the Command alias, comprising:
Preset command list (CLIST) is obtained, is extracted in the command code according to the command list (CLIST) from the command code All subcommands;
The location information in the command list (CLIST) for obtaining each subcommand is assigned the subcommand and is marked with position Number;
The Command alias is formed after splicing the characteristic character and the location label.
In a wherein possible embodiment, the reception command code inquiry request information obtains the order generation Code characteristic character in code inquiry request information obtains after being compared code characteristic character with the dirid The corresponding Command alias index list of the command code inquiry request information, comprising:
Command code inquiry request information is received, the command code inquiry request information is long according to preset paragraph Degree, is divided into several sub- paragraphs;
The command code characteristic character in the sub- paragraph is extracted, by the command code characteristic character and the catalogue mark Know symbol and carry out similarity system design, if similarity is greater than similar threshold value, the command code characteristic character and the catalogue are identified Symbol corresponds to;Otherwise, it does not correspond to;
Summarize obtain after the corresponding dirid of command code characteristic character in all sub- paragraphs it is described The corresponding Command alias index list of command code inquiry request information.
A kind of order inquiry unit, including following module:
Alias creation module is set as obtaining command code, the characteristic character in the command code is extracted, according to described Characteristic character constructs Command alias;
Catalogue establishes module, is set as obtaining the storage location in the Command alias indexed file, be deposited according to described Storage space is set, and the index list for inquiring the Command alias is established;
Inquiry obtains module, is set as assigning the subdirectories at different levels in the index list with different identifiers, receives Command code inquiry request information obtains described according to the corresponding relationship of the command code solicited message and the identifier The index list of the corresponding Command alias of command code inquiry request information.
A kind of computer equipment, including memory and processor are stored with computer-readable commands in the memory, institute When stating computer-readable commands and being executed by the processor, so that the step of processor executes mentioned order querying method.
A kind of storage medium being stored with computer-readable commands, the computer-readable commands are handled by one or more When device executes, so that the step of one or more processors execute mentioned order querying method.
Compared with current mechanism, in the application, by establishing the index list of alias inquiry, it is other to efficiently solve line command Due to being likely to occur the problem of different command code corresponds to same commands alias when name inquiry.By to order inquiry request information It is effectively analyzed, Command alias corresponding with command code needed for user can be quickly found out.In addition, by that will order The content extracted in list carries out effectively analysis and obtains required command code.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application Limitation.
Fig. 1 is a kind of overall flow figure of the order querying method of the application in one embodiment;
Fig. 2 is that the alias in a kind of order querying method of the application in one embodiment creates process schematic;
Fig. 3 is the catalogue establishment process schematic diagram in a kind of order querying method of the application in one embodiment;
Fig. 4 is the inquiry acquisition process schematic diagram in a kind of order querying method of the application in one embodiment;
Fig. 5 is a kind of structure chart of the order inquiry unit of the application in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.
Fig. 1 is a kind of overall flow figure of the order querying method of the application in one embodiment, as shown in Figure 1, one Kind order querying method, comprising the following steps:
S1 obtains command code, extracts the characteristic character in the command code, is constructed and is ordered according to the characteristic character Alias;
Specifically, the characteristic character in command code can be Boolean logic symbol or punctuation mark etc. and character Or the character that number is different.
S2 obtains the storage location in the Command alias indexed file, according to the storage location, establishes for looking into Ask the index list of the Command alias;
It is carried out specifically, can form or generate the time in Command alias indexed file according to the letter of Command alias Storage is into the different location of index file after sequence, for example Command alias is " forward ", and storage location is Directory/common, then index list is directory/common/f.
S3 assigns the subdirectories at different levels in the index list with different identifiers, receives command code inquiry request Information obtains the command code inquiry request according to the corresponding relationship of the command code solicited message and the identifier The index list of the corresponding Command alias of information.
Specifically, the identifier of subdirectories at different levels can be the title initial of subdirectory, looked into receiving command code When asking solicited message, the Command alias in query information is extracted, command code request is obtained according to Command alias storage location The corresponding relationship of information and the identifier, and then obtain the index list of Command alias.
The present embodiment, by establishing the index list of alias inquiry, due to can when efficiently solving the inquiry of line command alias The problem of different command code corresponds to same commands alias can occur.
Fig. 2 is that the alias in a kind of order querying method of the application in one embodiment creates process schematic, such as Shown in figure, the S1 obtains command code, extracts the characteristic character in the command code, is constructed according to the characteristic character Command alias, comprising:
S101, the bebinning character and final character for obtaining command code, according to the position of the bebinning character and the end The only position of character extracts the command code;
Specifically, being skipped if the bebinning character of command code is not letter or number, choose first in command code A letter or number are used as bebinning character;If the final character of command code is letter or number, using " " as eventually Only character, otherwise, using the last character of actual command code as final character.
S102, the subcommand for including in the command code is obtained, using the initial character of each subcommand as the feature Character assigns the subcommand according to the attribute of the subcommand with label, splices the label and the characteristic character is formed The Command alias.
Specifically, may include several subcommands in a command code, for example carry out the order of picture material identification It may include that image shape obtains subcommand in code, image pixel obtains subcommand, according to these stored in database Subcommand content;The label of the subcommand of image shape can be " L ", the subcommand of image pixel marked as " S ", then image The Command alias of content recognition can be " LS ".
The present embodiment effectively creates Command alias, thus it is subsequent carry out order inquiry when, convenient for user to order generation The lookup of code.
Fig. 3 is the catalogue establishment process schematic diagram in a kind of order querying method of the application in one embodiment, such as Shown in figure, the S2 obtains the storage location in the Command alias indexed file, according to the storage location, establishes and uses In the index list for inquiring the Command alias, comprising:
S201, the Command alias is ranked up according to letter composition, the Command alias after assigning sequence is to contract Characteristic symbol is write, the Command alias is written to the different storage locations of index file according to the abbreviation characteristic symbol;
Specifically, obtaining Command alias, the initial of the Command alias is extracted, by the same Command alias for referring to initial It is clustered, forms several Command alias groups, and the Command alias group is numbered with the initial;Obtain the life The Command alias for having non-letter in alias group is enabled, assigns the Command alias group according to the quantity of the non-alphabetical alias with spy Levy key assignments;The initial and the feature key assignments for splicing the Command alias group obtain the storage location of Command alias.
S202, the location name for obtaining the storage location, extract the characteristic identifier in the location name, according to institute State the root that characteristic identifier establishes the index list;
Wherein, the characteristic identifier refers to that non-alphabetic characters, position initial etc. have the project of special identifier, or It is directly Command alias.
S203, last letter and institute in the directory name in preset subdirectory are inquired according to the initial of the root The root is connect by the consistent subdirectory title of initial for stating root with the preset subdirectory;
Specifically, may be constructed an index list tree-model, at this time root and subdirectory when establishing multistage catalogue It obtains being the level-one subtree in index list tree after connection.
S204, the initial for obtaining the preset subdirectory, inquire the tail in the directory name in preset master catalogue The alphabetical and consistent master catalogue title of subdirectory initial, by the preset subdirectory and the preset master catalogue The index list of the Command alias is formed after connection.
The present embodiment, effectively creation index list, consequently facilitating the storage location to Command alias carries out effective query.
Fig. 4 is the inquiry acquisition process schematic diagram in a kind of order querying method of the application in one embodiment, such as Shown in figure, the S3 assigns the subdirectories at different levels in the index list with different identifiers, receives command code inquiry and ask Information is sought, according to the corresponding relationship of the command code solicited message and the identifier, the command code inquiry is obtained and asks Seek the index list of the corresponding Command alias of information, comprising:
S301, the historical data for obtaining the title forms and frequency of use of subdirectory at different levels in the index list, with institute It states the characteristic character in title forms and splices the primary identifier and institute using frequency of use as weight identifier for primary identifier State the dirid that weight identifier constitutes subdirectories at different levels;
Specifically, it is not number or alphabetical character in title that the characteristic character in title forms, which refers to, by title It is led after position splicing after all these characteristic characters extract in composition according to characteristic character in title forms Identifier.
S302, command code inquiry request information is received, the code obtained in the command code inquiry request information is special Character is levied, after code characteristic character is compared with the dirid, obtains the command code inquiry request information Corresponding Command alias index list.
Wherein, code characteristic character refers to the command code necessary character when being executed, for example, hash function Hash () In () in variable be just characterized character, if there is no (), do not know that the independent variable of hash function is, can not execute The code.Code characteristic character and catalogue reference symbol are compared, and can be carry out similarity-rough set, i.e. the similarity of the two is greater than Similarity threshold then obtains the corresponding dirid of code characteristic character, enables code according to dirid is available The corresponding Command alias index list of inquiry request information.
The present embodiment, by effectively being analyzed order inquiry request information, can be quickly found out with needed for user The corresponding Command alias of command code.
In one embodiment, the bebinning character and final character for obtaining command code, according to the bebinning character Position and the final character position, extract the command code, comprising:
Preset command list (CLIST) is obtained, the bebinning character and final character of each command code are extracted;
The information that user inputs, is divided by the expected length of field for obtaining the command code according to the expected length Several sub-information sections;
Wherein, it is contemplated that length is obtained according to after the historical data of command code statistics, for different types of order Code can set different expection length.
The bebinning character and final character of the sub-information section are obtained, if the bebinning character of the sub-information section is the life It enables the bebinning character of code and the final character of the sub-information section is the final character of the command code, then the sub-information Section is the command code;
If the bebinning character or final character of the sub-information section are not bebinning character or the end of the command code Only character then extends the sub-information section to the one end for not being the bebinning character or the final character, after extending Bebinning character or final character be the bebinning character or the final character, obtain the command code.
Wherein, it needs to carry out character one by one when extending to extend.
The present embodiment obtains required command code by the way that the content extracted in command list (CLIST) is carried out effectively analysis.
In one embodiment, described to obtain the subcommand for including in the command code, with the lead-in of each subcommand Symbol is used as the characteristic character, assigns the subcommand according to the attribute of the subcommand with label, splices the label and institute It states characteristic character and forms the Command alias, comprising:
Preset command list (CLIST) is obtained, is extracted in the command code according to the command list (CLIST) from the command code All subcommands;
Specifically, when carrying out subcommand extraction, can using SQL query language to the command list (CLIST) carry out line by line or Person inquires by column.
The location information in the command list (CLIST) for obtaining each subcommand is assigned the subcommand and is marked with position Number;
The Command alias is formed after splicing the characteristic character and the location label.
For example, position of the forward subcommand in command list (CLIST) is the column of the third line the 5th, then location label is " 35 "; Its characteristic character is " f ", then Command alias is " f35 ".
The present embodiment effectively establishes Command alias, it is therefore prevented that multiple command codes may use asking for same Command alias Topic.
In one embodiment, the reception command code inquiry request information, obtains the command code inquiry request Code characteristic character in information after being compared code characteristic character with the dirid, obtains the order generation The corresponding Command alias index list of code inquiry request information, comprising:
Command code inquiry request information is received, the command code inquiry request information is long according to preset paragraph Degree, is divided into several sub- paragraphs;
Wherein, preset paragraph length is obtained according to the historical data of all previous command code inquiry, and can basis Actual conditions are modified.
The command code characteristic character in the sub- paragraph is extracted, by the command code characteristic character and the catalogue mark Know symbol and carry out similarity system design, if similarity is greater than similar threshold value, the command code characteristic character and the catalogue are identified Symbol corresponds to;Otherwise, it does not correspond to;
Specifically, phase knowledge and magnanimity algorithm can be used when carrying out similarity-rough set, such as in cosine similarity algorithm, Europe are several Distance algorithm etc., when use, can carry out the calculating of similarity using a kind of algorithm, can also carry out phase using many algorithms It is averaged after calculating like degree, is then compared again with similar threshold value.
Summarize obtain after the corresponding dirid of command code characteristic character in all sub- paragraphs it is described The corresponding Command alias index list of command code inquiry request information.
The present embodiment can effectively obtain the corresponding Command alias of command code inquiry request by similarity system design.
In one embodiment it is proposed that a kind of order inquiry unit, as shown in figure 5, including following module:
Alias creation module 51 is set as obtaining command code, the characteristic character in the command code is extracted, according to institute State characteristic character building Command alias;
Catalogue establishes module 52, is set as obtaining the storage location in the Command alias indexed file, according to described Storage location establishes the index list for inquiring the Command alias;
Inquiry obtains module 53, is set as assigning the subdirectories at different levels in the index list with different identifiers, connects It receives command code inquiry request information and institute is obtained according to the corresponding relationship of the command code solicited message and the identifier State the index list of the corresponding Command alias of command code inquiry request information.
In one embodiment it is proposed that a kind of computer equipment, the computer equipment includes memory and processor, Computer-readable commands are stored in memory, when computer-readable commands are executed by processor, so that processor execution is above-mentioned The step of order querying method in each embodiment.
In one embodiment it is proposed that a kind of storage medium for being stored with computer-readable commands, this is computer-readable When order is executed by one or more processors, so that one or more processors execute the order inquiry in the various embodiments described above The step of method.Wherein, the storage medium can be non-volatile memory medium.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can To be completed by program come order relevant hardware, which be can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of the technical characteristic in example to be all described, as long as however, lance is not present in the combination of these technical characteristics Shield all should be considered as described in this specification.
The some exemplary embodiments of the application above described embodiment only expresses, wherein describe it is more specific and detailed, But it cannot be understood as the limitations to the application the scope of the patents.It should be pointed out that for the ordinary skill of this field For personnel, without departing from the concept of this application, various modifications and improvements can be made, these belong to the application Protection scope.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of order querying method characterized by comprising
Command code is obtained, the characteristic character in the command code is extracted, Command alias is constructed according to the characteristic character;
The storage location in the Command alias indexed file is obtained, according to the storage location, is established described for inquiring The index list of Command alias;
The subdirectories at different levels in the index list are assigned with different identifiers, receive command code inquiry request information, root According to the corresponding relationship of the command code solicited message and the identifier, it is corresponding to obtain the command code inquiry request information Command alias index list.
2. order querying method according to claim 1, which is characterized in that the acquisition command code extracts the life The characteristic character in code is enabled, Command alias is constructed according to the characteristic character, comprising:
The bebinning character and final character for obtaining command code, according to the position of the position of the bebinning character and the final character It sets, extracts the command code;
The subcommand for including in the command code is obtained, using the initial character of each subcommand as the characteristic character, according to The attribute of the subcommand assigns the subcommand with label, splices the label and the characteristic character forms the order not Name.
3. order querying method according to claim 1, which is characterized in that described to obtain the Command alias in index text Storage location in part establishes the index list for inquiring the Command alias according to the storage location, comprising:
The Command alias is ranked up according to letter composition, the Command alias after assigning sequence is with character symbol of abridging Number, the Command alias is written to the different storage locations of index file according to the abbreviation characteristic symbol;
The location name for obtaining the storage location extracts the characteristic identifier in the location name, according to the feature mark Know the root that symbol establishes the index list;
The last letter and the root in the directory name in preset subdirectory are inquired according to the initial of the root The consistent subdirectory title of initial, the root is connect with the preset subdirectory;
The initial for obtaining the preset subdirectory, inquire last letter in the directory name in preset master catalogue with it is described The consistent master catalogue title of the initial of subdirectory, forms after the preset subdirectory is connect with the preset master catalogue The index list of the Command alias.
4. order querying method according to claim 1, which is characterized in that at different levels in the imparting index list Subdirectory receives command code inquiry request information with different identifiers, according to the command code solicited message with it is described The corresponding relationship of identifier obtains the index list of the corresponding Command alias of the command code inquiry request information, comprising:
The historical data of the title forms and frequency of use of subdirectory at different levels in the index list is obtained, with the title forms In characteristic character be primary identifier, using frequency of use as weight identifier, splice the primary identifier and the weight and identify Symbol constitutes the dirid of subdirectories at different levels;
Command code inquiry request information is received, the code characteristic character in the command code inquiry request information is obtained, it will After code characteristic character is compared with the dirid, the corresponding order of the command code inquiry request information is obtained Alias index list.
5. order querying method according to claim 2, which is characterized in that it is described obtain command code bebinning character and Final character extracts the command code according to the position of the position of the bebinning character and the final character, comprising:
Preset command list (CLIST) is obtained, the bebinning character and final character of each command code are extracted;
The information that user inputs is divided into several by the expected length of field for obtaining the command code according to the expected length Sub-information section;
The bebinning character and final character of the sub-information section are obtained, if the bebinning character of the sub-information section is the order generation The bebinning character of code and the final character of the sub-information section are the final character of the command code, then the sub-information section is The command code;
If the bebinning character or final character of the sub-information section are not the bebinning character or termination word of the command code Symbol then extends the sub-information section to the one end for not being the bebinning character or the final character, rising after extending Beginning character or final character are the bebinning character or the final character, obtain the command code.
6. order querying method according to claim 2, which is characterized in that include in the acquisition command code Subcommand assigns the sub- life according to the attribute of the subcommand using the initial character of each subcommand as the characteristic character It enables with label, splices the label and the characteristic character forms the Command alias, comprising:
Preset command list (CLIST) is obtained, according to the command list (CLIST) from the institute extracted in the command code in the command code There is subcommand;
The location information in the command list (CLIST) for obtaining each subcommand assigns the subcommand with location label;
The Command alias is formed after splicing the characteristic character and the location label.
7. order querying method according to claim 4, which is characterized in that the reception command code inquiry request letter Breath, obtains the code characteristic character in the command code inquiry request information, and code characteristic character and the catalogue are identified After symbol is compared, the corresponding Command alias index list of the command code inquiry request information is obtained, comprising:
Command code inquiry request information is received, by the command code inquiry request information according to preset paragraph length, is divided It is cut into several sub- paragraphs;
The command code characteristic character in the sub- paragraph is extracted, by the command code characteristic character and the dirid Similarity system design is carried out, if similarity is greater than similar threshold value, the command code characteristic character and the dirid pair It answers;Otherwise, it does not correspond to;
The order is obtained after summarizing the corresponding dirid of command code characteristic character in all sub- paragraphs The corresponding Command alias index list of symbol lookup solicited message.
8. a kind of order inquiry unit characterized by comprising
Alias creation module is set as obtaining command code, the characteristic character in the command code is extracted, according to the feature Character constructs Command alias;
Catalogue establishes module, is set as obtaining the storage location in the Command alias indexed file, according to the storage position It sets, establishes the index list for inquiring the Command alias;
Inquiry obtains module, is set as assigning the subdirectories at different levels in the index list with different identifiers, receives order Symbol lookup solicited message obtains the order according to the corresponding relationship of the command code solicited message and the identifier The index list of the corresponding Command alias of symbol lookup solicited message.
9. a kind of computer equipment, including memory and processor, computer-readable commands are stored in the memory, it is described When computer-readable commands are executed by the processor, so that the processor executes such as any one of claims 1 to 7 right It is required that the step of order querying method.
10. a kind of storage medium for being stored with computer-readable commands, the computer-readable commands are handled by one or more When device executes, so that one or more processors execution orders issuer as described in any one of claims 1 to 7 claim The step of method.
CN201910200318.7A 2019-03-16 2019-03-16 Order querying method, device, computer equipment and storage medium Pending CN110083597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910200318.7A CN110083597A (en) 2019-03-16 2019-03-16 Order querying method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910200318.7A CN110083597A (en) 2019-03-16 2019-03-16 Order querying method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110083597A true CN110083597A (en) 2019-08-02

Family

ID=67413186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910200318.7A Pending CN110083597A (en) 2019-03-16 2019-03-16 Order querying method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110083597A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515953A (en) * 2019-08-29 2019-11-29 百度在线网络技术(北京)有限公司 Querying method, device, equipment and the storage medium of data
CN112348140A (en) * 2020-11-27 2021-02-09 杭州安恒信息技术股份有限公司 Bar code information storage method, query method, electronic device and storage medium
CN114334067A (en) * 2022-03-10 2022-04-12 上海柯林布瑞信息技术有限公司 Label processing method and device for clinical data

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167402A (en) * 1998-04-27 2000-12-26 Sun Microsystems, Inc. High performance message store
CN102346765A (en) * 2011-09-16 2012-02-08 大唐移动通信设备有限公司 Method and device for querying memory data
US20140280193A1 (en) * 2013-03-13 2014-09-18 Salesforce.Com, Inc. Systems, methods, and apparatuses for implementing a similar command with a predictive query interface
US20150026189A1 (en) * 2013-07-19 2015-01-22 International Business Machines Corporation Index structure for a relational database table
CN106227821A (en) * 2016-07-21 2016-12-14 杭州华三通信技术有限公司 A kind for the treatment of method and apparatus of order line order
CN108415964A (en) * 2018-02-07 2018-08-17 平安科技(深圳)有限公司 Tables of data querying method, device, terminal device and storage medium
CN109101516A (en) * 2017-11-30 2018-12-28 新华三大数据技术有限公司 A kind of data query method and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167402A (en) * 1998-04-27 2000-12-26 Sun Microsystems, Inc. High performance message store
CN102346765A (en) * 2011-09-16 2012-02-08 大唐移动通信设备有限公司 Method and device for querying memory data
US20140280193A1 (en) * 2013-03-13 2014-09-18 Salesforce.Com, Inc. Systems, methods, and apparatuses for implementing a similar command with a predictive query interface
US20150026189A1 (en) * 2013-07-19 2015-01-22 International Business Machines Corporation Index structure for a relational database table
CN106227821A (en) * 2016-07-21 2016-12-14 杭州华三通信技术有限公司 A kind for the treatment of method and apparatus of order line order
CN109101516A (en) * 2017-11-30 2018-12-28 新华三大数据技术有限公司 A kind of data query method and server
CN108415964A (en) * 2018-02-07 2018-08-17 平安科技(深圳)有限公司 Tables of data querying method, device, terminal device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515953A (en) * 2019-08-29 2019-11-29 百度在线网络技术(北京)有限公司 Querying method, device, equipment and the storage medium of data
CN112348140A (en) * 2020-11-27 2021-02-09 杭州安恒信息技术股份有限公司 Bar code information storage method, query method, electronic device and storage medium
CN114334067A (en) * 2022-03-10 2022-04-12 上海柯林布瑞信息技术有限公司 Label processing method and device for clinical data

Similar Documents

Publication Publication Date Title
US20120117051A1 (en) Multi-modal approach to search query input
US20150121291A1 (en) Input Method Editor
CN110083597A (en) Order querying method, device, computer equipment and storage medium
US8250532B2 (en) Efficient development of configurable software systems in a large software development community
CN103136228A (en) Image search method and image search device
CN106326386B (en) Search result display method and device
CN104866985A (en) Express bill number identification method, device and system
US20160188569A1 (en) Generating a Table of Contents for Unformatted Text
CN107391277B (en) Information processing method and device
CN110162637B (en) Information map construction method, device and equipment
CN104462590A (en) Information searching method and device
CN114610951A (en) Data processing method and device, electronic equipment and readable storage medium
CN114328632A (en) User data analysis method and device based on bitmap and computer equipment
CN112148844B (en) Robot information reply method and device
CN111125332B (en) Method, device, equipment and storage medium for calculating TF-IDF value of word
CN113282209A (en) Electronic book information display method, electronic equipment and computer storage medium
CN102930370A (en) Method and system for processing recruitment information
KR20190090636A (en) Method for automatically editing pattern of document
CN116775854A (en) Label display method, device, computer equipment and storage medium
CN108920610B (en) Novel indexing method and device
CN107908724B (en) Data model matching method, device, equipment and storage medium
US9258258B2 (en) Implementing injection of formal numerical message identifiers in cloud stacks
CN111339301B (en) Label determining method, label determining device, electronic equipment and computer readable storage medium
CN111291215B (en) Formula generation method and server
US20160364500A1 (en) Synthetic Events to Chain Queries Against Structured Data

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240712

AD01 Patent right deemed abandoned