Application version management method and device

By creating a configuration table for each application version and setting the integration type in it, the problem of Cocoapods being unable to integrate source code and difficulty in management is solved, achieving efficient application version management and risk reduction.

CN113535221BActive Publication Date: 2024-10-18BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010301220.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-16
Publication Date
2024-10-18
Estimated Expiration
2040-04-16

AI Technical Summary

Technical Problem

In the existing technology, Cocoapods cannot integrate in the form of source code when managing iOS application modules, which makes it difficult to manage multi-version applications and find historical versions. Moreover, when installing applications, components need to be open source and the content risks are high.

Method used

Create a configuration table for each application version, and set the integration type in the configuration table to perform integration in the form of source code, which facilitates quick location and repair of problems without the need for open source components, achieving efficient management of multiple versions of applications.

Benefits of technology

It achieves efficient management of multiple versions of applications, facilitates finding and repairing problems, reduces content risks, and improves installation efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113535221B_ABST
    Figure CN113535221B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for application version management, and relates to the field of computer technology. A specific implementation of the method includes: determining the application version identifier of the application to be installed, obtaining a target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed; obtaining component data corresponding to each configuration record according to the integration type and component identifier of each configuration record in the target configuration table, and installing the application to be installed according to the component data. This implementation creates a configuration table for each version of the application, which can achieve efficient management of each version of the application, facilitate search, and does not require open source components, and has low content risk. By setting the integration type including source code integration in the configuration table, integration in source code form can be performed, which is convenient for quickly locating and repairing problems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for application version management. Background Art

[0002] In the prior art, Cocoapods (a third-class library management tool under OS X and iOS) is usually used to manage modules in iOS applications. Cocoapods integrates the binary files of each component into the main project, and cannot be integrated in the form of source code. It is not effective for the simultaneous development of multiple versions of applications, and it is difficult to find historical versions. In addition, when installing an application, it is often required that the component is open source, and the content risk is relatively high. Summary of the invention

[0003] In view of this, the embodiment of the present invention provides a method and device for application version management, which creates a configuration table for each version of the application, can achieve efficient management of each version of the application, facilitate search, and does not require component open source, and has low content risk. By setting the integration type including source code integration in the configuration table, source code integration can be performed, which is convenient for quickly locating and repairing problems.

[0004] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for application version management is provided, comprising:

[0005] Determine an application version identifier of the application to be installed, and obtain a target configuration table corresponding to the application version identifier from a configuration table set of the application to be installed; the configuration table set includes: at least one configuration table, and the application version identifier of the configuration table;

[0006] According to the integration type and component identification of each configuration record in the target configuration table, component data corresponding to each configuration record is acquired, and the application to be installed is installed according to the component data; the configuration record includes: component identification and integration type.

[0007] Optionally, the method of the embodiment of the present invention further includes: before acquiring the target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed, creating the configuration table set according to the following steps:

[0008] Create an empty configuration table, and determine the application version identifier of the configuration table;

[0009] Components to be integrated into each configuration record in the configuration table are selected from the published component set, and component identifiers and integration types of the components are set to form each configuration record in the configuration table.

[0010] Optionally, the method of the embodiment of the present invention further includes: before selecting components to be integrated into each configuration record in the configuration table from the published component set, converting the component source code of each component of the application to be installed into a binary file for publication, and marking the component identifier of each component.

[0011] Optionally, the integration type includes: source code integration and binary integration.

[0012] Optionally, the configuration table set further includes: text descriptions of the configuration tables.

[0013] Optionally, the application version identifier includes: a release version identifier and an internal version identifier.

[0014] Optionally, the component identifier includes: a component name identifier and a component version identifier.

[0015] Optionally, the configuration record also includes at least one of the following: integration time, integrator.

[0016] According to a second aspect of an embodiment of the present invention, there is provided an apparatus for application version management, including:

[0017] The parsing module determines the application version identifier of the application to be installed, and obtains a target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed; the configuration table set includes: at least one configuration table, and the application version identifier of the configuration table;

[0018] The installation module obtains component data corresponding to each configuration record according to the integration type and component identification of each configuration record in the target configuration table, and installs the application to be installed according to the component data; the configuration record includes: component identification and integration type.

[0019] Optionally, the apparatus of the embodiment of the present invention further includes a configuration module, which is used to: before the parsing module obtains the target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed, create the configuration table set according to the following steps:

[0020] Create an empty configuration table, and determine the application version identifier of the configuration table;

[0021] Components to be integrated into each configuration record in the configuration table are selected from the published component set, and component identifiers and integration types of the components are set to form each configuration record in the configuration table.

[0022] Optionally, the device of an embodiment of the present invention also includes a publishing module, which is used to: before the configuration module selects components to be integrated into each configuration record in the configuration table from the published component set, convert the component source code of each component of the application to be installed into a binary file for publication, and mark the component identifier of each component.

[0023] Optionally, the integration type includes: source code integration and binary integration.

[0024] Optionally, the configuration table set further includes: text descriptions of the configuration tables.

[0025] Optionally, the application version identifier includes: a release version identifier and an internal version identifier.

[0026] Optionally, the component identifier includes: a component name identifier and a component version identifier.

[0027] Optionally, the configuration record also includes at least one of the following: integration time, integrator.

[0028] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for application version management, including:

[0029] one or more processors;

[0030] a storage device for storing one or more programs,

[0031] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.

[0032] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.

[0033] One embodiment of the above invention has the following advantages or beneficial effects: a configuration table is created for each version of the application, which can achieve efficient management of each version of the application, facilitate search, and does not require component open source, and has low content risk. By setting the integration type including source code integration in the configuration table, source code integration can be performed, which is convenient for quickly locating and fixing problems.

[0034] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific implementation examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0036] Figure 1is a schematic diagram of the main process of the method for application version management according to an embodiment of the present invention;

[0037] Figure 2 is a schematic diagram of a configuration table set in an embodiment of the present invention;

[0038] Figure 3 is a schematic diagram of the composition of a configuration table in some embodiments of the present invention;

[0039] Figure 4 is a schematic diagram of the composition of a configuration table in other embodiments of the present invention;

[0040] Figure 5 It is a schematic diagram of the process of component release in an embodiment of the present invention;

[0041] Figure 6 is a schematic diagram of a process for generating a configuration table in an embodiment of the present invention;

[0042] Figure 7 is a schematic diagram of main modules of an apparatus for application version management according to an embodiment of the present invention;

[0043] Figure 8 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0044] Fig. 9 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0046] According to one aspect of an embodiment of the present invention, a method for application version management is provided, including:

[0047] Determine an application version identifier of the application to be installed, and obtain a target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed;

[0048] Component data corresponding to each configuration record is acquired according to the integration type and component identifier of each configuration record in the target configuration table, and the application to be installed is installed according to the component data.

[0049] The application version identifier is used to uniquely represent a version of the application, and each version corresponds to a configuration table. The application version identifier may only include the identifier of the release version (Version), that is, the publicly released version of the application, which emphasizes functionality and usually has certain / major changes, improvements or additions in terms of functionality, including repairs for some major vulnerabilities, such as: V1.0, V1.01, V2.0, V2.3..., etc. The application version identifier may also only include the identifier of the internal version (Build), that is, the version generated after any modification to the program source code and recompilation, which may occur in the debugging, optimization, and testing stages before the software is publicly released, or after the software is officially released. In an optional embodiment, the application version identifier includes: a release version identifier and an internal version identifier. Each configuration record in the configuration table includes a release version identifier and an internal version identifier, which is convenient for managing the applications of each release version and internal version.

[0050] A configuration table collection refers to the collection of configuration tables of all versions of an application, such as Figure 2 As shown. The configuration table set includes: at least one configuration table, and an application version identifier of the configuration table, so as to obtain the corresponding configuration table according to the application version identifier. The embodiment of the present invention creates a configuration table for each version of the application, which can achieve efficient management of each version of the application, facilitate search, and does not require open source components, and has low content risk. Multiple configuration tables can be switched flexibly, and when installing the application, information is automatically pulled according to the configuration table for installation, and the application operating environment is quickly created, so that special application scenarios can be efficiently created even during development and testing. If a problem is found when maintaining the application, it can be quickly traced back to a certain version, so that both development and maintenance can save manpower and time, and greatly improve the time required to restore the application environment.

[0051] Optionally, the configuration table set also includes: a text description of the configuration table, which is a brief introduction to the configuration table, such as the main function (such as testing or release, etc.) Setting a text description for each configuration table facilitates quick distinction between similar version identifiers when selecting a version.

[0052] like Figure 2 As shown, the configuration table includes one or more configuration records, and each configuration record corresponds to a component of the application. The configuration record includes: component identification and integration type. The component identification is used to uniquely represent a component, and the component corresponding to the configuration record can be determined based on the component identification. The content of the component identification can be selectively set according to actual conditions. Optionally, the component identification includes: component name identification and component version identification. Each configuration record in the configuration table includes a component name identification and a component version identification, which is convenient for selecting components of different versions according to integration requirements.

[0053] Different integration methods obtain different component data types. The specific content of the integration type can be selectively set according to the actual situation. For example, the integration type includes source code integration and binary integration. By setting the integration type including source code integration in the configuration table, source code integration can be performed, which is convenient for quickly locating and fixing problems. There is no need to make changes in separate components and then integrate them into the application for verification, which is very convenient for development and debugging. In addition, this embodiment can realize fast switching between source code and binary.

[0054] Optionally, the configuration record further includes at least one of the following: integration time, integrator. Each configuration record in the configuration table includes the integration time, which is convenient for understanding the last completion time of the configuration record. Each configuration record in the configuration table includes the integrator, which is convenient for quickly finding the responsible person when a problem occurs in the component function.

[0055] There are many ways to compose a configuration table for an application, and those skilled in the art can selectively set it according to actual needs. Figure 3 and 4 FIG. 2 shows a schematic diagram of the composition of a configuration table in an optional embodiment of the present invention. Figure 3 In the illustrated embodiment, all components are components of the application. Figure 3 As shown in the figure, all components in the configuration table are from the application App-A, and each component contains different business logic content. Select the configuration according to your needs. Figure 3 In the configuration table, it indicates that the components A, C, and D under the application App-A are used. Figure 4 In the illustrated embodiment, the configuration table contains components under multiple applications. Figure 4 As shown in the figure, a configuration table of application App-A uses components under three applications B, C, and D. These components include components A and B under application B, component B under application C, and component A under application D.

[0056] Figure 1 is a schematic diagram of the main process of the method for application version management according to an embodiment of the present invention, Figure 1What is shown in the figure is the installation process of a single configuration table. First, select the configuration table you need to use according to your personal needs. The records in the table can be regarded as an array. Each record in the array is a configuration record. Read a configuration record to determine whether the component integration type in the configuration record is source code integration. If it is source code integration, get the component source code to the project directory. If it is binary, get the binary file to the project. Read the contents of the configuration table in sequence until the last configuration record is read, and the contents of the configuration table can be installed. At this time, switching the project can completely reproduce the contents of the application version corresponding to the configuration table. When switching the configuration table for installation, the above installation process will also be executed, but if some components in the new configuration table have been downloaded before, there is no need to pull the server files, which can save time installing the configuration table.

[0057] Optionally, the method of an embodiment of the present invention also includes: before obtaining the target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed, creating the configuration table set according to the following steps: creating an empty configuration table and determining the application version identifier of the configuration table; selecting components to be integrated into each configuration record in the configuration table from the published component set, and setting the component identifier and integration type of the component to form each configuration record in the configuration table.

[0058] For example, Figure 6 As shown, the steps to generate a configuration table include:

[0059] (1) Create a configuration table: Fill in the version identifiers Version and Build of the configuration table, and configure a simple text description for the configuration table to explain the main function of the configuration table, so as to facilitate quick distinction between similar version numbers when selecting versions later.

[0060] (2) Component release: If the component has already been released and there is no update content, you can skip this step. When releasing a component, the component source code is packaged into a binary file (framework), the framework is uploaded to the server, and the code is tagged with a version tag. Figure 5 .

[0061] (3) Component Integration: To integrate a component into a configuration table, you need to first select the version and build of the configuration table to be integrated. During integration, you will be prompted to select the component version identifier and integration type to integrate the component content as needed. Different versions of components may have different functions, so just select the required component version. Selecting source code integration as the configuration table integration type allows for easy debugging and code modification, and quick correction of problems.

[0062] (4) If other components need to be integrated, repeat steps (2) and (3) until the required components are integrated. A complete configuration table is then formed.

[0063] Optionally, the method of the embodiment of the present invention further includes: before selecting the components to be integrated into each configuration record in the configuration table from the published component set, converting the component source code of each component of the application to be installed into a binary file for publication, and marking the component identifier of each component. In the actual application process, the binary file can be uploaded to the server for storage and publication, such as Figure 5 shown.

[0064] The embodiment of the present invention creates a configuration table for each version of the application, which can achieve efficient management of each version of the application, facilitate search, and does not require component open source, and has low content risk. By setting the integration type including source code integration in the configuration table, source code integration can be performed, which is convenient for quickly locating and repairing problems.

[0065] When creating the configuration table for each application version, you can first lock the configuration table. After the integration time is finally determined, unlock it within the integration time range, and the module integration will be performed by the person in charge of each module. Locking and unlocking are equivalent to permission management. When locked, no one can add components to the configuration table or update the existing component version. After unlocking, people with the integration permission of the configuration table can perform the component integration operation. Usually, when each version of the application is released, the configuration table corresponding to the version is locked and cannot be modified by anyone.

[0066] It should be noted that the method of the embodiment of the present invention can be used to manage modules in iOS applications as well as in Android applications. When used to manage modules in Android applications, some implementation details are slightly modified, such as modifying the application version identifiers Version and Build to the version identifiers of the application in the Android system.

[0067] According to a second aspect of an embodiment of the present invention, a device for implementing the above method is provided.

[0068] Figure 7 is a schematic diagram of the main modules of the device for application version management according to an embodiment of the present invention, such as Figure 7 As shown, the device 700 for application version management includes:

[0069] The parsing module 701 determines an application version identifier of the application to be installed, and obtains a target configuration table corresponding to the application version identifier from a configuration table set of the application to be installed; the configuration table set includes: at least one configuration table, and the application version identifier of the configuration table;

[0070] The installation module 702 obtains component data corresponding to each configuration record according to the integration type and component identifier of each configuration record in the target configuration table, and installs the application to be installed according to the component data; the configuration record includes: component identifier and integration type.

[0071] Optionally, the apparatus of the embodiment of the present invention further includes a configuration module (not shown in the figure), which is used to: before the parsing module obtains the target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed, create the configuration table set according to the following steps:

[0072] Create an empty configuration table, and determine the application version identifier of the configuration table;

[0073] Components to be integrated into each configuration record in the configuration table are selected from the published component set, and component identifiers and integration types of the components are set to form each configuration record in the configuration table.

[0074] Optionally, the device of an embodiment of the present invention also includes a publishing module (not shown in the figure), which is used to: before the configuration module selects components to be integrated into each configuration record in the configuration table from the set of published components, convert the component source code of each component of the application to be installed into a binary file for publication, and mark the component identifier of each component.

[0075] Optionally, the configuration table set further includes: text descriptions of the configuration tables.

[0076] Optionally, the application version identifier includes: a release version identifier and an internal version identifier.

[0077] Optionally, the integration type includes: source code integration and binary integration.

[0078] Optionally, the component identifier includes: a component name identifier and a component version identifier.

[0079] Optionally, the configuration record also includes at least one of the following: integration time, integrator.

[0080] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for application version management, including:

[0081] one or more processors;

[0082] a storage device for storing one or more programs,

[0083] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the embodiment of the present invention.

[0084] According to a fourth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present invention is implemented.

[0085] Figure 8 An exemplary system architecture 800 is shown to which the method or apparatus for application version management according to an embodiment of the present invention may be applied.

[0086] like Figure 8 As shown, system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0087] Users can use terminal devices 801, 802, and 803 to interact with server 805 through network 804 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 801, 802, and 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0088] The terminal devices 801 , 802 , and 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0089] The server 805 may be a server that provides various services, such as a background management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 801, 802, and 803. The background management server may analyze and process the received application version rollback request and other data, and feed back the processing result (such as the component data of the historical version application corresponding to the rollback request - only an example) to the terminal device.

[0090] It should be noted that the method for application version management provided in the embodiment of the present invention is generally executed by the server 805 , and accordingly, the device for application version management is generally set in the server 805 .

[0091] It should be understood that Figure 8 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0092] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 900 of a terminal device suitable for implementing an embodiment of the present invention. Fig. 9 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0093] like Fig. 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0094] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.

[0095] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.

[0096] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0097] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0098] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor, for example, may be described as: a processor comprising: a parsing module, determining the application version identifier of the application to be installed, obtaining a target configuration table corresponding to the application version identifier from a configuration table set of the application to be installed; the configuration table set comprises: at least one configuration table, and the application version identifier of the configuration table; an installation module, obtaining component data corresponding to each configuration record according to the integration type and component identifier of each configuration record in the target configuration table, and installing the application to be installed according to the component data; the configuration record comprises: a component identifier and an integration type. Among them, the names of these modules do not constitute a limitation on the module itself in some cases. For example, the parsing module may also be described as "a module for installing the application to be installed according to the component data".

[0099] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: determining the application version identifier of the application to be installed, and obtaining the target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed; the configuration table set includes: at least one configuration table, and the application version identifier of the configuration table; according to the integration type and component identifier of each configuration record in the target configuration table, obtaining the component data corresponding to each configuration record, and installing the application to be installed according to the component data; the configuration record includes: component identifier and integration type.

[0100] According to the technical solution of the embodiment of the present invention, a configuration table is created for each version of the application, which can achieve efficient management of each version of the application, facilitate search, and do not require open source components, with less content risk. By setting the integration type including source code integration in the configuration table, source code integration can be performed, which is convenient for quickly locating and fixing problems.

[0101] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for application version management, characterized in that: include: Determine an application version identifier of the application to be installed, and obtain a target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed; The configuration table set includes: at least one configuration table, and an application version identifier of the configuration table; Acquire component data corresponding to each configuration record according to the integration type and component identifier of each configuration record in the target configuration table, and install the application to be installed according to the component data; the configuration record includes: component identifier and integration type; The method also includes: before obtaining the target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed, creating the configuration table set according to the following steps: creating an empty configuration table and determining the application version identifier of the configuration table; selecting components to be integrated into each configuration record in the configuration table from the published component set, and setting the component identifier and integration type of the component to form each configuration record in the configuration table.

2. The method according to claim 1, characterized in that Also includes: Before selecting components to be integrated into each configuration record in the configuration table from the published component set, the component source code of each component of the application to be installed is converted into a binary file for publication, and the component identifier of each component is marked.

3. The method according to any one of claims 1-2, characterized in that: The configuration table set also includes: text descriptions of the configuration tables.

4. The method according to any one of claims 1-2, characterized in that: The application version identifier includes: a release version identifier and an internal version identifier.

5. The method according to any one of claims 1-2, characterized in that: The component identification includes: a component name identification and a component version identification.

6. A device for application version management, characterized in that: include: A parsing module is used to determine an application version identifier of the application to be installed, and obtain a target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed; The configuration table set includes: at least one configuration table, and an application version identifier of the configuration table; An installation module, which obtains component data corresponding to each configuration record according to the integration type and component identifier of each configuration record in the target configuration table, and installs the application to be installed according to the component data; the configuration record includes: component identifier and integration type; The device also includes a configuration module, which is used to: before the parsing module obtains the target configuration table corresponding to the application version identifier from the configuration table set of the application to be installed, create the configuration table set according to the following steps: create an empty configuration table and determine the application version identifier of the configuration table; select components to be integrated into each configuration record in the configuration table from the published component set, and set the component identifier and integration type of the component to form each configuration record in the configuration table.

7. The device according to claim 6, characterized in that It also includes a publishing module, which is used to: before the configuration module selects components to be integrated into each configuration record in the configuration table from the published component set, convert the component source code of each component of the application to be installed into a binary file for publication, and mark the component identifier of each component.

8. An electronic device for application version management, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Catalog-based software component management

    CN102804132A

  • Method and device for loading component

    CN105760184A