摘要:
A system for digitally certifying and checking data of a project is provided. The system includes a web server (10), an application (20) server, and a validation server (30). The web server is configured for visiting and operating the application server. The application server is configured for uploading data related to the project, configuring a certifier group, integrating the data into a file package, guiding and helping users including operators, certifiers and project managers to digitally sign the file package, sending the file package digitally signed by each responsible party to the validation server, and receiving validation results from the validation server. The validation server is configured for validating various digital signatures of the signed file package to determine whether each of the digital signatures is valid. A related method is also provided.
摘要:
A method for merging separated pixel blocks into an integral image of an object is provided. The method performs binary image processing on an obtained image to obtain a binary image, finds pixel blocks in the binary image whose area is greater than a first preset value, and stores a position and a size of each found pixel block in a data structure. The method further merges two pixel blocks in the data structure if a distance between the two pixel blocks is less than a second preset value, so as to generate the integral image of the object.
摘要:
A method for parsing a text file defines a tree pattern and a plurality of character string patterns. A tree structure corresponding to the text file is determined according to the tree pattern, and the desired data are retrieved from the text file according to the character string patterns. The retrieved desired data are output into a storage system.
摘要:
A system for digitally signing electronic documents is disclosed. The system includes a mobile device, an application server and a database, the mobile device includes a requesting module and a digest encrypting module, the application server includes an obtaining module, a digest generating module and a merging module. The requesting module is configured for sending a request for a digital signature of an electronic document to the application server; the obtaining module is configured for obtaining the electronic document from the database; the digest generating module is configured for generating a digest of the electronic document, and sending the digest to the mobile device; the digest encrypting module is configured for encrypting the digest, generating an encrypted value, and sending the encrypted value to the application server; the merging module is configured for merging the encrypted value and the electronic document. A related computer-based method is also disclosed.
摘要:
A method for downloading HTML formatted Web pages is provided. The method includes the steps of writing a URL of a Web page to be downloaded to an XQuery script; analyzing the XQuery script to obtain the URL of the HTML Web page and saving the downloaded Web page in a database as the local Web page; analyzing the contents of the local Web page to obtain target contents; converting the relative URLs of all image files to the absolute URLs; downloading all the image files according to the absolute URLs; replacing the absolute URLs of the image files with an local image file path; converting the relative URLs of the embedded links to the absolute URLs of the embedded links; saving all the converted absolute URLs in the database, creating identifiers; replacing the converted absolute URLs of the embedded links with an embedded link local path. A related system is also disclosed.
摘要:
A computer-based method for filtering XML files is disclosed. The method includes: configuring XQuery scripts of each of the tasks and a scheduled time to perform each of the tasks, and storing the XQuery scripts in a database; scheduling the tasks in a scheduling server; sending a task request by the scheduling server to a processing server when it is time to perform the task; invoking the XQuery scripts of each of the tasks from the database when the processing server receives the task request; processing each of the XML files, and obtaining a XQuery result; merging the XQuery result of the XQuery scripts of each of the tasks, and storing a merged result of each of the tasks in the database. A related system is also disclosed.
摘要:
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 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 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.
摘要:
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.