Abstract:
A picture data transmission method and device are disclosed in the present invention. The picture data transmission method comprises: recoding a first picture to be transmitted, by a picture data sending terminal, to obtain a second picture, wherein the file size of the second picture is smaller than that of the first picture, and a quality difference between the second picture and the first picture is less than a pre-set threshold; and selecting one of the first picture and the second picture according to quality values of the first picture and the second picture and sending the selected picture to a picture data receiving terminal. According to the present invention, pictures can be recoded to obtain pictures with a small amount of data for data transmission, without affecting the picture quality, thereby saving network resources and reducing storage pressure.
Abstract:
The present disclosure discloses a pull-down gesture processing method, device and system. The method comprises: refreshing the current display interface in response to that a pull-down distance of a pull-down gesture of a user on a touch display screen is greater than a first set distance and smaller than or equal to a second set distance, wherein the second set distance is greater than the first set distance; and exiting a current display interface in response to that the pull-down distance of the pull-down gesture is greater than the second set distance.
Abstract:
The present invention provides a media resource address resolution and acquisition method, system, a server and a client terminal, and relates to the field of multimedia technologies, wherein the resolution method includes: sending an assist resolution request to a client terminal, the assist resolution request carrying reference address information of a media resource on a target website, used for directing the client terminal to acquire webpage information of the media resource from the target website according to the reference address information and return the webpage information; and receiving the webpage information of the media resource returned by the client terminal, and resolving the webpage information of the media resource to obtain a playback address of the media resource. Thus, the capability of the client terminal is utilized to assist in acquiring webpage information of a media resource required by address resolution, and the success rate of the address resolution is improved.
Abstract:
Methods and apparatus for compressing webpage text are provided. According to a webpage-opening request of a mobile terminal browser, a current language environment of the terminal is obtained. According to the language environment, a character container corresponding to the language environment is initialized. Requested webpage data are received. The received webpage data are parsed. The webpage data are merged and stored using the corresponding character container. During the initializing of the corresponding character container according to the language environment, it is determined whether the language environment belongs to Latin languages. When the language environment belongs to Latin languages, the character container is initialized to store utf-8 encoded data. Otherwise, the character container is initialized to store utf-16 encoded data. The present disclosure can intelligently determine a storage method according to the language environment, optimize and adapt stored content, and effectively reduce the browser memory occupied by the webpage data.
Abstract:
A method is provided for extracting page information. The method includes obtaining to-be-processed source code of a webpage; based on a preset filtering characteristic string and a preset tag matching mode, extracting target information from the source code; and generating page information in a specified format based on the extracted target information.
Abstract:
A method for software update management is described. The method comprises: comparing sub-files of a plurality of variants of a software program to generate difference information including a list of uncommon sub-files among the plurality of variants; generating one or more increment files based on the difference information and files of a target version of the software program; and transmitting the one or more increment files to a device, wherein the transmission enables the device to merge the one or more increment files with files of one of the plurality of variants to generate files of the target version of the software program.
Abstract:
Methods and apparatuses are provided for displaying a browser navigation page. The disclosed methods and apparatuses may generate a browser navigation page that have one or more icons displayed with preset areas at irregular positions in the browser navigation page. The disclosed methods and apparatuses may generate a browser navigation page in which the areas of the icons may be adjusted according to click counts of the icons.
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.
Abstract:
The present invention provides a method, an apparatus and a storage medium for processing an HTML5 Canvas application, said method comprising: in the first thread: CPU executes codes of a graphic drawing application to draw each frame of canvas, when it is detected that rendering is needed, all canvas drawing commands of said frame of canvas are cached without executing the corresponding rendering, and when the drawing of said frame of canvas is completed, all the cached canvas drawing commands of said frame of canvas are sent to a second thread; in the second thread, CPU calls GPU to execute all canvas drawing commands of each frame of canvas sent by the first thread, and GPU performs rendering on each frame of canvas according to the canvas drawing commands. The present invention realizes concurrent thread processing by means of caching drawing commands such that JavaScript codes and rendering can be executed simultaneously. As a result, resources of different threads are fully used to greatly increase the response speed of the HTML5 Canvas application and improve the performance of the HTML5 Canvas application.