WO2018219343A1 - 服务发现的方法、注册中心和设备 - Google Patents

服务发现的方法、注册中心和设备 Download PDF

Info

Publication number
WO2018219343A1
WO2018219343A1 PCT/CN2018/089502 CN2018089502W WO2018219343A1 WO 2018219343 A1 WO2018219343 A1 WO 2018219343A1 CN 2018089502 W CN2018089502 W CN 2018089502W WO 2018219343 A1 WO2018219343 A1 WO 2018219343A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
information
target
transmission mode
transmission
Prior art date
Application number
PCT/CN2018/089502
Other languages
English (en)
French (fr)
Inventor
刘睿智
朱强华
熊春山
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to KR1020197038579A priority Critical patent/KR102259804B1/ko
Priority to JP2019566282A priority patent/JP7074774B2/ja
Priority to EP18809196.1A priority patent/EP3629552B1/en
Priority to BR112019025213-4A priority patent/BR112019025213A2/pt
Publication of WO2018219343A1 publication Critical patent/WO2018219343A1/zh
Priority to US16/700,445 priority patent/US11363105B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/567Integrating service provisioning from a plurality of service providers

Definitions

  • the present application relates to the field of communications and, more particularly, to methods, registration centers and devices for service discovery.
  • Service registration and discovery is a directory service that facilitates the definition of services, the choice of services, and the execution strategies of services.
  • the service provider as the provider of the service, registers its own service information into the service registration center.
  • the service registration center mainly provides the central storage of all service registration information, and is responsible for transmitting the update notification of the service registration information to the service consumer in real time.
  • the service consumer obtains the required service registration information from the service registry and invokes the service.
  • the network provider publishes the provided network service in the registration center, the client discovers the required network service from the registration center, and the client obtains the endpoint of the network service.
  • the performance of the service in the traditional network system is relatively simple.
  • the client can select the appropriate service according to the identity of the service (Identity, ID), and usually adopts a fixed format when calling the network service.
  • the application provides a service discovery method, a registration center and a device, which enable the service consumer to find a suitable service and improve the service quality.
  • the first aspect provides a method for service discovery, the method comprising: receiving, by the registration center, a service discovery request sent by the first device, where the service discovery request carries target parameter information of a service required by the first device, the target
  • the parameter information includes at least one of information of a first transmission mode, information of an invocation mode, information of a transmission protocol, and information of a second transmission mode, where the first transmission mode information is an in-band identifier or an out-of-band identifier, and the in-band identifier
  • the identifier is used to indicate that the first device and the second device carry a transmission mode of the call information transmission in the data, where the out-of-band identifier is used to indicate the data and the call information between the first device and the second device.
  • the calling mode is one request for one response or one request for multiple responses.
  • the transport protocol is a representational state transition application programming interface protocol, an advanced message queue interface protocol, a message queue telemetry transmission protocol, and a remote procedure.
  • the second transmission mode is a letter between the first device and the second device Directly transmitting or transmitting through an intermediate node; the registration center determines, according to the service parameter database, a target service corresponding to the target parameter information, where the service parameter database is used to store parameter information of different services of the second device; A device sends a service response message, the service response message including description information of the target service.
  • the registration center receives the service discovery request sent by the first device, where the service discovery request carries the target parameter information of the service required by the first device, where the target parameter information includes information of the first transmission mode, information of the calling mode, and a transmission protocol. At least one of information and information of the second transmission mode, and determining a target service corresponding to the target parameter information according to the service parameter database, and then transmitting a service response message including the description information of the target service to the first device, so that The diversified service enables the first device to find a suitable service through the parameter information supported by the service, thereby improving the service quality and improving the processing efficiency of the system.
  • the method before the registration center determines the target service corresponding to the target parameter information, the method further includes: the registration center receiving the registration request sent by the second device, where the registration request includes the Parameter information of the first service of the second device; the registration center stores the parameter information of the first service into the service parameter database.
  • the registration center may store parameter information of a plurality of different services in the parameter database, and after receiving the service discovery request, query the parameter information satisfying the requirement in the parameter database, and determine the service corresponding to the parameter information satisfying the requirement.
  • the registration center can obtain the second device that meets the requirement for the first device through different registration requests and save the parameter information that can provide the service, thereby being able to find a suitable service for the first device and improving the service quality.
  • the target parameter information includes information of the first transmission mode
  • the registration center determines, according to the service parameter database, a target service corresponding to the target parameter information, including: information about the first transmission mode.
  • the registration center determines the service corresponding to the parameter information including the in-band identifier in the service parameter database as the target service.
  • the registration center selects that the first device meets and can carry the call in the data. The service of information, thereby enabling the first device to receive high quality services.
  • the target parameter information includes information of the calling mode, where the registry determines, according to the service parameter database, the target service corresponding to the target parameter information, that is, if the calling mode is the one request response And the registration center determines, in the service parameter database, a service corresponding to the parameter information of the information requesting the primary response at one time as the target service.
  • the registration center searches for a service corresponding to the parameter information that requests the response once, and sends the description information of the service to the first device, thereby making the first A device can get high quality service.
  • the target parameter information includes information of the transport protocol
  • the determining, according to the service parameter database, the target service corresponding to the target parameter information includes: when the transport protocol is the advanced message queue interface protocol
  • the registration center determines the service corresponding to the parameter information of the information including the information of the advanced message queue interface protocol in the service parameter database as the target service.
  • the registration center searches for the service corresponding to the parameter information of the advanced message queue interface protocol, and sends the description information of the service to the first device.
  • the first device thereby enabling the first device to obtain a high quality service.
  • the target parameter information includes the second transmission mode
  • the registration center determines, according to the service parameter database, that the target service corresponding to the target parameter information includes: the first transmission mode is the first
  • the registration center determines the service corresponding to the parameter information including the information transmitted by the intermediate node in the service parameter database as the target service.
  • the registration center searches for the service corresponding to the parameter information transmitted by the intermediate node, and sends the description information of the service to the first device.
  • the first device thereby enabling the first device to obtain a high quality service.
  • the target parameter information further includes location information of the intermediate node, where the location of the intermediate node is on the third party device, on the registration center, or on the second device; wherein the registration center
  • determining, by the serving parameter database, the service corresponding to the parameter information transmitted by the intermediate node as the target service includes: in the second transmission mode, the passing intermediate node Transmitting, and when the location of the intermediate node is at the third party location, the registration center includes the service parameter database corresponding to the parameter information of the information transmitted by the intermediate node and the intermediate node at the third party location Determine to serve this target.
  • the registration center searches for the first device, including the transmission by the intermediate node, and the intermediate node is in the The service corresponding to the parameter information at the third-party location, and the description information of the service is sent to the first device, so that the first device can obtain high-quality service.
  • the network service system is a mobile edge computing system
  • the mobile edge computing system includes a mobile edge management and a mobile edge host, the mobile edge host including a mobile edge platform, a first mobile edge application, and a second mobile An edge application, the mobile edge platform corresponding to the registration center, the first mobile edge application corresponding to the first device, the second mobile edge application corresponding to the second device, the mobile edge management for managing the first mobile edge application and The second mobile edge application.
  • the first mobile edge application can find a suitable service through the parameter information supported by the application service, especially for an application service having a multi-interface protocol or a different calling mode, the first mobile edge application can select a satisfactory interface. Protocol and call mode transfer call information, improving transmission efficiency.
  • the network service system is a service and system aspect working group 6 system
  • the service and system aspect working group 6 system includes a service registration server, a key business service, and an external application
  • the service registration server corresponds to the registration center.
  • the external application corresponds to the first device
  • the key business service corresponds to the second device.
  • the parameter information of the service supported by the diversified service enables the external application to find a suitable service, especially for the trustee or the same domain to enable the direct access to the service, and the application for the untrusted or other fields needs to go through the middle layer. Verification or format conversion, etc., thereby improving the security performance of the network system.
  • the network service system is a service and system aspect work group 2 system
  • the service and system aspect work group 2 system includes a network function storage function, a first network function instance, and a second network function instance
  • the network function storage function corresponds to the registration center
  • the first network function instance corresponds to the first device
  • the second network function instance corresponds to the second device.
  • the parameter information of the service supported by the diversified service enables the first network function instance to find a suitable service, in particular, selecting a suitable transmission protocol, and can standardize the call of the interface, that is, rationally allocate the interface to improve the service, and improve the network.
  • the processing efficiency of the system is not limited to, but not limited to, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi Protected Access (WPA)
  • a suitable transmission protocol in particular, selecting a suitable transmission protocol
  • a second aspect provides a method for service discovery, the method comprising: the first device sending a service discovery request, the service discovery request carrying target parameter information of a service required by the first device, and the service discovery request is used for Determining, by the service parameter database, a target service corresponding to the target parameter information, where the target parameter information includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, where the The information of a transmission mode is an inband identifier or an outband identifier, where the inband identifier is used to indicate that the first device and the second device carry a transmission mode of the call information transmission in the data, and the outband identifier is used to indicate the a transmission mode in which the data and the calling information are mutually transmitted between the first device and the second device, and the calling mode is a request for one response or a request for multiple responses, and the transfer protocol is a representational state transition application programming interface.
  • the second transmission mode is that the information between the first device and the second device is directly transmitted or transmitted through an intermediate node; the first device receives a service response message, and the service response message includes the service response message. Descriptive information of the target service; the first device sends call information to the second device, the call information is used to invoke the target service.
  • the first device sends a service discovery request to the registration center, where the service discovery request carries the target parameter information of the service required by the first device, and the service discovery request is used to determine the target service corresponding to the first parameter information according to the service parameter database.
  • the target parameter information includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and then receives a service response that is sent by the registration center and includes description information of the target service.
  • the message so that the first device can find the appropriate service through the parameter information of the service support for the diversified service, thereby improving the service quality and improving the processing efficiency of the system.
  • the target parameter information when the second transmission mode is that the information between the first device and the second device is transmitted by the intermediate node, the target parameter information further includes a location of the intermediate node, where the intermediate node The location is on a third party device, on the registry, or on the second device.
  • the first device receiving the registration center determines, by the lookup, that the transmission is performed by the intermediate node, and the intermediate node
  • the parameter information corresponding to the parameter information at the third-party location corresponds to the description information of the target service, so that the first device can obtain a high-quality service.
  • the network service system is a mobile edge computing system
  • the mobile edge computing system includes a mobile edge management and a mobile edge host, the mobile edge host including a mobile edge platform, a first mobile edge application, and a second mobile An edge application, the mobile edge platform corresponding to the registration center, the first mobile edge application corresponding to the first device, the second mobile edge application corresponding to the second device, the mobile edge management for managing the first mobile edge application and The second mobile edge application.
  • the first mobile edge application can find a suitable service through the parameter information supported by the application service, especially for an application service having a multi-interface protocol or a different calling mode, the first mobile edge application can select a satisfactory interface. Protocol and call mode transfer call information, improving transmission efficiency.
  • the network service system is a service and system aspect working group 6 system
  • the service and system aspect working group 6 system includes a service registration server, a key business service, and an external application
  • the service registration server corresponds to the registration center.
  • the external application corresponds to the first device
  • the key business service corresponds to the second device.
  • the parameter information of the service supported by the diversified service enables the external application to find a suitable service, especially for the trustee or the same domain to enable the direct access to the service, and the application for the untrusted or other fields needs to go through the middle layer. Verification or format conversion, etc., thereby improving the security performance of the network system.
  • the network service system is a service and system aspect work group 2 system
  • the service and system aspect work group 2 system includes a network function storage function, a first network function instance, and a second network function instance
  • the network function storage function corresponds to the registration center
  • the first network function instance corresponds to the first device
  • the second network function instance corresponds to the second device.
  • the parameter information of the service supported by the diversified service enables the first network function instance to find a suitable service, in particular, selecting a suitable transmission protocol, and can standardize the call of the interface, that is, rationally allocate the interface to improve the service, and improve the network.
  • the processing efficiency of the system is not limited to, but not limited to, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi Protected Access (WPA)
  • a suitable transmission protocol in particular, selecting a suitable transmission protocol
  • a third aspect provides a method for service discovery, the method comprising: the second device sending a registration request to the registration center, where the registration request includes parameter information of the first service, so that the registration center uses the first service
  • the parameter information is stored in a service parameter database, and the service parameter database is used to determine a target service corresponding to the target parameter information, where the target parameter information is parameter information of a service required by the first device, and the target parameter information includes the first transmission mode.
  • the first transmission mode information is an inband identifier or an outband identifier
  • the inband identifier is used to indicate the first
  • the transmission mode of the call information transmission is carried in the data between the device and the second device, where the out-of-band identifier is used to indicate a transmission mode in which data and call information between the first device and the second device are independently transmitted.
  • the mode is a request for one response or one request for multiple responses.
  • the transport protocol is a representational state transition application.
  • the second device sends a registration request to the registration center, so that the parameter database of the different service is stored in the parameter database of the registration center. After receiving the service discovery request, the parameter information in the parameter database is satisfied, and the requirement is met.
  • the service corresponding to the parameter information is sent to the first device, so that the first device can invoke the service of the second device, so that the first device can obtain high quality service.
  • the target parameter information when the second transmission mode is that the information between the first device and the second device is transmitted by the intermediate node, the target parameter information further includes a location of the intermediate node, where the intermediate node The location is on a third party device, on the registry, or on the second device.
  • the registration center search determines that the transmission is performed by the intermediate node, and the intermediate node is at the third party.
  • the description information of the target service corresponding to the parameter information in the location, and the target service of the second device can provide the high quality service for the first device.
  • the network service system is a mobile edge computing system
  • the mobile edge computing system includes a mobile edge management and a mobile edge host, the mobile edge host including a mobile edge platform, a first mobile edge application, and a second mobile An edge application, the mobile edge platform corresponding to the registration center, the first mobile edge application corresponding to the first device, the second mobile edge application corresponding to the second device, the mobile edge management for managing the first mobile edge application and The second mobile edge application.
  • the first mobile edge application can find a suitable service through the parameter information supported by the application service, especially for an application service having a multi-interface protocol or a different calling mode, the first mobile edge application can select a satisfactory interface. Protocol and call mode transfer call information, improving transmission efficiency.
  • the network service system is a service and system aspect working group 6 system
  • the service and system aspect working group 6 system includes a service registration server, a key business service, and an external application
  • the service registration server corresponds to the registration center.
  • the external application corresponds to the first device
  • the key business service corresponds to the second device.
  • the parameter information of the service supported by the diversified service enables the external application to find a suitable service, especially for the trustee or the same domain to enable the direct access to the service, and the application for the untrusted or other fields needs to go through the middle layer. Verification or format conversion, etc., thereby improving the security performance of the network system.
  • the network service system is a service and system aspect work group 2 system
  • the service and system aspect work group 2 system includes a network function storage function, a first network function instance, and a second network function instance
  • the network function storage function corresponds to the registration center
  • the first network function instance corresponds to the first device
  • the second network function instance corresponds to the second device.
  • the parameter information of the service supported by the diversified service enables the first network function instance to find a suitable service, in particular, selecting a suitable transmission protocol, and can standardize the call of the interface, that is, rationally allocate the interface to improve the service, and improve the network.
  • the processing efficiency of the system is not limited to, but not limited to, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi, Wi-Fi Protected Access (WPA)
  • a suitable transmission protocol in particular, selecting a suitable transmission protocol
  • a registration center comprising means for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • a device comprising means for performing the method of any of the second aspect or the second aspect of the second aspect.
  • an apparatus comprising means for performing the method of any of the possible implementations of the third aspect or the third aspect.
  • a system comprising:
  • a registration center including: a processor, a memory, and a communication interface.
  • the processor is coupled to the memory and communication interface.
  • the memory is for storing instructions for the processor to execute, and the communication interface is for communicating with other network elements under the control of the processor.
  • the processor executes the instructions stored by the memory, the execution causes the processor to perform the method of the first aspect or any of the possible implementations of the first aspect.
  • an apparatus comprising a processor, a memory, and a communication interface.
  • the processor is coupled to the memory and communication interface.
  • the memory is for storing instructions for the processor to execute, and the communication interface is for communicating with other network elements under the control of the processor.
  • the processor executes the instructions stored by the memory, the execution causes the processor to perform the method of any of the possible implementations of the second aspect or the second aspect.
  • an apparatus comprising a processor, a memory, and a communication interface.
  • the processor is coupled to the memory and communication interface.
  • the memory is for storing instructions for the processor to execute, and the communication interface is for communicating with other network elements under the control of the processor.
  • the processor executes the instructions stored by the memory, the execution causes the processor to perform the method of any of the possible implementations of the third aspect or the third aspect.
  • a computer storage medium storing program code for indicating service discovery in performing any of the above first aspect or any possible implementation of the first aspect The instructions of the method.
  • a computer storage medium storing program code for indicating service discovery in performing any of the above-mentioned second aspect or the second aspect of the possible implementation manner The instructions of the method.
  • a computer storage medium storing program code for indicating service discovery in performing any of the foregoing third aspect or the third aspect of the possible implementation manner The instructions of the method.
  • the registration center receives the service discovery request sent by the first device, where the service discovery request carries the target parameter information of the service required by the first device, where the target parameter information includes the information of the first transmission mode, and the calling mode. At least one of information, information of the transmission protocol, and information of the second transmission mode, and determining a target service corresponding to the target parameter information according to the service parameter database, and then transmitting a service including the description information of the target service to the first device
  • the parameter information supported by the service for the diversified service enables the first device to find a suitable service, thereby improving the quality of service and improving the processing efficiency of the system.
  • Figure 1 is an architectural diagram of service registration and discovery
  • 2 is a schematic flow chart of network service registration and discovery
  • MEC Mobile Edge Computing
  • SA Service & Systems Aspects Work Group
  • FIG. 5 is a schematic diagram of a scenario in which service registration and discovery are applied to SA2;
  • FIG. 6 is a schematic flowchart of a method for service discovery according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a transmission mode of an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a calling mode according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a transmission protocol in an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a transmission mode of an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a location of an intermediate node in an embodiment of the present application.
  • FIG. 12 is a schematic diagram of an interaction process of a method for service discovery according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an interaction process of a method for service discovery according to another embodiment of the present application.
  • FIG. 14 is a schematic diagram of an interaction process of a method for service discovery according to another embodiment of the present application.
  • 15 is a schematic block diagram of a registration center of an embodiment of the present application.
  • 16 is a schematic block diagram of an apparatus of an embodiment of the present application.
  • 17 is a schematic block diagram of an apparatus of another embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of a registration center according to an embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
  • 21 is a schematic structural diagram of an apparatus of another embodiment of the present application.
  • Figure 1 shows an architectural diagram of service registration and discovery.
  • service registration and discovery is a directory service that facilitates the definition of services, the choice of services, and the execution policies of services.
  • the service provider as the provider of the service, registers its own service information into the service registration center.
  • the service registration center mainly provides the central storage of all service registration information, and is responsible for transmitting the update notification of the service registration information to the service consumer in real time.
  • the service consumer obtains the required service registration information from the service registry and invokes the service.
  • a loosely coupled, coarse-grained autonomous component that can independently implement a logical function for service consumers (applications/network elements and other components) to invoke.
  • End point The discovery address that the service instance notifies the service consumer, and the service instance uses this address to open the information.
  • Contracts Agreements that the service and service callers follow, such as the Application Programming Interface (API) version, Uniform Resource Identifier (URI) directory, number of parameters, message format, and so on.
  • API Application Programming Interface
  • URI Uniform Resource Identifier
  • Service Registry When there are multiple instances of the same service, or when the service instance needs to be dynamically generated, the service instance can provide its own endpoints and contracts to the registry for discovery by the service caller and normal use.
  • FIG. 2 shows a schematic flow chart of registration and discovery of a web service.
  • the network provider publishes the provided network service in the registration center, where the network service published by the network provider in the registration center may be specific information of the network service, for example, an service identifier (Identity, ID), a service name, and a version number. , at least one of a provider ID, an endpoint, an interface table, or a vendor;
  • the client discovers the required network service from the registration center. Specifically, the registration center queries the characteristic information of the network service to find a suitable network service.
  • the client obtains an endpoint of the network service.
  • FIG. 3 illustrates a scenario in which service registration and discovery are applied to a Mobile Edge Computing (MEC) system.
  • the MEC system mainly includes a Mobile Edge Orchestrator (MEO) and a Mobile Edge Host.
  • the MEO has core management functions in the MEC system;
  • the mobile edge host mainly includes a mobile edge platform, a virtualization infrastructure, and a mobile edge application (ME app).
  • ME app mobile edge application
  • the mobile edge platform is a collection of basic functions that can run mobile edge applications on a specific virtual infrastructure and enable these mobile edge applications to provide and use mobile edge services.
  • a mobile edge application is an application instantiated on the virtual infrastructure of a mobile edge host based on the configuration or request of the MEO.
  • Mobile edge applications include Service Providers and Service Consumers.
  • the Service registry is located in the mobile edge platform, and the service instance can provide its own endpoints and contracts to the registry for the service caller to discover and use.
  • the MEC also defines the Mp1 interface and the Representation State Transformation (Restful) API, which provides support for service registration, service discovery, and service communication between the mobile edge platform and the mobile edge application.
  • the Restful API refers to the API that the client continuously changes its state as it continuously obtains the representation of network resources.
  • the service provider of the MEC registers the service with the mobile edge platform through the Mp1 interface, and the service consumer discovers the service from the mobile edge platform through the Mp1 interface, and the service consumer invokes the service provided by the service provider through the Restful application program interface.
  • FIG 4 shows the scenario of service registration and discovery applied to the Service & Systems Aspects Work Group (SA) 6 system.
  • SA6 system includes a Mission Critical Service (MC Service), a service access server, and a Universal Service Core (CSC) external application and Operation Support System (OSS).
  • MC Service controls the service capability to be opened to the external application through the service access server, and the key service service queries and discovers the service to the service access server, and then implements the communication of the service through the reused interface.
  • MC Service Mission Critical Service
  • CSC Universal Service Core
  • OSS Operation Support System
  • FIG. 5 shows a schematic diagram of a scenario in which service registration and discovery are applied to SA2.
  • the SA2 system includes a Network Function Repository Function (NRF), a Network Function (NF) instance (NF Instance, NFI), a second network function instance, and management and scheduling.
  • NRF Network Function Repository Function
  • NF Network Function
  • NFI Network Function Instance
  • MANO Management and Orchestration
  • the NRF maintains the deployed NFI information when deploying, updating, and deleting the network function instance.
  • the NRF supports the service discovery function, receives the network function discovery request from the NFI, and provides the discovered NFI information to the NFI.
  • the registration and discovery of network services can be applied to Mobile Edge Computing (MEC) systems, SA6 systems, and SA2 systems.
  • MEC Mobile Edge Computing
  • SA6 Mobile Edge Computing
  • SA2 SA2
  • the service consumer invokes the service provider's service only through the Restful API. Therefore, the network provider and the finder do not need to consider the transmission interface, that is, the network provider and the discovery in the traditional solution. Fixed interface.
  • the MEC system not only supports the Restful API, but also supports the interface of the transport layer service to support low latency and large data volume transmission.
  • MQTT Message Queuing Telemetry Transport
  • AQP Advanced Message Queuing Protocol
  • RPC Remote Procedure Call Protocol
  • FIG. 6 is a schematic flowchart of a method for service discovery according to an embodiment of the present application. As shown in FIG. 6, the method is applied to a network service system, where the network service system includes a registration center, a first device, and a second device, and the method includes:
  • the registration center receives a service discovery request sent by the first device, where the service discovery request carries target parameter information of the service required by the first device, where the target parameter information includes information of the first transmission mode, information of the calling mode, and transmission.
  • the information of the protocol and the information of the second transmission mode, the information of the first transmission mode is an in-band identifier or an out-of-band identifier, where the in-band identifier is used to indicate a transmission mode that carries the information transmission of the call in the data, The out-of-band identifier is used to indicate a transmission mode in which the data and the call information are transmitted independently of each other.
  • the calling mode is a request for one response or one request for multiple responses
  • the transfer protocol is a representation state transition application programming interface protocol, advanced Any one of a message queue interface protocol, a message queue telemetry transmission protocol, and a remote procedure call protocol, the second transmission mode being direct transmission or transmission through an intermediate node;
  • the registration center determines, according to the service parameter database, a target service corresponding to the target parameter information, where the service parameter database is used to store parameter information of different services of the second device.
  • the registration center sends a service response message to the first device, where the service response message includes description information of the target service.
  • the first device sends a call information to the second device, where the call information is used to invoke the target service.
  • the first device sends a service discovery request to the registration center, where the service discovery request is used to request a service that includes the target parameter information in the second device, and the service discovery request carries the target parameter information.
  • the service parameter database stores parameter information of different services of the second device, and each service has a one-to-one correspondence with the parameter information.
  • the description information of each service corresponding to the parameter information may specifically be an ID of the service.
  • the registration center After receiving the service discovery request, the registration center searches for a target service that satisfies the target parameter information in the service parameter database, and sends a service response message including the description information of the target service to the first device, so that the first device can
  • the description information of the target service sends the call information to call the target service in the second device. That is to say, the first device in the embodiment of the present application can more accurately select the required service, thereby improving the service quality.
  • the target parameter information of the service required by the first device may be parameter information supported by the service required by the first device. For example, after the first device selects the target service, the first device may send the call information to the target service and receive the second device according to the call.
  • the first transmission mode, the transmission protocol, the calling mode, the second transmission mode, and the like when the message is responsive to the message.
  • the service discovery request sent by the first device to the registration center may further carry at least one of a service ID, a service name, a version number, a provider ID, an endpoint, an interface table, or a vendor.
  • each service and the parameter information may be embodied by a mapping relationship table, or may be other forms, etc., which is not limited in this application.
  • each service also corresponds to one parameter information
  • the parameter information also includes information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode. At least one.
  • the first device may be a hardware device or a software application; the second device may be a hardware device or a software application.
  • the first device may be the same as the second device, which is not limited in this application.
  • the registration center receives a service discovery request sent by the first device, where the service discovery request carries target parameter information of a service required by the first device, where the target parameter information includes the first Transmitting at least one of information of the transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and determining a target service corresponding to the target parameter information according to the service parameter database, and then transmitting the information to the first device, including The service response message of the description service of the target service, so that the parameter information of the service support through the service enables the first device to find a suitable service, thereby improving the service quality and improving the processing efficiency of the system.
  • the service discovery method of the embodiment of the present application can facilitate the management and expansion of the network system.
  • the registration center may receive a registration request, where the registration request includes parameter information of the first service of the second device, and the registration center stores the parameter information of the first service into the service parameter database.
  • the first service may be any one of the services supported by the second device. That is to say, the registration center may store parameter information of a plurality of different services in the parameter database, and after receiving the service discovery request, query the parameter information satisfying the requirement in the parameter database, and determine the service corresponding to the parameter information satisfying the requirement. .
  • the parameter information included in the registration request is the same as the parameter information included in the service discovery request, and includes information of the first transmission mode, information of the calling mode, and information of the transmission protocol.
  • the information of the second transmission mode is an inband identifier or an outband identifier, where the inband identifier is used to indicate a transmission mode carrying the information transmission in the data, the outband Identifying a transmission mode for indicating that the data and the calling information are transmitted independently of each other, the calling mode is a request for one response or one request for multiple responses, the transfer protocol is a representational state transition application programming interface protocol, an advanced message queue interface Any of a protocol, a message queue telemetry transmission protocol, and a remote procedure call protocol, the second transmission mode being a direct transmission or transmission through an intermediate node.
  • the registration request may also carry at least one of a service ID, a service name, a version number, a provider ID, an endpoint, an interface table, or a vendor.
  • the information of the first transmission mode may be an out-of-band identifier or an in-band identifier.
  • the in-band identifier is used to indicate the transmission mode in which the data transmission is carried in the data
  • the out-of-band identifier is used to indicate the transmission mode in which the data and the call information are transmitted independently of each other.
  • the registration center determines, as the target service, a service corresponding to the parameter information including the in-band identifier in the service parameter database.
  • the registration center determines the service corresponding to the parameter information including the out-of-band identifier in the service parameter database as the target service.
  • the call information sent by the first device to the second device may carry the call information in the data, for example, a transmission control protocol (Transmission Control Protocol) , TCP) option (option) mode.
  • a transmission control protocol Transmission Control Protocol
  • TCP Transmission Control Protocol
  • the call information and data sent by the first device to the second device may be separately transmitted.
  • the registration center selects a second device that meets the demand for the first device, thereby enabling the first device to obtain high quality service.
  • the target parameter information may include information of a calling mode, wherein the calling mode is one request for one response or one request for multiple times.
  • the requesting response may be that the first device sends the calling information to the second device once, and the second device responds to the service that requests the information request, so that the services that require different contracts can be separately processed to improve the processing efficiency.
  • the requesting multiple times in a request may be that after the first device sends the calling information to the second device, the second device may respond to the service that requests the information multiple times, that is, the primary subscription is valid for a long time, thereby avoiding the sending between the devices requiring the same service. Calling information multiple times reduces the power consumption of the first device.
  • the registration center determines the service corresponding to the parameter information including the information requesting the primary response in the service parameter database as the target service. Similarly, if the calling mode is to request multiple responses at a time, the registration center determines a service corresponding to the parameter information including the information requesting the multiple response in the service parameter database as the target service.
  • the target parameter information includes information of the transport protocol, where the transport protocol is any one of a Restful API, an AMQP, an MQTT, and an RPC protocol.
  • Figure 9 shows a schematic diagram of the Restful API interface protocol and the AMQP interface protocol.
  • the transmission protocol is an AMQP interface protocol
  • the registration center determines a service corresponding to the parameter information of the information in the service parameter database including the information of the AMQP interface protocol as the target service.
  • the transmission protocol is any one of the Restful API protocol, the MQTT interface protocol, and the RPC interface protocol
  • the registration center determines the service corresponding to the parameter information of the information in the service parameter database including the information of the corresponding interface protocol as the target service.
  • the target parameter information includes information of the second transmission mode.
  • the second transmission mode is transmitted directly or through an intermediate node. If the second transmission mode is direct transmission, the registration center determines the service corresponding to the directly transmitted parameter information in the service parameter database as the target service. Similarly, if the second transmission mode is transmitted through the intermediate node, the registration center determines the service corresponding to the parameter information in the service parameter database including the intermediate node transmission protocol as the target service. In this way, the second device can directly access the trusted device or the first device of the same domain, and for the untrusted or other domain applications, the intermediate layer authentication or the message format conversion is required to access, and the second device is improved. Security performance.
  • the target parameter information further includes a location of the intermediate node, where the location of the intermediate node is on a third-party device, on the registration center, or on the second device, where the registration center is
  • the second transmission mode is that the device corresponding to the parameter information of the information transmitted by the intermediate node in the service parameter database is determined to be the target service, and the second transmission mode may be the middle transmission mode.
  • the registry determines parameter information in the service parameter database including the information transmitted by the intermediate node and the intermediate node at the third-party location as the target. service.
  • the registration center may set the target parameter in the service parameter database. Any one of the services corresponding to each piece of information included in the information is determined as the target service, or the registration center may determine the service with a high proportion of the service corresponding to each piece of information as the target service, and the system may set the registration center to determine in advance.
  • the rules of the target service are not limited in this application.
  • the network service system is a mobile edge computing system MEC
  • the MEC includes a mobile edge management and a mobile edge host
  • the mobile edge host includes a mobile edge platform, a first mobile edge application, and a second mobile edge application
  • the mobile edge The platform corresponds to the registration center
  • the first mobile edge application corresponds to the first device
  • the second mobile edge application corresponds to the second device
  • the mobile edge management is used to manage the first mobile edge application and the second mobile edge application .
  • the first mobile edge application may select different interface protocols such as MQTT, AMQP, and private remote procedure call protocol RPC. That is to say, according to the requirements of the interface protocol to find a suitable service, thereby improving the quality of service.
  • interface protocols such as MQTT, AMQP, and private remote procedure call protocol RPC.
  • the network service system is an SA6 system, where the SA system includes a service registration server, a key service service, and an external application, and the service registration server corresponds to the registration center, and the external application corresponds to the first device, and the key service service corresponds to Second device.
  • the service access server is used for external applications that are located in different trust domains with key business services.
  • the service implements a consumer application for different trust domains/deployment domains.
  • For the trust domain/same domain you can directly access the service.
  • For untrusted or other domain applications you need to pass the verification of the middle layer or the message format of the middle layer.
  • the network service system is an SA2 system, where the SA2 system includes a network function storage function, a first network function instance, and a second network function instance, where the network function storage function corresponds to a registration center, and the first network function instance pair
  • the first device should be the second network function instance corresponding to the second device.
  • the Network Function is the same as the service attribute and can be mapped one by one.
  • the NF may be directed to third-party and visited Freudd Public Land Mobile Network (VPLMN) intranet elements, and may also be targeted to home network elements, interfaces and messages in the Home Public Land Mobile Network (HPLMN).
  • the acquisition method may vary. For example, in an Evolved Packet System (EPS), an S5 interface between a Serving Gateway (S-GW) and an H-Packet Data Network (PGW), between S-GW and V-PGW
  • S8 interface has different message acquisition processes on the two interfaces.
  • the Network Exposure Function may be oriented to internal network elements and to third parties in the future. Interfaces and message acquisition methods may also differ. In this way, the first network function instance can more accurately select an appropriate second network function instance through the parameter information, thereby improving the service quality.
  • the registration center receives a service discovery request sent by the first device, where the service discovery request carries target parameter information of a service required by the first device, where the target parameter information includes the first Transmitting at least one of information of the transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and determining a target service corresponding to the target parameter information according to the service parameter database, and then transmitting the information to the first device, including The service response message of the description service of the target service, so that the parameter information of the service support through the service enables the first device to find a suitable service, thereby improving the service quality and improving the processing efficiency of the system.
  • FIG. 12 is a schematic diagram showing an interaction process of a method for service discovery according to an embodiment of the present application.
  • the meanings of the various identical terms in this embodiment are the same as those of the foregoing embodiments.
  • the registration center may correspond to the mobile edge platform, or the independent device may be located in the mobile edge platform of the mobile edge host, and the first device may correspond to the first mobile edge application for requesting service in the mobile edge host, and the second The device may correspond to a second mobile edge application in the mobile edge host for providing service. That is, the first mobile edge application is a "service consumer" and the second mobile edge application is a "service provider.”
  • the application developer can implement two applications according to the agreement (for example, the development manual or the 3rd Generation Partnership Project (3GPP) standard), an interface in the implementation agreement, and a related interface according to the agreement.
  • the MEC system deploys the two applications to the devices in the MEC system through the MEO.
  • the MEO deploys a key business application package (App package), including application resource requirements, application files, and descriptions of required services.
  • App package a key business application package (App package), including application resource requirements, application files, and descriptions of required services.
  • the MEO controls the application installation package to generate a provider application instance, that is, a service that can be provided, in the second mobile edge application.
  • the second mobile edge application sends a registration request to the mobile edge platform, and the registration request includes parameter information supported by the service.
  • the parameter information includes at least one of information of a first transmission mode, information of an invocation mode, information of a transmission protocol, and information of a second transmission mode, where the first transmission mode information is an inband identifier or an outband identifier.
  • the inband identifier is used to indicate a transmission mode that carries a call information transmission in the data
  • the outband identifier is used to indicate a transmission mode in which the data and the call information are transmitted independently of each other
  • the calling mode is one request for one response or one request.
  • the transmission protocol is any one of a representational state transition application programming interface protocol, an advanced message queue interface protocol, a message queue telemetry transmission protocol, and a remote procedure call protocol
  • the second transmission mode is direct transmission or transmission. Intermediate node transmission.
  • the mobile edge platform saves the service in the service parameter database, and parameter information of the service.
  • the target parameter information includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode.
  • the service parameter database stores a plurality of different services and parameter information of the corresponding services.
  • the MEO may control the application installation package to generate a consumer application instance, that is, a required service, in the first mobile edge application.
  • step 1205 may be directly performed without performing steps 1201-1204.
  • the first mobile edge application sends a service discovery request to the mobile edge platform, where the service discovery request includes parameter information of the required service, and the parameter information may be represented as target parameter information.
  • the target parameter information also includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode.
  • the mobile edge platform determines, according to parameter information of the service saved in the service parameter database, a target service that satisfies the target parameter information.
  • the mobile edge platform sends a service response message to the first mobile edge application, where the service response message includes description information of the target service.
  • the first mobile edge application triggers the calling process according to the service response message.
  • the first mobile edge application performs a calling process according to the description information of the target service in the service response message.
  • the calling information may be sent to the second mobile edge application for calling the target service in the second mobile edge application. For example, prepare the requested resource, save the context, query the context, and return the content or result of the call.
  • the mobile edge platform receives a service discovery request sent by the first mobile edge application, where the service discovery request carries target parameter information of a service required by the first mobile edge application, the target
  • the parameter information includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and determines a target service corresponding to the target parameter information according to the service parameter database, and then
  • the first mobile edge application sends a service response message including the description information of the target service, so that the parameter information supported by the application service for the diversified service enables the first mobile edge application to find a suitable service, especially for supporting multiple interfaces.
  • the protocol or the application service of different calling modes, the first mobile edge application can select a satisfactory interface protocol and call mode to transmit the call information, thereby improving the transmission efficiency.
  • FIG. 13 is a schematic diagram showing an interaction process of a method for service discovery according to another embodiment of the present application.
  • the meanings of the various identical terms in this embodiment are the same as those of the foregoing embodiments.
  • the registration center may correspond to a service access server
  • the first device may correspond to an external application for requesting a service
  • the second device may correspond to a key service service for providing a service, that is, the external application is a “service consumer”.
  • the key business service is the "service provider.”
  • the application developer can implement two applications according to the convention (for example, the development manual or the 3GPP standard), an interface in the implementation agreement, and a related interface function according to the convention.
  • the SA6 system deploys the two applications to the devices of the SA6 system through the OSS.
  • OSS deploys a critical business installation package (MC package).
  • MC package critical business installation package
  • the OSS controls the application installation package to generate a provider application instance, that is, a service that can be provided, in the key business service.
  • the key service service sends a registration request to the service access server, and the registration request includes parameter information supported by the service.
  • the parameter information includes at least one of information of a first transmission mode, information of an invocation mode, information of a transmission protocol, and information of a second transmission mode, where the first transmission mode information is an inband identifier or an outband identifier.
  • the inband identifier is used to indicate a transmission mode that carries a call information transmission in the data
  • the outband identifier is used to indicate a transmission mode in which the data and the call information are transmitted independently of each other
  • the calling mode is one request for one response or one request.
  • the transmission protocol is any one of a representational state transition application programming interface protocol, an advanced message queue interface protocol, a message queue telemetry transmission protocol, and a remote procedure call protocol
  • the second transmission mode is direct transmission or transmission. Intermediate node transmission.
  • the service access server saves the service in the service parameter database, and parameter information of the service.
  • the target parameter information includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode.
  • the service parameter database stores a plurality of different services and parameter information of the corresponding service.
  • the OSS may control the application installation package to generate a consumer application instance, that is, a required service, in the external application.
  • step 1305 may be directly performed without performing steps 1301-1304.
  • the external application sends a service discovery request to the service access server, where the service discovery request includes parameter information of the required service, and the parameter information may be represented as target parameter information.
  • the target parameter information also includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode.
  • the service access server determines, according to parameter information of the service saved in the service parameter database, a target service that satisfies the target parameter information.
  • the service access server sends a service response message to the external application, where the service response message includes description information of the target service.
  • the external application triggers the calling process according to the service response message.
  • the external application executes the calling process according to the description information of the target service in the service response message.
  • the call information may be sent to the key business service for calling the target service in the key business service. For example, prepare the requested resource, save the context, query the context, and return the content or result of the call.
  • the service access server receives a service discovery request sent by the external application, where the service discovery request carries target parameter information of the service required by the external application, and the target parameter information includes the first Determining at least one of information of the transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and determining a target service corresponding to the target parameter information according to the service parameter database, and then transmitting the information to the external application
  • the service response message of the description service of the target service so that the parameter information of the service support through the service enables the external application to find a suitable service, especially for the trustee or the same domain to enable direct access to the service, for the untrusted person Or other fields of application need to pass the intermediate layer of verification or format conversion, etc., thereby improving the security performance of the network system.
  • FIG. 14 is a schematic diagram showing an interaction process of a method for service discovery according to an embodiment of the present application.
  • the meanings of the various identical terms in this embodiment are the same as those of the foregoing embodiments.
  • the registration center may correspond to a network function storage function
  • the first device may correspond to a first network function instance for requesting a service
  • the second device may correspond to a second network function instance for providing a service. That is, the first network function instance is “service consumer” and the second network function instance is “service provider”.
  • the application developer can implement two applications according to the convention (for example, the development manual or the 3GPP standard), an interface in the implementation agreement, and a related interface function according to the convention.
  • the SA6 system deployed these two applications to the devices of the SA2 system through MANO.
  • MANO deploys the Network Function Package (NF Package).
  • NF Package Network Function Package
  • the MANO controls the application installation package to generate a provider application instance, that is, a service that can be provided, in the second network function instance.
  • the second network function instance sends a registration request to the network function storage function, and the registration request includes parameter information supported by the service.
  • the parameter information includes at least one of information of a first transmission mode, information of an invocation mode, information of a transmission protocol, and information of a second transmission mode, where the first transmission mode information is an inband identifier or an outband identifier.
  • the inband identifier is used to indicate a transmission mode that carries a call information transmission in the data
  • the outband identifier is used to indicate a transmission mode in which the data and the call information are transmitted independently of each other
  • the calling mode is one request for one response or one request.
  • the transmission protocol is any one of a representational state transition application programming interface protocol, an advanced message queue interface protocol, a message queue telemetry transmission protocol, and a remote procedure call protocol
  • the second transmission mode is direct transmission or transmission. Intermediate node transmission.
  • the network function storage function saves the service in the service parameter database, and parameter information of the service.
  • the target parameter information includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode.
  • the service parameter database Since different services can send a registration request to the network function storage function, the service parameter database stores a plurality of different services and parameter information of the corresponding service.
  • the MANO may control the application installation package to generate a consumer application instance, that is, a required service, in the first network function instance.
  • step 1405 can be directly executed without performing steps 1401-1404.
  • the first network function instance sends a service discovery request to the network function storage function, where the service discovery request includes parameter information of the required service, and the parameter information may be represented as target parameter information.
  • the target parameter information also includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode.
  • the network function storage function determines the target service that satisfies the target parameter information according to the parameter information of the service saved in the service parameter database.
  • the network function storage function sends a service response message to the first network function instance, where the service response message includes description information of the target service.
  • the first network function instance triggers the calling process according to the service response message.
  • the first network function instance executes the calling process according to the description information of the target service in the service response message.
  • the calling information may be sent to the second network function instance for invoking the target service in the second network function instance. For example, prepare the requested resource, save the context, query the context, and return the content or result of the call.
  • the network function storage function receives a service discovery request sent by the first network function instance, where the service discovery request carries target parameter information of a service required by the first network function instance,
  • the target parameter information includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and determines a target service corresponding to the target parameter information according to the service parameter database, and then
  • the first network function instance sends a service response message including description information of the target service, so that the parameter information supported by the service for the diversified service enables the first network function instance to find a suitable service, in particular, selecting a suitable transmission protocol.
  • the specification of the interface can be standardized, that is, the interface is reasonably allocated to improve the service, and the processing efficiency of the network system is improved.
  • FIG. 15 shows a schematic block diagram of a registry 1500 in accordance with an embodiment of the present application.
  • the registration center 1500 includes:
  • the receiving module 1510 receives a service discovery request sent by the first device, where the service discovery request carries target parameter information of the service required by the first device, where the target parameter information includes information of the first transmission mode, information of the calling mode, and a transmission protocol. At least one of the information of the first transmission mode and the information of the second transmission mode, the information of the first transmission mode is an inband identifier or an outband identifier, where the inband identifier is used to indicate data between the first device and the second device.
  • the out-of-band identifier is used to indicate a transmission mode in which the data between the first device and the second device and the calling information are transmitted independently of each other, and the calling mode is a request for one response or Requesting multiple responses at a time
  • the transmission protocol being any one of a representational state transition application programming interface protocol, an advanced message queue interface protocol, a message queue telemetry transmission protocol, and a remote procedure call protocol
  • the second transmission mode being the first
  • the information between a device and the second device is directly transmitted or transmitted through an intermediate node;
  • the processing module 1520 is configured to determine, according to the service parameter database, a target service corresponding to the target parameter information, where the service parameter database is used to store parameter information of different services of the second device;
  • the sending module 1530 is configured to send a service response message to the first device, where the service response message includes description information of the target service.
  • the registration center of the embodiment of the present application receives the service discovery request sent by the first device, where the service discovery request carries the target parameter information of the service required by the first device, where the target parameter information includes information of the first transmission mode, and is invoked. At least one of the information of the mode, the information of the transmission protocol, and the information of the second transmission mode, and determining the target service corresponding to the target parameter information according to the service parameter database, and then sending the description information including the target service to the first device
  • the service response message so that the parameter information of the service support through the service enables the first device to find a suitable service, thereby improving the service quality and improving the processing efficiency of the system.
  • the receiving module 1510 is further configured to receive a registration request sent by the second device, where the registration request includes parameter information of the first service of the second device, and the processing module is further configured to use the first service.
  • the parameter information is stored in the service parameter database.
  • the target parameter information includes information about the first transmission mode.
  • the processing module 1520 is specifically configured to: if the information of the first transmission mode is an in-band identifier, include the in-band identifier in the service parameter database. The service corresponding to the parameter information is determined to be the target service.
  • the target parameter information includes information about the calling mode; the processing module 1520 is specifically configured to: if the calling mode is a response to the request once, the service parameter database includes the information of the requesting response once. The service corresponding to the parameter information is determined to be the target service.
  • the target parameter information includes information about the transport protocol.
  • the processing module 1520 is specifically configured to: when the transport protocol is the advanced message queue interface protocol, include the advanced message queue interface protocol in the service parameter database.
  • the service corresponding to the parameter information of the information is determined to be the target service.
  • the target parameter information includes the second transmission mode.
  • the processing module 1520 is specifically configured to: when the second transmission mode is that the information between the first device and the second device is transmitted through the intermediate node, The registration center determines the service corresponding to the parameter information transmitted by the intermediate node in the service parameter database as the target service.
  • the target parameter information further includes location information of the intermediate node, where the location of the intermediate node is on the third-party device, on the registration center, or on the second device; the processing module 1520 is specifically configured to:
  • the second transmission mode is the transmission by the intermediate node, and when the location of the intermediate node is at the third-party location, the service parameter database includes the transmission through the intermediate node and the intermediate node is located at the third-party location.
  • the service corresponding to the parameter information of the information is determined to be the target service.
  • the network service system is a mobile edge computing system
  • the mobile edge computing system includes a mobile edge management and a mobile edge host
  • the mobile edge host includes a mobile edge platform, a first mobile edge application, and a second mobile edge application.
  • the mobile edge platform corresponds to a registration center
  • the first mobile edge application corresponds to the first device
  • the second mobile edge application corresponds to the second device
  • the mobile edge management is used to manage the first mobile edge application and the second mobile Edge application.
  • the network service system is a service and system aspect working group 6 system
  • the service and system aspect working group 6 system includes a service registration server, a key business service, and an external application
  • the service registration server corresponds to the registration center
  • the external application Corresponding to the first device
  • the key business service corresponds to the second device.
  • the network service system is a service and system aspect work group 2 system
  • the service and system aspect work group 2 system includes a network function storage function, a first network function instance, and a second network function instance, and the network function storage function
  • the first network function instance corresponds to the first device
  • the second network function instance corresponds to the second device.
  • the registration center of the embodiment of the present application receives the service discovery request sent by the first device, where the service discovery request carries the target parameter information of the service required by the first device, where the target parameter information includes information of the first transmission mode. And at least one of information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and determining a target service corresponding to the target parameter information according to the service parameter database, and then transmitting the target service to the first device
  • the service response message describing the information, so that the parameter information supported by the service for the diversified service enables the first device to find a suitable service, thereby improving the service quality and improving the processing efficiency of the system.
  • FIG. 16 shows a schematic block diagram of a device 1600 in accordance with an embodiment of the present application.
  • the network device is applied to a network service system, where the network service system includes a registration center, the device, and a second device.
  • the device 1600 corresponds to the first device in the foregoing embodiment, and the device 1600 includes:
  • the sending module 1610 is configured to send a service discovery request, where the service discovery request carries target parameter information of a service required by the first device, and the service discovery request is used to determine, according to the service parameter database, a target service corresponding to the target parameter information, the target
  • the parameter information includes at least one of information of a first transmission mode, information of an invocation mode, information of a transmission protocol, and information of a second transmission mode, the information of the first transmission mode being an in-band identifier or an out-of-band identifier, the band
  • the internal identifier is used to indicate that the first device and the second device carry a transmission mode of the call information transmission in the data, where the out-of-band identifier is used to indicate the data and the call between the first device and the second device
  • the transmission mode in which information is transmitted independently of each other.
  • the calling mode is one request response or one request multiple response.
  • the transmission protocol is a representation state transition application programming interface protocol, advanced message queue interface protocol, message queue telemetry transmission protocol, and remote Any one of the process call protocols, the second transmission mode being the first device and the first The information between the two devices is directly transmitted or transmitted through the intermediate node;
  • the receiving module 1620 is configured to receive a service response message, where the service response message includes description information of the target service;
  • the sending module 1610 is further configured to send, to the second device, call information, where the call information is used to invoke the target service.
  • the first device in the embodiment of the present application sends a service discovery request to the registration center, where the service discovery request carries the target parameter information of the service required by the first device, and the service discovery request is used to determine the service parameter database.
  • a target service corresponding to the first parameter information the target parameter information including at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and then receiving the information sent by the registration center
  • the service response message of the description service of the target service so that the first device can find a suitable service through the parameter information of the service support for the diversified service, thereby improving the service quality and improving the processing efficiency of the system.
  • the target parameter information when the second transmission mode is that the information between the first device and the second device is transmitted by the intermediate node, the target parameter information further includes a location of the intermediate node, where the location of the intermediate node is On the three-party device, on the registration center, or on the second device.
  • the network service system is a mobile edge computing system
  • the mobile edge computing system includes a mobile edge management and a mobile edge host
  • the mobile edge host includes a mobile edge platform, a first mobile edge application, and a second mobile edge application.
  • the mobile edge platform corresponds to a registration center
  • the first mobile edge application corresponds to a device
  • the second mobile edge application corresponds to a second device
  • the mobile edge management is used to manage the first mobile edge application and the second mobile edge application .
  • the network service system is a service and system aspect working group 6 system
  • the service and system aspect working group 6 system includes a service registration server, a key business service, and an external application
  • the service registration server corresponds to the registration center
  • the external application Corresponding to the device
  • the key business service corresponds to the second device.
  • the network service system is a service and system aspect work group 2 system
  • the service and system aspect work group 2 system includes a network function storage function, a first network function instance, and a second network function instance, and the network function storage function Corresponding to the registration center, the first network function instance corresponds to the device, and the second network function instance corresponds to the second device.
  • the first device in the embodiment of the present application sends a service discovery request to the registration center, where the service discovery request carries the target parameter information of the service required by the first device, and the service discovery request is used to determine the service parameter database.
  • a target service corresponding to the first parameter information the target parameter information including at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and then receiving the information sent by the registration center
  • the service response message of the description service of the target service so that the first device can find a suitable service through the parameter information of the service support for the diversified service, thereby improving the service quality and improving the processing efficiency of the system.
  • FIG. 17 shows a schematic block diagram of a device 1700 in accordance with an embodiment of the present application.
  • the device 1700 is applied to a network service system, where the network service system includes a registration center, a first device, and the device.
  • the device 1700 corresponds to the first device in the foregoing embodiment, and the device 1700 includes:
  • the sending module 1710 is configured to send a registration request to the registration center, where the registration request includes parameter information of the first service, so that the registration center stores the parameter information of the first service in a service parameter database, where the service parameter database is used. Determining a target service corresponding to the target parameter information, where the target parameter information is parameter information of a service required by the first device, where the target parameter information includes information of the first transmission mode, information of the calling mode, information of the transmission protocol, and second At least one of the information of the transmission mode, the first transmission mode information is an inband identifier or an outband identifier, where the inband identifier is used to indicate that the first device and the second device carry the call information transmission in the data.
  • the out-of-band identifier is used to indicate a transmission mode in which the data between the first device and the second device and the call information are transmitted independently of each other, and the calling mode is one request for one response or one request for multiple responses
  • the transport protocol is a representational state transition application programming interface protocol, advanced message queue interface protocol, message team Any one of a column telemetry transmission protocol and a remote procedure call protocol, wherein the second transmission mode is that the information between the first device and the second device is directly transmitted or transmitted through an intermediate node;
  • the receiving module 1720 is configured to receive call information sent by the first device, where the call information is used to invoke the target service.
  • the second device in the embodiment of the present application by sending a registration request to the registration center, causes parameter information of a plurality of different services to be stored in the parameter database of the registration center, and after receiving the service discovery request, the query is satisfied in the parameter database. Determining parameter information, and determining a service corresponding to the parameter information satisfying the requirement, and sending the parameter information of the service to the first device, so that the first device can invoke the service of the second device, so that the first device can obtain high quality Service.
  • the target parameter information when the second transmission mode is that the information between the first device and the second device is transmitted by the intermediate node, the target parameter information further includes a location of the intermediate node, where the location of the intermediate node is On a three-way device, on the registry, or on the device.
  • the network service system is a mobile edge computing system
  • the mobile edge computing system includes a mobile edge management and a mobile edge host
  • the mobile edge host includes a mobile edge platform, a first mobile edge application, and a second mobile edge application.
  • the mobile edge platform corresponds to a registration center
  • the first mobile edge application corresponds to the first device
  • the second mobile edge application corresponds to the device
  • the mobile edge management is used to manage the first mobile edge application and the second mobile edge application.
  • the network service system is a service and system aspect working group 6 system
  • the service and system aspect working group 6 system includes a service registration server, a key business service, and an external application
  • the service registration server corresponds to the registration center
  • the external application Corresponding to the first device, the key business service corresponds to the device.
  • the network service system is a service and system aspect work group 2 system
  • the service and system aspect work group 2 system includes a network function storage function, a first network function instance, and a second network function instance, and the network function storage function
  • the first network function instance corresponds to the first device
  • the second network function instance corresponds to the device.
  • the second device in the embodiment of the present application by sending a registration request to the registration center, causes parameter information of a plurality of different services to be stored in the parameter database of the registration center, and after receiving the service discovery request, the query is satisfied in the parameter database. Determining parameter information, and determining a service corresponding to the parameter information satisfying the requirement, and sending the parameter information of the service to the first device, so that the first device can invoke the service of the second device, so that the first device can obtain high quality Service.
  • FIG. 18 shows a system 1800 for service discovery of an embodiment of the present application, the system 1800 comprising:
  • FIG. 19 is a schematic structural diagram of a registration center provided by an embodiment of the present application.
  • the registry includes at least one processor 1902 (eg, a general purpose processor CPU with computation and processing capabilities, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA). And so on), the processor 1902 is configured to manage and schedule modules and devices in the registry.
  • the processing module 1520 in the embodiment shown in FIG. 15 can be implemented by the processor 1902.
  • the registry also includes at least one transceiver 1905 (receiver/transmitter), memory 1906.
  • the receiving module 1510 and the transmitting module 1530 in the embodiment shown in FIG. 15 can be implemented by the transceiver 1905.
  • the various components of the registry communicate with each other via internal connection paths, passing control and/or data signals.
  • the method disclosed in the above embodiments of the present application may be applied to the processor 1902, or used to execute an executable module, such as a computer program, stored in the memory 1906.
  • the memory 1906 may include a high speed random access memory (RAM), and may also include a non-volatile memory.
  • the memory may include a read only memory and a random access memory, and provides the processor with Required signaling or data, programs, etc.
  • a portion of the memory may also include non-volatile line random access memory (NVRAM).
  • NVRAM non-volatile line random access memory
  • a communication connection with at least one other network element is achieved by at least one transceiver 1905 (which may be wired or wireless).
  • the memory 1906 stores a program 19061, and the processor 1902 executes the program 19061 for performing the following operations:
  • the service discovery request carries target parameter information of a service required by the first device, where the target parameter information includes information of a first transmission mode, information of an invocation mode, information of a transmission protocol, and At least one of the information of the second transmission mode, the information of the first transmission mode is an inband identifier or an outband identifier, where the inband identifier is used to indicate that the first device and the second device carry the call in the data a transmission mode of the information transmission, the out-of-band identifier is used to indicate a transmission mode in which the data between the first device and the second device and the call information are transmitted independently of each other, and the calling mode is one request for one response or one request for more.
  • the transport protocol being any one of a representational state transition application programming interface protocol, an advanced message queue interface protocol, a message queue telemetry transport protocol, and a remote procedure call protocol, the second transport mode being the first device and The information between the second devices is directly transmitted or transmitted through an intermediate node;
  • the registration center may be specifically a registration center in the embodiment shown in FIG. 15 and may be used to execute various steps and/or processes corresponding to the registration center in the method embodiment.
  • the service discovery request carries target parameter information of a service required by the first device, where the target parameter information includes the first Transmitting at least one of information of the transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and determining a target service corresponding to the target parameter information according to the service parameter database, and then transmitting the information to the first device, including The service response message of the description service of the target service, so that the parameter information of the service support through the service enables the first device to find a suitable service, thereby improving the service quality and improving the processing efficiency of the system.
  • FIG. 20 is a schematic structural diagram of an apparatus provided by an embodiment of the present application.
  • the apparatus includes at least one processor 2002 (eg, a general purpose processor CPU with computing and processing capabilities, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA).
  • the processor 2002 is used to manage and schedule the various modules and devices within the device.
  • the device also includes at least one transceiver 2005 (receiver/transmitter), memory 2006.
  • the transmitting module 1610 and the receiving module 1620 in the embodiment shown in FIG. 16 can be implemented by the transceiver 2005.
  • the various components of the device communicate with one another via internal connection paths to communicate control and/or data signals.
  • the method disclosed in the above embodiments of the present application may be applied to the processor 2002 or used to execute an executable module, such as a computer program, stored in the memory 2006.
  • the memory 2006 may include a high speed random access memory (RAM), and may also include a non-volatile memory.
  • the memory may include a read only memory and a random access memory, and provides the processor with Required signaling or data, programs, etc.
  • a portion of the memory may also include non-volatile line random access memory (NVRAM).
  • NVRAM non-volatile line random access memory
  • a communication connection with at least one other network element is achieved by at least one transceiver 2005 (which may be wired or wireless).
  • the memory 2006 stores the program 20061, and the processor 2002 executes the program 20061 for performing the following operations:
  • the service discovery request For transmitting a service discovery request, the service discovery request carries target parameter information of a service required by the device, and the service discovery request is used to determine a target service corresponding to the target parameter information according to the service parameter database, where the target parameter information includes the first At least one of information of the transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, the information of the first transmission mode is an in-band identifier or an out-of-band identifier, and the in-band identifier is used to indicate The first device and the second device carry a transmission mode of the call information transmission in the data, where the out-of-band identifier is used to indicate that the data and the call information are mutually independent transmission between the first device and the second device Mode, the calling mode is one request for one response or one request for multiple responses.
  • the target parameter information includes the first At least one of information of the transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode
  • the information of the first transmission mode
  • the transport protocol is any of the representation state transition application programming interface protocol, the advanced message queue interface protocol, the message queue telemetry transport protocol, and the remote procedure call protocol.
  • the second transmission mode is information between the first device and the second device Transfer directly or through an intermediate node;
  • the service discovery request carries the target parameter information of the service required by the first device by sending a service discovery request to the registration center, and the service discovery request is used according to the service parameter.
  • the database determines a target service corresponding to the first parameter information, where the target parameter information includes at least one of information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode, and then receives the registration center.
  • the service response message sent by the description information of the target service is sent, so that the first device can find a suitable service through the parameter information of the service support for the diversified service, thereby improving the service quality and improving the processing efficiency of the system.
  • FIG. 21 is a schematic structural diagram of an apparatus provided by an embodiment of the present application.
  • the apparatus includes at least one processor 2102 (eg, a general purpose processor CPU with computing and processing capabilities, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA).
  • the processor 2102 is configured to manage and schedule modules and devices within the device.
  • the device also includes at least one transceiver 2105 (receiver/transmitter), memory 2106.
  • the transmitting module 1710 and the receiving module 1720 in the embodiment shown in FIG. 17 can be implemented by the transceiver 2105.
  • the various components of the device communicate with one another via internal connection paths, passing control and/or data signals.
  • the method disclosed in the above embodiments of the present application may be applied to the processor 2102 or used to execute an executable module, such as a computer program, stored in the memory 2106.
  • the memory 2106 may include a high speed random access memory (RAM), and may also include a non-volatile memory.
  • the memory may include a read only memory and a random access memory, and provide the processor with Required signaling or data, programs, etc.
  • a portion of the memory may also include non-volatile line random access memory (NVRAM).
  • NVRAM non-volatile line random access memory
  • a communication connection with at least one other network element is achieved by at least one transceiver 2105 (which may be wired or wireless).
  • the memory 2106 stores a program 21061, and the processor 2102 executes the program 21061 for performing the following operations:
  • the registration center Sending a registration request to the registration center, the registration request including parameter information of the first service, so that the registration center stores the parameter information of the first service in a service parameter database, where the service parameter database is used to determine that the target parameter information is met
  • the target parameter information is parameter information of a service required by the first device, where the target parameter information includes information of the first transmission mode, information of the calling mode, information of the transmission protocol, and information of the second transmission mode.
  • At least one of the first transmission mode information is an inband identifier or an outband identifier, where the inband identifier is used to indicate that the first device and the second device carry a transmission mode of the call information transmission in the data, the band
  • the external identifier is used to indicate a transmission mode in which data and call information are independently transmitted between the first device and the second device, and the calling mode is a request for one response or one request for multiple responses, and the transfer protocol is a representation state transition.
  • Application Programming Interface Protocol, Advanced Message Queuing Interface Protocol, Message Queue Telemetry Transport Protocol and Far Process according to any one of the call protocol, the second transmission mode information for a direct transmission between the first device and the second device or transmission through an intermediate node;
  • the call information is used to invoke the target service.
  • the parameter information of multiple different services is stored in the parameter database of the registration center by sending a registration request to the registration center, and after receiving the service discovery request, in the parameter database. Querying the parameter information that satisfies the requirement, and determining the service corresponding to the parameter information that meets the requirement, and sending the parameter information of the service to the first device, so that the first device can invoke the service of the second device, so that the first device can enable the first device to Get high quality service.
  • the embodiment of the present application further provides a computer storage medium, which can store program instructions for indicating any of the above methods.
  • the storage medium may be specifically a memory 1906, 2006 or 2106.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • This functionality if implemented as a software functional unit and sold or used as a standalone product, can be stored on a computer readable storage medium.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

本申请提供了一种服务发现的方法、注册中心和设备。该方法包括:注册中心接收第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项;该注册中心根据服务参数数据库,确定该目标参数信息对应的目标服务,该服务参数数据库用于存储第二设备的不同服务的参数信息;该注册中心向该第一设备发送服务响应消息,该服务响应消息包括该目标服务的描述信息。本申请实施例通过服务支持的参数信息使得第一设备能够找到合适的服务,进而能够提高服务质量。

Description

服务发现的方法、注册中心和设备
本申请要求于2017年6月2日提交中国专利局、申请号为201710408088.4、申请名称为“服务发现的方法、注册中心和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,并且更具体地,涉及服务发现的方法、注册中心和设备。
背景技术
服务注册与发现是一种目录服务,有利于服务的定义,服务的选择和服务的执行策略。服务提供者作为服务的提供方将自身的服务信息注册到服务注册中心中,服务注册中心主要提供所有服务注册信息的中心存储,同时负责将服务注册信息的更新通知实时的发送给服务消费者。服务消费者从服务注册中心获取需要的服务注册信息并调用服务。
在网络服务系统中,网络提供者在注册中心发布提供的网络服务,客户端从注册中心发现所需要的网络服务,客户端获取网络服务的端点。传统网络系统中服务的性能(例如,支持的协议、传输模式)比较单一,客户端可以根据服务的标识(Identity,ID)选择合适的服务,在调用网络服务时通常采用固定的格式,随着网络系统的升级,即服务趋向多样化,传统方案无法使得客户端找到合适的服务,降低了服务质量。
发明内容
本申请提供一种服务发现的方法、注册中心和设备,能够使得服务消费者找到合适的服务,提高了服务质量。
第一方面,提供了一种服务发现的方法,该方法包括:该注册中心接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式信息为带内标识或带外标识,该带内标识用于指示该第一设备和第二设备之间在数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和该第二设备之间的该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;该注册中心根据服务参数数据库,确定该目标参数信息对应的目标服务,该服务参数数据库用于存储该第二设备的不同服务的参数信息;该注册中心向该第一设备发送服务响应消息,该服务响应消息包括该目标服务的描述信息。
注册中心接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需 服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该第一设备发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
在一些可能的实现方式中,该注册中心根据服务参数数据库,确定该目标参数信息对应的目标服务之前,该方法还包括:该注册中心接收该第二设备发送的注册请求,该注册请求包括该第二设备的第一服务的参数信息;该注册中心将该第一服务的参数信息存储到该服务参数数据库中。
注册中心可以在参数数据库中存储多个不同服务的参数信息,在接收到服务发现请求后,在参数数据库中进行查询满足需求的参数信息,并确定满足需求的参数信息对应的服务。注册中心通过不同的注册请求,并保存能够提供服务的参数信息,进而能够为第一设备寻找满足需求的第二设备,从而能够为第一设备找到合适的服务,提高了服务质量。
在一些可能的实现方式中,该目标参数信息包括该第一传输模式的信息;其中,该注册中心根据服务参数数据库,确定该目标参数信息对应的目标服务包括:若该第一传输模式的信息为带内标识,该注册中心将该服务参数数据库中包括该带内标识的参数信息对应的服务确定为该目标服务。
若目标参数信息包括的第一传输模式的信息为带内标识,即第一设备发送的调用信息需要通过在数据中携带该调用信息,则注册中心为第一设备选择满足能够在数据中携带调用信息的服务,从而使得第一设备能够得到高质量的服务。
在一些可能的实现方式中,该目标参数信息包括该调用模式的信息;其中,该注册中心根据服务参数数据库,确定该目标参数信息对应的目标服务包括:若该调用模式为该一次请求一次响应,该注册中心将该服务参数数据库中包括该一次请求一次响应的信息的参数信息对应的服务确定为该目标服务。
若目标参数信息包括的调用模式的信息为一次请求一次响应的信息,则注册中心查找包括一次请求一次响应的参数信息对应的服务,并将该服务的描述信息发送给第一设备,从而使得第一设备能够得到高质量的服务。
在一些可能的实现方式中,该目标参数信息包括该传输协议的信息;其中,该根据服务参数数据库,确定该目标参数信息对应的目标服务包括:在该传输协议为该高级消息队列接口协议时,该注册中心将该服务参数数据库中包括该高级消息队列接口协议的信息的参数信息对应的服务确定为该目标服务。
若目标参数信息包括的传输协议的信息为高级消息队列接口协议的信息,则注册中心为第一设备查找包括该高级消息队列接口协议的参数信息对应的服务,并将该服务的描述信息发送给第一设备,从而使得第一设备能够得到高质量的服务。
在一些可能的实现方式中,该目标参数信息包括该第二传输模式;其中,该注册中心根据服务参数数据库,确定该目标参数信息对应的目标服务包括:在该第二传输模式为该第一设备和该第二设备之间的信息通过中间节点传输时,该注册中心将该服务参数数据库中包括该通过中间节点传输的信息的参数信息对应的服务确定为该目标服务。
若目标参数信息包括的第二传输模式的信息为通过中间节点传输的信息,则注册中心 为第一设备查找包括该通过中间节点传输的参数信息对应的服务,并将该服务的描述信息发送给第一设备,从而使得第一设备能够得到高质量的服务。
在一些可能的实现方式中,该目标参数信息还包括中间节点的位置信息,该中间节点的位置为在第三方设备上、在该注册中心上或在该第二设备上;其中,该注册中心在该第二传输模式为该通过中间节点传输时,将该服务参数数据库中包括该通过中间节点传输的参数信息对应的服务确定为该目标服务包括:在该第二传输模式为该通过中间节点传输,且该中间节点的位置为在该第三方位置上时,该注册中心将该服务参数数据库中包括该通过中间节点传输且该中间节点在该第三方位置上的信息的参数信息对应的服务确定为该目标服务。
若目标参数信息包括的第二传输模式的信息为通过中间节点传输的信息,且中心节点为在第三方位置上,则注册中心为第一设备查找包括该通过中间节点传输,且中间节点在该第三方位置上的参数信息对应的服务,并将该服务的描述信息发送给第一设备,从而使得第一设备能够得到高质量的服务。
在一些可能的实现方式中,该网络服务系统为移动边缘计算系统,该移动边缘计算系统包括移动边缘管理和移动边缘主机,该移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,该移动边缘平台对应该注册中心,该第一移动边缘应用对应该第一设备,该第二移动边缘应用对应该第二设备,该移动边缘管理用于管理该第一移动边缘应用和该第二移动边缘应用。
对于多样化的服务通过应用服务支持的参数信息使得第一移动边缘应用能够找到合适的服务,尤其是对于具有支持多接口协议或不同调用模式的应用服务,第一移动边缘应用能够选择满意的接口协议和调用模式传输调用信息,提高了传输效率。
在一些可能的实现方式中,该网络服务系统为服务和系统方面工作组6系统,该服务和系统方面工作组6系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应该注册中心,该外部应用对应该第一设备,该关键业务服务对应该第二设备。
这样对于多样化的服务通过服务支持的参数信息使得外部应用能够找到合适的服务,尤其对于信任者或同域者能够让其直接访问服务,对于不信任者或者其他领域的应用需要经过中间层的验证或格式转换等,进而提高了网络系统的安全性能。
在一些可能的实现方式中,该网络服务系统为服务和系统方面工作组2系统,该服务和系统方面工作组2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,该网络功能存储功能对应该注册中心,该第一网络功能实例对应该第一设备,该第二网络功能实例对应该第二设备。
这样对于多样化的服务通过服务支持的参数信息使得第一网络功能实例能够找到合适的服务,尤其是选择合适的传输协议,能够对接口的调用进行规范,即合理分配接口提高服务,提高了网络系统的处理效率。
第二方面,提供了一种服务发现的方法,该方法包括:该第一设备发送服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,且该服务发现请求用于根据服务参数数据库确定该目标参数信息对应的目标服务,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式的信息为带内标识或带外标识,该带内标识用于指示该第一设备和第二设备之间在 数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和该第二设备之间该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;该第一设备接收服务响应消息,该服务响应消息该服务响应消息包括该目标服务的描述信息;该第一设备向该第二设备发送调用信息,该调用信息用于调用该目标服务。
第一设备向注册中心发送服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,且该服务发现请求用于根据服务参数数据库确定该第一参数信息对应的目标服务,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,之后接收注册中心发送的包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
在一些可能的实现方式中,在该第二传输模式为该第一设备和该第二设备之间的信息通过中间节点传输时,该目标参数信息还包括该中间节点的位置,该中间节点的位置为在第三方设备上、在该注册中心上或在该第二设备上。
若目标参数信息包括的第二传输模式的信息为通过中间节点传输的信息,且中心节点为在第三方位置上,则第一设备接收注册中心通过查找确定包括该通过中间节点传输,且中间节点在该第三方位置上的参数信息对应的目标服务的描述信息,这样第一设备能够得到高质量的服务。
在一些可能的实现方式中,该网络服务系统为移动边缘计算系统,该移动边缘计算系统包括移动边缘管理和移动边缘主机,该移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,该移动边缘平台对应该注册中心,该第一移动边缘应用对应该第一设备,该第二移动边缘应用对应该第二设备,该移动边缘管理用于管理该第一移动边缘应用和该第二移动边缘应用。
对于多样化的服务通过应用服务支持的参数信息使得第一移动边缘应用能够找到合适的服务,尤其是对于具有支持多接口协议或不同调用模式的应用服务,第一移动边缘应用能够选择满意的接口协议和调用模式传输调用信息,提高了传输效率。
在一些可能的实现方式中,该网络服务系统为服务和系统方面工作组6系统,该服务和系统方面工作组6系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应该注册中心,该外部应用对应该第一设备,该关键业务服务对应该第二设备。
这样对于多样化的服务通过服务支持的参数信息使得外部应用能够找到合适的服务,尤其对于信任者或同域者能够让其直接访问服务,对于不信任者或者其他领域的应用需要经过中间层的验证或格式转换等,进而提高了网络系统的安全性能。
在一些可能的实现方式中,该网络服务系统为服务和系统方面工作组2系统,该服务和系统方面工作组2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,该网络功能存储功能对应该注册中心,该第一网络功能实例对应该第一设备,该第二网络功能实例对应该第二设备。
这样对于多样化的服务通过服务支持的参数信息使得第一网络功能实例能够找到合 适的服务,尤其是选择合适的传输协议,能够对接口的调用进行规范,即合理分配接口提高服务,提高了网络系统的处理效率。
第三方面,提供了一种服务发现的方法,该方法包括:该第二设备向该注册中心发送注册请求,该注册请求包括第一服务的参数信息,以使该注册中心将该第一服务的参数信息存储到服务参数数据库中,该服务参数数据库用于确定满足目标参数信息对应的目标服务,该目标参数信息为第一设备所需服务的参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式信息为带内标识或带外标识,该带内标识用于指示该第一设备和该第二设备之间在数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和该第二设备之间数据和调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;该第二设备接收该第一设备发送的调用信息,该调用信息用于调用该目标服务。
第二设备向注册中心发送注册请求,使得注册中心的参数数据库中存储多个不同服务的参数信息,在接收到服务发现请求后,在参数数据库中进行查询满足需求的参数信息,并确定满足需求的参数信息对应的服务,将该服务的参数信息发送给第一设备,这样第一设备可以调用第二设备的该服务,从而使得第一设备能够得到高质量的服务。
在一些可能的实现方式中,在该第二传输模式为该第一设备和该第二设备之间的信息通过中间节点传输时,该目标参数信息还包括该中间节点的位置,该中间节点的位置为在第三方设备上、在该注册中心上或在该第二设备上。
若目标参数信息包括的第二传输模式的信息为通过中间节点传输的信息,且中心节点为在第三方位置上,则通注册中心查找确定包括该通过中间节点传输,且中间节点在该第三方位置上的参数信息对应的目标服务的描述信息,第二设备的该目标服务能够为第一设备提供高质量的服务。
在一些可能的实现方式中,该网络服务系统为移动边缘计算系统,该移动边缘计算系统包括移动边缘管理和移动边缘主机,该移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,该移动边缘平台对应该注册中心,该第一移动边缘应用对应该第一设备,该第二移动边缘应用对应该第二设备,该移动边缘管理用于管理该第一移动边缘应用和该第二移动边缘应用。
对于多样化的服务通过应用服务支持的参数信息使得第一移动边缘应用能够找到合适的服务,尤其是对于具有支持多接口协议或不同调用模式的应用服务,第一移动边缘应用能够选择满意的接口协议和调用模式传输调用信息,提高了传输效率。
在一些可能的实现方式中,该网络服务系统为服务和系统方面工作组6系统,该服务和系统方面工作组6系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应该注册中心,该外部应用对应该第一设备,该关键业务服务对应该第二设备。
这样对于多样化的服务通过服务支持的参数信息使得外部应用能够找到合适的服务,尤其对于信任者或同域者能够让其直接访问服务,对于不信任者或者其他领域的应用需要经过中间层的验证或格式转换等,进而提高了网络系统的安全性能。
在一些可能的实现方式中,该网络服务系统为服务和系统方面工作组2系统,该服务和系统方面工作组2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,该网络功能存储功能对应该注册中心,该第一网络功能实例对应该第一设备,该第二网络功能实例对应该第二设备。
这样对于多样化的服务通过服务支持的参数信息使得第一网络功能实例能够找到合适的服务,尤其是选择合适的传输协议,能够对接口的调用进行规范,即合理分配接口提高服务,提高了网络系统的处理效率。
第四方面,提供了一种注册中心,该注册中心包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的模块。
第五方面,提供了一种设备,该设备包括用于执行第二方面或第二方面的任意可能的实现方式中的方法的模块。
第六方面,提供了一种设备,该设备包括用于执行第三方面或第三方面的任意可能的实现方式中的方法的模块。
第七方面,提供了一种系统,该系统包括:
上述第四方面的注册中心、上述第五方面的设备和上述第六方面的设备。
第八方面,提供了一种注册中心,包括:处理器、存储器和通信接口。处理器与存储器和通信接口连接。存储器用于存储指令,处理器用于执行该指令,通信接口用于在处理器的控制下与其他网元进行通信。该处理器执行该存储器存储的指令时,该执行使得该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。
第九方面,提供了一种设备,包括处理器、存储器和通信接口。处理器与存储器和通信接口连接。存储器用于存储指令,处理器用于执行该指令,通信接口用于在处理器的控制下与其他网元进行通信。该处理器执行该存储器存储的指令时,该执行使得该处理器执行第二方面或第二方面的任意可能的实现方式中的方法。
第十方面,提供了一种设备,包括处理器、存储器和通信接口。处理器与存储器和通信接口连接。存储器用于存储指令,处理器用于执行该指令,通信接口用于在处理器的控制下与其他网元进行通信。该处理器执行该存储器存储的指令时,该执行使得该处理器执行第三方面或第三方面的任意可能的实现方式中的方法。
第十一方面,提供了一种计算机存储介质,该计算机存储介质中存储有程序代码,该程序代码用于指示执行上述第一方面或第一方面的任一种可能的实现方式中的服务发现的方法的指令。
第十二方面,提供了一种计算机存储介质,该计算机存储介质中存储有程序代码,该程序代码用于指示执行上述第二方面或第二方面的任一种可能的实现方式中的服务发现的方法的指令。
第十三方面,提供了一种计算机存储介质,该计算机存储介质中存储有程序代码,该程序代码用于指示执行上述第三方面或第三方面的任一种可能的实现方式中的服务发现的方法的指令。
基于上述技术方案,注册中心接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数 据库确定该目标参数信息对应的目标服务,之后向该第一设备发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
附图说明
图1是服务注册与发现的架构图;
图2是网络服务注册与发现的示意性流程图;
图3是服务注册与发现应用于移动边缘计算(Mobile Edge Computing,MEC)系统的场景示意图;
图4是服务注册与发现应用于服务和系统方面工作组(Service&Systems Aspects Work Group,SA)6系统的场景示意图;
图5是服务注册与发现应用于SA2的场景示意图;
图6是本申请实施例的服务发现的方法的示意性流程图;
图7是本申请实施例的传输模式的示意图;
图8是本申请实施例的调用模式的示意图;
图9是本申请实施例的传输协议的示意图;
图10是本申请实施例的传输模式的示意图;
图11是本申请实施例的中间节点的位置的示意图;
图12是本申请一个实施例的服务发现的方法的交互流程示意图;
图13是本申请另一个实施例的服务发现的方法的交互流程示意图;
图14是本申请另一个实施例的服务发现的方法的交互流程示意图;
图15是本申请实施例的注册中心的示意性框图;
图16是本申请一个实施例的设备的示意性框图;
图17是本申请另一个实施例的设备的示意性框图;
图18是本申请实施例的系统的示意性框图;
图19是本申请实施例的注册中心的示意性结构图;
图20是本申请一个实施例的设备的示意性结构图;
图21是本申请另一个实施例的设备的示意性结构图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
图1示出了服务注册与发现的架构图。如图1所示,服务注册与发现是一种目录服务,有利于服务的定义,服务的选择和服务的执行策略。服务提供者作为服务的提供方将自身的服务信息注册到服务注册中心中,服务注册中心主要提供所有服务注册信息的中心存储,同时负责将服务注册信息的更新通知实时的发送给服务消费者。服务消费者从服务注册中心获取需要的服务注册信息并调用服务。
其中,该服务注册与发现系统中的各个元素的含义具体为:
服务(Service):松耦合,粗粒度的自治组件,能够独立实现一个逻辑功能,供服务消费者(应用/网元等其他组件)调用。
端点(End point):服务实例通知给服务消费者的发现地址,服务实例用此地址开放信息。
合约(Contracts):服务和服务调用者遵守的协定,如应用程序编程接口(Application Programming Interface,API)版本,统一资源标识符(Uniform Resource Identifier,URI)目录,参数个数,消息格式等。
注册中心(Service Registry):当有多个相同服务实例,或者服务实例需要动态生成时,服务实例可以向注册中心提供自己的端点和和合约,供服务调用者发现,进而正常使用。
图2示出了网络服务(Web Service)的注册与发现的示意性流程图。
201,网络提供者在注册中心发布提供的网络服务,其中,网络提供者在注册中心发布的网络服务可以具体为网络服务的特征信息,例如,服务标识(Identity,ID)、服务名称、版本号、提供者ID、端点、接口表或供应商中的至少一项;
202,客户端从注册中心发现所需要的网络服务,具体地,注册中心查询网络服务的特征信息找到合适的网络服务;
203,客户端获取网络服务的端点。
图3示出了服务注册与发现应用于移动边缘计算(Mobile Edge Computing,MEC)系统的场景。如图3所示,该MEC系统主要包括移动边缘管理(Mobile Edge Orchestrator,MEO)和移动边缘主机(Mobile edge host)。MEO具有MEC系统中的核心管理功能;移动边缘主机主要包括移动边缘平台(Mobile edge platform)、虚拟基础架构(Virtualization infrastructure)和移动边缘应用(Mobile edge application,ME app)。
其中,移动边缘平台是基本功能的集合,能够在一个特定的虚拟基础架构上运行移动边缘应用,并使这些移动边缘应用能够提供并使用移动边缘服务。移动边缘应用是根据MEO的配置或者请求,在移动边缘主机的虚拟基础架构上实例化的应用。移动边缘应用包括服务提供者(Service Provider)和服务消费者(Service Consumer)。此外,注册中心(Service registry)位于移动边缘平台中,服务实例可以向注册中心提供自己的端点和和合约,供服务调用者发现,进而正常使用。
MEC也定义了Mp1接口以及表述性状态转换(Restful)API,Mp1接口在移动边缘平台和移动边缘应用之间提供服务注册、服务发现和服务通信的支持。Restful API是指随着不断获取网络资源的表述方式,客户端不断转变其状态的API。具体地,MEC的服务提供者通过Mp1接口向移动边缘平台中注册服务,服务消费者通过Mp1接口从移动边缘平台中发现服务,服务消费者通过Restful应用程序接口调用服务提供者提供的服务。
图4示出了服务注册与发现应用于服务和系统方面工作组(Service&Systems Aspects Work Group,SA)6系统的场景。如图4所示,SA6系统包括关键业务服务(Mission Critical Service,MC Service)、服务接入服务器、通用系统中心(Universal service core,CSC)外部应用与运营支撑系统(Operation Support System,OSS),MC Service通过服务接入服务器来控制服务能力开放给外部应用,关键业务服务向服务接入服务器查询并发现服务,之后通过重用的接口实现服务的通信。
图5示出了服务注册与发现应用于SA2的场景示意图。如图5所示,SA2系统包括网络功能存储功能(Network Function Repository Function,NRF)、第一网络功能(Network  Function,NF)实例(NF Instance,NFI)、第二网络功能实例,以及管理和安排网管(Management and Orchestration,MANO)。NRF在部署、更新、删除网络功能实例时维护部署的NFI信息,NRF支持服务发现功能,从NFI中接收网络功能发现请求,并提供发现的NFI的信息给NFI。
综上可知,网络服务的注册与发现可以应用于移动边缘计算(Mobile Edge Computing,MEC)系统、SA6系统和SA2系统。以MEC系统为例,传统的MEC系统中服务消费者调用服务提供者的服务仅可以通过Restful API,因此,网络提供者和发现者不需要考虑传输接口,即传统方案中网络提供者和发现采用固定的接口。
但是在欧洲电信标准化协会(European Telecommunications Standards Institute,ETSI)MEC#8B会议上MEC系统不仅支持Restful API,还支持传输层服务的接口,用于支持低时延,大数据量的传输。例如,消息队列遥测传输(Message Queuing Telemetry Transport,MQTT),高级消息队列协议(Advanced Message Queuing Protocol,AMQP)以及私有远程过程调用协议(Remote Procedure Call Protocol,RPC)等。这样,传统技术并不能根据对接口的需求找到合适的服务,从而降低了服务质量。
图6示出了本申请实施例的服务发现的方法的示意性流程图。如图6所示,该方法应用于网络服务系统,该网络服务系统包括注册中心、第一设备和第二设备,该方法包括:
601,该注册中心接收第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式的信息为带内标识或带外标识,该带内标识用于指示在数据中携带调用信息传输的传输模式,该带外标识用于指示该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为直接传输或通过中间节点传输;
602,该注册中心根据服务参数数据库,确定该目标参数信息对应的目标服务,该服务参数数据库用于存储该第二设备的不同服务的参数信息;
603,该注册中心向该第一设备发送服务响应消息,该服务响应消息包括该目标服务的描述信息;
604,该第一设备向该第二设备发送调用信息,该调用信息用于调用该目标服务。
第一设备向注册中心发送服务发现请求,该服务发现请求用于请求第二设备中包括目标参数信息的服务,且该服务发现请求中携带该目标参数信息。服务参数数据库中存储第二设备的不同服务的参数信息,且每项服务与参数信息一一对应。其中,对应于参数信息的每项服务的描述信息,具体可以是该服务的ID。注册中心接收到该服务发现请求后,在服务参数数据库中,查找满足目标参数信息的目标服务,并向第一设备发送包括该目标服务的描述信息的服务响应消息,使得第一设备能够根据该目标服务的描述信息发送调用信息调用第二设备中的目标服务。也就是说,本申请实施例第一设备能够更准确的选择需求的服务,从而提高服务质量。
该第一设备所需服务的目标参数信息可以是第一设备所需服务支持的参数信息,例如,可以是第一设备选中目标服务后,向目标服务发送调用信息以及接收第二设备根据该 调用信息响应的消息时的第一传输模式、传输协议、调用模式和第二传输模式等。
需要说明的是,第一设备向注册中心发送的服务发现请求中还可以携带有服务ID、服务名称、版本号、提供者ID、端点、接口表或供应商中的至少一项。
应理解,每项服务与参数信息的对应关系可以是通过映射关系表体现,也可以是其他形式等,本申请对此不进行限定。
还应理解,服务参数数据库中,每项服务也对应一个参数信息,且该参数信息中也包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项。
还应理解,第一设备可以是硬件设备,也可以是软件应用;第二设备可以是硬件设备,也可以是软件应用。此外,第一设备可以与第二设备相同,本申请对此不进行限定。
因此,本申请实施例的服务发现的方法,该注册中心接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该第一设备发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。此外,通过本申请实施例的服务发现方法能够方便网络系统的管理和扩展。
可选地,注册中心可以接收注册请求,该注册请求包括第二设备的第一服务的参数信息,注册中心将第一服务的参数信息存储到服务参数数据库中。其中,第一服务可以是第二设备支持的服务中的任意一个服务。也就是说,注册中心可以在参数数据库中存储多个不同服务的参数信息,在接收到服务发现请求后,在参数数据库中进行查询满足需求的参数信息,并确定满足需求的参数信息对应的服务。
需要说明的是,第二设备向注册中心发送注册请求时,注册请求包括的参数信息与服务发现请求包括的参数信息相同,也包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式的信息为带内标识或带外标识,该带内标识用于指示在数据中携带调用信息传输的传输模式,该带外标识用于指示该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为直接传输或通过中间节点传输。
应理解,该注册请求中还可以携带有服务ID、服务名称、版本号、提供者ID、端点、接口表或供应商中的至少一项。
可选地,若目标参数信息包括第一传输模式的信息,第一传输模式的信息可以是带外标识或带内标识。带内标识用于指示在数据中携带调用信息传输的传输模式,带外标识用于指示数据和调用信息相互独立传输的传输模式。若目标参数信息包括的第一传输模式的信息为带内标识,则注册中心将服务参数数据库中包括该带内标识的参数信息对应的服务确定为目标服务。同样地,若目标参数信息包括的第一传输模式的信息为带外标识,则注册中心将服务参数数据库中包括带外标识的参数信息对应的服务确定为目标服务。
具体而言,若参数信息包括的第一传输模式的信息为带内标识,第一设备向第二设备 发送的调用信息可以通过在数据中携带该调用信息,例如,传输控制协议(Transmission Control Protocol,TCP)选项(option)方式。如图7所示,若参数信息包括的第一传输模式的信息为带外标识,则第一设备向第二设备发送的调用信息和数据可以分别独立传输。注册中心为第一设备选择满足需求的第二设备,从而使得第一设备能够得到高质量的服务。
可选地,如图8所示,目标参数信息可以包括调用模式的信息,其中,调用模式是一次请求一次响应或一次请求多次响应。其中,一次请求一次响应可以是第一设备向第二设备发送一次调用信息,第二设备响应一次调用信息请求的服务,这样对于需求不同合约的服务可以分别处理,提高处理效率。而一次请求多次响应可以是第一设备向第二设备发送一次调用信息后,第二设备可以响应多次调用信息请求的服务,即一次订阅长久有效,这样避免了需求相同服务的设备间发送多次调用信息,降低了第一设备的功耗。
若调用模式是一次请求一次响应,则注册中心将服务参数数据库中包括该一次请求一次响应的信息的参数信息对应的服务确定为该目标服务。同样地,若调用模式是一次请求多次响应,则注册中心将服务参数数据库中包括该一次请求多次响应的信息的参数信息对应的服务确定为该目标服务。
可选地,若目标参数信息包括该传输协议的信息,其中,该传输协议为Restful API、AMQP、MQTT和RPC协议中的任一项。如图9示出了Restful API接口协议和AMQP接口协议的示意图。若传输协议是AMQP接口协议,则注册中心将服务参数数据库中包括AMQP接口协议的信息的参数信息对应的服务确定为该目标服务。同样地,若传输协议是Restful API协议、MQTT接口协议和RPC接口协议中的任一项时,则注册中心将服务参数数据库中包括相应接口协议的信息的参数信息对应的服务确定为该目标服务。
可选地,若目标参数信息包括第二传输模式的信息。如图10所示,第二传输模式是直接传输或通过中间节点传输。若第二传输模式是直接传输,则注册中心将服务参数数据库中包括直接传输的参数信息对应的服务确定为该目标服务。同样地,若第二传输模式是通过中间节点传输,则注册中心将服务参数数据库中包括该通过中间节点传输协议的参数信息对应的服务确定为该目标服务。这样第二设备对于信任者或同域者的第一设备可以让其直接访问,而对于不信任者或其他领域的应用,需要中间层的验证或消息格式的转换后再访问,提高第二设备的安全性能。
可选地,该目标参数信息还包括中间节点的位置,如图11所示,该中间节点的位置为在第三方设备上、在该注册中心上或在该第二设备上,该注册中心在该第二传输模式为该通过中间节点传输时,将服务参数数据库中包括该通过中间节点传输的信息的参数信息对应的设备确定为该目标服务具体可以是在该第二传输模式为该通过中间节点传输,且该中间节点的位置为在该第三方位置上时,该注册中心将服务参数数据库中包括该通过中间节点传输且中间节点在该第三方位置上的信息的参数信息确定为该目标服务。
需要说明的是,在目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少两项时,注册中心可以将服务参数数据库中目标参数信息包括的每项信息对应的服务中的任意一个服务确定为目标服务,或者注册中心可以将每项信息对应的服务中的占比高的服务确定为目标服务,系统可以提前设定注册中心确定目标服务的规则,本申请对此不进行限定。
可选地,该网络服务系统为移动边缘计算系统MEC,该MEC包括移动边缘管理和移动边缘主机,该移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,该移动边缘平台对应该注册中心,该第一移动边缘应用对应该第一设备,该第二移动边缘应用对应该第二设备,该移动边缘管理用于管理该第一移动边缘应用和该第二移动边缘应用。
具体而言,第一移动边缘应用可以选择MQTT,AMQP以及私有远程过程调用协议RPC等不同的接口协议。即根据对接口协议的需求找到合适的服务,从而提高了服务质量。
可选地,该网络服务系统为SA6系统,该SA系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应该注册中心,该外部应用对应该第一设备,该关键业务服务对应该第二设备。
在SA6中,面向与关键业务服务位于不同信任域的外部应用,使用服务接入服务器。在这种情况下,服务实现面向不同信任域/部署域的使用者应用。对于信任域/同域者可以让其直接访问服务,对于不信任者或者其他领域的应用,需要经过中间层的验证或中间层的消息格式的转换。
可选地,该网络服务系统为SA2系统,该SA2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,该网络功能存储功能对应该注册中心,该第一网络功能实例对应该第一设备,该第二网络功能实例对应该第二设备。
在SA2中,网络功能(Network Function,NF)与服务属性相同,可以一一映射。NF可能面向第三方和拜访地公共陆地移动网络(Visited Public Land Mobile Network,VPLMN)内网元,也可能面向归属地公共陆地移动网络(Home Public Land Mobile Network,HPLMN)内网元,接口和消息获取方式可能存在不同。例如演进的分组系统(Evolved Packet System,EPS)中,服务网关(Serving Gateway,S-GW)和H-分组数据网关(Packet Data Network,PGW)间的S5接口,S-GW和V-PGW间的S8接口,两种接口上的消息获取流程不同。网络开放功能(Network Exposure Function,NEF)在未来面向内部网元和面向第三方,接口和消息获取方式也可能存在不同。这样第一网络功能实例通过参数信息能够更加准确的选择合适的第二网络功能实例,从而提高服务质量。
因此,本申请实施例的服务发现的方法,该注册中心接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该第一设备发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
图12示出了本申请一个实施例的服务发现的方法的交互流程示意图。本实施例中的各种相同术语的含义与前述各实施例相同。
该方法可以应用于MEC系统,如图3所示。其中,注册中心可以对应于移动边缘平台,也可以是独立的装置位于移动边缘主机的移动边缘平台中,第一设备可以对应于移动边缘主机中用于请求服务的第一移动边缘应用,第二设备可以对应于移动边缘主机中用于提供服务的第二移动边缘应用。即第一移动边缘应用为“服务消费者”,第二移动边缘应用为“服务提供者”。
应用开发者根据约定可以(例如,开发手册或者第三代合作伙伴项目(the 3rd Generation Partnership Project,3GPP)标准)实现两种应用,一种实现约定中的接口,一种根据约定调用相关的接口功能。在进行本申请实施例之前,MEC系统通过MEO将这两种应用部署到MEC系统中的设备。
1201,MEO部署关键业务应用安装包(App package),包括应用的资源需求,应用文件,所需服务的描述等。
1202,MEO在接收到实例化应用的请求后,控制应用安装包在第二移动边缘应用中生成提供者应用实例,即能够提供的服务。
1203,第二移动边缘应用向移动边缘平台发送注册请求,且该注册请求中包括该服务支持的参数信息。
具体地,该参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式信息为带内标识或带外标识,该带内标识用于指示在数据中携带调用信息传输的传输模式,该带外标识用于指示该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为直接传输或通过中间节点传输。
1204,移动边缘平台在服务参数数据库中保存该服务,以及该服务的参数信息。具体地,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项。
由于不同的服务都可以向移动边缘平台发送注册请求,因此该服务参数数据库保存有多个不同服务以及对应服务的参数信息。
1205,MEO在收到实例化消费者的应用请求时,可以控制应用安装包在第一移动边缘应用中生成消费者应用实例,即需求的服务。
应理解,若移动边缘平台中已经存储有不同服务的参数信息,可以直接执行步骤1205,而不需要执行步骤1201-1204。
1206,第一移动边缘应用向移动边缘平台发送服务发现请求,该服务发现请求包括所需服务的参数信息,可以将该参数信息表示为目标参数信息。具体地,该目标参数信息也包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项。
1207,移动边缘平台根据服务参数数据库中保存的服务的参数信息,确定满足目标参数信息的目标服务。
1208,移动边缘平台向第一移动边缘应用发送服务响应消息,该服务响应消息包括目标服务的描述信息。
1209,第一移动边缘应用根据服务响应消息,触发调用过程。
1210,第一移动边缘应用根据服务响应消息中的目标服务的描述信息,执行调用流程。
具体地,可以是向第二移动边缘应用发送调用信息,用于调用第二移动边缘应用中的目标服务。例如,准备请求的资源,保存上下文、查询上下文以及返回调用的内容或结果等。
因此,本申请实施例的服务发现的方法,该移动边缘平台接收该第一移动边缘应用发送的服务发现请求,该服务发现请求携带该第一移动边缘应用所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该第一移动边缘应用发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过应用服务支持的参数信息使得第一移动边缘应用能够找到合适的服务,尤其是对于具有支持多接口协议或不同调用模式的应用服务,第一移动边缘应用能够选择满意的接口协议和调用模式传输调用信息,提高了传输效率。
图13示出了本申请另一个实施例的服务发现的方法的交互流程示意图。本实施例中的各种相同术语的含义与前述各实施例相同。
该方法可以应用于SA6系统,如图4所示。其中,注册中心可以对应于服务接入服务器,第一设备可以对应于用于请求服务的外部应用,第二设备可以对应于用于提供服务的关键业务服务,即外部应用为“服务消费者”,关键业务服务为“服务提供者”。
应用开发者根据约定可以(例如,开发手册或者3GPP标准)实现两种应用,一种实现约定中的接口,一种根据约定调用相关的接口功能。在进行本申请实施例之前,SA6系统通过OSS将这两种应用部署到SA6系统的设备中。
1301,OSS部署关键业务安装包(MC package)。
1302,OSS在接收到实例化应用的请求后,控制应用安装包在关键业务服务中生成提供者应用实例,即能够提供的服务。
1303,关键业务服务向服务接入服务器发送注册请求,且该注册请求中包括该服务支持的参数信息。
具体地,该参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式信息为带内标识或带外标识,该带内标识用于指示在数据中携带调用信息传输的传输模式,该带外标识用于指示该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为直接传输或通过中间节点传输。
1304,服务接入服务器在服务参数数据库中保存该服务,以及该服务的参数信息。具体地,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项。
由于不同的服务都可以向服务接入服务器发送注册请求,因此该服务参数数据库保存有多个不同服务以及对应服务的参数信息。
1305,OSS在收到实例化消费者的应用请求时,可以控制应用安装包在外部应用中生成消费者应用实例,即需求的服务。
应理解,若服务接入服务器中已经存储有不同服务的参数信息,可以直接执行步骤1305,而不需要执行步骤1301-1304。
1306,外部应用向服务接入服务器发送服务发现请求,该服务发现请求包括所需服务的参数信息,可以将该参数信息表示为目标参数信息。具体地,该目标参数信息也包括第 一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项。
1307,服务接入服务器根据服务参数数据库中保存的服务的参数信息,确定满足目标参数信息的目标服务。
1308,服务接入服务器向外部应用发送服务响应消息,该服务响应消息包括目标服务的描述信息。
1309,外部应用根据服务响应消息,触发调用过程。
1310,外部应用根据服务响应消息中的目标服务的描述信息,执行调用流程。
具体地,可以是向关键业务服务发送调用信息,用于调用关键业务服务中的目标服务。例如,准备请求的资源,保存上下文、查询上下文以及返回调用的内容或结果等。
因此,本申请实施例的服务发现的方法,该服务接入服务器接收该外部应用发送的服务发现请求,该服务发现请求携带该外部应用所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该外部应用发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得外部应用能够找到合适的服务,尤其对于信任者或同域者能够让其直接访问服务,对于不信任者或者其他领域的应用需要经过中间层的验证或格式转换等,进而提高了网络系统的安全性能。
图14示出了本申请一个实施例的服务发现的方法的交互流程示意图。本实施例中的各种相同术语的含义与前述各实施例相同。
该方法可以应用于SA2系统,如图5所示。其中,注册中心可以对应于网络功能存储功能,第一设备可以对应于用于请求服务的第一网络功能实例,第二设备可以对应于用于提供服务的第二网络功能实例。即第一网络功能实例为“服务消费者”,第二网络功能实例为“服务提供者”。
应用开发者根据约定可以(例如,开发手册或者3GPP标准)实现两种应用,一种实现约定中的接口,一种根据约定调用相关的接口功能。在进行本申请实施例之前,SA6系统通过MANO将这两种应用部署到SA2系统的设备中。
1401,MANO部署网络服务功能安装包(Network Function Package,NF package)。
1402,MANO在接收到实例化应用的请求后,控制应用安装包在第二网络功能实例中生成提供者应用实例,即能够提供的服务。
1403,第二网络功能实例向网络功能存储功能发送注册请求,且该注册请求中包括该服务支持的参数信息。
具体地,该参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式信息为带内标识或带外标识,该带内标识用于指示在数据中携带调用信息传输的传输模式,该带外标识用于指示该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为直接传输或通过中间节点传输。
1404,网络功能存储功能在服务参数数据库中保存该服务,以及该服务的参数信息。具体地,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项。
由于不同的服务都可以向网络功能存储功能发送注册请求,因此该服务参数数据库保存有多个不同服务以及对应服务的参数信息。
1405,MANO在收到实例化消费者的应用请求时,可以控制应用安装包在第一网络功能实例中生成消费者应用实例,即需求的服务。
应理解,若网络功能存储功能中已经存储有不同服务的参数信息,可以直接执行步骤1405,而不需要执行步骤1401-1404。
1406,第一网络功能实例向网络功能存储功能发送服务发现请求,该服务发现请求包括所需服务的参数信息,可以将该参数信息表示为目标参数信息。具体地,该目标参数信息也包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项。
1407,网络功能存储功能根据服务参数数据库中保存的服务的参数信息,确定满足目标参数信息的目标服务。
1408,网络功能存储功能向第一网络功能实例发送服务响应消息,该服务响应消息包括目标服务的描述信息。
1409,第一网络功能实例根据服务响应消息,触发调用过程。
1410,第一网络功能实例根据服务响应消息中的目标服务的描述信息,执行调用流程。
具体地,可以是向第二网络功能实例发送调用信息,用于调用第二网络功能实例中的目标服务。例如,准备请求的资源,保存上下文、查询上下文以及返回调用的内容或结果等。
因此,本申请实施例的服务发现的方法,该网络功能存储功能接收该第一网络功能实例发送的服务发现请求,该服务发现请求携带该第一网络功能实例所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该第一网络功能实例发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得第一网络功能实例能够找到合适的服务,尤其是选择合适的传输协议,能够对接口的调用进行规范,即合理分配接口提高服务,提高了网络系统的处理效率。
上文中详细描述了根据本申请实施例的服务发现的方法,下面将描述根据本申请实施例的服务发现的设备。
图15示出了根据本申请实施例的注册中心1500的示意性框图。如图15所示,该注册中心1500包括:
接收模块1510,接收第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式的信息为带内标识或带外标识,该带内标识用于指示该第一设备和第二设备之间在数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和该第二设备之间的该数据和该调用信息相 互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;
处理模块1520,用于根据服务参数数据库,确定该目标参数信息对应的目标服务,该服务参数数据库用于存储该第二设备的不同服务的参数信息;
发送模块1530,用于向该第一设备发送服务响应消息,该服务响应消息包括该目标服务的描述信息。
本申请实施例的注册中心,通过接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该第一设备发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
可选地,该接收模块1510,还用于接收该第二设备发送的注册请求,该注册请求包括该第二设备的第一服务的参数信息;该处理模块,还用于将该第一服务的参数信息存储到该服务参数数据库中。
可选地,该目标参数信息包括该第一传输模式的信息;该处理模块1520具体用于:若该第一传输模式的信息为带内标识,将该服务参数数据库中包括该带内标识的参数信息对应的服务确定为该目标服务。
可选地,该目标参数信息包括该调用模式的信息;该处理模1520块具体用于:若该调用模式为该一次请求一次响应,将该服务参数数据库中包括该一次请求一次响应的信息的参数信息对应的服务确定为该目标服务。
可选地,该目标参数信息包括该传输协议的信息;该处理模块1520具体用于:在该传输协议为该高级消息队列接口协议时,将该服务参数数据库中包括该高级消息队列接口协议的信息的参数信息对应的服务确定为该目标服务。
可选地,该目标参数信息包括该第二传输模式;该处理模块1520具体用于:在该第二传输模式为该第一设备和该第二设备之间的信息通过中间节点传输时,该注册中心将该服务参数数据库中包括该通过中间节点传输的参数信息对应的服务确定为该目标服务。
可选地,该目标参数信息还包括中间节点的位置信息,该中间节点的位置为在第三方设备上、在该注册中心上或在该第二设备上;该处理模块1520具体用于:在该第二传输模式为该通过中间节点传输,且该中间节点的位置为在该第三方位置上时,将该服务参数数据库中包括该通过中间节点传输且该中间节点在该第三方位置上的信息的参数信息对应的服务确定为该目标服务。
可选地,该网络服务系统为移动边缘计算系统,该移动边缘计算系统包括移动边缘管理和移动边缘主机,该移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,该移动边缘平台对应该注册中心,该第一移动边缘应用对应该第一设备,该第二移动边缘应用对应该第二设备,该移动边缘管理用于管理该第一移动边缘应用和该第二移动边缘应用。
可选地,该网络服务系统为服务和系统方面工作组6系统,该服务和系统方面工作组6系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应该注册中心,该外部应用对应该第一设备,该关键业务服务对应该第二设备。
可选地,该网络服务系统为服务和系统方面工作组2系统,该服务和系统方面工作组2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,该网络功能存储功能对应该注册中心,该第一网络功能实例对应该第一设备,该第二网络功能实例对应该第二设备。
因此,本申请实施例的注册中心,通过接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该第一设备发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
图16示出了根据本申请实施例的设备1600的示意性框图。如图16所示,应用于网络服务系统,该网络服务系统包括注册中心、该设备和第二设备,该设备1600对应于前述实施例的第一设备,该设备1600包括:
发送模块1610,用于发送服务发现请求,该服务发现请求携带第一设备所需服务的目标参数信息,且该服务发现请求用于根据服务参数数据库确定该目标参数信息对应的目标服务,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式的信息为带内标识或带外标识,该带内标识用于指示该第一设备和第二设备之间在数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和该第二设备之间的该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;
接收模块1620,用于接收服务响应消息,该服务响应消息该服务响应消息包括该目标服务的描述信息;
该发送模块1610,还用于向该第二设备发送调用信息,该调用信息用于调用该目标服务。
因此,本申请实施例的第一设备,通过向注册中心发送服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,且该服务发现请求用于根据服务参数数据库确定该第一参数信息对应的目标服务,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,之后接收注册中心发送的包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
可选地,在该第二传输模式为该第一设备和该第二设备之间的信息通过中间节点传输时,该目标参数信息还包括该中间节点的位置,该中间节点的位置为在第三方设备上、在该注册中心上或在该第二设备上。
可选地,该网络服务系统为移动边缘计算系统,该移动边缘计算系统包括移动边缘管理和移动边缘主机,该移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,该移动边缘平台对应该注册中心,该第一移动边缘应用对应该设备,该第二移动边缘应用对应该第二设备,该移动边缘管理用于管理该第一移动边缘应用和该第二移动边缘应用。
可选地,该网络服务系统为服务和系统方面工作组6系统,该服务和系统方面工作组6系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应该注册中心,该外部应用对应该设备,该关键业务服务对应该第二设备。
可选地,该网络服务系统为服务和系统方面工作组2系统,该服务和系统方面工作组2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,该网络功能存储功能对应该注册中心,该第一网络功能实例对应该设备,该第二网络功能实例对应该第二设备。
因此,本申请实施例的第一设备,通过向注册中心发送服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,且该服务发现请求用于根据服务参数数据库确定该第一参数信息对应的目标服务,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,之后接收注册中心发送的包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
图17示出了根据本申请实施例的设备1700的示意性框图。如图17所示,应用于网络服务系统,该网络服务系统包括注册中心、第一设备和该设备,该设备1700对应于前述实施例的第一设备,该设备1700包括:
发送模块1710,用于向该注册中心发送注册请求,该注册请求包括第一服务的参数信息,以使该注册中心将该第一服务的参数信息存储到服务参数数据库中,该服务参数数据库用于确定满足目标参数信息对应的目标服务,该目标参数信息为第一设备所需服务的参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式信息为带内标识或带外标识,该带内标识用于指示该第一设备和第二设备之间在数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和第二设备之间的该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;
接收模块1720,用于接收该第一设备发送的调用信息,该调用信息用于调用该目标服务。
因此,本申请实施例的第二设备,通过向注册中心发送注册请求,使得注册中心的参数数据库中存储多个不同服务的参数信息,在接收到服务发现请求后,在参数数据库中进行查询满足需求的参数信息,并确定满足需求的参数信息对应的服务,将该服务的参数信息发送给第一设备,这样第一设备可以调用第二设备的该服务,从而使得第一设备能够得到高质量的服务。
可选地,在该第二传输模式为该第一设备和该第二设备之间的信息通过中间节点传输时,该目标参数信息还包括该中间节点的位置,该中间节点的位置为在第三方设备上、在该注册中心上或在该设备上。
可选地,该网络服务系统为移动边缘计算系统,该移动边缘计算系统包括移动边缘管理和移动边缘主机,该移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,该移动边缘平台对应该注册中心,该第一移动边缘应用对应该第一设备,该第二移动边缘应用对应该设备,该移动边缘管理用于管理该第一移动边缘应用和该第二移动边缘应用。
可选地,该网络服务系统为服务和系统方面工作组6系统,该服务和系统方面工作组6系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应该注册中心,该外部应用对应该第一设备,该关键业务服务对应该设备。
可选地,该网络服务系统为服务和系统方面工作组2系统,该服务和系统方面工作组2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,该网络功能存储功能对应该注册中心,该第一网络功能实例对应该第一设备,该第二网络功能实例对应该设备。
因此,本申请实施例的第二设备,通过向注册中心发送注册请求,使得注册中心的参数数据库中存储多个不同服务的参数信息,在接收到服务发现请求后,在参数数据库中进行查询满足需求的参数信息,并确定满足需求的参数信息对应的服务,将该服务的参数信息发送给第一设备,这样第一设备可以调用第二设备的该服务,从而使得第一设备能够得到高质量的服务。
图18示出了本申请实施例的服务发现的系统1800,该系统1800包括:
如图15所示的实施例中的注册中心1500、如图16所示的实施例中的设备1600和如图17所示的设备1700。
图19示出了本申请的实施例提供的注册中心的结构示意图。如图19所示,该注册中心包括至少一个处理器1902(例如具有计算和处理能力的通用处理器CPU、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)等),处理器1902用于对注册中心内各模块和器件进行管理和调度。图15所示的实施例中的处理模块1520可以通过处理器1902实现。该注册中心还包括至少一个收发器1905(接收器/发送器),存储器1906。图15所示的实施例中的接收模块1510和发送模块1530可以通过收发器1905实现。注册中心的各个组件通过内部连接通路互相通信,传递控制和/或数据信号。
上述本申请实施例揭示的方法可以应用于处理器1902,或者用于执行存储器1906中存储的可执行模块,例如计算机程序。存储器1906可能包含高速随机存取存储器(Random Access Memory,RAM),也可能还包括非不稳定的存储器(non-volatile memory),存储器可以包括只读存储器和随机存取存储器,并向处理器提供需要的信令或数据、程序等等。存储器的一部分还可以包括非易失行随机存取存储器(NVRAM)。通过至少一个收发器1905(可以是有线或者无线)实现与至少一个其他网元之间的通信连接。
在一些实施方式中,存储器1906存储了程序19061,处理器1902执行程序19061,用于执行以下操作:
接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目 标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式的信息为带内标识或带外标识,该带内标识用于指示该第一设备和第二设备之间在数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和该第二设备之间的该数据和该调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;
根据服务参数数据库,确定该目标参数信息对应的目标服务,该服务参数数据库用于存储该第二设备的不同服务的参数信息;
向该第一设备发送服务响应消息,该服务响应消息包括该目标服务的描述信息。
需要说明的是,该注册中心可以具体为图15所示的实施例中的注册中心,并且可以用于执行方法实施例中与注册中心对应的各个步骤和/或流程。
从本申请实施例提供的以上技术方案可以看出,通过接收该第一设备发送的服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,并根据服务参数数据库确定该目标参数信息对应的目标服务,之后向该第一设备发送包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息使得第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
图20示出了本申请的实施例提供的设备的结构示意图。如图20所示,该设备包括至少一个处理器2002(例如具有计算和处理能力的通用处理器CPU、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)等),处理器2002用于对该设备内各模块和器件进行管理和调度。该设备还包括至少一个收发器2005(接收器/发送器),存储器2006。图16所示的实施例中的发送模块1610和接收模块1620可以通过收发器2005实现。该设备的各个组件通过内部连接通路互相通信,传递控制和/或数据信号。
上述本申请实施例揭示的方法可以应用于处理器2002,或者用于执行存储器2006中存储的可执行模块,例如计算机程序。存储器2006可能包含高速随机存取存储器(Random Access Memory,RAM),也可能还包括非不稳定的存储器(non-volatile memory),存储器可以包括只读存储器和随机存取存储器,并向处理器提供需要的信令或数据、程序等等。存储器的一部分还可以包括非易失行随机存取存储器(NVRAM)。通过至少一个收发器2005(可以是有线或者无线)实现与至少一个其他网元之间的通信连接。
在一些实施方式中,存储器2006存储了程序20061,处理器2002执行程序20061,用于执行以下操作:
用于发送服务发现请求,该服务发现请求携带该设备所需服务的目标参数信息,且该服务发现请求用于根据服务参数数据库确定该目标参数信息对应的目标服务,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式的信息为带内标识或带外标识,该带内标识用于指示该第一设备和第二设备之间在数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和该第二设备之间该数据和该调用信息相互独立传输的传输模式,该调用模式为一 次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;
接收服务响应消息,该服务响应消息该服务响应消息包括该目标服务的描述信息;
向该第二设备发送调用信息,该调用信息用于调用该目标服务。
从本申请实施例提供的以上技术方案可以看出,通过向注册中心发送服务发现请求,该服务发现请求携带该第一设备所需服务的目标参数信息,且该服务发现请求用于根据服务参数数据库确定该第一参数信息对应的目标服务,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,之后接收注册中心发送的包括该目标服务的描述信息的服务响应消息,这样对于多样化的服务通过服务支持的参数信息第一设备能够找到合适的服务,进而能够提高服务质量,提高系统的处理效率。
图21示出了本申请的实施例提供的设备的结构示意图。如图21所示,该设备包括至少一个处理器2102(例如具有计算和处理能力的通用处理器CPU、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)等),处理器2102用于对设备内各模块和器件进行管理和调度。该设备还包括至少一个收发器2105(接收器/发送器),存储器2106。图17所示的实施例中的发送模块1710和接收模块1720可以通过收发器2105实现。设备的各个组件通过内部连接通路互相通信,传递控制和/或数据信号。
上述本申请实施例揭示的方法可以应用于处理器2102,或者用于执行存储器2106中存储的可执行模块,例如计算机程序。存储器2106可能包含高速随机存取存储器(Random Access Memory,RAM),也可能还包括非不稳定的存储器(non-volatile memory),存储器可以包括只读存储器和随机存取存储器,并向处理器提供需要的信令或数据、程序等等。存储器的一部分还可以包括非易失行随机存取存储器(NVRAM)。通过至少一个收发器2105(可以是有线或者无线)实现与至少一个其他网元之间的通信连接。
在一些实施方式中,存储器2106存储了程序21061,处理器2102执行程序21061,用于执行以下操作:
向该注册中心发送注册请求,该注册请求包括第一服务的参数信息,以使该注册中心将该第一服务的参数信息存储到服务参数数据库中,该服务参数数据库用于确定满足目标参数信息对应的目标服务,该目标参数信息为第一设备所需服务的参数信息,该目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,该第一传输模式信息为带内标识或带外标识,该带内标识用于指示该第一设备和该第二设备之间在数据中携带调用信息传输的传输模式,该带外标识用于指示该第一设备和该第二设备之间数据和调用信息相互独立传输的传输模式,该调用模式为一次请求一次响应或一次请求多次响应,该传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,该第二传输模式为该第一设备和该第二设备之间的信息直接传输或通过中间节点传输;
接收该第一设备发送的调用信息,该调用信息用于调用该目标服务。
从本申请实施例提供的以上技术方案可以看出,通过向注册中心发送注册请求,使得注册中心的参数数据库中存储多个不同服务的参数信息,在接收到服务发现请求后,在参 数数据库中进行查询满足需求的参数信息,并确定满足需求的参数信息对应的服务,将该服务的参数信息发送给第一设备,这样第一设备可以调用第二设备的该服务,从而使得第一设备能够得到高质量的服务。
本申请实施例还提供了一种计算机存储介质,该计算机存储介质可以存储用于指示上述任一种方法的程序指令。
可选地,该存储介质具体可以为存储器1906、2006或2106。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
该功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上该,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以该权利要求的保护范围为准。

Claims (28)

  1. 一种服务发现的方法,其特征在于,所述方法包括:
    注册中心接收第一设备发送的服务发现请求,所述服务发现请求携带所述第一设备所需服务的目标参数信息,所述目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,所述第一传输模式的信息为带内标识或带外标识,所述带内标识用于指示所述第一设备和第二设备之间在数据中携带调用信息传输的传输模式,所述带外标识用于指示所述第一设备和所述第二设备之间的所述数据和所述调用信息相互独立传输的传输模式,所述调用模式为一次请求一次响应或一次请求多次响应,所述传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,所述第二传输模式为所述第一设备和所述第二设备之间的信息直接传输或通过中间节点传输;
    所述注册中心根据服务参数数据库,确定所述目标参数信息对应的目标服务,所述服务参数数据库用于存储所述第二设备的不同服务的参数信息;
    所述注册中心向所述第一设备发送服务响应消息,所述服务响应消息包括所述目标服务的描述信息。
  2. 根据权利要求1所述的方法,其特征在于,所述注册中心根据服务参数数据库,确定所述目标参数信息对应的目标服务之前,所述方法还包括:
    所述注册中心接收所述第二设备发送的注册请求,所述注册请求包括所述第二设备的第一服务的参数信息;
    所述注册中心将所述第一服务的参数信息存储到所述服务参数数据库中。
  3. 根据权利要求1或2所述的方法,其特征在于,所述目标参数信息包括所述第一传输模式的信息;
    其中,所述注册中心根据服务参数数据库,确定所述目标参数信息对应的目标服务包括:
    若所述第一传输模式的信息为带内标识,所述注册中心将所述服务参数数据库中包括所述带内标识的参数信息对应的服务确定为所述目标服务。
  4. 根据权利要求1或2所述的方法,其特征在于,所述目标参数信息包括所述调用模式的信息;
    其中,所述注册中心根据服务参数数据库,确定所述目标参数信息对应的目标服务包括:
    若所述调用模式为所述一次请求一次响应,所述注册中心将所述服务参数数据库中包括所述一次请求一次响应的信息的参数信息对应的服务确定为所述目标服务。
  5. 根据权利要求1或2所述的方法,其特征在于,所述目标参数信息包括所述传输协议的信息;
    其中,所述根据服务参数数据库,确定所述目标参数信息对应的目标服务包括:
    在所述传输协议为所述高级消息队列接口协议时,所述注册中心将所述服务参数数据库中包括所述高级消息队列接口协议的信息的参数信息对应的服务确定为所述目标服务。
  6. 根据权利要求1或2所述的方法,其特征在于,所述目标参数信息包括所述第二传输模式;
    其中,所述注册中心根据服务参数数据库,确定所述目标参数信息对应的目标服务包括:
    在所述第二传输模式为所述第一设备和所述第二设备之间的信息通过中间节点传输时,所述注册中心将所述服务参数数据库中包括所述通过中间节点传输的信息的参数信息对应的服务确定为所述目标服务。
  7. 根据权利要求6所述的方法,其特征在于,所述目标参数信息还包括中间节点的位置信息,所述中间节点的位置为在第三方设备上、在所述注册中心上或在所述第二设备上;
    其中,所述注册中心在所述第二传输模式为所述通过中间节点传输时,将所述服务参数数据库中包括所述通过中间节点传输的信息的参数信息对应的服务确定为所述目标服务包括:
    在所述第二传输模式为所述通过中间节点传输,且所述中间节点的位置为在所述第三方位置上时,所述注册中心将所述服务参数数据库中包括所述通过中间节点传输且所述中间节点在所述第三方位置上的参数信息对应的服务确定为所述目标服务。
  8. 一种服务发现的方法,其特征在于,包括:
    第一设备发送服务发现请求,所述服务发现请求携带所述第一设备所需服务的目标参数信息,且所述服务发现请求用于根据服务参数数据库确定所述目标参数信息对应的目标服务,所述目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,所述第一传输模式的信息为带内标识或带外标识,所述带内标识用于指示所述第一设备和第二设备之间在数据中携带调用信息传输的传输模式,所述带外标识用于指示所述第一设备和所述第二设备之间的所述数据和所述调用信息相互独立传输的传输模式,所述调用模式为一次请求一次响应或一次请求多次响应,所述传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,所述第二传输模式为所述第一设备和所述第二设备之间的信息直接传输或通过中间节点传输;
    所述第一设备接收服务响应消息,所述服务响应消息所述服务响应消息包括所述目标服务的描述信息;
    所述第一设备向所述第二设备发送调用信息,所述调用信息用于调用所述目标服务。
  9. 根据权利要求8所述的方法,其特征在于,在所述第二传输模式为所述第一设备和所述第二设备之间的信息通过中间节点传输时,所述目标参数信息还包括所述中间节点的位置,所述中间节点的位置为在第三方设备上、在所述注册中心上或在所述第二设备上。
  10. 根据权利要求8或9所述的方法,其特征在于,所述网络服务系统为移动边缘计算系统,所述移动边缘计算系统包括移动边缘管理和移动边缘主机,所述移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,所述移动边缘平台对应所述注册中心,所述第一移动边缘应用对应所述第一设备,所述第二移动边缘应用对应所述第二设备,所述移动边缘管理用于管理所述第一移动边缘应用和所述第二移动边缘应用。
  11. 根据权利要求8或9所述的方法,其特征在于,所述网络服务系统为服务和系统 方面工作组6系统,所述服务和系统方面工作组6系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应所述注册中心,所述外部应用对应所述第一设备,所述关键业务服务对应所述第二设备。
  12. 根据权利要求8或9所述的方法,其特征在于,所述网络服务系统为服务和系统方面工作组2系统,所述服务和系统方面工作组2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,所述网络功能存储功能对应所述注册中心,所述第一网络功能实例对应所述第一设备,所述第二网络功能实例对应所述第二设备。
  13. 一种服务发现的方法,其特征在于,包括:
    第二设备向所述注册中心发送注册请求,所述注册请求包括第一服务的参数信息,以使所述注册中心将所述第一服务的参数信息存储到服务参数数据库中,所述服务参数数据库用于确定满足目标参数信息对应的目标服务,所述目标参数信息为第一设备所需服务的参数信息,所述目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,所述第一传输模式信息为带内标识或带外标识,所述带内标识用于指示所述第一设备和所述第二设备之间在数据中携带调用信息传输的传输模式,所述带外标识用于指示所述第一设备和第二设备之间的所述数据和所述调用信息相互独立传输的传输模式,所述调用模式为一次请求一次响应或一次请求多次响应,所述传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,所述第二传输模式为所述第一设备和所述第二设备之间的信息直接传输或通过中间节点传输;
    所述第二设备接收所述第一设备发送的调用信息,所述调用信息用于调用所述目标服务。
  14. 根据权利要求13所述的方法,其特征在于,在所述第二传输模式为所述第一设备和所述第二设备之间的信息通过中间节点传输时,所述目标参数信息还包括所述中间节点的位置,所述中间节点的位置为在第三方设备上、在所述注册中心上或在所述第二设备上。
  15. 一种注册中心,其特征在于,包括:
    接收模块,接收第一设备发送的服务发现请求,所述服务发现请求携带所述第一设备所需服务的目标参数信息,所述目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,所述第一传输模式的信息为带内标识或带外标识,所述带内标识用于指示所述第一设备和第二设备之间在数据中携带调用信息传输的传输模式,所述带外标识用于指示所述第一设备和所述第二设备之间的所述数据和所述调用信息相互独立传输的传输模式,所述调用模式为一次请求一次响应或一次请求多次响应,所述传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,所述第二传输模式为所述第一设备和所述第二设备之间的信息直接传输或通过中间节点传输;
    处理模块,用于根据服务参数数据库,确定所述目标参数信息对应的目标服务,所述服务参数数据库用于存储所述第二设备的不同服务的参数信息;
    发送模块,向所述第一设备发送服务响应消息,所述服务响应消息包括所述目标服务的描述信息。
  16. 根据权利要求15所述的注册中心,其特征在于,所述接收模块,还用于接收所述第二设备发送的注册请求,所述注册请求包括所述第二设备的第一服务的参数信息;
    所述处理模块,还用于将所述第一服务的参数信息存储到所述服务参数数据库中。
  17. 根据权利要求15或16所述的注册中心,其特征在于,所述目标参数信息包括所述第一传输模式的信息;
    所述处理模块具体用于:
    若所述第一传输模式的信息为带内标识,将所述服务参数数据库中包括所述带内标识的参数信息对应的服务确定为所述目标服务。
  18. 根据权利要求15或16所述的注册中心,其特征在于,所述目标参数信息包括所述调用模式的信息;
    所述处理模块具体用于:
    若所述调用模式为所述一次请求一次响应,将所述服务参数数据库中包括所述一次请求一次响应的信息的参数信息对应的服务确定为所述目标服务。
  19. 根据权利要求15或16所述的注册中心,其特征在于,所述目标参数信息包括所述传输协议的信息;
    所述处理模块具体用于:
    在所述传输协议为所述高级消息队列接口协议时,将所述服务参数数据库中包括所述高级消息队列接口协议的信息的参数信息对应的服务确定为所述目标服务。
  20. 根据权利要求15或16所述的注册中心,其特征在于,所述目标参数信息包括所述第二传输模式;
    所述处理模块具体用于:
    在所述第二传输模式为所述第一设备和所述第二设备之间的信息通过中间节点传输时,所述注册中心将所述服务参数数据库中包括所述通过中间节点传输的信息的参数信息对应的服务确定为所述目标服务。
  21. 根据权利要求20所述的注册中心,其特征在于,所述目标参数信息还包括中间节点的位置信息,所述中间节点的位置为在第三方设备上、在所述注册中心上或在所述第二设备上;
    所述处理模块具体用于:
    在所述第二传输模式为所述通过中间节点传输,且所述中间节点的位置为在所述第三方位置上时,所述注册中心将所述服务参数数据库中包括所述通过中间节点传输且所述中间节点在所述第三方位置上的参数信息对应的服务确定为所述目标服务。
  22. 一种设备,其特征在于,包括:
    发送模块,用于发送服务发现请求,所述服务发现请求携带第一设备所需服务的目标参数信息,且所述服务发现请求用于根据服务参数数据库确定所述目标参数信息对应的目标服务,所述目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,所述第一传输模式的信息为带内标识或带外标识,所述带内标识用于指示所述第一设备和第二设备之间在数据中携带调用信息传输的传输模式,所述带外标识用于指示所述第一设备和所述第二设备之间的所述数据和所述调用信息相互独立传输的传输模式,所述调用模式为一次请求一次响应或一次请求多次响应,所 述传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,所述第二传输模式为所述第一设备和所述第二设备之间的信息直接传输或通过中间节点传输;
    接收模块,用于接收服务响应消息,所述服务响应消息所述服务响应消息包括所述目标服务的描述信息;
    所述发送模块,还用于向第二设备发送调用信息,所述调用信息用于调用所述目标服务。
  23. 根据权利要求22所述的设备,其特征在于,在所述第二传输模式为所述第一设备和所述第二设备之间的信息通过中间节点传输时,所述目标参数信息还包括所述中间节点的位置,所述中间节点的位置为在第三方设备上、在所述注册中心上或在所述第二设备上。
  24. 根据权利要求22或23所述的设备,其特征在于,所述网络服务系统为移动边缘计算系统,所述移动边缘计算系统包括移动边缘管理和移动边缘主机,所述移动边缘主机包括移动边缘平台、第一移动边缘应用和第二移动边缘应用,所述移动边缘平台对应所述注册中心,所述第一移动边缘应用对应所述第一设备,所述第二移动边缘应用对应所述第二设备,所述移动边缘管理用于管理所述第一移动边缘应用和所述第二移动边缘应用。
  25. 根据权利要求22或23所述的设备,其特征在于,所述网络服务系统为服务和系统方面工作组6系统,所述服务和系统方面工作组6系统包括服务注册服务器、关键业务服务和外部应用,服务注册服务器对应所述注册中心,所述外部应用对应所述第一设备,所述关键业务服务对应所述第二设备。
  26. 根据权利要求22或23所述的设备,其特征在于,所述网络服务系统为服务和系统方面工作组2系统,所述服务和系统方面工作组2系统包括网络功能存储功能、第一网络功能实例和第二网络功能实例,所述网络功能存储功能对应所述注册中心,所述第一网络功能实例对应所述第一设备,所述第二网络功能实例对应所述第二设备。
  27. 一种设备,其特征在于,包括:
    发送模块,用于向所述注册中心发送注册请求,所述注册请求包括第一服务的参数信息,以使所述注册中心将所述第一服务的参数信息存储到服务参数数据库中,所述服务参数数据库用于确定满足目标参数信息对应的目标服务,所述目标参数信息为第一设备所需服务的参数信息,所述目标参数信息包括第一传输模式的信息、调用模式的信息、传输协议的信息和第二传输模式的信息中的至少一项,所述第一传输模式信息为带内标识或带外标识,所述带内标识用于指示所述第一设备和第二设备之间在数据中携带调用信息传输的传输模式,所述带外标识用于指示所述第一设备和第二设备之间的所述数据和所述调用信息相互独立传输的传输模式,所述调用模式为一次请求一次响应或一次请求多次响应,所述传输协议为表述性状态转换应用程序编程接口协议、高级消息队列接口协议、消息队列遥测传输协议和远程过程调用协议中的任一项,所述第二传输模式为所述第一设备和所述第二设备之间的信息直接传输或通过中间节点传输;
    接收模块,用于接收所述第一设备发送的调用信息,所述调用信息用于调用所述目标服务。
  28. 根据权利要求27所述的设备,其特征在于,在所述第二传输模式为所述第一设 备和所述第二设备之间的信息通过中间节点传输时,所述目标参数信息还包括所述中间节点的位置,所述中间节点的位置为在第三方设备上、在所述注册中心上或在所述设备上。
PCT/CN2018/089502 2017-06-02 2018-06-01 服务发现的方法、注册中心和设备 WO2018219343A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
KR1020197038579A KR102259804B1 (ko) 2017-06-02 2018-06-01 서비스 발견을 위한 방법, 등록 센터 및 디바이스
JP2019566282A JP7074774B2 (ja) 2017-06-02 2018-06-01 サービス発見方法、登録センター、およびデバイス
EP18809196.1A EP3629552B1 (en) 2017-06-02 2018-06-01 Method, registration center and device for service discovery
BR112019025213-4A BR112019025213A2 (pt) 2017-06-02 2018-06-01 Método de descoberta de serviço, centro de registro, e dispositivo
US16/700,445 US11363105B2 (en) 2017-06-02 2019-12-02 Determining a target service based on a service discovery request

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710408088.4 2017-06-02
CN201710408088.4A CN108989372B (zh) 2017-06-02 2017-06-02 服务发现的方法、注册中心和设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/700,445 Continuation US11363105B2 (en) 2017-06-02 2019-12-02 Determining a target service based on a service discovery request

Publications (1)

Publication Number Publication Date
WO2018219343A1 true WO2018219343A1 (zh) 2018-12-06

Family

ID=64456345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089502 WO2018219343A1 (zh) 2017-06-02 2018-06-01 服务发现的方法、注册中心和设备

Country Status (7)

Country Link
US (1) US11363105B2 (zh)
EP (1) EP3629552B1 (zh)
JP (1) JP7074774B2 (zh)
KR (1) KR102259804B1 (zh)
CN (2) CN108989372B (zh)
BR (1) BR112019025213A2 (zh)
WO (1) WO2018219343A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110417904A (zh) * 2019-08-02 2019-11-05 中国工商银行股份有限公司 一种推送信息处理方法、装置及系统
KR20200117545A (ko) * 2019-04-04 2020-10-14 한국전자통신연구원 에지 컴퓨팅 장치
WO2021083926A1 (en) * 2019-10-31 2021-05-06 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for network function discovery with preferred api version
EP3863272A1 (en) * 2020-02-04 2021-08-11 Nokia Technologies Oy Notifications sent with indirect communication in sba
CN115002229A (zh) * 2022-06-08 2022-09-02 阿里巴巴(中国)有限公司 边缘云网络系统、调度方法、设备、系统及存储介质

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020063044A1 (zh) * 2018-09-29 2020-04-02 深圳前海达闼云端智能科技有限公司 节点通讯方法,服务器,客户端
CN109857572B (zh) * 2018-12-29 2022-03-01 阿波罗智能技术(北京)有限公司 实现远程调用的方法、装置、设备及计算机可读存储介质
CN111405635B (zh) * 2019-01-02 2022-07-01 中国移动通信有限公司研究院 能力开放的实现方法、装置、设备及计算机可读存储介质
CN111404714A (zh) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 一种网络传送层连接控制方法及网络设备
CN111629401B (zh) * 2019-02-27 2021-11-26 大唐移动通信设备有限公司 一种边缘应用的数据分流方法及系统
CN111770122B (zh) * 2019-04-02 2023-09-08 中国移动通信有限公司研究院 服务通信代理scp注册方法、服务调用方法及网络设备
WO2020209703A1 (en) * 2019-04-12 2020-10-15 Samsung Electronics Co., Ltd. Method and system for discovering edge-server or edge-service through domain name server (dns) resolution
CN111835802B (zh) * 2019-04-18 2021-08-27 大唐移动通信设备有限公司 一种通信方法及装置
CN110392114B (zh) * 2019-07-26 2022-02-08 中国工商银行股份有限公司 跨多注册中心的服务调用处理系统及方法
CN112583873B (zh) * 2019-09-30 2022-07-19 中国移动通信有限公司研究院 服务发现方法、装置及功能网元
CN110769055B (zh) * 2019-10-22 2022-06-10 北京地平线机器人技术研发有限公司 用于实现服务发现的方法、装置、介质以及电子设备
CN113050962B (zh) * 2019-12-27 2024-04-26 华为技术有限公司 移动服务升级方法、装置和终端
CN111865746B (zh) * 2020-06-19 2022-08-19 苏宁云计算有限公司 基于环路总线的系统开发方法及装置
US12009951B2 (en) 2020-07-22 2024-06-11 Marvell Asia Pte Ltd. Optimizing host / module interface
CN111988398A (zh) * 2020-08-19 2020-11-24 政采云有限公司 一种数据获取方法、api网关、介质
CN112491944A (zh) * 2020-09-02 2021-03-12 中兴通讯股份有限公司 边缘应用发现方法及装置、边缘应用服务支持方法及装置
CN112202844B (zh) * 2020-09-10 2022-05-06 中国联合网络通信集团有限公司 一种跨域多接入边缘计算能力开放的方法及设备
CN112152856B (zh) * 2020-09-25 2021-10-01 广州爱浦路网络技术有限公司 边缘服务器管理系统及方法
CN112399267A (zh) * 2020-11-04 2021-02-23 北京格非科技股份有限公司 基于nmos的ip系统中硬件面板控制系统及调度方法
CN114697231B (zh) * 2020-12-31 2023-08-01 电科云(北京)科技有限公司 基于网关的服务发现与服务注册方法和装置
US11956281B2 (en) * 2021-03-31 2024-04-09 Tencent America LLC Method and apparatus for edge application server discovery or instantiation by application provider to run media streaming and services on 5G networks
CN113452763B (zh) * 2021-06-11 2024-01-30 青岛海尔科技有限公司 智慧家庭业务注册的方法、装置和智慧家庭系统
CN115811715A (zh) * 2021-09-15 2023-03-17 华为技术有限公司 一种通信方法和通信装置
CN113992690B (zh) * 2021-10-26 2023-10-27 北京百度网讯科技有限公司 消息传递方法、装置、设备和存储介质
WO2023093795A1 (en) * 2021-11-25 2023-06-01 Telefonaktiebolaget Lm Ericsson (Publ) Network node, user equipment, and methods therein for communication in edgeapp
CN114172946B (zh) * 2021-12-06 2024-06-18 京东科技信息技术有限公司 请求结果发送方法、装置、电子设备和计算机可读介质
CN114422581B (zh) * 2021-12-22 2024-05-24 网络通信与安全紫金山实验室 服务创建方法、装置、计算机设备和存储介质
CN116367225A (zh) * 2021-12-28 2023-06-30 中兴通讯股份有限公司 服务发现的处理方法、设备和存储介质
CN114598743A (zh) * 2022-03-17 2022-06-07 上海小度技术有限公司 一种服务发现方法、装置、电子设备及存储介质
CN117081765A (zh) * 2022-05-10 2023-11-17 中国移动通信有限公司研究院 第一平台的接入方法、第一平台、系统和存储介质
CN115002195B (zh) * 2022-05-31 2024-06-25 深圳市和讯华谷信息技术有限公司 自适应对等模式的服务注册发现方法、系统及介质
CN115102999B (zh) * 2022-06-09 2024-02-09 光大科技有限公司 DevOps系统、服务提供方法、存储介质和电子装置
WO2024031481A1 (en) * 2022-08-10 2024-02-15 Nokia Technologies Oy Service enhancement of device and applications thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2367356B1 (en) * 2010-03-17 2012-05-23 Lg Electronics Inc. Method for IPTV service discovery and IPTV receiver using the same
CN105245595A (zh) * 2015-09-30 2016-01-13 小米科技有限责任公司 服务响应方法及装置
CN106330398A (zh) * 2016-08-29 2017-01-11 中国联合网络通信集团有限公司 一种确定物联网业务的数据传输模式的方法及装置

Family Cites Families (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6802042B2 (en) * 1999-06-01 2004-10-05 Yodlee.Com, Inc. Method and apparatus for providing calculated and solution-oriented personalized summary-reports to a user through a single user-interface
US20030061294A1 (en) * 2000-09-19 2003-03-27 Stennicke Michael B. Method and apparatus for digital media exchange
US6954456B2 (en) * 2001-12-14 2005-10-11 At & T Corp. Method for content-aware redirection and content renaming
US7716357B2 (en) * 2003-10-24 2010-05-11 Microsoft Corporation Service discovery and publication
KR100513044B1 (ko) * 2003-12-17 2005-09-06 한국전자통신연구원 사용자 선호정보에 따른 디바이스 자동 연결 장치 및 그방법
CN1957559A (zh) * 2004-05-27 2007-05-02 Lg电子株式会社 家庭网络系统
BRPI0512246A (pt) 2004-06-16 2008-02-19 Lg Electronics Inc método de serviço de transmissão/múltipla transmissão baseado em informação de localização de usuário
US20070208587A1 (en) * 2005-12-08 2007-09-06 Arun Sitaraman Systems, software, and methods for communication-based business process messaging
US8832302B1 (en) * 2006-03-31 2014-09-09 Rockwell Collins, Inc. System and method for a priori scheduling of network services
US7853694B2 (en) * 2006-12-07 2010-12-14 Electronics And Telecommunications Research Institute System and method for providing contents service using service relaying apparatus
JP4860756B2 (ja) * 2006-12-08 2012-01-25 テレフオンアクチーボラゲット エル エム エリクソン(パブル) ユーザデバイス、その制御方法、及びimsユーザ装置
CN101459908B (zh) * 2007-12-13 2012-04-25 华为技术有限公司 一种业务订阅方法、系统、服务器
US8635341B2 (en) * 2008-02-14 2014-01-21 Microsoft Corporation Termination criteria in service discovery request
CN101237457B (zh) * 2008-03-14 2010-09-29 华为技术有限公司 一种服务发现方法、系统及设备
WO2014098437A1 (ko) * 2012-12-17 2014-06-26 엘지전자 주식회사 무선랜 시스템에서 서비스 발견 방법 및 장치
US10194414B2 (en) * 2013-01-07 2019-01-29 Futurewei Technologies, Inc. Information centric networking based service centric networking
US9007945B2 (en) * 2013-01-23 2015-04-14 Dell Products L.P. Automated network service discovery and communication
US9876862B1 (en) * 2013-02-19 2018-01-23 Marvell International Ltd. Service identification with reduced ambiguity
JP6241045B2 (ja) * 2013-03-06 2017-12-06 株式会社デンソー 通信システム、車載装置及び配信装置
US9552232B2 (en) * 2013-03-12 2017-01-24 Xerox Corporation System and process to recommend cloud service cloud configuration based on service similarity
CN105210344B (zh) 2013-05-16 2018-09-18 Lg电子株式会社 在m2m通信系统中的定制和通知方法和用于该方法的设备
US20150019620A1 (en) * 2013-07-09 2015-01-15 Kaminario Technologies Ltd. High availability for communications based on remote procedure calls
CN104426871A (zh) 2013-08-29 2015-03-18 中兴通讯股份有限公司 一种远程调用的方法和装置
US10045387B2 (en) * 2014-01-22 2018-08-07 Lg Electronics Inc. Method for constructing docking protocol by using direct communication, and apparatus therefor
CN105900528B (zh) * 2014-02-10 2021-01-29 英特尔公司 用于无线千兆位显示扩展的Wi-Fi直连服务机制
NZ763096A (en) * 2014-04-08 2022-02-25 Family Zone Cyber Safety Ltd A device management system
CN105100137B (zh) * 2014-04-26 2019-05-24 华为终端有限公司 一种服务发现的方法及电子设备
KR102251353B1 (ko) * 2014-11-25 2021-05-12 삼성전자주식회사 근접 네트워크 구성 방법 및 그 전자 장치
US9930103B2 (en) * 2015-04-08 2018-03-27 Amazon Technologies, Inc. Endpoint management system providing an application programming interface proxy service
WO2016199515A1 (ja) * 2015-06-12 2016-12-15 ソニー株式会社 装置、方法及びプログラム
US10757104B1 (en) * 2015-06-29 2020-08-25 Veritas Technologies Llc System and method for authentication in a computing system
CN105516250B (zh) * 2015-11-25 2019-03-05 北京邮电大学 物联网服务调用平台和系统
US10764393B2 (en) * 2016-04-21 2020-09-01 Hewlett Packard Enterprise Development Lp Determining a persistent network identity of a networked device
US10701745B2 (en) * 2016-12-28 2020-06-30 Intel IP Corporation Secure ad hoc network access

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2367356B1 (en) * 2010-03-17 2012-05-23 Lg Electronics Inc. Method for IPTV service discovery and IPTV receiver using the same
CN105245595A (zh) * 2015-09-30 2016-01-13 小米科技有限责任公司 服务响应方法及装置
CN106330398A (zh) * 2016-08-29 2017-01-11 中国联合网络通信集团有限公司 一种确定物联网业务的数据传输模式的方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3629552A4

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200117545A (ko) * 2019-04-04 2020-10-14 한국전자통신연구원 에지 컴퓨팅 장치
KR102329222B1 (ko) * 2019-04-04 2021-11-22 한국전자통신연구원 에지 컴퓨팅 장치
CN110417904A (zh) * 2019-08-02 2019-11-05 中国工商银行股份有限公司 一种推送信息处理方法、装置及系统
CN110417904B (zh) * 2019-08-02 2022-03-25 中国工商银行股份有限公司 一种推送信息处理方法、装置及系统
WO2021083926A1 (en) * 2019-10-31 2021-05-06 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatuses for network function discovery with preferred api version
EP3863272A1 (en) * 2020-02-04 2021-08-11 Nokia Technologies Oy Notifications sent with indirect communication in sba
US11650866B2 (en) 2020-02-04 2023-05-16 Nokia Technologies Oy Notifications sent with indirect communication in SBA
CN115002229A (zh) * 2022-06-08 2022-09-02 阿里巴巴(中国)有限公司 边缘云网络系统、调度方法、设备、系统及存储介质

Also Published As

Publication number Publication date
CN108989372B (zh) 2021-04-09
KR20200012945A (ko) 2020-02-05
CN108989372A (zh) 2018-12-11
EP3629552A1 (en) 2020-04-01
CN113162996B (zh) 2023-03-24
JP2020522201A (ja) 2020-07-27
EP3629552B1 (en) 2022-02-16
EP3629552A4 (en) 2020-06-24
US20200106840A1 (en) 2020-04-02
CN113162996A (zh) 2021-07-23
JP7074774B2 (ja) 2022-05-24
US11363105B2 (en) 2022-06-14
BR112019025213A2 (pt) 2020-06-23
KR102259804B1 (ko) 2021-06-03

Similar Documents

Publication Publication Date Title
WO2018219343A1 (zh) 服务发现的方法、注册中心和设备
US11240321B2 (en) Systems and methods for enabling access to third party services via a service layer
KR102046700B1 (ko) 메시지 버스 서비스 디렉토리
KR101877188B1 (ko) Mqtt 프로토콜을 이용한 서비스 층 상호연동
WO2022170518A1 (zh) 一种确定终端设备的地址的方法及装置、网络设备
US11889409B2 (en) Method of and a device for operating network gateway services in a service based telecommunications system
JP2023526361A (ja) ネットワークスライスにアクセスする方法、電子デバイスおよび記憶媒体
JP2020536433A (ja) サービス機能の要件および選好に基づくサービス登録
EP4311280A1 (en) Communication method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18809196

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019566282

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112019025213

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 20197038579

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018809196

Country of ref document: EP

Effective date: 20200102

ENP Entry into the national phase

Ref document number: 112019025213

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20191128