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

Java middleware and driving, calling and loading method thereof and conversion device

A technology of driving calls and middleware, 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: 2015-09-30
CHINA MOBILE COMM GRP CO LTD
View PDF8 Cites 3 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 driving, calling and loading method thereof and conversion device
  • Java middleware and driving, calling and loading method thereof and conversion device
  • Java middleware and driving, calling and loading method thereof 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 peripheral data exchange function of the general peripheral data exchange module in the Java middleware corresponding to the function provided by the functional module according to the function module of the specified driver program that is called in the call instruction received ...

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 invention provides Java middleware and a driving, calling and loading method thereof and a conversion device. The Java middleware is sealed by different driving programs to form a universal peripheral data exchange module, a universal peripheral data exchange interface with a universal data exchange function is provided for a caller, when the appointed driving programs are called by an application program, the universal data exchange function, needed by the application program, of the appointed driving programs is confirmed by the conversion device, by using the universal peripheral data exchange interface corresponding to the universal data exchange function, a calling request is sent to the Java middleware, and after the calling request is received by the Java middleware, a loading request is sent to the appointed driving programs sealed by the Java middleware. The universality and the extendibility of the driving programs of the Java middleware are improved, and the invention relates to the technical field of computers.

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 Applications(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