Abstract:
A method for reducing memory usage of a browser in a portable terminal device is disclosed. The method comprises mapping an anonymous memory, allocated by an operating system of the portable terminal device, into a process space of a browser; and removing the mapped anonymous memory from the process space of the browser, after an operation of the browser using the anonymous memory is completed.
Abstract:
The present invention provides a cloud-storage-based file processing method and system. The method includes: a cloud server receiving a trigger request from a mobile terminal and the trigger request is a cloud processing task request triggered by the mobile terminal; the cloud server performing a corresponding processing operation according to the trigger request; and, when the trigger request is an uploading request, selecting a file which needs to be uploaded from the cloud server's cloud storage space and transferring the selected file to a target website. According to the present invention, by using the cloud server on behalf of a user to carry out the file processing operations, such as downloading and uploading, it helps the user completing the online file sharing process, prevents the file uploading and downloading processes from being affected by the network access condition and the mobile terminal's hardware quality, and saves the user the data volume of the mobile terminal throughout the process.
Abstract:
The present invention provides an image compression method, comprising: determining non-edge portions of an image to be compressed by performing an image edge detection on the image to be compressed; dividing each of non-edge portions into a plurality of connected domains of pixels according to color similarity of the pixels in the non-edge portion, wherein each of the connected domains of pixels is composed of a pixel selected during the division into the connected domains of pixels and the pixels similar in color to and continuously adjacent to the selected pixel; setting the color of each of the connected domains of pixels to be the color of the selected pixel; merging the colors of a plurality of divided connected domains of pixels according to similarity of the colors of the connected domains of pixels; and compressing the image to be compressed by using the merged colors. According to the method, the number of colors used for image compression can be determined according to the characteristics of the image, thus the file size of the compressed image can be effectively reduced with the display effect thereof kept substantially unchanged.
Abstract:
The present invention provides a streaming media data processing method. The method includes: based on a stream index in streaming media data, separating the streaming media data stream into audio stream data and video stream data and respectively buffering them in an audio stream data queue and a video stream data queue; respectively decoding audio data buffered in the audio stream data queue and video data buffered in the video stream data queue; based on a play callback timestamp of the decoded audio data and a system time of a streaming media playback equipment, determining an audio/video synchronization time; based on a comparison result between a video frame timestamp and a sum of the determined audio/video synchronization time and a video refresh time, processing and displaying each frame in the decoded video stream data according to a predetermined processing method in accordance with the comparison result. The method may avoid the asynchrony between video and audio steams resulted from the asynchrony between audio time and the system time and, at the same time, the synchronization between the video time and the system time when displaying the stream data, which may greatly reduce the repeated video pauses in the video display.
Abstract:
The present invention relates to the field of Web browser technology, particularly to a prereading method and system for a Web browser, the method comprising: submitting, by a Web browser client, a first Web page visiting request to a target server and uploading an individual browsing record characteristic of the first Web page; forming, by a transfer server, a prereading policy according to the received individual browsing record characteristic of the first Web page and the stored at least one swarm browsing record characteristic of the first Web page; acquiring, by the transfer server, a Web page from the target server according to the prereading policy and sending the Web page to the browser client for buffering. The present invention makes it possible to preread Web pages according to individual users' visiting habits and preferences in combination with mass users' visiting history, and find out Web pages that a user is most likely to click through computational analysis of weights and preference coefficients on different page elements of Web pages, thereby realizing more precisely prereading, significantly increasing success rate of preread. Further, pages are downloaded in idle period, which advantageously saves time for users by substantially avoiding waiting.
Abstract:
The present invention relates to the field of Web browser technology, particularly to a prereading method and system for a Web browser, the method comprising: submitting, by a Web browser client, a first Web page visiting request to a target server and uploading an individual browsing record characteristic of the first Web page; forming, by a transfer server, a prereading policy according to the received individual browsing record characteristic of the first Web page and the stored at least one swarm browsing record characteristic of the first Web page; acquiring, by the transfer server, a Web page from the target server according to the prereading policy and sending the Web page to the browser client for buffering. The present invention makes it possible to preread Web pages according to individual users' visiting habits and preferences in combination with mass users' visiting history, and find out Web pages that a user is most likely to click through computational analysis of weights and preference coefficients on different page elements of Web pages, thereby realizing more precisely prereading, significantly increasing success rate of preread. Further, pages are downloaded in idle period, which advantageously saves time for users by substantially avoiding waiting.
Abstract:
The present invention provides an information distribution method based on geographical location information of a mobile terminal. The method includes obtaining current geographical location information of the mobile terminal; based on an acquiring mode used to obtain the current geographical location information, determining a positioning accuracy of the mobile terminal's current geographical location information; based on the determined positioning accuracy, determining a distribution mode used to distribute information to the mobile terminal, wherein the distribution mode includes a location-based distribution mode and the combination mode of location-based distribution and relation-based distribution; and distributing information to the mobile terminal using the determined distribution mode.This method may be used to accurately distribute to the mobile terminal user the information related to the nearby Points of Interest (POIs) within a predetermined distance range from the current geographical location of the mobile terminal or related to the similar POIs having the same type of the current POI of the mobile terminal user, such as coupons, advertisement information, and/or POI characteristic information.
Abstract:
The present invention provides a relay server-based web page pre-reading and integrated browsing method and system. The method includes: based on a page visit request sent from a mobile terminal for page data of a web page having a plurality of sub-pages, requesting the page data of the web page from a network resource server; after receiving the page data of the web page from the network resource server, performing a pre-reading process starting from the received page data of the web page and ending with pre-reading page data of a predetermined levels of sub-pages of the web page from the network resource server. By using the present invention, effective sub-pages can be flexibly obtained and the obtained sub-pages can be merged and rearranged. The web page display can be more flexible, user-friendly, and fast, reducing the user's operating processes and enhancing the user experience when browsing web pages having multiple sub-pages.
Abstract:
A method and device for starting an external application program in a browser are provided. The method comprises: adding a standard HTML label representing a plugin into a webpage of a browser; adding an external application program plugin module corresponding to the label into the external application program; and after the browser receives an event of clicking the label, transmitting the click event to the external application program plugin module added into the external application program by invoking an interface of the external application program, the external application program plugin module of the external application program invoking an application programming interface which is provided by an operating system for starting an application program to start the external application program.
Abstract:
The invention discloses a video rendering method and a video rendering device, said method comprising registering a trigger operation of a video node after parsing it on a webpage, creating a video component corresponding to said target video node and using said video component to render said target video node only upon detection of said trigger operation oriented towards said target video node. The video rendering method disclosed by this invention can create the corresponding video component according to a user's playing demands and prevent the system resource waste arising from the system's automatic allocation of a video component to the video node on the webpage and the lack of system memory and poor user experience incurred thereby.