摘要:
A method for encoding images receives a specified type of an image request from a terminal device, obtains encoded images from a storage device of the server directly upon the condition that the image request has been processed. The method further adds a task into a coder of the server to process the image request upon the condition that the image request has not been processed, encodes captured images by the coder according to the image request, stores the encoded images and the corresponding specified type of the image request in the storage device, and outputs the encoded images to the terminal device.
摘要:
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 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.
摘要:
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.
摘要:
A method embeds product information in videos with product placements using an electronic device. The electronic device converts product information of products into advertisement information, and saves the advertisement information in an ad database. The advertisement information includes product images and advertisements of the products. The electronic device exports the advertisement of a presented product displayed on a display device from the ad database according to the product images during the video broadcasts. The advertisement of the presented product is displayed on the display device.
摘要:
A method embeds product information in TV programs with product placements using an electronic device. The electronic device defines keywords and advertising information of products presented on a TV program, and further defines appearance times of the keywords according to product presented times. During the TV program broadcasts, the electronic device currently displays the keywords and the presented products on a display device according to the appearance times, receives a selection operation on a product presented on the display device, exports the advertising information of the selected product. The advertising information is displayed on the display device.
摘要:
An electronic device and method of dynamically correcting audio output of audio devices creates a coordinate system in relation to cameras and audio devices, and obtains coordinates of each camera and each audio device. The cameras detects a user. A distance between the user and each audio devices is computed. One audio device is considered as a first audio device. A ratio of audio intensities and a difference of audio transmitting time between the first audio device and each of the other audio devices are computed. Delaying the audio output starting time of each of the other audio devices according to the differences and adjust the audio intensity of each of the other audio devices according to the ratios.
摘要:
In a desktop sharing method implemented by a server, the server communicates with a sharing provider through a first network and one or more sharing receivers through a second network. A desktop sharing request to share the desktop of the sharing provider with a sharing receiver is received from the sharing provider. The desktop sharing request is sent to the sharing receiver, and a response message is received from the sharing receiver. A bandwidth of the second network between the server and the sharing receiver is detected if the sharing receiver accepts the desktop sharing request, and a video of the desktop of the sharing provider composed of base layer video streams and additional layer video streams are received in real-time. The base layer video streams and the additional layer video streams of the video are selectively transmitted to the sharing receiver according to the bandwidth.
摘要:
A method searches product information in TV programs with product placements using an electronic device. The electronic device defines keywords and appearance times of products presented on a TV program. During the TV program broadcasts, the electronic device displays the keywords of the presented products on a display device according to the predetermined appearance times. A product is selected from the presented products after any of the keyword presented on the TV program is tapped. The electronic device uses a search engine to search for related information of the selected product according to the tapped keyword, and displays the searched information on the display device for users to browse.