Unlock instant, AI-driven research and patent intelligence for your innovation.

Processing method of processing type Handler of terminal equipment and electronic equipment

A technology of terminal equipment and processing method, which is applied in software design, software maintenance/management, software deployment, etc.

Active Publication Date: 2020-07-07
BEIJING MICROLIVE VISION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor of the present application found in the specific implementation process that at present, the processing class Handler registered through JSBridge is used to realize the event transfer between Webview and the corresponding client. However, the processing class Handler registered through JSBridge is currently passed through Different types of the same interface are separated, and these different types may be grouped into one cluster, resulting in problems such as a large number of parsing layers and difficult separation of permissions in practical applications.

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
  • Processing method of processing type Handler of terminal equipment and electronic equipment
  • Processing method of processing type Handler of terminal equipment and electronic equipment
  • Processing method of processing type Handler of terminal equipment and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] The embodiment of the present application provides a processing method of a terminal device processing type Handler, such as figure 1 Shown, including:

[0054] Step S110: When the first processing operation on the Webview side is detected, the first data information corresponding to the first processing operation is determined, and the first preset method is called through JSBridge to transfer the first data information to the corresponding client. The set method is the method agreed in advance by the client based on the registration mode of the Handler supported by the current first version information and the Webview.

[0055] Specifically, when the terminal device detects a user's processing operation (ie, the above-mentioned first processing operation) on a certain event (such as a like event, a focus event, etc.) on the Webview side, it determines the data corresponding to the processing operation Information, that is, the data information generated by the processing o...

Embodiment 2

[0071] The embodiment of the present application provides a processing method of a terminal device processing type Handler, such as figure 2 Shown, including:

[0072] Step S210: When the second processing operation on the client is detected, the second data information corresponding to the second processing operation is determined, and the second preset method is called through JSBridge to transfer the second data information to the corresponding Webview end. Suppose the method is the method pre-appointed with the client based on the registration mode of the Handler supported by the current second version information on the Webview side.

[0073] Specifically, when the terminal device detects a user's processing operation (ie, the above-mentioned second processing operation) on a certain event (such as a like event, a concern event, etc.) on the client side, it determines the data corresponding to the processing operation Information, that is, the data information generated by th...

Embodiment 3

[0083] image 3 This is a schematic diagram of the basic structure of a processing device of a processing type Handler of a terminal device provided in an embodiment of this application, such as image 3 As shown, the device 30 may include a first processing module 31 and a second processing module 32, wherein,

[0084] The first processing module 31 is used to determine the first data information corresponding to the first processing operation when the first processing operation on the Webview side is detected, and transfer the first data information to the corresponding client by calling the first preset method through JSBridge , The first preset method is the method pre-appointed by the Handler registration mode supported by the client based on the current first version information and the Webview end;

[0085] The second processing module 32 is used for the client to determine the first target Handler according to the first preset method, and execute the processing operation cor...

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 the technical field of software development. The invention discloses a processing method of a processing type Handler of terminal equipment and electronic equipment. The processing method of the processing type Handler of the terminal equipment comprises that: when a first processing operation on the Webview end is detected, first data information corresponding to the first processing operation is determined, a first preset method is called through JSBridge to transmit the first data information to a corresponding client, wherein the first preset method is a method pre-appointed by the client and a Webview end based on a Handler registration mode supported by the current first version information; and then the client determines a first target Handler according to afirst preset method, and executes a processing operation corresponding to the Webview end according to the first data information through the first target Handler. According to the method provided bythe embodiment of the invention, the transition of the registration modes of the new Handler and the old Handler is realized.

Description

Technical field [0001] This application relates to the technical field of software development. Specifically, this application relates to a processing method of a terminal device processing Handler and an electronic device. Background technique [0002] With the development of Internet technology and mobile communication technology, users can not only view and process various information through the web view Webview in mobile terminals such as smart phones and IPADs, but also install the corresponding Webview on the mobile terminal. Clients (such as various applications) to access and obtain various information, or perform corresponding processing operations on various information. Among them, when the user performs a certain processing operation (such as following user A) through Webview, the processing operation of the user needs to be synchronously transferred to the client corresponding to Webview, that is, the client also performs "follow user A". A" this processing operati...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/20G06F8/65G06F8/71G06F9/448
CPCG06F8/24G06F8/65G06F8/71G06F9/449
Inventor 王岳晨
Owner BEIJING MICROLIVE VISION TECH CO LTD