发明名称 Method and system for local calling via webpage
摘要 The present disclosure provides a method for local calling via a webpage, including that: a local calling operation instruction is serialized, the serialized local calling operation instruction is filled into a webpage as a hyperlink character string, and the webpage is sent to a server or a local operating system; and a browser acquires the webpage from the local operating system or the server according to a model of the operating system local to the browser local to the browser, de-serializes the hyperlink character string in the webpage, and requests, according to an instantiated local calling operation instruction obtained through the de-serialization, the operating system local to the browser to execute a local calling operation indicated by the instantiated local calling operation instruction. The present disclosure further provides a system for local calling via a webpage. With the method and system provided in the present disclosure, a new local calling function may be added without updating any browser code, thereby improving universality of local calling.
申请公布号 US9544335(B2) 申请公布日期 2017.01.10
申请号 US201214355224 申请日期 2012.02.27
申请人 ZTE Corporation 发明人 Chen Lu;Zhong Sheng
分类号 H04L29/06;G06F9/54;G06F17/22;G06F9/48;G06F9/44 主分类号 H04L29/06
代理机构 Brundidge & Stanger, P.C. 代理人 Brundidge & Stanger, P.C.
主权项 1. A method for local calling via a webpage, comprising: generating a local calling operation instruction according to an operating system; serializing the local calling operation instruction, filling the serialized local calling operation instruction into a webpage as a hyperlink character string, and sending the webpage to a server or a local operating system; and acquiring, by a browser, the webpage from the local operating system or the server according to a model of an operating system local to the browser, de-serializing, by the browser, the hyperlink character string in the webpage, and requesting, according to an instantiated local calling operation instruction obtained through the de-serialization, the operating system local to the browser to execute a local calling operation indicated by the instantiated local calling operation instruction, wherein the step of serializing the local calling operation instruction is: acquiring a character string composed of a group of keywords and a protocol identifier, wherein the group of keywords comprises a command word pair and one or more parameter word pairs; the command word pair comprises a command word and a value of the command word; each of the one or more parameter word pairs comprises a parameter word and a value of the parameter word; the group of keywords is separated from the protocol identifier by a first separator; each two of the command word pair and the one or more parameter word pairs comprised in the group of keywords are separated by a second separator; the command word and the value of the command word, as well as a parameter word and the value of the parameter word, are separated by a third separator; and the value of the command word corresponds to a local calling operation instruction, the value of a parameter word is used for storing a parameter of a local calling operation indicated by a command word corresponding to the parameter word.
地址 Shenzhen, Guangdong CN