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

Method and system for reporting function button information of c language layer to java layer

A technology of information reporting and java layer, which is applied in the field of Java layer, can solve the problems of hidden dangers of function button messages, time-consuming, and reduced work efficiency, and achieve the effects of improving user experience, facilitating reading, and improving development efficiency

Active Publication Date: 2020-10-16
湖北元村科技有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) It takes a long time for the Java layer to actively read the function button trigger events of the C language layer, which will reduce the work efficiency of the entire transmission process
[0006] (2) When the function button trigger event is distributed to the corresponding message receiving class, R&D personnel belonging to different message receiving classes will contact each other, which makes the function button message distribution have certain security risks

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 system for reporting function button information of c language layer to java layer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0026] see figure 1 As shown, the method for reporting the function button information of the C language layer to the Java layer in the embodiment of the present invention includes the following steps:

[0027] S1: Monitor the function key information of the C language layer through the common read function of the C language. When the function key information is that the function key is triggered, read the function key information and turn to S2.

[0028] In the process of S1 sending the function button information to the Java layer, in order to facilitate the operator to understand the execution status of the program, the report status of the function button information is displayed by calling printf("start to send to java"), and the C language layer has started to execute the report To the function key information of the JAVA layer.

[002...

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 a method and a system for reporting function key information of a C language layer to a Java layer, and relates to the field of function key triggering detection of software development. The method comprises the steps that the C language layer reports the function key information to the Java layer; an interface set of information receiving classes and an information receiving class registration interface are created in the Java layer, and interfaces of all the information receiving classes are registered to the interface set through the information receiving class registration interface; the Java layer receives the function key information reported by the C language layer, circularly traverses all the interfaces in the interface set, and distributes the function key information to all the interfaces obtained by traversal; and the interfaces obtained by traversal send the function key information to the information receiving classes. According to the method and the system, the function key information of the C language layer can be automatically reported to the Java layer and distributed, so that the transmission efficiency of the function key information and the development efficiency of Java layer development personnel are remarkably improved.

Description

technical field [0001] The invention relates to the field of trigger detection of function keys in software development, in particular to a method and system for reporting function key information of a C language layer to a Java (door-oriented object-oriented programming language) layer. Background technique [0002] In the field of function button trigger detection, the trigger events of some function buttons are sent from the C language layer, but are detected at the Java layer (such as function buttons in the Android system). Therefore, in order to trigger detection of function keys, it is necessary to transmit the function key trigger events of the C language layer to the Java layer. After a series of processing in the Java layer, a simple and easy-to-use key monitoring function is exposed, which is convenient for the Java layer. Developers can easily and quickly detect the input information of the system keys. [0003] The existing method of transmitting the function b...

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 Patents(China)
IPC IPC(8): G06F9/448G06F9/451G06F8/30
CPCG06F8/315G06F9/4491
Inventor 张磊张文明陈少杰
Owner 湖北元村科技有限公司