Atomization service and application distribution authorization method, device, equipment and medium
By acquiring and distributing role and organizational data for atomic services and applications, the problem of insufficient role and organizational control in existing technologies is solved, enabling flexible and secure service distribution. This is applicable to the distribution of KaihongOS atomic services and digital twin atomic services.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 深圳开鸿数字产业发展有限公司
- Filing Date
- 2024-12-06
- Publication Date
- 2026-04-21
AI Technical Summary
Existing application distribution systems lack control over roles and organizations, resulting in low flexibility and security in accessing atomic services, HarmonyOS applications, and digital twin atomic services.
By acquiring product and business system data, role and organization data, the roles and organizations authorized to use atomic services or KaihongOS applications are identified and distributed to the corresponding products or business systems, implementing a role- and organization-based authorization distribution strategy.
It increases the flexibility and security of service access, allows for appropriate service distribution based on user roles and organizational membership, supports rapid deployment and management of atomic services, and improves the flexibility and security of service distribution.
Smart Images

Figure CN119766499B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus, device, and medium for distributing and licensing atomic services and applications. Background Technology
[0002] HarmonyOS Atomized Services offer users a more lightweight service through various forms, including HarmonyOS Universal Cards. HarmonyOS Atomized Services require only one development effort and support operation on multiple terminal devices.
[0003] Digital twin atomic services are a modern service model based on web technology. Through dynamic uploading and automatic loading, they provide users with a novel interactive experience. The core of this service model lies in its flexibility and convenience. Users can quickly access services via universal cards on the web interface. These cards display key information and allow direct user interaction. Developers have the freedom to develop business functions without being limited by the front-end technology stack. Whether using modern JavaScript frameworks like Vue and React, or build tools like Vite, Webpack, Vue CLI, and Umi, development needs can be met. Services are typically distributed as ZIP packages, containing the entry card icon and the main content of the business functions.
[0004] To meet the growing diversity of consumer devices, distribution platforms can support cross-device distribution of services. This process, enabling services to run on different devices as needed, is called multi-device distribution. It also possesses business continuity characteristics: to ensure service continuity in case of interruptions due to device switching or changes in user behavior, it's necessary to provide the ability to transfer the state of running services across different devices, ensuring continuous service provision. This process is called business continuity. AppGalleryConnect is a one-stop service platform that supports global application distribution across all devices, scenarios, and platforms. This platform allows developers to upload applications in various package formats, such as APK, RPK, and App Bundle, and distribute them to various terminal devices, including mobile phones, tablets, large screens, watches, in-vehicle systems, and VR devices.
[0005] However, existing application distribution systems cannot control user distribution of atomic services, KaihongOS applications, and digital twin atomic services, thus reducing the flexibility and security of service access.
[0006] Therefore, existing technologies still need to be improved and developed. Summary of the Invention
[0007] In view of the shortcomings of the prior art, the purpose of this invention is to provide a method, apparatus, device and medium for distributing and authorizing atomic services and applications, so as to solve the problems that existing application distribution systems cannot achieve control over roles and organizations, and that the distribution of atomic services to users, HarmonyOS applications and digital twin atomic services results in low service access flexibility and security.
[0008] The technical solution of the present invention is as follows:
[0009] In a first aspect, the present invention provides a method for distributing and licensing atomic services and applications, comprising:
[0010] Acquire product and business system data, as well as role and organizational data;
[0011] Obtain the selected products or business systems to be distributed, as well as the roles and organizations that need to be authorized;
[0012] Identify the roles and organizations authorized to use the atomic services or KaihongOS applications; wherein, the atomic services include the KaihongOS atomic service and the digital twin atomic service;
[0013] Distribute and authorize atomic services or KaihongOS applications to the corresponding product or business systems.
[0014] The present invention further specifies that the step of determining the roles and organizations authorized to use the atomic service or KaihongOS application includes:
[0015] Edit the scope of authorization for roles and organizations;
[0016] The role and organization are validated, and validation passes if the role and organization have a common user.
[0017] The present invention further specifies that the step of distributing and authorizing atomic services or KaihongOS applications to the corresponding product or business system includes:
[0018] Call the add and edit distribution API interfaces;
[0019] Distribute and license atomic services or KaihongOS applications to products or business systems;
[0020] Update the distribution list.
[0021] The present invention further includes:
[0022] When a product or business system no longer needs to use the distributed atomic services and applications, remove the atomic services and KaihongOS applications from the product or business system.
[0023] The corresponding atomic services and applications that were removed are recorded as removed in the database.
[0024] The present invention further includes, in the step of distributing and authorizing atomic services or KaihongOS applications to the corresponding product or business systems, specifically including the following when distributing and authorizing the digital twin atomic service to the business system:
[0025] After receiving the user's access request, the micro-frontend framework is loaded, and the digital twin atomic service interface distributed by the business system is requested.
[0026] Obtain the list of distributed digital twin atomic services for your assigned role and organization, according to the authorized scope, and add them to the workbench;
[0027] Add an atomic service card and render it. After the atomic service card is triggered, fetch the static resources of the digital twin atomic service and render the page.
[0028] The present invention further includes the following provisions when the KaihongOS atomic service or KaihongOS application is distributed to the product:
[0029] Upon receiving a user's access request, it requests the KaihongOS atomic service and application interface distributed by the product.
[0030] Obtain the user's role and organization, and retrieve the list of distributed KaihongOS atomic services and applications according to the authorized scope;
[0031] Upon receiving a download request, download the static resources of the atomic service and application, perform signature verification and installation, and add them to the workbench.
[0032] The present invention further includes a step in which the selected products or business systems to be distributed are selected in batches during the step of obtaining the selected products or business systems to be distributed.
[0033] Secondly, the present invention also provides an apparatus for distributing and licensing atomic services and applications, comprising:
[0034] The acquisition unit is used to acquire product and business system data, as well as role and organization data.
[0035] Select a distribution unit to obtain the selected products or business systems to be distributed, as well as the roles and organizations that need to be authorized;
[0036] An authorization unit is used to determine the roles and organizations authorized to use atomic services or KaihongOS applications; wherein, the atomic services include KaihongOS atomic services and digital twin atomic services;
[0037] The distribution unit is used to distribute and authorize atomic services or KaihongOS applications to the corresponding product or business systems.
[0038] Thirdly, the present invention also provides an apparatus including a memory and a processor, wherein the memory stores a computer program, which, when executed by the processor, is used to implement the atomic service and application distribution licensing method as described above.
[0039] Fourthly, the present invention also provides a medium having a computer program stored thereon, the computer program being used, when executed by a processor, to implement the atomic service and application distribution licensing method as described above.
[0040] This invention provides a method, apparatus, device, and medium for distributing and authorizing atomic services and applications. The method includes: acquiring product and business system data, and acquiring role and organization data; acquiring selected products or business systems to be distributed to, and roles and organizations to be authorized; determining the roles and organizations authorized to use atomic services or KaihongOS applications; wherein the atomic services include KaihongOS atomic services and digital twin atomic services; and distributing and authorizing the atomic services or KaihongOS applications to the corresponding products or business systems. This invention, when distributing digital twin atomic services, KaihongOS atomic services, and applications, can implement a role- and organization-based authorization distribution strategy to ensure that users see and access appropriate services according to their roles and organizations, increasing the flexibility and security of service access. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0042] Figure 1 This is a flowchart illustrating the distribution and authorization method for atomized services and applications in this invention.
[0043] Figure 2 This is a flowchart of an embodiment of the atomic service and application distribution and authorization method.
[0044] Figure 3 This is an interface diagram for selecting a business system in one embodiment of the present invention.
[0045] Figure 4 This is an interface diagram of roles and organizations authorized to use the Atomization Service / KaihongOS application in one embodiment of the present invention.
[0046] Figure 5 This is an interface diagram of how atomic services are distributed and authorized to the business system in one embodiment of the present invention.
[0047] Figure 6 This is an interface diagram for removing atomic services distributed to the business system in one embodiment of the present invention.
[0048] Figure 7 This is an interface diagram of editing the scope of authorization in one embodiment of the present invention.
[0049] Figure 8 This is a flowchart illustrating the operation of a digital twin atomic service in one embodiment of the present invention.
[0050] Figure 9 This is a diagram of the running interface of the digital twin atomization service in one embodiment of the present invention.
[0051] Figure 10 This is a flowchart illustrating the operation of a KaihongOS atomic service or application in one embodiment of the present invention.
[0052] Figure 11 This is a schematic diagram of a distribution and authorization device for atomic services and applications in one embodiment of the present invention. Detailed Implementation
[0053] This invention provides a method, apparatus, device, and medium for distributing and licensing atomic services and applications. To make the objectives, technical solutions, and effects of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0054] In the implementation methods and claims, unless otherwise specified in the text, the terms "a," "an," "the," and "the" may also include plural forms. If the embodiments of the present invention involve descriptions of "first," "second," etc., such descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features.
[0055] It should be further understood that the term "comprising" as used in this specification means the presence of the stated 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. It should be understood that when an element is referred to as "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements present. Furthermore, "connected" or "coupled" as used herein can include wireless connections or wireless coupling. The term "and / or" as used herein includes all or any unit and all combinations of one or more associated listed items.
[0056] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0057] Furthermore, the technical solutions of the various embodiments can be combined with each other, but only if they are feasible for those skilled in the art. If the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.
[0058] KaihongOS standard system software is an operating system for the Internet of Things (IoT) across all industries and scenarios. Based on OpenHarmony, it enhances and innovates capabilities in areas such as system kernel, system framework, and performance optimization. It also provides industry-specific customization capabilities. KaihongOS atomic services are a new service delivery method based on the HarmonyOS API, characterized by "use and go," explicit information display, and direct service access. KaihongOS applications are programs developed based on the OpenHarmony API and run on the KaihongOS system, providing users with specific services and functions. However, existing application distribution systems cannot control user distribution of atomic services, KaihongOS applications, and digital twin atomic services, thus reducing the flexibility and security of service access.
[0059] To address the aforementioned technical problems, this invention provides a method, apparatus, device, and medium for distributing and authorizing atomic services and applications. The method includes: acquiring product and business system data, and acquiring role and organization data; acquiring selected products or business systems to be distributed, and roles and organizations to be authorized; determining the roles and organizations authorized to use atomic services or KaihongOS applications; wherein, the atomic service includes KaihongOS. S Atomized services and digital twin atomized services; distributing and authorizing atomized services or KaihongOS applications to corresponding product or business systems. This invention allows for role- and organization-based authorization distribution strategies when distributing digital twin atomized services, KaihongOS atomized services, and applications. This ensures users see and access appropriate services based on their roles and organizations, increasing the flexibility and security of service access. Operations personnel can leverage existing services and tools, combined with their own business needs, to effectively distribute and manage atomized services and KaihongOS applications.
[0060] In some embodiments, such as Figures 1 to 10 As shown, the present invention provides a method for distributing and licensing atomic services and applications, which includes the following steps:
[0061] S100, Obtain product and business systems, as well as roles and organizations;
[0062] Specifically, please refer to Figure 1 By combining Figure 2 Business systems and products can be created on the KaihongOS Super Device Management Platform. This platform provides foundational software services for industry digitalization and intelligentization. Built around the open-source HarmonyOS, it aims to lead the way in the era of the Internet of Things. By offering diverse access methods, rapid access capabilities, performance stability, and security, it supports various devices and scenarios, enabling intelligent and smart device management. Products can include tablets, mobile phones, smart boxes, etc. Users can log in to the relevant devices and access distributed KaihongOS atomic services and applications from the application market. When a user logs in or visits a business system's website, they can run related digital twin atomic services. For example, in a conference room business system, after logging in, the left-hand workbench might display atomic services such as smart air conditioners, smart cameras, and smart lights. These atomic services are distributed by the application distribution center. Roles and organizations can manage accounts from different dimensions. For example, an account may have roles such as administrator, maintainer, regular, internal staff, and external visitor, each with different permissions. For instance, if you only want to distribute atomic services and applications to the administrator role, then only accounts with that role can use the atomic service / application.
[0063] KaihongOS atomic services and applications are distributed to products. When a user logs in on a device within that product, they receive the corresponding atomic services and applications based on their account role and organization. Each user has one account. Digital twin atomic services are distributed to business systems. When an account accesses a business system, it receives the corresponding digital twin atomic services based on its account role and organization.
[0064] When distributing atomic services or KaihongOS applications, staff must first query the data of the product or business system to be distributed from the super device management platform to determine which product or business system to distribute to. Additionally, when editing the authorization distribution, role and organization data must be queried first to determine which role and organization accounts are authorized to access the atomic service or application. Taking the distribution of a digital twin atomic service to a business system as an example, if the digital twin atomic service "Smart Air Conditioner" is distributed to the "Digital Twin System of the Training Room on the Third Floor of the Company" business system, and access is restricted to administrator roles and company organization accounts, then only administrator roles and company organization accounts can use the "Smart Air Conditioner" atomic service when accessing the "Digital Twin System of the Training Room on the Third Floor" business system.
[0065] S200: Obtain the selected products or business systems to be distributed, as well as the roles and organizations to be authorized;
[0066] Specifically, please refer to Figure 1 By combining Figure 2 When distributing atomic services and KaihongOS applications, you can select the products or business systems to be distributed in batches. Taking the distribution of a fan application to a conference room as an example, since the fan application is a digital twin atomic service, the conference room business system can be selected. Multiple business systems can be selected for distribution by adding more, such as... Figure 3 As shown.
[0067] S300, Determine the roles and organizations authorized to use the atomic services or KaihongOS applications; wherein, the atomic services include the KaihongOS atomic service and the digital twin atomic service;
[0068] Specifically, please refer to Figure 1 By combining Figure 2After selecting the product or business system to be distributed, select the roles and organizations to be authorized. When distributing KaihongOS atomic services and applications, select the product to be distributed. When distributing digital twin atomic services, select the business system to be distributed. Taking the fan business as an example, the authorization scope can be set to all users, the organization can be unrestricted when granting organization authorization, and the role authorization can be restricted to internal company personnel. Understandably, when granting role authorization, roles can also be added by continuing to add more authorized users, such as... Figure 4 As shown.
[0069] S400 distributes and authorizes atomic services or KaihongOS applications to the corresponding product or business systems.
[0070] Specifically, please refer to Figure 1 By combining Figure 2 After authorizing roles and organizations, the atomic services or KaihongOS applications are distributed to authorized products or business systems. Users can access KaihongOS atomic services and applications distributed within any authorized product range through the application marketplace on the user login side. Web login will grant access to digital twin atomic services distributed across any authorized business system. For example, the Fan application can authorize Meeting Room 731 within the business system to all users. Figure 5 As shown.
[0071] Based on the above technical solution, when distributing digital twin atomic services, KaihongOS atomic services, and applications, a role- and organization-based authorization distribution strategy can be implemented to ensure that users see and access appropriate services according to their roles and organizations, supporting the rapid deployment of digital twin atomic services into users' own business systems. This invention increases the flexibility and security of service access, allowing enterprises or service providers to customize service experiences based on user identities and needs. Through the authorization distribution mechanism, atomic services on devices such as industrial tablets, robots, and drones can be distributed according to user roles and organizational memberships, which helps achieve more secure and efficient service distribution and deployment in industries such as finance, government affairs, and energy. Furthermore, operators can leverage existing services and tools, combined with their own business needs, to achieve effective distribution and management of atomic services and KaihongOS applications.
[0072] In some embodiments, the method for distributing and authorizing atomic services and applications further includes the steps of:
[0073] S500: When a product or business system no longer needs to use the distributed atomic services and applications, remove the atomic services and KaihongOS applications from the product or business system.
[0074] S600: Record the distribution records of the corresponding removed atomic services and applications in the database as removed.
[0075] In this embodiment, when staff no longer need to use the distributed KaihongOS atomic services and applications, they can remove (delete) the distribution. Specifically, staff access the KaihongOS atomic service and application distribution details interface, click the "Remove" button, and then click "OK." The system will remove the KaihongOS atomic services and applications distributed to the product and refresh the distribution list. Similarly, when staff no longer need to use the distributed digital twin atomic services on the business system, they can directly remove the distribution. The specific operation is the same as removing the KaihongOS atomic services and applications distributed to the product, such as... Figure 6 As shown, the fan application can be removed in the demo test.
[0076] Furthermore, after removing atomic services and applications, the removal status of the distribution can be recorded in the database so that staff can know that the current authorized distribution has ended.
[0077] In some embodiments, please refer to Figure 1 By combining Figure 2 The steps for determining the roles and organizations authorized to use atomic services or KaihongOS applications include the following steps:
[0078] S310. Edit the scope of authorization for roles and organizations;
[0079] Specifically, when selecting the roles and organizations to be authorized, the scope of authorization needs to be edited. Taking a fan as an example, and assuming the fan is distributed to meeting room 731 within the company, when authorizing its use to internal company personnel, there are no organizational restrictions, but the role is limited to internal company personnel. Similarly, when authorizing it to a haptic intelligence role, there are no organizational restrictions, but the role is limited to haptic intelligence roles. Figure 7 As shown.
[0080] S320. Verify roles and organizations. If roles and organizations have common users, the verification passes.
[0081] Specifically, when authorizing roles and organizations using atomic services or KaihongOS applications, verification will only pass if the role and organization share users. For example, roles and organizations control and manage accounts from different dimensions. For instance, in the platform, account A is under role 1, role 2, organization 1, and organization 2, while account B is under role 1 and organization 1. Then, the shared accounts under role 1 and organization 1 are accounts A and B; the shared account under role 1 and organization 2 is account A; the shared account under role 2 and organization 1 is account A; and the shared account under role 2 and organization 2 is account A.
[0082] In some embodiments, please refer to Figure 1 By combining Figure 2 The step of distributing and authorizing atomic services or KaihongOS applications to the corresponding product or business system includes:
[0083] S410, Call the Add and Edit Distribution API interface;
[0084] S420. Distribute and license atomic services or KaihongOS applications to products or business systems;
[0085] S430, Update the distribution list.
[0086] In this embodiment, after determining the roles and organizations authorized to use the atomic service or KaihongOS application, the add and edit distribution API interface is called to distribute the atomic service or KaihongOS application to the product or business system. The system will refresh the distribution list, so that users can obtain the distributed atomic service or KaihongOS application in the client application market or the web.
[0087] In some embodiments, please refer to Figure 8 When distributing digital twin atomic services to business systems, the specific steps include:
[0088] S440. After receiving the user's access request, load the micro frontend framework and request the digital twin atomic service interface distributed by the business system.
[0089] S450: Obtain the list of distributed digital twin atomic services for the assigned role and organization, according to the authorized scope, and add them to the workbench;
[0090] S460: Add an atomic service card and render it. After triggering the atomic service card, fetch the static resources of the digital twin atomic service and render the page.
[0091] In this embodiment, the micro-frontend framework is an architecture similar to microservices. It applies the microservice concept to the browser side, transforming the web application from a single monolithic application into an application that aggregates multiple small frontend applications. Each frontend application can also run, be developed, and deployed independently.
[0092] After distributing the atomic digital twin service to business systems, the micro-frontend framework is automatically loaded when a user logs in and accesses the business system. This framework requests all atomic digital twin service interfaces distributed by that business system. The backend can automatically retrieve the user's role and organization, query the list of atomic digital twin services distributed by the business system and within the authorized scope, and users can add these services to the workbench in more options, such as... Figure 9 As shown. The workbench allows you to render added atomic service cards. Clicking an atomic service card retrieves the static resources of the digital twin atomic service and renders the service onto the interface, as shown below. Figure 9 As shown.
[0093] In some embodiments, please refer to Figure 10 When KaihongOS atomic services or KaihongOS applications are distributed to products, this specifically includes:
[0094] S470. After receiving the user's access request, request the KaihongOS atomic service and application interface distributed by the product.
[0095] S480: Obtain the user's role and organization, and obtain the list of distributed KaihongOS atomic services and applications according to the authorized scope;
[0096] S490: After receiving the download request, download the static resources of the atomic service and application, perform signature verification and installation, and add them to the workbench.
[0097] Specifically, after distributing KaihongOS atomic services or applications to a product, users can log in on the device and access the application marketplace to request all KaihongOS atomic service and application interfaces distributed by the product. The backend can automatically obtain the user's role and organization, query the list of KaihongOS atomic services or applications within the product's distribution and authorization scope. After clicking on a KaihongOS atomic service or application on the device, the static resources of the atomic service or application are downloaded and the signature is verified. If the signature verification fails, a prompt is returned. If the signature verification is successful on the device, the atomic service or application can be installed and run. After downloading and installing, the installed atomic service or application can be added to the workbench.
[0098] In some embodiments, please refer to Figure 11 The present invention also provides an apparatus for distributing and licensing atomic services and applications, comprising:
[0099] Acquisition unit 100 is used to acquire product and business system data, as well as role and organization data;
[0100] Select distribution unit 200, used to obtain the selected products or business systems to be distributed, as well as the roles and organizations that need to be authorized;
[0101] The authorization unit 300 is used to determine the roles and organizations authorized to use atomic services or KaihongOS applications; wherein, the atomic services include KaihongOS atomic services and digital twin atomic services;
[0102] Distribution unit 400 is used to distribute and authorize atomic services or KaihongOS applications to the corresponding product or business systems.
[0103] In some embodiments, the present invention also provides an apparatus including a memory and a processor, the memory storing a computer program configured to, when executed by the processor, implement steps of an atomic service and application distribution licensing method:
[0104] Acquire product and business system data, as well as role and organizational data;
[0105] Obtain the selected products or business systems to be distributed, as well as the roles and organizations that need to be authorized;
[0106] Identify the roles and organizations authorized to use the atomic services or KaihongOS applications; wherein, the atomic services include the KaihongOS atomic service and the digital twin atomic service;
[0107] Distribute and authorize atomic services or KaihongOS applications to the corresponding product or business systems.
[0108] In some embodiments, the present invention also provides a medium having a computer program stored thereon, the computer program being used, when executed by a processor, to implement steps of an atomic service and application distribution licensing method:
[0109] Acquire product and business system data, as well as role and organizational data;
[0110] Obtain the selected products or business systems to be distributed, as well as the roles and organizations that need to be authorized;
[0111] Identify the roles and organizations authorized to use the atomic services or KaihongOS applications; wherein, the atomic services include the KaihongOS atomic service and the digital twin atomic service;
[0112] Distribute and authorize atomic services or KaihongOS applications to the corresponding product or business systems.
[0113] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0114] In summary, the atomic service and application distribution licensing method, apparatus, device, and medium provided by this invention have the following beneficial effects:
[0115] A role- and organization-based authorization distribution strategy ensures that users see and access appropriate services based on their roles and organizations. It supports the rapid deployment of digital twin atomic services into users' own business systems, increasing the flexibility and security of service access and allowing enterprises or service providers to customize service experiences according to users' identities and needs.
[0116] Operations personnel can leverage existing services and tools, combined with their own business needs, to effectively distribute and manage atomic services and KaihongOS applications.
[0117] It should be understood that the application of the present invention is not limited to the examples above. Those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A method for distributing and licensing atomic services and applications, characterized in that, include: Acquire product and business system data, as well as role and organizational data; Obtain the selected products or business systems to be distributed, as well as the roles and organizations that need to be authorized; Identify the roles and organizations authorized to use the atomic services or KaihongOS applications; wherein, the atomic services include the KaihongOS atomic service and the digital twin atomic service; The steps for determining the roles and organizations authorized to use atomic services or KaihongOS applications include: Edit the scope of authorization for roles and organizations; Validate roles and organizations; validation passes if roles and organizations share a common user. Distribute and authorize atomic services or KaihongOS applications to the corresponding product or business systems.
2. The method for distributing and licensing atomized services and applications according to claim 1, characterized in that, The steps of distributing and authorizing atomic services or KaihongOS applications to the corresponding product or business systems include: Call the add and edit distribution API interfaces; Distribute and license atomic services or KaihongOS applications to products or business systems; Update the distribution list.
3. The method for distributing and licensing atomized services and applications according to claim 1, characterized in that, Also includes: When a product or business system no longer needs to use the distributed atomic services and applications, remove the atomic services and KaihongOS applications from the product or business system. The corresponding atomic services and applications that were removed are recorded as removed in the database.
4. The method for distributing and licensing atomized services and applications according to claim 1, characterized in that, In the steps of distributing and licensing atomic services or KaihongOS applications to the corresponding product or business systems, when distributing and licensing digital twin atomic services to business systems, the specific steps include: After receiving the user's access request, the micro-frontend framework is loaded, and the digital twin atomic service interface distributed by the business system is requested. Obtain the list of distributed digital twin atomic services for your assigned role and organization, according to the authorized scope, and add them to the workbench; Add an atomic service card and render it. After the atomic service card is triggered, fetch the static resources of the digital twin atomic service and render the page.
5. The method for distributing and licensing atomized services and applications according to claim 1, characterized in that, In the process of distributing and authorizing atomic services or KaihongOS applications to the corresponding product or business system, when KaihongOS atomic services or KaihongOS applications are distributed to the product, the specific steps include: Upon receiving a user's access request, it requests the KaihongOS atomic service and application interface distributed by the product. Obtain the user's role and organization, and retrieve the list of distributed KaihongOS atomic services and applications according to the authorized scope; Upon receiving a download request, download the static resources of the atomic service and application, perform signature verification and installation, and add them to the workbench.
6. The method for distributing and licensing atomized services and applications according to claim 1, characterized in that, In the step of obtaining the selected products or business systems to be distributed, select the products or business systems to be distributed in batches.
7. An apparatus for implementing the distribution and licensing method for atomic services and applications as described in any one of claims 1-6, characterized in that, include: The acquisition unit is used to acquire product and business system data, as well as role and organization data. Select a distribution unit to obtain the selected products or business systems to be distributed, as well as the roles and organizations that need to be authorized; The authorization unit is used to determine the roles and organizations authorized to use atomic services or KaihongOS applications, and is also used to edit the authorization scope of roles and organizations, as well as to verify roles and organizations. When roles and organizations have common users, the verification is successful; wherein, the atomic services include KaihongOS atomic services and digital twin atomic services. The distribution unit is used to distribute and authorize atomic services or KaihongOS applications to the corresponding product or business systems.
8. A computer device, comprising a memory and a processor, characterized in that, The memory stores a computer program that, when executed by the processor, is used to implement the atomic service and application distribution licensing method as described in any one of claims 1-6.
9. A medium having a computer program stored thereon, characterized in that, The computer program is used, when executed by a processor, to implement the distribution and licensing method for atomic services and applications as described in any one of claims 1-6.
Citation Information
Patent Citations
Micro-service-based atomized vehicle information safety service system and method
CN115514525A
Permission verification method and device, equipment and storage medium
CN117332435A