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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com