Joint orchestration and operation method, system, terminal and medium for multi-atomic service

By creating a mapping management table and device identification code between atomized services and communication interfaces, the orchestration and operation of atomized services are simplified, and the problems in the existing technology of jointly orchestrating and calling multiple atomized services are complicated and the operation overhead is high. , improving operational efficiency and flexibility.

CN118467065BActive Publication Date: 2024-09-20深圳开鸿数字产业发展有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410939525.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-20
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

The existing joint orchestration and calling scheme of multiple atomized services has the problem of complex calling operation process and high operating overhead.

Method used

By creating a mapping management table between the atomization service and the communication interface, according to the specific business scenario requirements, combining the mapping management table and the device identification code to orchestrate the atomization service, and running the atomization service according to the orchestration logic, directly calling the communication interface to Achieve joint operation.

Benefits of technology

It greatly simplifies the calling operation process, improves the accuracy of calling different devices and the rationality and efficiency of the orchestration logic, enhances the joint operation capability of multi-atomized services, and expands the atomic service functions that can participate in joint orchestration and operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118467065B
    Figure CN118467065B
Patent Text Reader

Abstract

The joint orchestration and operation method, system, terminal and medium of multiple atomic services provided by the present invention specifically relate to the field of atomic service technology. The scheme includes: based on the atomic service requirements and the mapping management table, determining the target atomic service in the atomic service and the target communication interface corresponding to each target atomic service; based on the atomic service requirements, orchestrating the calling sequence and calling rules of all target communication interfaces to obtain the joint orchestration result; calling each target communication interface according to the joint orchestration result, and jointly operating all target atomic services. The scheme is based on the existing system framework and performs atomic service orchestration in accordance with specific business scenario requirements in combination with the mapping management table and / or device identification code, and operates the atomic service according to the orchestration logic. The calling operation process is simple and has strong scalability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of atomic service technology, and in particular to a method, system, terminal and medium for joint orchestration and operation of multiple atomic services. Background Art

[0002] Atomic services are lightweight applications that do not require explicit installation by users and are silently installed by the system when used. Unlike traditional application forms, an atomic service generally only provides an independent function. The closed-loop completion of a whole set of business processes generally requires the participation of multiple atomic services, but the closed-loop businesses that can be completed are also more flexible and diverse. For example, if the system event monitors that the device user is wearing headphones, and the positioning service monitors that the device user is on the subway, music will be automatically played through the music service.

[0003] At present, the solutions for orchestrating multiple atomic services mainly include: defining standard APIs based on the system framework, and implementing the standard APIs through atomic services / applications, such as Figure 1 As shown; arrange the standard APIs, such as calling certain APIs in sequence, such as Figure 2 As shown; run the arranged skills, such as Figure 3 As shown. Because the atomic service orchestration solution requires the participation of the system framework layer and the system service layer when calling each standard API and atomic service. Therefore, in the case of jointly orchestrating and calling multiple atomic services, in the function development stage, it is necessary to additionally develop system functions and define standard APIs. Atomic services that can be orchestrated and jointly called must also implement these standard APIs; in the joint operation stage, each standard API needs to go through the transmission process of "caller <—> system standard API definition module <—> atomic service" before it can be successfully called. It can be seen that the existing solutions for jointly arranging and calling multiple atomic services have the problems of complex calling operation process and high operating overhead. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a method, system, terminal and medium for the joint orchestration and operation of multiple atomic services, aiming to solve the problems in the prior art of joint orchestration and calling schemes of multiple atomic services, such as complex calling operation process and high operating overhead.

[0005] In order to achieve the above-mentioned object, the first aspect of the present invention provides a method for joint orchestration and operation of multi-atomic services, including:

[0006] Acquire atomic services stored locally and / or in the cloud, and a mapping management table for representing a mapping relationship between atomic services and communication interfaces;

[0007] Based on the atomic service requirements and the mapping management table, determine the target atomic service in the atomic service and the target communication interface corresponding to each of the target atomic services;

[0008] Based on the atomic service requirements, the calling sequence and calling rules of all the target communication interfaces are arranged to obtain a joint arrangement result;

[0009] Each of the target communication interfaces is called according to the joint orchestration result, and all the target atomic services are jointly run.

[0010] In one embodiment, before acquiring the atomic service stored locally and / or in the cloud, the method further includes:

[0011] Based on the communication framework, create a configuration file for each communication interface;

[0012] Generate an atomic service based on the configuration file of the communication interface;

[0013] Each of the atomic services is stored locally and / or in the cloud to obtain the atomic services locally and / or in the cloud.

[0014] In one embodiment, the determining, based on the atomic service requirements and the mapping management table, the target atomic service in the atomic service and the target communication interface corresponding to each of the target atomic services includes:

[0015] Screening the atomic services based on the atomic service requirements and determining the target atomic services;

[0016] Based on the target atomic service and the mapping management table, a target communication interface corresponding to each target atomic service is determined.

[0017] In one implementation, the step of orchestrating the calling sequence and calling rules of all the target communication interfaces based on the atomic service requirements to obtain a joint orchestration result includes:

[0018] Based on the atomic service requirements, obtaining a configuration file corresponding to each of the target communication interfaces;

[0019] The calling sequence and calling rules of all the target communication interfaces are arranged according to all the configuration files to obtain a joint arrangement result.

[0020] In one implementation, calling each of the target communication interfaces according to the joint orchestration result and jointly running all the target atomic services includes:

[0021] Calling according to the joint arrangement result to obtain the current target communication interface at each moment during the entire calling period;

[0022] If the current target communication interface corresponds to the target atomic service in the cloud, a download request is sent to the cloud and installed, and converted to the local target atomic service;

[0023] Based on all the local target atomic services, all the target atomic services are jointly operated.

[0024] In one implementation, the calling according to the joint orchestration result to obtain the current target communication interface at each time during the entire calling period includes:

[0025] If the joint arrangement result corresponds to calling target communication interfaces of different devices, then obtaining the device identification code corresponding to each target communication interface according to the preset mapping relationship between the communication interface and the device identification code;

[0026] Based on all the device identification codes, a call is made to obtain the current target communication interface at each moment during the entire call period.

[0027] In one implementation, after jointly running all the target atomic services, the method further includes updating the mapping management table, specifically including:

[0028] Determine the communication interface to be changed according to the change requirements of the target atomic service;

[0029] Based on the communication interface to be changed and the change requirement, obtaining an updated target atomic service;

[0030] Based on the updated target atomic service and the communication interface to be changed, the mapping management table is updated.

[0031] A second aspect of the present invention provides a joint orchestration and operation system for multi-atomic services, the system comprising:

[0032] An information acquisition module, used to acquire atomic services stored locally and / or in the cloud, and a mapping management table used to represent the mapping relationship between atomic services and communication interfaces;

[0033] An information screening module, used to determine the target atomic service in the atomic service and the target communication interface corresponding to each of the target atomic services based on the atomic service requirements and the mapping management table;

[0034] A joint orchestration module, used to orchestrate the calling sequence and calling rules of all the target communication interfaces based on the atomic service requirements to obtain a joint orchestration result;

[0035] A joint operation module is used to call each of the target communication interfaces according to the joint orchestration result and jointly operate all the target atomic services.

[0036] A third aspect of the present invention provides an intelligent terminal, which includes a memory, a processor, and a joint orchestration and operation program of multi-atomic services stored in the memory and executable on the processor, wherein the joint orchestration and operation program of multi-atomic services, when executed by the processor, implements any step of the joint orchestration and operation method of the above-mentioned multi-atomic services.

[0037] A fourth aspect of the present invention provides a computer-readable storage medium, on which is stored a program for the joint orchestration and operation of multiple atomic services, which, when executed by a processor, implements any step of the method for the joint orchestration and operation of multiple atomic services.

[0038] Compared with the prior art, the beneficial effects of this solution are as follows:

[0039] The present invention creates a mapping management table between atomic services and communication interfaces, performs atomic service orchestration in combination with the mapping management table and / or device identification code according to specific business scenario requirements, and runs the atomic services according to the orchestration logic. This can not only greatly simplify the calling operation process, but also significantly improve the accuracy of calling different devices and the rationality and efficiency of the orchestration logic. At the same time, all atomic services in the same local area network can participate in the joint orchestration and operation, and can independently select externally exposed functions for other applications / services to call, which can significantly enhance the joint operation capability of multiple atomic services, improve the flexibility of calling and orchestration schemes, and greatly expand the functions of atomic services that can participate in joint orchestration and operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0041] Figure 1 A schematic diagram of atomic services that can be orchestrated;

[0042] Figure 2 Schematic diagram for atomized service skills;

[0043] Figure 3 This is a schematic diagram of the execution of the choreographed skills;

[0044] Figure 4 A flow chart of the joint orchestration and operation method of the multi-atomization service of the present invention;

[0045] Figure 5 It is a schematic diagram of the process call flow between processes based on the system communication framework of the present invention;

[0046] Figure 6 It is a schematic diagram of the joint operation of atomic services based on the system communication framework of the present invention;

[0047] Figure 7 A schematic diagram of the development, launch, download and use of the atomic service of the present invention;

[0048] Figure 8 An exemplary code snippet of a configuration file described for the communication interface of the present invention;

[0049] Fig. 9 A schematic diagram of the joint arrangement and operation of atomic services for a single device of the present invention;

[0050] Fig.10 A schematic diagram of the joint arrangement and operation of multi-atomic services for a single-machine networking device of the present invention;

[0051] Fig.11 A schematic diagram of the joint arrangement and operation of multi-atomized services for multiple devices in a local area network of the present invention;

[0052] Fig.12 A schematic diagram of the joint orchestration and operation system module of the multi-atomization service of the present invention;

[0053] Fig.13 It is a schematic diagram of the structure of the intelligent terminal of the present invention. DETAILED DESCRIPTION

[0054] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0055] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0056] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0057] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0058] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings of the embodiments of the present invention. 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 the present invention.

[0059] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0060] In the face of the problems that the existing joint orchestration and calling schemes for multiple atomic services have complex calling operation processes and large operating overheads, the present invention proposes a more flexible solution for orchestrating and scheduling atomic services based on the existing OpenHarmony system communication framework. The solution creates a mapping management table between atomic services and communication interfaces. According to specific business scenario requirements, atomic services only need to implement communication interfaces based on the communication framework, and describe the interface name, input parameters and output parameters of the communication interface through configuration files to achieve orchestration. In the process of running the orchestration results, data can be directly transmitted between the communication interface caller and the atomic service. Based on the existing OpenHarmony system framework, it is possible to autonomously select externally exposed functions for other applications / services to call, which can significantly enhance the ability of multiple atomic services to jointly operate, and improve the flexibility of calling and orchestration schemes, greatly expanding the functions of atomic services that can participate in joint orchestration and operation.

[0061] The embodiment of the present invention provides a method for co-orchestrating and operating multiple atomic services, which is deployed on electronic devices such as computers and servers and applied to the scenario of co-orchestrating and calling multiple atomic services in the OpenHarmony system. It is aimed at the situation where multiple atomic services exist in a single device, a single networked device, or a multi-networked device, and the type of device used is not specifically limited. Specifically, Figure 4 , Figure 5 and Figure 6 As shown, the steps of the method in this embodiment include:

[0062] Step S100: Acquire atomic services stored locally and / or in the cloud, and a mapping management table for indicating a mapping relationship between atomic services and communication interfaces;

[0063] Specifically, before executing step S100, it is necessary to create a configuration file for each communication interface based on the communication framework; generate an atomic service based on the configuration file of the communication interface; store each of the atomic services locally and / or in the cloud to obtain an atomic service locally and / or in the cloud. Specifically, the schematic diagram of the development-listing-download-use of atomic services is as follows: Figure 7 As shown, during the atomic service development phase, it is necessary to implement an interface for other applications / service processes to communicate with it. Since the operating system of existing mobile devices has implemented the communication interface for implementing all functions of the mobile device, this embodiment does not repeat the development process and type of the communication interface. An additional configuration file is provided, in which the interface name, input parameters and output parameters of one or more communication interfaces used to implement the atomic service are described in detail. An example of a configuration file describing the communication interface (functionList.json) is shown in the figure. Figure 8 As shown in the figure, the desc field describes the functions provided by the communication interface, which is convenient for users to select the atomic service interface for arrangement; the proto field describes the interface name, input parameter [in] and output parameter [out] of the communication interface. Other applications / service processes can call the communication interface through the interface name, input parameter [in] and output parameter [out] of the communication interface to realize the role of the communication interface.

[0064] During the atomic service launch phase, the configuration files corresponding to each communication interface are uploaded to the atomic service market in the cloud at the same time. A mapping management table is created to represent the mapping relationship between the atomic service and the corresponding communication interface, as shown in Table 1, and the mapping management table is maintained by the server of the atomic service market.

[0065] Table 1:

[0066]

[0067] During the atomic service download application stage, the mobile device downloads and installs the required atomic service from the atomic service market through the atomic service portal, interacts with the cloud through the required atomic service and queries the communication interface implemented by the atomic service, and maintains a mapping management table between the installed atomic service and its implemented communication interface locally on the mobile device.

[0068] Then, the atomic services stored locally and / or in the cloud and the mapping management table used to represent the mapping relationship between the atomic services and the communication interface are obtained through the configuration file.

[0069] Step S200: determining the target atomic service in the atomic service and the target communication interface corresponding to each target atomic service based on the atomic service requirement and the mapping management table;

[0070] Specifically, the atomic services are screened based on the atomic service requirements, and all atomic services used to implement the atomic service requirements are determined as target atomic services. The number of target atomic services may be one or more, and the specific number will change with the change of atomic service requirements; and based on the target atomic services and the mapping management table, the target communication interface corresponding to each target atomic service is determined, that is, according to the mapping relationship between the atomic services and the communication interfaces contained in the mapping management table, the communication interface that matches the target atomic service is searched as the target communication interface, so as to facilitate the subsequent implementation of the target atomic service by calling the target communication interface.

[0071] Step S300: based on the atomic service requirements, arrange the calling sequence and calling rules of all the target communication interfaces to obtain a joint arrangement result;

[0072] Specifically, based on the atomic service requirements, determine the required one or more target atomic services, and obtain one or more target communication interfaces for implementing each target atomic service. That is, there may be one or more target atomic services to complete a certain atomic service requirement, and there may also be one or more target communication interfaces for implementing each atomic service. Then, use Figure 5The inter-process calling method based on the system communication framework shown is to obtain the configuration files corresponding to each target communication interface from the cloud or local (if locally stored) by the communication interface caller, thereby obtaining the configuration files corresponding to all target communication interfaces, and obtaining one or more configuration files; finally, based on the system communication framework, all configuration files are used to arrange the calling sequence and calling rules of all target communication interfaces to obtain a joint arrangement result. Among them, the calling sequence and calling rules can be flexibly set according to the actual atomic service storage in a single device, a single networked device or a multi-machine networked device, as well as the calling requirements of the same or different atomic services in the same device or between different devices, and the present invention does not make specific restrictions.

[0073] Step S400: calling each of the target communication interfaces according to the joint orchestration result, and jointly running all the target atomic services.

[0074] Specifically, the communication interface implementer makes a call according to the joint orchestration result to obtain the current target communication interface at each moment during the entire call period. If the joint orchestration result corresponds to calling one or more target communication interfaces of the same device, these target communication interfaces are called in the order of the orchestration to realize the operation of the atomic service; if the joint orchestration result corresponds to calling the target communication interfaces of different devices, the device identification code corresponding to each of the target communication interfaces is obtained according to the mapping relationship between the preset communication interface and the device identification code, and the call is made based on all the device identification codes to obtain the current target communication interface at each moment during the entire call period. For the current target communication interface at each moment, if the current target communication interface corresponds to the target atomic service on the cloud, a download request is sent to the cloud and installed to convert it into a local target atomic service; if the current target communication interface corresponds to the local target atomic service, it can be called directly. When all the required current target communication interfaces are ready, all the target atomic services are jointly run based on all the local target atomic services; or, the atomic service is run while calling the target communication interface at the current runtime until all the required target communication interfaces are called, and the joint operation task of all target atomic services will be completed.

[0075] It is easy to understand that the method proposed in the present invention is not only applicable to the situation where multiple atomic services are jointly operated, but also applicable to the situation where a single atomic service is operated based on the same principle. The only difference is that the orchestration rules of the atomic service requirements are different. It is worth stating that for the situation where atomic services can be implemented by only calling the communication interface corresponding to the same device, it may be necessary to call only one atomic service, or it may be necessary to call multiple atomic services; for the situation where communication interfaces corresponding to different devices need to be called to implement atomic services, it is usually necessary to call multiple atomic services. For the convenience of description, the present invention will call one or more atomic services as jointly running atomic services.

[0076] like Figure 6 As shown, the atomic service joint operation process based on the system communication framework mainly reads and calls the communication interface description of each atomic service according to the orchestration skills, and jointly operates the atomic services through the system communication framework.

[0077] The following examples illustrate the steps for joint orchestration and operation of atomic services for the case where multiple atomic services exist on a single device, a single networked device, or multiple networked devices.

[0078] Example 1 is applicable to a single device. The steps of atomic service joint arrangement and operation in this example are as follows: Fig. 9 As shown, the details are as follows:

[0079] Step M101: reading the atomic services installed on the local device (such as atomic service 1, atomic service 2, ..., atomic service n), and the mapping management table between the communication interfaces related to these atomic services;

[0080] Step M102: According to the business scenario and the functional description of the communication interface read in step M101, the calling sequence and calling rules of the communication interface are autonomously arranged, that is, based on the atomic service and communication interface mapping management table, the execution conditions of the content of the business scenario are autonomously configured, that is, the calling sequence and calling rules of the communication interface are autonomously arranged, and the business scenario execution script is generated according to the arrangement result, and sent to the script execution engine deployed on the device to execute the business scenario;

[0081] Step M103: According to the calling sequence and calling rules arranged in step M102, the communication interface implemented by the corresponding atomic service is actually called, so as to achieve the purpose of joint operation of multiple atomic services.

[0082] This exemplary embodiment 1, by calling the mapping management table between the atomic services installed on the local device and the corresponding communication interfaces, performs atomic service orchestration according to specific business scenario requirements, and runs the atomic services according to the orchestration logic. It can quickly implement business functions for single-machine devices, has simple operating logic, significantly reduces operating overhead, and improves the operating efficiency of atomic services.

[0083] Example 2 is applicable to a single-machine networking device. The steps of atomic service joint arrangement and operation in this example are as follows: Fig.10 As shown, the details are as follows:

[0084] Step M201: reading the atomic services installed on the local device (such as atomic service 1, atomic service 2, ..., atomic service n), and the mapping management table between the communication interfaces related to these atomic services;

[0085] Step M202: read the atomic services (such as atomic service x and atomic service y) that can be provided by the atomic service market (cloud side), and the mapping management table between the communication interfaces related to these atomic services, wherein, in order to distinguish the communication interfaces of the local side and the cloud side, add the tag local to the local communication interface and add the tag remote to the cloud side communication interface;

[0086] Step M203: According to the business scenario needs and the functional description of the communication interface read in step M201 and step M202, the calling sequence and calling rules of the communication interface are independently arranged. When the arranged communication interface is the communication interface read in step M202, the background automatically requests the cloud to download and install the atomic service corresponding to the interface, such as sending a request to download atomic service x to the cloud, downloading and distributing the installation of atomic service x to the local device;

[0087] Step M204: According to the calling sequence and calling rules arranged in step M203, the communication interface of the corresponding atomic service is actually called, so as to achieve the purpose of joint operation of multiple atomic services.

[0088] This exemplary embodiment 2, by calling the mapping management table between the installed atomic services and the corresponding communication interfaces of local and cloud devices, performs atomic service orchestration according to specific business scenario requirements, and runs the atomic service according to the orchestration logic. It can implement the business functions of single-machine networked devices through a communication interface calling mode of online and offline joint operations. Compared with the existing atomic service orchestration and operation solutions, it avoids the operation of defining standard APIs, simplifies the calling operation process, and can effectively improve the operation efficiency of atomic services.

[0089] Example 3 is applicable to multiple devices in a local area network. Due to the communication framework and soft bus of the OpenHarmony system, the devices added to the local area network can be automatically discovered and automatically networked with them. In addition, the existing communication framework of the OpenHarmony system has the ability to directly call the communication interface of the devices in the network. Therefore, it has the software and hardware foundation for jointly operating the atomic services of multiple devices in the local area network. The steps of jointly arranging and operating the atomic services of this embodiment are as follows: Fig.11 As shown, the details are as follows:

[0090] Step M301: reading the atomic services installed on one of the local devices and the mapping management table between the communication interfaces related to these atomic services;

[0091] Step M302: Read the atomic services installed on other devices in the network, as well as the mapping management table between the communication interfaces related to these atomic services; add a device identification code to each device, and associate the read communication interface information with the device identification code to map, so as to call the communication interface of different devices by identifying the device identification code in the future;

[0092] Step M303: autonomously arrange the calling sequence and calling rules of the communication interface according to the business scenario requirements and the functional description of the communication interface read through steps M301 and M302;

[0093] Step M304: According to the calling sequence and calling rules arranged in step M303, the communication interface of the corresponding atomic service is actually called. When the called interface is the interface read in step M302, the atomic service of the corresponding device can be automatically called by adding the corresponding device identification code when calling the interface. In this way, the purpose of joint operation of atomic services of multiple devices is achieved.

[0094] This exemplary embodiment 3, by calling the mapping management table between the atomic services installed on the local and cloud devices of multiple devices located in the same local area network and the corresponding communication interfaces, performs atomic service orchestration in combination with the mapping management table and the device identification code according to the specific business scenario requirements, and runs the atomic service according to the orchestration logic, innovatively implements the communication interface calling mode of online and offline joint operation for the business functions of multiple devices in the same local area network, which can not only greatly simplify the calling operation process, but also significantly improve the accuracy of calling different devices and the rationality and efficiency of the orchestration logic; at the same time, all atomic services in the same local area network can participate in the joint orchestration and operation, and can independently choose the exposed functions for other applications / services to call, which can improve the flexibility of calling and orchestration schemes and greatly expand the functions of atomic services that can participate in joint orchestration and operation.

[0095] In one implementation, after the joint operation of all the target atomic services in step S400, the method further includes step S600: updating the mapping management table, which specifically includes:

[0096] According to the change requirements of the target atomic service, the communication interface to be changed is determined; based on the communication interface to be changed and the change requirements, the updated target atomic service is obtained; based on the updated target atomic service and the communication interface to be changed, the mapping management table is updated. That is, the mapping management table maintained locally by the mobile device is updated as the atomic service is downloaded, installed, updated, or uninstalled, to ensure the validity and real-time nature of the mapping relationship between the atomic service and the communication interface.

[0097] like Fig.12 As shown, corresponding to the joint orchestration and operation method of the multi-atomic service, the embodiment of the present invention further provides a joint orchestration and operation system of the multi-atomic service, and the joint orchestration and operation system of the multi-atomic service includes:

[0098] The information acquisition module 121 is used to acquire the atomic services stored locally and / or in the cloud, and a mapping management table for indicating the mapping relationship between the atomic services and the communication interface;

[0099] An information screening module 122, configured to determine a target atomic service in the atomic service and a target communication interface corresponding to each target atomic service based on the atomic service requirements and the mapping management table;

[0100] The joint orchestration module 123 is used to orchestrate the calling sequence and calling rules of all the target communication interfaces based on the atomic service requirements to obtain a joint orchestration result;

[0101] The joint operation module 124 is used to call each of the target communication interfaces according to the joint orchestration result, and jointly operate all the target atomic services.

[0102] Specifically, in this embodiment, the specific functions of the above-mentioned joint orchestration and operation system of multi-atomic services can also refer to the corresponding description in the above-mentioned joint orchestration and operation method of multi-atomic services, which will not be repeated here.

[0103] Based on the above embodiments, the present invention further provides an intelligent terminal, whose principle block diagram can be shown as follows: Fig.13As shown. The above-mentioned intelligent terminal includes a processor, a memory, a network interface and a display screen connected through a system bus. Among them, the processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a joint orchestration and operation program of multi-atomic services. The internal memory provides an environment for the operation of the operating system in the non-volatile storage medium and the joint orchestration and operation program based on multi-atomic services. The network interface of the intelligent terminal is used to communicate with an external terminal through a network connection. When the joint orchestration and operation program of multi-atomic services is executed by the processor, the steps of any of the above-mentioned joint orchestration and operation methods of multi-atomic services are implemented. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.

[0104] Those skilled in the art will understand that Fig.13 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the smart terminal to which the scheme of the present invention is applied. The specific smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0105] In one embodiment, a smart terminal is provided, which includes a memory, a processor, and a joint orchestration and operation program of multi-atomic services stored in the memory and executable on the processor. When the joint orchestration and operation program of multi-atomic services is executed by the processor, the steps of any one of the joint orchestration and operation methods of multi-atomic services provided in the embodiments of the present invention are implemented.

[0106] An embodiment of the present invention also provides a computer-readable storage medium, on which is stored a program for the joint orchestration and operation of multiple atomic services. When the program for the joint orchestration and operation of multiple atomic services is executed by a processor, the steps of any method for the joint orchestration and operation of multiple atomic services provided by an embodiment of the present invention are implemented.

[0107] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution, and the execution sequence 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 invention.

[0108] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0109] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0110] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0111] In the embodiments provided by the present invention, it should be understood that the disclosed apparatus / terminal equipment and method can be implemented in other ways. For example, the apparatus / terminal equipment embodiments described above are only illustrative, for example, the division of the above modules or units is only a logical function division, and in actual implementation, other division methods can be used, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0112] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features therein may be replaced by equivalents. However, these modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.

Claims

1. A method for joint orchestration and operation of multi-atomic services, characterized in that: The scenario of joint orchestration and invocation of multiple atomic services in the OpenHarmony system includes the following steps: Obtaining atomic services stored locally and / or in the cloud, and a mapping management table created during the atomic service listing phase to represent a mapping relationship between the atomic services and the communication interface; Based on the atomic service requirements and the mapping management table, determine the target atomic service in the atomic service and the target communication interface corresponding to each of the target atomic services; Based on the atomic service requirements, the calling sequence and calling rules of all the target communication interfaces are arranged to obtain a joint arrangement result; Calling each of the target communication interfaces according to the joint orchestration result, and jointly running all the target atomic services; Based on the atomic service requirements, the calling sequence and calling rules of all the target communication interfaces are arranged to obtain a joint arrangement result, including: Based on the atomic service requirements, obtaining a configuration file corresponding to each of the target communication interfaces; Arrange the calling sequence and calling rules of all the target communication interfaces according to all the configuration files to obtain a joint arrangement result; The configuration file includes the interface name, input parameters and output parameters of one or more target communication interfaces corresponding to the target atomic service; The calling of each of the target communication interfaces according to the joint orchestration result and jointly running all the target atomic services includes: If the joint orchestration result corresponds to calling the target communication interfaces of different devices, the device identification code corresponding to each of the target communication interfaces is obtained according to the mapping relationship between the preset communication interface and the device identification code, and the call is performed based on all the device identification codes to obtain the current target communication interface at each moment during the entire call period.

2. The method for joint orchestration and operation of multi-atomic services according to claim 1, characterized in that: Before obtaining the atomic service stored locally and / or in the cloud, it also includes: Based on the communication framework, create a configuration file for each communication interface; Generate an atomic service based on the configuration file of the communication interface; Each of the atomic services is stored locally and / or in the cloud to obtain the atomic services locally and / or in the cloud.

3. The method for joint orchestration and operation of multi-atomic services according to claim 1, characterized in that: The determining, based on the atomic service requirements and the mapping management table, a target atomic service in the atomic service and a target communication interface corresponding to each target atomic service, comprises: Screening the atomic services based on the atomic service requirements and determining the target atomic services; Based on the target atomic service and the mapping management table, a target communication interface corresponding to each target atomic service is determined.

4. The method for joint orchestration and operation of multi-atomic services according to claim 1, characterized in that: The calling of each of the target communication interfaces according to the joint orchestration result and jointly running all the target atomic services includes: Calling according to the joint arrangement result to obtain the current target communication interface at each moment during the entire calling period; If the current target communication interface corresponds to the target atomic service in the cloud, a download request is sent to the cloud and installed, and converted to the local target atomic service; Based on all the local target atomic services, all the target atomic services are jointly operated.

5. The method for joint orchestration and operation of multi-atomic services according to claim 1, characterized in that: After the joint operation of all the target atomic services, the mapping management table is updated, specifically including: Determine the communication interface to be changed according to the change requirements of the target atomic service; Based on the communication interface to be changed and the change requirement, obtaining an updated target atomic service; Based on the updated target atomic service and the communication interface to be changed, the mapping management table is updated.

6. Joint orchestration and operation system of multiple atomic services, characterized by: Applied to implement the joint orchestration and operation method of multi-atomic services as described in claims 1-5, the system includes: An information acquisition module, used to acquire atomic services stored locally and / or in the cloud, and a mapping management table created during the atomic service listing phase to represent the mapping relationship between the atomic services and the communication interface; An information screening module, used to determine the target atomic service in the atomic service and the target communication interface corresponding to each of the target atomic services based on the atomic service requirements and the mapping management table; A joint orchestration module, used to orchestrate the calling sequence and calling rules of all the target communication interfaces based on the atomic service requirements to obtain a joint orchestration result; A joint operation module is used to call each of the target communication interfaces according to the joint orchestration result and jointly operate all the target atomic services.

7. Intelligent terminal, characterized in that: The intelligent terminal includes a memory, a processor, and a joint orchestration and operation program of multi-atomic services stored in the memory and executable on the processor. When the joint orchestration and operation program of multi-atomic services is executed by the processor, the steps of the joint orchestration and operation method of multi-atomic services as described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program for the joint orchestration and operation of multiple atomic services, which, when executed by a processor, implements the steps of the method for the joint orchestration and operation of multiple atomic services as described in any one of claims 1 to 5.