Patent ID: 9544335
Date: 2017-01-10
CPC Classifications: G06F,H04L

Claim:
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.