Program processing method, device, equipment and computer-readable storage medium

By requesting and generating target programs from the server, and updating the software development toolkit when needed, the problem of not being able to automatically generate and update the SDK sample program in the prior art is solved, and the automated processing and update of the target program is achieved.

CN114968292BActive Publication Date: 2025-08-08TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110208480.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-24
Publication Date
2025-08-08
Estimated Expiration
2041-02-24

AI Technical Summary

Technical Problem

In the prior art, the software development platform cannot automatically generate sample programs for the target SDK, and cannot resolve the conflict problem between the updated SDK and the original SDK, resulting in the inability to update the sample programs for the target SDK.

Method used

By sending a toolkit download request to the server, receiving the target software development toolkit and the basic software development toolkit, generating the target program based on local preset code templates, and sending a software package update query request when the trigger instruction of the program running control is detected, and receiving and applying the update software development toolkit to update the target program.

Benefits of technology

The automatic generation and automatic update of target programs are achieved, simplifying the development process, and improving development efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114968292B_ABST
    Figure CN114968292B_ABST
Patent Text Reader

Abstract

The present application discloses a program processing method, apparatus, device and computer-readable storage medium, the method comprising: sending a toolkit download request corresponding to a target software development kit to a server; receiving the target software development kit and basic software development kit sent by the server; generating a target program based on a locally preset code template, the target software development kit and the basic software development kit, jumping to a program debugging page corresponding to the target program, the program debugging page including a program running control; if a trigger instruction for the program running control is detected, sending an update query request to the server; receiving an updated software development kit sent by the server when it is found that the software development kit has been updated; updating the target program based on the updated software development kit, obtaining the updated target program, and running the updated target program. The technical solution provided by the present application can at least achieve the generation and update of the target program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a program processing method, apparatus, device, and computer-readable storage medium. Background Art

[0002] In the related art, the dependency relationships between software development kits (SDKs) are complex. When the target SDK required by the SDK access party depends on other SDKs, the software development platform cannot automatically parse the dependency relationships of the target SDK, resulting in the inability to automatically generate sample programs for the target SDK, which requires manual writing by development technicians.

[0003] In addition, when it is detected that the SDK called in the sample program of the target SDK has been updated, the software development platform cannot resolve the conflict between the updated SDK and the original SDK, resulting in the inability to update the sample program of the target SDK. Summary of the Invention

[0004] The present application provides a program processing method, apparatus, device and computer-readable storage medium, which can at least solve the problem in the related art that the target program cannot be automatically generated and the target program cannot be updated.

[0005] In one aspect, the present application provides a program processing method, the method comprising:

[0006] Send a toolkit download request corresponding to the target software development kit to the server;

[0007] Receiving the target software development kit and basic software development kit sent by the server, wherein the basic software development kit is determined by the server based on preset toolkit dependency information;

[0008] Generate a target program based on a locally preset code template, the target software development kit, and the basic software development kit, and jump to a program debugging page corresponding to the target program, wherein the program debugging page includes a program running control;

[0009] If a trigger instruction for the program running control is detected, a software package update query request is sent to the server;

[0010] receiving an updated software development tool kit sent by the server when the update information corresponding to the target software development tool indicates that an update exists;

[0011] The target program is updated based on the updated software development kit to obtain an updated target program, and the updated target program is run.

[0012] On the other hand, the present application also provides another program processing method, the method comprising:

[0013] Receive a toolkit download request corresponding to a target software development kit sent by a client, determine a basic software development toolkit on which the target software development toolkit depends based on a preset toolkit dependency relationship, and send the target software development toolkit and the basic software development tool to the client;

[0014] receiving a software package update query request sent by the client when a trigger instruction for a program running control is detected, and determining update information corresponding to the target software development tool;

[0015] When the update information corresponding to the target software development tool indicates that an update exists, an updated software development tool kit is sent to the client.

[0016] In another aspect, the present application further provides a program processing device, comprising:

[0017] A first sending module, configured to send a toolkit download request corresponding to a target software development toolkit to a server;

[0018] a first receiving module, configured to receive the target software development kit and the basic software development kit sent by the server, wherein the basic software development kit is determined by the server based on preset toolkit dependency information;

[0019] A generation module, configured to generate a target program based on a locally preset code template, the target software development kit, and the basic software development kit, and jump to a program debugging page corresponding to the target program, wherein the program debugging page includes a program running control;

[0020] A second sending module is configured to send a software package update query request to a server if a trigger instruction for the program running control is detected;

[0021] A second receiving module is configured to receive an updated software development toolkit sent by the server when the update information corresponding to the target software development tool indicates that there is an update;

[0022] An update module is used to update the target program based on the update software development kit, obtain the updated target program, and run the updated target program.

[0023] In another aspect, the present application further provides a program processing device, comprising:

[0024] A first receiving module is configured to receive a toolkit download request corresponding to a target software development kit sent by a client, determine a basic software development toolkit on which the target software development toolkit depends based on a preset toolkit dependency relationship, and send the target software development toolkit and the basic software development tool to the client;

[0025] A second receiving module is configured to receive a software package update query request sent by the client when a trigger instruction for a program running control is detected, and determine update information corresponding to the target software development tool;

[0026] The sending module is used to send an updated software development tool kit to the client when the update information corresponding to the target software development tool indicates that there is an update.

[0027] On the other hand, the present application also provides a program processing device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the program processing method as described above.

[0028] On the other hand, the present application also provides a computer-readable storage medium, which stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the program processing method as described above.

[0029] The program processing method, apparatus, device, and computer-readable storage medium provided in this application have the following technical effects:

[0030] This application generates a target program based on a locally preset code template, the target software development kit and the basic software development kit, and can realize automatic generation of the target program.

[0031] This application updates the target program based on the update software development kit to obtain the updated target program, and runs the updated target program to achieve automatic update of the target program. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0033] Figure 1 is a schematic diagram of a program processing system provided in an embodiment of the present application;

[0034] Figure 2 This is a flowchart of a program processing method provided in an embodiment of the present application;

[0035] Figure 3 This is a display diagram of a target page provided in an embodiment of the present application;

[0036] Figure 4 This is a flowchart of a method for generating a target program provided in an embodiment of the present application;

[0037] Figure 5 This is a flowchart of another method for generating a target program provided in an embodiment of the present application;

[0038] Figure 6 This is a flowchart of a method for updating a target program provided in an embodiment of the present application;

[0039] Figure 7 1 is a flow chart of another target program update method provided in an embodiment of the present application;

[0040] Figure 8 1 is a flowchart of another target program update method provided in an embodiment of the present application;

[0041] Figure 9 This is a display diagram of an initial page provided in an embodiment of the present application;

[0042] Figure 10 This is a flowchart of another program processing method provided in an embodiment of the present application;

[0043] Figure 11 This is a flowchart of another program processing method provided in an embodiment of the present application;

[0044] Figure 12 This is a schematic diagram of the structure of a program processing device provided by this application;

[0045] Figure 13 It is a structural diagram of another program processing device provided by this application;

[0046] Figure 14 This is a schematic diagram of the structure of another program processing device provided by the present application;

[0047] Figure 15 This is a hardware structure block diagram of a server of a program processing method provided by this application. DETAILED DESCRIPTION

[0048] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0049] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0050] The following describes the program processing method provided by the present application. This specification provides method operation steps as described in the embodiments or flowcharts, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the steps in many order and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in sequence or in parallel according to the method shown in the embodiments or the accompanying drawings (for example, in a parallel processor or multi-threaded processing environment).

[0051] See also Figure 1 , Figure 1 is a schematic diagram of a program processing system provided in an embodiment of the present application, such as Figure 1 As shown, the system may include a client 01 and a server 02. In the embodiments of this specification, client 01 may be used to provide program processing services to users. Optionally, client 01 may include physical devices such as smartphones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, and smart wearable devices. It may also include software running on these physical devices, such as applications and websites.

[0052] In the embodiments of this specification, server 02 can be used to receive toolkit download requests and update query requests sent by client 01, and provide client 01 with a software development kit required for program processing based on the toolkit download request, and provide client 01 with an updated software development kit required for program processing based on the update query request. Optionally, server 02 can be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0053] The client 01 and the server 02 can be connected directly or indirectly via wired or wireless communication, which is not limited in this application. Figure 1 The corresponding system architecture is only an architecture of a data query system provided in the embodiment of this specification. In actual application, other system architectures may also be included. For example, program processing may also be implemented on the server side.

[0054] In a specific embodiment, Figure 2 As shown, the present application provides a program processing method, which is applied to a program processing system, wherein the program processing system includes a server and a client; the method includes:

[0055] S201: The client sends a toolkit download request corresponding to a target software development toolkit to the server.

[0056] In the embodiments of this specification, the program processing system may be a software development platform. In a specific embodiment, the software development platform may be used for software development related to mobile finance. Accordingly, the software development platform may be a mobile finance development platform.

[0057] In a specific embodiment, the client may be a client of a software development platform, and the server may be a server of the software development platform.

[0058] The client can be used to provide a visual software development interface for users of the software development platform.

[0059] The server can be used to provide software development tools and software development resources required in the software development process to users of the software development platform.

[0060] Among them, software development tools may include code resources such as software development toolkits and software development function libraries, and software development resources may include media resources such as image resources, video resources, and audio resources.

[0061] The software development kit is a packaged program package pre-installed in the server and capable of implementing certain functions.

[0062] In actual applications, users can save a lot of energy and time by utilizing at least one software development kit provided by the server during software development on the client side. To help users quickly master the use of at least one software development kit, the software development platform can provide users with at least one sample program of the software development kit.

[0063] It can be understood that the client used by the user is the access party of the software development toolkit, and the server is the provider of the software development toolkit.

[0064] It can be understood that the target program involved in the embodiments of this specification is an example program of the target software development kit.

[0065] In an embodiment of this specification, the target software development kit may be a software development kit that the user needs to use; the toolkit download request corresponding to the target software development kit may include identification information of the target software development kit, which is used to request downloading the target software development kit and the basic software development kit that the target software development kit depends on.

[0066] Specifically, the identification information of the software development kit may include but is not limited to the name, unique identifier, and version number of the software development kit.

[0067] In the embodiments of this specification, the client can request the server to download the target software development kit and the basic software development kit that the target software development kit depends on by sending a download request message to the server, so as to provide data support for generating the target program.

[0068] In an optional embodiment, in order to determine the target software development kit, the method further includes:

[0069] The client displays a target page, wherein the target page includes a selection control of at least one software development kit;

[0070] If the client detects a selection instruction for the at least one selection control, determining a target software development kit corresponding to the selection instruction;

[0071] Accordingly, the client sends a toolkit download request corresponding to the target software development toolkit to the server, including:

[0072] If the client detects a trigger instruction for the confirmation control of the target page, it sends a toolkit download request to the server, where the toolkit download request includes identification information of the target software development toolkit.

[0073] In the embodiment of this specification, the target page is a page for the user to select a target software development kit.

[0074] In an embodiment of this specification, a correspondence between at least one software development kit and at least one selection control is pre-set to obtain a selection control for at least one software development kit. The selection control may be a radio button, a check box, or a color-changing rectangular box displaying identification information of the corresponding software development kit. The color-changing rectangular box has a different background color when selected and unselected.

[0075] In the embodiment of this specification, at least one software development kit (target software development kit) targeted by the selection instruction may be determined based on a correspondence between at least one software development kit and at least one selection control.

[0076] like Figure 3 As shown, the target page displays two types of software development kits: one for client performance analysis (identified as QAPM) and the other for smart delivery (identified as xxICDP). The selection controls corresponding to the two software development kits are color-changing rectangular boxes, each displaying its identification information and introduction.

[0077] like Figure 3 As shown, the target page further includes a confirmation control marked as "Next", a cancel control marked as "Previous", and a cancel control marked as "Cancel".

[0078] If the client detects a trigger instruction for the confirmation control marked as "Next", it sends a toolkit download request to the server.

[0079] If the client detects a trigger instruction for the cancel control identified as "previous step", it jumps from the target page to the initial page, which is the setting page of the configuration information of the target program.

[0080] If the client detects a trigger instruction for a cancel control identified as "Cancel", the client interface will be closed from the client.

[0081] In the embodiment of the present specification, the client provides a target page to the user, so that the client can detect the selection instruction and confirmation instruction triggered by the user on the target page and determine the target software development kit.

[0082] S203: The server determines the basic software development kit that the target software development kit depends on based on the preset toolkit dependency relationship.

[0083] S205: The server sends the target software development kit and the basic software development kit to the client.

[0084] In the embodiment of this specification, a dependency relationship of at least one software development kit is pre-set on the server side.

[0085] In the embodiment of this specification, the basic software development tools that the target software development toolkit depends on include directly dependent basic software development toolkits and indirectly dependent basic software development toolkits.

[0086] Among them, the directly dependent basic software development toolkit is the basic software development toolkit directly required by the target software development toolkit; the indirectly dependent basic software development toolkit is the basic software development toolkit among the basic software development toolkits that the target software development toolkit depends on, except the directly dependent basic software development toolkit.

[0087] Taking the target software development kit as an example, the software development kit for identifying bank cards, the basic software development kit it directly depends on is the software development kit for turning on the flashlight, and the basic software development kit that the software development kit for turning on the flashlight directly depends on is the software development kit for scanning (that is, the basic software development kit that the software development kit for identifying bank cards indirectly depends on).

[0088] In actual applications, toolkit dependencies are often even more complex when considering the specific software development business of a software development application platform. For example, mobile finance software development often requires software development kits for hotfixes, location services, message push, unified storage, mobile monitoring, and mobile gateways, resulting in complex dependencies between software development kits.

[0089] In a specific embodiment, in order to adapt to the situation of software development kits with complex dependencies, the determining of the basic software development kit that the target software development kit depends on based on the preset toolkit dependencies includes:

[0090] Get the preset toolkit dependencies;

[0091] According to the identification information of the target software development toolkit carried in the toolkit download request, the dependency information of the target software development toolkit is determined from the preset toolkit dependency relationship.

[0092] According to the dependency information of the target software development kit, a basic software development kit that the target software development kit depends on is determined.

[0093] In the embodiment of this specification, the toolkit dependency relationship may represent dependency information of each software development toolkit on at least one other software development toolkit among multiple software development toolkits.

[0094] In the embodiments of this specification, by pre-setting the toolkit dependencies on the server, when the client requests to download the toolkit, the server can quickly determine the basic development toolkit that the target software development toolkit depends on based on the preset toolkit dependencies, thereby saving the processing time of the server.

[0095] In an optional embodiment, the dependencies of the target software development kit can also be pre-set in the toolkit directory of the target software development kit. When the server receives the toolkit download request sent by the client, it queries the toolkit directory of the target software development kit to obtain the dependencies of the target software development kit, and then determines the basic software development kit that the target software development kit depends on, and sends the target software development kit and the basic software development kit to the client.

[0096] S207: The client generates a target program based on a locally preset code template, the target software development kit, and the basic software development kit, and jumps to a program debugging page corresponding to the target program, where the program debugging page includes a program running control.

[0097] In the embodiment of the present specification, the code templates pre-set in the local database of the client are used to call the target software development kit and the basic software development kit through the local preset code templates to generate the target program.

[0098] In the embodiment of this specification, the target software development kit may include at least two first calling objects, and the basic software development kit may include at least two second calling objects.

[0099] Specifically, the at least two first call objects are at least two interfaces of the target software development kit, which may include but are not limited to an initialization interface and a functional interface. The initialization interface of the target software development kit is used to initialize the target software development kit, and the functional interface of the target software development kit is used to call functions of the target software development kit.

[0100] In an optional embodiment, the at least two interfaces of the target software development toolkit may further include a callback interface for returning the execution result obtained by calling the target software development toolkit to the main function of the locally preset code template.

[0101] Specifically, the at least two second call objects are at least two interfaces of the basic software development toolkit, which may include but are not limited to an initialization interface and a function interface. The initialization interface of the basic software development toolkit is used to initialize the basic software development toolkit, and the function interface of the basic software development toolkit is used to call functions of the basic software development toolkit.

[0102] In an optional embodiment, at least two interfaces of the basic software development toolkit further include a callback interface for returning the execution result obtained by calling the basic software development toolkit to the main function of the locally preset code template.

[0103] In a specific embodiment, Figure 4 As shown, the generating of the target program based on the locally preset code template, the target software development kit and the basic software development kit includes:

[0104] S401: Extract at least two first call objects from the target software development kit.

[0105] S403: Extract at least two second calling objects from the basic software development kit.

[0106] S405: Generate a target program based on the locally preset code template, the at least two first calling objects, and the at least two second calling objects.

[0107] In the embodiment of this specification, the at least two first call objects are located in the configuration file of the target software development kit, and the at least two first call objects can be obtained by scanning the configuration file of the target software development kit.

[0108] In the embodiment of this specification, the at least two second calling objects are located in the configuration file of the basic software development toolkit, and the at least two second calling objects can be obtained by scanning the configuration file of the basic software development toolkit.

[0109] In the embodiment of this specification, at least two first calling objects and at least two second calling objects are called by the locally preset code template to implement the calling of the target software development kit and the basic software development kit by the locally preset code template.

[0110] In an optional embodiment, if Figure 5 As shown, the generating of the target program based on the locally preset code template, the at least two first calling objects and the at least two second calling objects includes:

[0111] S501: Obtain the first formal parameter arranged in order in the code template.

[0112] In the embodiment of this specification, the first formal parameter may be a formal parameter of at least two first calling functions in the code template, and the at least two first calling functions are arranged in sequence.

[0113] S503: Scan the configuration file of the target software development kit to determine the calling sequence information between the at least two first calling objects.

[0114] In the embodiment of this specification, the configuration file of the target software development kit is a code source file of the target software development kit, which is used to configure at least two first call objects, and parameters and method functions in each first call object.

[0115] S505: Mark the at least two first calling objects based on the calling sequence information between the at least two first calling objects and the first formal parameter to obtain first marking information, where the first marking information represents the corresponding relationship between the at least two first calling objects and the first formal parameter.

[0116] In the embodiment of this specification, the calling sequence information between the at least two first calling objects represents the calling sequence of the at least two first calling objects, and the calling sequence of the at least two first calling objects is consistent with the arrangement sequence of the first formal parameters.

[0117] In the embodiments of this specification, by establishing a correspondence between at least two first calling objects and the first formal parameters, at least two first calling functions can call at least two first calling objects by calling at least two first calling functions on at least two first formal parameters.

[0118] S507: Obtain the second formal parameters arranged in order in the code template.

[0119] In the embodiment of this specification, the second formal parameter may be a formal parameter of at least two second calling functions in the code template, and the at least two second calling functions are arranged in sequence.

[0120] S509: Scan the configuration file of the basic software development toolkit to determine the calling sequence information between the at least two second calling objects.

[0121] In the embodiment of this specification, the configuration file of the basic software development toolkit is a code source file of the basic software development toolkit, which is used to configure at least two second call objects, and parameters and method functions in each second call object.

[0122] S511: Mark the at least two second calling objects based on the calling sequence information between the at least two second calling objects and the second formal parameters to obtain second marking information, where the second marking information represents the corresponding relationship between the at least two second calling objects and the second formal parameters.

[0123] In the embodiment of this specification, the calling sequence information between the at least two second calling objects represents the calling sequence of the at least two second calling objects, and the calling sequence of the at least two second calling objects is consistent with the arrangement sequence of the second formal parameters.

[0124] In the embodiments of this specification, by establishing a correspondence between at least two second calling objects and the second formal parameters, at least two second calling functions can call at least two second calling objects by calling at least two second formal parameters.

[0125] S513: Generate a target program according to the locally preset code template, the first marking information, and the second marking information.

[0126] In the embodiments of this specification, by establishing a correspondence between at least two first calling objects and the first formal parameters, and a correspondence between the at least two second calling objects and the second formal parameters, it is possible to implement the calling of at least two first calling functions on at least two first calling objects, and the calling of at least two second calling functions on at least two second calling objects in the code template, thereby generating a target program.

[0127] The target program generation method provided in the embodiments of this specification is simple and easy to implement, and is conducive to quickly and accurately generating the target program.

[0128] In some embodiments, the step of obtaining at least one resource in the resource file of the target software development kit and at least one resource in the resource file of the base software development kit includes:

[0129] The client scans the resource files of the target software development kit to obtain at least one first resource identifier;

[0130] The client scans the resource file of the basic software development kit to obtain at least one second resource identifier;

[0131] The client sends a resource download request to the server, where the resource download request carries at least one first resource identifier and at least one second resource identifier;

[0132] The server sends a first resource matching at least one resource identifier and a second resource matching at least one second resource identifier to the client;

[0133] The client receives the at least one first resource and the at least one second resource sent by the server, and stores the at least one first resource and the at least one second resource in the resource file of the target software development kit and the resource file of the basic software development kit respectively according to a matching relationship between the at least one first resource and the at least one first resource identifier and a matching relationship between the at least one second resource and the at least one second resource identifier;

[0134] Accordingly, the generating of the target program based on the locally preset code template, the at least two first calling objects, and the at least two second calling objects further includes:

[0135] A target program is generated based on the locally preset code template, the at least two first calling objects, the at least two second calling objects, the at least one first resource, and the at least one second resource.

[0136] In the embodiments of the present specification, resource types of the at least one first resource and the at least one second resource may include, but are not limited to, picture resources, video resources, and audio resources.

[0137] In the embodiment of this specification, by calling the at least two first calling objects and the at least two second calling objects through the locally preset code target, at least one first resource and at least one second resource can be loaded to realize the visualization of the target program and enrich the presentation form of the target program.

[0138] In some embodiments, before generating the target program based on the locally preset code template, the target software development kit, and the basic software development kit, the method further includes:

[0139] The client displays a download progress display page, wherein the download progress display page includes download progress information corresponding to the target software development kit and the basic software development kit;

[0140] Accordingly, generating a target program based on a locally preset code template, the target software development kit, and the basic software development kit includes:

[0141] When the download progress information indicates that the download of the software package is complete, a target program is generated based on a locally preset code template, the target software development kit, and the basic software development kit.

[0142] In the embodiment of the present specification, the download progress display page may include a progress display control, which may be a progress bar for displaying the download progress of the target software development kit and the basic software development kit.

[0143] S209: If the client detects a trigger instruction for the program running control, it sends a software package update query request to the server.

[0144] In the embodiment of this specification, the update query request is used to request to query the update information corresponding to the target software development kit, and the update query request carries the identification information of the target software development kit.

[0145] S211: The server determines the update information corresponding to the target software development tool.

[0146] S213: When the update information indicates that there is an update, the server determines the update software development kit corresponding to the update information.

[0147] S215: The server sends the updated software development kit to the client.

[0148] In the embodiment of this specification, the update software development kit may include a target software development kit and / or a basic software development kit.

[0149] S217: The client updates the target program based on the updated software development kit and runs the updated target program.

[0150] In an optional embodiment, if Figure 6 As shown, the updating of the target program based on the updated software development kit to obtain the updated target program includes:

[0151] S601: Obtain a configuration file of the update software development kit.

[0152] S603: If the updated software development kit is an updated target software development kit, obtain a configuration file of the target software development kit.

[0153] S605: Based on the configuration file of the updated software development kit, overwrite the configuration file of the target software development kit to obtain an updated target software development kit.

[0154] In the embodiment of the present specification, the configuration file of the target software development kit may be overwritten by merging the configuration file of the updated software development kit with the configuration file of the target software development kit.

[0155] If the client detects that the configuration file of the target software development kit conflicts with the configuration file of the update software development kit during the merging process, the client determines the conflicting object in the configuration file of the target software development kit and deletes the conflicting object. Specifically, the conflicting object is the conflicting interface.

[0156] If the client detects duplication between the configuration file of the target software development kit and the configuration file of the update software development kit during the merging process, the client determines the duplicate objects in the configuration file of the target software development kit and deletes the duplicate objects. Specifically, the duplicate objects are duplicate interfaces.

[0157] S607: Scan the configuration file of the updated target software development kit to determine the calling sequence information between at least two fourth calling objects in the updated target software development kit.

[0158] S609: Mark the at least two fourth calling objects based on the calling sequence information between the at least two fourth calling objects and the first formal parameter to obtain third marking information, where the third marking information represents the corresponding relationship between the at least two fourth calling objects and the first formal parameter.

[0159] S611: Obtain an updated target program according to the locally preset code template, the third marking information, and the second marking information.

[0160] Specifically, the implementation principles of the above S607 to S611 are similar to the implementation principles of the above S503, S505 and S513, and are not repeated here.

[0161] In an optional embodiment, if Figure 7 As shown, an updated target program can be generated based on a locally preset code template, an updated software development kit, a target software development kit, and a basic development kit; accordingly, updating the target program based on the updated software development kit to obtain the updated target program includes:

[0162] S701: Obtaining a configuration file of the update software development kit;

[0163] S703: If the updated software development kit is an updated basic software development kit, obtain a configuration file of the basic software development kit;

[0164] S705: Overwriting the configuration file of the basic software development kit based on the configuration file of the updated software development kit to obtain an updated basic software development kit;

[0165] S707: Scan the configuration file of the updated basic software development toolkit to determine the calling sequence information between at least two fifth calling objects in the updated basic software development toolkit;

[0166] S709: Mark the at least two fifth call objects based on the call sequence information between the at least two fifth call objects and the second formal parameter to obtain fourth marking information, where the fourth marking information represents a correspondence between the at least two fifth call objects and the second formal parameter;

[0167] S711: Obtain an updated target program according to the locally preset code template, the first marking information, and the fourth marking information.

[0168] Specifically, the implementation principles of the above S701 to S711 are similar to the implementation principles of the above S601 to S611, and are not repeated here.

[0169] In an embodiment of the present specification, by overwriting the configuration file of the target software development kit with the configuration file of the updated software development kit when the updated software development kit is an updated target software development kit, deleting the conflicting interfaces and duplicate interfaces in the new configuration file obtained by overwriting, obtaining at least two fourth calling objects in the new configuration file, and calling the at least two fourth calling objects and at least two second calling objects through the code template to obtain the updated target program.

[0170] In an embodiment of the present specification, by overwriting the configuration file of the basic software development kit with the configuration file of the updated software development kit when the updated software development kit is an updated basic software development kit, deleting the conflicting interfaces and duplicate interfaces in the new configuration file obtained by overwriting, obtaining at least two fifth call objects in the new configuration file, and calling the at least two fifth call objects and at least two first call objects through the code template to obtain an updated target program.

[0171] The above target program update solution is suitable for situations where the update changes of the software development toolkit are relatively complex. It can simplify the process, improve the update efficiency of the target program, ensure the update accuracy, and obtain an updated target program that can be run.

[0172] In an optional embodiment, the target program can also be updated by updating the program information of the target program; accordingly, Figure 8 As shown, the updating of the target program based on the updated software development kit to obtain the updated target program includes:

[0173] S801: Extract at least two third call objects of the update software development kit;

[0174] S803: Update the target program according to the at least two third calling objects to obtain the updated target program.

[0175] In the embodiment of this specification, how to update the program information of the target program is determined based on at least two third call objects. Specifically, the modification of the program information can be achieved through a hook function.

[0176] In an optional embodiment, when a conflict occurs between at least one first calling object or at least one second calling object and the at least one third calling object, updating the target program according to the at least two third calling objects includes:

[0177] Determining, from the at least two first calling objects and the at least two second calling objects, a conflicting object that conflicts with the at least two third calling objects;

[0178] Program information corresponding to the conflicting object in the target program is updated based on the at least two third calling objects.

[0179] In the embodiment of this specification, if it is detected that there is a first calling object among at least two first calling objects that has the same identifier as at least two third calling objects but different internal method functions, the first calling object is determined to be a conflicting object.

[0180] In the embodiment of this specification, the program information corresponding to the conflicting object can be a code snippet that facilitates the target program to call the conflicting object. By updating the code snippet that calls the conflicting object to the code snippet corresponding to the corresponding third calling object, the target program can be updated.

[0181] In the embodiments of this specification, by updating the code snippets corresponding to the conflicting objects in the target program, the problem of the updated target program being unable to run can be avoided.

[0182] In an optional embodiment, when at least one third calling object is a newly added object, updating the target program according to the at least two third calling objects includes:

[0183] Determining, from the at least two third call objects, a newly added object that is different from the at least two first call objects and the at least two second call objects;

[0184] Determine first calling sequence information between the newly added object and the at least two first calling objects; or determine second calling sequence information between the newly added object and the at least two second calling objects;

[0185] Determining, based on the first calling sequence information or the second calling sequence information, an adding position of the program information corresponding to the newly added object in the target program;

[0186] The target program is updated based on the program information corresponding to the newly added object and the adding location.

[0187] In the embodiment of this specification, the identifier of the newly added object is different from the identifiers of at least two first calling objects and the identifiers of at least two second calling objects.

[0188] In an embodiment of the present specification, when the updated software development kit is an updated target software development kit, at least two third call objects include a third call object that is identical to at least one first call object; or, when the updated software development kit is an updated basic software development kit, at least two third call objects include a third call object that is identical to at least one second call object.

[0189] Therefore, the first calling sequence information between the newly added object and the at least two first calling objects can be determined based on the sequence information between the third calling objects; or the second calling sequence information between the newly added object and the at least two second calling objects can be determined.

[0190] Thus, the program information corresponding to the newly added object can be inserted into the target program according to the first calling sequence information or the second calling sequence information to obtain an updated target program.

[0191] In the embodiment of this specification, the program information corresponding to the newly added object is a code snippet that facilitates the target program to call the newly added object.

[0192] The above target program update solution is suitable for situations where the update changes of the software development toolkit are relatively simple. By directly changing the target program, the update efficiency of the target program can be improved, the update accuracy can be ensured, and an updated target program that can be run can be obtained.

[0193] In the above two target program update schemes, by considering the impact of conflicting objects, newly added objects and duplicate objects on the target program update, it is beneficial to the comprehensive update of the target program and improve the user experience.

[0194] In an optional embodiment, when the updated software development kit further includes a resource file, updating the target program based on the updated software development kit to obtain the updated target program further includes:

[0195] Obtaining resource files of the updated software development kit;

[0196] If the updated software development kit is an updated target software development kit, obtaining resource files of the target software development kit;

[0197] Based on the configuration file and resource file of the updated software development kit, respectively overwrite the configuration file and resource file of the target software development kit to obtain an updated target software development kit;

[0198] If the updated software development kit is an updated basic software development kit, obtaining resource files of the basic software development kit;

[0199] Based on the configuration file and resource file of the updated software development kit, the configuration file and resource file of the basic software development kit are overwritten respectively to obtain an updated basic software development kit.

[0200] In the embodiment of this specification, if the update software development kit is an updated target software development kit, the resource files of the target software development kit can be overwritten by merging the resource files of the update software development kit with the resource files of the target software development kit.

[0201] If the client detects that a conflict occurs between the resource files of the target software development kit and the resource files of the update software development kit during the merging process, the client determines the conflicting resource in the resource files of the target software development kit and deletes the conflicting resource. Specifically, the conflicting resource is the first resource with the conflicting first resource identifier.

[0202] If the client detects duplication of resource files of the target software development kit and the updated software development kit during the merging process, the client determines the duplicated resources in the resource files of the target software development kit and deletes the duplicated resources. Specifically, the duplicated resources are duplicated first resources.

[0203] The coverage of the resource files of the basic software development kit can refer to the above solution, which will not be described in detail here.

[0204] In the embodiment of this specification, the target program can be updated without manual operation by the user of the client. The user only needs to select the target software development kit to see the target program on the client, which greatly improves the user experience.

[0205] In some embodiments, in order to improve the running speed of the target program, the program debugging page further includes a shielding control corresponding to at least one first calling object and / or at least one second calling object, and the above method further includes:

[0206] If the client detects a trigger instruction for at least one blocking control, determining a target blocking object according to the first calling object and / or the second calling object corresponding to the at least one blocking control;

[0207] The client obtains cache data of the target shielded call object;

[0208] The client calls the cached data of the object based on the target shield and starts the target program.

[0209] In the embodiments of this specification, the target shielding object may include the initialization interface and callback interface of the target software development kit, and may also include the initialization interface and callback interface of the basic software development kit. By shielding the target shielding object and utilizing the cached data of the target shielding object to ensure the normal operation of the target program, the target program's running speed can be significantly improved, meeting certain user testing requirements for the target program.

[0210] In some embodiments, the above method further comprises:

[0211] The client displays an initial page, which includes an information configuration control and a confirmation control corresponding to the target program;

[0212] If the client detects an editing instruction for the information configuration control, obtaining configuration information corresponding to the information configuration control;

[0213] If the client detects a trigger instruction for the confirmation control, the client verifies the configuration information and displays the target page if the verification passes.

[0214] In a specific embodiment, verifying the configuration information and displaying the target page if the verification passes includes:

[0215] Verify whether the custom name in the configuration information conforms to the preset encoding format;

[0216] Verify whether the unique identifier in the configuration information is unique;

[0217] Verify whether the storage path in the configuration information is a legal path;

[0218] In the case that the custom name conforms to the preset encoding format, the unique identifier is unique, and the saved path is a legal path, it is determined that the verification is passed and the display of the target page is executed.

[0219] In the embodiments of this specification, by verifying the configuration information of the target program, it is possible to ensure that the configuration information of the target program complies with the specification, thereby facilitating subsequent operation, maintenance, and management of the target program.

[0220] like Figure 9 If a trigger instruction for a creation control identified as "Create Project" is detected, the initial page will display the information configuration control corresponding to the target program.

[0221] By pre-setting the toolkit dependencies on the server side, this application can adapt to scenarios with complex dependencies between software development toolkits, and when the server side receives the toolkit download request information corresponding to the target software development toolkit sent by the client, it can quickly determine the basic software development toolkit that the target software development toolkit depends on, which is conducive to completing the download of the target software development toolkit and the basic software development toolkit in a relatively short time. Furthermore, by automatically generating the target program based on the locally preset code template, the target software development toolkit and the basic software development toolkit, the generation scheme adopted can also ensure the normal operation of the target program, which is conducive to improving the user experience. In addition, this application sends the update query information corresponding to the target software development toolkit to the server side through the client, receives the updated development software toolkit sent by the server side, and can update the target program based on the updated development software toolkit. The target program is automatically updated without the need for manual operation by the user. The update scheme adopted can also ensure the normal operation of the updated target program, further improving the user experience.

[0222] In a specific embodiment, Figure 10 As shown, another program processing method provided by this application is applied to the client; the above method includes:

[0223] S1001: Send a toolkit download request corresponding to a target software development toolkit to a server.

[0224] In an optional embodiment, the above method further includes:

[0225] displaying a target page, the target page including a selection control for at least one software development kit;

[0226] If a selection instruction for the at least one selection control is detected, determining a target software development kit corresponding to the selection instruction;

[0227] Accordingly, sending a toolkit download request corresponding to the target software development toolkit to the server includes:

[0228] If a trigger instruction for the confirmation control of the target page is detected, a toolkit download request is sent to the server, where the toolkit download request includes identification information of the target software development toolkit.

[0229] S1003: Receive the target software development kit and basic software development kit sent by the server, wherein the basic software development kit is determined by the server based on preset toolkit dependency information;

[0230] S1005: Generate a target program based on a locally preset code template, the target software development kit, and the basic software development kit, and jump to a program debugging page corresponding to the target program, wherein the program debugging page includes a program running control.

[0231] In a specific embodiment, generating a target program based on a locally preset code template, the target software development kit, and the basic software development kit includes:

[0232] Extracting at least two first call objects from the target software development kit;

[0233] Extracting at least two second call objects from the basic software development kit;

[0234] A target program is generated based on the locally preset code template, the at least two first calling objects, and the at least two second calling objects.

[0235] In an optional embodiment, the generating the target program based on the locally preset code template, the at least two first calling objects, and the at least two second calling objects includes:

[0236] Obtaining the first formal parameter in the code template in order;

[0237] Scanning a configuration file of the target software development kit to determine calling sequence information between the at least two first calling objects;

[0238] Marking the at least two first call objects based on the call sequence information between the at least two first call objects and the first formal parameter to obtain first marking information, where the first marking information represents a correspondence between the at least two first call objects and the first formal parameter;

[0239] Obtaining the second formal parameters arranged in order in the code template;

[0240] Scanning a configuration file of the basic software development kit to determine calling sequence information between the at least two second calling objects;

[0241] Marking the at least two second call objects based on the call sequence information between the at least two second call objects and the second formal parameter to obtain second marking information, where the second marking information represents a correspondence between the at least two second call objects and the second formal parameter;

[0242] A target program is generated according to the locally preset code template, the first marking information, and the second marking information.

[0243] In an optional embodiment, the above method further includes:

[0244] Displaying an initial page, the initial page including an information configuration control and a confirmation control corresponding to the target program;

[0245] If an editing instruction for the information configuration control is detected, obtaining configuration information corresponding to the information configuration control;

[0246] If a trigger instruction for the confirmation control is detected, the configuration information is verified, and the target page is displayed if the verification passes.

[0247] S1007: If a trigger instruction for the program running control is detected, a software package update query request is sent to the server;

[0248] S1009: receiving an updated software development tool kit sent by the server when the update information corresponding to the target software development tool indicates that an update exists;

[0249] S1011: updating the target program based on the updated software development kit to obtain an updated target program, and running the updated target program.

[0250] In an optional embodiment, updating the target program based on the updated software development kit to obtain the updated target program includes:

[0251] Obtaining a configuration file of the update software development kit;

[0252] If the updated software development kit is an updated target software development kit, obtaining a configuration file of the target software development kit;

[0253] Overwriting the target software development kit configuration file based on the configuration file of the update software development kit to obtain an updated target software development kit;

[0254] Scanning a configuration file of the updated target software development kit to determine call sequence information between at least two fourth call objects in the updated target software development kit;

[0255] Marking the at least two fourth call objects based on the calling sequence information between the at least two fourth call objects and the first formal parameter to obtain third marking information, where the third marking information represents a corresponding relationship between the at least two fourth call objects and the first formal parameter;

[0256] An updated target program is obtained according to the locally preset code template, the third marking information and the second marking information.

[0257] In an optional embodiment, updating the target program based on the updated software development kit to obtain the updated target program includes:

[0258] Obtaining a configuration file of the update software development kit;

[0259] If the updated software development kit is an updated basic software development kit, obtaining a configuration file of the basic software development kit;

[0260] Based on the configuration file of the updated software development kit, the configuration file of the basic software development kit is overwritten to obtain an updated basic software development kit;

[0261] Scanning a configuration file of the updated basic software development kit to determine call sequence information between at least two fifth call objects in the updated basic software development kit;

[0262] Marking the at least two fifth call objects based on the call sequence information between the at least two fifth call objects and the second formal parameter to obtain fourth marking information, where the fourth marking information represents a correspondence between the at least two fifth call objects and the second formal parameter;

[0263] An updated target program is obtained according to the locally preset code template, the first marking information, and the fourth marking information.

[0264] In some embodiments, updating the target program based on the updated software development kit to obtain the updated target program includes:

[0265] extracting at least two third call objects of the update software development kit;

[0266] The target program is updated according to the at least two third calling objects to obtain the updated target program.

[0267] In an optional embodiment, updating the target program according to the at least two third calling objects includes:

[0268] Determining, from the at least two first calling objects and the at least two second calling objects, a conflicting object that conflicts with the at least two third calling objects;

[0269] Program information corresponding to the conflicting object in the target program is updated based on the at least two third calling objects.

[0270] In an optional embodiment, updating the target program according to the at least two third calling objects includes:

[0271] Determining, from the at least two third call objects, a newly added object that is different from the at least two first call objects and the at least two second call objects;

[0272] Determine first calling sequence information between the newly added object and the at least two first calling objects; or determine second calling sequence information between the newly added object and the at least two second calling objects;

[0273] Determining, based on the first calling sequence information or the second calling sequence information, an adding position of the program information corresponding to the newly added object in the target program;

[0274] The target program is updated based on the program information corresponding to the newly added object and the adding location.

[0275] In an optional embodiment, updating the target program based on the updated software development kit to obtain the updated target program further includes:

[0276] Obtaining resource files of the updated software development kit;

[0277] If the updated software development kit is an updated target software development kit, obtaining resource files of the target software development kit;

[0278] Overwriting the resource files of the target software development kit based on the resource files of the updated software development kit to obtain an updated basic software development kit;

[0279] If the updated software development kit is an updated basic software development kit, obtaining resource files of the basic software development kit;

[0280] Based on the resource files of the updated software development kit, the resource files of the basic software development kit are overwritten to obtain an updated basic software development kit.

[0281] This application automatically generates a target program based on a locally preset code template, a target software development kit, and a basic software development kit. The generation scheme adopted can also ensure the normal operation of the target program, which is conducive to improving the user experience. In addition, this application sends update query information corresponding to the target software development kit to the server through the client, receives the updated development software kit sent by the server, and can update the target program based on the updated development software kit. In the case of automatically updating the target program without manual operation by the user, the update scheme adopted can also ensure the normal operation of the updated target program, further improving the user experience.

[0282] In a specific embodiment, Figure 11 As shown, another program processing method provided by this application is applied to the server; the method includes:

[0283] S1101: Receive a toolkit download request corresponding to a target software development kit sent by a client, determine the basic software development toolkit that the target software development toolkit depends on based on a preset toolkit dependency, and send the target software development toolkit and the basic software development tool to the client.

[0284] In the embodiment of this specification, a dependency relationship of at least one software development kit is pre-set on the server side.

[0285] In a specific embodiment, determining the basic software development toolkit that the target software development toolkit depends on based on a preset toolkit dependency relationship includes:

[0286] Get the preset toolkit dependencies;

[0287] According to the identification information of the target software development toolkit carried in the toolkit download request, the dependency information of the target software development toolkit is determined from the preset toolkit dependency relationship.

[0288] According to the dependency information of the target software development kit, a basic software development kit that the target software development kit depends on is determined.

[0289] S1103: receiving a software package update query request sent by the client when a trigger instruction for a program running control is detected, and determining update information corresponding to the target software development tool;

[0290] S1105: When the update information corresponding to the target software development tool indicates that an update exists, an updated software development tool kit is sent to the client.

[0291] By pre-setting toolkit dependencies on the server side, this application can adapt to scenarios with complex dependencies between software development toolkits, and when the server side receives toolkit download request information corresponding to the target software development toolkit sent by the client, it can quickly determine the basic software development toolkit that the target software development toolkit depends on, which is conducive to completing the download of the target software development toolkit and the basic software development toolkit in a shorter time.

[0292] In a specific embodiment, Figure 12 As shown, a program processing device provided by the present application is applied to a program processing system, wherein the program processing system includes a client and a server; the device includes:

[0293] The first sending module 1201 is used for the client to send a toolkit download request corresponding to the target software development toolkit to the server.

[0294] The first determining module 1203 is configured to determine, on the server side, the basic software development kit that the target software development kit depends on based on a preset toolkit dependency relationship.

[0295] The second sending module 1205 is configured to send the target software development kit and the basic software development kit to the client.

[0296] The generation module 1207 is used for the client to generate a target program based on a locally preset code template, the target software development kit and the basic software development kit, and jump to a program debugging page corresponding to the target program, wherein the program debugging page includes a program running control.

[0297] The second sending module 1209 is configured to send a software package update query request to the server if the client detects a trigger instruction for the program running control.

[0298] The receiving module 1211 is used for the server to determine the update information corresponding to the target software development tool.

[0299] The second determining module 1213 is configured for the server to determine, when the update information indicates that there is an update, the updated software development kit corresponding to the update information.

[0300] The third sending module 1215 is configured to send the updated software development kit to the client.

[0301] The updating module 1217 is used for the client to update the target program based on the updated software development kit and run the updated target program.

[0302] In some embodiments, the apparatus further comprises:

[0303] A first display module is configured to display a target page on a client, wherein the target page includes at least one selection control of a software development kit;

[0304] A first detection module is configured to, if the client detects a selection instruction for the at least one selection control, determine a target software development kit corresponding to the selection instruction;

[0305] Accordingly, the first sending module 1201 includes:

[0306] The detection unit is configured to send a toolkit download request to a server if the client detects a trigger instruction for a confirmation control on the target page, wherein the toolkit download request includes identification information of the target software development toolkit.

[0307] In some embodiments, the generating module 1207 includes:

[0308] A first extraction unit, configured to extract at least two first call objects from the target software development kit;

[0309] A second extraction unit, configured to extract at least two second call objects from the basic software development toolkit;

[0310] A generating unit is configured to generate a target program based on the locally preset code template, the at least two first calling objects, and the at least two second calling objects.

[0311] In some embodiments, the generating unit includes:

[0312] A first acquiring subunit, configured to acquire first formal parameters arranged in sequence in the code template;

[0313] A first scanning subunit is configured to scan a configuration file of the target software development kit to determine call sequence information between the at least two first call objects;

[0314] a first marking subunit, configured to mark the at least two first call objects based on the call sequence information between the at least two first call objects and the first formal parameter, to obtain first marking information, where the first marking information represents a correspondence between the at least two first call objects and the first formal parameter;

[0315] A second acquiring unit, configured to acquire second formal parameters arranged in sequence in the code template;

[0316] A second scanning subunit is configured to scan a configuration file of the basic software development toolkit to determine call sequence information between the at least two second call objects;

[0317] a second marking subunit, configured to mark the at least two second call objects based on the call sequence information between the at least two second call objects and the second formal parameter to obtain second marking information, where the second marking information represents a correspondence between the at least two second call objects and the second formal parameter;

[0318] A generating subunit is configured to generate a target program according to the locally preset code template, the first marking information and the second marking information.

[0319] In some embodiments, the apparatus further comprises:

[0320] A second display module is configured to display a download progress display page, wherein the download progress display page includes download progress information corresponding to the target software development kit and the basic software development kit;

[0321] Correspondingly, the generating module is further configured to generate a target program based on a locally preset code template, the target software development kit and the basic software development kit when the download progress information indicates that the software package download is complete.

[0322] In some embodiments, the update module 1217 includes:

[0323] A first acquiring unit, configured to acquire a configuration file of the update software development kit;

[0324] a second acquiring unit, configured to acquire a configuration file of the target software development kit if the updated software development kit is an updated target software development kit;

[0325] A first overwriting unit is configured to overwrite the configuration file of the target software development kit based on the configuration file of the update software development kit to obtain an updated target software development kit;

[0326] a first scanning unit, configured to scan a configuration file of the updated target software development kit to determine call sequence information between at least two fourth call objects in the updated target software development kit;

[0327] a first marking unit, configured to mark the at least two fourth call objects based on the call sequence information between the at least two fourth call objects and the first formal parameter to obtain third marking information, wherein the third marking information represents a correspondence between the at least two fourth call objects and the first formal parameter;

[0328] An updating unit is configured to obtain an updated target program according to the locally preset code template, the third marking information, and the second marking information.

[0329] In some embodiments, the updating unit includes:

[0330] A third acquisition subunit is used to obtain a configuration file of the update software development kit;

[0331] a fourth acquiring subunit, configured to acquire a configuration file of the basic software development kit if the updated software development kit is an updated basic software development kit;

[0332] a second overwriting subunit, configured to overwrite the configuration file of the basic software development kit based on the configuration file of the updated software development kit to obtain an updated basic software development kit;

[0333] a second scanning subunit, configured to scan a configuration file of the updated basic software development toolkit to determine call sequence information between at least two fifth call objects in the updated basic software development toolkit;

[0334] a second marking subunit, configured to mark the at least two fifth call objects based on the call sequence information between the at least two fifth call objects and the second formal parameter, to obtain fourth marking information, where the fourth marking information represents a correspondence between the at least two fifth call objects and the second formal parameter;

[0335] The second updating subunit is configured to obtain an updated target program according to the locally preset code template, the first marking information, and the fourth marking information.

[0336] In some embodiments, the updating unit includes:

[0337] A first extraction subunit is configured to extract at least two third call objects of the update software development kit;

[0338] The third updating subunit is configured to update the target program according to the at least two third calling objects to obtain the updated target program.

[0339] In some embodiments, the third updating subunit includes:

[0340] A first determining sub-subunit is configured to determine, from the at least two first calling objects and the at least two second calling objects, a conflicting object that conflicts with the at least two third calling objects;

[0341] The first updating sub-subunit is configured to update program information corresponding to the conflicting object in the target program based on the at least two third calling objects.

[0342] In some embodiments, the third updating subunit includes:

[0343] A second determining sub-subunit is configured to determine, from the at least two third calling objects, a newly added object that is different from the at least two first calling objects and the at least two second calling objects;

[0344] a third determining sub-subunit, configured to determine first calling sequence information between the newly added object and the at least two first calling objects; or determine second calling sequence information between the newly added object and the at least two second calling objects;

[0345] a fourth determining sub-subunit, configured to determine, based on the first calling sequence information or the second calling sequence information, an adding position of the program information corresponding to the newly added object in the target program;

[0346] The second updating sub-subunit is configured to update the target program based on the program information corresponding to the newly added object and the adding location.

[0347] In some embodiments, the apparatus further comprises:

[0348] A third display module is used to display an initial page, wherein the initial page includes an information configuration control and a confirmation control corresponding to the target program;

[0349] A second detection module is configured to obtain configuration information corresponding to the information configuration control if an editing instruction for the information configuration control is detected;

[0350] The third detection module is used to verify the configuration information if a trigger instruction for the confirmation control is detected, and to display the target page if the verification passes.

[0351] The device and method embodiments in the device embodiments are based on the same inventive concept.

[0352] In a specific embodiment, Figure 13 As shown, a program processing device provided by the present application is applied to a client; the device includes:

[0353] The first sending module 1301 is used to send a toolkit download request corresponding to the target software development toolkit to the server;

[0354] A first receiving module 1303 is configured to receive the target software development kit and the basic software development kit sent by the server, wherein the basic software development kit is determined by the server based on preset toolkit dependency information;

[0355] A generating module 1305 is configured to generate a target program based on a locally preset code template, the target software development kit, and the basic software development kit, and jump to a program debugging page corresponding to the target program, wherein the program debugging page includes a program running control;

[0356] The second sending module 1307 is configured to send a software package update query request to the server if a trigger instruction for the program running control is detected;

[0357] The second receiving module 1309 is configured to receive an updated software development toolkit sent by the server when the update information corresponding to the target software development tool indicates that there is an update;

[0358] The updating module 1311 is configured to update the target program based on the updated software development kit, obtain the updated target program, and run the updated target program.

[0359] In some embodiments, the generating module 1305 includes:

[0360] A first extraction unit, configured to extract at least two first call objects from the target software development kit;

[0361] A second extraction unit, configured to extract at least two second call objects from the basic software development toolkit;

[0362] A generating unit is configured to generate a target program based on the locally preset code template, the at least two first calling objects, and the at least two second calling objects.

[0363] In some embodiments, the generating unit includes:

[0364] A first acquiring subunit, configured to acquire first formal parameters arranged in sequence in the code template;

[0365] A first scanning subunit is configured to scan a configuration file of the target software development kit to determine call sequence information between the at least two first call objects;

[0366] a first marking subunit, configured to mark the at least two first call objects based on the call sequence information between the at least two first call objects and the first formal parameter, to obtain first marking information, where the first marking information represents a correspondence between the at least two first call objects and the first formal parameter;

[0367] A second acquisition subunit is used to acquire the second formal parameters arranged in order in the code template;

[0368] A second scanning subunit is configured to scan a configuration file of the basic software development toolkit to determine call sequence information between the at least two second call objects;

[0369] a second marking subunit, configured to mark the at least two second call objects based on the call sequence information between the at least two second call objects and the second formal parameter to obtain second marking information, where the second marking information represents a correspondence between the at least two second call objects and the second formal parameter;

[0370] The first generating subunit is configured to generate a target program according to the locally preset code template, the first marking information, and the second marking information.

[0371] In some embodiments, the update module 1311 includes:

[0372] A first acquiring unit, configured to acquire a configuration file of the update software development kit;

[0373] a second acquiring unit, configured to acquire a configuration file of the target software development kit if the updated software development kit is an updated target software development kit;

[0374] A first updating unit is configured to overwrite the configuration file of the target software development kit based on the configuration file of the update software development kit to obtain an updated target software development kit;

[0375] a first scanning unit, configured to scan a configuration file of the updated target software development kit to determine call sequence information between at least two fourth call objects in the updated target software development kit;

[0376] a first marking unit, configured to mark the at least two fourth call objects based on the call sequence information between the at least two fourth call objects and the first formal parameter to obtain third marking information, wherein the third marking information represents a correspondence between the at least two fourth call objects and the first formal parameter;

[0377] The second updating unit is configured to obtain an updated target program according to the locally preset code template, the third marking information and the second marking information.

[0378] In some embodiments, the update module 1311 includes:

[0379] A third obtaining unit is used to obtain a configuration file of the update software development kit;

[0380] a fourth acquiring unit, configured to acquire a configuration file of the basic software development kit if the updated software development kit is an updated basic software development kit;

[0381] A third updating unit is configured to overwrite the configuration file of the basic software development kit based on the configuration file of the update software development kit to obtain an updated basic software development kit;

[0382] a second scanning unit, configured to scan a configuration file of the updated basic software development kit to determine call sequence information between at least two fifth call objects in the updated basic software development kit;

[0383] a second marking unit, configured to mark the at least two fifth call objects based on the call sequence information between the at least two fifth call objects and the second formal parameter, to obtain fourth marking information, wherein the fourth marking information represents a correspondence between the at least two fifth call objects and the second formal parameter;

[0384] The fourth updating unit is configured to obtain an updated target program according to the locally preset code template, the first marking information, and the fourth marking information.

[0385] In some embodiments, the update module 1311 includes:

[0386] A first extraction unit is used to extract at least two third call objects of the update software development kit;

[0387] A fifth updating unit is configured to update the target program according to the at least two third calling objects to obtain the updated target program.

[0388] In some embodiments, the fifth updating unit includes:

[0389] A first determining subunit is configured to determine, from the at least two first calling objects and the at least two second calling objects, a conflicting object that conflicts with the at least two third calling objects;

[0390] The first updating subunit is configured to update program information corresponding to the conflicting object in the target program based on the at least two third calling objects.

[0391] In some embodiments, the fifth updating unit includes:

[0392] A second determining subunit is configured to determine, from the at least two third calling objects, a newly added object that is different from the at least two first calling objects and the at least two second calling objects;

[0393] a third determining subunit, configured to determine first calling sequence information between the newly added object and the at least two first calling objects; or determine second calling sequence information between the newly added object and the at least two second calling objects;

[0394] a fourth determining subunit, configured to determine, based on the first calling sequence information or the second calling sequence information, an adding position of the program information corresponding to the newly added object in the target program;

[0395] The second updating subunit is configured to update the target program based on the program information corresponding to the newly added object and the adding location.

[0396] In some embodiments, the apparatus further comprises:

[0397] A first display module, configured to display a download progress display page, wherein the download progress display page includes download progress information corresponding to the target software development kit and the basic software development kit;

[0398] Correspondingly, the generating module further includes:

[0399] The second generating subunit is configured to generate a target program based on a locally preset code template, the target software development kit and the basic software development kit when the download progress information indicates that the software package download is complete.

[0400] In some embodiments, the apparatus further comprises:

[0401] a second display module, configured to display a target page, wherein the target page includes a selection control for at least one software development kit;

[0402] a first detection module, configured to, upon detecting a selection instruction for the at least one selection control, determine a target software development kit corresponding to the selection instruction;

[0403] Accordingly, the first sending module includes:

[0404] The sending unit is configured to send a toolkit download request to a server if a trigger instruction for a confirmation control on the target page is detected, wherein the toolkit download request includes identification information of the target software development toolkit.

[0405] In some embodiments, the apparatus further comprises:

[0406] A third display module is used to display an initial page, wherein the initial page includes an information configuration control and a confirmation control corresponding to the target program;

[0407] A second detection module is configured to obtain configuration information corresponding to the information configuration control if an editing instruction for the information configuration control is detected;

[0408] The third detection module is used to verify the configuration information if a trigger instruction for the confirmation control is detected, and to display the target page if the verification passes.

[0409] The device and method embodiments in the device embodiments are based on the same inventive concept.

[0410] In a specific embodiment, Figure 14 As shown, a program processing device provided by the present application is applied to a server; the device includes:

[0411] The first receiving module 1401 is configured to receive a toolkit download request corresponding to a target software development kit sent by a client, determine a basic software development kit on which the target software development kit depends based on a preset toolkit dependency relationship, and send the target software development kit and the basic software development tool to the client;

[0412] The second receiving module 1403 is configured to receive a software package update query request sent by the client when a trigger instruction for a program running control is detected, and determine update information corresponding to the target software development tool;

[0413] The sending module 1405 is configured to send an updated software development tool kit to the client when the update information corresponding to the target software development tool indicates that an update exists.

[0414] In some embodiments, the first receiving module includes:

[0415] The acquisition unit is used to obtain the preset toolkit dependencies;

[0416] The first determining unit is configured to determine dependency information of the target software development toolkit from a preset toolkit dependency relationship according to identification information of the target software development toolkit carried in the toolkit download request.

[0417] The second determining unit is configured to determine the basic software development kit that the target software development kit depends on according to the dependency information of the target software development kit.

[0418] By pre-setting toolkit dependencies on the server side, this application can adapt to scenarios with complex dependencies between software development toolkits, and when the server side receives toolkit download request information corresponding to the target software development toolkit sent by the client, it can quickly determine the basic software development toolkit that the target software development toolkit depends on, which is conducive to completing the download of the target software development toolkit and the basic software development toolkit in a shorter time.

[0419] The device and method embodiments in the device embodiments are based on the same inventive concept.

[0420] In a specific embodiment, the present application provides a program processing device, which is applied to a client; the device includes a processor and a memory, the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the program processing method as described above.

[0421] The device and method embodiments of the device embodiments are based on the same inventive concept.

[0422] In a specific embodiment, the embodiment of the present application provides a computer-readable storage medium, which stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the program processing method as described above.

[0423] An embodiment of the present application provides a program processing server, which business operation data processing server includes a processor and a memory, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the program processing method provided in the above method embodiment.

[0424] The memory can be used to store software programs and modules. The processor executes various functional applications and program processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for the functions, etc.; the data storage area can store data created based on the use of the device, etc. In addition, the memory can include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.

[0425] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described above.

[0426] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Taking running on a server as an example, Figure 15 This is a hardware structure diagram of a server of a program processing method provided in an embodiment of the present application. Figure 15 As shown, the server 1500 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPUs) 1510 (the processor 1510 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1530 for storing data, and one or more storage media 1520 (such as one or more mass storage devices) for storing application programs 1523 or data 1522. Among them, the memory 1530 and the storage medium 1520 can be temporary storage or permanent storage. The program stored in the storage medium 1520 may include one or more modules, each module may include a series of instruction operations on the server. Furthermore, the central processing unit 1510 can be configured to communicate with the storage medium 1520 to execute a series of instruction operations in the storage medium 1520 on the server 1500. The server 1500 may also include one or more power supplies 1560, one or more wired or wireless network interfaces 1550, one or more input and output interfaces 1540, and / or one or more operating systems 1521, such as Windows Server™, Mac OSX™, Unix™, Linux™, FreeBSD™, etc.

[0427] The input / output interface 1540 can be used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by the communication provider of the server 1500. In one embodiment, the input / output interface 1540 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one embodiment, the input / output interface 1540 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0428] It can be understood by those skilled in the art that Figure 15 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 15 More or fewer components than shown, or with Figure 15 Different configurations shown.

[0429] An embodiment of the present application also provides a storage medium, which can be set in a server to store at least one instruction, at least one program, code set or instruction set related to a program processing method in a method embodiment. The at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the program processing method provided by the above-mentioned method embodiment.

[0430] Optionally, in this embodiment, the storage medium may be located in at least one of a plurality of network servers in a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0431] As can be seen from the embodiments of the program processing method, apparatus, device, or storage medium provided by the present application, the present application generates a target program based on a locally preset code template, the target software development kit, and the basic software development kit, thereby enabling automatic generation of the target program. The target program is updated based on the update software development kit to obtain an updated target program, and the updated target program is run to enable automatic updating of the target program.

[0432] It should be noted that the order of the embodiments of the present application described above is for descriptive purposes only and does not represent the superiority or inferiority of the embodiments. The above description is of specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0433] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences from other embodiments. In particular, the device embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

[0434] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0435] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A program processing method, characterized in that: The method comprises: Send a toolkit download request corresponding to the target software development kit to the server; Receiving the target software development kit and basic software development kit sent by the server, wherein the basic software development kit is determined by the server based on preset toolkit dependency information; Based on a locally preset code template, the target software development kit, and the basic software development kit, a target program is generated, and a jump is made to a program debugging page corresponding to the target program, wherein the program debugging page includes a program running control; the process of generating the target program includes: obtaining first formal parameters and second formal parameters arranged in sequence in the code template; scanning a configuration file of the target software development kit to determine call sequence information between at least two first call objects in the target software development kit; marking the at least two first call objects based on the call sequence information between the at least two first call objects and the first formal parameter to obtain first marking information, wherein the first marking information represents a correspondence between the at least two first call objects and the first formal parameter; scanning a configuration file of the basic software development kit to determine call sequence information between at least two second call objects in the basic software development kit; marking the at least two second call objects based on the call sequence information between the at least two second call objects and the second formal parameter to obtain second marking information, wherein the second marking information represents a correspondence between the at least two second call objects and the second formal parameter; generating the target program according to the code template, the first marking information, and the second marking information; If a trigger instruction for the program running control is detected, a software package update query request is sent to the server; receiving an updated software development tool kit sent by the server when the update information corresponding to the target software development tool indicates that an update exists; The target program is updated based on the updated software development kit to obtain an updated target program, and the updated target program is run.

2. The method according to claim 1, characterized in that The updating of the target program based on the updated software development kit to obtain the updated target program comprises: Obtaining a configuration file of the update software development kit; If the updated software development kit is an updated target software development kit, obtaining a configuration file of the target software development kit; Overwriting the target software development kit configuration file based on the configuration file of the update software development kit to obtain an updated target software development kit; Scanning a configuration file of the updated target software development kit to determine call sequence information between at least two fourth call objects in the updated target software development kit; Marking the at least two fourth call objects based on the call sequence information between the at least two fourth call objects and the first formal parameter to obtain third marking information, where the third marking information represents a correspondence between the at least two fourth call objects and the first formal parameter; An updated target program is obtained according to the locally preset code template, the third marking information and the second marking information.

3. The method according to claim 1, characterized in that The updating of the target program based on the updated software development kit to obtain the updated target program comprises: Obtaining a configuration file of the update software development kit; If the updated software development kit is an updated basic software development kit, obtaining a configuration file of the basic software development kit; Based on the configuration file of the updated software development kit, the configuration file of the basic software development kit is overwritten to obtain an updated basic software development kit; Scanning a configuration file of the updated basic software development kit to determine call sequence information between at least two fifth call objects in the updated basic software development kit; Marking the at least two fifth call objects based on the call sequence information between the at least two fifth call objects and the second formal parameter to obtain fourth marking information, where the fourth marking information represents a correspondence between the at least two fifth call objects and the second formal parameter; An updated target program is obtained according to the locally preset code template, the first marking information, and the fourth marking information.

4. The method according to claim 1, wherein The updating of the target program based on the updated software development kit to obtain the updated target program comprises: extracting at least two third call objects of the update software development kit; The target program is updated according to the at least two third calling objects to obtain the updated target program.

5. The method according to claim 4, characterized in that The updating of the target program according to the at least two third calling objects includes: Determining, from the at least two first calling objects and the at least two second calling objects, a conflicting object that conflicts with the at least two third calling objects; Program information corresponding to the conflicting object in the target program is updated based on the at least two third calling objects.

6. The method according to claim 4, characterized in that The updating of the target program according to the at least two third calling objects includes: Determining, from the at least two third call objects, a newly added object that is different from the at least two first call objects and the at least two second call objects; Determine first calling sequence information between the newly added object and the at least two first calling objects; or determine second calling sequence information between the newly added object and the at least two second calling objects; Determining, based on the first calling sequence information or the second calling sequence information, an adding position of the program information corresponding to the newly added object in the target program; The target program is updated based on the program information corresponding to the newly added object and the adding location.

7. The method according to any one of claims 1 to 6, characterized in that: Before generating the target program based on the locally preset code template, the target software development kit, and the basic software development kit, the method further includes: Displaying a download progress display page, wherein the download progress display page includes download progress information corresponding to the target software development kit and the basic software development kit; Accordingly, generating a target program based on a locally preset code template, the target software development kit, and the basic software development kit includes: When the download progress information indicates that the download of the software package is complete, a target program is generated based on a locally preset code template, the target software development kit, and the basic software development kit.

8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: displaying a target page, the target page including a selection control for at least one software development kit; If a selection instruction for the at least one selection control is detected, determining a target software development kit corresponding to the selection instruction; Accordingly, sending a toolkit download request corresponding to the target software development toolkit to the server includes: If a trigger instruction for the confirmation control of the target page is detected, a toolkit download request is sent to the server.

9. The method according to claim 8, characterized in that The method further comprises: Displaying an initial page, the initial page including an information configuration control and a confirmation control corresponding to the target program; If an editing instruction for the information configuration control is detected, obtaining configuration information corresponding to the information configuration control, the configuration information including a custom name, a unique identifier, and a save path corresponding to the target program; If a trigger instruction for the confirmation control is detected, the configuration information is verified, and the target page is displayed if the verification passes.

10. A program processing method, characterized in that: The method comprises: Receive a toolkit download request corresponding to a target software development toolkit sent by a client; Based on a preset toolkit dependency relationship, determining a basic software development toolkit that the target software development toolkit depends on; Sending the target software development kit and the basic software development tools to the client; receiving a software package update query request sent by the client when a trigger instruction for a program running control in a program debugging page corresponding to a target program is detected, and determining update information corresponding to the target software development tool; If the update information corresponding to the target software development tool indicates that an update exists, sending an updated software development tool kit to the client; Wherein, the target program is generated by the following steps: obtaining the first formal parameter and the second formal parameter arranged in sequence in the locally preset code template; scanning the configuration file of the target software development toolkit to determine the calling sequence information between at least two first calling objects in the target software development toolkit; marking the at least two first calling objects based on the calling sequence information between the at least two first calling objects and the first formal parameter to obtain first marking information, wherein the first marking information represents the correspondence between the at least two first calling objects and the first formal parameter; and scanning the configuration file of the basic software development toolkit to determine the calling sequence information between at least two second calling objects in the basic software development toolkit; marking the at least two second calling objects based on the calling sequence information between the at least two second calling objects and the second formal parameter to obtain second marking information, wherein the second marking information represents the correspondence between the at least two second calling objects and the second formal parameter; generating the target program according to the code template, the first marking information and the second marking information.

11. A program processing device, characterized in that: The device comprises: A first sending module, configured to send a toolkit download request corresponding to a target software development toolkit to a server; A first receiving module is configured to receive the target software development kit and the basic software development kit sent by the server, wherein the basic software development kit is determined by the server based on preset toolkit dependency information; A generation module is configured to obtain first formal parameters and second formal parameters arranged in sequence in a locally preset code template; scan a configuration file of the target software development toolkit to determine call sequence information between at least two first call objects in the target software development toolkit; mark the at least two first call objects based on the call sequence information between the at least two first call objects and the first formal parameter to obtain first marking information, wherein the first marking information represents a correspondence between the at least two first call objects and the first formal parameter; scan a configuration file of the basic software development toolkit to determine call sequence information between at least two second call objects in the basic software development toolkit; mark the at least two second call objects based on the call sequence information between the at least two second call objects and the second formal parameter to obtain second marking information, wherein the second marking information represents a correspondence between the at least two second call objects and the second formal parameter; generate a target program according to the code template, the first marking information, and the second marking information, and jump to a program debugging page corresponding to the target program, wherein the program debugging page includes a program running control; A second sending module is configured to send a software package update query request to a server if a trigger instruction for the program running control is detected; A second receiving module is configured to receive an updated software development toolkit sent by the server when the update information corresponding to the target software development tool indicates that there is an update; An update module is used to update the target program based on the update software development kit, obtain the updated target program, and run the updated target program.

12. The device according to claim 11, characterized in that The update module includes: A first acquiring unit, configured to acquire a configuration file of the update software development kit; a second acquiring unit, configured to acquire a configuration file of the target software development kit if the updated software development kit is an updated target software development kit; A first updating unit is configured to overwrite the configuration file of the target software development kit based on the configuration file of the update software development kit to obtain an updated target software development kit; a first scanning unit, configured to scan a configuration file of the updated target software development kit to determine call sequence information between at least two fourth call objects in the updated target software development kit; a first marking unit, configured to mark the at least two fourth call objects based on the call sequence information between the at least two fourth call objects and the first formal parameter, to obtain third marking information, wherein the third marking information represents a correspondence between the at least two fourth call objects and the first formal parameter; The second updating unit is configured to obtain an updated target program according to the locally preset code template, the third marking information and the second marking information.

13. The device according to claim 11, characterized in that The update module includes: A third obtaining unit is used to obtain a configuration file of the update software development kit; a fourth acquiring unit, configured to acquire a configuration file of the basic software development kit if the updated software development kit is an updated basic software development kit; A third updating unit is configured to overwrite the configuration file of the basic software development kit based on the configuration file of the update software development kit to obtain an updated basic software development kit; a second scanning unit, configured to scan a configuration file of the updated basic software development kit to determine call sequence information between at least two fifth call objects in the updated basic software development kit; a second marking unit, configured to mark the at least two fifth call objects based on the call sequence information between the at least two fifth call objects and the second formal parameter to obtain fourth marking information, wherein the fourth marking information represents a correspondence between the at least two fifth call objects and the second formal parameter; The fourth updating unit is configured to obtain an updated target program according to the locally preset code template, the first marking information, and the fourth marking information.

14. The device according to claim 11, characterized in that The update module includes: A first extraction unit is used to extract at least two third call objects of the update software development kit; A fifth updating unit is configured to update the target program according to the at least two third calling objects to obtain the updated target program.

15. The device according to claim 14, characterized in that The fifth updating unit includes: A first determining subunit is configured to determine, from the at least two first calling objects and the at least two second calling objects, a conflicting object that conflicts with the at least two third calling objects; The first updating subunit is configured to update program information corresponding to the conflicting object in the target program based on the at least two third calling objects.

16. The device according to claim 14, characterized in that The fifth updating unit includes: A second determining subunit is configured to determine, from the at least two third calling objects, a newly added object that is different from the at least two first calling objects and the at least two second calling objects; a third determining subunit, configured to determine first calling sequence information between the newly added object and the at least two first calling objects; or determine second calling sequence information between the newly added object and the at least two second calling objects; a fourth determining subunit, configured to determine, based on the first calling sequence information or the second calling sequence information, an adding position of the program information corresponding to the newly added object in the target program; The second updating subunit is configured to update the target program based on the program information corresponding to the newly added object and the adding location.

17. The device according to any one of claims 11 to 16, characterized in that The device further comprises: A first display module, configured to display a download progress display page, wherein the download progress display page includes download progress information corresponding to the target software development kit and the basic software development kit; Correspondingly, the generating module further includes: The second generating subunit is configured to generate a target program based on a locally preset code template, the target software development kit and the basic software development kit when the download progress information indicates that the software package download is complete.

18. The device according to any one of claims 11 to 16, characterized in that The device further comprises: a second display module, configured to display a target page, wherein the target page includes a selection control for at least one software development kit; a first detection module, configured to, upon detecting a selection instruction for the at least one selection control, determine a target software development kit corresponding to the selection instruction; Accordingly, the first sending module includes: The sending unit is configured to send a toolkit download request to a server if a trigger instruction for a confirmation control on the target page is detected, wherein the toolkit download request includes identification information of the target software development toolkit.

19. The device according to claim 18, characterized in that The device further comprises: A third display module is used to display an initial page, wherein the initial page includes an information configuration control and a confirmation control corresponding to the target program; A second detection module is configured to obtain configuration information corresponding to the information configuration control if an editing instruction for the information configuration control is detected; The third detection module is used to verify the configuration information if a trigger instruction for the confirmation control is detected, and to display the target page if the verification passes.

20. A program processing device, characterized in that: The device comprises: a first receiving module, configured to receive a toolkit download request corresponding to a target software development toolkit sent by a client, determine a basic software development toolkit on which the target software development toolkit depends based on a preset toolkit dependency, and send the target software development toolkit and the basic software development tool to the client, so that the client obtains first formal parameters and second formal parameters arranged in sequence in a locally preset code template; scan a configuration file of the target software development toolkit to determine call sequence information between at least two first call objects in the target software development toolkit; mark the at least two first call objects based on the call sequence information between the at least two first call objects and the first formal parameters to obtain first marking information, wherein the first marking information represents a correspondence between the at least two first call objects and the first formal parameters; and scan the configuration file of the basic software development toolkit to determine call sequence information between at least two second call objects in the basic software development toolkit; mark the at least two second call objects based on the call sequence information between the at least two second call objects and the second formal parameters to obtain second marking information, wherein the second marking information represents a correspondence between the at least two second call objects and the second formal parameters; and generate a target program according to the code template, the first marking information, and the second marking information; a second receiving module, configured to receive a software package update query request sent by the client upon detecting a trigger instruction for a program running control in a program debugging page corresponding to the target program, and determine update information corresponding to the target software development tool; The sending module is used to send an updated software development tool kit to the client when the update information corresponding to the target software development tool indicates that there is an update.

21. A program processing device, characterized in that The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the program processing method according to any one of claims 1 to 9 or claim 10.

22. A computer-readable storage medium, characterized in that The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the program processing method according to any one of claims 1 to 9 or claim 10.

23. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, enable the computer to execute the program processing method according to any one of claims 1 to 9 or claim 10.

Citation Information

Patent Citations

  • Micro kernel pluggable program application system and implementation method thereof

    CN102141922A