×

METHOD AND DEVICE FOR CONTROLLING WEB PAGE TO INVOKE SYSTEM FUNCTION, AND STORAGE MEDIUM THEREOF

  • US 20160182485A1
  • Filed: 07/01/2015
  • Published: 06/23/2016
  • Est. Priority Date: 12/17/2014
  • Status: Abandoned Application
First Claim
Patent Images

1. A method in an intelligent device for controlling a web page to invoke a system function, the method comprising:

  • parsing, by a browser in the intelligent device, a web page for an authorization code in the web page, and a privilege code of a system function requested to be invoked;

    obtaining, by the browser, a system function invoking privilege corresponding to the web page according to the authorization code, wherein the system function invoking privilege comprises a list of privilege codes of system functions allowed to be used by the web page; and

    If the browser determines that the privilege code of the system function requested to be invoked belongs to the list of privilege codes in the system function invoking privilege, then invoking the system function requested to be invoked through an interface function of the corresponding system function to support running of the web page;

    if the browser determines that the privilege code of the system function requested to be invoked does not belong to the list of privilege codes in the system function invoking privilege, prohibiting invoking of the interface function of the system function requested to be invoked.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×