WO2023016233A1 - 服务发现方法及电子设备 - Google Patents

服务发现方法及电子设备 Download PDF

Info

Publication number
WO2023016233A1
WO2023016233A1 PCT/CN2022/107451 CN2022107451W WO2023016233A1 WO 2023016233 A1 WO2023016233 A1 WO 2023016233A1 CN 2022107451 W CN2022107451 W CN 2022107451W WO 2023016233 A1 WO2023016233 A1 WO 2023016233A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
management node
node
list
information
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2022/107451
Other languages
English (en)
French (fr)
Inventor
金星
生嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Publication of WO2023016233A1 publication Critical patent/WO2023016233A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the communication field, in particular to a communication connection method and device.
  • the basic service layer is used to provide device discovery and service discovery functions.
  • Device discovery is used for T nodes to discover surrounding G nodes. Establish a wireless link connection with the G node, and then the T node obtains the service information of the G node through the service discovery process.
  • this method is very cumbersome for the terminal device, and the terminal device needs to perform two confirmations before obtaining the service message of the G node: device confirmation and service confirmation, and a link connection needs to be established.
  • the T node needs to perform multiple confirmations and establish link connections to obtain appropriate service messages and confirm the G nodes that provide services for it. This not only increases the time delay of service discovery, but also wastes resources for the T node and other G nodes that cannot provide services for the T node.
  • the main purpose of this application is to provide a service discovery method and electronic equipment, which can solve the technical problems of high service discovery delay and waste of resources for establishing link connections in the traditional Starlight short-distance communication system.
  • the first technical solution adopted by this application is: provide a service discovery method, which is applied to the managed node, the method includes: discovering the management node; obtaining the service provision information of the management node; if the service provision information Indicates that the management node can provide the target service required by the managed node, then establishes a wireless link connection with the management node, otherwise does not establish a wireless link connection with the management node.
  • the second technical solution adopted by this application is to provide a service discovery method, which is applied to the management node, and the method includes: sending the first system message, the first system message includes the information used to send the service query message resource information; receive a service query message from the managed node; respond to the service query message, and send service provision information to the managed node, where the service provision information includes a service query response and/or a service list of the management node.
  • the third technical solution adopted by the present application is to provide a service discovery method applied to a management node, and the method includes: broadcasting a service list of the management node.
  • the fourth technical solution adopted by this application is to provide an electronic device, including a memory and a processor, the memory is used to store program data, and the program data can be executed by the processor to achieve the first The service discovery method in the technical solution.
  • the fifth technical solution adopted by this application is to provide an electronic device, including a memory and a processor, the memory is used to store program data, and the program data can be executed by the processor to realize the second The service discovery method in the technical solution.
  • the sixth technical solution adopted by this application is to provide an electronic device, including a memory and a processor, the memory is used to store program data, and the program data can be executed by the processor to realize the third The service discovery method in the technical solution.
  • the beneficial effects of the present application are: by obtaining the service provision information of the management node before the establishment of the wireless link connection, according to the service provision information indicating whether the management node can provide the target service required by the managed node, and choosing whether to establish a service with the management node Wireless link connection.
  • the process of service discovery the process of establishing a wireless link connection is skipped, and it is judged whether a wireless link connection needs to be established according to the result of service discovery, so that the service discovery delay is shortened in the communication process of the entire system, and saving Unnecessary wireless link connection establishment consumes resources.
  • the overall protocol stack of the Starlight short-distance communication system refers to the 7-layer protocol of OSI, which supports cross-layer optimized protocol transmission for specific applications, adopts modular design, and is compatible with protocols such as TCP/IP.
  • the protocol stack structure of the Starlight short-distance communication system can be divided into three layers: the access layer, the basic service layer and the basic application layer.
  • the access layer provides the underlying communication interface of Starlight to realize basic communication functions.
  • the basic service layer contains several basic service functional units, providing modular basic services for the upper layer.
  • the basic application layer implements basic application functions and serves various application scenarios.
  • the management node is generally called a G node
  • the managed node is generally called a T node.
  • the T node receives data scheduling information and sends data according to the data scheduling information.
  • the G node sends data scheduling information.
  • a single G node can manage a certain number of T nodes, and a single G node and its connected T nodes form a communication domain, and the G node and these T nodes jointly complete specific communication functions.
  • FIG. 2 is a schematic flowchart of the first embodiment of the service discovery method of the present application.
  • the service discovery method in this embodiment is applied to the managed node, including the following steps:
  • the discovery process is mainly that the managed node receives the synchronization message and broadcast information from the management node and receives the first system message from the management node.
  • the managed node can parse out the following messages in the communication domain: wireless frame timing; communication domain type, advanced domain or common domain; domain synchronization identification, used for pseudo-random sequence generation and bit scrambling etc.
  • the managed node can parse out the following messages in the communication domain: superframe timing and superframe number; CP type, regular CP or extended CP; wireless frame structure; broadcast/system message Change instructions; change cycle of broadcast/system messages, etc.
  • the managed node After successfully parsing the synchronization message and the broadcast message, the managed node can synchronize with the management node and know the resource of the first system message. Then the managed node receives the first system message, and can analyze it to obtain: the domain name and domain ID of the communication domain; random access resources; power control parameters; public resources for ACK/NACK feedback; key agreement algorithm between GTs; The high-level domain is the resource configured by the common domain; the transmission mode of the super frame, etc.
  • the managed node can obtain the service provision information of the management node.
  • the service offering information may include a service query response and/or a service list of the management node.
  • the service query message may include the information of the target service and/or a request for the service list of the management node.
  • the target service is the service required by the managed node.
  • the service query message may also include a type identifier of the service provision information, which is used for the management node to identify the managed node. Specifically, it may be a random number with N bits used to identify the managed node.
  • the method for the managed node to obtain the service provision information of the management node can be specifically implemented through the steps in the second and third embodiments of the present application.
  • S13 Determine whether the service provision information indicates that the management node can provide the target service required by the managed node.
  • the managed node When the managed node receives a positive response to the service query response and/or the received service list of the management node contains the target service, it will send a wireless link connection establishment request to the management node to establish a wireless link with the management node Connections are used for subsequent services.
  • the managed node does not send a connection establishment request to the management node, and continues to execute S11 to discover a new management node, and performs the same service provision information acquisition process and judgment process until it finds a management node that meets the target service requirements, and sends a connection establishment request to it Or all discoverable management nodes that have been traversed do not meet the requirements of the target service.
  • FIG. 3 is a schematic flowchart of a second embodiment of the service discovery method of the present application.
  • the service discovery method in this embodiment is applied to the managed node, including the following steps:
  • S21 Receive a synchronization message and a broadcast message from the management node.
  • the service query message is used to request the management node to provide information about the service.
  • the service query message may include information of a target service and/or a request for a management node's service list.
  • the target service is the service required by the managed node.
  • the service query message may also include a type identifier of the service provision information, which is used for the management node to identify the managed node. Specifically, it may be a random number with N bits used to identify the managed node. The random number can be selected in random access resources. This type identifier is also used to indicate that the managed node expects the service provision message of the management node to include confirmation or denial of the service query message, or a list of all services supported by the management node.
  • the management node needs to use the type identification of the service provision information to scramble the confirmation or denial message, so as to avoid confusion. If the identification type indicates that the service provision message of the management node is to provide the entire service list of the management node, no scrambling is required.
  • S24 Receive the service provision information from the management node.
  • the managed node receives the synchronization message, the broadcast message and the first system message from the management node.
  • the first system message also includes a resource message for the managed node to send a service query message.
  • the resource message includes the public link resource configured by the management node for the managed node to send the query message.
  • the managed node sends a service query message to the management node on a specific public link resource through the obtained resource message.
  • the management node needs to use the type identifier of the service provision information to scramble the acknowledgment or denial message, so as to distinguish between replies to different The services of managed nodes provide information. If the service provision message of the management node received by the managed node is to provide the entire service list of the management node, no scrambling is required.
  • the service provision message may be an extension to an existing system message, or may be a newly added system message.
  • S25 Determine whether the service provision information indicates that the management node can provide the target service required by the managed node.
  • the managed node When the managed node receives a positive response to the service query and/or the received service list of the management node contains the target service, it will initiate random access through random access resources, and send a wireless link connection establishment message to the management node. Request to establish a wireless link connection with the management node for subsequent services.
  • the managed node After giving up establishing a wireless link connection with the management node, the managed node performs the same service provision information acquisition process and judgment process again until it finds a management node that meets the target service requirements, sends a connection establishment request to it, or has traversed all available nodes. None of the discovered management nodes meet the requirements of the target service.
  • FIG. 4 is a schematic flowchart of a third embodiment of the service discovery method of the present application.
  • the service discovery method in this embodiment is applied to the managed node, including the following steps:
  • S31 Receive a synchronization message and a broadcast message from the management node.
  • S32 Receive a first system message from the management node.
  • S33 Receive the service list broadcast by the management node.
  • the managed node receives the synchronization message, the broadcast message and the first system message from the management node.
  • the first system message may include a service list of the management node.
  • the first system message includes scheduling information of the second system message
  • the second system message includes the service list of the management node.
  • the scheduling information is information such as time-frequency resources and sending periods of the second system message.
  • the managed node can obtain the second system message by parsing the scheduling information.
  • the second system message may be a newly added system message, or an extended existing system message.
  • S34 Determine whether the service provision information indicates that the management node can provide the target service required by the managed node.
  • S35 Establish a wireless link connection with the management node.
  • the managed node When the managed node contains the target service in the service list received by the management node, it will initiate random access through random access resources, and send a wireless link connection establishment request to the management node to establish a wireless link connection with the management node for follow-up services.
  • the managed node After giving up establishing a wireless link connection with the management node, the managed node performs the same service provision information acquisition process and judgment process again until it finds a management node that meets the target service requirements, sends a connection establishment request to it, or has traversed all available nodes. None of the discovered management nodes meet the requirements of the target service.
  • FIG. 5 is a schematic flowchart of a fourth embodiment of the service discovery method of the present application.
  • the service discovery method in this embodiment is applied to the managed node, including the following steps:
  • S41 Receive a synchronization message and a broadcast message from the management node.
  • S42 Receive a first system message from the management node.
  • the first system message includes a broadcast identifier, and the broadcast identifier is used to indicate whether the management node is in the broadcast service list.
  • S43 Determine whether the management node is broadcasting the service list.
  • the managed node judges whether the management node is broadcasting the service list through the broadcast identifier, and if the management node does not broadcast the service list, execute S44; otherwise, jump to S46.
  • the broadcasting of the service list here means that the management node has the behavior of broadcasting the service list. This behavior can be periodic or aperiodic, and not only includes that the management node is currently broadcasting the service list.
  • the service query message is used to request the management node to provide information about the service.
  • the service query message also includes a type identifier of the service provision information, which is used by the management node to identify the managed node. Specifically, it may be a random number with N bits used to identify the managed node.
  • the type identifier is also used to indicate that the managed node expects the service provision message of the management node to include a confirmation or denial message for the service query message, or a list of all services supported by the management node.
  • the management node needs to use the type identification of the service provision information to scramble the confirmation or denial message, so as to distinguish between replies to different managed Node services provide information. If the identification type indicates that the service provision message of the management node is to provide the entire service list of the management node, no scrambling is required.
  • the managed node carries a 12-bit service provision information type identifier, and the identifier can be selected from random access resources. If the value of the 12 bits is one of 0001-FFFF, it means that the managed node expects the base station to feed back an acknowledgment message or a denial message including a service query response. And the message is scrambled with 12 bits of information. Only managed nodes that know the scrambling code information can correctly receive the service query response message. If the 12 bits are all 0 information, it means that the managed node expects the base station to feed back a list of all services that the management node can support. At this time, the message does not need to be scrambled, and all the managed nodes in the communication domain can accept and decode the message, so as to obtain the service list of the management node.
  • S45 Receive the service provision information from the management node.
  • the service offering information may include a service query response and/or a service list of the management node.
  • the service query message includes information of a target service and/or a request for a management node's service list.
  • S47 Determine whether the service provision information indicates that the management node can provide the target service required by the managed node.
  • the managed node After the managed node receives the service provision information sent by the management node, if it is an acknowledgment or denial message, it uses the type identifier of the service provision information to descramble the message. If it is the service list of the management node, then directly query whether the required service is included in the service list.
  • the service provision information is confirmation or the service list contains the required service
  • random access will be initiated through random access resources, and a wireless link connection establishment request will be sent to the management node for link connection.
  • the managed node After giving up establishing a wireless link connection with the management node, the managed node performs the same service provision information acquisition process and judgment process again until it finds a management node that meets the target service requirements, sends a connection establishment request to it, or has traversed all available nodes. None of the discovered management nodes meet the requirements of the target service.
  • FIG. 6 is a schematic flowchart of a fifth embodiment of the service discovery method of the present application.
  • the service discovery method in this embodiment is applied to the managed node, including the following steps:
  • S51 The managed node establishes a wireless link connection with the first management node.
  • the managed node establishes a wireless link connection with the first management node when it finds that the first management node meets the target service requirement.
  • S52 The managed node discovers the second management node.
  • the management node may perform a device discovery process in a dormant period of DRX or in a non-connected state.
  • S53 The managed node acquires service provision information of the second management node.
  • S54 Determine whether the service performance of the second management node is better than the service performance of the second management node according to the service provision information of the second management node.
  • S55 Disconnect the wireless link connection with the first management node, and perform a wireless link connection with the second management node.
  • FIG. 7 is a schematic flowchart of a sixth embodiment of the service discovery method of the present application.
  • the service discovery method is applied to the managed node, and the method includes the following steps:
  • S61 Receive a synchronization message and a broadcast message from the management node.
  • S62 Receive a first system message from the management node.
  • S63 Determine whether there is information about the management node in the stored communication domain list.
  • the communication domain list stores the management node information and service provision information of the managed node in the previous device discovery and service discovery process.
  • the service provision information includes a service query response and/or a service list of the management node.
  • the managed node judges whether there is relevant information of the current communication domain in the communication domain list by analyzing the information such as the communication domain name and domain ID obtained through analysis, combined with the communication domain list.
  • the communication domain list has a storage threshold.
  • the managed node When the stored management node information and its service provision information are greater than the storage threshold, the managed node will delete the earliest management node information and its service provision information in the communication and list. information. And save the information of the newly discovered management node and its service provision information to the list.
  • the communication domain list has a time threshold, and when the stored information of the management node and its service provision time are greater than the time threshold, the managed node deletes the management node information and its service provision information in the communication list.
  • the communication domain list may be set with a storage threshold and a time threshold at the same time, and the corresponding operation is performed with the condition reached first.
  • the service information from the management node is received, and the specific steps can refer to the above-mentioned embodiments, which will not be repeated here.
  • S65 Determine whether the service provision information indicates that the management node can provide the target service required by the managed node.
  • S66 Establish a wireless link connection with the management node.
  • FIG. 8 is a schematic flowchart of a seventh embodiment of the service discovery method of the present application.
  • the service discovery method is applied to the management node, and the method includes the following steps:
  • S71 Send a synchronization message and a broadcast message.
  • the management node has received the service query message sent by the managed node.
  • the service query message includes information of the target service and/or a request for a service list of the management node.
  • the target service is the service required by the managed node.
  • the management node queries its own service list, responds to the service query message, and sends a service provision message to the managed node.
  • the service offering message includes a service query response and/or a service list of the management node.
  • the service query message may also include a type identifier of the service provision information, which is used for the management node to identify the managed node. Specifically, it may be a random number with N bits used to identify the managed node.
  • the type identifier is also used to indicate that the managed node expects the service provision message of the management node to include a confirmation or denial message for the service query message, or a list of all services supported by the management node.
  • the management node needs to use the type identification of the service provision information to scramble the confirmation or denial message, so as to distinguish between replies to different managed Node services provide information. If the identification type indicates that the service provision message of the management node is to provide the entire service list of the management node, no scrambling is required.
  • the management node needs to use the type identifier of the service provision information to scramble the acknowledgment or denial message, so as to distinguish between replies to different
  • the services of managed nodes provide information. If the service provision message of the management node received by the managed node is to provide the entire service list of the management node, no scrambling is required.
  • the service query response is an affirmative response or the managed node finds that the target service is included in the sent service list, the managed node will send a wireless link connection establishment request to the management node. At this time, the management node executes S75.
  • S75 Receive a connection establishment request from the managed node, and establish a wireless link connection with the managed node.
  • FIG. 9 is a schematic flowchart of an eighth embodiment of the service discovery method of the present application.
  • the service discovery method is applied to the management node, and the method includes the following steps:
  • S81 Broadcast the service list of the management node.
  • the management node broadcasts its own service list.
  • the managed node receives the service list and judges that the service list includes the target service required by the managed node, the managed node will send a wireless link connection establishment request to the management node.
  • the management node executes S82.
  • S82 Receive a connection establishment request from the managed node, and establish a wireless link connection with the managed node.
  • FIG. 10 is a schematic structural diagram of the first embodiment of the electronic device of the present application.
  • the electronic device includes: a processor 110 and a memory 120 .
  • the processor 110 controls operations of the communication device, and the processor 110 may also be called a CPU (Central Processing Unit, central processing unit).
  • the processor 110 may be an integrated circuit chip, capable of processing signal sequences.
  • the processor 110 can also be a general-purpose processor, a digital signal sequence processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal sequence processor
  • ASIC application-specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory 120 stores instructions and data required for the processor 110 to work.
  • the processor 110 is configured to execute instructions to implement any one of the first to sixth embodiments of the service discovery method of the present application and possible combined methods.
  • FIG. 11 is a schematic structural diagram of a second embodiment of the electronic device of the present application.
  • the electronic device includes: a processor 210 and a memory 220 .
  • the processor 210 controls the operation of the communication device, and the processor 210 may also be called a CPU (Central Processing Unit, central processing unit).
  • the processor 210 may be an integrated circuit chip, capable of processing signal sequences.
  • the processor 210 can also be a general-purpose processor, a digital signal sequence processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory 220 stores instructions and data required for the processor 210 to work.
  • the processor 210 is configured to execute instructions to implement the method described in the seventh embodiment of the service discovery method in this application.
  • FIG. 12 is a schematic structural diagram of a third embodiment of the electronic device of the present application.
  • the electronic device includes: a processor 310 and a memory 320 .
  • the processor 310 controls the operation of the communication device, and the processor 310 may also be called a CPU (Central Processing Unit, central processing unit).
  • the processor 310 may be an integrated circuit chip, capable of processing signal sequences.
  • the processor 310 can also be a general-purpose processor, a digital signal sequence processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory 320 stores instructions and data required for the processor 310 to work.
  • the processor 310 is configured to execute instructions to implement the method described in the eighth embodiment of the service discovery method in this application.
  • the disclosed methods and devices may be implemented in other ways.
  • the device implementation described above is only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated units in the above other embodiments are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种服务发现方法。该服务发现方法应用于被管理节点,该方法包括:发现管理节点;获取管理节点的服务提供信息;若服务提供信息表示管理节点能够提供被管理节点所需的目标服务,则与管理节点建立无线链路连接,否则不与管理节点建立无线链路连接。本申请还公开了一种电子设备。通过上述方式,本申请可以减少服务发现过程的时延,并节约建立无线链路连接消耗的资源。

Description

服务发现方法及电子设备 技术领域
本申请涉及通信领域,特别是涉及一种通信连接方法及装置。
背景技术
随着通信技术的不断发展,人们对于通信的需求也在不断的扩展和变化。通信的应用场景也由人与人之间的信息交互扩展到了人与物、物与物之间的信息交互。随着技术的发展,短距离通信的需求不断的增加。当传统的短距离通信无法满足更高要求的短距离通信需求以及新的应用场景的时候,用于高性能短距离通信的星闪短距离通信技术应运而生。在星闪通信系统中,基础服务层用于提供设备发现和服务发现功能,设备发现用于T节点发现周围的G节点,在发现有可连接的G节点后,通过链路建立流程在T节点与G节点之间建立无线链路连接,然后T节点通过服务发现流程获取G节点的服务消息。
然而,这种方式对于终端设备来说操作十分繁琐,终端设备在获取G节点的服务消息之前需要进行两次确认:设备确认以及服务确认,还需建立链路连接。在T节点周围有多个G节点的情况下,T节点需要进行多次确认以及链路连接的建立以获取到合适的服务消息,确认为其提供服务的G节点。这不仅增加了服务发现的时延,对T节点和其他不能为该T节点提供服务的G节点来说,链路连接的建立也是一种资源的浪费。
发明内容
本申请主要目的是提供一种服务发现方法以及电子设备,能够解决传统的星闪短距离通信系统中服务发现时延高,建立链路连接的资源浪费的技术问题。
为解决上述技术问题,本申请采用的第一个技术方案是:提供一种服务发现方法,应用于被管理节点,该方法包括:发现管理节点;获取管理节点的服务提供信息;若服务提供信息表示管理节点能够提供被管理节点所需的目标服务,则与管理节点建立无线链路连接,否则不与管理节点建立无线链路连接。
为解决上述技术问题,本申请采用的第二个技术方案是:提供一种服务发现方法,应用于管理节点,该方法包括:发送第一系统消息,第一系统消息包括用于发送服务查询消息的资源信息;接收来自于被管理节点的服务查询消息;响应服务查询消息,向被管理节点发送服务提供信息,所述服务提供信息包括服务查询响应和/或管理节点的服务列表。
为解决上述技术问题,本申请采用的第三个技术方案是:提供一种服务发现方法,应用于管理节点,该方法包括:广播管理节点的服务列表。
为解决上述技术问题,本申请采用的第四个技术方案是:提供一种电子设备,包括存储器和处理器,存储器用于存储程序数据,程序数据能够被处理器执行,以实现如第一个技术方案中的服务发现方法。
为解决上述技术问题,本申请采用的第五个技术方案是:提供一种电子设备,包括存储器和处理器,存储器用于存储程序数据,程序数据能够被处理器执行,以实现如第二个技术方案中的服务发现方法。
为解决上述技术问题,本申请采用的第六个技术方案是:提供一种电子设备,包括存储器和处理器,存储器用于存储程序数据,程序数据能够被处理器执行,以实现如第三个技术方案中的服务发现方法。
本申请的有益效果是:通过在无线链路连接建立之前获取管理节点的服务提供信息,根据所述服务提供信息表示管理节点是否能够提供被管理节点所需的目标服务,选择是否与管理节点建立无线链路连接。在服务发现的流程中跳过了无线链路连接建立的过程,并根据 服务发现的结果判断是否需要建立无线链路连接,使得整个系统的通信过程中缩短了服务发现的时延,并且节约了非必要的无线链路连接建立的消耗资源。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
本申请星闪短距离通信系统的整体协议栈结构的结构示意图。
本申请服务发现方法第一实施例的流程示意图。
本申请服务发现方法第二实施例的流程示意图。
本申请服务发现方法第三实施例的流程示意图。
本申请服务发现方法第四实施例的流程示意图。
本申请服务发现方法第五实施例的流程示意图。
本申请服务发现方法第六实施例的流程示意图。
本申请服务发现方法第七实施例的流程示意图。
本申请服务发现方法第八实施例的流程示意图。
本申请电子设备第一实施例的结构示意图。
本申请电子设备第二实施例的结构示意图。
本申请电子设备第三实施例的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
星闪短距离通信系统的整体协议栈参考OSI的7层协议,其支持对特定应用的跨层优化协议传输,采用模块化设计,兼容TCP/IP等协议。如图1所示,星闪短距离通信系统的协议栈结构可以分为三层:接入层、基础服务层和基础应用层。接入层提供星闪底层通信接口,实现基本通信功能。基础服务层包含若干的基础服务功能单元,为上层提供模块化的基础服务。基础应用层实现基础的应用功能,服务各种应用场景。
在星闪短距离通信系统中,存在管理节点和被管理节点。其中管理节点一般称为G节点,被管理节点一般称为T节点。T节点作为星闪系统中的终端节点,接收数据调度信息,并根据数据调度信息发送数据。G节点作为星闪系统中的管理节点,发送数据调度信息。单个G节点可以管理一定数量的T节点,单个的G节点和其连接的T节点共同组成一个通信域,G节点和这些T节点共同完成特定的通信功能。
参阅图2,图2为本申请服务发现方法第一实施例的流程示意图。该实施例中的服务发现方法应用于被管理节点,包括以下步骤:
S11:发现管理节点。
被管理节点想要管理节点提供相应的服务时,会通过设备发现过程来寻找周围的管理节点。该发现过程主要就是被管理节点接收来自于管理节点的同步消息和广播信息以及接收来自于管理节点的第一系统消息。
从接收的管理节点的同步消息中,被管理节点可以解析出该通信域中的以下消息:无线帧定时;通信域类型,高级域或者普通域;域同步标识,用于伪随机序列的生成和比特的加扰等。从接收的管理节点的广播消息中,被管理节点可以解析出该通信域中的以下消息:超帧定时和超帧号;CP类型,常规CP或扩展CP;无线帧结构;广播/系统消息的变更指示;广播/系统消息的变更周期等。
成功解析同步消息和广播消息后,被管理节点可以与管理节点同步,并知道第一系统消息的资源。然后被管理节点接收第一系统消息,并可以从中解析得到:通信域的域名和域ID;随机接入资源;功控参数;ACK/NACK反馈的公共资源;GT之间的密钥协商算法;高级域为普通域配置的资源;超帧的传输模式等。
S12:获取管理节点的服务提供信息。
通过上述被管理节点所解析得到的信息,被管理节点可以获取到管理节点的服务提供信息。该服务提供信息可包括服务查询响应和/或管理节点的服务列表。而服务查询消息可包括目标服务的信息和/或对管理节点的服务列表的请求。目标服务即为被管理节点所需要的服务。服务查询消息还可包括服务提供信息的类型标识,用于管理节点识别被管理节点。具体地,可以是N个比特用于标识被管理节点的随机数。被管理节点获取管理节点的服务提供信息的方法具体地可以通过本申请第二,第三实施例中的步骤实现。
S13:判断服务提供信息是否表示管理节点能够提供被管理节点所需的目标服务。
若服务提供信息表示管理节点能够提供被管理节点所需的目标服务,则跳转至S14;否则跳转至S15。
S14:与管理节点建立无线链路连接。
被管理节点在接收到服务查询响应为肯定响应和/或接收到的管理节点的服务列表中包含了目标服务时,会向管理节点发送无线链路连接建立请求,以与管理节点建立无线链路连接用于后续服务。
若被管理节点未接收到服务查询响应为肯定响应和/或接收到的管理节点的服务列表中不包含目标服务时,则执行S15。
S15:不与管理节点建立无线链路连接。
被管理节点不向该管理节点发送连接建立请求,继续执行S11发现新的管理节点,进行相同的服务提供信息获取过程和判断过程,直至找到符合目标服务需求的管理节点,向其发送连接建立请求或已经遍历所有可发现的管理节点都不符合目标服务的需求。
如图3所示,图3为本申请服务发现方法第二实施例的流程示意图。该实施例中的服务发现方法应用于被管理节点,包括以下步骤:
S21:接收来自于所述管理节点的同步消息和广播消息。
S22:接收来自于所述管理节点的第一系统消息。
S23:向所述管理节点发送服务查询消息。
服务查询消息用于向管理节点请求服务提供信息。服务查询消息可包括目标服务的信息和/或对管理节点的服务列表的请求。目标服务即为被管理节点所需要的服务。服务查询消息还可包括服务提供信息的类型标识,用于管理节点识别被管理节点。具体地,可以是N个比特用于标识被管理节点的随机数。该随机数可在随机接入资源中选择。该类型标识还 用于指示被管理节点希望管理节点的服务提供消息是包含对服务查询消息的确认或否认消息,或者是管理节所支持的全部的服务列表。若该标识类型指示管理节点的服务提供消息是对服务查询消息的确认或否认消息,则管理节点需要使用该服务提供信息的类型标识对确认或否认消息进行加扰,从而避免混淆。若该标识类型指示管理节点的服务提供消息是提供该管理节点的全部的服务列表时,则无需进行加扰。
S24:接收来自于所述管理节点的所述服务提供信息。
被管理节点接收到了来自管理节点同步消息、广播消息以及第一系统消息。该第一系统消息中还包括了用于被管理节点发送服务查询消息的资源消息。该资源消息包括管理节点为被管理节点配置的发送查询消息的公共链路资源。被管理节点通过获取到的资源消息,在特定的公共链路资源上向管理节点发送服务查询消息。
若被管理节点接收到的管理节点的服务提供消息是对服务查询消息的确认或否认消息,则管理节点需要使用该服务提供信息的类型标识对确认或否认消息进行加扰,从而区分回复给不同被管理节点的服务提供信息。若被管理节点接收到的管理节点的服务提供消息是提供该管理节点的全部的服务列表时,则无需进行加扰。
该服务提供消息可以是对现有的系统消息的扩展,也可以是新增的一条系统消息。
S25:判断服务提供信息是否表示管理节点能够提供被管理节点所需的目标服务。
若服务提供信息表示管理节点能够提供被管理节点所需的目标服务,则跳转至S26;否则跳转至S27。
S26:与管理节点建立无线链路连接。
被管理节点在接收到服务查询响应为肯定响应和/或接收到的管理节点的服务列表中包含了目标服务时,会通过随机接入资源发起随机接入,向管理节点发送无线链路连接建立请求,以与管理节点建立无线链路连接用于后续服务。
若被管理节点未接收到服务查询响应为肯定响应和/或接收到的管理节点的服务列表中未包含目标服务时,执行S27。
S27:不与管理节点建立无线链路连接。
在放弃与该管理节点建立无线链路连接之后,被管理节点再次进行相同的服务提供信息获取过程和判断过程,直至找到符合目标服务需求的管理节点,向其发送连接建立请求或已经遍历所有可发现的管理节点都不符合目标服务的需求。
如图4所示,图4为本申请服务发现方法第三实施例的流程示意图。该实施例中的服务发现方法应用于被管理节点,包括以下步骤:
S31:接收来自于所述管理节点的同步消息和广播消息。
S32:接收来自于所述管理节点的第一系统消息。
S33:接收管理节点广播的服务列表。
被管理节点接收到了来自管理节点同步消息、广播消息以及第一系统消息。该第一系统消息中可以包括管理节点的服务列表。或者,该第一系统消息中包括第二系统消息的调度信息,第二系统消息中包括了管理节点的服务列表。该调度信息为第二系统消息的时频资源、发送周期等信息。被管理节点通过解析该调度信息可以获取第二系统消息。第二系统消息可以是新增的系统消息,或者是扩展后的现有系统消息。
S34:判断服务提供信息是否表示管理节点能够提供被管理节点所需的目标服务。
若服务提供信息表示管理节点能够提供被管理节点所需的目标服务,则跳转至S35;否则跳转至S36。
S35:与管理节点建立无线链路连接。
被管理节点在接收到的管理节点的服务列表中包含了目标服务时,会通过随机接入资源发起随机接入,向管理节点发送无线链路连接建立请求,以与管理节点建立无线链路连 接用于后续服务。
若被管理节点接收到的管理节点的服务列表中未包含目标服务时,执行S36。
S36:不与管理节点建立无线链路连接。
在放弃与该管理节点建立无线链路连接之后,被管理节点再次进行相同的服务提供信息获取过程和判断过程,直至找到符合目标服务需求的管理节点,向其发送连接建立请求或已经遍历所有可发现的管理节点都不符合目标服务的需求。
如图5所示,图5为本申请服务发现方法第四实施例的流程示意图。该实施例中的服务发现方法应用于被管理节点,包括以下步骤:
S41:接收来自于所述管理节点的同步消息和广播消息。
S42:接收来自于所述管理节点的第一系统消息。
其中,该第一系统消息中包含了广播标识,该广播标识用于指示管理节点是否在广播服务列表。
S43:判断管理节点是否在广播服务列表。
被管理节点通过广播标识判断管理节点是否在广播服务列表,若管理节点未广播服务列表,则执行S44;否则,跳转至S46。此处的在广播服务列表意味着管理节点存在着广播服务列表的行为,该行为可以是周期性或非周期性的,并不仅仅只是包括管理节点当前正在进行服务列表广播。
S44:向所述管理节点发送服务查询消息。
服务查询消息用于向管理节点请求服务提供信息。该服务查询消息还包括了服务提供信息的类型标识,用于管理节点识别被管理节点。具体地,可以是N个比特用于标识被管理节点的随机数。该类型标识还用于指示被管理节点希望管理节点的服务提供消息是包含对服务查询消息的确认或否认消息,或者是管理节点所支持的全部的服务列表。若该标识类型指示管理节点的服务提供消息是对服务查询消息的确认或否认消息,则管理节点需要使用该服务提供信息的类型标识对确认或否认消息进行加扰,从而区分回复给不同被管理节点的服务提供信息。若该标识类型指示管理节点的服务提供消息是提供该管理节点的全部的服务列表时,则无需进行加扰。
在一实际应用场景中,被管理节点携带有12比特的服务提供信息的类型标识,该标识可以从随机接入资源中选择。如果12比特取值为0001-FFFF中的一个,表示被管理节点希望基站反馈包含服务查询响应的确认消息或否认消息。且该消息使用了12比特信息加扰。只有知道扰码信息的被管理节点可以正确接收该服务查询响应消息。如果12比特为全0信息,表示被管理节点希望基站反馈管理节点能支持的全部的服务列表。此时,该消息无需进行加扰,通信域内所有的被管理节点都可以接受并解码该消息,从而获取管理节点的服务列表。
S45:接收来自于所述管理节点的所述服务提供信息。
该服务提供信息可包括服务查询响应和/或管理节点的服务列表。服务查询消息包括目标服务的信息和/或对管理节点的服务列表的请求。
若管理节点在广播服务列表,则执行S46。
S46:获取管理节点的服务列表。
在管理节点进行广播的资源上获取到管理节点服务列表后,执行S46。
S47:判断服务提供信息是否表示管理节点能够提供被管理节点所需的目标服务。
被管理节点在接收到管理节点发送的服务提供信息后,若其为确认或否认消息,则使用服务提供信息的类型标识进行消息的解扰。若其为管理节点的服务列表,则直接查询服务列表中是否包含所需的服务。
若服务提供信息表示管理节点能够提供被管理节点所需的目标服务,则跳转至S48; 否则跳转至S49。
S48:与管理节点建立无线链路连接。
若服务提供信息为确认或服务列表包含所需服务,会通过随机接入资源发起随机接入,向管理节点发送无线链路连接建立请求,进行链路连接。
S49:不与管理节点建立无线链路连接。
若服务提供信息为否认或服务列表不包含所需服务,则不进行链路连接。在放弃与该管理节点建立无线链路连接之后,被管理节点再次进行相同的服务提供信息获取过程和判断过程,直至找到符合目标服务需求的管理节点,向其发送连接建立请求或已经遍历所有可发现的管理节点都不符合目标服务的需求。
本实施例中与上述实施例相同或相似的部分,可参考上述实施例,在此不再赘述。
如图6所示,图6为本申请服务发现方法第五实施例的流程示意图。该实施例中的服务发现方法应用于被管理节点,包括以下步骤:
S51:被管理节点与第一管理节点建立无线链路连接。
被管理节点在发现第一管理节点符合目标服务需求的时候与第一管理节点建立无线链路连接。
S52:被管理节点发现第二管理节点。
在与第一管理节点存在的无线链路连接的过程中,管理节点可以利用DRX的休眠期或在非连接态进行设备发现流程。
S53:被管理节点获取第二管理节点的服务提供信息。
S54:根据第二管理节点的服务提供信息判断第二管理节点的服务性能是否好于第二管理节点的服务性能。
若第二管理节点的服务性能好于第二管理节点的服务性能,则执行S55;否则执行S56。
S55:断开与第一管理节点的无线链路连接,并与第二管理节点进行无线链路连接。
若第二管理节点的服务性能未好于第二管理节点的服务性能,继续发现下一个管理节点或结束发现流程。
S56:发现下一个管理节点或结束发现流程。
如图7所示,图7为本申请服务发现方法第六实施例的流程示意图。该服务发现方法应用于被管理节点,该方法包括以下步骤:
S61:接收来自于所述管理节点的同步消息和广播消息。
S62:接收来自于所述管理节点的第一系统消息。
S63:判断存储的通信域列表中是否存在管理节点的信息。
通信域列表存储有被管理节点在先前的设备发现以及服务发现过程中管理节点的信息以及其服务提供信息。服务提供信息包括服务查询响应和/或管理节点的服务列表。被管理节点通过解析获得的通信域域名和域ID等信息,结合通信域列表,判断通信域列表中是否存在当前通信域的相关信息。
可选地,该通信域列表设有存储阈值,当所存储的管理节点的信息以及其服务提供信息大于存储阈值时,被管理节点就会删除通信与列表中时间最早的管理节点信息以及其服务提供信息。并将新发现的管理节点的信息以及其服务提供信息保存至列表中。
可选地,通信域列表设有时间阈值,当存储的管理节点的信息以及其服务提供信息的时间大于该时间阈值时,被管理节点删除通信与列表中该管理节点信息以及其提供服务信息。
可选地,通信域列表可同时设置有存储阈值和时间阈值,以最先达到的条件进行相应的操作。
若通信域列表中存在该管理节点信息,则执行S64;否则通过上述的方法接收管理节点的服务提取信息。
S64:从通信域列表中读取服务提供信息。
若通信域列表中不存在该管理节点信息,则接收来自管理节点的服务信息,其具体步骤可以参考上述的实施例,在此不再赘述。
在获取到服务列表后,执行S65。
S65:判断服务提供信息是否表示管理节点能够提供被管理节点所需的目标服务。
若服务提供信息表示管理节点能够提供被管理节点所需的目标服务,则跳转至S66;否则跳转至S67。
S66:与管理节点建立无线链路连接。
S67:不与管理节点建立无线链路连接。
本实施例中与上述实施例相同或相似的部分,可参考上述实施例,在此不再赘述。
如图8所示,图8为本申请服务发现方法第七实施例的流程示意图。该服务发现方法应用于管理节点,该方法包括以下步骤:
S71:发送同步消息和广播消息。
S72:发送第一系统消息。
S73:接收来自于被管理节点的服务查询消息。
管理节点接收到了被管理节点发送的服务查询消息。该服务查询消息包括目标服务的信息和/或管理节点的服务列表的请求。目标服务即为被管理节点所需的服务。
S74:响应服务查询消息,向被管理节点发送服务提供消息。
管理节点查询自身的服务列表,响应服务查询消息,向被管理节点发送服务提供消息。该服务提供消息包括服务查询响应和/或管理节点的服务列表。服务查询消息还可包括服务提供信息的类型标识,用于管理节点识别被管理节点。具体地,可以是N个比特用于标识被管理节点的随机数。该类型标识还用于指示被管理节点希望管理节点的服务提供消息是包含对服务查询消息的确认或否认消息,或者是管理节所支持的全部的服务列表。若该标识类型指示管理节点的服务提供消息是对服务查询消息的确认或否认消息,则管理节点需要使用该服务提供信息的类型标识对确认或否认消息进行加扰,从而区分回复给不同被管理节点的服务提供信息。若该标识类型指示管理节点的服务提供消息是提供该管理节点的全部的服务列表时,则无需进行加扰。
若被管理节点接收到的管理节点的服务提供消息是对服务查询消息的确认或否认消息,则管理节点需要使用该服务提供信息的类型标识对确认或否认消息进行加扰,从而区分回复给不同被管理节点的服务提供信息。若被管理节点接收到的管理节点的服务提供消息是提供该管理节点的全部的服务列表时,则无需进行加扰。当服务查询响应为肯定响应或者被管理节点发现在发送的服务列表中包含了目标服务时,被管理节点会向管理节点发送无线链路连接建立请求。此时管理节点执行S75。
S75:接收被管理节点的连接建立请求,与被管理节点建立无线链路连接。
本实施例中与上述实施例相同或相似的部分,可参考上述实施例,在此不再赘述。
如图9所示,图9为本申请服务发现方法第八实施例的流程示意图。该服务发现方法应用于管理节点,该方法包括以下步骤:
S81:广播管理节点的服务列表。
管理节点进行广播自身的服务列表。当被管理节点接收到服务列表,且判断该服务列表中包括了该被管理节点所需的目标服务时,被管理节点就会向管理节点发送无线链路连接建立请求。此时,管理节点执行S82。
S82:接收被管理节点的连接建立请求,与被管理节点建立无线链路连接。
本实施例中与上述实施例相同或相似的部分,可参考上述实施例,在此不再赘述。
如图10所示,图10为本申请电子设备第一实施例的结构示意图。该电子设备包括:处理器110和存储器120。
处理器110控制通信设备的操作,处理器110还可以称为CPU(Central Processing Unit,中央处理单元)。处理器110可能是一种集成电路芯片,具有信号序列的处理能力。处理器110还可以是通用处理器、数字信号序列处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器120存储处理器110工作所需要的指令和数据。
处理器110用于执行指令以实现本申请服务发现方法第一至第六实施例中任一项及可能的组合方法。
如图11所示,图11为本申请电子设备第二实施例的结构示意图。该电子设备包括:处理器210和存储器220。
处理器210控制通信设备的操作,处理器210还可以称为CPU(Central Processing Unit,中央处理单元)。处理器210可能是一种集成电路芯片,具有信号序列的处理能力。处理器210还可以是通用处理器、数字信号序列处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器220存储处理器210工作所需要的指令和数据。
处理器210用于执行指令以实现本申请服务发现方法第七实施例中所描述的方法。
如图12所示,图12为本申请电子设备第三实施例的结构示意图。该电子设备包括:处理器310和存储器320。
处理器310控制通信设备的操作,处理器310还可以称为CPU(Central Processing Unit,中央处理单元)。处理器310可能是一种集成电路芯片,具有信号序列的处理能力。处理器310还可以是通用处理器、数字信号序列处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器320存储处理器310工作所需要的指令和数据。
处理器310用于执行指令以实现本申请服务发现方法第八实施例中所描述的方法。
在本申请所提供的几个实施方式中,应该理解到,所揭露的方法以及设备,可以通过其它的方式实现。例如,以上所描述的设备实施方式仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。
另外,在本申请各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述其他实施方式中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执 行本申请各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅为本申请的实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (25)

  1. 一种服务发现方法,应用于被管理节点,其特征在于,所述方法包括:
    发现管理节点;
    获取所述管理节点的服务提供信息;
    若所述服务提供信息表示所述管理节点能够提供所述被管理节点所需的目标服务,则与所述管理节点建立无线链路连接,否则不与所述管理节点建立无线链路连接。
  2. 根据权利要求1所述的方法,其特征在于,
    所述发现管理节点包括:
    接收来自于所述管理节点的同步消息和广播消息;
    接收来自于所述管理节点的第一系统消息。
  3. 根据权利要求2所述的方法,其特征在于,
    所述服务提供信息包括服务查询响应和/或所述管理节点的服务列表。
  4. 根据权利要求3所述的方法,其特征在于,
    所述获取所述管理节点的服务提供信息包括:
    向所述管理节点发送服务查询消息;
    接收来自于所述管理节点的所述服务提供信息。
  5. 根据权利要求4所述的方法,其特征在于,
    所述第一系统消息包括用于发送所述服务查询消息的资源信息。
  6. 根据权利要求4所述的方法,其特征在于,
    所述服务查询消息包括所述目标服务的信息和/或对所述服务列表的请求。
  7. 根据权利要求6所述的方法,其特征在于,
    所述服务查询消息进一步包括所述服务提供信息的类型标识。
  8. 根据权利要求4所述的方法,其特征在于,所述第一系统消息包括广播标识,所述广播标识用于指示所述管理节点是否在广播所述服务列表,所述向所述管理节点发送服务查询消息之前进一步包括:
    根据所述广播标识判断所述管理节点是否在广播所述服务列表;
    若否,则执行向所述管理节点发送服务查询消息及之后的步骤。
  9. 根据权利要求3所述的方法,其特征在于,
    所述获取所述管理节点的服务提供信息包括:
    接收所述管理节点广播的所述服务列表。
  10. 根据权利要求9所述的方法,其特征在于,
    所述第一系统消息包括所述服务列表;和/或
    所述第一系统消息包括第二系统消息的调度信息,所述第二系统消息包括所述服务列表。
  11. 根据权利要求3所述的方法,其特征在于,
    所述服务提供信息表示所述管理节点能够提供所述被管理节点所需的目标服务包括:
    所述服务查询响应为肯定响应和/或所述服务列表包括所述目标服务。
  12. 根据权利要求1所述的方法,其特征在于,
    所述获取所述管理节点的服务提供信息包括:
    判断存储的通信域列表是否存在所述管理节点的信息;
    若存在,则从所述通信域列表中读取所述服务提供信息,否则接收来自于所述管理节点的所述服务提供信息。
  13. 根据权利要求12所述的方法,其特征在于,进一步包括:
    将所述管理节点的信息及所述服务提供信息存入通信域列表。
  14. 根据权利要求13所述的方法,其特征在于,进一步包括:
    若所述通信域列表中的管理节点数量大于预设阈值,则删除所述通信域列表中最早的管理节点的信息及所述服务提供信息;和/或
    删除所述通信域列表中超出有效时间的管理节点的信息及所述服务提供信息。
  15. 根据权利要求1所述的方法,其特征在于,
    所述发现管理节点包括:
    在已与当前管理节点建立无线链路连接的状态下,发现所述管理节点。
  16. 一种服务发现方法,应用于管理节点,其特征在于,所述方法包括:
    发送第一系统消息,所述第一系统消息包括用于发送服务查询消息的资源信息;
    接收来自于被管理节点的所述服务查询消息;
    响应所述服务查询消息,向所述被管理节点发送服务提供信息,所述服务提供信息包括服务查询响应和/或所述管理节点的服务列表。
  17. 根据权利要求16所述的方法,其特征在于,进一步包括:
    则接收所述被管理节点的连接建立请求,与所述被管理节点建立无线链路连接。
  18. 根据权利要求16所述的方法,其特征在于,
    所述服务查询消息包括所述目标服务的信息和/或对所述服务列表的请求。
  19. 根据权利要求16所述的方法,其特征在于,
    所述服务查询消息进一步包括所述服务提供信息的类型标识。
  20. 根据权利要求16所述的方法,其特征在于,
    所述第一系统消息包括广播标识,所述广播标识用于指示所述管理节点是否存在广播所述服务列表。
  21. 一种服务发现方法,应用于管理节点,其特征在于,所述方法包括:
    广播所述管理节点的服务列表。
  22. 根据权利要求21所述的方法,其特征在于,进一步包括:
    接收所述被管理节点的连接建立请求,与所述被管理节点建立无线链路连接。
  23. 一种电子设备,其特征在于,包括存储器和处理器,所述存储器用于存储程序数据,所述程序数据能够被所述处理器执行,以实现如权利要求1-15中任一项所述的方法。
  24. 一种电子设备,其特征在于,包括存储器和处理器,所述存储器用于存储程序数据,所述程序数据能够被所述处理器执行,以实现如权利要求16-20中任一项所述的方法。
  25. 一种电子设备,其特征在于,包括存储器和处理器,所述存储器用于存储程序数据,所述程序数据能够被所述处理器执行,以实现如权利要求21-22中任一项所述的方法。
PCT/CN2022/107451 2021-08-11 2022-07-22 服务发现方法及电子设备 Ceased WO2023016233A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110921594.X 2021-08-11
CN202110921594.XA CN115914347A (zh) 2021-08-11 2021-08-11 服务发现方法及电子设备

Publications (1)

Publication Number Publication Date
WO2023016233A1 true WO2023016233A1 (zh) 2023-02-16

Family

ID=85199845

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107451 Ceased WO2023016233A1 (zh) 2021-08-11 2022-07-22 服务发现方法及电子设备

Country Status (2)

Country Link
CN (1) CN115914347A (zh)
WO (1) WO2023016233A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN121099456A (zh) * 2024-06-06 2025-12-09 华为技术有限公司 一种通信方法、装置和系统
CN121645486A (zh) * 2024-09-05 2026-03-10 华为技术有限公司 通信方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101779477A (zh) * 2007-07-25 2010-07-14 微软公司 基站启动的邻近服务发现和连接建立
CN106713310A (zh) * 2016-12-21 2017-05-24 大唐高鸿信息通信研究院(义乌)有限公司 一种适用于车载短距离通信网络的改进gsd服务发现协议的实现方法
US20170237818A1 (en) * 2014-10-31 2017-08-17 Huawei Technologies Co., Ltd. Service discovery method, related device, and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101779477A (zh) * 2007-07-25 2010-07-14 微软公司 基站启动的邻近服务发现和连接建立
US20170237818A1 (en) * 2014-10-31 2017-08-17 Huawei Technologies Co., Ltd. Service discovery method, related device, and system
CN106713310A (zh) * 2016-12-21 2017-05-24 大唐高鸿信息通信研究院(义乌)有限公司 一种适用于车载短距离通信网络的改进gsd服务发现协议的实现方法

Also Published As

Publication number Publication date
CN115914347A (zh) 2023-04-04

Similar Documents

Publication Publication Date Title
US10278055B2 (en) System and method for pre-association discovery
CN115152320B (zh) 无线通信系统中用于增强网络选择准确性的方法和装置
CN114845292B (zh) 通信系统中的接入和移动性管理功能amf及其方法
KR20120073321A (ko) Wlan 피어-투-피어 그룹 오너 협상
CN108476406A (zh) 用于包括网络分片的网络中的接入控制
CN104919828A (zh) 用于格式化邻域知悉网络中的帧的系统和方法
CN105009647A (zh) 用于邻域知悉网络内的同步的系统和方法
CN101426288A (zh) 选择并接入紫蜂网络的紫蜂通信系统和方法
CN106465251B (zh) 利用存储的高层信息的系统和方法
WO2019075691A1 (zh) 一种受限ue能力的控制方法及装置、计算机存储介质
WO2023016233A1 (zh) 服务发现方法及电子设备
WO2014110938A1 (zh) 终端直达通信中发现信号的发送方法、通信终端及系统
JP2024506065A (ja) マルチキャスト/ブロードキャスト・サービスのための通信方法及び装置
JP2008219482A (ja) 無線パケット通信システムにおける情報配信システム、情報配信方法及び情報配信装置
JP2021500766A (ja) 無線通信用の方法及び装置
CN114830760B (zh) 无线通信系统中的寻呼方法和装置
CN115053505B (zh) 服务分享方法、通信设备和云平台
CN115550899B (zh) 设备发现方法、终端设备、通信网络及存储介质
CN107734598A (zh) 一种系统信息变更指示方法、ue、网络侧设备和系统
WO2023174154A1 (zh) 通信方法、装置和系统
EP3739919B1 (en) Context transfer between smf
WO2022067538A1 (zh) 网元发现方法、装置、设备及存储介质
CN1795648A (zh) 用于特定无线网络的upnp终端
CN102946634B (zh) 通信装置和数据通信方法
WO2016086702A1 (zh) 一种中继节点管理方法、操作维护中心及存储介质

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: 22855216

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22855216

Country of ref document: EP

Kind code of ref document: A1