CN114880020A - Software development kit management method, related device and computer program product - Google Patents

Software development kit management method, related device and computer program product Download PDF

Info

Publication number
CN114880020A
CN114880020A CN202210619979.5A CN202210619979A CN114880020A CN 114880020 A CN114880020 A CN 114880020A CN 202210619979 A CN202210619979 A CN 202210619979A CN 114880020 A CN114880020 A CN 114880020A
Authority
CN
China
Prior art keywords
software development
development kit
chain
service object
version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210619979.5A
Other languages
Chinese (zh)
Inventor
侯峰
张少辉
王晓荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210619979.5A priority Critical patent/CN114880020A/en
Publication of CN114880020A publication Critical patent/CN114880020A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques

Abstract

The disclosure provides a software development kit management method and device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical field of artificial intelligence such as resource management, cloud storage and intelligent cloud. One embodiment of the method comprises: respectively acquiring the use requirements of each service object on the software development kit, adding the object identifier and the version identifier of the service object to the software development kit corresponding to the use requirements to obtain a target software development kit, and organizing the target software development kits of the versions corresponding to the same object identifier into a software development kit management chain of the corresponding service object based on the incidence relation between different version identifiers. The implementation mode can realize the management of the software development kit by utilizing the management chain of the software development kit, so that the same management system is utilized to provide the configuration service of the software development kit for different service objects, and the management and development cost is reduced.

Description

Software development kit management method, related device and computer program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of artificial intelligence technologies such as resource management, cloud storage, and smart cloud, and in particular, to a software development kit management method, apparatus, electronic device, computer-readable storage medium, and computer program product.
Background
Currently, a medical institution often selects a method for cooperating with an external institution, and uses a Software Development Kit (SDK) configured by the external institution to implement intelligent construction of the medical institution.
In order to facilitate management and configuration of software development kits by external institutions and facilitate convenient and rapid acquisition of relevant software development kits by each medical institution, the external institutions often implement software development kit configuration services pointing to the medical institutions through two modes of common cloud deployment and private cloud deployment.
Disclosure of Invention
The embodiment of the disclosure provides a software development kit management method, a software development kit management device, electronic equipment, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides a software development kit management method, including: respectively acquiring the use requirements of each service object on a software development kit; adding the object identifier and the version identifier of the service object to the software development kit corresponding to the use requirement to obtain a target software development kit; based on the incidence relation between different version identifications, organizing the target software development toolkits corresponding to the same object identification into the software development toolkit management chain of the corresponding service object.
In a second aspect, an embodiment of the present disclosure provides a software development kit management apparatus, including: the using requirement acquiring unit is configured to acquire the using requirements of each service object on the software development kit respectively; the tool package generating unit is configured to add the object identifier and the version identifier of the service object to the software development tool package corresponding to the use requirement to obtain a target software development tool package; and the management chain organization unit is configured to organize the target software development toolkits corresponding to the versions of the same object identifier into the software development toolkit management chain of the corresponding service object based on the incidence relation between different version identifiers.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the software development kit management method as described in any one of the implementations of the first aspect when executed.
In a fourth aspect, the disclosed embodiments provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement the software development kit management method as described in any implementation manner of the first aspect when executed.
In a fifth aspect, the present disclosure provides a computer program product including a computer program, which when executed by a processor is capable of implementing the software development kit management method as described in any implementation manner of the first aspect.
According to the software development kit management method, device, electronic equipment, computer-readable storage medium and computer program product provided by the embodiments of the present disclosure, after the usage requirements of each service object on the software development kit are respectively obtained, the object identifier and the version identifier of the service object are added to the software development kit corresponding to the usage requirements, so as to obtain the target software development kit, and based on the association relationship between different version identifiers, the target software development kits corresponding to the same object identifier in each version are organized into the software development kit management chain of the corresponding service object.
The management of the software development kit can be realized by utilizing the management chain of the software development kit, so that the configuration service of the software development kit can be provided for different service objects by utilizing the same management system, and the management and development cost is reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture to which the present disclosure may be applied;
fig. 2 is a flowchart of a software development kit management method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of another software development kit management method provided by an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a software development kit management method in an application scenario according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating a software development kit management apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device adapted to execute a software development kit management method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict.
In addition, in the technical scheme related to the disclosure, the processing of acquiring, storing, using, processing, transporting, providing, disclosing and the like of the personal information of the related user all accords with the regulations of related laws and regulations, and does not violate the good custom of the public order.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the software development kit management method, apparatus, electronic device, and computer-readable storage medium of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 101, 102, 103 to interact with a server 105 over a network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 and the server 105 may be installed with various applications for implementing information communication therebetween, such as a software development kit configuration application, a software development kit development application, an instant messaging application, and the like.
The terminal apparatuses 101, 102, 103 and the server 105 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like; when the terminal devices 101, 102, and 103 are software, they may be installed in the electronic devices listed above, and they may be implemented as multiple software or software modules, or may be implemented as a single software or software module, and are not limited in this respect. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server; when the server is software, the server may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not limited herein.
The server 105 may provide various services through various built-in applications, taking a software development kit configuration class application that may provide a software development kit configuration service as an example, the server 105 may implement the following effects when running the software development kit configuration class application: first, the server 105 acquires, from the terminal devices 101, 102, and 103 via the network 104, the service objects (i.e., the users using the terminal devices 101, 102, and 103) and respectively acquires the usage requirements of the software development kits for the service objects; then, the server 105 adds the object identifier and the version identifier of the service object to the software development kit corresponding to the use requirement to obtain a target software development kit; finally, the server 105 organizes the target software development toolkits corresponding to the versions of the same object identifier into a software development toolkit management chain of the corresponding service object based on the association relationship between different version identifiers.
It should be noted that the usage demand of each service object may be acquired from the terminal apparatuses 101, 102, and 103 through the network 104, or may be stored locally in the server 105 in advance in various ways. Thus, when the server 105 detects that such data is already stored locally (e.g., to begin processing the configuration tasks of the software development kit that were persisted before), it may choose to retrieve such data directly from locally.
Since the development and configuration of the target software development kit need to occupy more computing resources and stronger computing power, the software development kit management method provided in the following embodiments of the present disclosure is generally executed by the server 105 having stronger computing power and more computing resources, and accordingly, the software development kit management apparatus is generally also disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of a software development kit management method according to an embodiment of the present disclosure, where the process 200 includes the following steps:
step 201, obtaining the use requirements of each service object for the software development kit.
In this embodiment, the execution subject of the software development kit management method (for example, the server 105 shown in fig. 1) respectively obtains the usage requirements of the software development kit of each service object, where the usage requirements may include functional requirements of the software development kit, configuration requirements for updating the software development kit, optimization requirements for optimizing the software development kit, and the like.
In practice, the use requirements of the service objects on the software development kit are obtained, and the use environment requirements of the software development kit of the service objects can also be obtained together, so that the service objects can be subjected to targeted software development kit based on the use environment requirements, and the influence of improper operation environment configuration on the use of the software development kit by the service objects is avoided.
Step 202, adding the object identifier and the version identifier of the service object to the software development kit corresponding to the use requirement to obtain a target software development kit.
In this embodiment, after the usage requirements of each service object for the software development kit are determined based on the above step 201, the corresponding software development kit is determined corresponding to each usage requirement, and the object identifier of the service object corresponding to the usage requirement and the version identifier of the software development kit are added to the software development kit, so as to obtain the target software development kit, that is, the object identifier of the service object and the version identifier of the target software development kit, whose usage requirements correspond to the functions of the target software development kit, are added to the target software development kit.
It should be noted that the software development kit before adding the object identifier and the version identifier may be obtained by the execution subject directly from a local storage device, or may be obtained from a non-local storage device (for example, terminal devices 101, 102, 103 shown in fig. 1). The local storage device may be a data storage module arranged in the execution main body, such as a server hard disk, in which case the software development kit can be quickly read locally; the non-local storage device may also be any other electronic device configured to store data, such as some user terminals, in which case the executing entity may obtain the required software development kit by sending a obtaining command to the electronic device.
In practice, the version identification is preferably embodied as a multi-digit version number, such that the magnitude of changes made during the update of the software development kit are embodied based on the digits included in the version.
And 203, organizing the target software development toolkits corresponding to the same object identifier into a software development toolkit management chain of the corresponding service object based on the incidence relation between different version identifiers.
In this embodiment, after the object identifier and the version identifier are added corresponding to each usage requirement in step 202 to obtain a plurality of target software development kits, corresponding same object identifiers (i.e., the usage requirements and the target software development kits belonging to the same service object) are collected, taking a specific service object as an example, organizing the target software development kits of each version of the service object as a software development kit management chain of the service object based on the association relationship between the version identifiers of the target software development kits of the service object (object identifier), and other different service objects can refer to the process to complete the organization of the software development kit management chain corresponding to each service object, which is not described herein again.
According to the software development kit management method provided by the embodiment of the disclosure, the management of the software development kit can be realized by using a software development kit management chain, so that the same management system is used for providing software development kit configuration services for different service objects, and the management and development cost is reduced.
In some optional implementation manners of this embodiment, the software development kit management method may further include: and in response to the service object being organized with the historical software development kit management chain before, combining the newly created software development kit management chain for the service object with the historical software development kit management chain so as to realize unified management.
Specifically, after the organization operation of the current software development kit management chain is completed for the service object, if a historical software development kit management chain is organized before the service object is found at the same time, the software development kit management chain obtained by the organization is merged with the historical software development kit management chain to form a complete software development kit management chain including all contents in the software development kit management chain obtained by the organization and the historical software development kit management chain, so that the unified management of the software development kit management chain of the service object is realized.
In some optional implementation manners of this embodiment, the software development kit management method may further include: and in response to the first target software development kit of the first service object and the target historical software development kit of the second service object having the same functions, creating the software development kit management chain of the first service object in a branched chain manner at the target historical software development kit on the software development kit management chain corresponding to the second service object.
Specifically, when it is determined that a certain target historical software development kit of the corresponding first target software development kit is functionally and actually the same as a certain target historical software development kit of the second service object (i.e., a software development kit that has been developed previously according to the usage requirement of the second service object) according to the first usage requirement of the first service object, the software development kit management chain of the first service object may be created in a branched chain manner at the target historical software development kit on the software development kit management chain corresponding to the second service object. At this time, the software development kit management chain of the first service object is a branched chain (or referred to as a child chain) on the software development kit management chain of the second service object, so that the development process of the target software development kit in the software development kit management chain is more completely reflected, and the content richness and the use quality of the software development kit management chain are improved.
In some optional implementation manners of this embodiment, the step of adding the object identifier and the version identifier of the service object to the software development kit corresponding to the usage requirement to obtain the target software development kit may specifically include: determining a demand code according to the use demand; acquiring a target code file corresponding to the demand code from a pre-configured code library; and packaging the object code file to obtain a software development kit corresponding to the use requirement, and adding the object identifier and the version identifier of the service object to obtain the object software development kit.
Specifically, a demand code is determined according to the use demand, an object code file corresponding to the demand code is obtained from a pre-configured code library, and executing a script for replacing and referencing the static resource address, uniformly adding the content distribution network domain name of the data network, then typing the referenced static resource into the generated region (Dist) folder, then adding the object identifier and the Version identifier of the service object, finally dynamically changing the filename of the packaged software development kit and the Version in package. The codes required by various software development kits are sorted and stored through the code base, and then splicing and assembling can be carried out on the basis of the code files in the code base to obtain the target software development kit, so that the configuration efficiency of the software development kit and the usability of the software development kit management method are improved.
In some optional implementations of this embodiment, the association relationship includes: the size relationship between the version numbers respectively corresponding to the version identifications correspondingly, and the software development toolkit management chain comprises the following steps: and the time sequence chains are organized according to the sequence of the version numbers from small to large and from left to right, so that the development time sequence association among the target software development kits of each version is clearly and intuitively defined through the time sequence chains organized according to the version numbers from small to large and from left to right.
Further, because the development and configuration of the software development kit and the usage requirement of the service object are a continuous development and change process, and along with the change of the usage requirement of the service object, there is a need to develop again the historically generated target software development kit in the actual application scene to meet the usage requirement of the subsequent update, therefore, in order to realize the management of the software development kit management chain under the circumstance, the embodiment of the present disclosure further provides a flowchart of another software development kit management method, and refer to fig. 3 specifically, where the flowchart 300 includes the following steps:
step 301, obtaining the use requirements of each service object for the software development kit.
Step 302, adding the object identifier and the version identifier of the service object to the software development kit corresponding to the use requirement to obtain a target software development kit.
Step 303, organizing the target software development toolkits of the versions corresponding to the same object identifier into a software development toolkit management chain of the corresponding service object based on the association relationship between the different version identifiers.
The above steps 301-303 are the same as the step 201-203 shown in fig. 2, and the contents of the same portions refer to the corresponding portions of the previous embodiment, which are not described herein again.
Step 304, receiving a re-development request transmitted by the service object.
In this embodiment, a redevelopment request is received, which may be a development request for any target software development kit in the software development kit management chain, and is transmitted by the service object.
It should be understood that the re-development request may be issued for any target software development kit in the software development kit management chain corresponding to the service object, or may be issued for any target software development kit in the software development kit management chain corresponding to another service object authorized for the service object after authorization.
In step 305, the target software development kit indicated by the re-development request is determined as the base version software development kit of the re-development starting point.
In this embodiment, the target software development kit determined in step 304 is determined as the base version software development kit, and the base version software development kit is used as the re-development starting point.
And step 306, re-developing the basic version software development kit according to the re-development requirement in the re-development request to obtain a new target software development kit with the new version identifier.
In this embodiment, according to the redevelopment requirement in the redevelopment request in step 304, after the basic version software development kit determined in step 305 is redevelopd, a new version identifier is added to the basic version software development kit, so as to obtain a new target software development kit to which the new version identifier is added, where for the process of redevelopment of the basic version software development kit and the process of adding the new version identifier to the developed software development kit, reference may be made to the description in the embodiment and the related implementation manner shown in fig. 2, and details are not described here.
In addition, when the base version software development kit requested in the re-development request is any target software development kit in the software development kit management chain of other service objects, a mark of the service object may be added to a new target software development kit obtained through re-development so as to distinguish the service object for re-development of the base version software development kit.
And 307, generating a branch chain or a continuation chain at a position corresponding to the basic version software development kit in the software development kit management chain, and placing the new target software development kit into the branch chain or the continuation chain.
In this embodiment, a branch chain or a continuation chain is generated at a position in the software development kit management chain corresponding to the base version software development kit, and a new target software development kit is placed in the branch chain or the continuation chain. The generation of the branched chain represents that the base version software development kit for which the re-development request is directed is not the latest version on the previous management chain (for example, the latest version on the management chain is 5.0 version, but the base version for which the re-development request is directed is 2.0 version), so that the original chain is distinguished, and the branched chain needs to be created at the position of the base version software development kit, so as to put the new target software development kit into a proper position (for example, the version number of the new target software development kit is named as 2.1, that is, two software development kits with version numbers of 2.0 and 2.1 form one branched chain). Correspondingly, the generation of the continuation chain represents that the basic version software development kit for which the re-development request is directed is the latest version on the previous management chain, so that the original management chain only needs to be continued at the tail end.
On the basis of any of the above embodiments, the software development kit management method may further include: respectively determining data storage paths of different service objects; storing the software development toolkit management chain corresponding to each service object to a corresponding data storage space through a corresponding data storage path; wherein the data storage path comprises: public cloud path and private cloud path, data storage space includes: public cloud space and private cloud space.
Specifically, after obtaining the target software development kit corresponding to the usage requirement of the service object, different data storage paths of each service object may be further determined, where the data storage path includes at least one of the following: and the management chain of the software development toolkits corresponding to the service objects is stored to the corresponding data storage space through the corresponding data storage path, so that the service objects can obtain the stored target software development toolkits in the corresponding data storage spaces, and unified management of the (target) software development toolkits of the service objects under the public cloud path and the private cloud path is realized.
In order to deepen understanding, the present disclosure further provides a specific implementation scheme in combination with a specific application scenario, where in the application scenario, the configuration of the target software development kit and the organization of the software development kit management chain are performed by using the configuration server location service object a and the service object B, which are specifically as follows:
first, the configuration server obtains the usage requirements of the service objects A, B for the software development kit, respectively.
Then, after adding the object identifier and the version identifier of the service object to the software development kit corresponding to the usage requirement of the service object a in the configuration server, the target software development kit "target software development kit a-1.1", "target software development kit a-1.2", "target software development kit a-1.3", "target software development kit a-2.1", "target software development kit a-2.2" and "target software development kit a-2.3" is obtained, wherein the target software development kit "target software development kit a-1.1" is taken as an example, wherein "a" in "a-1.1" is the object identifier of the service object a, "1.1" is the version identifier of the target software development kit, and after adding the object identifier and the version identifier of the service object to the software development kit corresponding to the usage requirement of the service object B in the same configuration server, the target software development kit "target software development kit B-2.1", "target software development kit B-2.2", "target software development kit B-2.3" and "target software development kit B-2.4" is obtained.
Then, based on the correlation between different version identifiers, organizing the target software development kit corresponding to each version of the service object A as the software development kit management chain A of the service object A, organizing the target software development kit corresponding to each version of the service object B as the software development kit management chain B of the service object B, responding when the first target software development kit (target software development kit B-2.1) in the software development kit management chain of the service object B is the same as the function of the historical target software development kit (target software development kit A-2.1) in the historical software development kit management chain (software development kit management chain A) of the service object A, and linking the position corresponding to the target software development kit A-2.1 in the historical software development kit management chain of the service object A into the software development kit management chain of the service object B in a linear chain manner Chain B.
Finally, after the data storage path (public cloud path) of the service object A and the data storage path (private cloud path) of the service object B are respectively determined, a target software development kit A-1.1, a target software development kit A-1.2, a target software development kit A-1.3, a target software development kit A-2.1, a target software development kit A-2.2 and a target software development kit A-2.3 are stored in the public cloud path, so that the target software development kit B-2.1, the target software development kit B-2.2, the target software development kit B-2.3 and the target software development kit B-2.4 are conveniently interacted and configured with the service object A by utilizing the public cloud, and are stored in the public cloud through the public cloud path, and then the service object B is stored in the private cloud through a transmission channel between the public cloud and the private cloud so as to conveniently interact with the service object B and configure a (target) software development kit by utilizing the private cloud.
In addition, in other scenes, the target software development kit B-2.1, the target software development kit B-2.2, the target software development kit B-2.3 and the target software development kit B-2.4 can be directly stored in the private cloud through a private cloud path, and a public cloud is not used as an intermediate transmission bridge, and the specific selection can be determined according to actual conditions.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of a software development kit management apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the software development kit management apparatus 500 of the present embodiment may include: a usage requirement acquisition unit 501, a tool kit generation unit 502, and a management chain organization unit 503. The usage requirement obtaining unit 501 is configured to obtain usage requirements of each service object for the software development kit; a tool package generating unit 502 configured to add the object identifier and the version identifier of the service object to the software development tool package corresponding to the usage requirement, so as to obtain a target software development tool package; the management chain organizing unit 503 is configured to organize the target software development kits corresponding to the versions with the same object identifier into the software development kit management chain of the corresponding service object based on the association relationship between different version identifiers.
In the present embodiment, in the software development kit management apparatus 500: the detailed processing of the usage requirement obtaining unit 501, the kit generating unit 502, and the management chain organizing unit 503 and the technical effects thereof can refer to the related descriptions of step 201 and step 203 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of this embodiment, the software development kit management apparatus 500 further includes:
and the branch chain creating unit is configured to respond to the fact that the first target software development kit of the first service object has the same function as the target historical software development kit of the second service object, and create the software development kit management chain of the first service object at the target historical software development kit on the software development kit management chain corresponding to the second service object in a branch chain creating mode.
In some optional implementations of this embodiment, the software development kit management apparatus 500 further includes:
a redevelopment request receiving unit configured to receive a redevelopment request incoming from the service object;
a basic toolkit determining unit configured to determine the target software development toolkit indicated by the redeveloprequest as a basic version software development toolkit of a redevelopment starting point;
the new tool pack generating unit is configured to develop the basic version software development tool pack again according to the re-development requirement in the re-development request to obtain a new target software development tool pack with an additional new version identifier, and the new version identifier is determined based on the version identifier of the basic version software development tool pack;
and the management chain updating unit is configured to generate a branch chain or a continuation chain at a position corresponding to the basic version software development kit in the software development kit management chain, and place the new target software development kit into the branch chain or the continuation chain.
In some optional implementations of this embodiment, the kit generating unit 502 may be further configured to:
determining a demand code according to the use demand;
acquiring a target code file corresponding to a demand code from a pre-configured code library;
and packaging the target code file to obtain a software development kit corresponding to the use requirement, and adding the object identifier and the version identifier of the service object to obtain the target software development kit.
In some optional implementations of this embodiment, the association relationship includes: the size relationship between the version numbers respectively corresponding to the version identifications correspondingly, and the software development toolkit management chain comprises the following steps: and the target software development toolkits are organized into a time sequence chain according to the sequence of the version numbers from small to large and from left to right.
In some optional implementations of this embodiment, the software development kit management apparatus 500 may further include:
a storage path acquisition unit configured to determine data storage paths of different service objects, respectively;
the management chain storage unit is configured to store the software development toolkit management chain corresponding to each service object to a corresponding data storage space through a corresponding data storage path; wherein the data storage path comprises: public cloud path and private cloud path, data storage space includes: public cloud space and private cloud space.
The software development kit management device provided in this embodiment can realize management of the software development kit by using a software development kit management chain, so as to provide software development kit configuration services for different service objects by using the same management system, thereby reducing management and development costs.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 601 performs the various methods and processes described above, such as a software development kit management method. For example, in some embodiments, the software development kit management method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the software development kit management method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the software development kit management method in any other suitable manner (e.g., by way of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server may be a cloud Server, which is also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service extensibility in the conventional physical host and Virtual Private Server (VPS) service. The server may also be divided into servers of a distributed system, or servers that incorporate a blockchain.
According to the technical scheme of the embodiment of the disclosure, the management of the software development kit can be realized by using the management chain of the software development kit, so that the configuration service of the software development kit can be provided for different service objects by using the same management system, and the management and development cost is reduced.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in this disclosure may be performed in parallel or sequentially or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and are not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A software development kit management method, comprising:
respectively acquiring the use requirements of each service object on a software development kit;
adding the object identifier and the version identifier of the service object to the software development kit corresponding to the use requirement to obtain a target software development kit;
and organizing the target software development toolkits corresponding to the versions of the same object identifier into a software development toolkit management chain of the corresponding service object based on the incidence relation between different version identifiers.
2. The method of claim 1, further comprising:
and in response to the first target software development kit of the first service object and the target historical software development kit of the second service object having the same functions, creating the software development kit management chain of the first service object in a branched chain manner at the target historical software development kit on the software development kit management chain corresponding to the second service object.
3. The method of claim 1, further comprising:
receiving a re-development request transmitted by the service object;
determining the target software development kit indicated by the re-development request as a basic version software development kit of a re-development starting point;
re-developing the basic version software development kit according to a re-development requirement in the re-development request to obtain a new target software development kit with an additional new version identifier, wherein the new version identifier is determined based on the version identifier of the basic version software development kit;
and generating a branch chain or a continuation chain at a position in the software development kit management chain corresponding to the basic version software development kit, and placing the new target software development kit into the branch chain or the continuation chain.
4. The method of claim 1, wherein adding the object identifier and the version identifier of the service object to the software development kit corresponding to the usage requirement to obtain a target software development kit comprises:
determining a demand code according to the use demand;
acquiring a target code file corresponding to the demand code from a pre-configured code library;
and packaging the target code file to obtain a software development kit corresponding to the use requirement, and adding the object identifier and the version identifier of the service object to obtain the target software development kit.
5. The method of claim 1, wherein the association comprises: the size relationship between the version numbers corresponding to the version identifications respectively, correspondingly, the software development toolkit management chain comprises: and each target software development kit is organized into a time sequence chain according to the sequence of the version numbers from small to large and from left to right.
6. The method of any of claims 1-5, further comprising:
respectively determining data storage paths of different service objects;
storing the software development toolkit management chain corresponding to each service object to a corresponding data storage space through a corresponding data storage path; wherein the data storage path comprises: public cloud path and private cloud path, the data storage space includes: public cloud space and private cloud space.
7. A software development kit management apparatus comprising:
the using requirement acquiring unit is configured to acquire the using requirements of each service object on the software development kit respectively;
the tool package generating unit is configured to add the object identifier and the version identifier of the service object to the software development tool package corresponding to the use requirement to obtain a target software development tool package;
and the management chain organization unit is configured to organize the target software development toolkits corresponding to the versions of the same object identifier into the software development toolkit management chain of the corresponding service object based on the incidence relation between different version identifiers.
8. The apparatus of claim 7, further comprising:
a branch chain creating unit configured to create a software development kit management chain of the first service object in a manner of creating a branch chain at a target historical software development kit on a software development kit management chain corresponding to the second service object in response to a first target software development kit of the first service object being identical in function to a target historical software development kit of the second service object.
9. The apparatus of claim 7, further comprising:
a redevelopment request receiving unit configured to receive a redevelopment request incoming from the service object;
a basic tool kit determining unit configured to determine the target software development tool kit indicated by the re-development request as a basic version software development tool kit of a re-development starting point;
a new toolkit generating unit configured to redevelop the basic version software development toolkit according to a redevelopment requirement in the redevelopment request to obtain a new target software development toolkit with an additional new version identifier, where the new version identifier is determined based on the version identifier of the basic version software development toolkit;
a management chain updating unit configured to generate a branch chain or a continuation chain at a position in the software development kit management chain corresponding to the base version software development kit, and to place the new target software development kit into the branch chain or the continuation chain.
10. The apparatus of claim 7, wherein the toolkit generation unit is further configured to:
determining a demand code according to the use demand;
acquiring a target code file corresponding to the demand code from a pre-configured code library;
and packaging the target code file to obtain a software development kit corresponding to the use requirement, and adding the object identifier and the version identifier of the service object to obtain the target software development kit.
11. The apparatus of claim 7, wherein the association comprises: the size relationship between the version numbers respectively corresponding to the version identifications correspondingly, the software development toolkit management chain comprises: and each target software development kit is organized into a time sequence chain according to the sequence of the version numbers from small to large and from left to right.
12. The apparatus of any of claims 7-11, further comprising:
a storage path acquisition unit configured to determine data storage paths of different service objects, respectively;
the management chain storage unit is configured to store the software development toolkit management chain corresponding to each service object to a corresponding data storage space through a corresponding data storage path; wherein the data storage path comprises: public cloud path and private cloud path, the data storage space includes: public cloud space and private cloud space.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the software development kit management method of any one of claims 1-6.
14. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the software development kit management method of any one of claims 1-6.
15. A computer program product comprising a computer program which, when executed by a processor, implements a software development kit management method according to any one of claims 1-6.
CN202210619979.5A 2022-06-01 2022-06-01 Software development kit management method, related device and computer program product Pending CN114880020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210619979.5A CN114880020A (en) 2022-06-01 2022-06-01 Software development kit management method, related device and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210619979.5A CN114880020A (en) 2022-06-01 2022-06-01 Software development kit management method, related device and computer program product

Publications (1)

Publication Number Publication Date
CN114880020A true CN114880020A (en) 2022-08-09

Family

ID=82680465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210619979.5A Pending CN114880020A (en) 2022-06-01 2022-06-01 Software development kit management method, related device and computer program product

Country Status (1)

Country Link
CN (1) CN114880020A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117112011A (en) * 2023-08-16 2023-11-24 北京冠群信息技术股份有限公司 Version management method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079631A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Version management method and related device
CN105955746A (en) * 2016-05-06 2016-09-21 中国银行股份有限公司 Version management method and apparatus
CN109819042A (en) * 2019-02-02 2019-05-28 北京字节跳动网络技术有限公司 For providing the method and apparatus of Software Development Kit
CN110704026A (en) * 2018-07-10 2020-01-17 武汉斗鱼网络科技有限公司 Calling method and device of software development kit, terminal and readable medium
CN111506339A (en) * 2020-05-29 2020-08-07 北京奇艺世纪科技有限公司 Method and device for processing change information of Software Development Kit (SDK)
CN113032041A (en) * 2021-03-16 2021-06-25 广州虎牙科技有限公司 Encoding method, encoding device, electronic equipment and computer readable storage medium
CN113128197A (en) * 2021-05-12 2021-07-16 中国建设银行股份有限公司 Method and device for managing application production versions
CN114003210A (en) * 2021-10-29 2022-02-01 平安付科技服务有限公司 SDK-based multi-application program adaptation method, device, equipment and medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079631A (en) * 2014-06-09 2014-10-01 中国建设银行股份有限公司 Version management method and related device
CN105955746A (en) * 2016-05-06 2016-09-21 中国银行股份有限公司 Version management method and apparatus
CN110704026A (en) * 2018-07-10 2020-01-17 武汉斗鱼网络科技有限公司 Calling method and device of software development kit, terminal and readable medium
CN109819042A (en) * 2019-02-02 2019-05-28 北京字节跳动网络技术有限公司 For providing the method and apparatus of Software Development Kit
CN111506339A (en) * 2020-05-29 2020-08-07 北京奇艺世纪科技有限公司 Method and device for processing change information of Software Development Kit (SDK)
CN113032041A (en) * 2021-03-16 2021-06-25 广州虎牙科技有限公司 Encoding method, encoding device, electronic equipment and computer readable storage medium
CN113128197A (en) * 2021-05-12 2021-07-16 中国建设银行股份有限公司 Method and device for managing application production versions
CN114003210A (en) * 2021-10-29 2022-02-01 平安付科技服务有限公司 SDK-based multi-application program adaptation method, device, equipment and medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
中科红旗软件技术有限公司: "红旗Linux软件开发技术", 西安电子科技大学出版社, pages: 115 - 89 *
张磊、李增鹏、侯相茹主编: "《软件项目管理》", 30 September 2018 *
百度文库: "配置管理系统", 《HTTPS://WENKU.BAIDU.COM/VIEW/D5FBD6C6ADAAD1F34693DAEF5EF7BA0D4A736D01.HTML》, 10 April 2022 (2022-04-10), pages 1 - 22 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117112011A (en) * 2023-08-16 2023-11-24 北京冠群信息技术股份有限公司 Version management method and device

Similar Documents

Publication Publication Date Title
EP3822777A1 (en) Methods for processing mini program, and related devices
CN110391938B (en) Method and apparatus for deploying services
CN113050940A (en) Method for previewing small program, related device and computer program product
WO2023221416A1 (en) Information generation method and apparatus, and device and storage medium
CN113010405A (en) Application program testing method and device
CN113076153A (en) Interface calling method and device
CN110489158B (en) Method, device, medium and electronic equipment for optimizing code hosting platform
CN114880020A (en) Software development kit management method, related device and computer program product
CN114443076A (en) Mirror image construction method, device, equipment and storage medium
CN113420002A (en) Data synchronization method and device, electronic equipment and storage medium
CN108959294B (en) Method and device for accessing search engine
KR20210040322A (en) Scheduling method and apparatus, device and storage medium
WO2023169193A1 (en) Method and device for generating smart contract
CN111555894B (en) Data processing method, device, equipment and storage medium
CN111813407B (en) Game development method, game running device and electronic equipment
CN113691403A (en) Topological node configuration method, related device and computer program product
CN113709171A (en) Method and device for cross-component state communication
CN113905040A (en) File transmission method, device, system, equipment and storage medium
CN113760969A (en) Data query method and device based on elastic search
CN112182083A (en) File generation method, device, equipment and storage medium
CN113448960A (en) Method and device for importing form file
CN112882698A (en) Development environment generation method and device, computer storage medium and electronic device
CN113342413B (en) Method, apparatus, device, medium, and article for processing components
EP4191407A1 (en) Method and device for generating and registering ui service package and loading ui service
CN111314457B (en) Method and device for setting virtual private cloud

Legal Events

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

Application publication date: 20220809