摘要:
A method for performing file search using a control computer receives an initial query expression from a client computer, divides the initial query expression into one or more keywords, determines related terms corresponding to each keyword, merges the keywords and the related terms to obtain an updated query expression, and generates search results according to the updated query expression. The method further calculates relevance scores among a plurality of documents in the search results and the updated query expression, ranks the documents in the search results according to the relevance scores, and displays the documents in the search results with the ranked order.
摘要:
A method for searching related terms first calculates a direct relationship between every two of a plurality of query terms to obtain a direct related matrix, and calculates a related score between every two of the query terms to obtain a related score matrix. The method further calculates an indirect relationship between every two of the query terms according to the direct relationship and the related score, and determines indirect terms of each query term according to the indirect relationship between every two of the query terms.
摘要:
A method for accessing attribute data of virtual machines using a control computer. The method generates a control command for accessing the virtual machines of a host computer, determines a command type of the control command, obtains attribute data of a first type of the virtual machines from a database of the control computer if the command type is a first type and the control command is a data query command. The method transmits the control command to a virtual machine manager of the host computer if the command type is a second type, and receives attribute data of a second type of the virtual machines returned from the virtual machine manager of the host computer.
摘要:
A method for filtering noise in an image filters noise pixels in a discrepant block between a current image and a background image firstly, and further filter each small block whose area is less than a preset value from the discrepant block. The method further calculates a total area of each big block whose area is greater than or equal to the preset value from the discrepant block, and adds the current image to a background list of the current image if the total area is less than another preset value.
摘要:
A method for seeking a file position of a file first seeks an estimated file position corresponding to a specified time point in the file, and adjusts the estimated file position according to a preset estimation formula. The method further determines the estimated file position is an accurate file position of the specified time point in the file until a difference between the estimated file position and the specified time point is less than a preset value.
摘要:
An exemplary method for processing a workflow form is provided. The method includes: connecting a workflow engine and an business sub-system; receiving a data form processing request from a client; obtaining workflow information from the workflow engine according to the data form processing request; obtaining business information from the business sub-system according to the data form processing request; establishing a worklist for storing items according to the workflow information, business information, and personal data of the client; selecting an appropriate data form and generating a workflow form by storing an open item in the data form; and processing the workflow form by signing the workflow form or rejecting the workflow form. A related system is also provided.
摘要:
A method for filtering contents of a Web page is disclosed. The method includes the steps of downloading and storing the Web page to be selected in the database; converting the Web page from the HTML to the XML; detecting whether the XML Web page contains the elements corresponding to the element selection options; selecting the elements of the XML Web page according to the element selection options; determining whether the content of each of the filtered Web page elements needs to be audited; determining whether the contents of the filtered Web page elements complies with corresponding audited string if the content of each of the filtered Web page elements needs to be audited; storing the filtered Web page in the database if the contents of the filtered Web page elements complies with the audited string. A related system is also disclosed.
摘要:
A method for storing node information of a Huffman tree. The method creates an index of each node in the Huffman tree using a breadth first search (BFS) algorithm. The method further reads each node of the Huffman tree beginning from a root node according to a sequence of the index of each node, and stores node information of each node into an array of the Huffman tree.
摘要:
A method for protecting electronic keys sets a plurality of hash functions, divides an electronic key into a plurality of key segments, creates a data storage structure for each of the key segments, and calculates a hash address for each of the key segments of the electronic key using each of the hash functions. The method further obtains a plurality of hash addresses of the plurality of key segments corresponding to the plurality of hash functions, stores information of the data storage structure of each key segment in a hash table according to the hash address of the key segment corresponding to one of the hash functions.
摘要:
An interpersonal relationships analysis method and system obtains an album comprising a plurality of photos, and recognize faces in each of the plurality of photos. The method and system further selects one of the recognized faces, matches the selected face with portraits stored in a person management database, so as to obtain basic information of a person with the selected face from the person management database. The method and system then analyzes an interpersonal relationship of the person with the selected face according to the album, and shows the interpersonal relationship of the person with the selected face.