CN115550899A - Device discovery method, terminal device, communication network, and storage medium - Google Patents

Device discovery method, terminal device, communication network, and storage medium Download PDF

Info

Publication number
CN115550899A
CN115550899A CN202211064989.3A CN202211064989A CN115550899A CN 115550899 A CN115550899 A CN 115550899A CN 202211064989 A CN202211064989 A CN 202211064989A CN 115550899 A CN115550899 A CN 115550899A
Authority
CN
China
Prior art keywords
scanning
terminal device
communication network
terminal
scan
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.)
Pending
Application number
CN202211064989.3A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202211064989.3A priority Critical patent/CN115550899A/en
Publication of CN115550899A publication Critical patent/CN115550899A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • 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

Landscapes

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

Abstract

The embodiment of the application discloses a device discovery method, terminal devices, a communication network and a storage medium, wherein the method is applied to a first terminal device and a second terminal device in the communication network, and the first terminal device acquires working state parameters of all node devices in the communication network; selecting scanning equipment from all node equipment according to the working state parameters; generating a scan list based on the scanning device; and synchronizing the scanning list to the second terminal equipment, so that the scanning equipment performs scanning processing according to the scanning starting time and the scanning window length to discover a third terminal equipment outside the communication network. After synchronizing working state parameters to the first terminal equipment, the second terminal equipment acquires a scanning list sent by the first terminal equipment; and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network.

Description

Device discovery method, terminal device, communication network, and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device discovery method, a terminal device, a communication network, and a storage medium.
Background
At present, mobile communication devices are diversified, service demand scenarios begin to be complicated, connection between devices gradually tends to networking from traditional point-to-point connection, and connection from a single communication protocol to heterogeneous combination of multiple different communication protocols is achieved.
However, most devices are limited to point-to-point connection, and based on the current device discovery principle, both broadcast devices and scanning devices need to consume power, especially scanning devices.
That is to say, in order to meet the requirement of timely discovering new devices, the common device discovery scheme can correspondingly increase the power consumption of the devices, shorten the service time of the devices, and reduce the intelligence of the devices.
Disclosure of Invention
The embodiment of the application provides an equipment discovery method, terminal equipment, a communication network and a storage medium, which can greatly reduce the power consumption of the terminal equipment and improve the intelligence of the equipment on the basis of meeting the requirement of timely discovering new equipment.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a device discovery method, where the method is applied to a first terminal device in a communication network, and the method includes:
acquiring working state parameters of all node devices in the communication network;
selecting scanning equipment from all the node equipment according to the working state parameters;
generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each of the scanning devices;
synchronizing the scanning list to a second terminal device, so that the scanning device performs scanning processing according to the scanning starting time and the scanning window length to discover a third terminal device outside the communication network; the second terminal device is another node device in the communication network except the first terminal device.
In a second aspect, an embodiment of the present application provides a terminal device, where the method is applied to a second terminal device in a communication network, and the method includes:
after synchronizing working state parameters to first terminal equipment, acquiring a scanning list sent by the first terminal equipment; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device;
if the scanning device indicated by the scanning list comprises the second terminal device, scanning is performed according to the scanning start time and the scanning window length to find a third terminal device outside the communication network.
In a third aspect, an embodiment of the present application provides a first terminal device, where the first terminal device includes:
a first obtaining unit, configured to obtain operating state parameters of all node devices in the communication network;
a selecting unit, configured to select a scanning device from all the node devices according to the operating state parameter;
a generating unit configured to generate a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each of the scanning devices;
a synchronization unit, configured to synchronize the scan list to a second terminal device, so that the scanning device performs scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network; the second terminal device is another node device in the communication network except the first terminal device.
In a fourth aspect, an embodiment of the present application provides a first terminal device, where the first terminal device includes a processor and a memory storing instructions executable by the processor, and when the instructions are executed by the processor, the device discovery method as described above is implemented.
In a fifth aspect, an embodiment of the present application provides a second terminal device, where the second terminal device includes:
the second acquisition unit is used for acquiring a scanning list sent by the first terminal equipment after the working state parameters are synchronized to the first terminal equipment; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device;
a scanning unit, configured to perform scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network if the scanning device indicated by the scanning list includes the second terminal device.
In a sixth aspect, an embodiment of the present application provides a second terminal device, where the second terminal device includes a processor and a memory storing instructions executable by the processor, and when the instructions are executed by the processor, the device discovery method as described above is implemented.
In a seventh aspect, an embodiment of the present application provides a communication network, where the communication network includes the first terminal device according to the third aspect or the fourth aspect, and the second terminal device according to the fifth aspect or the sixth aspect, and is configured to implement the device discovery method described above.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the program implements the device discovery method described above.
The embodiment of the application provides a device discovery method, terminal devices, a communication network and a storage medium, wherein the device discovery method is applied to a first terminal device and a second terminal device in the communication network, and the first terminal device acquires working state parameters of all node devices in the communication network; selecting scanning equipment from all node equipment according to the working state parameters; generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each scanning device; synchronizing the scanning list to the second terminal equipment, so that the scanning equipment performs scanning processing according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network; the second terminal device is other node devices in the communication network except the first terminal device. After synchronizing the working state parameters to the first terminal equipment, the second terminal equipment acquires a scanning list sent by the first terminal equipment; the first terminal device is other node devices in the communication network except the second terminal device; the scanning list indicates the scanning start time and the scanning window length of each scanning device; and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network. That is to say, in the embodiment of the present application, the first terminal device in the communication network may determine, from all node devices according to the operating state parameters of each node device that includes the first terminal device and the second terminal device, the scanning device that performs time-division alternate scanning processing, and establish a scanning list that indicates the scanning start time and the scanning window length of each scanning device, so that the scanning device in the communication network may perform new device discovery according to the indicated scanning start time and the indicated scanning window length. Therefore, the device discovery method provided by the embodiment of the application can change single-point scanning discovery into networking node time-sharing alternate scanning discovery, so that the power consumption of new device scanning can be dispersedly borne by a plurality of node devices in a network, the power consumption of terminal devices can be greatly reduced on the basis of meeting the requirement of timely discovering new devices, and the intelligence of the devices is improved.
Drawings
Fig. 1 is a schematic diagram of a conventional networking;
FIG. 2 is a schematic diagram of device scanning and discovery;
fig. 3 is a first flowchart illustrating an implementation of the device discovery method;
fig. 4 is a schematic flow chart of an implementation of the device discovery method;
FIG. 5 is a schematic diagram of connection information;
FIG. 6 is a schematic diagram of a communication network;
fig. 7 is a schematic flow chart illustrating implementation of the device discovery method;
FIG. 8 is a schematic diagram of the device scanning and discovery proposed by the present application;
fig. 9 is a first schematic structural diagram of the first terminal device;
fig. 10 is a schematic structural diagram of the first terminal device;
fig. 11 is a first schematic structural diagram of the second terminal device;
fig. 12 is a schematic structural diagram of the second terminal device.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
At present, mobile communication devices are various in types, service demand scenes are complicated, connection among the devices gradually tends to networking through multi-device connection from traditional point-to-point connection, and the devices are connected to heterogeneous combinations of a plurality of different communication protocols from a single communication protocol.
Heterogeneous networks (Heterogeneous networks) are a type of Network that is made up of computers, network devices and systems produced by different manufacturers, most often operating over different protocols, supporting different functions or applications. Different types of networks which are overlapped with each other are fused to form a heterogeneous network, and the requirement of service diversity of a terminal is mainly met.
The internet may be comprised of a plurality of heterogeneous networks interconnected. The device used to connect heterogeneous networks is a router.
By heterogeneous, it is meant that two or more wireless communication systems employ different access technologies, or use the same radio access technology but belong to different wireless operators. By utilizing various existing wireless communication systems and by means of intersystem fusion, making use of the advantages and the disadvantages of multiple systems is an effective means for meeting the requirements of future mobile communication services, and the advantages of the systems can be comprehensively exerted. Because various existing wireless access systems are overlapped in many areas, the wireless access systems of different types which are overlapped with each other can be intelligently combined together, and a plurality of different types of networks jointly provide wireless access to users anytime and anywhere by using an intelligent access means of a multimode terminal, thereby forming a heterogeneous wireless network.
The computer and communication equipment in the network are abstracted into one point, the transmission medium is abstracted into one line, and the geometrical figure formed from point and line is the topological structure of computer network. The topological structure of the network reflects the structural relationship of each entity in the network, is the first step of building a computer network, is the basis for realizing various network protocols, and has great influence on the performance of the network, the reliability of the system and the communication cost. Topology in computer networks refers to the form and method of connecting nodes.
Fig. 1 is a schematic diagram of a common networking, and as shown in fig. 1, a current device connection of Android (Android) is mainly limited to a point-to-point connection.
Corresponding to the heterogeneous network, the scanning and discovery processes of the devices are both point-to-point operation discovery, for example, one device sends Bluetooth Low Energy (BLE) scanning, and one device sends BLE broadcasting, and when two devices are in the same time and a scanning window covers a broadcasting window, the scanned device identifies the existence of the broadcasting device, and discovery is successful.
Fig. 2 is a schematic diagram of device scanning and discovery, and as shown in fig. 2, a device a performs BLE broadcasting based on a window 1, and a device B performs BLE scanning based on a window 2, where the length of the window 2 corresponding to the device B as a scanning device needs to be long enough, and the scanning frequency is high enough to discover the device a in time.
Therefore, obvious conflict between new equipment and scanning equipment due to high power consumption of triggering BLE scanning is guaranteed to be scanned and found in time, and excessive power consumption can be caused by accelerating scanning frequency and time for timely finding the equipment; the scanning frequency is reduced to save power, but it takes longer to scan the device.
Common Internet of Things (IoT) devices are generally power consumption sensitive devices, and based on the current device discovery principle, both broadcasting devices and scanning devices need to consume power, especially scanning devices, in order to discover new devices in time, the scanning length of a window needs to be large enough, and the scanning frequency needs to be high enough, so that more power is inevitably consumed, and the service life of the devices is shortened.
That is to say, in order to meet the requirement of timely discovering new devices, the common device discovery scheme can correspondingly increase the power consumption of the devices, shorten the service time of the devices, and reduce the intelligence of the devices.
In order to solve the above problem, in an embodiment of the present application, a first terminal device obtains operating state parameters of all node devices in a communication network; selecting scanning equipment from all node equipment according to the working state parameters; generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each scanning device; synchronizing the scanning list to the second terminal equipment, so that the scanning equipment performs scanning processing according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network; the second terminal device is other node devices in the communication network except the first terminal device. After synchronizing the working state parameters to the first terminal equipment, the second terminal equipment acquires a scanning list sent by the first terminal equipment; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device; and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network. That is to say, in the embodiment of the present application, the first terminal device in the communication network may determine, from all node devices according to the operating state parameters of the node devices including the first terminal device and the second terminal device, the scanning device that performs the time-division rotation scanning process, and establish the scanning list indicating the scanning start time and the scanning window length of each scanning device, so that the scanning device in the communication network may perform new device discovery according to the indicated scanning start time and the scanning window length. Therefore, the device discovery method provided by the embodiment of the application can change single-point scanning discovery into networking node time-sharing alternate scanning discovery, so that the power consumption of new device scanning can be dispersedly borne by a plurality of node devices in a network, the power consumption of terminal devices can be greatly reduced on the basis of meeting the requirement of timely discovering new devices, and the intelligence of the devices is improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides a device discovery method, where the device discovery method may be applied to a first terminal device in a communication network, and fig. 3 is a schematic diagram of an implementation flow of the device discovery method, as shown in fig. 3, in an embodiment of the present application, a method for a first terminal device to perform device discovery may include the following steps:
step 101, obtaining working state parameters of all node devices in a communication network.
In the embodiment of the present application, the first terminal device may first obtain the operating state parameters of all node devices in the communication network.
It is understood that, in the embodiment of the present application, the first terminal device may be any node device in the affiliated communication network. Among them, for a plurality of node devices in a communication network, two types of Core Devices (DR) and Non-Core devices (NR) can be distinguished according to a resource controlled condition. A core device DR (a rich capability device) which is in an adjacency relation with a surrounding direct connection DR, deploys a routing protocol and supports Link-State Advertisement (LSA) flooding and kernel data forwarding; the non-core device NR (resource limited device) is only in a neighbor relation with other NRs and DRs, does not deploy a routing protocol, does not support any message to be forwarded in a kernel, and is only used as an attached node of the direct connection DR for communication.
That is to say, in the embodiment of the present application, NRs and NRs in a communication network only support direct connection communication, and if communicating with NR across terminals, IP forwarding of DRs needs to be performed through Internet Protocol (IP) capability provided by networking services.
It should be noted that, in the embodiment of the present application, the communication network to which the first terminal device belongs may be a homogeneous network or a heterogeneous network that is constructed based on at least one communication protocol. The at least one communication protocol may include, among other things, a bluetooth protocol, a wireless communication technology (Wi-Fi) protocol, and other communication protocols. That is, the communication network may implement convergence of different network protocols based on networking services.
Further, in the embodiment of the present application, the first terminal device performing the device discovery method may be a User Equipment (UE), a Mobile device, a Wireless communication device, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with a Wireless communication function, a computing device or other processing devices connected to a Wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G Network, or a terminal device in a Public Land Mobile Network (PLMN) for future evolution, which can provide networking services.
It should be noted that, in the embodiment of the present application, the first terminal device may be a decision node device in the communication network to which the first terminal device belongs, that is, in the process of performing device discovery, the first terminal device may be a decision device in the communication network for device discovery processing.
It is to be understood that, in the embodiment of the present application, among a plurality of node devices included in a communication network, at least one first terminal device may be used as a decision device for performing device discovery, and at least one node device (second terminal device) other than the first terminal device may also be used as a non-decision device for performing device discovery.
For example, in the embodiment of the present application, it is assumed that six node devices, i.e., device 1, device 2, device 3, device 4, device 5, and device 6, are included in the communication network. When device discovery is performed, the device 1 may be used as a decision device, and the devices 2, 3, 4, 5, and 6 may be used as non-decision devices.
Further, in the embodiment of the present application, the first terminal device may obtain the operating state parameters of all node devices in the communication network.
It should be noted that, in the embodiment of the present application, the operating state parameter is used to determine the performance and the state of any node device in the communication network. Wherein, the working state parameter may include at least one of the following parameters: location parameters, power parameters, signal strength parameters, network mode parameters.
It is understood that, in the embodiment of the present application, the first terminal device may first obtain the operating state parameter of each node device in the communication network, where the node device includes the first terminal device and the second terminal device.
It should be noted that, in the embodiment of the present application, when acquiring the operating state parameter of the second terminal device, for a terminal device that has already established a connection, the first terminal device may directly receive the operating state parameter sent by the terminal device; for a terminal device establishing connection, a first terminal device may synchronously obtain a working state parameter sent by the terminal device through other node devices that have established connection.
And 102, selecting scanning equipment from all the node equipment according to the working state parameters.
In the embodiment of the present application, after acquiring the operating state parameters of all node devices in the communication network, the first terminal device may further select a scanning device from all node devices according to the operating state parameters.
It should be noted that, in the embodiment of the present application, the first terminal device may select, according to the operating state parameter of each node device, at least one scanning device for device discovery from all node devices in the communication network.
That is to say, in the embodiment of the present application, after obtaining the operating state parameters of each node device, the first terminal device may filter all node devices according to the operating state parameters, and determine the scanning device capable of discovering the new device. The scanning device may be at least one node device in the communication network, which performs a scanning process in a device discovery process.
Further, in the embodiment of the present application, when the first terminal device selects the scanning device from all the node devices according to the operating state parameter, the node device whose electric quantity parameter is greater than or equal to the preset electric quantity threshold may be determined as the scanning device.
It should be noted that, in the embodiment of the present application, when determining the scanning device, the first terminal device may select to filter all node devices in the communication network according to the power parameter of each node device. The first terminal device may determine, as the scanning device, a node device whose power parameter is greater than or equal to a preset power threshold.
It can be understood that, in the embodiment of the present application, since the scanning process in the device discovery process consumes power, the first terminal device may select a node device with a higher remaining power as the scanning device, that is, select a device with a power parameter greater than or equal to the preset power threshold value from all node devices as the scanning device.
For example, in an embodiment of the present application, the working state parameters of all node devices acquired by a device 1 (a first terminal device) in a communication network are electric quantity parameters of six node devices, that is, a device 1, a device 2, a device 3, a device 4, a device 5, and a device 6, as shown in table 1, and a preset electric quantity threshold is 50%, then, as the decision-making device 1, it may determine that the scanning devices are the device 1, the device 3, and the device 4 according to the electric quantity parameters of all node devices.
TABLE 1
Figure BDA0003827303530000051
Figure BDA0003827303530000061
Further, in the embodiment of the present application, when the first terminal device selects the scanning device from all the node devices according to the operating state parameter, the node device whose signal strength is greater than or equal to the preset strength threshold may also be determined as the scanning device.
It should be noted that, in the embodiment of the present application, when determining the scanning device, the first terminal device may select to filter all node devices in the communication network according to the signal strength of each node device. The first terminal device may determine, as the scanning device, a node device whose signal strength is greater than or equal to a preset strength threshold.
It can be understood that, in the embodiment of the present application, since the scanning process in the device discovery process has a high requirement on the signal strength of the device, the first terminal device may select a node device with a high signal strength as the scanning device, that is, select a device with a signal strength greater than or equal to the preset strength threshold value from all node devices as the scanning device.
It can be understood that, in the embodiment of the present application, in order to prevent a problem that a new device is missed to be found due to time-sharing scanning performed by a device that is too far away in a network, a signal strength of the device in the network that performs time-sharing scanning is determined in a policy, and only a node device whose signal strength meets a certain threshold (a preset strength threshold) can join in the time-sharing scanning of the network, so that it can be ensured that the distance of the device that performs time-sharing scanning is relatively concentrated.
For example, in an embodiment of the present application, the operating state parameters of all node devices acquired by the device 1 (first terminal device) in the communication network are signal strengths of six node devices, that is, the device 1, the device 2, the device 3, the device 4, the device 5, and the device 6, as shown in table 2, the preset strength threshold is-90 dbm, and then the decision device 1 may determine that the scanning devices are the device 1, the device 3, and the device 6 according to the signal strengths of all the node devices.
TABLE 2
Node device Signal strength
Device 1 -65dbm
Device 2 -100dbm
Device 3 -85dbm
Device 4 -95dbm
Device 5 -98dbm
Device 6 -70dbm
It is to be understood that, in the embodiment of the present application, since the operating state parameter may include at least one of a plurality of parameters, such as a location parameter, an electric quantity parameter, a signal strength parameter, and a network mode parameter, the first terminal device may refer to one or more of the plurality of parameters when performing the screening of the scanning device. For example, the first terminal device may screen all node devices in the communication network according to the location parameter, the power parameter, and the signal strength parameter, and determine at least one scanning device; all node devices in the communication network can be screened according to the electric quantity parameters and the network mode parameters, and at least one scanning device is determined; and screening all the node devices in the communication network according to the electric quantity parameter to determine at least one scanning device.
For example, in the embodiment of the present application, when the first terminal device filters all node devices in the communication network according to the power parameter and the signal strength, the reference operating state parameter is the power parameter and the signal strength of each node device, and based on tables 1 and 2, the terminal may perform the determination of the scanning device according to table 3.
TABLE 3
Node device Parameter of electric quantity Signal strength
Device 1 78% -65dbm
Device 2 30% -100dbm
Device 3 55% -85dbm
Device 4 90% -95dbm
Device 5 36% -98dbm
Device 6 26% -70dbm
The first terminal device may determine the node device whose electric quantity parameter meets the preset electric quantity threshold as the scanning device, that is, the device 1 and the device 3 are the scanning devices that are finally determined; the first terminal device may also determine, as the scanning device, the node device whose power parameter meets the preset power threshold, or the node device whose signal strength meets the preset strength threshold, that is, the device 1, the device 3, the device 4, and the device 6 are finally determined scanning devices
103, generating a scanning list based on the scanning equipment; wherein the scan list indicates a scan start time and a scan window length for each of the scanning devices.
In an embodiment of the present application, after selecting the scanning device from all the node devices according to the operating state parameter, the first terminal device may further generate a scanning list based on the scanning device.
It should be noted that, in the embodiment of the present application, the scan list may indicate the scan start time and the scan window length of each of all the scanning devices.
It is understood that, in the embodiment of the present application, the first terminal device may determine, based on the scanning devices, a scanning start time and a scanning window length of the scanning process for each scanning device, so as to generate a corresponding scanning list.
In this embodiment, the first terminal device may instruct all the scanning devices to sequentially perform one scanning process in a time-sharing rotation manner, or instruct all the scanning devices to sequentially perform multiple scanning processes in a time-sharing rotation manner, based on the scan list determined by the scanning devices. When a plurality of scanning processes are performed, the scanning order of each scanning process may be the same or different.
Further, in this embodiment of the application, the first terminal device may instruct, based on the scan list determined by the scanning device, all the scanning devices to perform scanning processing according to the same length of the scan window, or instruct different scanning devices to perform scanning processing according to different lengths of the scan window.
That is, in the embodiment of the present application, when the first terminal device generates the scan list, the scan round, the scan order, and the scan window length when all the scan devices perform the scan process may be determined.
For example, in the embodiment of the present application, when the first terminal device generates the scan list based on the scanning device, the first terminal device may first determine a scanning order of the scanning device; then, the scanning start time of each scanning device can be determined according to the scanning order and the preset window length, and a scanning list is generated.
It should be noted that, in the embodiment of the present application, for any scanning device, the first terminal device may set the length of the scanning window of the scanning device according to the preset window length, that is, the first terminal may set the lengths of the scanning windows of all the scanning devices to the preset window length.
For example, assuming that the scanning devices include device 1, device 2, device 3, and device 6, the device 1 serving as a decision device may first determine a scanning turn as one turn and a scanning sequence as device 1, device 2, device 6, and device 3, then set the scanning window length of each scanning device to T0 (preset window length), and finally determine a scanning list as in table 4. Wherein T1, T2, T3, T4 increase in order.
TABLE 4
Scanning device Starting time of scanning Length of scanning window
Device 1 T1 T0
Device 2 T2 T0
Device 6 T3 T0
Device 3 T4 T0
For example, in the embodiment of the present application, when the first terminal device generates the scan list based on the scanning device, the first terminal device may first determine a scanning order of the scanning device; then, the length of a scanning window corresponding to each scanning device can be set; and finally, determining the scanning start time of each scanning device according to the scanning order and the scanning window length corresponding to each scanning device, and generating the scanning list.
It should be noted that, in the embodiment of the present application, for any scanning device, the first terminal device may set the length of the scanning window according to the preset window length and the relevant parameters of each scanning device, that is, the first terminal may set the lengths of the scanning windows of all the scanning devices to be different.
It can be understood that, in the embodiment of the present application, when setting the length of the scanning window for different scanning devices, the first terminal device may refer to the operating state parameter of each scanning device, that is, the first terminal device may set the length of the scanning window corresponding to each scanning device according to the operating state parameter corresponding to each scanning device. For example, for a scanning device with a higher parameter of electric quantity, a larger length of the scanning window may be set; and/or, for scanning devices with greater signal strength, a greater scan window length may be set.
It should be noted that, in the embodiment of the present application, since the operating state parameter may include at least one of a plurality of parameters, such as a location parameter, an electric quantity parameter, a signal strength parameter, and a network mode parameter, when setting the length of the scanning window, the first terminal device may refer to one or more of the plurality of parameters. For example, the first terminal device may set a scanning window length of the scanning device according to the location parameter, the electric quantity parameter, and the signal strength parameter; the length of a scanning window of the scanning equipment can be set according to the electric quantity parameter and the network mode parameter; it is also possible to set the length of the scanning window of the scanning device only according to the parameter of the electrical quantity.
For example, assuming that the scanning devices include the device 1, the device 2, the device 3, and the device 6, the device 1 serving as a decision device may determine the scanning turn to be two turns, and the scanning sequence of each turn is the device 1, the device 2, the device 6, and the device 3, and then may set the length of the scanning window for different scanning devices respectively by referring to the power parameter of each scanning device, and finally determine the scanning list as shown in table 5. Wherein T1, T2, T8230, T8 and T03, T01, T02 and T04 are sequentially increased.
TABLE 5
Scanning device Parameter of electric quantity Scanning start time Length of scanning window
Device 1 78% T1 T01
Device 2 85% T2 T02
Device 6 55% T3 T03
Device 3 90% T4 T04
Device 1 78% T5 T01
Device 2 85% T6 T02
Device 6 55% T7 T03
Device 3 90% T8 T04
Further, in the embodiment of the present application, when setting the scanning start time of each scanning device, the first terminal device needs to refer to a time interval between the scanning windows of every two scanning devices in addition to the scanning order and the scanning window length of each scanning device. The first terminal device may set the time intervals between the scanning windows of any two scanning devices to be the same, or may set the time intervals between the scanning windows of any two scanning devices to be different.
Step 104, synchronizing the scanning list to the second terminal device, so that the scanning device performs scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network; the second terminal device is another node device in the communication network except the first terminal device.
In an embodiment of the present application, after the first terminal device generates the scan list based on the scanning device, the scan list may be synchronized to the second terminal device, so that the scanning device performs scanning according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network.
It should be noted that, in the embodiment of the present application, the second terminal device is another node device in the communication network except for the first terminal device. The third terminal device may be a device other than the communication network.
Further, in the embodiment of the present application, after generating the scan list indicating the specific information of the time-division-switched scan process, the first terminal device may synchronize the scan list to other node devices in the communication network, so that the node device in the communication network, which is determined as the scan device, may perform the scan process according to the scan start time and the scan window length indicated by the scan list, to complete device discovery.
It can be understood that, in the embodiment of the present application, as the second terminal device in the communication network, after acquiring the scan list synchronized with the first terminal device, it may be determined whether the second terminal device is a code scanning device based on the scan list, and if so, it may further determine a corresponding scan start time and a corresponding scan window length according to the scan list, and further perform time-sharing rotation scan processing to guide discovery of a third terminal device outside the communication network.
Further, in the embodiment of the present application, the first terminal device may also reacquire the updated operating state parameters of all the node devices in the communication network according to a preset period; and then, an updated scan list may be obtained according to the updated operating state parameter, and the updated scan list may be sent to the second terminal device.
That is, in the embodiment of the present application, the first terminal device may continuously update the scan list according to a preset period. The first terminal device may obtain new operating state parameters of all node devices in the communication network again, so that the scanning device may be selected again, the scanning list may be further updated, the updated scanning list may be obtained, the updated scanning list may be further synchronized to the second terminal device again, and finally, the node device in the communication network that is determined as the scanning device again may be scanned according to the scanning start time and the scanning window length indicated by the updated scanning list, so as to complete device discovery.
Further, in the embodiment of the present application, if the first terminal device is a scanning device, the first terminal device may establish a connection with the third terminal device after discovering the third terminal device; then acquiring the equipment information of the third terminal equipment; the device information and the connection status and connection type with the third terminal device may then be synchronized to other node devices in the communication network.
It can be understood that, in the embodiment of the present application, if a third terminal device outside the communication network is found by performing scanning processing according to the scanning start time and the scanning window length indicated by the scanning list, the scanning device may establish a connection with the third terminal device, and then synchronize the acquired device information of the third terminal device, the connection state and the connection type between the scanning device and the third terminal device to other node devices in the communication network, thereby completing joining of the third terminal device to the communication network.
That is to say, in the embodiment of the present application, after one of the single devices (scanning devices) in the network scans and discovers a new device (third terminal device), the new link state between the scanning device and the third terminal device may be notified to other node devices in the network in a link state routing flooding manner, so that the discovery of the new device by the single device in the entire device discovery process is converted into the discovery of the new device by the entire communication network.
To sum up, the device discovery method provided in the embodiment of the present application switches from the discovery of a new device to the discovery of a new device by using a traditional point, and determines scanning devices from all node devices in a communication network, so as to disperse the number of times of scanning triggers to each device node in the network, and establish a corresponding scanning list, so that each scanning device performs time-sharing rotation scanning with reference to the scanning list. This allows the power consumption of the new device scan to be spread across the device nodes in the network.
It can be understood that, in the embodiment of the present application, based on the networking multi-device time-sharing scanning policy, a decision node (first terminal device) in the network may determine the number of nodes (scanning devices) of the policy and the sending timing (scanning start time and scanning window length) of each node, and after obtaining policy update from the decision node, each device scans in the rhythm (scanning start time and scanning window length) defined by the policy, and discovers a newly-added device in one network population, thereby completing the discovery process of one device.
Therefore, the device discovery method provided by the embodiment of the application can discover the new device node by time-sharing scanning of the device node through networking, thereby ensuring the timeliness of device discovery and reducing the power consumption for discovering the new device. For the whole network, the electricity consumption of the whole network is lower in the process of discovering and joining the new equipment nodes.
The embodiment of the application provides a device discovery method, wherein a first terminal device acquires working state parameters of all node devices in a communication network; selecting scanning equipment from all node equipment according to the working state parameters; generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each scanning device; synchronizing the scanning list to the second terminal equipment, so that the scanning equipment performs scanning processing according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network; the second terminal device is other node devices in the communication network except the first terminal device. That is to say, in the embodiment of the present application, the first terminal device in the communication network may determine, from all node devices according to the operating state parameters of the node devices including the first terminal device and the second terminal device, the scanning device that performs the time-division rotation scanning process, and establish the scanning list indicating the scanning start time and the scanning window length of each scanning device, so that the scanning device in the communication network may perform new device discovery according to the indicated scanning start time and the scanning window length. Therefore, the device discovery method provided by the embodiment of the application can change single-point scanning discovery into networking node time-sharing alternate scanning discovery, so that the power consumption of new device scanning can be dispersedly borne by a plurality of node devices in a network, the power consumption of terminal devices can be greatly reduced on the basis of meeting the requirement of timely discovering new devices, and the intelligence of the devices is improved.
Based on the foregoing embodiments, an embodiment of the present application provides a device discovery method, where the device discovery method may be applied to a second terminal device in a communication network, and fig. 4 is a schematic diagram of an implementation flow of the device discovery method, as shown in fig. 4, in an embodiment of the present application, a method for the second terminal device to perform device discovery may include the following steps:
step 201, after synchronizing working state parameters to a first terminal device, acquiring a scanning list sent by the first terminal device; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device.
In the embodiment of the present application, the second terminal device may synchronize the working state parameters to the first terminal device, and then may obtain the scan list sent by the first terminal device; wherein the scan list indicates a scan start time and a scan window length for each scanning device.
It is understood that, in the embodiment of the present application, the second terminal device may be any node device in the affiliated communication network. Among them, for a plurality of node devices in a communication network, two types of Core Devices (DR) and Non-Core devices (NR) can be distinguished according to a resource controlled situation. A core device DR (a rich capability device) which is in an adjacency relation with the surrounding direct-connected DR, deploys a routing protocol and supports Link-State Advertisement (LSA) flooding and kernel data forwarding; the non-core device NR (resource limited device) is only in a neighbor relation with other NRs and DRs, does not deploy a routing protocol, does not support any message to be forwarded in a kernel, and is only used as an attached node of the direct connection DR for communication.
That is to say, in the embodiment of the present application, NRs and NRs in a communication network only support direct connection communication, and if communicating with NR across terminals, IP forwarding of DRs needs to be performed through Internet Protocol (IP) capability provided by networking services.
It should be noted that, in the embodiment of the present application, the communication network to which the second terminal device belongs may be a homogeneous network or a heterogeneous network that is constructed based on at least one communication protocol. The at least one communication protocol may include, among other things, a bluetooth protocol, a wireless communication technology (Wi-Fi) protocol, and other communication protocols. That is, the communication network may implement convergence of different network protocols based on networking services.
Further, in the embodiment of the present application, the second terminal device performing the device discovery method may be a User Equipment (UE), a Mobile device, a Wireless communication device, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with a Wireless communication function, a computing device or other processing devices connected to a Wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G Network, or a terminal device in a Public Land Mobile Network (PLMN) for future evolution, which can provide networking services.
It should be noted that, in the embodiment of the present application, the second terminal device may be a non-decision node device in the communication network to which the second terminal device belongs, that is, in the process of performing device discovery, the first terminal device may be a decision device used for device discovery in the communication network, and the second terminal device is a non-decision device used for device discovery in the communication network.
It is to be understood that, in the embodiment of the present application, among a plurality of node devices included in a communication network, at least one first terminal device may be used as a decision device for performing device discovery, and at least one node device (second terminal device) other than the first terminal device may also be used as a non-decision device for performing device discovery.
For example, in the embodiment of the present application, it is assumed that six node devices, i.e., device 1, device 2, device 3, device 4, device 5, and device 6, are included in the communication network. When device discovery is performed, the device 1 may serve as a decision device, and the devices 2, 3, 4, 5, and 6 may serve as non-decision devices, that is, second terminal devices.
Further, in the embodiment of the present application, the second terminal device may synchronize its own operating state parameters to the first terminal device, so that the first terminal device may obtain the operating state parameters of all node devices in the communication network.
It should be noted that, in the embodiment of the present application, the operating state parameter is used to determine the performance and the state of any node device in the communication network. Wherein, the working state parameter may include at least one of the following parameters: location parameters, power parameters, signal strength parameters, network mode parameters.
Further, in the embodiment of the present application, when synchronizing the working state parameter to the first terminal device, the second terminal device may directly send the working state parameter to the first terminal device for the second terminal device; the second terminal device may also send the operating state parameter to other connected node devices in the communication network, so as to synchronize the operating state parameter to the first terminal device.
That is to say, in the embodiment of the present application, when acquiring the operating state parameter of the second terminal device, for a terminal device that has already established a connection, the first terminal device may directly receive the operating state parameter sent by the terminal device; for a terminal device establishing connection, a first terminal device may synchronously obtain a working state parameter sent by the terminal device through other node devices that have established connection.
It should be noted that, in the embodiment of the present application, after obtaining the operating state parameters of all node devices in the communication network, the first terminal device may further select a scanning device from all node devices according to the operating state parameters, and then may generate a scanning list based on the scanning device, and synchronize the scanning list to the second terminal device.
It should be noted that, in the embodiment of the present application, the scan list may indicate the scan start time and the scan window length of each of all the scanning devices.
In the embodiment of the present application, the scan list may instruct all the scanning devices to sequentially perform one scan process in a time-sharing and rotation manner, or instruct all the scanning devices to sequentially perform multiple scan processes in a time-sharing and rotation manner. When a plurality of scanning processes are performed, the scanning order of each scanning process may be the same or different.
Further, in the embodiment of the present application, the scan list may instruct all the scanning devices to perform the scanning processing according to the same scanning window length, or instruct different scanning devices to perform the scanning processing according to different scanning window lengths.
That is to say, in the embodiment of the present application, the scan round, the scan order, and the scan window length when all the scanning devices perform the scanning process may be determined by the scan list.
It should be noted that, in the embodiment of the present application, the scan list may indicate that the lengths of the scan windows of all the scanning devices are the preset window lengths, and may also indicate that the lengths of the scan windows of different scanning devices are different.
Further, in the embodiments of the present application, in addition to the indication of the scanning start time and the scanning window length of each scanning device, the scanning list may also indicate the time interval between the scanning windows of every two scanning devices. The time intervals between the scanning windows of any two scanning devices are the same, and the time intervals between the scanning windows of any two scanning devices can also be different.
It is to be understood that in the embodiments of the present application, the scanning device may be at least one node device in the communication network. The scanning device may be a first terminal device or a second terminal device.
Step 202, if the scanning device indicated by the scanning list includes the second terminal device, performing scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network.
In the embodiment of the present application, after the second terminal device obtains the scan list sent by the first terminal device, if the scanning device indicated by the scan list includes the second terminal device, the second terminal device may perform scanning processing according to the scan start time and the scan window length, so that a third terminal device outside the communication network may be discovered.
It should be noted that, in the embodiment of the present application, after acquiring the scan list, the second terminal device may determine whether itself is a scanning device, and if so, may perform scanning processing according to specific information indicated by the scan list, so that a new device outside the communication network may be discovered.
It can be understood that, in the embodiment of the present application, after the second terminal device acquires the scan list, if it is determined that the second terminal device is not the scanning device, the second terminal device may not perform the scanning process.
For example, in the embodiment of the present application, for a communication network including a device 1, a device 2, a device 3, a device 4, a device 5, and a device 6, after determining a scan list as shown in table 6, the device 1 (a first terminal device) serving as a decision device may synchronize the scan list to several second terminal devices, i.e., the device 2, the device 3, the device 4, the device 5, and the device 6, respectively, at this time, for the device 5, since the device 4 is not a scan device indicated by the received scan list, the device 4 may not perform subsequent scan processing, and for the device 2, since the device 2 is one of the scan devices indicated by the received scan list, the device 2 may perform scan processing in a device discovery flow according to a scan start time T4 and a scan window length T0 (a preset window length) indicated by the scan list.
TABLE 6
Scanning device Starting time of scanning Length of scanning window
Device 1 T1 T0
Device 3 T2 T0
Device 6 T3 T0
Device 2 T4 T0
Wherein T1, T2, T3, T4 increase in order.
For example, in the embodiment of the present application, for a communication network including the device 1, the device 2, the device 3, the device 4, the device 5, and the device 6, after determining the scan list shown in table 7, the device 1 (the first terminal device) serving as the decision device may synchronize the scan list to several second terminal devices, namely the device 2, the device 3, the device 4, the device 5, and the device 6, respectively, at this time, for the device 5, since the device 5 is not the scan device indicated by the received scan list, the device 5 may not perform subsequent scan processing, and for the device 3, since the device 3 is one of the scan devices indicated by the received scan list, the device 3 may perform scan processing in the device discovery flow according to the scan start times T4 and T8 indicated by the scan list, and the scan window length T04.
TABLE 7
Scanning device Starting time of scanning Length of scanning window
Device 1 T1 T01
Device 2 T2 T02
Device 6 T3 T03
Device 3 T4 T04
Device 1 T5 T01
Device 2 T6 T02
Device 6 T7 T03
Device 3 T8 T04
Wherein T1, T2, 8230, T8 are sequentially increased, and T03, T01, T02 and T04 are sequentially increased.
It should be noted that, in the embodiment of the present application, the first terminal device and the second terminal device are node devices in the communication network, and the third terminal device may be other devices outside the communication network.
Further, in the embodiment of the present application, if the second terminal device is a scanning device, the second terminal device may establish a connection with the third terminal device after discovering the third terminal device; then acquiring the equipment information of the third terminal equipment; the device information and the connection status and connection type with the third terminal device may then be synchronized to other node devices in the communication network.
It can be understood that, in the embodiment of the present application, if a third terminal device outside the communication network is found by performing scanning processing according to the scanning start time and the scanning window length indicated by the scanning list by using a node device in the communication network as the scanning device, the scanning device may establish connection with the third terminal device, and then synchronize the acquired device information of the third terminal device, the connection state between the scanning device and the third terminal device, and the connection type to other node devices in the communication network, thereby completing joining of the third terminal device to the communication network.
That is to say, in the embodiment of the present application, after one of the single devices (scanning devices) in the network scans and discovers a new device (third terminal device), a new link state between the scanning device and the third terminal device may be notified to other node devices in the network in a link state routing flooding manner, so that the entire device discovery process is converted from discovery of a new device by the single device into discovery of the new device by the entire communication network.
Further, in the embodiment of the present application, the second terminal device may also synchronize the working state parameters to the first terminal device according to a preset period, so that the first terminal device may reacquire the updated working state parameters of all node devices in the communication network according to the preset period; and then, an updated scanning list can be obtained according to the updated working state parameters, and the updated scanning list is sent to the second terminal device.
That is, in the embodiment of the present application, the first terminal device may continuously update the scan list according to a preset period. The first terminal device may re-acquire new operating state parameters of all node devices in the communication network, so that the scanning device may be selected again, update of the scanning list is further completed, the updated scanning list is obtained, the updated scanning list may be synchronized to the second terminal device again, and finally, the node device in the communication network, which is determined as the scanning device again, may be scanned according to the scanning start time and the scanning window length indicated by the updated scanning list, so as to complete device discovery.
To sum up, the device discovery method provided in the embodiment of the present application switches from the discovery of a new device to the discovery of a new device by using a traditional point, and determines scanning devices from all node devices in a communication network, so as to disperse the number of times of scanning triggers to each device node in the network, and establish a corresponding scanning list, so that each scanning device performs time-sharing rotation scanning with reference to the scanning list. This allows the power consumption of the new device scan to be spread across the device nodes in the network.
It can be understood that, in the embodiment of the present application, based on the networking multi-device time-sharing scanning policy, a decision node (first terminal device) in the network may determine the number of nodes (scanning devices) of the policy and the sending timing (scanning start time and scanning window length) of each node, and after obtaining policy update from the decision node, each device scans in the rhythm (scanning start time and scanning window length) defined by the policy, and discovers a newly-added device in one network population, thereby completing the discovery process of one device.
Therefore, the device discovery method provided by the embodiment of the application can discover the new device node by time-sharing scanning of the device node through networking, thereby ensuring the timeliness of device discovery and reducing the power consumption for discovering the new device. For the whole network, the electricity consumption of the whole network is lower in the process of discovering and joining the new equipment nodes.
The embodiment of the application provides a device discovery method, wherein a second terminal device acquires a scanning list sent by a first terminal device after synchronizing working state parameters to the first terminal device; the first terminal device is other node devices in the communication network except the second terminal device; the scanning list indicates the scanning start time and the scanning window length of each scanning device; and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network. That is to say, in the embodiment of the present application, the first terminal device in the communication network may determine, from all node devices according to the operating state parameters of each node device that includes the first terminal device and the second terminal device, the scanning device that performs time-division alternate scanning processing, and establish a scanning list that indicates the scanning start time and the scanning window length of each scanning device, so that the scanning device in the communication network may perform new device discovery according to the indicated scanning start time and the indicated scanning window length. Therefore, the device discovery method provided by the embodiment of the application can change single-point scanning discovery into networking node time-sharing alternate scanning discovery, so that the power consumption of new device scanning can be dispersedly borne by a plurality of node devices in a network, the power consumption of terminal devices can be greatly reduced on the basis of meeting the requirement of timely discovering new devices, and the intelligence of the devices is improved.
Based on the foregoing embodiment, a further embodiment of the present application provides a communication network, where the communication network may include a first terminal device and a second terminal device, and is configured to implement the device discovery method provided by the foregoing embodiment.
It should be noted that, in the embodiment of the present application, the communication network to which the first terminal device and the second terminal device belong may be a homogeneous network or a heterogeneous network that is constructed based on at least one communication protocol. The at least one communication protocol may include, among other things, a bluetooth protocol, a wireless communication technology (Wi-Fi) protocol, and other communication protocols. That is, the communication network may implement convergence of different network protocols based on networking services.
For example, in an embodiment of the present application, fig. 5 is a schematic diagram of connection information, and as shown in fig. 5, a communication network may merge two connection types, namely, a bluetooth network and a Wi-Fi network, where a watch, a bracelet, and a mobile phone may use connection capabilities provided by a networking service to establish the bluetooth network, and the mobile phone may also use connection capabilities provided by a television and a PAD to establish the Wi-Fi network, and network management provides an entire network topology to an APP service, and the APP service may communicate arbitrarily in a network formed by the watch, the bracelet, the mobile phone, the television, the PAD, and the like, without establishing a peer-to-peer connection between two devices.
It can be understood that, in an embodiment of the present application, fig. 6 is a schematic diagram of a communication network, and as shown in fig. 6, among a plurality of node devices included in the communication network, at least one first terminal device may be used as a decision device for performing device discovery, and at least one node device (a second terminal device) other than the first terminal device may also be used as a non-decision device for performing device discovery.
Further, in an embodiment of the present application, fig. 7 is a schematic view of a third implementation flow of a device discovery method, and as shown in fig. 7, a method for device discovery by a first terminal device and a second terminal device may include the following steps:
step 301, the second terminal device synchronizes the working state parameter to the first terminal device.
In the embodiment of the present application, the second terminal device may synchronize the operating state parameters with the first terminal device, so that the first terminal device may obtain the operating state parameters of all node devices in the communication network. The operating state parameters are used for determining the performance and the state of any node device in the communication network. The operating state parameter may include at least one of the following parameters: location parameters, power parameters, signal strength parameters, network mode parameters.
Step 302, the first terminal device determines the scanning device according to the working state parameters of all the node devices in the communication network.
In the embodiment of the present application, after acquiring the operating state parameters of all node devices in the communication network, the first terminal device may further select a scanning device from all node devices according to the operating state parameters.
That is to say, in the embodiment of the present application, after obtaining the operating state parameters of each node device, the first terminal device may filter all node devices according to the operating state parameters, and determine the scanning device capable of discovering the new device. The scanning device may be at least one node device in the communication network, which performs scanning in a device discovery process.
It can be understood that, in the embodiment of the present application, since the operating state parameter may include at least one of a plurality of parameters, such as a location parameter, an electric quantity parameter, a signal strength parameter, a network mode parameter, and the like, when performing the screening of the scanning device, the first terminal device may refer to one or more of the plurality of parameters. For example, the first terminal device may screen all node devices in the communication network according to the location parameter, the electric quantity parameter, and the signal strength parameter, and determine at least one scanning device; all the node devices in the communication network can be screened according to the electric quantity parameter and the network mode parameter to determine at least one scanning device; and screening all the node devices in the communication network according to the electric quantity parameter to determine at least one scanning device.
For example, in the embodiment of the present application, since the power consumption is consumed in the scanning process in the device discovery process, the first terminal device may select a node device with a higher remaining power as the scanning device, that is, select a device with a power parameter greater than or equal to the preset power threshold value from all node devices as the scanning device.
For example, in the embodiment of the present application, in order to prevent a problem that a new device is missed to be found due to time-sharing scanning performed by a device that is too far away in a network, a signal strength of the device in the network that performs time-sharing scanning is determined in a policy, and only a node device whose signal strength meets a certain threshold (a preset strength threshold) can join in the time-sharing scanning of the network, so that it is ensured that the distance of the device that performs time-sharing scanning is relatively concentrated.
Step 303, the first terminal device generates a scan list based on the scanning device.
In an embodiment of the present application, after selecting a scanning device from all the node devices according to the operating state parameter, the first terminal device may further generate a scanning list based on the scanning device.
It should be noted that, in the embodiment of the present application, the scan list may indicate the scan start time and the scan window length of each of all the scanning devices.
It is understood that, in the embodiment of the present application, the first terminal device may determine, based on the scanning devices, a scanning start time and a scanning window length of the scanning process for each scanning device, so as to generate a corresponding scanning list.
In this embodiment, the first terminal device may instruct all the scanning devices to sequentially perform one scan process in a time-sharing and rotation manner, or instruct all the scanning devices to sequentially perform multiple scan processes in a time-sharing and rotation manner, based on the scan list determined by the scanning devices. When a plurality of scanning processes are performed, the scanning order of each scanning process may be the same or different.
Further, in this embodiment of the present application, the first terminal device may instruct all the scanning devices to perform scanning processing according to the same length of the scanning window based on the scanning list determined by the scanning device, or instruct different scanning devices to perform scanning processing according to different lengths of the scanning window.
That is, in the embodiment of the present application, when the first terminal device generates the scan list, the scan round, the scan order, and the scan window length when all the scan devices perform the scan process may be determined.
Further, in the embodiment of the present application, when setting the scanning start time of each scanning device, the first terminal device needs to refer to a time interval between scanning windows of every two scanning devices in addition to the scanning order and the scanning window length of each scanning device. The first terminal device may set the time intervals between the scanning windows of any two scanning devices to be the same, or may set the time intervals between the scanning windows of any two scanning devices to be different.
And step 304, the second terminal device obtains the scanning list sent by the first terminal device.
Step 305, if the scanning device indicated by the scanning list includes the second terminal device, the second terminal device performs scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network.
Step 306, if the scanning device indicated by the scanning list includes the first terminal device, the first terminal device performs scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network.
In the embodiment of the present application, after the second terminal device obtains the scan list sent by the first terminal device, if the scanning device indicated by the scan list includes the second terminal device, the second terminal device may perform scanning processing according to the scan start time and the length of the scan window, so that a third terminal device outside the communication network may be discovered.
It should be noted that, in the embodiment of the present application, after acquiring the scan list, the second terminal device may determine whether itself is a scanning device, and if so, may perform scanning processing according to specific information indicated by the scan list, so that a new device outside the communication network may be discovered.
It is understood that, in the embodiment of the present application, after the second terminal device acquires the scan list, if it is determined that the second terminal device is not the scanning device, the second terminal device may not perform the scanning process.
It should be noted that, in the embodiment of the present application, the first terminal device and the second terminal device are node devices in the communication network, and the third terminal device may be other devices outside the communication network.
Further, in an embodiment of the present application, if the first terminal device or the second terminal device is a scanning device, the first terminal device or the second terminal device may establish a connection with the third terminal device after discovering the third terminal device; then acquiring the equipment information of the third terminal equipment; the device information and the connection status and connection type with the third terminal device may then be synchronized to other node devices in the communication network.
Further, in the embodiment of the present application, the second terminal device may also synchronize the operating state parameters with the first terminal device according to a preset period, so that the first terminal device may reacquire the updated operating state parameters of all node devices in the communication network according to the preset period; and then, an updated scanning list can be obtained according to the updated working state parameters, and the updated scanning list is sent to the second terminal device.
That is, in the embodiment of the present application, the first terminal device may continuously update the scan list according to a preset period. The first terminal device may obtain new operating state parameters of all node devices in the communication network again, so that the scanning device may be selected again, the scanning list may be further updated, the updated scanning list may be obtained, the updated scanning list may be further synchronized to the second terminal device again, and finally, the node device in the communication network that is determined as the scanning device again may be scanned according to the scanning start time and the scanning window length indicated by the updated scanning list, so as to complete device discovery.
Further, in an embodiment of the present application, fig. 8 is a schematic diagram of device scanning and discovery provided by the present application, and as shown in fig. 8, a device a performs BLE broadcasting based on a window 1, and based on an indication of a scanning list, a device B performs BLE scanning based on a window 2, a device C performs BLE scanning based on a window 3, and a device D performs BLE scanning based on a window 4 in a communication network, where the window 2, the window 3, and the window 4 may be the same or different. Compared with a common device discovery scheme, the device B, the device C and the device D scan in a time-sharing and rotation mode, and the power consumption of the device B, the device C and the device D can be greatly reduced on the basis of ensuring that the device A is discovered in time.
The device discovery method provided by the embodiment of the application switches discovery of new devices from a traditional point to a new device by using a networked device group, and determines scanning devices from all node devices in a communication network, so that the number of times of scanning triggering is distributed to each device node in the network, and a corresponding scanning list is established, and each scanning device refers to the scanning list to perform time-sharing alternate scanning. This allows the power consumption of the new device scan to be spread across the device nodes in the network.
It can be understood that, in the embodiment of the present application, based on the networking multi-device time-sharing scanning policy, a decision node (first terminal device) in the network may determine the number of nodes (scanning devices) of the policy and the sending timing (scanning start time and scanning window length) of each node, and after obtaining policy update from the decision node, each device scans in the rhythm (scanning start time and scanning window length) defined by the policy, and discovers a newly-added device in one network population, thereby completing the discovery process of one device.
Therefore, the device discovery method provided by the embodiment of the application can discover the new device node by time-sharing scanning of the device node through networking, thereby ensuring the timeliness of device discovery and reducing the power consumption for discovering the new device. For the whole network, the electricity consumption of the whole network is lower in the process of discovering and joining the new equipment nodes.
The embodiment of the application provides a communication network, which comprises a first terminal device and a second terminal device, wherein the first terminal device acquires working state parameters of all node devices in the communication network; selecting scanning equipment from all node equipment according to the working state parameters; generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each scanning device; synchronizing the scanning list to the second terminal equipment, so that the scanning equipment performs scanning processing according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network; the second terminal device is other node devices in the communication network except the first terminal device. After synchronizing the working state parameters to the first terminal equipment, the second terminal equipment acquires a scanning list sent by the first terminal equipment; the first terminal equipment is other node equipment in the communication network except the second terminal equipment; the scanning list indicates the scanning start time and the scanning window length of each scanning device; and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network. That is to say, in the embodiment of the present application, the first terminal device in the communication network may determine, from all node devices according to the operating state parameters of the node devices including the first terminal device and the second terminal device, the scanning device that performs the time-division rotation scanning process, and establish the scanning list indicating the scanning start time and the scanning window length of each scanning device, so that the scanning device in the communication network may perform new device discovery according to the indicated scanning start time and the scanning window length. Therefore, the device discovery method provided by the embodiment of the application can change single-point scanning discovery into networking node time-sharing alternate scanning discovery, so that the power consumption of new device scanning can be dispersedly borne by a plurality of node devices in a network, the power consumption of terminal devices can be greatly reduced on the basis of meeting the requirement of timely discovering new devices, and the intelligence of the devices is improved.
Based on the foregoing embodiment, in another embodiment of the present application, fig. 9 is a schematic diagram of a first constituent structure of a first terminal device, and as shown in fig. 9, a first terminal device 10 provided in this embodiment of the present application may include:
a first obtaining unit 11, configured to obtain operating state parameters of all node devices in the communication network;
a selecting unit 12, configured to select a scanning device from all the node devices according to the operating state parameter;
a generating unit 13 configured to generate a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each of the scanning devices;
a synchronizing unit 14, configured to synchronize the scan list to a second terminal device, so that the scanning device performs scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network; the second terminal device is another node device in the communication network except the first terminal device.
In an embodiment of the present application, further, fig. 10 is a schematic diagram of a composition structure of a first terminal device, as shown in fig. 10, the first terminal device 10 according to the embodiment of the present application may further include a processor 15 and a memory 16 storing executable instructions of the processor 15, and further, the first terminal device 10 may further include a communication interface 17, and a bus 18 for connecting the processor 15, the memory 16, and the communication interface 17.
In an embodiment of the present Application, the Processor 15 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a ProgRAMmable Logic Device (PLD), a Field ProgRAMmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular. The first terminal device 10 may further comprise a memory 16, which memory 16 may be connected to the processor 15, wherein the memory 16 is adapted to store executable program code comprising computer operating instructions, and wherein the memory 16 may comprise a high speed RAM memory and may further comprise a non-volatile memory, such as at least two disk memories.
In the embodiment of the present application, the bus 18 is used to connect the communication interface 17, the processor 15, and the memory 16 and to communicate among these devices.
In an embodiment of the present application, the memory 16 is used for storing instructions and data.
Further, in an embodiment of the present application, the processor 15 is configured to obtain operating state parameters of all node devices in the communication network; selecting scanning equipment from all the node equipment according to the working state parameters; generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each of the scanning devices; synchronizing the scanning list to a second terminal device, so that the scanning device performs scanning processing according to the scanning starting time and the scanning window length to discover a third terminal device outside the communication network; the second terminal device is another node device in the communication network except the first terminal device.
Fig. 11 is a first schematic structural diagram of a second terminal device, and as shown in fig. 11, a second terminal device 20 according to an embodiment of the present application may include:
a second obtaining unit 21, configured to obtain a scan list sent by a first terminal device after synchronizing working state parameters to the first terminal device; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device;
a scanning unit 22, configured to perform scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network if the scanning device indicated by the scanning list includes the second terminal device.
In an embodiment of the present application, further, fig. 12 is a schematic diagram of a second terminal device, and as shown in fig. 12, the second terminal device 20 provided in the embodiment of the present application may further include a processor 23 and a memory 24 storing executable instructions of the processor 23, and further, the terminal device 10 may further include a communication interface 25 and a bus 26 for connecting the processor 23, the memory 24 and the communication interface 25.
In an embodiment of the present Application, the Processor 23 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a ProgRAMmable Logic Device (PLD), a Field ProgRAMmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular. The second terminal device 20 may further comprise a memory 24, which memory 24 may be connected to the processor 23, wherein the memory 24 is adapted to store executable program code comprising computer operating instructions, the memory 24 may comprise a high speed RAM memory and may further comprise a non-volatile memory, e.g. at least two disk memories.
In the embodiment of the present application, the bus 26 is used to connect the communication interface 25, the processor 23, and the memory 24 and to communicate among these devices.
In an embodiment of the present application, the memory 24 is used for storing instructions and data.
Further, in an embodiment of the present application, the processor 23 is configured to obtain a scan list sent by a first terminal device after synchronizing working state parameters with the first terminal device; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device; and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network.
In practical applications, the Memory may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor.
In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiment of the application provides a first terminal device and a second terminal device, wherein the first terminal device acquires working state parameters of all node devices in a communication network; selecting scanning equipment from all node equipment according to the working state parameters; generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each scanning device; synchronizing the scanning list to the second terminal equipment, so that the scanning equipment performs scanning processing according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network; the second terminal device is other node devices in the communication network except the first terminal device. After synchronizing the working state parameters to the first terminal equipment, the second terminal equipment acquires a scanning list sent by the first terminal equipment; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device; and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network. That is to say, in the embodiment of the present application, the first terminal device in the communication network may determine, from all node devices according to the operating state parameters of each node device that includes the first terminal device and the second terminal device, the scanning device that performs time-division alternate scanning processing, and establish a scanning list that indicates the scanning start time and the scanning window length of each scanning device, so that the scanning device in the communication network may perform new device discovery according to the indicated scanning start time and the indicated scanning window length. Therefore, the device discovery method provided by the embodiment of the application can change single-point scanning discovery into networking node time-sharing alternate scanning discovery, so that the power consumption of new device scanning can be dispersedly borne by a plurality of node devices in a network, the power consumption of terminal devices can be greatly reduced on the basis of meeting the requirement of timely discovering new devices, and the intelligence of the devices is improved.
An embodiment of the present application provides a computer-readable storage medium, on which a program is stored, which when executed by a processor implements the device discovery method as described above.
Specifically, the program instructions corresponding to a device discovery method in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the program instructions corresponding to a device discovery method in the storage medium are read or executed by an electronic device, the method includes the following steps:
acquiring working state parameters of all node devices in the communication network;
selecting scanning equipment from all the node equipment according to the working state parameters;
generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each of the scanning devices;
synchronizing the scanning list to a second terminal device, so that the scanning device performs scanning processing according to the scanning starting time and the scanning window length to discover a third terminal device outside the communication network; the second terminal device is another node device in the communication network except the first terminal device.
When the program instructions in the storage medium corresponding to a device discovery method are read or executed by an electronic device, the method may further include the steps of:
after synchronizing working state parameters to first terminal equipment, acquiring a scanning list sent by the first terminal equipment; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device;
and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (18)

1. A device discovery method for a first terminal device in a communication network, the method comprising:
acquiring working state parameters of all node devices in the communication network;
selecting scanning equipment from all the node equipment according to the working state parameters;
generating a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each of the scanning devices;
synchronizing the scanning list to a second terminal device, so that the scanning device performs scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network; the second terminal device is another node device in the communication network except the first terminal device.
2. The method of claim 1,
the operating state parameter comprises at least one of the following parameters: location parameters, power parameters, signal strength parameters, network mode parameters.
3. The method of claim 2, wherein selecting a scanning device from the all node devices according to the operating state parameter comprises:
determining the node equipment of which the electric quantity parameter is greater than or equal to a preset electric quantity threshold value as the scanning equipment; and/or the presence of a gas in the atmosphere,
and determining the node equipment with the signal strength greater than or equal to a preset strength threshold value as the scanning equipment.
4. The method according to any one of claims 1-3, wherein the generating a scan list based on the scanning device comprises:
determining a scanning order of the scanning device;
and determining the scanning starting time of each scanning device according to the scanning sequence and the preset window length to generate the scanning list.
5. The method of any of claims 2-3, wherein generating the scan list based on the scanning device comprises:
determining a scanning order of the scanning device;
setting the length of a scanning window corresponding to each scanning device according to the working state parameter corresponding to each scanning device;
and determining the scanning start time of each scanning device according to the scanning sequence and the length of the scanning window corresponding to each scanning device, and generating the scanning list.
6. The method according to any one of claims 1-3, further comprising:
re-acquiring updated working state parameters of all node equipment in the communication network according to a preset period;
and acquiring an updated scanning list according to the updated working state parameters, and sending the updated scanning list to the second terminal equipment.
7. The method according to any one of claims 1-3, further comprising:
if the first terminal device is the scanning device, establishing connection with the third terminal device after the third terminal device is found;
acquiring equipment information of the third terminal equipment;
and synchronizing the device information and the connection state and the connection type between the third terminal device and other node devices in the communication network.
8. A device discovery method for a second terminal device in a communication network, the method comprising:
after synchronizing working state parameters to first terminal equipment, acquiring a scanning list sent by the first terminal equipment; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device;
and if the scanning equipment indicated by the scanning list comprises the second terminal equipment, scanning according to the scanning starting time and the scanning window length to discover third terminal equipment outside the communication network.
9. The method of claim 8,
the operating state parameter comprises at least one of the following parameters: location parameters, power parameters, signal strength parameters, and network mode parameters.
10. The method of claim 9, further comprising:
directly sending the working state parameters to the first terminal equipment; and/or the presence of a gas in the atmosphere,
and sending the working state parameters to other connected node equipment in the communication network so as to synchronize the working state parameters to the first terminal equipment.
11. The method of claim 9, further comprising:
if the second terminal device is the scanning device, after the third terminal device is found, connection with the third terminal device is established;
acquiring equipment information of the third terminal equipment;
and synchronizing the device information and the connection state and the connection type between the third terminal device and other node devices in the communication network.
12. The method according to any one of claims 8-11, further comprising:
and synchronizing the working state parameters to the first terminal equipment according to a preset period.
13. A first terminal device, characterized in that the first terminal device comprises:
a first obtaining unit, configured to obtain operating state parameters of all node devices in the communication network;
a selecting unit, configured to select a scanning device from all the node devices according to the operating state parameter;
a generating unit configured to generate a scan list based on the scanning device; wherein the scan list indicates a scan start time and a scan window length for each of the scanning devices;
a synchronization unit, configured to synchronize the scan list to a second terminal device, so that the scanning device performs scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network; the second terminal device is another node device in the communication network except the first terminal device.
14. A first terminal device, characterized in that the first terminal device comprises a processor, a memory storing instructions executable by the processor, which instructions, when executed by the processor, implement the method according to any of claims 1-7.
15. A second terminal device, characterized in that the second terminal device comprises:
the second acquisition unit is used for acquiring a scanning list sent by the first terminal equipment after the working state parameters are synchronized to the first terminal equipment; the first terminal device is other node devices in the communication network except the second terminal device; the scan list indicates a scan start time and a scan window length for each scanning device;
a scanning unit, configured to perform scanning processing according to the scanning start time and the scanning window length to discover a third terminal device outside the communication network if the scanning device indicated by the scanning list includes the second terminal device.
16. A second terminal device, characterized in that the second terminal device comprises a processor, a memory storing instructions executable by the processor, which instructions, when executed by the processor, implement the method according to any of claims 8-12.
17. A communication network, characterized in that it comprises a first terminal device according to claim 13 or 14 and a second terminal device according to claim 15 or 16 for implementing the method according to any one of claims 1-7 or 8-12.
18. A computer-readable storage medium, on which a program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7 or 8-12.
CN202211064989.3A 2022-09-01 2022-09-01 Device discovery method, terminal device, communication network, and storage medium Pending CN115550899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211064989.3A CN115550899A (en) 2022-09-01 2022-09-01 Device discovery method, terminal device, communication network, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211064989.3A CN115550899A (en) 2022-09-01 2022-09-01 Device discovery method, terminal device, communication network, and storage medium

Publications (1)

Publication Number Publication Date
CN115550899A true CN115550899A (en) 2022-12-30

Family

ID=84725487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211064989.3A Pending CN115550899A (en) 2022-09-01 2022-09-01 Device discovery method, terminal device, communication network, and storage medium

Country Status (1)

Country Link
CN (1) CN115550899A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116600364A (en) * 2023-06-29 2023-08-15 中国电信股份有限公司 Multi-hop networking method, device, electronic equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116600364A (en) * 2023-06-29 2023-08-15 中国电信股份有限公司 Multi-hop networking method, device, electronic equipment and computer readable storage medium
CN116600364B (en) * 2023-06-29 2024-10-11 中国电信股份有限公司 Multi-hop networking method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
JP6563426B2 (en) Peer discovery in neighbor aware networking (NAN) assisted data link networks
CN107005831B (en) Perimeter aware networking datapath
CN106060936B (en) Method and system for communicating in a wireless mesh network
US9800389B2 (en) Systems and methods for discovering and synchronizing within a neighbor aware network
US9485708B2 (en) Systems and methods for concurrent service discovery and minimum spanning tree formation for service delivery
US10244459B2 (en) Systems and methods for synchronization within a neighbor aware network
US10893573B2 (en) D2D communication method, remote user equipment, and relay user equipment
US9307507B2 (en) Systems and methods of selective scanning for ad-hoc networks
JP6746682B2 (en) Ways to exchange connectivity
JP5384493B2 (en) Multihop paging of peers in peer-to-peer communication networks
US9843989B2 (en) Uniform UE initialization procedure for both in-coverage and out-of-coverage D2D communications
WO2017119985A1 (en) Sharing network feedback information using a device-to-device link
CN110519745B (en) Neighbor discovery method based on maximum common divisor of cycle length
CN115550899A (en) Device discovery method, terminal device, communication network, and storage medium
WO2017028592A1 (en) Capability indication method, route establishing method, mobile terminal and network device
CN106231652B (en) A kind of new node method of network entry of wireless multi-hop collaborative network
JP2016226031A (en) Radio communication device
CN112468187B (en) Ad-hoc network method of power line carrier communication equipment
CN115914347A (en) Service discovery method and electronic equipment
CN118509945A (en) Sidelink cellular mixed network routing method oriented to 3GPP standard
JP5994893B2 (en) Wireless communication apparatus, wireless communication system, wireless communication method, and program
US9794937B2 (en) D2D communication method and device on basis of hopping sequence

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination