CN115167886B - Automatic adaptation method, device, storage medium and electronic equipment - Google Patents

Automatic adaptation method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115167886B
CN115167886B CN202211077471.3A CN202211077471A CN115167886B CN 115167886 B CN115167886 B CN 115167886B CN 202211077471 A CN202211077471 A CN 202211077471A CN 115167886 B CN115167886 B CN 115167886B
Authority
CN
China
Prior art keywords
domestic
operating system
loading
parameter information
component
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.)
Active
Application number
CN202211077471.3A
Other languages
Chinese (zh)
Other versions
CN115167886A (en
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.)
Yuanshu Technology Wuxi Co ltd
Original Assignee
Yuanshu Technology Wuxi 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 Yuanshu Technology Wuxi Co ltd filed Critical Yuanshu Technology Wuxi Co ltd
Priority to CN202211077471.3A priority Critical patent/CN115167886B/en
Publication of CN115167886A publication Critical patent/CN115167886A/en
Application granted granted Critical
Publication of CN115167886B publication Critical patent/CN115167886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of computer software, and particularly discloses an automatic adaptation method, an automatic adaptation device, a storage medium and electronic equipment, wherein the automatic adaptation method comprises the following steps: acquiring system parameter information of an operating system; determining the system type of the operating system according to the system parameter information, wherein the system type comprises a non-domestic open source operating system and a domestic system; when the system type of the operating system is the non-domestic open source operating system, loading a standard component matched with the non-domestic open source operating system, and loading a functional component matched with the function of the application program so as to respond to the installation request; and when the system type of the operating system is a domestic system, loading a domestic component matched with the domestic system, and loading a functional component matched with the function of the application program to respond to the installation request. The automatic adaptation method provided by the invention can realize the automatic adaptation of software to the operating system.

Description

Automatic adaptation method, device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of computer software technologies, and in particular, to an automatic adaptation method, an automatic adaptation device, a storage medium, and an electronic apparatus.
Background
Aiming at the problems that in recent years, system standards such as traditional system middleware and the like are not established for domestic system middleware and the like, when the system is adapted to a domestic system, interface services and hardware provided by different manufacturers are possibly different, and in the face of a system with larger difference, software cannot be automatically adapted, only software packages with multiple versions can be generated, and a better solution is not provided at present.
Disclosure of Invention
The invention provides an automatic adaptation method, an automatic adaptation device, a storage medium and electronic equipment, which solve the problem that software cannot be automatically adapted in the related art.
As a first aspect of the present invention, there is provided an automatic adaptation method, wherein, when an installation request of an application program is received, the automatic adaptation method includes:
acquiring system parameter information of an operating system, wherein the system parameter information comprises: operating system information, middleware information, and hardware parameter information;
determining the system type of the operating system according to the system parameter information, wherein the system type comprises a non-domestic open source operating system and a domestic system;
when the system type of the operating system is a non-domestic open source operating system, loading a standard component matched with the non-domestic open source operating system, and loading a functional component matched with the function of the application program so as to respond to the installation request;
and when the system type of the operating system is a domestic system, loading a domestic component matched with the domestic system, and loading a functional component matched with the function of the application program to respond to the installation request.
Further, determining the system type of the operating system according to the system parameter information includes:
comparing the system parameter information with pre-stored system parameter information, wherein the pre-stored system parameter information comprises pre-stored non-domestic open source operating system parameter information and pre-stored domestic system parameter information;
if the system parameter information is matched with the parameter information of the pre-stored non-domestic open source operating system, determining that the system type of the operating system is the non-domestic open source operating system;
and if the system parameter information is matched with the pre-stored domestic system parameter information, determining the system type of the operating system to be the domestic system.
Further, when the system type of the operating system is a non-domestic open source operating system, loading a standard component matched with the non-domestic open source operating system, and loading a functional component adapted to the function of the application program to respond to the installation request, including:
and when the system type of the operating system is the non-domestic open source operating system, loading a standard database component and a standard message component which are matched with the non-domestic open source operating system, and loading a functional component which is matched with the function of the application program so as to respond to the installation request.
Further, the standard database component includes a mysql component, and the standard message component includes a Redis component and/or a MQTT component.
Further, when the system type of the operating system is a home system, loading a home component matched with the home system, and loading a functional component adapted to the function of the application program, so as to respond to the installation request, including:
and when the system type of the operating system is a domestic system, loading a domestic database component and a domestic message component which are matched with the domestic system, and loading a functional component which is matched with the function of the application program so as to respond to the installation request.
Further, the domestic database component includes any one of a damming database, a TDengine, a GBase, a sequoia db, an OceanBase, and an SSDB, and the domestic message component includes any one of CODIS, smart-mqt, and an ApusicMQ.
As another aspect of the present invention, there is provided an automatic adaptation apparatus, wherein when an installation request of an application is received, the automatic adaptation apparatus includes:
the obtaining module is used for obtaining system parameter information of the operating system, and the system parameter information includes: operating system information, middleware information, and hardware parameter information;
the determining module is used for determining the system type of the operating system according to the system parameter information, wherein the system type comprises a non-domestic open source operating system and a domestic system;
the first loading module is used for loading a standard component matched with the non-domestic open source operating system and loading a functional component matched with the function of the application program to respond to the installation request when the system type of the operating system is the non-domestic open source operating system;
and the second loading module is used for loading the domestic component matched with the domestic system and loading the functional component matched with the function of the application program to respond to the installation request when the system type of the operating system is the domestic system.
As another aspect of the present invention, a storage medium is provided, wherein the storage medium stores computer instructions which are loaded by a processor to perform the automatic adaptation method described above.
As another aspect of the present invention, an electronic device is provided, wherein the electronic device includes a memory and a processor, the memory and the processor are connected in communication, and the processor can load and execute the computer instructions to implement the automatic adaptation method described above.
The automatic adaptation method provided by the invention can be used for loading the component corresponding to the system type by acquiring the system parameter information of the operating system and determining the system type of the operating system according to the system parameter information, so as to realize the installation of the application program without changing the application program, namely, the non-domestic open source operating system and the domestic system can be installed by using the same program package without producing programs of different versions according to different systems, thereby effectively solving the problem that software in the prior art can not be automatically adapted and needs a plurality of versions of software packages, and avoiding the waste of resources.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart of an automatic adaptation method provided by the present invention.
Fig. 2 is a block diagram of an automatic adaptation apparatus provided in the present invention.
Fig. 3 is a block diagram of an electronic device according to the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make those skilled in the art better understand the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged as appropriate in order to facilitate the embodiments of the invention described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In this embodiment, an automatic adaptation method is provided, and fig. 1 is a flowchart of an automatic adaptation method provided according to an embodiment of the present invention, as shown in fig. 1, when an installation request of an application is received, the automatic adaptation method includes:
s100, acquiring system parameter information of an operating system;
it should be understood that, in order to enable the application program to adapt not only to the standard operating system, but also to adapt to the domestic operating system without changing the version, when receiving an installation request of the application program, first, system parameter information of the operating system where the application program is located is obtained, that is, system parameter information of the operating system where the application program is to be installed is obtained, so as to compare the system parameter information with the pre-stored system parameter information and determine the system type of the operating system.
In this embodiment of the present invention, the system parameter information may specifically include: operating system information, middleware information, and hardware parameter information.
Specifically, the operating system information may specifically include operating system version information and an operating system name.
Specifically, the middleware information may specifically include database middleware, a message component, and the like; the hardware parameter information may specifically include processor information, memory information, and the like.
S200, determining the system type of the operating system according to the system parameter information, wherein the system type comprises a non-domestic open source operating system and a domestic system;
in the embodiment of the invention, in order to realize that whether the operating system is a non-domestic open source operating system or a domestic system, the program installation package of an application program can be used without setting programs of different versions according to different systems, so that the system type of the operating system is judged, and the corresponding component can be loaded according to different system types.
It should be noted that, in the present invention, the non-domestic open source operating system may specifically include a CentOS Linux, a RedHat Linux, an Ubuntu Linux, and the like.
Specifically, determining the system type of the operating system according to the system parameter information includes:
comparing the system parameter information with pre-stored system parameter information, wherein the pre-stored system parameter information comprises pre-stored non-domestic open source operating system parameter information and pre-stored domestic system parameter information;
if the system parameter information is matched with the parameter information of the pre-stored non-domestic open source operating system, determining that the system type of the operating system is the non-domestic open source operating system;
and if the system parameter information is matched with the pre-stored domestic system parameter information, determining the system type of the operating system to be the domestic system.
It can be understood that the acquired system parameter information is compared with the pre-stored domestic system parameter information and the pre-stored non-domestic open source operating system parameter information, if the matching with the pre-stored domestic system parameter information is successful, the system type of the operating system is determined to be the domestic system, and if the matching with the pre-stored non-domestic open source operating system parameter information is successful, the system type of the operating system is determined to be the non-domestic open source operating system.
It should be understood that the pre-stored domestic system parameter information may include a plurality of more commonly used domestic system parameter information, and the pre-stored non-domestic open-source operating system parameter information may include a plurality of more commonly used non-domestic open-source operating system parameter information. And certainly, the parameter information of the pre-stored domestic parameter information and the pre-stored parameter information of the non-domestic open source operating system can be updated regularly to meet different requirements.
S300, when the system type of the operating system is a non-domestic open source operating system, loading a standard component matched with the non-domestic open source operating system, and loading a functional component matched with the function of the application program to respond to the installation request;
in the embodiment of the invention, when the system type of the operating system is the non-domestic open source operating system, the standard database component and the standard message component which are matched with the non-domestic open source operating system are loaded, and the functional component which is matched with the function of the application program is loaded to respond to the installation request.
In particular, the standard database component comprises a mysql component and the standard message component comprises a Redis component and/or a MQTT component.
It should be understood that the standard database component and the message component are related to the functionality of the application, and different functionality of the application may correspond to different standard database components and standard message components, and thus the standard database components and the standard message components may be determined according to the functionality of the application.
S400, when the system type of the operating system is a domestic system, loading domestic components matched with the domestic system, and loading functional components matched with the functions of the application programs so as to respond to the installation request.
In this embodiment of the present invention, when the system type of the operating system is a home system, loading a home component matched with the home system, and loading a functional component adapted to the function of the application program, so as to respond to the installation request, includes:
and when the system type of the operating system is a domestic system, loading a domestic database component and a domestic message component which are matched with the domestic system, and loading a functional component which is matched with the function of the application program so as to respond to the installation request.
Specifically, the domestic database component includes any one of a damming database, a TDengine, a GBase, a sequoia db, an OceanBase, and an SSDB, and the domestic message component includes any one of CODIS, smart-mqt, and an ApusicMQ.
It should be understood that the specific components of the domestic database component and the domestic message component may be set according to the needs, and the above description is only an exemplary description, and is not limited herein.
It should be appreciated that if a uos operating system is found and found in the list of native systems in the program code, the global operating system identification in the code is modified to "uos". Therefore, the database configuration selected at runtime is also a domestic database, for example, the configuration information of dreams, and when the database is read and written, the corresponding sql file is also selected according to the identification judgment.
It should also be understood that the home database component and the message component are related to the functionality of the application, and different functionality of the application may correspond to different home database components and message components, and thus the home database component and the message component may be determined according to the functionality of the application.
It should be noted that if the found system is neither a domestic operating system nor a standard operating system, that is, the system type that is successfully compared is not found, an error prompt is popped up.
To sum up, the automatic adaptation method provided in the embodiment of the present invention loads the component corresponding to the system type by obtaining the system parameter information of the operating system and determining the system type of the operating system according to the system parameter information, so as to implement installation of the application program without changing the application program itself, that is, both the non-domestic open source operating system and the domestic system can be installed using the same package, and programs of different versions do not need to be generated according to different systems, thereby effectively solving the problem that software in the prior art cannot be automatically adapted and a plurality of versions of software packages need to be generated, and also avoiding waste of resources.
The following describes a specific implementation process of the automatic adaptation method provided by the embodiment of the present invention in detail.
According to the pre-stored data parameter information of the domestic system, automatic matching is carried out during operation, whether the system is a domestic system or a non-domestic open source operating system is judged, and different program installation and code branch selection are carried out on the domestic system and the non-domestic open source operating system.
For example: in the installation script, firstly, a linux system is inquired, whether the linux system is standard or domestic, a non-domestic open source operating system corresponds to a group of standard components, a domestic system corresponds to domestic components, and corresponding components are selected to be installed in a component package.
When a program runs, a linux operating system is inquired, system parameter information in the linux operating system is obtained, if the found operating system is a uos (domestic system information) operating system and is found in a domestic system list in a program code, a global operating system identifier in the code is modified into uos, and therefore the configuration of a database selected during running is also a domestic database, such as configuration information of dreams, and when the database is read and written, a corresponding sql file is also selected according to the identification judgment.
The automatic adaptation method of the embodiment of the invention can use a springboot2 framework development program to define the enumeration class of the domestic system in the program code, and obtain system information through cat/etc/os-release when starting (the domestic operating system is mainly developed based on an open source operating system linux/unix), and judge whether the domestic system is the home system. And save it as a global variable for further invocation.
The following is the most common connection database, different databases, different sql, for example.
Examples are as follows: springboot + mybatis + database (non-domestic open source operating system: mysql, domestic system: dameng).
1) Xml files are configured with the drive dependencies of both mysql and dreams databases, as well as other required toolkit dependencies.
2) Yml configures the relevant configuration information of the database.
3) Writing a configuration class: and respectively configuring mysql and Dameng database connection configuration information, and paying attention to reading related keys of database connection, scanned mapper files and the like.
4) The home-made system and the non-home open source operating system create different config configuration information, respectively realize an org.
Writing a Condition Configuration class, annotating class @ Configuration, and realizing a scanning method of different database Configuration files in the class. Two annotations are required on the method: @ bean, @ Conditional (), wherein 4) is written in @.
5) And creating a corresponding mapper path and a file according to the scanning file path in the database configuration.
6) Therefore, when the program is started, the cat/etc/os-release acquires system information, and different databases can be selected according to the system.
Other options are the same as the configuration method of the database. All methods that need to be distinguished are instantiated among the methods in 4).
As another embodiment of the present invention, there is provided an automatic adaptation apparatus, wherein, when receiving an installation request of an application, as shown in fig. 2, the automatic adaptation apparatus 10 includes:
an obtaining module 100, configured to obtain system parameter information of an operating system;
a determining module 200, configured to determine a system type of the operating system according to the system parameter information, where the system type includes a non-domestic open-source operating system and a domestic system;
a first loading module 300, configured to load a standard component matched with a non-domestic open source operating system when a system type of the operating system is the non-domestic open source operating system, and load a functional component adapted to a function of the application program, so as to respond to the installation request;
and a second loading module 400, configured to, when the system type of the operating system is a home system, load a home component matched with the home system, and load a functional component adapted to the function of the application program, so as to respond to the installation request.
To sum up, the automatic adaptation device provided in the embodiment of the present invention loads the component corresponding to the system type by obtaining the system parameter information of the operating system and determining the system type of the operating system according to the system parameter information, so as to implement installation of the application program without changing the application program itself, that is, the non-domestic open source operating system and the domestic system can both be installed using the same package, and different versions of programs do not need to be generated according to different systems, thereby effectively solving the problem that software in the prior art cannot be automatically adapted and needs multiple versions of software packages, and also avoiding waste of resources.
For the specific working process of the automatic adapting device provided by the present invention, reference may be made to the foregoing description of the automatic adapting method, and details are not described herein again.
As another embodiment of the present invention, a storage medium is provided, wherein the storage medium stores computer instructions, which are loaded by a processor to execute the automatic adaptation method described above.
In an embodiment of the invention, a non-transitory computer-readable storage medium is provided, the computer-readable storage medium storing computer-executable instructions, the computer-executable instructions being capable of performing the method for vendor physical management in any of the above-described method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
As another embodiment of the present invention, an electronic device is provided, wherein the electronic device includes a memory and a processor, the memory and the processor are connected in communication, and the processor can load and execute the computer instructions to implement the automatic adaptation method described in the foregoing.
As shown in fig. 3, the electronic device may include: at least one processor 31, such as a CPU (Central Processing Unit), at least one communication interface 33, a memory 34, at least one communication bus 32. Wherein a communication bus 32 is used to enable the connection communication between these components. The communication interface 33 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 33 may also include a standard wired interface and a standard wireless interface. The Memory 34 may be a high-speed RAM (Random Access Memory) or a non-volatile Memory, such as at least one disk Memory. The memory 34 may optionally be at least one memory device located remotely from the processor 31. Wherein the memory 34 stores an application program, and the processor 31 calls the program code stored in the memory 34 for executing any of the above method steps.
The communication bus 32 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 32 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
The memory 34 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: flash memory), such as a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 34 may also comprise a combination of the above-mentioned kinds of memories.
The processor 31 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 31 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The aforementioned PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 34 is also used to store program instructions. The processor 31 may call program instructions to implement the auto-adaptation method as shown in the embodiment of fig. 1 of the present invention.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and scope of the invention, and such modifications and improvements are also considered to be within the scope of the invention.

Claims (9)

1. An automatic adaptation method, when receiving an installation request of an application program, comprising:
acquiring system parameter information of an operating system, wherein the system parameter information comprises: operating system information, middleware information, and hardware parameter information;
determining the system type of the operating system according to the system parameter information, wherein the system type comprises a non-domestic open source operating system and a domestic system;
when the system type of the operating system is a non-domestic open source operating system, loading a standard component matched with the non-domestic open source operating system, and loading a functional component matched with the function of the application program so as to respond to the installation request;
and when the system type of the operating system is a domestic system, loading a domestic component matched with the domestic system, and loading a functional component matched with the function of the application program to respond to the installation request.
2. The automatic adapting method according to claim 1, wherein determining the system type of the operating system according to the system parameter information comprises:
comparing the system parameter information with pre-stored system parameter information, wherein the pre-stored system parameter information comprises pre-stored non-domestic open source operating system parameter information and pre-stored domestic system parameter information;
if the system parameter information is matched with the parameter information of the pre-stored non-domestic open source operating system, determining that the system type of the operating system is the non-domestic open source operating system;
and if the system parameter information is matched with the pre-stored domestic system parameter information, determining the system type of the operating system to be the domestic system.
3. The automatic adapting method according to claim 1, wherein when the system type of the operating system is a non-domestic open source operating system, loading a standard component matched with the non-domestic open source operating system and loading a functional component adapted to the function of the application program to respond to the installation request, comprises:
and when the system type of the operating system is the non-domestic open source operating system, loading a standard database component and a standard message component which are matched with the non-domestic open source operating system, and loading a functional component which is matched with the function of the application program so as to respond to the installation request.
4. The auto-adaptation method according to claim 3, wherein the standard database component comprises a mysql component and the standard message component comprises a Redis component and/or a MQTT component.
5. The automatic adapting method according to claim 1, wherein when the system type of the operating system is a home system, loading a home component matching the home system and loading a functional component adapted to the function of the application program, in response to the installation request, comprises:
and when the system type of the operating system is a domestic system, loading a domestic database component and a domestic message component which are matched with the domestic system, and loading a functional component which is matched with the function of the application program so as to respond to the installation request.
6. The automatic adaptation method of claim 5, wherein the domestic database component comprises any one of a damamme database, a TDengine, a GBase, a Sequoia DB, an OceanBase, and an SSDB, and the domestic message component comprises any one of a CODIS, smart-mqtt, and an ApusicMQ.
7. An auto-adapter, when receiving an installation request of an application, comprising:
the obtaining module is used for obtaining system parameter information of the operating system, and the system parameter information includes: operating system information, middleware information, and hardware parameter information;
the determining module is used for determining the system type of the operating system according to the system parameter information, wherein the system type comprises a non-domestic open source operating system and a domestic system;
the first loading module is used for loading a standard component matched with the non-domestic open source operating system and loading a functional component matched with the function of the application program to respond to the installation request when the system type of the operating system is the non-domestic open source operating system;
and the second loading module is used for loading the domestic component matched with the domestic system and loading the functional component matched with the function of the application program to respond to the installation request when the system type of the operating system is the domestic system.
8. A storage medium storing computer instructions which are loaded by a processor to perform the automatic adaptation method of any one of claims 1 to 6.
9. An electronic device comprising a memory and a processor, the memory communicatively coupled to the processor, the processor capable of loading and executing computer instructions stored by the memory to implement the auto-adaptation method of any of claims 1 to 6.
CN202211077471.3A 2022-09-05 2022-09-05 Automatic adaptation method, device, storage medium and electronic equipment Active CN115167886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211077471.3A CN115167886B (en) 2022-09-05 2022-09-05 Automatic adaptation method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211077471.3A CN115167886B (en) 2022-09-05 2022-09-05 Automatic adaptation method, device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN115167886A CN115167886A (en) 2022-10-11
CN115167886B true CN115167886B (en) 2022-11-18

Family

ID=83481526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211077471.3A Active CN115167886B (en) 2022-09-05 2022-09-05 Automatic adaptation method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115167886B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457066A (en) * 2019-07-27 2019-11-15 湖南豪威电子信息技术服务有限公司 Make the framework of the compatible Windows system software of domestic operating system
CN112114980B (en) * 2020-08-31 2024-03-29 深圳市紫金支点技术股份有限公司 Middleware realization method supporting cross-platform service, intelligent terminal and storage medium
CN112083951B (en) * 2020-09-24 2024-05-14 中国人民解放军国防科技大学 Unified software package management method and system supporting multiple operating system platforms

Also Published As

Publication number Publication date
CN115167886A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
US6598223B1 (en) Method and system for installing and testing build-to-order components in a defined configuration computer system
US7752616B2 (en) Update system capable of updating software
EP2025095A2 (en) Device management in a network
CN102426531A (en) Intelligent terminal and application program updating system and method
US8726258B2 (en) Supporting multiple hardware components in UEFI
CN108595192B (en) Application program installation method and terminal equipment
CN110399151A (en) A kind of firmware update, device, equipment and medium
CN112162794B (en) Single board starting method, device, single board and network equipment
CN115167886B (en) Automatic adaptation method, device, storage medium and electronic equipment
US20230418585A1 (en) Method for generating update package of software
CN117130672A (en) Server start flow control method, system, terminal and storage medium
CN111338644A (en) Task script deployment method and system
CN107172610A (en) GSM network is from adaptation method, device and electronic equipment
US20150331772A1 (en) Methods for updating diagnostic tools on a hardware device and devices thereof
CN115509618A (en) Drive control method, device, apparatus, storage medium, and program product
CN110427199B (en) Method, equipment and readable medium for upgrading BMC and BIOS in matching manner
CN108363614B (en) Application service module management method and device and server
CN113452550A (en) Information acquisition device, firmware updating method and system of embedded system device
CN115617489B (en) Operating system migration method, migration application and migration application deployment method
EP3958114A1 (en) Software eligibility
CN116541253B (en) Application detection method, system, terminal equipment and readable storage medium
CN111459570B (en) PDF plug-in loading method, electronic equipment and computer storage medium
CN116257275A (en) BMC upgrading method and device, electronic equipment and storage medium
CN114647421A (en) Method and device for installing semiconductor control software, electronic equipment and storage medium
CN115390828A (en) Front-end function generation method, device, equipment and readable storage medium

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
GR01 Patent grant
GR01 Patent grant