CN114527983A - Interface adaptation method and device based on middleware and electronic equipment - Google Patents

Interface adaptation method and device based on middleware and electronic equipment Download PDF

Info

Publication number
CN114527983A
CN114527983A CN202011322085.7A CN202011322085A CN114527983A CN 114527983 A CN114527983 A CN 114527983A CN 202011322085 A CN202011322085 A CN 202011322085A CN 114527983 A CN114527983 A CN 114527983A
Authority
CN
China
Prior art keywords
middleware
target application
operating system
application program
specified function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011322085.7A
Other languages
Chinese (zh)
Inventor
杨正铃
李盛阁
谭明武
陈炫锦
郑敏
胡文辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Internet Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011322085.7A priority Critical patent/CN114527983A/en
Publication of CN114527983A publication Critical patent/CN114527983A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The embodiment of the invention discloses an interface adaptation method and device based on a middleware and electronic equipment, which are used for solving the problem that the development efficiency of the middleware is lower because the existing implementation scheme of the middleware needs to be developed and constructed respectively aiming at different types of operating systems. The method comprises the following steps: calling the middleware in response to a starting instruction for a specified function of the target application program; determining, by the middleware, an operating system interface that matches a specified function of the target application; and calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.

Description

Interface adaptation method and device based on middleware and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of mobile services, in particular to an interface adaptation method and device based on middleware and electronic equipment.
Background
Currently, the operating system of a terminal device generally includes the following categories: the Android operating system on the mobile terminal side, the IOS operating system on the mobile terminal side, the Windows operating system on the PC side, and the MAC operating system on the PC side. In the prior art, for these different classes of operating systems, corresponding middleware is generally developed for each class of operating system, and is used by an application program of the operating system.
However, in the above-described scheme of developing the middleware corresponding to each of the different types of operating systems, the developers must invest in developers of the different types of operating systems, respectively, to develop and build the middleware of each type of operating system. Therefore, a great amount of manpower is needed to develop and construct a plurality of middleware for different types of operating systems, and the development efficiency is low.
Therefore, a middleware implementation scheme is needed to solve the problem of inefficient development of middleware for various types of operating systems.
Disclosure of Invention
The embodiment of the invention provides an interface adaptation method and device based on a middleware and electronic equipment, which are used for solving the problem that the existing implementation scheme of the middleware needs to be developed and constructed respectively aiming at different types of operating systems, so that the development efficiency of the middleware is lower.
The embodiment of the invention adopts the following technical scheme:
in a first aspect, a method for interface adaptation based on middleware is provided, including:
calling the middleware in response to a starting instruction for a specified function of the target application program;
determining, by the middleware, an operating system interface that matches a specified function of the target application;
and calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.
In a second aspect, an interface adapting apparatus based on middleware is provided, which includes:
the processor is used for responding to a starting instruction of a specified function of the target application program and calling the middleware; determining, by the middleware, an operating system interface that matches a specified function of the target application; and calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.
In a third aspect, an electronic device is provided, including:
a memory storing computer program instructions;
a processor which, when executed by the processor, implements the middleware based interface adaptation method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided,
the computer-readable storage medium comprises instructions which, when run on a computer, cause the computer to perform the middleware-based interface adaptation method according to the first aspect.
The embodiment of the invention adopts at least one technical scheme which can achieve the following beneficial effects:
when the interface of the operating system is adapted through the middleware, the embodiment of the invention can respond to the starting instruction of the specified function aiming at the target application program and call the middleware; determining an operating system interface matched with the specified function of the target application program through the middleware; and finally, calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program. The interfaces of the operating systems of different types are adapted through the universal middleware, the need of respectively developing the middleware of the respective operating systems aiming at the operating systems of different types is avoided, the repeated development construction of the middleware of the operating systems is reduced, meanwhile, the manpower, material resources and communication cost are reduced, and the development and management efficiency of the middleware is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic implementation flow diagram of an interface adaptation method based on middleware provided in an embodiment of the present specification;
fig. 2 is a schematic diagram illustrating a module composition structure of an application module, a middleware module and an operating system module in the middleware-based interface adaptation method according to an embodiment of the present specification;
FIG. 3 is a diagram illustrating a development process of middleware provided by an embodiment of the present specification;
fig. 4 is a schematic structural diagram of an interface adapter device based on middleware according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to another embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present specification and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step are within the scope of the present application.
In order to solve the problem that the development efficiency of the middleware is low because the existing implementation scheme of the middleware needs to be developed and constructed respectively for different types of operating systems, embodiments of the present specification provide an interface adaptation method based on the middleware. When the interface of the operating system is adapted through the middleware, the embodiment of the invention can respond to the starting instruction of the specified function aiming at the target application program and call the middleware; determining an operating system interface matched with the specified function of the target application program through the middleware; and finally, calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program. The interfaces of the operating systems of different types are adapted through the universal middleware, the need of respectively developing the middleware of the respective operating systems aiming at the operating systems of different types is avoided, the repeated development construction of the middleware of the operating systems is reduced, meanwhile, the manpower, material resources and communication cost are reduced, and the development and management efficiency of the middleware is improved.
The execution subject of the method provided by the embodiments of the present disclosure may be, but is not limited to, a computer, a server, and the like, which can be configured to execute at least one of the method apparatuses provided by the embodiments of the present disclosure.
For convenience of description, the following description will be made of an embodiment of the method, taking an execution subject of the method as a server capable of executing the method as an example. It is understood that the implementation of the method by the server is merely an exemplary illustration and should not be construed as a limitation of the method.
Specifically, an implementation flow diagram of an interface adaptation method based on middleware provided by one or more embodiments of the present specification is shown in fig. 1, and includes:
step 110, responding to a starting instruction aiming at the specified function of the target application program, and calling middleware;
the target application program may be any application program in the operating system, and the specified function of the target application program may be any function in the target application program, such as functions of logging in, registering, searching, adding friends, and the like.
The operating system of the target application program is any one of an android operating system, an IOS operating system, a Windows operating system and an MAC operating system.
The middleware provided in the embodiments of the present specification is adaptable to any one of an android operating system, an IOS operating system, a Windows operating system, and a MAC operating system.
Optionally, the middleware in the embodiment of the present specification includes a language translation layer, a business processing layer, and an operating system adaptation layer.
Fig. 2 is a schematic diagram of module composition structures of an application module, a middleware module, and an operating system module in a middleware-based interface adaptation method according to an embodiment of the present disclosure. In fig. 2, three major modules, an application module, a middleware module, and an operating system module, are included. The application program module comprises an android application program, an IOS application program, a Windows application program and an MAC application program, and the application programs respectively belong to an android operating system, an IOS operating system, a Windows operating system and an MAC operating system; the middleware module comprises a language conversion layer, a service processing layer and an operating system adaptation layer; the operating system module comprises an android operating system, an IOS operating system, a Windows operating system and an MAC operating system.
The application program module is a user of the middleware module, and the application programs of various operating systems in the application program module can call the interface of the middleware module by using the language required by the development of the respective operating systems.
The language conversion layer in the middleware module provides an external Interface of an Application program development framework suitable for an Application program development language for the Application program module, the service processing layer is responsible for processing specific services, and the operating system adaptation layer realizes the related functions of respective operating systems by calling Application Programming Interfaces (APIs) of different types of operating systems in the operating system module downwards.
And the operating system module is used for providing the corresponding API of the operating system for the operating system adaptation layer of the middleware module.
Optionally, in order to improve the starting efficiency of the specified function of the target application, corresponding middleware interfaces may be designed for different functional modules, and specifically, in response to a starting instruction for the specified function of the target application, invoking the middleware includes:
and responding to a starting instruction of the specified function of the target application program, and calling an interface of the specified function of the middleware.
Taking the login function as an example, when the specified function is the login function, the login interface of the middleware may be called in response to a start instruction for the login function of the target application.
Step 120, determining an operating system interface matched with the specified function of the target application program through the middleware;
optionally, in order to improve the calling efficiency of the os interface, a corresponding os interface library may be set in advance for different application programs, and a corresponding interface may be set for different function modules, that is, a mapping relationship between an identifier of one application program and the corresponding os interface library, and a mapping relationship between different function modules and specific interfaces are maintained in advance, specifically, determining, through the middleware, an os interface matching with a specified function of the target application program includes:
acquiring an identifier of the target application program and an identifier of the designated function based on a starting instruction of the designated function for the target application program;
determining a target operating system interface library matched with the identification of the target application program through the middleware;
and determining the operating system interface matched with the identifier of the specified function from the target operating system interface library through the middleware.
The development and construction process of the middleware provided in the embodiment of the present specification will be described in detail below with reference to a schematic diagram of the development process of the middleware shown in fig. 3. As shown in fig. 3, includes:
s31, selecting a universal development language;
for example, a development language C, C + +, which may span operating systems and support different development frameworks, may be selected.
S32, the macro defines and distinguishes different operating system entries;
specifically, macro switches of different operating systems may be defined at the entry of the operating system adaptation layer, and used to control the program entry of the operating system set according to the compilation script.
S33, compiling script development;
compiling scripts can be specifically compiled, compiling commands of middleware of the operating systems of all types are provided, and the API (application programming interface) calling functions of the operating systems of different types are compiled according to macro switches and related files of the operating systems of different types.
And S34, packaging and generating the universal middleware of different operating systems.
Specifically, development language conversion can be performed by executing different operating system packaging scripts, external interfaces are generated, and dynamic library files and static library files of different file types suitable for different types of operating systems are generated, wherein the dynamic library files and the static library files can support various development frames and various operating systems, including operating systems such as a mobile terminal operating system, a PC terminal operating system and an Internet of things system.
And step 130, calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.
Optionally, the operating system adaptation layer includes a plurality of macro switches of the operating system, and invokes, through the middleware, an operating system interface matching with the specified function of the target application program to start the specified function of the target application program, including:
and calling an operating system interface matched with the specified function of the target application program through a macro switch of the operating system matched with the target application program in the operating system adaptation layer so as to start the specified function of the target application program.
Optionally, after invoking, by the middleware, an operating system interface matched to the specified function of the target application program, the method provided in the embodiment of the present specification further includes:
and sending a starting request aiming at the specified function of the target application program to a server of the target application program through a service processing layer of the middleware.
Taking the specified function as the login function as an example, the service processing layer of the middleware sends the start request for the specified function of the target application program to the server of the target application program, and specifically, the service processing layer of the middleware sends the login request for the target application program to the login server of the target application program, so as to realize the login request of the user.
When the interface of the operating system is adapted through the middleware, the embodiment of the invention can respond to the starting instruction of the specified function aiming at the target application program and call the middleware; determining an operating system interface matched with the specified function of the target application program through the middleware; and finally, calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program. The interfaces of the operating systems of different types are adapted through the universal middleware, the need of respectively developing the middleware of the respective operating systems aiming at the operating systems of different types is avoided, the repeated development construction of the middleware of the operating systems is reduced, meanwhile, the manpower, material resources and communication cost are reduced, and the development and management efficiency of the middleware is improved.
Fig. 4 is a schematic structural diagram of an interface adapter 400 based on middleware according to an embodiment of the present disclosure. In one software implementation, the middleware based interface adaptation apparatus 400 can include a processor 401, wherein:
a processor 401, configured to invoke middleware in response to a start instruction for a specified function of a target application; determining, by the middleware, an operating system interface that matches a specified function of the target application; and calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.
When the interface of the operating system is adapted through the middleware, the middleware can be called by responding to a starting instruction of a specified function aiming at a target application program through the processor 401; determining an operating system interface matched with the specified function of the target application program through the middleware; and finally, calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program. The interfaces of the operating systems of different types are adapted through the universal middleware, the need of respectively developing the middleware of the respective operating systems aiming at the operating systems of different types is avoided, the repeated development construction of the middleware of the operating systems is reduced, meanwhile, the manpower, material resources and communication cost are reduced, and the development and management efficiency of the middleware is improved.
Optionally, in an embodiment, the processor 401 is configured to:
acquiring an identifier of the target application program and an identifier of a specified function based on a starting instruction of the specified function aiming at the target application program;
determining, by the middleware, a target operating system interface library that matches the identification of the target application program;
and determining an operating system interface matched with the identifier of the specified function from the target operating system interface library through the middleware.
Optionally, in an embodiment, the operating system of the target application is any one of an android operating system, an IOS operating system, a Windows operating system, and a MAC operating system.
Optionally, in an embodiment, the middleware includes a language translation layer, a business processing layer, and an operating system adaptation layer.
Optionally, in an embodiment, the os adaptation layer includes a plurality of operating system macro switches, and the processor 401 is configured to:
and calling an operating system interface matched with the specified function of the target application program through a macro switch of the operating system matched with the target application program in the operating system adaptation layer so as to start the specified function of the target application program.
Optionally, in an embodiment, the processor 401 is configured to:
and responding to a starting instruction of a specified function of the target application program, and calling an interface of the specified function of the middleware.
Optionally, in an embodiment, after the processor 401 calls, through the middleware, an operating system interface matching a specified function of the target application, the processor 401 is further configured to:
and sending a starting request aiming at the specified function of the target application program to a server of the target application program through a service processing layer of the middleware.
When the interface of the operating system is adapted through the middleware, the embodiment of the invention can respond to the starting instruction of the specified function aiming at the target application program and call the middleware; determining an operating system interface matched with the specified function of the target application program through the middleware; and finally, calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program. The interfaces of the operating systems of different types are adapted through the universal middleware, the need of respectively developing the middleware of the respective operating systems aiming at the operating systems of different types is avoided, the repeated development construction of the middleware of the operating systems is reduced, meanwhile, the manpower, material resources and communication cost are reduced, and the development and management efficiency of the middleware is improved.
Fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification. Referring to fig. 5, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program, and the interface adaptation device based on the middleware is formed on the logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
calling the middleware in response to a starting instruction for a specified function of the target application program;
determining, by the middleware, an operating system interface that matches a specified function of the target application;
and calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.
When the interface of the operating system is adapted through the middleware, the embodiment of the invention can respond to the starting instruction of the specified function aiming at the target application program and call the middleware; determining an operating system interface matched with the specified function of the target application program through the middleware; and finally, calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program. The interfaces of different types of operating systems are adapted through the universal middleware, the need of respectively developing the middleware of respective operating systems aiming at different types of operating systems is avoided, repeated development construction of the middleware of the operating systems is reduced, manpower, material resources and communication cost are reduced, and development and management efficiency of the middleware is improved.
The above-mentioned middleware-based interface adaptation method disclosed in the embodiment of fig. 1 in this specification can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in one or more embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in hardware, in a software module executed by a hardware decoding processor, or in a combination of the hardware and software modules executed by a hardware decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute the middleware-based interface adaptation method of fig. 1, which is not described herein again.
Embodiments of the present application also provide a computer-readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to perform the method of the embodiment shown in fig. 1, and are specifically configured to:
responding to a starting instruction aiming at the specified function of the target application program, and calling the middleware;
determining, by the middleware, an operating system interface that matches a specified function of the target application;
and calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.
Of course, besides the software implementation, the electronic device in the present specification does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present disclosure should be included in the scope of protection of one or more embodiments of the present disclosure.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

Claims (10)

1. A middleware-based interface adaptation method is characterized by comprising the following steps:
calling the middleware in response to a starting instruction for a specified function of the target application program;
determining, by the middleware, an operating system interface that matches a specified function of the target application;
and calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.
2. The method of claim 1, wherein determining, by the middleware, an operating system interface that matches a specified functionality of the target application comprises:
acquiring an identifier of the target application program and an identifier of a specified function based on a starting instruction of the specified function aiming at the target application program;
determining, by the middleware, a target operating system interface library that matches the identification of the target application program;
and determining an operating system interface matched with the identifier of the specified function from the target operating system interface library through the middleware.
3. The method of claim 1, wherein the operating system of the target application is any one of an android operating system, an IOS operating system, a Windows operating system, and a MAC operating system.
4. The method according to any one of claims 1 to 3,
the middleware comprises a language conversion layer, a service processing layer and an operating system adaptation layer.
5. The method of claim 4, wherein the operating system adaptation layer includes macro switches of a plurality of operating systems, and wherein invoking, by the middleware, an operating system interface matching the specified functionality of the target application to initiate the specified functionality of the target application comprises:
and calling an operating system interface matched with the specified function of the target application program through a macro switch of the operating system matched with the target application program in the operating system adaptation layer so as to start the specified function of the target application program.
6. The method of claim 1, wherein invoking middleware in response to a launch instruction for a specified function of a target application comprises:
and responding to a starting instruction of a specified function of the target application program, and calling an interface of the specified function of the middleware.
7. The method of claim 4, wherein after invoking an operating system interface matching the specified functionality of the target application through the middleware, the method further comprises:
and sending a starting request aiming at the specified function of the target application program to a server of the target application program through a service processing layer of the middleware.
8. An interface adaptation apparatus based on middleware, comprising:
the processor is used for responding to a starting instruction of a specified function of the target application program and calling the middleware; determining, by the middleware, an operating system interface that matches a specified function of the target application; and calling an operating system interface matched with the specified function of the target application program through the middleware to start the specified function of the target application program.
9. An electronic device, comprising:
a memory storing computer program instructions;
a processor which, when executed by the processor, implements the middleware based interface adaptation method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that,
the computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the middleware-based interface adaptation method of any one of claims 1-7.
CN202011322085.7A 2020-11-23 2020-11-23 Interface adaptation method and device based on middleware and electronic equipment Pending CN114527983A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011322085.7A CN114527983A (en) 2020-11-23 2020-11-23 Interface adaptation method and device based on middleware and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011322085.7A CN114527983A (en) 2020-11-23 2020-11-23 Interface adaptation method and device based on middleware and electronic equipment

Publications (1)

Publication Number Publication Date
CN114527983A true CN114527983A (en) 2022-05-24

Family

ID=81619621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011322085.7A Pending CN114527983A (en) 2020-11-23 2020-11-23 Interface adaptation method and device based on middleware and electronic equipment

Country Status (1)

Country Link
CN (1) CN114527983A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116414366A (en) * 2023-04-17 2023-07-11 广东企企通科技有限公司 Middleware interface generation method, device, equipment and medium
CN116737323A (en) * 2023-08-10 2023-09-12 上海移芯通信科技股份有限公司 Script calling method and device based on Internet of things chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719960A (en) * 2009-12-01 2010-06-02 中国电信股份有限公司 Communication device and cdma terminal
CN103019686A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 System spanning two pieces of middleware and compiling method of system
CN110275716A (en) * 2019-06-27 2019-09-24 深圳开立生物医疗科技股份有限公司 Deployed with devices method and device, equipment operation method and electronic equipment
US20200150974A1 (en) * 2018-11-14 2020-05-14 International Business Machines Corporation Launching a middleware-based application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719960A (en) * 2009-12-01 2010-06-02 中国电信股份有限公司 Communication device and cdma terminal
CN103019686A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 System spanning two pieces of middleware and compiling method of system
US20200150974A1 (en) * 2018-11-14 2020-05-14 International Business Machines Corporation Launching a middleware-based application
CN110275716A (en) * 2019-06-27 2019-09-24 深圳开立生物医疗科技股份有限公司 Deployed with devices method and device, equipment operation method and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116414366A (en) * 2023-04-17 2023-07-11 广东企企通科技有限公司 Middleware interface generation method, device, equipment and medium
CN116414366B (en) * 2023-04-17 2024-01-30 广东企企通科技有限公司 Middleware interface generation method, device, equipment and medium
CN116737323A (en) * 2023-08-10 2023-09-12 上海移芯通信科技股份有限公司 Script calling method and device based on Internet of things chip
CN116737323B (en) * 2023-08-10 2023-11-10 上海移芯通信科技股份有限公司 Script calling method and device based on Internet of things chip

Similar Documents

Publication Publication Date Title
CN108345531B (en) Test method, device and system
US10481964B2 (en) Monitoring activity of software development kits using stack trace analysis
CN108600326B (en) Communication method, device and equipment
CN111461887B (en) Block chain consensus processing method and device and electronic equipment
CN109298926B (en) Method and device for entering resource transfer party into resource transfer platform and electronic equipment
CN107479868B (en) Interface loading method, device and equipment
CN114527983A (en) Interface adaptation method and device based on middleware and electronic equipment
CN109062714B (en) Method and device for remotely controlling android device and electronic device
CN111225018A (en) Request message processing method and device and electronic equipment
CN107577629B (en) Data interface processing method, device, server and medium
CN110648125B (en) Packaging transaction method and device, electronic equipment and storage medium
CN111651467A (en) Block chain link point interface issuing and calling method and device
CN111694639A (en) Method and device for updating address of process container and electronic equipment
CN111949297B (en) Block chain intelligent contract upgrading method and device and electronic equipment
CN109032693B (en) Method and device for loading display information, electronic equipment and readable storage medium
CN114547569A (en) Account login processing method and device
CN110837446A (en) Equipment management method and device applied to embedded system, medium and embedded equipment
CN111797270A (en) Audio playing method and device, electronic equipment and computer readable storage medium
CN111523887A (en) Authority control method and device of intelligent contract read-only method and electronic equipment
CN111709748A (en) Transaction execution method and device with service attribute and electronic equipment
CN108650150B (en) Data verification method and device
CN114546843A (en) Program debugging processing method and device
CN109669679B (en) Service detection and processing method and device and electronic equipment
CN111797009A (en) Method and device for detecting code compatibility and electronic equipment
CN111858335A (en) Block chain SDK testing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220524

RJ01 Rejection of invention patent application after publication