Distributed service access method and device, equipment and storage medium
Through standard contract interfaces and channel distributors, the application system and distributed services are decoupled, which solves the problem that the existing technology cannot be applied to the field of distributed technology of non-microservices, and realizes flexible distributed service calls and reduces the dependence of a single product.
Patent Information
- Application Number
- CN202411923457.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-04
AI Technical Summary
The existing distributed service mesh technology is mainly applicable to the microservice technology field, but cannot be applied to the distributed technology field outside of microservices. It lacks unified standards and is difficult to use directly.
Receive the usage request of distributed services through the standard contract interface, perform legal verification, and allocate the target distributed services to the usage request based on the channel distributor, realizing the decoupling of the system and distributed services.
It improves the flexibility of application systems to call different distributed services, realizes low-cost switching to different distributed services, and reduces the system's dependence on a single distributed product.
Smart Images

Figure CN119766533A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of distributed technology, and in particular to an access method, device, equipment and storage medium for distributed services. Background Art
[0002] With the development of distributed technology, Internet companies and banking and financial companies are now transforming to distributed architecture, making full use of its horizontal expansion and rapid scalability to meet the needs of rapid business development.
[0003] The existing distributed service grid technology, by deploying proxy nodes, can take over service access requests and re-forward service calls. Although it has been achieved through customized proxy nodes to connect existing systems or interconnect heterogeneous service systems, it is limited to the field of microservice technology and cannot be applied to distributed technology fields other than microservices. In addition, the numerous grid products lack unified standards and are difficult to use directly. Summary of the invention
[0004] The present invention provides a distributed service access method, device, equipment and storage medium, which decouples an application system from the distributed service and improves the flexibility of the application system in calling different distributed services.
[0005] According to one aspect of the present invention, a method for accessing a distributed service is provided, the method comprising:
[0006] Receiving a use request of a distributed service through a standard contract interface, and performing a first legal verification on the use request based on use request information; wherein the use request information includes request format information;
[0007] Based on the access rules of the distributed service and the target distributed service to be accessed by the use request that has passed the first legal check, a second legal check is performed on the use request; wherein the access rules are used to define the access mode, maximum access threshold and access rights of the distributed service;
[0008] Based on the channel distributor, a target distributed service is allocated to the use request that passes the second legal verification; wherein at least one distributed service is registered in the channel distributor.
[0009] According to another aspect of the present invention, a distributed service access device is provided, the device comprising:
[0010] A first verification module, configured to receive a use request of a distributed service through a standard contract interface, and perform a first legal verification on the use request based on use request information; wherein the use request information includes request format information;
[0011] A second verification module is used to perform a second legal verification on the use request based on the access rules of the distributed service and the target distributed service to be accessed by the use request that has passed the first legal verification; wherein the access rules are used to define the access mode, maximum access threshold and access rights of the distributed service;
[0012] The allocation module is used to allocate a target distributed service to a use request that passes a second legal verification based on a channel distributor, wherein at least one distributed service is registered in the channel distributor.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the distributed service access method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the distributed service access method described in any embodiment of the present invention when executed.
[0018] According to another aspect of the present invention, a computer program product is provided. The computer program product stores a computer program. When the computer program is executed by a processor, the distributed service access method described in any embodiment of the present invention is implemented.
[0019] The technical solution of the embodiment of the present invention receives the use request of the distributed service through the standard contract interface, and processes the request response corresponding to the different use requests of the access object through the standard contract interface, thereby decoupling the system from the distributed service, realizing low-cost switching to different distributed services, reducing the system's dependence on a single distributed product, and improving the flexibility of the system in calling different distributed services.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0022] Figure 1 is a flowchart of a distributed service access method provided according to Embodiment 1 of the present invention;
[0023] Figure 2 is a flowchart of a distributed service access method provided according to Embodiment 2 of the present invention;
[0024] Figure 3 is a schematic diagram of the structure of an access device for a distributed service provided according to Embodiment 3 of the present invention;
[0025] Figure 4 It is a structural diagram of an electronic device for implementing the distributed service access method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in 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 should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] Embodiment 1
[0029] Figure 1A flowchart of a distributed service access method is provided for the first embodiment of the present invention. This embodiment is applicable to the case where a user requests to access a distributed service. The method can be executed by a distributed service access device. The distributed service access device can be implemented in the form of hardware and / or software. The distributed service access device can be configured in various general-purpose computing devices, such as terminal devices in a distributed system. Figure 1 As shown, the method includes:
[0030] S110: Receive a usage request for a distributed service through a standard contract interface, and perform a first legality check on the usage request based on usage request information.
[0031] The use request information includes request format information and request identity information; optionally, the request identity information may be key information or digital signature information of the requesting party.
[0032] S120. Based on the access rules of the distributed service and the target distributed service to be accessed by the use request that has passed the first legal verification, perform a second legal verification on the use request; wherein the access rules are used to limit the access method, maximum access threshold and access rights of the distributed service.
[0033] Specifically, the usage request issued by the user for accessing the distributed service can be received through the standard contract interface, and the data integrity of the received usage request can be verified. The integrity check can be performed on the data fields in the usage request, including but not limited to verifying whether all required fields are contained in the field message. Any usage request that lacks key fields will be considered non-compliant and will be intercepted or marked for review. Optionally, in addition to verifying the data integrity, it is also possible to verify whether the data format of the usage request complies with the preset business standards or protocol specifications. The accuracy and readability of the usage request are further ensured to avoid misreading of information or processing failure due to format errors. Optionally, business standards or protocol specifications can be adaptively set according to technical personnel in this field.
[0034] Furthermore, for usage requests that pass the data integrity check, it is possible to determine whether the usage request can be responded to based on the access mode, maximum access threshold, and access rights of the target distributed service that the usage request is to access. Exemplarily, it is possible to first determine whether the sender of the usage request has the authority to reference the target distributed service. After determining that it has the access right, it is possible to determine whether the target distributed service can still be accessed by determining the access mode and access margin of the target distributed service. By continuously monitoring the operating status of the distributed service components, the stability and reliability of the service can be ensured. Optionally, access methods may include batch access and single access, etc.
[0035] During the process of receiving usage requests, you can also record the receiving logs to record key information such as the receiving time, source, type, and verification status of the usage request to achieve comprehensive audit and traceability capabilities.
[0036] S130. Based on the channel distributor, allocate a target distributed service to the use request that passes the second legal verification; wherein at least one distributed service is registered in the channel distributor.
[0037] Optionally, in an embodiment of the present invention, based on a channel distributor, a target distributed service is allocated to a usage request that passes a second legal verification, including: determining a target product channel of the usage request in the channel distributor according to the target distributed service to be accessed by the usage request that passes the second legal verification; wherein the target product channel is used to provide the target distributed service to be accessed by the usage request; determining a target product in the target product channel according to a product identifier carried in the usage request, and returning an access address of the target product as a response result.
[0038] In an embodiment of the present invention, a plurality of service products of a distributed service can be registered in the channel distributor. The registration process of the distributed product can be to configure the product identification and product access address of service products from different manufacturers for the same distributed service in the management control interface of the channel distributor after the service product is started. Optionally, a distributed service usually needs to be configured with a default service product. The channel distributor can determine the target product to be assigned to the use request by using the product identification carried in the use request. If the use request does not carry the product identification, the default service product will be selected as the target product of the use request.
[0039] It should be noted that, in the embodiment of the present invention, the standard contract interface defines at least one access process of a distributed service; the access process may include a first legal verification process, a second legal verification process and a target distributed service allocation process.
[0040] By defining the access process of distributed services by annotating contract interfaces, the internal logic of a module can be independently implemented without having to understand the specific implementation details of other modules. As long as the interface contract is followed, modules can collaborate seamlessly, ensuring the flexibility, maintainability and scalability of the system.
[0041] The technical solution of the embodiment of the present invention receives the use request of the distributed service through the standard contract interface, and processes the request response corresponding to the different use requests of the access object through the standard contract interface, thereby decoupling the system from the distributed service, realizing low-cost switching to different distributed services, reducing the system's dependence on a single distributed product, and improving the flexibility of the system in calling different distributed services.
[0042] Embodiment 2
[0043] Figure 2 This is a flow chart of a distributed service access method provided in the second embodiment of the present invention. This embodiment further refines the above embodiment and provides the specific process of the first legal verification and the second legal verification. It should be noted that for the undetailed parts of the embodiment of the present invention, please refer to the relevant descriptions of other embodiments, which will not be repeated here. Figure 2 As shown, the method includes:
[0044] S210: Determine the target distributed service requested by the use request according to the request identifier carried in the use request.
[0045] S220: Perform field verification on the usage request according to the standard request field corresponding to the target distributed service.
[0046] The request identifier can be used to characterize the distributed service to be accessed by the request, such as microservices, cache services, and database services.
[0047] For example, when the target distributed service to be requested by the request is a microservice, the target object to be accessed can be limited in the request identification field according to the standard protocol fields (request address identifier, request body identifier, and request header identifier) in the standard communication protocol of the microservice, such as the product identification field and the request identification field.
[0048] Optionally, the first legal verification further includes: performing a key verification on the use request to determine whether the use request carries correct key information.
[0049] Specifically, the request header field of the use request carries request authentication information, such as digital signature information or requester key information, etc. After receiving the use request, the received use request can be authenticated according to the locally pre-stored requester key information to ensure the legitimacy of the use request identity.
[0050] S230: Determine the service lifecycle and access method access rights of the target distributed service according to the access rule of the distributed service.
[0051] S240: If the service lifecycle of the target distributed service has not expired, verify whether the use request has access rights to the target distributed service based on the identity information of the use request.
[0052] S250: In the case of having access rights, determine whether the current access volume of the target distributed service reaches the maximum access threshold; if not, it indicates that the second legal verification has passed.
[0053] In the embodiment of the present invention, the distributed services registered in the channel distributor have a certain life cycle, and the life cycle of each distributed service can be adaptively set according to those skilled in the art. Therefore, before accessing the distributed service, it is necessary to determine the service life cycle and access mode access rights of the target distributed service that the use request needs to access according to the pre-stored access rules of the distributed service.
[0054] Determine whether the service lifecycle of the target distributed service has expired. If so, stop responding to the use request and return a request failure alarm. If not, query whether the identity information of the use request exists in the access permission table of the target access object. If so, determine that the use request can access the target distributed service. If not, return a request failure alarm.
[0055] Furthermore, the access mode of the target distributed service includes batch access and single access. When the access mode of the target distributed service is single access, it is determined whether the target distributed service is being accessed. If not, it indicates that the second legal check has passed, and the use request can access the target distributed service; if so, it indicates that the second legal check has not passed, and the use request is placed in the message waiting queue of the target distributed service. When the access mode of the target distributed service is batch access, the number of real-time concurrent accesses to the target distributed service is determined, and the access margin of the target distributed service is determined based on the maximum access threshold of the target distributed service. If the access margin is empty, it indicates that the second legal check has not passed, and the use request is placed in the message waiting queue of the target distributed service; if the access margin is not empty, it indicates that the second legal check has passed, and the use request can access the target distributed service. Optionally, the maximum access threshold can be set adaptively according to those skilled in the art.
[0056] The technical solution of the embodiment of the present invention improves the efficiency, security and scalability of the system by verifying the fields of the received usage request itself and verifying the access resources in combination with the dynamic access traffic of the distributed service. It not only enhances the overall protection capability of the system, but also provides users with a more reliable and secure interactive environment.
[0057] Embodiment 3
[0058] Figure 3 This is a schematic diagram of the structure of a distributed service access device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:
[0059] A first verification module 310 is used to receive a use request of a distributed service through a standard contract interface, and perform a first legal verification on the use request based on use request information; wherein the use request information includes request format information;
[0060] A second verification module 320 is used to perform a second legal verification on the use request based on the access rules of the distributed service and the target distributed service to be accessed by the use request that has passed the first legal verification; wherein the access rules are used to define the access mode, maximum access threshold and access rights of the distributed service;
[0061] The allocation module 330 is used to allocate a target distributed service to the use request that passes the second legal verification based on the channel distributor; wherein at least one distributed service is registered in the channel distributor.
[0062] The technical solution of the embodiment of the present invention receives the use request of the distributed service through the standard contract interface, and processes the request response corresponding to the different use requests of the access object through the standard contract interface, thereby decoupling the system from the distributed service, realizing low-cost switching to different distributed services, reducing the system's dependence on a single distributed product, and improving the flexibility of the system in calling different distributed services.
[0063] Optionally, the first verification module 310 includes:
[0064] A target service determination unit, configured to determine a target distributed service requested by the use request according to a request identifier carried in the use request;
[0065] A field verification unit is used to perform field verification on the usage request according to a standard request field corresponding to the target distributed service.
[0066] Optionally, the first verification module 310 further includes:
[0067] The identity verification unit is used to perform key verification on the use request to determine whether the use request carries correct key information.
[0068] Optionally, the second verification module 320 includes:
[0069] An access rule determination unit, used to determine the service life cycle, access mode access rights and the access permissions of the target distributed service according to the access rule of the distributed service;
[0070] A permission verification unit, configured to verify, if the service lifecycle of the target distributed service has not expired, whether the use request has access rights to the target distributed service according to the identity information of the use request;
[0071] The traffic verification unit is used to determine whether the current access volume of the target distributed service has reached the maximum access threshold when the access authority is granted. If not, it indicates that the second legal verification has passed.
[0072] Optionally, the allocation module 330 may be specifically configured to:
[0073] According to the target distributed service to be accessed by the use request that has passed the second legal verification, determining the target product channel of the use request in the channel distributor; wherein the target product channel is used to provide the target distributed service to be accessed by the use request;
[0074] According to the product identification carried in the use request, the target product is determined in the target product channel, and the access address of the target product is returned as a response result.
[0075] Optionally, the standard contract interface defines an access process for at least one distributed service; the access process includes a first legal verification process, a second legal verification process, and a target distributed service allocation process.
[0076] The distributed service access device provided in the embodiment of the present invention can execute the distributed service access method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0077] Embodiment 4
[0078] Figure 4 A schematic diagram of an electronic device 410 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0079] like Figure 4As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0080] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0081] The processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 411 executes the various methods and processes described above, such as a method for accessing distributed services.
[0082] In some embodiments, the access method of the distributed service may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the access method of the distributed service described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured to execute the access method of the distributed service in any other appropriate manner (e.g., by means of firmware).
[0083] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0084] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0085] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0086] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0087] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0088] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0089] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0090] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A distributed service access method, characterized in that: include: Receiving a use request of a distributed service through a standard contract interface, and performing a first legal verification on the use request based on use request information; wherein the use request information includes request format information; Based on the access rules of the distributed service and the target distributed service to be accessed by the use request that has passed the first legal check, a second legal check is performed on the use request; wherein the access rules are used to define the access mode, maximum access threshold and access rights of the distributed service; Based on the channel distributor, a target distributed service is allocated to the use request that passes the second legal verification; wherein at least one distributed service is registered in the channel distributor.
2. The method according to claim 1, characterized in that Performing a first legality check on the use request based on the use request information includes: Determine, according to the request identifier carried in the use request, the target distributed service to be requested by the use request; A field check is performed on the usage request according to the standard request field corresponding to the target distributed service.
3. The method according to claim 2, characterized in that The first legal verification further includes: A key check is performed on the use request to determine whether the use request carries correct key information.
4. The method according to claim 1, characterized in that: Based on the access rules of the distributed service and the target distributed service to be accessed by the use request that has passed the first legal verification, a second legal verification is performed on the use request, including: Determine the service lifecycle, access mode and access rights of the target distributed service according to the access rules of the distributed service; If the service lifecycle of the target distributed service has not expired, verifying whether the use request has access rights to the target distributed service according to the identity information of the use request; In the case of having access rights, it is determined whether the current access volume of the target distributed service reaches the maximum access threshold. If not, it indicates that the second legal verification has passed.
5. The method according to claim 1, characterized in that Based on the channel distributor, the target distributed service is allocated for the use request that passes the second legal verification, including: According to the target distributed service to be accessed by the use request that has passed the second legal verification, determining the target product channel of the use request in the channel distributor; wherein the target product channel is used to provide the target distributed service to be accessed by the use request; According to the product identification carried in the use request, the target product is determined in the target product channel, and the access address of the target product is returned as a response result.
6. The method according to claim 1, characterized in that The standard contract interface defines an access process for at least one distributed service; the access process includes a first legal verification process, a second legal verification process, and a target distributed service allocation process.
7. A distributed service access device, characterized in that: include: A first verification module, configured to receive a use request of a distributed service through a standard contract interface, and perform a first legal verification on the use request based on use request information; wherein the use request information includes request format information; A second verification module is used to perform a second legal verification on the use request based on the access rules of the distributed service and the target distributed service to be accessed by the use request that has passed the first legal verification; wherein the access rules are used to define the access mode, maximum access threshold and access rights of the distributed service; The allocation module is used to allocate a target distributed service to a use request that passes a second legal verification based on a channel distributor, wherein at least one distributed service is registered in the channel distributor.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the distributed service access method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the distributed service access method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the distributed service access method according to any one of claims 1 to 6.
Citation Information
Patent Citations
User and authority management method and system for distributed file system
CN102546664A
Digital intelligent product authentication authorization method and system
CN116886352A
Access request processing method and device, electronic equipment and storage medium
CN117938515A
Distributed authorization authentication method based on target server and terminal
CN119135428A
Application program interface management and control method and device, computing equipment and readable storage medium
CN119135529A