Abstract:
In a method for managing power of host computers using a control computer, the method generates a power management command, groups virtual machines installed in the host computers at a first time if the power management command is a first type, to obtain a first group of the virtual machines. The method further relocates the virtual machines in the host computers based on the first group of the virtual machines, and closes idle host computers. Closed host computers are powered on if the power management command is the second type, all the virtual machines at a second time are grouped, to obtain a second group of the virtual machines. The virtual machines are relocated into each host computer based on the second group of the virtual machines.
Abstract:
A server communicates with at least one client. If the server wants to transmit streaming media to a client, the client sends a package to the server. The package indicates if the client can decode the streaming media. If the client can decode the streaming media, the server decodes the streaming media and outputs the decoded streaming media on a display of the server. The server sends the streaming media to the client. The client decodes the streaming media and outputs the decoded streaming media on a display of the client. If the client cannot decode the streaming media, the server obtains the streaming media on the desktop of the server and compresses the streaming media to a compressed file. The client receives the compressed file from the server, and decompresses the compressed file. The decompressed files are output on the display of the client.
Abstract:
A method for scheduling service applications is applied in a computing device. The method creates a software interface and sets a scheduled time and operation parameters of a service application. The software interface is called and bound to the service application. The service application is added to a scheduling queue. At the scheduled time, the service application is selected from the scheduling queue and executed according to the operation parameters of the service application.
Abstract:
A method for performing security surveillance using a control computer sends an image obtaining request from the control computer to a preset channel of a network video recorder (NVR) or a digital video recorder (DVR), and receives captured images from the preset channel of the NVR or the DVR. The method further detects a specified object in the captured images, and stores/outputs an image area of the specified object in a storage device of the control computer or a terminal device.
Abstract:
A method searches product information in TV programs with product placements using an electronic device. The electronic device encloses presented products of the TV program in a graphic box, and defines keywords related to the presented products. During the TV program broadcasts, the electronic device receives a selection operation on a product displayed on a display device, and uses a search engine to search for related information of the selected product according to keywords. The searched information is displayed on the display device for users to browse.
Abstract:
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.
Abstract:
An electronic document comparison system and method removes cachets and noise from a test electronic document. The system and method further compares each of second minimum blocks with a corresponding first minimum block in a standard electronic document line by line, and obtains the second minimum blocks having different coordinates on each line. Furthermore, the system and method simplifies the obtained second minimum blocks having different coordinates by filtering designated objects, and marks the simplified second minimum blocks in the test electronic document.
Abstract:
A system and method for compressing files obtains a file to be compressed, divides the file into different sections. The system and method further compresses each section with an image compression algorithm or a text compression algorithm according a type of each section, and connects all compressed sections to obtain a compressed file.
Abstract:
An image comparison method compares a reference image with a test image. Each image includes objects and a background. The method generates a skeleton image of the reference image. The skeleton image of the reference image is compared with the test image so as to determine if the reference image have more objects or objects parts than the test image. Similarly, a skeleton image of the test image is generated. The skeleton image of the test image is compared with the reference image so as to determine if the test image have more objects or objects parts than the reference image.
Abstract:
A computer-based method for downloading text content and images in web pages is provided. The method includes downloading a web page as a temporary extensible markup language (XML) file in an application server, and searching the temporary XML file for predetermined information in the temporary XML file. The method further includes searching the temporary XML file for text content in the temporary XML file. Furthermore, the method includes converting a relative path of the image uniform resource locator (URL) to an absolute path by joining the URL of the web page to the front of the relative path of the image URL, and generating a local path for each image in the temporary XML file and storing each image into an application server according to the local path.