Method and apparatus for displaying webpage content
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsYizhan Lu, Qing Zhao
Life of this patent
Estimating the term…
Abstract
The disclosure relates to a method for displaying webpage content. The method includes displaying a floating window including a first webpage; receiving a trigger signal corresponding to a target object in the first webpage; acquiring a target webpage address corresponding to the target object; determining a target application program corresponding to the target webpage address; calling the target application program corresponding to the target webpage address; and displaying webpage content corresponding to the target webpage address through the target application program.
Claims14
A method for displaying webpage content, comprising:
- displaying a floating window including a first webpage;
- receiving a trigger signal corresponding to a target object in the first webpage;
- acquiring a target webpage address corresponding to the target object;
- determining a target application program corresponding to the target webpage address;
- calling the target application program corresponding to the target webpage address;
- and
- displaying webpage content corresponding to the target webpage address through the target application program;
- wherein, after displaying the floating window including the first webpage, the method further comprises:
- receiving a full-screen display command corresponding to the first webpage;
- calling a first application program corresponding to the first webpage based on the full-screen display command;
- and
- displaying the webpage content of the first webpage through the first application program,
- wherein determining the target application program corresponding to the target webpage address comprises:
- extracting key information from the target webpage address, wherein the key information is associated with an identification of an application program configured to display the webpage content corresponding to the target webpage address;
- acquiring application program identification information corresponding to the key information from a first corresponding relation based on the key information, wherein the first corresponding relation includes corresponding relations between different key information and different application program identification information;
- and
- determining an application program identified by the application program identification information as the target application program.
An apparatus for displaying webpage content, comprising:
- a processor;
- and
- a memory storing instructions executable by the processor,
- wherein the processor is configured to:
- display a floating window including a first webpage;
- receive a trigger signal corresponding to a target object in the first webpage;
- acquire a target webpage address corresponding to the target object;
- determine a target application program corresponding to the target webpage address;
- call the target application program corresponding to the target webpage address;
- and
- display webpage content corresponding to the target webpage address through the target application program;
- wherein, after displaying the floating window including the first webpage, the processor is further configured to:
- receive a full-screen display command corresponding to the first webpage;
- call a first application program corresponding to the first webpage based on the full-screen display command;
- and
- display the webpage content of the first webpage through the first application program,
- wherein, when determining the target application program corresponding to the target webpage address, the processor is further configured to:
- extract key information from the target webpage address, wherein the key information is associated with an identification of an application program configured to display the webpage content corresponding to the target webpage address;
- and
- acquire application program identification information corresponding to the key information from a first corresponding relation based on the key information, wherein the first corresponding relation includes corresponding relations between different key information and different application program identification information;
- and
- determine an application program identified by the application program identification information as the target application program.
A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of a device, cause the device to:
- display a floating window including a first webpage;
- receive a trigger signal corresponding to a target object in the first webpage;
- acquire a target webpage address corresponding to the target object;
- determine a target application program corresponding to the target webpage address;
- call the target application program corresponding to the target webpage address;
- and
- display webpage content corresponding to the target webpage address through the target application program;
- wherein, after displaying the floating window including the first webpage, the instructions further cause the device to:
- receive a full-screen display command corresponding to the first webpage;
- call a first application program corresponding to the first webpage based on the full-screen display command;
- and
- display the webpage content of the first webpage through the first application program,
- wherein, when determining the target application program corresponding to the target webpage address, the instructions further cause the device to:
- extract key information from the target webpage address, wherein the key information is associated with an identification of an application program configured to display the webpage content corresponding to the target webpage address;
- and
- acquire application program identification information corresponding to the key information from a first corresponding relation based on the key information, wherein the first corresponding relation includes corresponding relations between different key information and different application program identification information;
- and
- determine an application program identified by the application program identification information as the target application program.
Dependencies are inferred from the claim text.