EP3629552B1

Method, registration center and device for service discovery

Abstract

This record has no abstract on file.

EP3629552B1, drawing sheet 1
Sheet 1 of 14

Term

11.7 yearsleft in the term

Expires 1 June 2038.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

12 claims: 2 independent, 10 dependent

  1. 1
    A service discovery method, wherein the method comprises:receiving(601), by a registration center, a service discovery request sent by a first device, wherein the service discovery request carries target parameter information of a service needed by the first device, the target parameter information comprises information about an invocation mode the invocation mode is one-request-one-response or one-request-multiple-response;determining(602), by the registration center based on a service parameter database, a target service corresponding to the target parameter information, wherein the service parameter database is used to store parameter information of different services of a second device;and sending (603), by the registration center, a service response message to the first device, wherein the service response message comprises description information of the target service, so that the first device is configured to send invocation information based on the description information of the target service to the second device to invoke the target service of the second device, wherein the one-request-one-response is a service that, after the first device sends invocation information to the second device once, the second device responds to an invocation information request once, and the one-request-multiple-response is a service that, after the first device sends invocation information to the second device once, the second device responds to an invocation information request a plurality of times.
  2. 4
    A service discovery method, comprising:sending, by a first device, a service discovery request, wherein the service discovery request carries target parameter information of a service needed by the first device and the service discovery request is used to determine, based on a service parameter database, which is used to store parameter information of different services of a second device, a target service corresponding to the target parameter information, the target parameter information comprises information about an invocation mode, the invocation mode is one-request-one-response or one-request-multiple-response;receiving, by the first device, a service response message, wherein the service response message comprises description information of the target service;and sending, by the first device, invocation information based on the description information of the target service to the second device, wherein the invocation information is used to invoke the target service;wherein the one-request-one-response is a service that, after the first device sends the invocation information to the second device once, the second device responds to an invocation information request once and the one-request-multiple-response is a service that, after the first device sends invocation information to the second device once, the second device responds to an invocation information request a plurality of times.
  3. 8
    A communications apparatus, configured to perform the method according to any one of claims 1 to 3.
  4. 9
    A communications apparatus, configured to perform the method according to any one of claims 4 to 7.
  5. 10
    A computer readable storage medium, wherein the computer readable storage medium stores an instruction, when the instruction runs on a computer, the computer is enabled to perform the methods according to any one of claims 1 to 3.
  6. 11
    A computer readable storage medium, wherein the computer readable storage medium stores an instruction, when the instruction runs on a computer, the computer is enabled to perform the methods according to any one of claims 4 to 7.