Method and device for starting external application program in browser

    公开(公告)号:US10817350B2

    公开(公告)日:2020-10-27

    申请号:US14653179

    申请日:2013-11-01

    摘要: 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.

    Method and device for video rendering

    公开(公告)号:US10691390B2

    公开(公告)日:2020-06-23

    申请号:US14975018

    申请日:2015-12-18

    发明人: Jie Liang Chuang Zhao

    摘要: 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.

    Method and apparatus for isolating page cookie

    公开(公告)号:US10681146B2

    公开(公告)日:2020-06-09

    申请号:US14977807

    申请日:2015-12-22

    发明人: Xiangyang Zhao

    摘要: 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.

    Augmented reality-based information acquiring method and apparatus

    公开(公告)号:US10650598B2

    公开(公告)日:2020-05-12

    申请号:US15988196

    申请日:2018-05-24

    发明人: Weizhong Jiang

    IPC分类号: G06T19/00 G01S19/42 H04W4/02

    摘要: 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.

    Network attack determination method, secure network data transmission method, and corresponding apparatus

    公开(公告)号:US10574673B2

    公开(公告)日:2020-02-25

    申请号:US15505835

    申请日:2016-04-08

    发明人: Yufei Lin

    IPC分类号: H04L29/06

    摘要: 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.

    Method, apparatus and storage medium for processing HTML5 canvas application

    公开(公告)号:US10346018B2

    公开(公告)日:2019-07-09

    申请号:US14980590

    申请日:2015-12-28

    发明人: Xuxin Yi

    摘要: 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.

    APPARATUS, HYBRID APPARATUS, AND METHOD FOR NETWORK RESOURCE ACCESS

    公开(公告)号:US20190058667A1

    公开(公告)日:2019-02-21

    申请号:US16085147

    申请日:2017-04-24

    发明人: Binghui CHEN

    IPC分类号: H04L12/911 G06F9/54 G06F9/451

    摘要: The present invention discloses a network resource access apparatus, a hybrid apparatus, and a method. The network resource access apparatus includes a native application programming interface (API) unit, configured to provide a native API having a feature of accessing to the operating system; a script parsing unit, configured to parse the obtained service function script that is written in a specified script language to obtain the content of the service function described by the service function script; a page rendering unit, configured to, according to the content of the service function, call the native API provided by the native API unit to render and generate an interactive page constituted by a plurality of native UI components. According to the present invention, the time and the labor costs for developing service functions may be reduced.

    Webpage browsing method, webapp framework, method and device for executing javascript and mobile terminal

    公开(公告)号:US10185704B2

    公开(公告)日:2019-01-22

    申请号:US14368753

    申请日:2013-04-27

    发明人: Jie Liang Miaokui Ma

    摘要: The disclosure provides a method for executing extended JavaScript (JS) by using an extended JS interface. The method includes the following steps: inquiring an extension program whether to execute the extended JS at a predetermined occasion when a webpage is loaded, wherein the extension program is loaded when a browser is started up; the browser assembles the extended JS interface according to an open application programming interface (API) when determining that the extended JS is needed to be executed; executing the extended JS by using the extended JS interface. According to the disclosure, browsing mode and layout mode of a browser can be changed dynamically according to the requirement for webpage contents in the form of extension programs, accordingly browsing experience of users is improved.