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

Java middleware and its driver call, loading method and conversion device

A middleware and driver technology, applied in the field of mobile communication, can solve the problems of poor versatility and scalability, and achieve the effect of improving the level of abstraction

Active Publication Date: 2018-06-19
CHINA MOBILE COMM GRP CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present invention provides Java middleware and its driver calling, loading method and conversion device to solve the problem of poor versatility and scalability in the way of Java middleware solidification drive in the prior art

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
  • Java middleware and its driver call, loading method and conversion device
  • Java middleware and its driver call, loading method and conversion device
  • Java middleware and its driver call, loading method and conversion device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Embodiment 1 of the present invention provides a kind of Java middleware, and the Java middleware that Embodiment 1 of the present invention provides comprises general peripheral hardware data exchange module, and this general peripheral hardware data exchange module is encapsulated with each driver program of Java middleware place platform, makes The functions provided by the functional modules of the encapsulated drivers correspond to the general data exchange functions respectively. The general data exchange functions include one or more of the following functions: read, write, and control; A general peripheral data exchange interface corresponding to the general data exchange function of the exchange function.

[0053] When developing applications on the Java middleware platform provided by the embodiment of the present invention, different peripherals can be used by calling the general peripheral data exchange interface, but the application program needs to implemen...

Embodiment 2

[0065] Based on the Java middleware provided by Embodiment 1 of the present invention, Embodiment 2 of the present invention provides a driving calling method based on Java middleware, which is applied to the conversion device 602 side between the application program and the Java middleware, such as Figure 7 shown, including the following steps:

[0066] S701. Receive an invocation instruction of invoking a designated driver sent by an application program.

[0067] In this step, the call instruction may carry the identifier of the specified driver, so that the Java middleware can determine the driver that the application needs to call according to the identifier.

[0068] S702. Determine the general data exchange function of the general peripheral data exchange module in the Java middleware corresponding to the function provided by the function module of the called designated driver indicated in the call instruction received in S701.

[0069] In this step, assuming that the ...

Embodiment 3

[0081] Based on the Java middleware provided in Embodiment 1 of the present invention, corresponding to Embodiment 2, this embodiment provides a driver loading method based on Java middleware, which is applied to the Java middleware side, such as Figure 8 As shown, it specifically includes the following steps:

[0082] S801. Receive a call request for a general data exchange function corresponding to the general peripheral data exchange interface through the general peripheral data exchange interface in the Java middleware, wherein the call request carries a designated driver encapsulated by the general peripheral data exchange module logo.

[0083] S802. When the call request received in S801 carries data sent to the specified driver, convert the general service data with a general data structure carried in the call request into service data with a second data structure, wherein the second The data structure is the data structure corresponding to the specified driver.

[0...

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 embodiment of the present invention provides Java middleware and its driver calling, loading method and conversion device. The Java middleware encapsulates different drivers into general peripheral data exchange modules, and provides general peripherals with general data exchange functions to the caller. Data exchange interface, when the application program calls the designated driver program, the conversion device determines the general data exchange function of the designated driver program to be used by the application program, and uses the general peripheral data exchange interface corresponding to the general data exchange function to communicate with Java The middleware sends an invocation request, and after receiving the invocation request, the Java middleware sends a loading request to a designated driver packaged by itself. The versatility and scalability of drivers in Java middleware are improved. The present invention relates to the field of computer technology.

Description

technical field [0001] The invention relates to the technical field of mobile communication, in particular to Java middleware and its drive calling, loading method and conversion device. Background technique [0002] Java middleware (middleware) is a large category of basic software and belongs to the category of reusable software. From the point of view of the vertical relationship of the architecture, such as figure 1 As shown, the Java middleware is in the middle of the operating system software and the user's application software, providing the upper-level application software with a running and development environment upward, and shielding the heterogeneity of the operating system and hardware resources downward; from the perspective of the horizontal relationship with the application system look like figure 2 As shown, the Java middleware provides a common development interface, provides a call interface for various applications, and provides lower-layer support for...

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/445
Inventor 王左彪王瑞鹏吕广娜王红梅刘越
Owner CHINA MOBILE COMM GRP 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