Application program publishing method, device and equipment

Through the automated update information checksum release process, the problem of low application release efficiency is solved and efficient automation of the application release process is achieved.

CN119271262APending Publication Date: 2025-01-07PEOPLE'S INSURANCE COMPANY OF CHINA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411396672.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In the prior art, the application program release process requires manual processing of inspection and verification of information, resulting in low efficiency.

Method used

By obtaining application release requests, determining update information, and using the rule engine to verify and process the update information, automatically completing the checksum release process, avoiding manual intervention.

Benefits of technology

Improve the efficiency of application release, reduce the steps and time of manual processing, and improve the level of automation of the release process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271262A_ABST
    Figure CN119271262A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an application program publishing method, device and equipment. The method comprises the following steps: acquiring an application program publishing request, wherein the application program publishing request comprises a first code corresponding to a to-be-published application program and a current state of the application program; if the current state of the application program is a preset state, determining update information of the application program; and verifying the update information to obtain a verification result, and issuing the application program according to the verification result and the update information. And the application program publishing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a method, apparatus, and device for publishing an application. Background Art

[0002] Applications can be developed and published through a distributed system, and various files in the application publishing process can be managed.

[0003] In actual application, the application release process includes the development project team preparing the application to be released for testing, the quality management personnel checking the version standardization, the testers reviewing and submitting the test results, and pushing the version and pilot information to the operation and maintenance platform. The distributed system is used to establish the version configuration library of each system, upload the application version release-related files, and mark the application version release-related files. Testers and operation and maintenance personnel obtain the application version release-related files through the distributed system, and test or update them according to the application version release-related files.

[0004] In the above process, each stage has information that needs to be checked and verified, and only after passing the check and verification can the next stage be entered. At present, the information for checking and verifying needs to be processed manually, resulting in low efficiency in application release. Summary of the invention

[0005] The embodiments of the present application provide an application publishing method, apparatus and device to solve the problem of low efficiency in application publishing.

[0006] In a first aspect, an embodiment of the present application provides an application publishing method, comprising:

[0007] Obtaining an application publishing request, the application publishing request including a first code corresponding to an application to be published and a current state of the application;

[0008] If the current state of the application is a preset state, determining update information of the application;

[0009] The update information is verified to obtain a verification result, and the application is released according to the verification result and the update information.

[0010] In a possible implementation, if the current state of the application is a preset state, determining the update information of the application includes:

[0011] Acquire historical update information, the historical update information including at least one update test task corresponding to the most recent update of the application within a historical period, at least one function corresponding to the application, and at least one module corresponding to the application;

[0012] The update information of the application is determined according to the first code and the historical update information.

[0013] In a possible implementation manner, determining the update information of the application according to the first code and the historical update information includes:

[0014] Determine, according to the first code, at least one to-be-selected function from at least one function corresponding to the application program;

[0015] Determine, according to the first code, at least one module to be selected from at least one module corresponding to the application;

[0016] The update information is determined according to the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module.

[0017] In a possible implementation, determining the update information according to the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module includes:

[0018] Obtaining a version identifier corresponding to the application update request;

[0019] Obtaining an update system identifier corresponding to the application;

[0020] Determine that the update information includes the version identifier, the update system identifier, the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module.

[0021] In a possible implementation manner, performing verification processing on the update information to obtain a verification result includes:

[0022] Obtain at least one preset rule;

[0023] According to the at least one preset rule, the update information is verified by a rule engine to obtain the verification result, where the verification result is verification passed or verification failed.

[0024] In a possible implementation, the method further includes:

[0025] If the verification result is that the verification is passed, the current state of the application is updated to a self-checking state;

[0026] If the verification result is that the verification fails, the current state of the application is determined to be the preset state.

[0027] In a possible implementation, publishing the application according to the verification result and the update information includes:

[0028] When the verification result is that the verification is passed, determining whether the current state of the application is updated from the self-check state to the test state;

[0029] If yes, determining an associated code corresponding to the first code;

[0030] Obtaining an acceptance result corresponding to the update information;

[0031] The application is released according to the acceptance result corresponding to the update information, the current state of the application, the first code and the associated code.

[0032] In a possible implementation, publishing the application according to the acceptance result corresponding to the update information, the current state of the application, the first code, and the association code includes:

[0033] If the acceptance result is acceptance passed, a test process is obtained, where the test process includes a test process for installing the application and at least one function test process corresponding to the application;

[0034] According to the test process, the first code and the associated code are tested to obtain a test result;

[0035] If the test and result indicate that the test has passed, the application is released;

[0036] Prompt information is generated and sent to a preset device, wherein the prompt information is used to indicate that the application is successfully published.

[0037] In a second aspect, an embodiment of the present application provides an application publishing device, the device comprising:

[0038] An acquisition module, configured to acquire an application publishing request, wherein the application publishing request includes a first code corresponding to the application to be published and a current state of the application;

[0039] A determination module, configured to determine update information of the application if the current state of the application is a preset state;

[0040] The processing module is used to verify the update information to obtain a verification result, and publish the application according to the verification result and the update information.

[0041] In a possible implementation manner, the determining module is specifically configured to:

[0042] Acquire historical update information, the historical update information including at least one update test task corresponding to the most recent update of the application within a historical period, at least one function corresponding to the application, and at least one module corresponding to the application;

[0043] The update information of the application is determined according to the first code and the historical update information.

[0044] In a possible implementation manner, the determining module is specifically configured to:

[0045] Determine, according to the first code, at least one to-be-selected function from at least one function corresponding to the application program;

[0046] Determine, according to the first code, at least one module to be selected from at least one module corresponding to the application;

[0047] The update information is determined according to the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module.

[0048] In a possible implementation manner, the determining module is specifically configured to:

[0049] Obtaining a version identifier corresponding to the application update request;

[0050] Obtaining an update system identifier corresponding to the application;

[0051] Determine that the update information includes the version identifier, the update system identifier, the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module.

[0052] In a possible implementation manner, the processing module is specifically used to:

[0053] Obtain at least one preset rule;

[0054] According to the at least one preset rule, the update information is verified by a rule engine to obtain the verification result, where the verification result is verification passed or verification failed.

[0055] In a possible implementation manner, the processing module is specifically used to:

[0056] When the verification result is that the verification is passed, determining whether the current state of the application is updated from the self-check state to the test state;

[0057] If yes, determining an associated code corresponding to the first code;

[0058] Obtaining an acceptance result corresponding to the update information;

[0059] The application is released according to the acceptance result corresponding to the update information, the current state of the application, the first code and the associated code.

[0060] In a possible implementation manner, the processing module is specifically used to:

[0061] If the acceptance result is acceptance passed, a test process is obtained, where the test process includes a test process for installing the application and at least one function test process corresponding to the application;

[0062] According to the test process, the first code and the associated code are tested to obtain a test result;

[0063] If the test and result indicate that the test has passed, the application is released;

[0064] Prompt information is generated and sent to a preset device, wherein the prompt information is used to indicate that the application is successfully published.

[0065] In a possible implementation, the device further includes an updating module.

[0066] Wherein, the update module is used for:

[0067] If the verification result is that the verification is passed, the current state of the application is updated to a self-checking state;

[0068] If the verification result is that the verification fails, the current state of the application is determined to be the preset state.

[0069] In a third aspect, an embodiment of the present application provides an application publishing device, including:

[0070] at least one processor; and

[0071] a memory communicatively connected to the at least one processor; wherein,

[0072] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform any method described in the first aspect.

[0073] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute any one of the methods described in the first aspect.

[0074] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements any method in the first aspect when executed by a processor.

[0075] The application publishing method, apparatus, and device provided in the embodiments of the present application can determine the update information of the application after obtaining the application publishing request, and perform verification processing on the update information to obtain the verification result. The application is published based on the verification result and the update information. In the above process, the application publishing device can automatically perform verification processing on the update information to obtain the verification result, and publish the application based on the verification result and the update information. Manual processing of the inspection and verification information at each stage of the application version release is avoided, thereby improving the efficiency of application release. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present application;

[0077] Figure 2 A flowchart of an application publishing method provided in an embodiment of the present application;

[0078] Figure 3 A schematic diagram of the process of obtaining an application publishing request provided in an embodiment of the present application;

[0079] Figure 4 A flowchart of another application publishing method provided in an embodiment of the present application;

[0080] Figure 5 A schematic diagram of an application publishing process provided in an embodiment of the present application;

[0081] Figure 6 A schematic diagram of the structure of an application publishing device provided in an embodiment of the present application;

[0082] Figure 7 A schematic diagram of the structure of another application publishing device provided in an embodiment of the present application;

[0083] Figure 8 A schematic diagram of the structure of an application publishing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0084] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0085] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0086] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0087] For ease of understanding, below, combined Figure 1 , the application scenarios to which the embodiments of the present application are applicable are described.

[0088] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1 , including a terminal device 101 and a server 102. The terminal device 101 can be a mobile phone, a tablet computer, a computer, etc. A distributed system is set in the server 102. The distributed system is used to establish a configuration library for each system version, upload application version release related files, and mark the application version release related files. Testers and operation and maintenance personnel can obtain application version release related files in the distributed system of the server 102 through the application of the terminal device 101, and perform tests or updates according to the application version release related files.

[0089] In the above process, each stage of the application version release has information that needs to be checked and verified, and only after passing the check and verification can it enter the next stage. At present, the information for checking and verifying needs to be processed manually, resulting in low efficiency of application release.

[0090] In an embodiment of the present application, after obtaining an application publishing request, the application publishing device can determine the update information of the application, and perform verification processing on the update information to obtain a verification result. According to the verification result and the update information, the application is published. In the above process, the application publishing device can automatically perform verification processing on the update information to obtain a verification result, and publish the application according to the verification result and the update information. This avoids manual processing of the inspection and verification information at each stage of the application version release, thereby improving the efficiency of application release.

[0091] The method shown in the present application is described below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.

[0092] Figure 2 A flowchart of an application publishing method provided in an embodiment of the present application. Figure 2 , the method may include:

[0093] S201. Obtain an application publishing request.

[0094] The execution subject of the embodiment of the present application can be an application publishing device, or an application publishing device set in the application publishing device. The application publishing device can be implemented by software, or by a combination of software and hardware. The application publishing device can be a server.

[0095] The application publishing request includes a first code corresponding to the application to be published and the current state of the application. The application publishing request is used to request the publication of the application.

[0096] The terminal device sets an application program, and the user can determine the first code corresponding to the application program to be released and the current state of the application program in the application program of the terminal device. The terminal device generates an application program release request and sends the application program release request to the application program release device.

[0097] Next, combine Figure 3 , describes the process of obtaining an application publishing request. Figure 3 A schematic diagram of the process of obtaining an application publishing request provided in an embodiment of the present application. Figure 3, including interfaces 301 and 302. Interfaces 301 and 302 may be pages provided by the terminal device. Referring to interface 301, the user may click on the icon corresponding to the application in the main page of the terminal device. The terminal device displays the operation page in response to the user's click operation. The operation page includes a drop-down selection menu corresponding to the code file, a drop-down selection menu corresponding to the current state of the application, and a text input box.

[0098] Please refer to interface 302. The user determines that the first code corresponding to the application to be released is file A in the drop-down selection menu corresponding to the code file, determines that the current state of the application is the newly created test state in the drop-down selection menu corresponding to the current state of the application, and clicks the OK icon. The terminal device generates an application release request in response to the user's input selection operation. The terminal device sends the application release request to the application release device. The application release request is used to request the release of application A, and the application release request includes file A and the newly created test state.

[0099] S202: If the current state of the application is a preset state, then determine update information of the application.

[0100] You can set a preset state in advance and store it in the preset storage space of the application publishing device. The preset state can be a newly created test state.

[0101] The newly created test status is used to indicate that the application to be released currently needs to be processed to determine whether to release the application.

[0102] The update information of the application can be determined in the following manner: obtaining historical update information, the historical update information including at least one update test task corresponding to the most recent update of the application within a historical period, at least one function corresponding to the application, and at least one module corresponding to the application; determining the update information of the application based on the first code and the historical update information.

[0103] After obtaining the application publishing request, the application publishing device can obtain the historical update information and determine the update information based on the historical update information and the application publishing request. After determining the update information, the update information is stored in the preset storage space of the application publishing device. In this way, the staff can obtain the update information through the terminal device.

[0104] The modules corresponding to the application can be components in the application. Each module processes at least one corresponding task, thereby realizing the corresponding function in the application.

[0105] For example, according to the above example, it is determined that the application publishing request includes file A and the newly created test status. When the application publishing device determines that the current state of the application is the preset state, the historical update information obtained can be specifically shown in Table 1:

[0106] Table 1

[0107]

[0108]

[0109] The application publishing device determines the tasks, functions and modules that need to be updated for this application publishing according to the first code and the historical update information shown in Table 1, and obtains the update information as shown in Table 2:

[0110] Table 2

[0111] Version Identification Version A10.23 Update system ID System A First Code File A Update test tasks Task A1, Task A3 Functions to be selected Function A1 Modules to be selected Module A

[0112] The application publishing device stores the update information shown in Table 2 in a preset storage space.

[0113] S203: Verify the update information to obtain a verification result, and publish the application based on the verification result and the update information.

[0114] The updated information can be verified by the rule engine to obtain a verification result. The verification result is a verification pass or a verification fail. The rule engine is set in the application publishing device.

[0115] If the verification result is that the verification is passed, the current state of the application can be updated to the self-check state. The self-check state is used to indicate that the application release process is in the self-check stage. When the self-check stage is passed, the application release device can update the current state of the application to the test state. The application is tested to obtain the test result. When the test result is that the test is passed, the application is released.

[0116] If the verification result is that the verification fails, the current state of the application is determined to be the preset state, and no subsequent application release related operations are performed. When the verification result is determined to be that the verification fails, a response message is generated and sent to the preset device. The response message is used to indicate that the verification fails and the subsequent application cannot be released.

[0117] For example, the application publishing device verifies the update information shown in Table 2 above and obtains a verification result. If the verification result is that the verification passes, the application publishing device updates the current state of the application to the self-check state. When it is determined that the self-check stage has passed, the application publishing device can update the current state of the application to the test state. And test the application to obtain the test result. When the test result is that the test passes, the application is published. If the verification result is that the verification fails, the application publishing device determines that the current state of the application is a newly created test state and generates a response message. The application publishing device sends a response message to the preset device. The response message is used to indicate that the verification fails and subsequent application publishing cannot be performed.

[0118] The application publishing method provided in the embodiment of the present application obtains an application publishing request. If the current state of the application is a preset state, the update information of the application is determined. The update information is verified and processed to obtain a verification result, and the application is published based on the verification result and the update information. In the above process, the application publishing device can automatically verify the update information, obtain a verification result, and publish the application based on the verification result and the update information. Manual processing of the inspection and verification information at each stage of the application version release is avoided, thereby improving the efficiency of application publishing.

[0119] Based on any of the above embodiments, Figure 4 , which explains the detailed process of application publishing.

[0120] Figure 4 A flowchart of another application publishing method provided in an embodiment of the present application. Figure 4 , the method comprising:

[0121] S401: Obtain an application publishing request.

[0122] It should be noted that the execution process of S401 can refer to S201 and will not be repeated here.

[0123] S402: If the current state of the application is a preset state, obtain historical update information.

[0124] The preset state can be a newly created test state.

[0125] For example, assuming that the application publishing request includes file B and the newly created test status, the application publishing request is used to request the release of application B. When the application publishing device determines that the current status of application B is the preset status, the historical update information obtained can be specifically shown in Table 3:

[0126] Table 3

[0127] Update test tasks Task B1, Task B2, Task B3 Application corresponding functions Function B1, Function B2, Function B4 Modules corresponding to the application Module B1, Module B3

[0128] S403: Determine at least one to-be-selected function from at least one function corresponding to the application program according to the first code.

[0129] The application publishing device may parse the first code to obtain at least one function that needs to be updated for this application publishing. The application publishing device determines the at least one function that needs to be updated for this application publishing as at least one function to be selected.

[0130] The functions that need to be updated may be functions that need to be added, functions that need to be deleted, etc.

[0131] For example, according to the above example, the first code corresponding to application B is determined to be file B. The application publishing device parses file B to obtain functions B1 and B4 that need to be updated for this application publishing. The application publishing device determines that at least one candidate function includes function B1 and function B4.

[0132] S404: Determine, according to the first code, at least one module to be selected in at least one module corresponding to the application.

[0133] The application publishing device may parse the first code to obtain at least one module that needs to be updated for this application publishing. The application publishing device determines the at least one module that needs to be updated for this application publishing as at least one module to be selected.

[0134] The modules that need to be updated may be modules that need to be added, modules that need to be deleted, etc.

[0135] For example, according to the above example, the first code corresponding to application B is determined to be file B. The application publishing device parses file B to obtain module B1 that needs to be updated for this application publishing. The application publishing device determines that the module to be selected is module B1.

[0136] S405: Determine update information according to the first code, at least one update test task, at least one to-be-selected function, and at least one to-be-selected module.

[0137] The update information can be determined based on the first code, at least one update test task, at least one function to be selected, and at least one module to be selected in the following manner: obtaining a version identifier corresponding to the application update request; obtaining an update system identifier corresponding to the application; and determining that the update information includes a version identifier, an update system identifier, a first code, at least one update test task, at least one function to be selected, and at least one module to be selected.

[0138] The update system corresponding to the application may be a system that the application depends on.

[0139] For example, the application publishing device obtains the version identifier corresponding to the application update request as version B12.545, and obtains the update system identifier corresponding to application B as system B. Therefore, the application publishing device determines the update information as shown in Table 4:

[0140] Table 4

[0141]

[0142]

[0143] S406: Verify the update information to obtain a verification result.

[0144] The update information may be verified and processed to obtain a verification result in the following manner: obtaining at least one preset rule; and according to the at least one preset rule, verifying and processing the update information through a rule engine to obtain a verification result, wherein the verification result is verification passed or verification failed.

[0145] At least one preset rule may be set in advance, and the at least one preset rule may be stored in a preset storage space of the application publishing device.

[0146] For example, the application publishing device obtains at least one preset rule including rule B1 to rule B28 in the preset storage space. The application publishing device verifies the update information shown in Table 4 through the rule engine according to rule B1 to rule B28, and obtains a verification result of verification passed.

[0147] Optionally, the application publishing device may also verify the update information using a preset algorithm to obtain a verification result. The preset algorithm may be set in advance and stored in a preset storage space of the application publishing device.

[0148] If the verification result is that the verification is passed, the current state of the application is updated to the self-check state; if the verification result is that the verification is not passed, the current state of the application is determined to be the preset state.

[0149] When verifying the update information, the version application status of the application needs to be updated to the planned confirmed status or the configuration library established successfully status. At the same time, a review request will be sent to the server's architecture platform, and the server's architecture platform will verify the user's review result. If the user's review result is passed, the current status of the application is determined to be the self-check status. If the user's review result is not passed, the current status of the application is determined to be the preset status.

[0150] S407: When the verification result is that the verification is passed, determine whether the current state of the application is updated from the self-check state to the test state.

[0151] When the current state of the application is the self-check state, the development project team of the application can perform a self-check on the application release to obtain the self-check result. If the self-check result is that the self-check is passed, it is determined that the current state of the application is updated from the self-check state to the test state. If the self-check result is that the self-check is not passed, it is determined that the current state of the application is not updated from the self-check state to the test state.

[0152] In the self-checking stage, the application publishing device can determine the priority of application publishing according to user needs and send the priority of application publishing to the preset device. The user can obtain the priority of sending application publishing through the preset device.

[0153] During the self-check phase, the application publishing device can also determine the version status of the update system corresponding to the application. If the version status is not the test passed status, version released status, or closed + released status, the version status is sent to the preset device. Users can obtain the version status through the preset device to achieve the alarm function.

[0154] S408: If yes, determine the associated code corresponding to the first code.

[0155] If the current state of the application is updated from the self-check state to the test state, the associated code corresponding to the first code is determined, and the current state of the application is updated to the version information review state.

[0156] S409: Obtain the acceptance result corresponding to the updated information.

[0157] If the current status of the application is the version information review status, a test baseline is automatically created and the status is transferred until the software version test is confirmed to be successful. At this time, the application release device determines the acceptance result of the update information.

[0158] If each piece of information in the update information is subjected to acceptance processing, the acceptance result is determined to be acceptance passed. If there is information in the update information that has not been subjected to acceptance processing, the acceptance result is determined to be acceptance failed. When the acceptance result is determined to be acceptance failed, first information may be generated and sent to a preset device. The first information is used to indicate that the acceptance result corresponding to the update information is acceptance failed.

[0159] S410: Publish the application program according to the acceptance result corresponding to the update information, the current state of the application program, the first code, and the associated code.

[0160] The application can be released according to the acceptance result corresponding to the update information, the current state of the application, the first code and the associated code in the following manner: if the acceptance result is passed, a test process is obtained, and the test process includes a test process for installing the application and at least one functional test process corresponding to the application; according to the test process, the first code and the associated code are tested to obtain the test result; if the test result is passed, the application is released; a prompt message is generated and sent to a preset device, and the prompt message is used to indicate that the application has been successfully released.

[0161] After the test result is passed, the test result can be sent to the preset device to prompt the user that the test has passed.

[0162] The preset device can be a terminal device used by the staff. The terminal device can be a mobile phone, tablet computer, computer, etc.

[0163] The application publishing method provided in the embodiment of the present application obtains an application publishing request. If the current state of the application is a preset state, historical update information is obtained. According to the first code, at least one to-be-selected function is determined in at least one function corresponding to the application. According to the first code, at least one to-be-selected module is determined in at least one module corresponding to the application. According to the first code, at least one update test task, at least one to-be-selected function and at least one to-be-selected module, update information is determined. Verification processing is performed on the update information to obtain a verification result. When the verification result is that the verification passes, it is determined whether the current state of the application is updated from the self-check state to the test state. If so, the associated code corresponding to the first code is determined. The acceptance result corresponding to the update information is obtained. According to the acceptance result corresponding to the update information, the current state of the application, the first code and the associated code, the application is published. In the above process, the application publishing device can automatically verify the update information to obtain the verification result, and publish the application according to the verification result and the update information. Manual processing of the inspection and verification information at each stage of the application version release is avoided, and the efficiency of application release is improved.

[0164] Based on any of the above embodiments, Figure 5 , which gives an example of the application publishing process.

[0165] Figure 5 A schematic diagram of the application publishing process provided in the embodiment of the present application. Figure 5, including a preset device 501 and an application publishing device 502. The preset device 501 can be a terminal device used by the user, and the terminal device can be a mobile phone, a tablet computer, a computer, etc. The application publishing device 502 can be a server, and the application publishing device 502 is provided with a distributed system, a rule engine and a preset storage space. The user can determine the first code corresponding to the application to be released and the current status of the application in the application of the terminal device 501. The preset device 501 generates an application publishing request in response to the user's input selection operation. The preset device 501 sends an application publishing request to the application publishing device 502, and the application publishing request includes the file C and the newly created test status of the application C.

[0166] The program publishing device 502 determines that the current state of the application C is the preset state, and the distributed system of the program publishing device 502 obtains the historical update information as shown in Table 5:

[0167] Table 5

[0168] Update test tasks Task C1, Task C2, Task C3 Application corresponding functions Function C1, Function C2, Function C4 Modules corresponding to the application Module C1, Module C3

[0169] The distributed system of the program publishing device 502 parses the file C and obtains the function C1 that needs to be updated for this application release. The distributed system of the application publishing device 502 determines that the function to be selected is function C1. The distributed system of the application publishing device 502 parses the file C and obtains that the module that needs to be updated for this application release is module C1. The distributed system of the application publishing device 502 obtains the version identifier corresponding to the application update request as version C1365.4, and obtains the update system identifier corresponding to application B as system C. In summary, the distributed system of the application publishing device 502 determines that the update information can be specifically as shown in Table 6:

[0170] Table 6

[0171] Version Identification Version C1365.4 Update system ID System C First Code File C Update test tasks Task C1, Task C2, Task C3 Functions to be selected Function C1 Modules to be selected Module C1

[0172] The application publishing device 502 stores the update information shown in Table 6 in the pre-examination storage space as the historical update information for the next application release. The rule engine of the application publishing device 502 obtains at least one preset rule in the preset storage space, and verifies the update information shown in Table 6 through the rule engine according to the at least one preset rule, and obtains a verification result of passing the verification. The application publishing device 502 determines that the priority of the application C release is 2, and sends the priority of the application release to the preset device 701. If the self-check result obtained by the application publishing device 502 is self-check passed, it can be determined that the current state of the application C is updated from the self-check state to the test state.

[0173] The application publishing device 502 determines that the associated code corresponding to the first code is file C2. The application publishing device 502 updates the current status of application C to the version information review status. The application publishing device 502 automatically creates a test baseline and circulates the status until it is determined that the software version test is successful. At this time, the application publishing device 502 determines that the acceptance result of the update information is acceptance passed. The application publishing device 502 obtains a test process, which includes a test process for installing the application and at least one functional test process corresponding to the application. The application publishing device 502 tests file C and file C2 according to the test process, and obtains a test result of passing the test. At this time, the application publishing device 502 publishes application C and generates a prompt message, which indicates that the application has been successfully published. The application publishing device 502 sends a prompt message to the preset device 501.

[0174] The application publishing process provided by the embodiment of the present application and the application publishing method provided by the embodiment of the present application obtain an application publishing request. If the current state of the application is a preset state, historical update information is obtained. According to the first code, at least one to-be-selected function is determined in at least one function corresponding to the application. According to the first code, at least one to-be-selected module is determined in at least one module corresponding to the application. According to the first code, at least one update test task, at least one to-be-selected function and at least one to-be-selected module, update information is determined. Verification processing is performed on the update information to obtain a verification result. When the verification result is verification passed, it is determined whether the current state of the application is updated from the self-check state to the test state. If so, the associated code corresponding to the first code is determined. The acceptance result corresponding to the update information is obtained. According to the acceptance result corresponding to the update information, the current state of the application, the first code and the associated code, the application is published. In the above process, the application publishing device can automatically verify the update information to obtain the verification result, and publish the application according to the verification result and the update information. Manual processing of the inspection and verification information at each stage of the application version release is avoided, and the efficiency of application release is improved.

[0175] Figure 6 This is a schematic diagram of the structure of an application publishing device provided in an embodiment of the present application. Figure 6 , the application publishing device 10 may include:

[0176] An acquisition module 11 is used to acquire an application publishing request, wherein the application publishing request includes a first code corresponding to the application to be published and a current state of the application;

[0177] A determination module 12, configured to determine update information of the application if the current state of the application is a preset state;

[0178] The processing module 13 is used to verify the update information to obtain a verification result, and publish the application according to the verification result and the update information.

[0179] In a possible implementation manner, the determining module 12 is specifically configured to:

[0180] Acquire historical update information, the historical update information including at least one update test task corresponding to the most recent update of the application within a historical period, at least one function corresponding to the application, and at least one module corresponding to the application;

[0181] The update information of the application is determined according to the first code and the historical update information.

[0182] In a possible implementation manner, the determining module 12 is specifically configured to:

[0183] Determine, according to the first code, at least one to-be-selected function from at least one function corresponding to the application program;

[0184] Determine, according to the first code, at least one module to be selected from at least one module corresponding to the application;

[0185] The update information is determined according to the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module.

[0186] In a possible implementation manner, the determining module 12 is specifically configured to:

[0187] Obtaining a version identifier corresponding to the application update request;

[0188] Obtaining an update system identifier corresponding to the application;

[0189] Determine that the update information includes the version identifier, the update system identifier, the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module.

[0190] In a possible implementation manner, the processing module 13 is specifically used to:

[0191] Obtain at least one preset rule;

[0192] According to the at least one preset rule, the update information is verified by a rule engine to obtain the verification result, where the verification result is verification passed or verification failed.

[0193] In a possible implementation manner, the processing module 13 is specifically used to:

[0194] When the verification result is that the verification is passed, determining whether the current state of the application is updated from the self-check state to the test state;

[0195] If yes, determining an associated code corresponding to the first code;

[0196] Obtaining an acceptance result corresponding to the update information;

[0197] The application is released according to the acceptance result corresponding to the update information, the current state of the application, the first code and the associated code.

[0198] In a possible implementation manner, the processing module 13 is specifically used to:

[0199] If the acceptance result is acceptance passed, a test process is obtained, where the test process includes a test process for installing the application and at least one function test process corresponding to the application;

[0200] According to the test process, the first code and the associated code are tested to obtain a test result;

[0201] If the test and result indicate that the test has passed, the application is released;

[0202] Prompt information is generated and sent to a preset device, wherein the prompt information is used to indicate that the application is successfully published.

[0203] The application publishing device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0204] Figure 7 A schematic diagram of the structure of another application publishing device provided in an embodiment of the present application. Figure 6 Based on the examples shown, see Figure 7 The application publishing device 10 also includes an update module 15.

[0205] Wherein, the updating module 15 is used for:

[0206] If the verification result is that the verification is passed, the current state of the application is updated to a self-checking state;

[0207] If the verification result is that the verification fails, the current state of the application is determined to be the preset state.

[0208] The application publishing device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0209] Figure 8 This is a schematic diagram of the structure of the application publishing device provided in the embodiment of the present application. Figure 8 The application publishing device 20 may include: a memory 21 and a processor 22. Exemplarily, the memory 21 and the processor 22 are interconnected via a bus 23.

[0210] The memory 21 is used to store program instructions;

[0211] The processor 22 is used to execute the program instructions stored in the memory, so as to enable the application publishing device 20 to execute the method shown in the above method embodiment.

[0212] The application publishing device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0213] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above method.

[0214] The embodiment of the present application may also provide a computer program product, including a computer program, which can implement the above method when executed by a processor.

[0215] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.

[0216] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0217] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0218] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0219] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0220] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

Claims

1. A method for publishing an application, characterized in that: include: Obtaining an application publishing request, the application publishing request including a first code corresponding to an application to be published and a current state of the application; If the current state of the application is a preset state, determining update information of the application; The update information is verified to obtain a verification result, and the application is released according to the verification result and the update information.

2. The method according to claim 1, characterized in that If the current state of the application is a preset state, determining update information of the application includes: Acquire historical update information, the historical update information including at least one update test task corresponding to the most recent update of the application within a historical period, at least one function corresponding to the application, and at least one module corresponding to the application; The update information of the application is determined according to the first code and the historical update information.

3. The method according to claim 2, characterized in that Determining update information of the application according to the first code and the historical update information includes: Determine, according to the first code, at least one to-be-selected function from at least one function corresponding to the application program; Determine, according to the first code, at least one module to be selected from at least one module corresponding to the application; The update information is determined according to the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module.

4. The method according to claim 3, characterized in that Determining the update information according to the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module includes: Obtaining a version identifier corresponding to the application update request; Obtaining an update system identifier corresponding to the application; Determine that the update information includes the version identifier, the update system identifier, the first code, the at least one update test task, the at least one to-be-selected function, and the at least one to-be-selected module.

5. The method according to any one of claims 1 to 4, characterized in that: The update information is verified to obtain a verification result, including: Obtain at least one preset rule; According to the at least one preset rule, the update information is verified by a rule engine to obtain the verification result, where the verification result is verification passed or verification failed.

6. The method according to claim 5, characterized in that The method further comprises: If the verification result is that the verification is passed, the current state of the application is updated to a self-checking state; If the verification result is that the verification fails, the current state of the application is determined to be the preset state.

7. The method according to any one of claims 1 to 6, characterized in that: Publishing the application according to the verification result and the update information includes: When the verification result is that the verification is passed, determining whether the current state of the application is updated from the self-check state to the test state; If yes, determining an associated code corresponding to the first code; Obtaining an acceptance result corresponding to the update information; The application is released according to the acceptance result corresponding to the update information, the current state of the application, the first code and the associated code.

8. The method according to claim 7, characterized in that Publishing the application according to the acceptance result corresponding to the update information, the current state of the application, the first code, and the association code, includes: If the acceptance result is acceptance passed, a test process is obtained, where the test process includes a test process for installing the application and at least one function test process corresponding to the application; According to the test process, the first code and the associated code are tested to obtain a test result; If the test and result indicate that the test has passed, the application is released; Prompt information is generated and sent to a preset device, wherein the prompt information is used to indicate that the application is successfully published.

9. An application publishing device, characterized in that: The device comprises: An acquisition module, configured to acquire an application publishing request, wherein the application publishing request includes a first code corresponding to the application to be published and a current state of the application; A determination module, configured to determine update information of the application if the current state of the application is a preset state; The processing module is used to verify the update information to obtain a verification result, and publish the application according to the verification result and the update information.

10. An application publishing device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to make a computer execute the method according to any one of claims 1 to 8.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • A method and apparatus for publishing an application program

    CN109445837A

  • Application program service description information generation and release method and device and storage medium

    CN109885290A

  • Gray release method and device of application program, electronic equipment and storage medium

    CN113590183A

  • Application program publishing method and device, electronic equipment and storage medium

    CN115629773A

  • Version update package release method and apparatus, computer device and storage medium

    WO2020186802A1