Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Information processing method and electronic device

An information processing method and technology of electronic equipment, applied in the computer field, can solve problems such as poor native experience, and achieve the effect of improving experience effect, solving poor native experience, and improving native experience

Active Publication Date: 2016-09-07
LENOVO (BEIJING) CO LTD
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides an information processing method and an electronic device, which are used to solve the technical problem that the application program inserted into the h5 page has a poor native experience in the prior art, so as to achieve the technical effect of improving the native experience

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
  • Information processing method and electronic device
  • Information processing method and electronic device
  • Information processing method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] Please refer to figure 1 , is an information processing method provided in Embodiment 1 of the present application, applied to the first electronic device, including:

[0061] S101: Send a first message to the jsbridge layer through the static js of the first electronic device, wherein the first message is a response to the first application program interface of the first application program of the first electronic device a message generated by an operation;

[0062] S102: The jsbridge layer sends the first message to a native framework layer in the first electronic device, so as to call a first local function module corresponding to the first operation.

[0063] The information processing method provided by the embodiment of the present application can be applied to the first electronic device, and the first electronic device can specifically be an andriod mobile phone or a tablet computer with an operating system; or a mobile phone or a tablet computer with an ios op...

Embodiment 2

[0093] Please refer to image 3 , the embodiment of the present application also provides an electronic device, including:

[0094] housing 30;

[0095] The sensing device 31 is arranged in the housing 30;

[0096] The processing device 32 is connected to the sensing device 31, and is configured to send a first message to the jsbridge layer through the static js of the electronic device, wherein the first message is a response to the first application of the electronic device A message generated by the first operation of the first application program interface of the program; the jsbridge layer sends the first message to the native framework layer in the electronic device to call the first local corresponding to the first operation functional module.

[0097] Optionally, the processing device 32 is used for:

[0098] Download the page frame of logic service js and html5 from the second electronic device connected to the electronic device;

[0099] The logic service js cal...

Embodiment 3

[0113] Please refer to Figure 4 , the embodiment of the present application also provides an electronic device, including:

[0114] The first sending unit 40 is configured to send a first message to the jsbridge layer through the static js of the electronic device, wherein the first message is a first application program interface in response to a first application program of the electronic device The message generated by the first operation of ;

[0115] The first calling unit 41 is configured to send the first message to a native framework layer in the first electronic device through the jsbridge layer, so as to call a first local function module corresponding to the first operation.

[0116] Optionally, the first sending unit 40 includes:

[0117] The first download module is used to download the page framework of logic service js and html5 from the second electronic device connected to the first electronic device;

[0118] The first calling module is used to call the s...

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 discloses an information processing method and an electronic device. The method comprises the steps of sending a first message to a jsbridge layer through static js of a first electronic device, wherein the first message is a message generated in response to a first operation for a first application interface of a first application of the first electronic device; and sending the first message to a native frame layer in the first electronic device by the jsbridge layer to call a first local function module corresponding to the first operation. Through the technical scheme provided by the method and the electronic device, the technical problem of relatively poor native experience of an application inserted in an h5 page in the prior art is solved.

Description

technical field [0001] The invention relates to the field of computers, in particular to an information processing method and electronic equipment. Background technique [0002] With the upgrading of client development technology, mixed-mode mobile applications have gradually become mainstream. Mixed-mode mobile applications refer to applications between web applications and local applications, which have both the advantages of good user interaction experience of local applications and the advantages of cross-platform development of web applications. [0003] At present, in the development process of inserting h5 pages into mixed-mode mobile applications, either all the logic of page presentation and interaction is implemented in the js layer, and the implementation logic is all placed on the remote server, resulting in the response of the application inserted into the h5 page The speed is slow; or the performance advantages of the native layer are not used, such as: only t...

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): G06F17/30
CPCG06F16/955G06F16/957
Inventor 何杰张爱国
Owner LENOVO (BEIJING) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products