Abstract:
An intelligent switching method and system for a browser kernel at least including a first browser kernel unsupportive to a first page markup language and a second browser kernel unsupportive to a second page markup language. The method may include: determining which one of the first and the second browser kernels is the currently used browser kernel, determining whether or not a webpage adopts the first page markup language if the currently used browser kernel is the first browser kernel, if so, switching to the second browser kernel for processing, or determining whether or not a webpage adopts the second page markup language if the currently used browser kernel is the second browser kernel, if so, transferring an access via a cloud server or determining, by the cloud server, whether or not to switch to the first browser kernel for processing, otherwise, opening the page using the second browser kernel.
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 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:
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.
Abstract:
The present invention discloses a method and an apparatus for isolating a page cookie. The method includes: when a predetermined login account logs in, assigning an independent cookie storage for the predetermined login account; after a request of creating a page associated with the predetermined login account is acquired, establishing a mapping relation table for storing a mapping relation between a page view identification of the page associated with the predetermined login account and the independent cookie storage; when the page associated with the predetermined login account is loaded, looking up the mapping relation table; and initiating, according to the independent cookie storage corresponding to the page view identification of the page associated with the predetermined login account found in the mapping relation table, a request of loading the page associated with the predetermined login account. In this manner, isolation between the page view of the page associated with the predetermined login account and a cookie of a page being logged into by another account in the same domain name is implemented, thereby improving user experiences.
Abstract:
Provided is an augmented reality-based information acquiring method and apparatus. The method is applied to a mobile terminal, including: determining whether a distance between the mobile terminal and an augmented reality target is shorter than a preset distance according to the position, a moving speed and a moving direction of the mobile terminal; sending acquired current scenario information and augmented reality target information to a server by the mobile terminal, if the distance between the mobile terminal and the augmented reality target is shorter than the preset distance; receiving and using augmented reality to display information of a point of interest related to the augmented reality target sent by the server and the current scenario. The embodiments of the present application can use the augmented reality technology to acquire information of a point of interest related to an augmented reality target in real time.
Abstract:
This application discloses a network attack determination method, a secure network data transmission method, and a corresponding apparatus. In this application, a browser client terminal obtains attack rules formulated by a rule configuration server, and after obtaining feedback information that is returned by a network according to a webpage browsing request, determines, according to a comparison result between the attack rules and the feedback information, whether the webpage browsing request encounters a network attack, thereby resolving a problem in the prior art that a network attack cannot be identified. In addition, after determining that a network attack is encountered, the browser client terminal performs network data transmission in a secure manner, which can avoid impact from the network attack, and improve security of network data transmission.
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:
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.