摘要:
A method and apparatus for managing routes. A route manager receives a route to a destination, the route having been discovered by a routing protocol application. The route manager maintains the route in a route table and distributes the route to a second routing protocol application. In addition, the route manager maintains a subset of the routes in a second route table and distributes routes to a subsidiary application not having access to the routing protocol applications. The route manager recovers routes when a routing protocol application becomes inoperable by setting a timer when the routing protocol application becomes inoperable and purging routes when the route manager cannot confirm the routes upon expiration of the timer.
摘要:
The disclosure presents methods and apparatus that can be used to generate a software source code according to a user-provided specification based on example snippets searched from the Internet or a local database, comprising: providing a user-defined specification of the target program including input data, output data, a function or algorithm, and other parameters; decomposing the function into sub-functions if necessary; searching a list of related programming example codes and snippets of each sub-function; analyzing and ranking the search results; selecting and extracting the best snippet source codes; refactoring and reformatting the codes; gluing and testing the generated codes. The final source codes are supposed to be compiled successfully and implement the desired function and meet the performance requirements. Even the final compilation success is not guaranteed the described method and apparatus can help on a best-effort basis and reduce a great effort in programming.
摘要:
The disclosure presents methods and apparatus that can be used to generate a software source code according to a user-provided specification based on example snippets searched from the Internet or a local database, comprising: providing a user-defined specification of the target program including input data, output data, a function or algorithm, and other parameters; decomposing the function into sub-functions if necessary; searching a list of related programming example codes and snippets of each sub-function; analyzing and ranking the search results; selecting and extracting the best snippet source codes; refactoring and reformatting the codes; gluing and testing the generated codes. The final source codes are supposed to be compiled successfully and implement the desired function and meet the performance requirements. Even the final compilation success is not guaranteed the described method and apparatus can help on a best-effort basis and reduce a great effort in programming.
摘要:
A method and apparatus is provided for fast route table updates. A route table entry is identified, and a subsequent route table entry is located using the identified route table entry. All subsequent route table entries are identified using the previous route table entry until all route table entries associated with a predetermined characteristic are identified. The identified entries may be purged or transferred from one route table to another. The predetermined characteristic may be that the route table entries where discovered by a common routing protocol. Route table entries associated with a common routing protocol that is inoperative for a predetermined period are purged.
摘要:
A computer method, apparatus and system is presented to extract field-specific structured data from the World Wide Web using a sample. The method includes: collecting a sample automatically or by a user supervision that records how the user visits the data; analyzing the sample using a field-specific knowledge base to extract a pattern of the sample; extracting data which crawls webpages using a path, and extracting data that matches the pattern; integrating the data by removing duplicates, adding a missing value, and converting obtained data into a unified format so that the data from a different website can be integrated as one data set. The system can extract Web data with a similar structure from multiple websites automatically using a sample.