An efficient application publishing method based on Web middleware
By analyzing the historical release information of the Web middleware and optimizing the application release sequence and resource configuration, the problem of low application release efficiency in the existing technology is solved, and more efficient resource utilization and release efficiency are achieved.
Patent Information
- Application Number
- CN202310871205.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-14
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-07-14
AI Technical Summary
Existing application publishing methods have problems with idle resources and delays, resulting in low publishing efficiency, especially when the publishing sequence is unreasonable.
By analyzing the historical release application information of Web middleware, we can determine the application release rules, sort and adjust according to the type of application to be released and the amount of resources required, and optimize the configuration of Web middleware to improve resource utilization and release efficiency.
It improves the efficiency of application release, avoids delays caused by unreasonable connections, and improves resource utilization.
Smart Images

Figure CN117130623B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of application publishing, and in particular to an efficient application publishing method based on Web middleware. Background Art
[0002] At present, with the increasing development of the Internet, various applications emerge in an endless stream, bringing more challenges to application publishing. At present, application publishing is usually based on the time sequence of application publishing requests. Different applications require different publishing environments and resources. If they are published in a general publishing order, a large number of resources will be idle. If the application connection is unreasonable during the publishing process, there will be delays, which will lead to low publishing efficiency.
[0003] Therefore, the present invention provides an efficient application publishing method based on Web middleware. Summary of the invention
[0004] The present invention provides an efficient application publishing method based on Web middleware, which is used to sort the current applications to be published according to the application publishing rules of the Web middleware, adjust the application sorting based on the required resource amount of each application to be published, improve the utilization of resources, and adjust the Web middleware to avoid delays caused by unreasonable connection, thereby completing the application publishing and improving the efficiency of application publishing.
[0005] The present invention provides an efficient application publishing method based on Web middleware, comprising:
[0006] Step 1: Determine the application publishing rule of the Web middleware according to the historical published applications and historical application information of the Web middleware;
[0007] Step 2: Obtain the application type and current application information of each application to be released, and sort all the applications to be released based on the application release rules;
[0008] Step 3: adjusting the order of the applications according to the amount of resources required by each application to be released;
[0009] Step 4: Based on the adjustment order, adjust the Web middleware and complete the application release.
[0010] Preferably, determining the application publishing rule of the Web middleware according to the historical published applications and historical application information of the Web middleware includes:
[0011] Obtain the historical published applications of the Web middleware, and determine the number of releases, release time, release path, and release response time of the same historical published application;
[0012] Determine a first release rule corresponding to the same historically released application according to the number of releases and the corresponding release time of the same historically released application;
[0013] Determine a second release rule corresponding to the same historically released application according to each release path and corresponding release response time of the same historically released application;
[0014] Determine the corresponding publishing efficiency based on the response time of each publishing of the same historical publishing application;
[0015] Obtain the historical release application sequence of the Web middleware and determine the predecessor application of the same historical release application;
[0016] According to the preceding applications and corresponding release efficiency of the same historically released application each time it is released, the third release rule corresponding to the same historically released application is summarized;
[0017] Determining a fourth release rule of the same historically released application based on the second release rule and the third release rule of the same historically released application;
[0018] Obtain historical application information of historically released applications of the Web middleware, and determine the similarity between different historically released applications;
[0019] Using applications whose similarity to the same historically released application is greater than a preset similarity as a similar application set corresponding to the same historically released application;
[0020] Adjusting the first release rule and the fourth release rule of the same historically released application according to a similar application set of the same historically released application;
[0021] Based on the adjusted first publishing rule and fourth publishing rule of all historically published applications, a publishing rule for the application in the Web is determined.
[0022] Preferably, obtaining historical application information of historically published applications of the Web middleware and determining the similarity between different historically published applications comprises:
[0023] ;in, Indicates the similarity between the first historically released application and the second historically released application; Indicates the first historical release of the application The eigenvalue of a feature; Indicates the second historical release application The eigenvalue of a feature; represents the number of features of the first historically released application; m represents the number of features of the second historically released application; Indicates all The minimum value in ; all The maximum value in ; Symbol for exponential function; represents the first adjustment coefficient; Represents the second adjustment coefficient.
[0024] Preferably, obtaining the application type and current application information of each application to be released, and sorting all the applications to be released based on the application release rule, includes:
[0025] Classify all the applications to be released according to the application type of each application to be released;
[0026] According to the application publishing rule and based on the principle of optimal publishing efficiency, the applications to be published in the same category are sorted as first applications;
[0027] According to the application publishing rule and based on the principle of optimal publishing efficiency, the types of applications to be published are sorted by second application;
[0028] Based on the first application ranking and the second application ranking, a final application ranking is determined.
[0029] Preferably, according to the application publishing rule and based on the principle of optimal publishing efficiency, the first application sorting is performed on the applications to be published in the same category, including:
[0030] Arrange and combine the applications to be released in the same category, and determine the time required for all releases of the applications to be released in the same category according to the arrangement and combination results and based on the application release rules;
[0031] Based on the principle of optimal publishing efficiency, the optimal permutation and combination result of the applications to be published in the same category is selected as the first application ranking.
[0032] Preferably, determining the final application ranking based on the first application ranking and the second application ranking includes:
[0033] According to the second application ranking, the first application ranking is embedded to obtain a complete application ranking;
[0034] The connection between the first application rankings in the complete application ranking is adjusted based on the principle of optimal publishing efficiency to determine the final application ranking.
[0035] Preferably, the application ranking is adjusted according to the amount of resources required by each application to be released, including:
[0036] According to the amount of resources required by each application to be released, all applications to be released are arranged in ascending order of the amount of resources required;
[0037] The final application ranking is pre-set and divided, and the divided parts are adjusted based on the ranking results.
[0038] Preferably, based on the adjustment sequence, the Web middleware is adjusted to complete the application release, including:
[0039] According to the adjustment order, determine the first ranked application to be released, and based on the application-environment table, determine the release environment corresponding to the application to be released;
[0040] Based on the publishing environment of the application to be published, adjust the Web middleware to ensure smooth publishing of the corresponding application to be published.
[0041] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0042] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0044] Figure 1 The present invention is a flowchart of an efficient application publishing method based on Web middleware in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0046] The embodiment of the present invention provides an efficient application publishing method based on Web middleware, such as Figure 1 As shown, including:
[0047] Step 1: Determine the application publishing rule of the Web middleware according to the historical published applications and historical application information of the Web middleware;
[0048] Step 2: Obtain the application type and current application information of each application to be released, and sort all the applications to be released based on the application release rules;
[0049] Step 3: adjusting the order of the applications according to the amount of resources required by each application to be released;
[0050] Step 4: Based on the adjustment order, adjust the Web middleware and complete the application release.
[0051] In this embodiment, historical application information refers to information such as the release time and number of releases of historically released applications. Historically released applications include: various social, game and other applications. Application release patterns refer to the time patterns, frequency patterns, release efficiency and release path patterns of application releases. For example, application 1 is released 4 times a week, and each release time is between 8 and 10 o'clock.
[0052] In this embodiment, application types include social, game, etc. Application sorting is to sort the current applications to be released according to the application release rules to maximize the release efficiency.
[0053] In this embodiment, the required amount of resources refers to the amount of computing required to publish the application, the memory occupied, etc., and the adjustment of the application ranking is to preset the division of the application ranking based on the required amount of resources. For example, the preset division of the application ranking is block 1, and the application ranking is application 2, application 3, application 4, application 6. The ranking of the required amount of resources from small to large is application 3, application 4, application 2, application 6. The application ranking is adjusted to application 3, application 2, application 4, application 6, and the ranking of adjacent applications is adjusted according to the size of the required amount of resources.
[0054] In this embodiment, the Web middleware is adjusted to adjust the external operating environment to a publishing operating environment suitable for the current application to be released. For example, the publishing operating environment of the current application to be released is operating environment A, and the current external operating environment is B. The Web middleware is adjusted to make the external operating environment B.
[0055] The beneficial effects of the above technical solution are: through the application publishing rules in the Web, the current applications to be released are sorted, and based on the required amount of resources for each application to be released, the application sorting is adjusted to improve the utilization of resources, and the Web middleware is adjusted to avoid delays caused by unreasonable connections, thereby completing the application release and improving the efficiency of application release.
[0056] The embodiment of the present invention provides an efficient application publishing method based on Web middleware, which determines the application publishing rule of the Web middleware according to the historical published applications and historical application information of the Web middleware, including:
[0057] Obtain the historical published applications of the Web middleware, and determine the number of releases, release time, release path, and release response time of the same historical published application;
[0058] Determine a first release rule corresponding to the same historically released application according to the number of releases and the corresponding release time of the same historically released application;
[0059] Determine a second release rule corresponding to the same historically released application according to each release path and corresponding release response time of the same historically released application;
[0060] Determine the corresponding publishing efficiency based on the response time of each publishing of the same historical publishing application;
[0061] Obtain the historical release application sequence of the Web middleware and determine the predecessor application of the same historical release application;
[0062] According to the preceding applications and corresponding release efficiency of the same historically released application each time it is released, the third release rule corresponding to the same historically released application is summarized;
[0063] Determining a fourth release rule of the same historically released application based on the second release rule and the third release rule of the same historically released application;
[0064] Obtain historical application information of historically released applications of the Web middleware, and determine the similarity between different historically released applications;
[0065] Using applications whose similarity to the same historically released application is greater than a preset similarity as a similar application set corresponding to the same historically released application;
[0066] Adjusting the first release rule and the fourth release rule of the same historically released application according to a similar application set of the same historically released application;
[0067] Based on the adjusted first publishing rule and fourth publishing rule of all historically published applications, a publishing rule for the application in the Web is determined.
[0068] In this embodiment, the publishing path refers to the path of the historical publishing application from the generation of publishing requirements to the final publishing, and the publishing response time refers to the time from the generation of publishing requirements to the final publishing of the historical publishing application.
[0069] In this embodiment, the first publishing rule refers to the rule of publishing time and frequency of historically published applications. For example, the first publishing rule of historically published application A is to publish 4 times a week, at 5 or 7 o'clock every day.
[0070] In this embodiment, according to each publishing path and corresponding publishing response time of the same historically published application, determining a second publishing rule corresponding to the same historically published application includes:
[0071] Obtain each first release path of the same historically released application, and determine the same node groups and different node groups between each of the release paths;
[0072] According to different node groups of two different release paths and the corresponding release response times, determine the difference in the impact of different node groups on the release response time;
[0073] According to the impact gap, analyzing the first impact of each different node on the release response time;
[0074] A second release rule of the same historically released application is determined according to the first impacts of all nodes.
[0075] In this embodiment, for example, the propagation nodes of release path 1 are node 1, node 2, and node 3; the propagation nodes of release path 2 are node 2, node 4, and node 5; the same node group is (node 2); the different node groups are (node 1, node 3) and (node 4, node 5); the release response time of release path 1 is 10 seconds; the release response time of release path 2 is 15 seconds; the impact difference between different node groups (node 1, node 3) and different node groups (node 4, node 5) is +5 seconds; the impact difference between different node groups (node 4, node 5) and different node groups (node 1, node 3) is -5 seconds; positive and negative indicate speed.
[0076] In this embodiment, the influence difference between different node groups (node 1, node 2) and different node groups (node 3) is +8s, the influence difference between different node groups (node 1, node 3) and different node groups (node 2) is +4s, and the first influence of node 1 is +6s.
[0077] In this embodiment, the publishing efficiency is determined by the inverse of the publishing response time.
[0078] In this embodiment, the preceding application refers to the previous historically published application of the historically published application.
[0079] In this embodiment, the third publishing rule refers to the relationship between publishing efficiency and the front-end application. For example, the front-end application 1 has an impact on publishing efficiency of increasing the publishing efficiency by 10%.
[0080] In this embodiment, the fourth release rule refers to the relationship between the release efficiency and the nodes of the release path and the predecessor application, which is obtained by summarizing the second release rule and the third release rule, and is determined based on the same nodes of the release path, the relationship between the release efficiency and the predecessor application, and the same predecessor application, the relationship between the release efficiency and the nodes of the release path.
[0081] In this embodiment, the similarity is determined based on feature values corresponding to features of different historically released applications.
[0082] In this embodiment, the preset similarity is set in advance and may be 90%.
[0083] In this embodiment, the adjustment of the first release rule of the same historically released application is based on the first release rule of applications in a similar application set. For example, the first release rule of the same historically released application is to release four times a week, with each release time between 8 and 10 o'clock. The first release rule of more than half of the applications in the similar application set is to release five times a week, with each release time between 8 and 11 o'clock. After the adjustment, the first release rule of the same historically released application is to release 4-5 times a week, with each release time between 8 and 11 o'clock. The adjustment of the fourth release rule is similar to the adjustment of the first release rule.
[0084] In this embodiment, the application publishing rule includes the first publishing rule and the fourth publishing rule after adjustment for each published application.
[0085] The beneficial effects of the above technical solution are: determining the first release rule through the number of releases and release time of the same historically released application, determining the second release rule based on the release path and release response time, determining the third release rule based on the preceding application and release efficiency, determining the fourth release rule based on the second release rule and the third release rule, adjusting the first release rule and the fourth release rule based on a similar application set, laying the foundation for the subsequent determination of application ranking, and indirectly improving the efficiency of application release.
[0086] The embodiment of the present invention provides an efficient application publishing method based on Web middleware, which obtains historical application information of historically published applications of the Web middleware and determines the similarity between different historically published applications, including:
[0087] ;in, Indicates the similarity between the first historically released application and the second historically released application; Indicates the first historical release of the application The eigenvalue of a feature; Indicates the second historical release application The eigenvalue of a feature; represents the number of features of the first historically released application; m represents the number of features of the second historically released application; Indicates all The minimum value in ; all The maximum value in ; Symbol for exponential function; represents the first adjustment coefficient; Represents the second adjustment coefficient.
[0088] The beneficial effect of the above technical solution is: determining the similarity of two historically released applications through the feature values of the features of the two historically released applications and the corresponding feature quantities, thus laying a foundation for the subsequent construction of a similar application set.
[0089] The embodiment of the present invention provides an efficient application publishing method based on Web middleware, which obtains the application type and current application information of each application to be published, and sorts all the applications to be published based on the application publishing rule, including:
[0090] Classify all the applications to be released according to the application type of each application to be released;
[0091] According to the application publishing rule and based on the principle of optimal publishing efficiency, the applications to be published in the same category are sorted as first applications;
[0092] According to the application publishing rule and based on the principle of optimal publishing efficiency, the types of applications to be published are sorted by second application;
[0093] Based on the first application ranking and the second application ranking, a final application ranking is determined.
[0094] In this embodiment, the principle of optimal release efficiency means that the application release efficiency is highest according to the determined application ranking. The first application ranking is to arrange and combine the same type of applications to be released in different ways, and based on the application release rules, determine the time required for the entire release of each combination. The combination with the shortest time required for the entire release is the first ranking, and the second ranking is similar to the first ranking.
[0095] In this embodiment, the final application ranking is obtained by embedding the first application ranking according to the second application ranking and adjusting the connection.
[0096] The beneficial effects of the above technical solution are: sorting the same type of applications to be released and sorting the different types of applications to be released according to the application release rules and the principle of optimal release efficiency, and determining the final sorting based on the results of the two sortings.
[0097] The embodiment of the present invention provides an efficient application publishing method based on Web middleware, which performs first application sorting for applications to be published of the same category according to the application publishing rule and based on the principle of optimal publishing efficiency, including:
[0098] Arrange and combine the applications to be released in the same category, and determine the time required for all releases of the applications to be released in the same category according to the arrangement and combination results and based on the application release rules;
[0099] Based on the principle of optimal publishing efficiency, the optimal permutation and combination result of the applications to be published in the same category is selected as the first application ranking.
[0100] The beneficial effect of the above technical solution is: by arranging and combining the applications to be released of the same category, based on the application release rules, all the applications to be released required for each arrangement and combination are determined, and according to the principle of optimal release efficiency, the applications are sorted by the arrangement and combination with the shortest time required for all releases.
[0101] An embodiment of the present invention provides an efficient application publishing method based on Web middleware, which determines a final application ranking based on a first application ranking and a second application ranking, including:
[0102] According to the second application ranking, the first application ranking is embedded to obtain a complete application ranking;
[0103] The connection between the first application rankings in the complete application ranking is adjusted based on the principle of optimal publishing efficiency to determine the final application ranking.
[0104] In this embodiment, for example, the second application sorting is Class A, Class B, and Class C, the first application sorting is Class A is a1, b1, c1, Class B is a2, b2, c2, and Class C is a3, b3, c3. The complete application sorting is a1, b1, c1, a2, b2, c2, a3, b3, c3, and the connection is c1, a2. The connection is adjusted. If a2, c1 has higher publishing efficiency, c1, a2 are adjusted to a2, c1.
[0105] The beneficial effect of the above technical solution is: by embedding the first application ranking into the second application ranking, a complete application ranking is obtained, the connection between the first application rankings is adjusted, and the final application ranking is determined, laying the foundation for subsequent application release.
[0106] The embodiment of the present invention provides an efficient application publishing method based on Web middleware, which adjusts the application ranking according to the required resource amount of each application to be published, including:
[0107] According to the amount of resources required by each application to be released, all applications to be released are arranged in ascending order of the amount of resources required;
[0108] The final application ranking is pre-set and divided, and the divided parts are adjusted based on the ranking results.
[0109] In this embodiment, the preset division is determined in advance.
[0110] The beneficial effect of the above technical solution is: by arranging all applications to be released from small to large according to the required resource amount, and pre-dividing the final application ranking, the division part is adjusted based on the ranking result, laying the foundation for subsequent application release.
[0111] The embodiment of the present invention provides an efficient application publishing method based on Web middleware, which adjusts the Web middleware based on the adjustment sorting to complete the application publishing, including:
[0112] According to the adjustment order, determine the first ranked application to be released, and based on the application-environment table, determine the release environment corresponding to the application to be released;
[0113] Based on the publishing environment of the application to be published, adjust the Web middleware to ensure smooth publishing of the corresponding application to be published.
[0114] In this embodiment, the application-environment table includes different applications and application publishing environments, mainly for determining different application publishing environments required by different applications.
[0115] The beneficial effects of the above technical solution are: determining the publishing environment of the application to be published through the application-environment table, adjusting the Web middleware, publishing the application to be published, and improving the efficiency of application publishing.
[0116] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An efficient application publishing method based on Web middleware, characterized in that: include: Step 1: Determine the application publishing rule of the Web middleware according to the historical published applications and historical application information of the Web middleware; Step 2: Obtain the application type and current application information of each application to be released, and sort all the applications to be released based on the application release rules; Step 3: adjusting the order of the applications according to the amount of resources required by each application to be released; Step 4: Based on the adjustment order, adjust the Web middleware and complete the application release; Wherein, step 1 includes: Obtain the historical published applications of the Web middleware, and determine the number of releases, release time, release path, and release response time of the same historical published application; Determine a first release rule corresponding to the same historically released application according to the number of releases and the corresponding release time of the same historically released application; Determine a second release rule corresponding to the same historically released application according to each release path and corresponding release response time of the same historically released application; Determine the corresponding publishing efficiency based on the response time of each publishing of the same historical publishing application; Obtain the historical release application sequence of the Web middleware and determine the predecessor application of the same historical release application; According to the preceding applications and corresponding release efficiency of the same historically released application each time it is released, the third release rule corresponding to the same historically released application is summarized; Determining a fourth release rule of the same historically released application based on the second release rule and the third release rule of the same historically released application; Obtain historical application information of historically released applications of the Web middleware, and determine the similarity between different historically released applications; Using applications whose similarity to the same historically released application is greater than a preset similarity as a similar application set corresponding to the same historically released application; Adjusting the first release rule and the fourth release rule of the same historically released application according to a similar application set of the same historically released application; Based on the adjusted first publishing rule and fourth publishing rule of all historically published applications, a publishing rule for the application in the Web is determined.
2. The method for efficiently publishing applications based on Web middleware according to claim 1, characterized in that: Obtain historical application information of historically published applications of the Web middleware and determine the similarity between different historically published applications, including: ;in, Indicates the similarity between the first historically released application and the second historically released application; Indicates the first historical release application The eigenvalue of a feature; Indicates the second historical release application The eigenvalue of a feature; represents the number of features of the first historically released application; m represents the number of features of the second historically released application; Indicates all The minimum value in ; all The maximum value in ; Symbol for exponential function; represents the first adjustment coefficient; Represents the second adjustment coefficient.
3. The method for efficiently publishing applications based on Web middleware according to claim 1, characterized in that: Obtaining the application type and current application information of each application to be released, and sorting all the applications to be released based on the application release rules, including: Classify all the applications to be released according to the application type of each application to be released; According to the application publishing rule and based on the principle of optimal publishing efficiency, the applications to be published in the same category are sorted as first applications; According to the application publishing rule and based on the principle of optimal publishing efficiency, the types of applications to be published are sorted by second application; Based on the first application ranking and the second application ranking, a final application ranking is determined.
4. The method for efficiently publishing applications based on Web middleware as claimed in claim 3, characterized in that: According to the application release rules and based on the principle of optimal release efficiency, the applications to be released in the same category are sorted as first applications, including: Arrange and combine the applications to be released in the same category, and determine the time required for all releases of the applications to be released in the same category according to the arrangement and combination results and based on the application release rules; Based on the principle of optimal publishing efficiency, the optimal permutation and combination result of the applications to be published in the same category is selected as the first application ranking.
5. The method for efficiently publishing applications based on Web middleware as claimed in claim 3, characterized in that: Determining a final application ranking based on the first application ranking and the second application ranking includes: According to the second application ranking, the first application ranking is embedded to obtain a complete application ranking; The connection between the first application rankings in the complete application ranking is adjusted based on the principle of optimal publishing efficiency to determine the final application ranking.
6. The method for efficiently publishing applications based on Web middleware according to claim 1, characterized in that: According to the amount of resources required by each application to be released, the application ranking is adjusted, including: According to the amount of resources required by each application to be released, all applications to be released are arranged in ascending order of the amount of resources required; The final application ranking is pre-set and divided, and the divided parts are adjusted based on the ranking results.
7. The method for efficiently publishing applications based on Web middleware according to claim 1, characterized in that: Based on the adjustment sequence, adjust the Web middleware and complete the application release, including: According to the adjustment order, determine the first ranked application to be released, and based on the application-environment table, determine the release environment corresponding to the application to be released; Based on the publishing environment of the application to be published, adjust the Web middleware to ensure smooth publishing of the corresponding application to be published.
Citation Information
Patent Citations
Information publishing method, device and equipment and storage medium
CN109582870A
Information publishing method, device and equipment and storage medium
CN109582905A
Information publishing method and device, storage medium and terminal
CN111666488A
Content publishing method, computing equipment and computer storage medium
CN112445996A
Information processing method based on block chain and big data analysis and big data platform
CN112817754A
