Service sharing method, device and system
By introducing subnet registration service nodes and edge gateways into the 6G subnet, multiple subnet services are realized, and the limitations of diversification of services and cross-regional services under the unified service delivery model of the entire network are solved, and the quality of network services is improved.
Patent Information
- Application Number
- CN202111524889.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2041-12-14
AI Technical Summary
The unified service delivery model of the entire network has limitations in terms of service diversification, business personalization, and cross-regional service provision, resulting in a decline in network service quality.
By introducing subnet registration service nodes and edge gateways in 6G subnets, using user databases to realize the sharing of multiple subnet services. The edge gateway queries the subnet registration service node for the support status of other subnets when it is unable to provide services, and provides support to the support The service's edge gateway initiates a service request.
It has improved the quality of network services, met the business needs of 6G networks, and realized diversification of services, personalized services and cross-regional service sharing.
Smart Images

Figure CN114221959B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a service sharing method, a service sharing device, a service sharing system and a non-volatile computer-readable storage medium. Background Art
[0002] In related technologies, network services are uniformly provided by operators and service providers across the entire network. Summary of the invention
[0003] The inventors of the present disclosure have discovered that the above-mentioned related technologies have the following problems: the mode of providing services uniformly across the entire network has limitations in terms of service diversification, business personalization, and cross-regional services, resulting in a decline in network service quality.
[0004] In view of this, the present disclosure proposes a service sharing technical solution, which can realize the sharing of multiple subnet services, thereby improving the quality of network services.
[0005] According to some embodiments of the present disclosure, a service sharing method is provided, including: a subnet registration service node, receiving a service sharing request from a first edge gateway, the service sharing request being sent when the first edge gateway finds that its subnet cannot provide the service requested by the user, the service sharing request including the gateway identifier of the first edge gateway and the service identifier of the service; the subnet registration service node, determining a second edge gateway that can provide the service based on the gateway identifier and the service identifier and using a user database; the subnet registration service node, sending relevant information of the second edge gateway to the first edge gateway, so that the first edge gateway can request the second edge gateway to provide service to the user.
[0006] In some embodiments, based on the gateway identifier and the service identifier, using the user database, determining the second edge gateway that can provide services includes: a subnet registration service node sending a query request to the user database, the query request including the gateway identifier and the service identifier; the subnet registration service node determining the second edge gateway based on the contract information of the first edge gateway returned by the user database, the list of edge gateways that can provide services, and the gateway attributes.
[0007] In some embodiments, determining the second edge gateway includes: registering a service node in a subnet, determining the second edge gateway according to a service selection strategy, the service selection strategy including determining the second edge gateway based on at least one of whether it can be shared, whether the latency is shortest, or whether the resources in the subnet are sufficient.
[0008] In some embodiments, the service sharing method also includes: a subnet registration service node, receiving a service registration request from a second edge gateway, the service registration request including a gateway identifier and gateway attributes of the second edge gateway; the subnet registration service node, sending a database update request to a user database, the database update request including a gateway identifier and gateway attributes of the second edge gateway, so that the user database associates the gateway identifier and gateway attributes of the second edge gateway and then updates and saves them.
[0009] In some embodiments, the service registration request includes a service security certificate of the service to be registered; the service sharing method further includes: the subnet registration service node authenticates and authorizes the service to be registered according to the service security certificate.
[0010] In some embodiments, the gateway attribute includes at least one of a sharing level of the service to be registered, a link status of the second edge gateway, and a node capability in the second edge gateway that provides the service to be registered.
[0011] According to some other embodiments of the present disclosure, a service sharing method is provided, including: a first edge gateway, when finding that the subnet in which it is located cannot provide the service requested by the user, sends a service sharing request to a subnet registration service node, the service sharing request including the gateway identifier of the first edge gateway and the service identifier of the service; the first edge gateway receives relevant information of a second edge gateway that can provide the service returned by the subnet registration service node, the second edge gateway is determined by the subnet registration service node through a user database according to the gateway identifier and the service identifier; the first edge gateway requests the second edge gateway to provide the service to the user.
[0012] In some embodiments, the service sharing method also includes: the first edge gateway sends a service registration request to the subnet registration service node, the service registration request includes the gateway identifier and gateway attributes of the first edge gateway; the first edge gateway receives a successful update response returned by the subnet registration service node, the successful update response indicates that the user database associates the gateway identifier and gateway attributes of the second edge gateway and then updates and saves them.
[0013] In some embodiments, the service registration request includes a service security certificate of the service to be registered, which is used by the subnet registration service node to authenticate and authorize the service to be registered based on the service security certificate.
[0014] Some other embodiments of the present disclosure provide a service sharing device, which is set at a subnet registration service node and includes: a receiving unit, used to receive a service sharing request sent by a first edge gateway, the service sharing request is sent when the first edge gateway finds that the subnet where it is located cannot provide the service requested by the user, and the service sharing request includes the gateway identifier of the first edge gateway and the service identifier of the service; a processing unit, used to determine a second edge gateway that can provide the service based on the gateway identifier and the service identifier and using a user database; a sending unit, used to send relevant information of the second edge gateway to the first edge gateway, so that the first edge gateway can request the second edge gateway to provide service to the user.
[0015] In some embodiments, the sending unit sends a query request to the user database, the query request includes a gateway identifier and a service identifier; the processing unit determines the second edge gateway based on the contract information of the first edge gateway returned by the user database, the list of edge gateways that can provide services, and the gateway attributes.
[0016] In some embodiments, the processing unit determines the second edge gateway based on a service selection strategy, where the service selection strategy includes determining the second edge gateway based on at least one of whether it is shareable, whether the latency is shortest, or whether the subnet resources are sufficient.
[0017] In some embodiments, the receiving unit subnet registers the service node and receives a service registration request sent by the second edge gateway, the service registration request includes the gateway identifier and gateway attributes of the second edge gateway; the sending unit sends an update database request to the user database, the update database request includes the gateway identifier and gateway attributes of the second edge gateway, so that the user database associates the gateway identifier and gateway attributes of the second edge gateway and updates and saves them.
[0018] In some embodiments, the service registration request includes a service security certificate of the service to be registered; the processing unit subnet registration service node authenticates and authorizes the service to be registered based on the service security certificate.
[0019] In some embodiments, the gateway attribute includes at least one of a sharing level of the service to be registered, a link status of the second edge gateway, and a node capability in the second edge gateway that provides the service to be registered.
[0020] According to some further embodiments of the present disclosure, a service sharing device is provided, which is arranged at a first edge gateway and includes: a sending unit, for sending a service sharing request to a subnet registration service node when it is found that the subnet where it is located cannot provide the service requested by the user, the service sharing request includes a gateway identifier of the first edge gateway and a service identifier of the service, and the service request is sent to request a second edge gateway to provide the service to the user; a receiving unit, for receiving relevant information of a second edge gateway that can provide the service returned by the subnet registration service node, the second edge gateway being the subnet registration service node determined according to the gateway identifier and the service identifier through a user database.
[0021] In some embodiments, the sending unit sends a service registration request to the subnet registration service node, and the service registration request includes the gateway identifier and gateway attributes of the first edge gateway; the receiving unit receives the update success response returned by the subnet registration service node, and the update success response indicates that the user database associates the gateway identifier and gateway attributes of the second edge gateway and then updates and saves them.
[0022] In some embodiments, the service registration request includes a service security certificate of the service to be registered, which is used by the subnet registration service node to authenticate and authorize the service to be registered based on the service security certificate.
[0023] According to some further embodiments of the present disclosure, a service sharing device is provided, which is arranged in a subnet registration service node, and includes: a memory; and a processor coupled to the memory, the processor being configured to execute the service sharing method on the subnet registration service node side in any of the above-mentioned embodiments based on instructions stored in the memory device.
[0024] According to some further embodiments of the present disclosure, a service sharing device is provided, which is arranged in a first edge gateway and includes: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the service sharing method on the edge gateway side in any of the above-mentioned embodiments based on instructions stored in the memory device.
[0025] According to some further embodiments of the present disclosure, a non-volatile computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the service sharing method in any of the above embodiments is implemented.
[0026] According to some further embodiments of the present disclosure, a service sharing system is provided, including: a subnet registration service node, used to execute the service sharing method on the subnet registration service node side in any of the above embodiments; and a first edge gateway, used to execute the service sharing method on the edge gateway side in any of the above embodiments.
[0027] In the above embodiment, when the edge gateway cannot provide the service requested by the user, it can query the subnet registration service node for support of the service by other subnets, and initiate a service request to the edge gateway that supports the service. In this way, multiple subnet services can be shared, thereby improving the quality of network services. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0029] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings:
[0030] Figure 1a A flowchart showing some embodiments of the service sharing method of the present disclosure;
[0031] Figure 1b Flowcharts showing other embodiments of the service sharing method disclosed herein;
[0032] Figure 2 Schematic diagrams showing some embodiments of the service sharing method disclosed herein;
[0033] Figure 3a A signaling diagram showing some embodiments of the service sharing method of the present disclosure;
[0034] Figure 3b A signaling diagram showing other embodiments of the service sharing method disclosed herein;
[0035] Figure 4a A block diagram showing some embodiments of the service sharing device of the present disclosure;
[0036] Figure 4b A block diagram showing some other embodiments of the service sharing device disclosed in the present invention;
[0037] Figure 5 A block diagram showing some further embodiments of the service sharing device disclosed herein;
[0038] Figure 6 A block diagram showing some further embodiments of the service sharing device disclosed herein;
[0039] Figure 7 A block diagram showing some embodiments of the service sharing system of the present disclosure. DETAILED DESCRIPTION
[0040] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0041] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0042] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0043] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0044] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0045] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0046] As mentioned earlier, the model of providing services uniformly across the entire network has limitations in terms of service diversification, business personalization, and cross-regional services, and cannot meet the business development needs of 6G networks.
[0047] Therefore, in response to the technical problems of 6G network service diversification, business personalization, cross-regional service sharing and other requirements, the present disclosure proposes a 6G subnet service sharing technical solution. A subnet service management module is set in the 6G subnet registration service node, a subnet service management module is set in the edge gateway, a subnet module is set in the 6G user database, and a subnet service sharing process is proposed. For example, the technical solution of the present disclosure can be implemented through the following embodiments.
[0048] Figure 1a A flowchart showing some embodiments of the service sharing method of the present disclosure.
[0049] like Figure 1a As shown, in step 110a, the subnet registers the service node and receives a service sharing request from the first edge gateway, which is sent when the first edge gateway finds that the subnet it is in cannot provide the service requested by the user. The service sharing request includes the gateway identifier of the first edge gateway and the service identifier of the service.
[0050] In some embodiments, the subnet registration service node receives a service registration request from the second edge gateway, and the service registration request includes the gateway identifier and gateway attributes of the second edge gateway; the subnet registration service node sends an update database request to the user database, and the update database request includes the gateway identifier and gateway attributes of the second edge gateway, so that the user database associates the gateway identifier and gateway attributes of the second edge gateway and updates and saves them.
[0051] In some embodiments, when the service to be registered passes the authentication and authorization, the subnet registration service node sends a database update request to the user database. For example, the service registration request includes a service security certificate of the service to be registered; the service sharing method further includes: the subnet registration service node authenticates and authorizes the service to be registered according to the service security certificate.
[0052] For example, when a new service is created or accessed in this subnet, the service installation is completed at the edge gateway of this subnet; the edge gateway is ready to launch the service; the edge gateway sends a service registration request to the subnet registration service node, including the edge gateway identifier, service ID (identifier), sharing level, service security certificate, service node capabilities (such as mobility, computing power, forwarding volume, etc.); the subnet registration service node authenticates and authorizes the reported service based on the service security certificate to ensure the legitimacy and security of the service. For example, the sharing level can include the whole network sharing level, the specific subnet sharing level, etc.
[0053] For example, the subnet registration service node will initiate a database update request to the user database with the information of the authenticated service, including the edge gateway identifier, service ID, sharing level, and service node capabilities; the subnet module in the user database returns an update success response; the subnet registration service node returns a registration update response to the edge gateway, including the edge gateway identifier and service ID.
[0054] In some embodiments, the subnet user completes the user access process; the subnet user initiates a service request to the edge gateway, carrying the edge gateway identifier (such as edge gateway 1), user ID, and service ID; after the edge gateway finds that the service cannot be provided in this subnet, it queries the subnet service management module in the subnet registration service node for support status of the service, carrying the edge gateway identifier 1 and service ID.
[0055] In step 120a, the subnet registration service node determines a second edge gateway that can provide the service based on the gateway identifier and the service identifier and using the user database.
[0056] In some embodiments, the subnet registration service node sends a query request to the user database, where the query request includes a gateway identifier and a service identifier; the subnet registration service node determines the second edge gateway based on the contract information of the first edge gateway returned by the user database, the list of edge gateways that can provide services, and the gateway attributes.
[0057] For example, the gateway attribute includes at least one of the sharing level of the service to be registered, the link status of the second edge gateway, and the node capability in the second edge gateway that provides the service to be registered.
[0058] In some embodiments, the subnet service management module in the subnet registration service node queries the user database for information about the service, carrying the edge gateway identifier 1 and the service ID; the subnet module in the user database returns the contract information of the edge gateway based on the edge gateway identifier 1 and the service ID, as well as a list of edge gateways in the entire network that can currently provide the service and corresponding attributes (including the sharing level of the service, the link status of the edge gateway, the capabilities of the nodes in the edge gateway that provide the service, etc.).
[0059] In some embodiments, the subnet registration service node determines the second edge gateway based on a service selection strategy, and the service selection strategy includes determining the second edge gateway based on at least one of whether it can be shared, whether the latency is the shortest, or whether the subnet resources are sufficient.
[0060] In some embodiments, the subnet service management module in the subnet registration service node determines the preferred service providing edge gateway 2 based on the service selection strategy, the contracted service information of the edge gateway 1, the service providing edge gateway list and attributes. For example, according to the service selection strategy, an edge gateway that is shareable, has the shortest latency, and has sufficient subnet resources can be selected as the edge gateway 2.
[0061] In step 130a, the subnet registration service node sends relevant information of the second edge gateway to the first edge gateway, so that the first edge gateway requests the second edge gateway to provide services for the user.
[0062] In some embodiments, the subnet registration service node sends the information of the preferred service provider edge gateway 2 to edge gateway 1; edge gateway 1 initiates a service request to edge gateway 2; edge gateway 2 returns a service response to edge gateway 1; edge gateway 1 sends the response information to the user and returns the service response; the user establishes a service connection with the service provider edge gateway 2 based on the received information.
[0063] Figure 1b Flowcharts showing other embodiments of the service sharing method disclosed herein.
[0064] like Figure 1bAs shown, in step 110b, the first edge gateway, when finding that the subnet where it is located cannot provide the service requested by the user, sends a service sharing request to the subnet registration service node. The service sharing request includes the gateway identifier of the first edge gateway and the service identifier of the service.
[0065] For example, the service registration request includes the service security certificate of the service to be registered, which is used by the subnet registration service node to authenticate and authorize the service to be registered according to the service security certificate.
[0066] In some embodiments, the first edge gateway sends a service registration request to the subnet registration service node, and the service registration request includes the gateway identifier and gateway attributes of the first edge gateway; the first edge gateway receives a successful update response returned by the subnet registration service node, and the successful update response indicates that the user database associates the gateway identifier and gateway attributes of the second edge gateway and then updates and saves them.
[0067] In step 120b, the first edge gateway receives the relevant information of the second edge gateway that can provide the service returned by the subnet registration service node. The second edge gateway is determined by the subnet registration service node through the user database according to the gateway identifier and the service identifier.
[0068] In step 130b, the first edge gateway requests the second edge gateway to provide services for the user.
[0069] Figure 2 Schematic diagram showing some embodiments of the service sharing method disclosed in the present invention.
[0070] like Figure 2 As shown, 6G user subnets include personal subnets (such as personal health services, personal information services, etc.), home subnets (such as home entertainment services, home health services, etc.), mobile subnets (such as entertainment services, information services, etc.), enterprise subnets (such as security services, industrial control, information services, etc.), etc.
[0071] The subnet service management module of the 6G subnet registration service node supports service management of all subnets, including service registration and allocation.
[0072] In some embodiments, the subnet service management module in the 6G subnet registration service node supports the following functions: support service management of all subnets, including service registration and allocation, etc.; support authentication and authorization of services reported by edge gateways according to service security certificates to confirm the legitimacy and security of services. And return a request response, including edge gateway identification and service ID; support initiating an update request to the user database for information on authenticated services, including edge gateway identification, service ID, sharing level, and service node capabilities; support querying the user database for information on a certain service, carrying edge gateway identification (service requester) and service ID; support determining the preferred service providing edge gateway based on service selection strategy, contracted service information of a certain edge gateway (service requester), service providing edge gateway (service provider) list and attributes. And send the information of the preferred service providing edge gateway to the service requesting edge gateway.
[0073] The 6G subnet attachment service node provides network access services for the edge gateway of the user subnet, including authentication and IP (Internet Protocol) address allocation.
[0074] The 6G subnet registration service node provides subnet registration services for attached edge gateways and provides 6G business services to users.
[0075] The subnet module of the 6G user database stores the service information supported by all subnets of the 6G network, including edge gateway identification, service ID, service sharing level, service node capabilities, etc.
[0076] In some embodiments, the subnet module in the 6G user database supports the following functions: supports storing the supported service information of all subnets of the 6G network, including edge gateway identification, service ID, service sharing level, capabilities of the node where the service is located, etc.; supports processing database update requests from the subnet registration service node; supports returning the contract information of the edge gateway (service requester) to the subnet registration service node based on the edge gateway identification (service requester) and service ID, as well as a list of edge gateways (service providers) that can currently provide the service in the entire network and corresponding attributes (including the sharing level of the service, the link status of the edge gateway, the capabilities of the node in the edge gateway that provides the service, etc.).
[0077] The subnet service management module in the edge gateway is responsible for managing the services of this subnet, including service registration, application and sharing.
[0078] In some embodiments, the subnet service management module of the edge gateway supports the following functions: supports the management of services in this subnet, including service registration, application and sharing, etc.; supports the classification of services into shared services and non-shared services based on factors such as the service provider node capabilities, service provider willingness and sharing conditions in the subnet. And put the shared service online; supports the initiation of service registration requests to the 6G subnet registration service node; supports the processing of subnet users initiating service requests to the edge gateway. And after finding that the service cannot be provided in this subnet, query the subnet service management module in the subnet registration service node for the support of the service, carrying the edge gateway identification 1 and service ID. And return the corresponding service response; support service requests and service responses between edge gateways.
[0079] In the above embodiments, the subnet service management module in the 6G subnet registration service node, the subnet service management module of the edge gateway and the subnet module in the 6G user database are defined, and a method and process for subnet service sharing are proposed; the subnet service management module in the subnet service registration node can configure a service sharing strategy to provide the best shared service node for service requests.
[0080] Figure 3a A signaling diagram showing some embodiments of the service sharing method of the present disclosure.
[0081] like Figure 3a As shown, in event 0, when a new service is created or connected to this subnet, the service installation is completed on the edge gateway of this subnet.
[0082] In event 1, the edge gateway prepares to bring the service online.
[0083] In event 2, the edge gateway sends a service registration request to the subnet registration service node, including the edge gateway identifier, service ID (identifier), sharing level, service security certificate, and service node capabilities (such as mobility, computing power, forwarding volume, etc.)
[0084] For example, the sharing level may include a network-wide sharing level, a subnet-specific sharing level, and the like.
[0085] In event 3, the subnet registration service node authenticates and authorizes the reported service based on the service security certificate to ensure the legitimacy and security of the service.
[0086] In event 4, the subnet registration service node will initiate a database update request to the user database with the information of the authenticated service, including the edge gateway identifier, service ID, sharing level, and service node capabilities.
[0087] In event 5, the subnet module in the user database returns an update success response.
[0088] In event 6, the subnet registration service node returns a registration update response to the edge gateway, including the edge gateway identifier and service ID.
[0089] Figure 3b Signaling diagrams showing other embodiments of the service sharing method disclosed herein.
[0090] like Figure 3b As shown, in event 0, the subnet user completes the user access process.
[0091] In event 1, the subnet user initiates a service request to the edge gateway, carrying the edge gateway identifier (such as edge gateway 1), user ID, and service ID.
[0092] In event 2, after the edge gateway finds that the service cannot be provided in this subnet, it queries the subnet service management module in the subnet registration service node for support status of the service, carrying the edge gateway identifier 1 and the service ID.
[0093] In event 3, the subnet service management module in the subnet registration service node queries the user database for information about the service, carrying the edge gateway identifier 1 and the service ID.
[0094] In event 4, the subnet module in the user database returns the contract information of the edge gateway based on the edge gateway identifier 1 and the service ID, as well as the list of edge gateways in the entire network that can currently provide the service and the corresponding attributes (including the sharing level of the service, the link status of the edge gateway, the capabilities of the nodes in the edge gateway that provide the service, etc.).
[0095] In event 5, the subnet service management module in the subnet registration service node determines the preferred service providing edge gateway 2 based on the service selection strategy, the contracted service information of edge gateway 1, the service providing edge gateway list and attributes. For example, according to the service selection strategy, an edge gateway that is shareable, has the shortest latency, and has sufficient subnet resources can be selected as edge gateway 2.
[0096] In event 6, the subnet registration service node sends the information of the preferred service provider edge gateway 2 to edge gateway 1.
[0097] In event 7, edge gateway 1 initiates a service request to edge gateway 2.
[0098] In event 8, edge gateway 2 returns a service response to edge gateway 1.
[0099] In event 9, edge gateway 1 sends the response information to the user and returns the service response.
[0100] In event 10, the user establishes a service connection with the service providing edge gateway 2 according to the received information.
[0101] Figure 4a A block diagram showing some embodiments of the service sharing device of the present disclosure.
[0102] like Figure 4a As shown, the service sharing device 4a is set at the subnet registration service node, including: a receiving unit 41a, used to receive a service sharing request sent by the first edge gateway, the service sharing request is sent when the first edge gateway finds that the subnet where it is located cannot provide the service requested by the user, and the service sharing request includes the gateway identifier of the first edge gateway and the service identifier of the service; a processing unit 42a, used to determine the second edge gateway that can provide the service based on the gateway identifier and the service identifier and using the user database; a sending unit 43a, used to send relevant information of the second edge gateway to the first edge gateway, so that the first edge gateway requests the second edge gateway to provide services for the user.
[0103] In some embodiments, the sending unit 43a sends a query request to the user database, the query request includes a gateway identifier and a service identifier; the processing unit 42a determines the second edge gateway based on the contract information of the first edge gateway returned by the user database, the list of edge gateways that can provide services, and the gateway attributes.
[0104] In some embodiments, the processing unit 42a determines the second edge gateway according to a service selection strategy, where the service selection strategy includes determining the second edge gateway based on at least one of whether it is shareable, whether the latency is shortest, or whether the subnet resources are sufficient.
[0105] In some embodiments, the receiving unit 41a subnet registration service node receives a service registration request sent by the second edge gateway, and the service registration request includes the gateway identifier and gateway attributes of the second edge gateway; the sending unit 43a sends an update database request to the user database, and the update database request includes the gateway identifier and gateway attributes of the second edge gateway, so that the user database associates the gateway identifier and gateway attributes of the second edge gateway and updates and saves them.
[0106] In some embodiments, the service registration request includes a service security certificate of the service to be registered; the processing unit subnet registration service node authenticates and authorizes the service to be registered based on the service security certificate.
[0107] In some embodiments, the gateway attribute includes at least one of a sharing level of the service to be registered, a link status of the second edge gateway, and a node capability in the second edge gateway that provides the service to be registered.
[0108] Figure 4b A block diagram showing some other embodiments of the service sharing device of the present disclosure.
[0109] like Figure 4bAs shown, the service sharing device 4b is set at the first edge gateway, including: a sending unit 41b, which is used to send a service sharing request to the subnet registration service node when it is found that the subnet where it is located cannot provide the service requested by the user. The service sharing request includes the gateway identifier of the first edge gateway and the service identifier of the service, and sends a service request for requesting the second edge gateway to provide the service to the user; a receiving unit 42b, which is used to receive relevant information of the second edge gateway that can provide the service returned by the subnet registration service node. The second edge gateway is determined by the subnet registration service node through the user database according to the gateway identifier and the service identifier.
[0110] In some embodiments, the sending unit 41b sends a service registration request to the subnet registration service node, and the service registration request includes the gateway identifier and gateway attributes of the first edge gateway; the receiving unit 42b receives the update success response returned by the subnet registration service node, and the update success response indicates that the user database associates the gateway identifier and gateway attributes of the second edge gateway and then updates and saves them.
[0111] In some embodiments, the service registration request includes a service security certificate of the service to be registered, which is used by the subnet registration service node to authenticate and authorize the service to be registered based on the service security certificate.
[0112] Figure 5 The following is a block diagram showing some further embodiments of the service sharing device of the present disclosure.
[0113] like Figure 5 As shown, the service sharing device 5 of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51 , and the processor 52 is configured to execute the service sharing method in any one of the embodiments of the present disclosure based on the instructions stored in the memory 51 .
[0114] In some embodiments, the service sharing device 5 is set in the subnet registration service node, and the processor 52 is configured to execute the subnet registration service node side service sharing method in any embodiment of the present disclosure based on the instructions stored in the memory 51.
[0115] In some embodiments, the service sharing device 5 is set in the first edge gateway, and the processor 52 is configured to execute the first edge gateway side service sharing method in any embodiment of the present disclosure based on the instructions stored in the memory 51.
[0116] The memory 51 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, a database, and other programs.
[0117] Figure 6The following is a block diagram showing some further embodiments of the service sharing device of the present disclosure.
[0118] like Figure 6 As shown, the service sharing device 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610 , and the processor 620 is configured to execute the service sharing method in any one of the aforementioned embodiments based on the instructions stored in the memory 610 .
[0119] In some embodiments, the service sharing device 65 is set in the subnet registration service node, and the processor 620 is configured to execute the subnet registration service node side service sharing method in any of the aforementioned embodiments based on the instructions stored in the memory 610.
[0120] In some embodiments, the service sharing device 6 is set in the first edge gateway, and the processor 620 is configured to execute the first edge gateway side service sharing method in any of the aforementioned embodiments based on the instructions stored in the memory 610.
[0121] The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.
[0122] The service sharing device 6 may also include an input / output interface 630, a network interface 640, a storage interface 650, etc. These interfaces 630, 640, 650, the memory 610, and the processor 620 may be connected, for example, via a bus 660. The input / output interface 630 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, a touch screen, a microphone, and a speaker. The network interface 640 provides a connection interface for various networked devices. The storage interface 650 provides a connection interface for external storage devices such as an SD card and a USB flash drive.
[0123] Figure 7 A block diagram showing some embodiments of the service sharing system of the present disclosure.
[0124] like Figure 7 As shown, the service sharing system 7 includes: a subnet registration service node 71, which is used to execute the service sharing method on the subnet registration service node side in any of the above embodiments; and a first edge gateway 72, which is used to execute the service sharing method on the edge gateway side in any of the above embodiments.
[0125] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media including but not limited to disk storage, CD-ROM, optical storage, etc., which contain computer-usable program code.
[0126] So far, the service sharing method, service sharing device, service sharing system and non-volatile computer-readable storage medium according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed herein.
[0127] The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
[0128] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A service sharing method, include: The subnet registration service node receives a service sharing request from the first edge gateway, wherein the service sharing request is sent when the first edge gateway finds that the subnet in which it is located cannot provide the service requested by the user, and the service sharing request includes a gateway identifier of the first edge gateway and a service identifier of the service; The subnet registration service node determines, according to the gateway identifier and the service identifier, a second edge gateway capable of providing the service using a user database; The subnet registration service node sends relevant information of the second edge gateway to the first edge gateway, so that the first edge gateway requests the second edge gateway to provide the service for the user; Wherein, determining the second edge gateway capable of providing the service according to the gateway identifier and the service identifier by using a user database includes: The subnet registration service node sends a query request to the user database, where the query request includes the gateway identifier and the service identifier; The subnet registration service node determines the second edge gateway according to the contract information of the first edge gateway returned by the user database, the list of edge gateways that can provide the service, and the gateway attributes.
2. The service sharing method according to claim 1, in, The determining the second edge gateway comprises: The subnet registration service node determines the second edge gateway according to a service selection strategy, wherein the service selection strategy includes determining the second edge gateway based on at least one of whether it can be shared, whether the delay is the shortest, or whether the subnet resources are sufficient.
3. The service sharing method according to claim 1 or 2, further comprising: include: The subnet registration service node receives a service registration request sent by the second edge gateway, where the service registration request includes a gateway identifier and gateway attributes of the second edge gateway; The subnet registration service node sends a database update request to the user database, wherein the database update request includes the gateway identifier and gateway attributes of the second edge gateway, so that the user database associates the gateway identifier and gateway attributes of the second edge gateway and then updates and saves them.
4. The service sharing method according to claim 3, in, The service registration request includes a service security certificate of the service to be registered; Also includes: The subnet registration service node authenticates and authorizes the service to be registered according to the service security certificate.
5. The service sharing method according to claim 3, in, The gateway attribute includes at least one of a sharing level of the service to be registered, a link status of the second edge gateway, and a node capability in the second edge gateway that provides the service to be registered.
6. A service sharing method, include: The first edge gateway, when finding that the subnet where it is located cannot provide the service requested by the user, sends a service sharing request to the subnet registration service node, wherein the service sharing request includes a gateway identifier of the first edge gateway and a service identifier of the service; The first edge gateway receives relevant information of a second edge gateway capable of providing the service returned by the subnet registration service node, where the second edge gateway is determined by the subnet registration service node through a user database according to the gateway identifier and the service identifier; The first edge gateway requests the second edge gateway to provide the service to the user, The second edge gateway is determined in the following manner: The subnet registration service node sends a query request to the user database, where the query request includes the gateway identifier and the service identifier; The subnet registration service node determines the second edge gateway according to the contract information of the first edge gateway returned by the user database, the list of edge gateways that can provide the service, and the gateway attributes.
7. The service sharing method according to claim 6, further comprising: include: The first edge gateway sends a service registration request to the subnet registration service node, wherein the service registration request includes a gateway identifier and gateway attributes of the first edge gateway; The first edge gateway receives an update success response returned by the subnet registration service node, wherein the update success response indicates that the user database associates the gateway identifier and gateway attributes of the second edge gateway and then updates and saves them.
8. The service sharing method according to claim 7, in, The service registration request includes a service security certificate of the service to be registered, which is used by the subnet registration service node to authenticate and authorize the service to be registered according to the service security certificate.
9. A service sharing device, the service sharing device is set at a subnet registration service node, include: A receiving unit, configured to receive a service sharing request sent by a first edge gateway, wherein the service sharing request is sent when the first edge gateway finds that its subnet cannot provide the service requested by the user, and the service sharing request includes a gateway identifier of the first edge gateway and a service identifier of the service; A processing unit, configured to determine, according to the gateway identifier and the service identifier, a second edge gateway capable of providing the service using a user database; A sending unit, configured to send relevant information of the second edge gateway to the first edge gateway, so that the first edge gateway requests the second edge gateway to provide the service for the user; in, The processing unit sends a query request to the user database, where the query request includes the gateway identifier and the service identifier, and determines the second edge gateway based on the contract information of the first edge gateway, the list of edge gateways that can provide the service, and the gateway attributes returned by the user database.
10. A service sharing device, wherein the service sharing device is arranged at a first edge gateway, include: A sending unit, configured to send a service sharing request to a subnet registration service node when it is found that the subnet in which it is located cannot provide the service requested by the user, wherein the service sharing request includes a gateway identifier of the first edge gateway and a service identifier of the service, and sends a service request for requesting a second edge gateway to provide the service to the user; A receiving unit, configured for the first edge gateway, receiving relevant information of a second edge gateway capable of providing the service returned by the subnet registration service node, wherein the second edge gateway is determined by the subnet registration service node through a user database according to the gateway identifier and the service identifier, The second edge gateway is determined in the following manner: The subnet registration service node sends a query request to the user database, where the query request includes the gateway identifier and the service identifier; The subnet registration service node determines the second edge gateway according to the contract information of the first edge gateway returned by the user database, the list of edge gateways that can provide the service, and the gateway attributes.
11. A service sharing device, the service sharing device is arranged at a subnet registration service node, include: Memory; and A processor coupled to the memory, wherein the processor is configured to execute the service sharing method according to any one of claims 1 to 5 based on instructions stored in the memory.
12. A service sharing device, the service sharing device being arranged at a first edge gateway, include: Memory; and A processor coupled to the memory, wherein the processor is configured to execute the service sharing method according to any one of claims 6 to 8 based on instructions stored in the memory.
13. A service sharing system, include: A subnet registration service node, configured to execute the service sharing method according to any one of claims 1 to 5; The first edge gateway is used to execute the service sharing method described in any one of claims 6-8.
14. A non-volatile computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
