Application merging and deployment methods and related products
By obtaining application information and resource data, merging the highest-level applications similar or different resources from other applications, the problem of errors in operation after application merger is solved, and the stability and resource utilization efficiency of application merger are improved.
Patent Information
- Application Number
- CN202211367106.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-01
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-11-01
AI Technical Summary
When the prior art merges multiple applications, it is easy to cause excessive application space and cross resources, resulting in operation errors.
By obtaining the information of the applications to be merged, determine the application's important level and resource data, the application with the highest important level in the merge application is similar or different resource data from other applications, and form the merged target application.
Improve the operation stability and resource utilization efficiency of applications after merger, ensuring that the merged applications have high-quality configuration and functions.
Smart Images

Figure CN115629793B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the general data processing technology field of the Internet industry, and specifically relates to a method for application merging and deployment and related products. Background Art
[0002] With the development of general data processing technology in the internet industry, to prevent the complete leakage of application information, different technical teams need to design different applications, and finally merge the designed applications. Currently, directly migrating all the data of multiple applications into a single application can easily result in a large application space, overlapping resources of multiple applications, and causing errors in the operation of the merged application. Summary of the Invention
[0003] This application provides a method for application merging and deployment and related products, in order to expand the mechanism of application merging and improve the operational stability of the merged application.
[0004] In a first aspect, an embodiment of the present application provides a method for merging and deploying applications, comprising obtaining application information of at least two applications to be merged, wherein the application information is used to characterize application importance levels and resource data of the at least two applications, wherein the resource data is used to indicate at least one of a business function, a business algorithm, and a business execution program of the application;
[0005] determining, based on the resource data, whether the at least two applications have first resource data that is identical or has a similarity greater than a preset similarity;
[0006] If so, determining application importance levels of the at least two applications according to the application information;
[0007] Determining a first application with the highest application importance level among the at least two applications;
[0008] Obtaining second resource data of a second application among the at least two applications, where the second application refers to an application other than the first application among the at least two applications, and the second resource data refers to resources in the resource data of the second application other than resources that are identical to or have a similarity greater than a preset similarity to the first application;
[0009] The first application and the second application are merged according to the second resource data to obtain a merged target application, where the target application includes all resource data of the first application and part or all of the second resource data.
[0010] In a second aspect, an embodiment of the present application provides a device for merging and deploying applications.
[0011] a first acquiring unit, configured to acquire application information of at least two applications to be merged, the application information being used to characterize application importance levels and resource data of the at least two applications, the resource data being used to indicate at least one of a service function, a service algorithm, and a service execution procedure of the application;
[0012] A first determining unit, configured to determine, based on the resource data, whether the at least two applications have first resource data that is identical or has a similarity greater than a preset similarity;
[0013] a second determining unit, configured to determine, if yes, application importance levels of the at least two applications according to the application information;
[0014] a third determining unit, determining a first application having the highest application importance level among the at least two applications;
[0015] a second acquiring unit, configured to acquire second resource data of a second application among the at least two applications, where the second application refers to an application other than the first application among the at least two applications, and the second resource data refers to resources in the resource data of the second application other than resources that are identical to or have a similarity greater than a preset similarity to the first application;
[0016] A merging unit is used to merge the first application and the second application according to the second resource data to obtain a merged target application, where the target application includes all resource data of the first application and part or all of the second resource data.
[0017] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs include instructions for executing the steps in the method described in the first aspect of the embodiment of the present application.
[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program / instruction stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect of the embodiment of the present application.
[0019] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the method described in the first aspect of the embodiment of the present application.
[0020] It can be seen that in the embodiment of the present application, the application information of at least two applications to be merged is first obtained, and the application information is used to characterize the application importance level and resource data of at least two applications. Then, based on the resource data, it is determined whether at least two applications have the same first resource data or a similarity greater than a preset similarity. If so, the application importance level of at least two applications is determined based on the application information, and then the first application with the highest application importance level among the at least two applications is determined. Then, the second resource data of the second application other than the first application is obtained, excluding the resources that are the same as or similar to the first application that are greater than the preset similarity. The first application and the second application are merged based on the second resource data to obtain all the resource data of the merged first application and part or all of the target applications in the second resource data. In this way, the mechanism of application merging can be expanded and the operational stability of the merged application can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0022] Figure 1 This is a structural block diagram of an application running platform provided by an embodiment of the present application;
[0023] Figure 2 This is a flow chart of a method for merging and deploying applications provided in an embodiment of the present application;
[0024] Figure 3 This is a flowchart of determining the importance level of an application provided in an embodiment of the present application;
[0025] Figure 4 This is a block diagram of the functional units of a device for application merging and deployment provided by an embodiment of the present application;
[0026] Figure 5 This is a block diagram of the functional units of another device for application merging and deployment provided by an embodiment of the present application;
[0027] Figure 6 This is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0030] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] The embodiments of the present application provide a method for application merging and deployment and related products, which expand the mechanism of application merging and improve the operational stability of the merged application.
[0032] See also Figure 1 , Figure 1 This is a structural diagram of an application running platform provided by an embodiment of the present application. Figure 1 As shown, the applications run on the same basic technology base platform, namely the application running platform 10, which is divided into two major parts. Java application running base 11 and operation H5 application running base 12: provide a stable business application running environment, including various dependency packages required for application operation, to ensure that the business is unaware of the running environment. Independent middleware 13: provides various middleware services for applications, and developers can use them by accessing them according to the manual, thereby achieving consistency in the middleware used by different applications and ensuring normal interaction of applications. By running at least two applications on the application running platform, at least two applications can be merged.
[0033] The following describes a method for application merging and deployment provided by an embodiment of the present application.
[0034] See also Figure 2 , Figure 2 This is a flow chart of a method for merging and deploying applications provided by an embodiment of the present application. Figure 2 As shown, the method includes:
[0035] Step 201: Acquire application information of at least two applications to be merged, wherein the application information is used to characterize application importance levels and resource data of the at least two applications, and the resource data is used to indicate at least one of the business functions, business algorithms, and business execution procedures of the applications.
[0036] Step 202: Determine, based on the resource data, whether the at least two applications have first resource data that is identical or has a similarity greater than a preset similarity.
[0037] Step 203: If yes, determine the application importance levels of the at least two applications according to the application information.
[0038] Step 204: Determine a first application with the highest application importance level among the at least two applications.
[0039] Step 205: Obtain the second resource data of the second application among the at least two applications, where the second application refers to the application other than the first application among the at least two applications, and the second resource data refers to the resources in the resource data of the second application other than the resources that are the same as the first application or have a similarity greater than a preset similarity.
[0040] Step 206: Merge the first application and the second application according to the second resource data to obtain a merged target application, where the target application includes all resource data of the first application and part or all of the second resource data.
[0041] It can be seen that in the embodiment of the present application, the application information of at least two applications to be merged is first obtained, and the application information is used to characterize the application importance level and resource data of the at least two applications. Then, based on the resource data, it is determined whether the at least two applications have the same first resource data or a similarity greater than a preset similarity. If so, the application importance level of the at least two applications is determined based on the application information, and then the first application with the highest application importance level among the at least two applications is determined. Then, the second resource data of the second application other than the first application is obtained, excluding the resources that are the same as or have a similarity greater than a preset similarity with the first application. The first application and the second application are merged based on the second resource data to obtain all the resource data of the merged first application and part or all of the target applications in the second resource data. It can be seen that the mechanism of application merging can be expanded and the operational stability of the merged application can be improved.
[0042] In addition, after determining whether the at least two applications have the same first resource data or the first resource data whose similarity is greater than a preset similarity based on the resource data, the method also includes: if not, selecting any one of the at least two applications as the first application; and integrating the resource data of other applications of the at least two applications except the first application into the first application to obtain the merged target application.
[0043] In a possible example, the application information includes the level of the development team, the application importance level, and the business importance level of at least one business of the application.
[0044] Among them, different development teams correspond to different levels. For example, the level of the core development team is higher than that of the ordinary development team, and the level of the ordinary development team is higher than that of the outsourced development team.
[0045] Different applications have different application importance levels. For example, the application importance level of a transaction application is greater than that of a communication application, and the application importance level of a communication application is greater than that of a game application.
[0046] Among them, the business importance levels of different businesses are different. For example, the business importance level of the payment business is greater than the business importance level of the collection business, the business importance level of the collection business is greater than the business importance level of the telephone business, and the business importance level of the telephone business is greater than the business importance level of the SMS business.
[0047] In a specific implementation, the development team level, application importance level, and business importance level of at least one application business can be manually set based on the needs of the application's users. The development team level can also be automatically generated based on the development team's team ID, the application importance level can be automatically generated based on the application ID, and the business importance level can be automatically generated based on the business ID, without specific limitations.
[0048] It can be seen that in this example, the application information includes the level of the development team, the application importance level, and the business importance level of at least one business of the application, ensuring the diversity of application information and thus ensuring that the most important basic applications for merging are determined with better quality during the application merging process.
[0049] For a possible example, see Figure 3 , Figure 3 This is a flow chart of determining the importance level of an application provided by an embodiment of the present application. Figure 3 As shown, the determining of the application importance levels of the at least two applications according to the application information may be specifically implemented by the following steps:
[0050] Step 301: Determine a third application with the highest application importance level among the at least two applications.
[0051] Step 302: Determine whether the number of the third applications is greater than 1.
[0052] Step 303: If yes, determine the fourth application having the target service with the highest service importance level among the third applications; and determine whether the number of the fourth applications is greater than 1.
[0053] Step 304: If yes, determine the fifth application with the highest development team level among the fourth applications; and determine whether the number of the fifth applications is greater than 1.
[0054] Step 305: If yes, obtain the application identifiers of the at least two applications.
[0055] Step 306: Generate an application selection request according to the application identifier.
[0056] Step 307: Send the application selection request to the electronic device where the target user is located. The target user includes an application merging team or an individual.
[0057] Step 308: Receive application selection response information for the application selection request from the electronic device, where the application selection response information is used to indicate a sixth application among the at least two applications selected by the target user.
[0058] Step 309: Determine that the sixth application is the first application.
[0059] Step 3010: If not, determine that the fifth application is the first application.
[0060] Step 3011: If not, determine that the fourth application is the first application.
[0061] Step 3012: If not, determine that the third application is the first application.
[0062] It should be noted that after executing step 302, execute step 303 or step 3012; after executing step 303, execute step 304 or step 3011; after executing step 304, execute step 305 or step 3010.
[0063] In the specific implementation, it is necessary to merge application 1, application 2, application 3, application 4, application 5, application 6, application 7, application 8, application 9 and application 10, and sort them from high to low according to the application importance level as application 7 = application 8 = application 9 = application 10 > application 4 = application 5 = application 6 > application 1 = application 2 = application 3, and sort them from high to low according to the application importance level as application 7 = application 8 = application 9 = application 10 > application 4 = application 5 = application 6 > application 1 = application 2 = application 3, and sort the applications from high to low according to the business with the highest business importance level as application 3 > application 4 = application 5 = application 6 > application 8 = application 9 = application 10 > application 1 = application 7 > application 2, and sort them from high to low according to the level of the development team as application 2 > application 4 = application 1 = application 3 = application 6 > application 8 > application 9 = application 10 > application 5 > application 7. Then, first determine the application importance level. The highest third application is application 7, application 8, application 9 and application 10. The number of third applications is 4, which is greater than 1. Then, it is determined that the fourth applications with the target business with the highest business importance level among application 7, application 8, application 9 and application 10 are application 8, application 9 and application 10. The number of fourth applications is 3, which is greater than 1. Finally, it is determined that the fifth application with the highest development team level among application 8, application 9 and application 10 is application 9 and application 10. The number of fifth applications is 2, which is greater than 1. Application identification 1 of application 9 and application identification 2 of application 10 are obtained. Application selection requests for application 9 and application 10 are generated based on application identification 1 and application identification 2. The application selection request is sent to the electronic device where the application merging team or individual is located, and application selection response information for the application selection request is received from the electronic device. If the response information indicates application identification 1, application 9 corresponding to application identification 1 is determined to be the first application.
[0064] It can be seen that in this example, the first application can be gradually determined based on the level of the development team, the application importance level, and the business importance level of at least one business of the application. When the first application cannot be determined through the level of the development team, the application importance level, and the business importance level of at least one business of the application, the final first application is inquired from the electronic device where the application merging team or individual is located. This can ensure that the first application has a higher priority and ensure that the application obtained after the application merger has a better configuration.
[0065] In a possible example, merging the first application and the second application according to the second resource data to obtain a merged target application includes:
[0066] Step A1: Determine whether the number of the second application is greater than 1;
[0067] Step A2: If yes, determining whether the second application has third resource data with a similarity greater than a preset similarity based on the second resource data;
[0068] Step A3: If yes, obtain resource description information of the third resource data.
[0069] The resource description information is used to indicate the calculation accuracy, calculation speed and resource size of each of the third resource data.
[0070] Step A4: Determine the resource priority level of the third resource data according to the resource description information.
[0071] Step A5: Determine the fourth resource data with the highest resource priority among the third resource data according to the resource priority.
[0072] Step A6: Determine fifth resource data of the second resource data excluding the third resource data.
[0073] Step A7: Integrate the fourth resource data and the fifth resource data into the first application to obtain the target application.
[0074] Step A8: If not, go to step A10.
[0075] Step A9: If not, go to step A10.
[0076] Step A10 is to integrate the second resource data into the first application to obtain the target application.
[0077] It should be noted that after executing step A1, step A2 or step A9 is executed; after executing step A2, step A3 or step A8 is executed.
[0078] In a specific example, if the two applications that need to be merged are application A and application B, after determining that application A and application B have the same first resource data or the similarity is greater than a preset similarity based on the resource data of application A and application B, it is determined that the application importance level of application A is higher than the application importance level of application B, then application A is determined to be the first application, and then the second resource data of application B is determined in addition to the resources that are the same as or the similarity is greater than the preset similarity with the first application, and the second resource data is integrated into application A to obtain the target application after the merger of application A and application B, which can simultaneously realize all the business functions of application A and application B.
[0079] In another specific example, if the two applications to be merged are application A, application B, and application C, based on the resource data of application A, application B, and application C, it is determined that application A, application B, and application C have the same resource data 1 or a similarity greater than a preset similarity, and it is determined that application B is the first application, application A and application C are the second applications, and resource data 2 other than resource data 1 in the resource data of application A and application C, since the number of the second application 2, 2 is greater than 1, further, based on resource data 2, it is determined that application A and application C have resource data 3 with a similarity greater than a preset similarity, and resource data 3 includes resource data A, resource data B and resource data C, then obtain resource description information of resource data A, resource data B and resource data C, and determine the resource priority of each resource data in resource data A, resource data B and resource data C according to the resource description information. If the resource priority of resource data A is higher than the resource priority of resource data B, and the resource priority of resource data B is higher than the resource priority of resource data C, then determine resource data A with the highest resource priority, determine resource data 4 in resource data 2 except resource data 3, and merge resource data A and resource data 4 into application B to obtain application D which is the merger of application A, application B and application C.
[0080] It can be seen that in this example, the resource data with the highest resource priority and the dissimilar resource data among the resource data of multiple applications, except for the same or similar resource data of the application with the highest application importance level, can all be integrated into the application with the highest application importance level, so that the application after the merger of multiple applications can realize all the business functions of multiple applications at the same time, and further ensure that the application obtained after the merger has a better configuration.
[0081] In one possible example, determining the resource priority level of the third resource data based on the resource description information includes: obtaining a preset operation accuracy weight, operation speed weight, and resource size weight; determining a first score for each of the third resource data based on the operation accuracy; determining a second score for each of the third resource data based on the operation speed; determining a third score for each of the third resource data based on the resource size; calculating a resource priority level score for each of the third resource data based on the operation accuracy weight, the operation speed weight, the resource size weight, the first score, the second score, and the third score; and sorting the third resource data in descending order according to the resource priority level scores to obtain the resource priority level of the third resource data.
[0082] Among them, the higher the calculation accuracy, the higher the first score; the higher the calculation speed, the higher the second score; the larger the resource size, the higher the third score.
[0083] It can be seen that in this example, the resource priority score of the resource data can be determined based on the calculation accuracy, calculation speed and resource size of the resource data, and thus the resource priority of the resource data can be determined.
[0084] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0085] In the case of integrated units, such as Figure 4 As shown, Figure 4 This is a block diagram of the functional units of an application merging and deploying device provided by an embodiment of the present application. Figure 4 In the embodiment, the device 400 for merging and deploying applications includes:
[0086] A first acquiring unit 401 is configured to acquire application information of at least two applications to be merged, wherein the application information is used to represent application importance levels and resource data of the at least two applications, wherein the resource data is used to indicate at least one of a service function, a service algorithm, and a service execution procedure of the application;
[0087] A first determining unit 402 is configured to determine, based on the resource data, whether the at least two applications have first resource data that is identical or has a similarity greater than a preset similarity;
[0088] A second determining unit 403 is configured to determine application importance levels of the at least two applications according to the application information;
[0089] The third determining unit 404 determines a first application having the highest application importance level among the at least two applications;
[0090] A second acquiring unit 405 is configured to acquire second resource data of a second application among the at least two applications, where the second application refers to an application other than the first application among the at least two applications, and the second resource data refers to resources in the resource data of the second application other than resources that are identical to or have a similarity greater than a preset similarity to the first application;
[0091] The merging unit 406 is configured to merge the first application and the second application according to the second resource data to obtain a merged target application, where the target application includes all resource data of the first application and part or all of the second resource data.
[0092] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0093] In the case of integrated units, such as Figure 5 As shown, Figure 5 This is a block diagram of the functional units of another device for application merging and deployment provided by an embodiment of the present application. Figure 5 In the embodiment, the device 510 for application combined deployment includes: a communication module 511 and a processing module 512.
[0094] The processing module 512 is used to obtain application information of at least two applications to be merged through the communication module 511, the application information is used to characterize the application importance level and resource data of the at least two applications, and the resource data is used to indicate at least one of the business functions, business algorithms and business execution procedures of the application; determine whether the at least two applications have the same first resource data or the similarity is greater than a preset similarity based on the resource data; if so, determine the application importance level of the at least two applications based on the application information; determine the first application with the highest application importance level among the at least two applications; obtain second resource data of the second application among the at least two applications, the second application refers to the application other than the first application in the at least two applications, and the second resource data refers to the resources in the resource data of the second application except the resources that are the same as or the similarity is greater than the preset similarity with the first application; and merge the first application and the second application according to the second resource data to obtain a merged target application, the target application including all resource data of the first application and part or all of the second resource data.
[0095] For example, the processing module 512 executes some of the steps in the first acquisition unit 401, the first determination unit 402, the second determination unit 403, the third determination unit 404, the second acquisition unit 405, and the merging unit 406, and / or other processes for executing the technology described herein. The communication module 511 is used to support the interaction between the apparatus 510 for application merging deployment and other devices. Figure 5 As shown, the device 510 for application merging and deployment may further include a storage module 513 , and the storage module 513 is used to store program codes and data of the device 510 for application merging and deployment.
[0096] The processing module 512 may be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 511 may be a transceiver, an RF circuit, or a communication interface, and the like. The storage module 513 may be a memory.
[0097] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The above application combined deployment device 510 can execute the above Figure 2 The method of applying combined deployment is shown.
[0098] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the process or function according to the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains a collection of one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state drive.
[0099] Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of the present application. Figure 6As shown, electronic device 600 includes a processor 601, a memory 602, and one or more programs, wherein the one or more programs are stored in the memory 602 and configured to be executed by the processor 601, and the one or more programs include instructions for executing the steps in the methods described in the above embodiments. The electronic device 600 may be a server in the above-mentioned application execution platform.
[0100] The processor 601 may include one or more processing cores. The processor 601 utilizes various interfaces and circuits to connect various components within the electronic device 600. It executes instructions, programs, code sets, or instruction sets stored in the memory 602, as well as accesses data stored in the memory 602, to perform various functions and process data within the electronic device 600. Optionally, the processor 601 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 601 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily handles the operating system, passenger interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 601 and may be implemented separately via a communications chip.
[0101] The memory 602 may include a random access memory (RAM) or a read-only memory (ROM). The memory 602 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 600 during use.
[0102] It is understandable that the electronic device 600 may include more or fewer structural elements than those in the above structural block diagram, for example, a power module, physical buttons, a WiFi (Wireless Fidelity) module, a speaker, a Bluetooth module, a sensor, etc., which are not limited here.
[0103] An embodiment of the present application also provides a computer storage medium, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, part or all of the steps of any method described in the above method embodiments are implemented.
[0104] An embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the method described in the first aspect of the embodiment of the present application.
[0105] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed methods, devices, and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is merely a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical, or other forms.
[0107] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0108] In addition, the functional units in various embodiments of the present invention may be integrated into a single processing unit, each unit may be physically included separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or hardware plus software functional units.
[0109] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM), among other media that can store program code.
[0110] Although the present invention is disclosed above, it is not limited thereto. Any person skilled in the art may readily conceive of variations or substitutions, and may make various modifications and alterations without departing from the spirit and scope of the present invention. Combinations of the above-described functions and implementation steps, including software and hardware implementations, are all within the scope of protection of the present invention.
Claims
1. A method for merging and deploying applications, characterized in that: include: Acquire application information of at least two applications to be merged, the application information being used to characterize application importance levels and resource data of the at least two applications, the resource data being used to indicate at least one of a service function, a service algorithm, and a service execution program of the application; determining, based on the resource data, whether the at least two applications have first resource data that is identical or has a similarity greater than a preset similarity; If so, determining application importance levels of the at least two applications according to the application information; Determining a first application with the highest application importance level among the at least two applications; Obtaining second resource data of a second application among the at least two applications, where the second application refers to an application other than the first application among the at least two applications, and the second resource data refers to resources in the resource data of the second application other than resources that are identical to or have a similarity greater than a preset similarity to the first application; The first application and the second application are merged according to the second resource data to obtain a merged target application, where the target application includes all resource data of the first application and part or all of the second resource data.
2. The method according to claim 1, characterized in that The application information includes the level of the development team, the application importance level, and the business importance level of at least one business of the application.
3. The method according to claim 2, characterized in that The determining, according to the application information, the application importance levels of the at least two applications includes: Determining a third application having the highest application importance level among the at least two applications; Determining whether the number of the third applications is greater than 1; If so, determining a fourth application having a target service with the highest service importance level among the third applications; and determining whether the number of the fourth applications is greater than 1; If so, determining the fifth application with the highest development team level among the fourth applications; and determining whether the number of the fifth applications is greater than 1; If so, obtaining application identifiers of the at least two applications; generating an application selection request based on the application identifiers; sending the application selection request to an electronic device where a target user is located, the target user including an application merging team or an individual; receiving application selection response information in response to the application selection request from the electronic device, the application selection response information being used to indicate a sixth application among the at least two applications selected by the target user; and determining that the sixth application is the first application; If not, determining that the fifth application is the first application; If not, determining that the fourth application is the first application; If not, it is determined that the third application is the first application.
4. The method according to any one of claims 1 to 3, characterized in that The merging the first application and the second application according to the second resource data to obtain a merged target application includes: Determining whether the number of the second application is greater than 1; If so, determining, based on the second resource data, whether the second application has third resource data with a similarity greater than a preset similarity; If so, obtaining resource description information of the third resource data, the resource description information being used to indicate the computation accuracy, computation speed, and resource size of each of the third resource data; determining a resource priority level of the third resource data based on the resource description information; determining a fourth resource data with the highest resource priority level in the third resource data based on the resource priority level; determining a fifth resource data other than the third resource data for the second resource data; and integrating the fourth resource data and the fifth resource data into the first application to obtain the target application; If not, integrating the second resource data into the first application to obtain the target application; If not, the second resource data is integrated into the first application to obtain the target application.
5. The method according to claim 4, characterized in that The determining the resource priority level of the third resource data according to the resource description information includes: Obtain the preset calculation accuracy weight, calculation speed weight, and resource size weight; determining a first score for each of the third resource data according to the calculation accuracy; determining a second score for each of the third resource data according to the operation speed; determining a third score for each of the third resource data according to the resource size; Calculate the resource priority score of each third resource data according to the calculation accuracy weight, the calculation speed weight, the resource size weight, the first score, the second score, and the third score; The third resource data is sorted according to the resource priority scores from high to low to obtain the resource priority of the third resource data.
6. A device for merging and deploying applications, characterized in that: include: a first acquiring unit, configured to acquire application information of at least two applications to be merged, the application information being used to characterize application importance levels and resource data of the at least two applications, the resource data being used to indicate at least one of a service function, a service algorithm, and a service execution procedure of the application; A first determining unit, configured to determine, based on the resource data, whether the at least two applications have first resource data that is identical or has a similarity greater than a preset similarity; a second determining unit, configured to determine, if yes, application importance levels of the at least two applications according to the application information; a third determining unit, determining a first application having the highest application importance level among the at least two applications; a second acquiring unit, configured to acquire second resource data of a second application among the at least two applications, where the second application refers to an application other than the first application among the at least two applications, and the second resource data refers to resources in the resource data of the second application other than resources that are identical to or have a similarity greater than a preset similarity to the first application; A merging unit is used to merge the first application and the second application according to the second resource data to obtain a merged target application, where the target application includes all resource data of the first application and part or all of the second resource data.
7. The device according to claim 6, characterized in that The application information includes the level of the development team, the application importance level, and the business importance level of at least one business of the application.
8. An electronic device, characterized in that: The method comprises a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs include instructions for executing the steps in the method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program / instruction stored thereon, characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Data recommendation method and device thereof, equipment and medium
CN113515589A
Parallel corpus construction method and device, equipment and storage medium
CN113822083A