[go: up one dir, main page]

CN113504936A - Software version release method, computer device and storage medium - Google Patents

Software version release method, computer device and storage medium Download PDF

Info

Publication number
CN113504936A
CN113504936A CN202110615471.3A CN202110615471A CN113504936A CN 113504936 A CN113504936 A CN 113504936A CN 202110615471 A CN202110615471 A CN 202110615471A CN 113504936 A CN113504936 A CN 113504936A
Authority
CN
China
Prior art keywords
software version
functional
version information
layer
functional characteristics
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.)
Granted
Application number
CN202110615471.3A
Other languages
Chinese (zh)
Other versions
CN113504936B (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202110615471.3A priority Critical patent/CN113504936B/en
Publication of CN113504936A publication Critical patent/CN113504936A/en
Application granted granted Critical
Publication of CN113504936B publication Critical patent/CN113504936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/4401Bootstrapping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application relates to a software version release method, computer equipment and a storage medium, wherein the method comprises the following steps: loading and running a bootstrap program, wherein software version information set based on software version customization requirements is stored in the bootstrap program; based on the software version information, dynamically adapting the software version information and the functional characteristics of each layer of the system to obtain a dynamic adaptation result; and when determining that the functional characteristics of each layer of the system have target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring functional data of the target functional characteristics, and issuing a software version corresponding to the target functional characteristics based on the functional data. By adopting the method, the release efficiency of the software version can be improved.

Description

Software version release method, computer device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for releasing a software version of an embedded system, a computer device, and a storage medium.
Background
With the development of computer technology, when software versions are released, development modes of different gits (distributed version control systems) are mostly adopted according to customization requirements of different customers, so that the problem of difference of requirements of different current customers is solved.
However, because of more customers, when the git is adopted for software version release, a slightly larger system will spend more time compiling a plurality of software versions, and meanwhile, the multi-branch maintenance also brings considerable maintenance difficulty to developers.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a software version distribution method, a computer device, and a storage medium that can improve software version distribution efficiency.
A software version release method, the method comprising:
loading and running a bootstrap program, wherein software version information set based on software version customization requirements is stored in the bootstrap program;
based on the software version information, dynamically adapting the software version information and the functional characteristics of each layer of the system to obtain a dynamic adaptation result;
and when determining that the functional characteristics of each layer of the system have target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring functional data of the target functional characteristics, and issuing a software version corresponding to the target functional characteristics based on the functional data.
In one embodiment, the software version information includes a check code, and before dynamically adapting the software version information to the functional characteristics of each layer of the system based on the software version information, the method includes:
and verifying the legality of the software version information based on the check code in the software version information to determine whether the software version information is legal or not.
In one embodiment, before the loading and running the boot program, the method includes:
and dynamically writing the software version information into a binary file of the bootstrap program.
In one embodiment, the dynamically adapting, based on the software version information, the software version information and the functional characteristics of each layer of the system to obtain a dynamic adaptation result includes:
obtaining functional characteristic data stored in the software version information based on the software version information; and dynamically adapting the functional characteristic data and the functional characteristics of each layer of the system based on the functional characteristic data to obtain a dynamic adaptation result.
In one embodiment, the dynamically adapting, based on the functional characteristic data, the functional characteristic data and the functional characteristics of each layer of the system to obtain a dynamic adaptation result includes:
determining an association relationship between the functional characteristic data and the functional characteristics of the bootstrap layer, the operating system layer and the application layer based on the functional characteristic data;
and obtaining a dynamic adaptation result based on the incidence relation.
In one embodiment, the acquiring of the functional data of the target functional characteristic includes:
when determining that the functional characteristics of the bootstrap layer have target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring functional data of the target functional characteristics at the bootstrap layer;
when the functional characteristics of the operating system layer are determined to have target functional characteristics matched with the software version information based on the dynamic adaptation result, format conversion is carried out on the software version information, the software version information after format conversion is transmitted to the operating system layer based on a guide parameter, and functional data of the target functional characteristics are obtained at the operating system layer;
and when determining that the functional characteristics of the application layer have target functional characteristics matched with the software version information based on the dynamic adaptation result, generating a software version information calling interface, and acquiring functional data of the target functional characteristics at the application layer.
In one embodiment, the publishing the software version corresponding to the target functional characteristic based on the functional data includes:
burning the functional data into a nonvolatile storage space based on the functional data;
and issuing a software version corresponding to the target function characteristic based on the function data in the nonvolatile storage space.
In one embodiment, when the target functional characteristic is at least one of a functional characteristic of a boot program layer, a functional characteristic of an operating system layer and a functional characteristic of an application layer, functional data of the target functional characteristic is called, and a software version corresponding to the target functional characteristic is issued based on the functional data.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the software version release method described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the software version issuing method described above.
According to the software version release method, the computer equipment and the storage medium, the bootstrap program is loaded and operated, and the software version information set based on the software version customization requirement is stored in the bootstrap program; based on the software version information, dynamically adapting the software version information and the functional characteristics of each layer of the system to obtain a dynamic adaptation result; and when determining that the functional characteristics of each layer of the system have target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring functional data of the target functional characteristics, and issuing a software version corresponding to the target functional characteristics based on the functional data. The method for dynamically adapting the software version information and the functional characteristics of each layer of the system can determine the target functional characteristics adapted to the software version information, and the software version corresponding to the target functional characteristics is released based on the functional data by acquiring the functional data of the target functional characteristics, so that the release efficiency of the software version can be improved by the method.
Drawings
FIG. 1 is a flowchart illustrating a software version release method according to an embodiment;
FIG. 2 is a flowchart illustrating a software version release method according to another embodiment;
FIG. 3 is a block diagram showing the configuration of a software version issuing apparatus in one embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The software version release method can be applied to the terminal. For the user's needs, a software version corresponding to the user's needs may be released. In practical application, the user's requirements are different, and the software versions issued to the user are also different, for example, some software versions possibly required by the user are modems capable of being configured on the embedded system boot program layer, serial port drivers are loaded on the operating system layer of the embedded system, and instructions are sent on the application layer of the embedded system, and some software versions possibly required by the user are instructions sent only on the application layer of the embedded system, in order to issue the required software versions for the user, a git branch can be established on the terminal, wherein codes capable of realizing different functional characteristics can be compiled in the established git branch, and the codes compiled in the git branch are compiled to obtain a compiling result, and the compiling result is stored, wherein functional data capable of realizing the functional characteristics of each layer of the system are stored in the compiling result, for example, the compiling result may include function data configuring a USB modem (universal serial bus modem) at a boot program layer, function data loading a UART (serial port) driver at an operating system layer, and function data sending an instruction at an application layer, where each function data may be provided with a feature identifier, and the feature identifier may be a number, a letter, a feature code, or the like. And burning the corresponding functional data into the nonvolatile storage space, so that the software version required by the user can be released based on the functional data in the nonvolatile storage space. Optionally, the git branch may not be established on the terminal, and the codes capable of realizing different functional characteristics are compiled directly on the compiling software on the terminal, so as to obtain a compiling result after the compiling is completed, and store the compiling result.
When a software version needs to be released to a user, a bootstrap program on a terminal can be loaded, wherein the bootstrap program stores software version information set based on a software version customization requirement, the software version information can be written into a binary file of the bootstrap program when the software version customization requirement of the user is received, or can be written into the binary file of the bootstrap program after codes in a git branch are successfully compiled, the software version information only needs to be written before the bootstrap program is loaded, the software version information stores information related to the user requirement, wherein the software version information can be provided with an identifier adapted to a feature identifier of functional data, and the software version information and the functional characteristics of each layer of a system are dynamically adapted based on the software version information to obtain a dynamic adaptation result; and when the target functional characteristics matched with the software version information exist in the functional characteristics of each layer of the system based on the dynamic adaptation result, acquiring functional data of the target functional characteristics from the compiling result, and releasing the software version corresponding to the target functional characteristics based on the functional data. The terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
In an embodiment, as shown in fig. 1, a software version release method is provided, which is described by taking an example that the method is applied to a terminal, and includes the following steps:
and S102, loading and running a bootstrap program, wherein the bootstrap program stores software version information set based on the software version customization requirement.
The bootstrap program is a section of executable program that can boot the hardware system, establish a mapping map of a memory space, perform corresponding initialization and setting on the software and hardware, and the like, and by loading the bootstrap program, an environment can be prepared for running the operating system. The software version information refers to information related to the user's needs, and the user's needs may be to configure a USB (universal serial bus) modem AT the bootstrap layer, load a UART (serial port) driver AT the operating system layer, send an electric power AT command AT the application layer, or configure a PCIE (memory expansion interface) modem AT the bootstrap layer, load an IIS (internet identification system) driver AT the operating system layer, send a universal AT command AT the application layer, and the like, and make appropriate adjustments based on the information of different users and the software version information.
And step S104, based on the software version information, dynamically adapting the software version information to the functional characteristics of each layer of the system to obtain a dynamic adaptation result.
The functional characteristics of each layer of the system are functions which can be realized in each layer, and after the bootstrap program is loaded and run, the dynamic adaptation can be carried out on the functional characteristics of each layer of the system based on the software version information, and a dynamic adaptation result is obtained.
And step S106, when determining that the functional characteristics of each layer of the system have the target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring the functional data of the target functional characteristics, and issuing the software version corresponding to the target functional characteristics based on the functional data.
The target function characteristic is determined after the software version information is dynamically adapted to the function characteristics of each layer of the system, the function data of the target function characteristic refers to compiled codes capable of realizing corresponding functions, the function data of the target function characteristic can be acquired after the target function characteristic is determined, and the software version corresponding to the target function characteristic is issued based on the acquired function data.
In the software version release method, a bootstrap program is loaded and operated, and software version information set based on software version customization requirements is stored in the bootstrap program; based on the software version information, dynamically adapting the software version information and the functional characteristics of each layer of the system to obtain a dynamic adaptation result; and when determining that the functional characteristics of each layer of the system have target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring functional data of the target functional characteristics, and issuing a software version corresponding to the target functional characteristics based on the functional data. The method for dynamically adapting the software version information and the functional characteristics of each layer of the system can determine the target functional characteristics adapted to the software version information, and the software version corresponding to the target functional characteristics is released based on the functional data by acquiring the functional data of the target functional characteristics, so that the release efficiency of the software version can be improved by the method.
In one embodiment, the software version information includes a check code, and before dynamically adapting the software version information to the functional characteristics of each layer of the system based on the software version information, the method includes: and verifying the legality of the software version information based on the check code in the software version information to determine whether the software version information is legal or not.
The software version information comprises a check code, the validity of the version information can be verified through the check code, whether the software version information is legal or not is determined, wherein the check code can be a crc (cyclic) check code, when validity verification is carried out based on the crc check code, and if the verification is passed, the software version information is legal. The validity of the software version information can be confirmed and verified through the method.
In one embodiment, before the loading and running the boot program, the method includes:
and dynamically writing the software version information into a binary file of the bootstrap program.
The software version information can be dynamically written into the binary file of the bootstrap program, so that the software version information can be conveniently modified on the basis of not changing the source code of the bootstrap program.
In one embodiment, the dynamically adapting, based on the software version information, the software version information and the functional characteristics of each layer of the system to obtain a dynamic adaptation result includes: obtaining functional characteristic data stored in the software version information based on the software version information; and dynamically adapting the functional characteristic data and the functional characteristics of each layer of the system based on the functional characteristic data to obtain a dynamic adaptation result.
The software version information may be analyzed after the software version information is obtained, so as to obtain functional characteristic data stored in the software version information, and the functional characteristic data stored in the software version information is different according to requirements of different users, for example, the functional characteristic data analyzed from the software version information may be related to a system boot program layer, a system operating system layer and a system application layer, or may be related to only the system boot program layer, only the system operating system layer and only the system application layer. And dynamically adapting the functional characteristic data and the functional characteristics of each layer of the system according to the analyzed functional characteristic data, so that a dynamic adaptation result can be obtained by the method.
In one embodiment, the dynamically adapting, based on the functional characteristic data, the functional characteristic data and the functional characteristics of each layer of the system to obtain a dynamic adaptation result includes: determining an association relationship between the functional characteristic data and the functional characteristics of the bootstrap layer, the operating system layer and the application layer based on the functional characteristic data; and obtaining a dynamic adaptation result based on the incidence relation.
After the functional characteristic data is analyzed based on the software version information, the association relationship between the analyzed functional characteristic data and the functional characteristics of the bootstrap layer, the operating system layer and the application layer can be determined; and obtaining a dynamic adaptation result based on the association relation.
In one embodiment, the acquiring of the functional data of the target functional characteristic includes:
when determining that the functional characteristics of the bootstrap layer have target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring functional data of the target functional characteristics at the bootstrap layer;
when the functional characteristics of the operating system layer are determined to have target functional characteristics matched with the software version information based on the dynamic adaptation result, format conversion is carried out on the software version information, the software version information after format conversion is transmitted to the operating system layer based on a guide parameter, and functional data of the target functional characteristics are obtained at the operating system layer;
and when determining that the functional characteristics of the application layer have target functional characteristics matched with the software version information based on the dynamic adaptation result, generating a software version information calling interface, and acquiring functional data of the target functional characteristics at the application layer.
When the functional characteristics of the application layer are determined to have the target functional characteristics matched with the software version information, the codes capable of realizing the loading of the UART driver are obtained in the operating system layer. Thus, the functional data of the target functional characteristic can be acquired by the method.
In one embodiment, the publishing the software version corresponding to the target functional characteristic based on the functional data includes:
burning the functional data into a nonvolatile storage space based on the functional data; and issuing a software version corresponding to the target function characteristic based on the function data in the nonvolatile storage space.
After the functional data are obtained, the functional data can be burned into the nonvolatile storage space, and the software version corresponding to the target functional characteristic is released based on the functional data in the nonvolatile storage space, so that the software version can be released by the method.
In one embodiment, when the target functional characteristic is at least one of a functional characteristic of a boot program layer, a functional characteristic of an operating system layer and a functional characteristic of an application layer, functional data of the target functional characteristic is called, and a software version corresponding to the target functional characteristic is issued based on the functional data.
For example, when the target function characteristic is only the function characteristic of the bootstrap layer, the function data of the target function characteristic may be acquired at the bootstrap layer, when the target function characteristic is only the function characteristic of the operating system layer, the function data of the target function characteristic may be acquired at the bootstrap layer, and when the target function characteristic is only the function characteristic of the application layer, the function data of the target function characteristic may be acquired at the bootstrap layer.
In an embodiment, as shown in fig. 2, a flowchart of a software version release method in a specific embodiment is shown:
for the user's needs, a software version corresponding to the user's needs may be released. In practical applications, the user's requirements are different, and the software versions issued to the user are also different, for example, some software versions that the user may need are modems that can implement configuring interfaces at the embedded system boot program layer, serial drivers are loaded at the embedded system operating system layer, and instructions are sent at the embedded system application layer, some software versions that the user may need are instructions only sent at the embedded system application layer, and in order to issue the software versions that the user needs, a git branch may be established on the terminal, wherein codes that can implement different functional characteristics may be written in the git branch, and the codes written in the git branch may be compiled to obtain a compilation result, and the compilation result is stored, wherein the compilation result stores functional data that can implement the functional characteristics of each layer of the system, for example, the compiling result may include function data configuring a USB modem (universal serial bus modem) at a boot program layer, function data loading a UART (serial port) driver at an operating system layer, and function data sending an instruction at an application layer, where each function data may be provided with a feature identifier, and the feature identifier may be a number, a letter, a feature code, or the like. Optionally, the git branch may not be established on the terminal, and the codes that can implement different functional characteristics are compiled directly on the compiling software on the terminal, and after the compiling is completed, the compiling result is obtained, and the compiling result is stored.
When a software version needs to be released to a user, a bootstrap program on a terminal can be loaded, wherein the bootstrap program stores software version information set based on a software version customization requirement, the software version information can be written into a binary file of the bootstrap program when the software version customization requirement of the user is received, or can be written into the binary file of the bootstrap program after code compilation in a git branch is successful, the bootstrap program can be written before the bootstrap program is loaded, the bootstrap program refers to a section of executable program which can guide a hardware system to be started, establish a mapping chart of a memory space, correspondingly initialize and set software and hardware, and the like, and an environment can be prepared for operating an operating system by loading the bootstrap program. The software version information refers to information related to the user's needs, and the user's needs may be to configure a USB (universal serial bus) modem AT the bootstrap layer, load a UART (serial port) driver AT the operating system layer, send an electric power AT command AT the application layer, or configure a PCIE (memory expansion interface) modem AT the bootstrap layer, load an IIS (internet identification system) driver AT the operating system layer, send a universal AT command AT the application layer, and the like, and make appropriate adjustments based on the information of different users and the software version information. The software version information can be dynamically written into the binary file of the bootstrap program, so that the software version information can be conveniently modified on the basis of not changing the source code of the bootstrap program.
After the software version information is acquired, the validity of the version information can be verified through the check code in the software version information, whether the software version information is legal or not is determined, and after the software version information is determined to be legal, the software version information can be analyzed.
The functional characteristic data stored in the software version information is obtained by analyzing the software version information, and the functional characteristic data stored in the software version information is different according to the requirements of different users, for example, the functional characteristic data analyzed from the software version information may be related to a system boot program layer, a system operating system layer and a system application layer, or may be related to only the system boot program layer, only the system operating system layer and only the system application layer. And dynamically adapting the functional characteristic data to the functional characteristics of each layer of the system according to the analyzed functional characteristic data.
When the functional characteristics of the bootstrap layer are determined to have target functional characteristics matched with the software version information, acquiring functional data of the target functional characteristics AT the bootstrap layer, if the target functional characteristics are configuration USB modems, acquiring codes capable of realizing configuration of the USB modems AT the bootstrap layer, when the functional characteristics of the operating system layer are determined to have the target functional characteristics matched with the software version information, if the target functional characteristics are loading UART drivers, acquiring the codes capable of realizing loading of the UART drivers AT the operating system layer, and if the functional characteristics of the application layer are determined to have the target functional characteristics matched with the software version information, if the target functional characteristics are sending general AT instructions, acquiring the codes capable of realizing sending of the general AT instructions AT the application layer.
After the functional data is obtained, the functional data can be burned into the nonvolatile storage space, and the software version corresponding to the target functional characteristic is released based on the functional data in the nonvolatile storage space, so that the software version can be released by the method.
It should be understood that although the various steps in the flow charts of fig. 1-2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 3, there is provided a software version issuing apparatus including: the system comprises a bootstrap program loading module, a dynamic adaptation module and a software version release module, wherein:
the bootstrap loading module 302 is configured to load and run a bootstrap, where software version information set based on a software version customization requirement is stored in the bootstrap.
And a dynamic adaptation module 304, configured to perform dynamic adaptation on the software version information and the functional characteristics of each layer of the system based on the software version information, so as to obtain a dynamic adaptation result.
A software version release module 306, configured to, when it is determined, based on the dynamic adaptation result, that a target function characteristic matching the software version information exists in the function characteristics of each layer of the system, invoke function data of the target function characteristic, and release, based on the function data, a software version corresponding to the target function characteristic.
In one embodiment, the apparatus comprises:
and the verification module is used for verifying the legality of the software version information based on the verification code in the software version information and determining whether the software version information is legal or not.
And the software version information writing module is used for dynamically writing the software version information into the binary file of the bootstrap program.
In one embodiment, the dynamic adaptation module is configured to obtain, based on the software version information, functional characteristic data stored in the software version information; and dynamically adapting the functional characteristic data and the functional characteristics of each layer of the system based on the functional characteristic data to obtain a dynamic adaptation result.
In one embodiment, the dynamic adaptation module is configured to determine, based on the functional characteristic data, an association relationship between the functional characteristic data and a functional characteristic of a boot layer, a functional characteristic of an operating system layer, and a functional characteristic of an application layer; and obtaining a dynamic adaptation result based on the incidence relation.
In one embodiment, the software version release module is configured to, when it is determined that the target functional characteristic matching the software version information exists in the functional characteristic of the bootstrap layer based on the dynamic adaptation result, obtain, at the bootstrap layer, functional data of the target functional characteristic; when the functional characteristics of the operating system layer are determined to have target functional characteristics matched with the software version information based on the dynamic adaptation result, format conversion is carried out on the software version information, the software version information after format conversion is transmitted to the operating system layer based on a guide parameter, and functional data of the target functional characteristics are obtained at the operating system layer; and when determining that the functional characteristics of the application layer have target functional characteristics matched with the software version information based on the dynamic adaptation result, generating a software version information calling interface, and acquiring functional data of the target functional characteristics at the application layer.
For specific limitations of the software version release apparatus, reference may be made to the above limitations of the software version release method, which is not described herein again. The respective modules in the software version issuing apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing functional data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a software version release method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a software version release method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configurations shown in fig. 4 and 5 are block diagrams of only some of the configurations relevant to the present disclosure, and do not constitute a limitation on the computing devices to which the present disclosure may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the software version release method described above when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the software version release method described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for releasing a software version, the method comprising:
loading and running a bootstrap program, wherein software version information set based on software version customization requirements is stored in the bootstrap program;
based on the software version information, dynamically adapting the software version information and the functional characteristics of each layer of the system to obtain a dynamic adaptation result;
and when determining that the functional characteristics of each layer of the system have target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring functional data of the target functional characteristics, and issuing a software version corresponding to the target functional characteristics based on the functional data.
2. The method of claim 1, wherein the software version information comprises a check code, and before dynamically adapting the software version information to the functional characteristics of each layer of the system based on the software version information, the method comprises:
and verifying the legality of the software version information based on the check code in the software version information to determine whether the software version information is legal or not.
3. The method of claim 1, wherein prior to said loading the boot program, comprising:
and dynamically writing the software version information into a binary file of the bootstrap program.
4. The method according to claim 1, wherein dynamically adapting the software version information to the functional characteristics of each layer of the system based on the software version information to obtain a dynamic adaptation result comprises:
obtaining functional characteristic data stored in the software version information based on the software version information;
and dynamically adapting the functional characteristic data and the functional characteristics of each layer of the system based on the functional characteristic data to obtain a dynamic adaptation result.
5. The method according to claim 4, wherein dynamically adapting the functional characteristic data to the functional characteristics of the layers of the system based on the functional characteristic data to obtain a dynamic adaptation result comprises:
determining an association relationship between the functional characteristic data and the functional characteristics of the bootstrap layer, the operating system layer and the application layer based on the functional characteristic data;
and obtaining a dynamic adaptation result based on the incidence relation.
6. The method of claim 1, wherein the functional characteristics of each layer of the system include functional characteristics of a boot program layer, functional characteristics of an operating system layer, and functional characteristics of an application layer, and the obtaining the functional data of the target functional characteristics includes:
when determining that the functional characteristics of the bootstrap layer have target functional characteristics matched with the software version information based on the dynamic adaptation result, acquiring functional data of the target functional characteristics at the bootstrap layer;
when the functional characteristics of the operating system layer are determined to have target functional characteristics matched with the software version information based on the dynamic adaptation result, format conversion is carried out on the software version information, the software version information after format conversion is transmitted to the operating system layer based on a guide parameter, and functional data of the target functional characteristics are obtained at the operating system layer;
and when determining that the functional characteristics of the application layer have target functional characteristics matched with the software version information based on the dynamic adaptation result, generating a software version information calling interface, and acquiring functional data of the target functional characteristics at the application layer.
7. The method of claim 1, wherein said publishing a software version corresponding to the target functional characteristic based on the functional data comprises:
burning the functional data into a nonvolatile storage space based on the functional data;
and issuing a software version corresponding to the target function characteristic based on the function data in the nonvolatile storage space.
8. The method according to claim 1, wherein when the target functional characteristic is at least one of a functional characteristic of a boot layer, a functional characteristic of an operating system layer, and a functional characteristic of an application layer, function data of the target functional characteristic is called, and based on the function data, a software version corresponding to the target functional characteristic is released.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202110615471.3A 2021-06-02 2021-06-02 Software version release method, computer device and storage medium Active CN113504936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110615471.3A CN113504936B (en) 2021-06-02 2021-06-02 Software version release method, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110615471.3A CN113504936B (en) 2021-06-02 2021-06-02 Software version release method, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN113504936A true CN113504936A (en) 2021-10-15
CN113504936B CN113504936B (en) 2024-01-05

Family

ID=78009269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110615471.3A Active CN113504936B (en) 2021-06-02 2021-06-02 Software version release method, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN113504936B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869922A (en) * 2005-05-27 2006-11-29 青岛大学 Resource management device of built-in real-time operation system
CN102541609A (en) * 2012-02-17 2012-07-04 北京星网锐捷网络技术有限公司 Installation program manufacturing method, device and network device
CN104143067A (en) * 2014-08-05 2014-11-12 广东欧珀移动通信有限公司 Implementation method of a terminal device and software sharing mechanism
CN106371813A (en) * 2015-07-23 2017-02-01 广州汽车集团股份有限公司 Simulink-based motor controller software generation method for electric vehicle
US9652570B1 (en) * 2015-09-03 2017-05-16 Xilinx, Inc. Automatic implementation of a customized system-on-chip
CN109885337A (en) * 2019-03-06 2019-06-14 苏州浪潮智能科技有限公司 A kind of system version upgrade method, device, equipment and readable storage medium storing program for executing
CN111104158A (en) * 2019-12-23 2020-05-05 锐捷网络股份有限公司 Software packaging method and device, computer equipment and storage medium
CN111611002A (en) * 2020-04-27 2020-09-01 深圳市广和通无线股份有限公司 Data upgrading method and device, computer equipment and storage medium
CN112099766A (en) * 2020-11-18 2020-12-18 北京恒信启华信息技术股份有限公司 Demand management tool set for flexibly customizing enterprise application system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869922A (en) * 2005-05-27 2006-11-29 青岛大学 Resource management device of built-in real-time operation system
CN102541609A (en) * 2012-02-17 2012-07-04 北京星网锐捷网络技术有限公司 Installation program manufacturing method, device and network device
CN104143067A (en) * 2014-08-05 2014-11-12 广东欧珀移动通信有限公司 Implementation method of a terminal device and software sharing mechanism
CN106371813A (en) * 2015-07-23 2017-02-01 广州汽车集团股份有限公司 Simulink-based motor controller software generation method for electric vehicle
US9652570B1 (en) * 2015-09-03 2017-05-16 Xilinx, Inc. Automatic implementation of a customized system-on-chip
CN109885337A (en) * 2019-03-06 2019-06-14 苏州浪潮智能科技有限公司 A kind of system version upgrade method, device, equipment and readable storage medium storing program for executing
CN111104158A (en) * 2019-12-23 2020-05-05 锐捷网络股份有限公司 Software packaging method and device, computer equipment and storage medium
CN111611002A (en) * 2020-04-27 2020-09-01 深圳市广和通无线股份有限公司 Data upgrading method and device, computer equipment and storage medium
CN112099766A (en) * 2020-11-18 2020-12-18 北京恒信启华信息技术股份有限公司 Demand management tool set for flexibly customizing enterprise application system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CE MENG等: "Remote Attestation for Custom-built Software", 《2009 INTERNATIONAL CONFERENCE ON NETWORKS SECURITY, WIRELESS COMMUNICATIONS AND TRUSTED COMPUTING》, pages 374 *
吴梅荣: "嵌入式手机软件可定制化的研究", 《CNKI优秀硕士学位论文全文库 信息科技辑》, no. 12, pages 138 - 134 *

Also Published As

Publication number Publication date
CN113504936B (en) 2024-01-05

Similar Documents

Publication Publication Date Title
US8694981B2 (en) Shared resource dependencies
CN107992308B (en) Plug-in management method for android terminal application program
CN108829477B (en) Interface jump method, device, computer equipment and storage medium
CN107239309B (en) Patch generation method and device, updating method, electronic device and storage medium
KR102693699B1 (en) Apparatus and method for improving runtime performance after application update in electronic device
CN110399159A (en) Dispositions method, device, computer equipment and the storage medium of operating system
CN111813428A (en) Method and device for upgrading terminal firmware, electronic equipment and storage medium
CN111008132B (en) Application debugging method and device for Android system, computer equipment and storage medium
CN111399840A (en) Module development method and device
US12379911B2 (en) Application installation method and electronic device for supporting same
CN113504918A (en) Equipment tree configuration optimization method and device, computer equipment and storage medium
CN112162795A (en) Plug-in starting method and device, computer equipment and storage medium
KR20190109979A (en) Electronic device and method for controling update thereof
US20210011736A1 (en) Method and apparatus for managing application
CN102193818B (en) Virtual applications bag reconstructs
CN100470481C (en) Method and apparatus for continuation passing in virtual machines
CN107491316A (en) Extended method, device and the electronic equipment of baseboard management controller
CN110515671A (en) Initial method, apparatus for initializing, terminal device and readable storage medium storing program for executing
CN113504936B (en) Software version release method, computer device and storage medium
CN101853154A (en) Method for simplifying interfaces having dynamic libraries
CN111399926A (en) Method and device for downloading starting program
CN106951288B (en) Development and application method and device of hot upgrade resource
CN117093225A (en) Code file compilation method, system update method, device, server and equipment
CN113760384B (en) Application environment switching method, device, computer system and readable storage medium
CN112491799B (en) Remote repair method and device for communication module, computer equipment and 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