Method and apparatus for communication between webpage and operation system

An operating system and webpage technology, applied in the electronic field, can solve problems such as the failure of communication between the webpage and the operating system, and the inability of the webpage to communicate with the operating system

Pending Publication Date: 2018-09-04
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on the above-mentioned processing method of communication between the webpage and the operating system, if the corresponding interface is not set in the browser used by the user, the webpage will not be able to communicate with the operating system, thus causing the communication between the webpage and the operating system to fail.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for communication between webpage and operation system
  • Method and apparatus for communication between webpage and operation system
  • Method and apparatus for communication between webpage and operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0110] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0111] An exemplary embodiment of the present disclosure provides a method for communicating between a webpage and an operating system. The method can be used in a terminal, where the terminal can be any terminal that has the function of displaying a webpage, for example, it can be installed with a browser and / or or other terminals such as mobile phones, tablets, and personal computers...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and an apparatus for communication between a webpage and an operation system, and belongs to the technical field of electronics. The method comprises the steps of obtaining a first message of performing communication with a second object by a first object, and editing the first message into a second message in a preset format identifiable for the second object; sending the second message to a clipboard for enabling the second object to obtain the second message through the clipboard, and querying the message in the clipboard; and identifying the message in theclipboard by the second object, and if the second message is identified, processing the second message, wherein the second message is communication information in the preset format identifiable for the second object, sent to the clipboard by the first object, the first object is different from the second object, and the first object and the second object are webpages or operation systems. By adopting the method and the apparatus, the failure of the communication between the webpage and the operation system can be prevented.

Description

technical field [0001] The present disclosure relates to the field of electronic technology, in particular to a method and device for communicating between a webpage and an operating system. Background technique [0002] With the development of electronic technology and touch screen technology, various terminals have been widely used, and there are more and more types of application programs on the corresponding terminals, and more and more functions. For example, a browser is a common application. [0003] The user can browse various webpages through the browser, and in some cases (for example, the webpage can realize a certain function by calling a certain system application of the system), the webpage can communicate with the operating system. Currently, a webpage can communicate with an operating system by calling a corresponding interface in a browser. [0004] In the process of realizing the present disclosure, the inventors found at least the following problems: ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/54
CPCG06F9/543G06F9/546G06F9/545G06F3/0483G06F9/544
Inventor陈顺董红光董俊杰
OwnerBEIJING XIAOMI MOBILE SOFTWARE CO LTD