CN115484576A - Online detection method and equipment based on heartbeat packet - Google Patents

Online detection method and equipment based on heartbeat packet Download PDF

Info

Publication number
CN115484576A
CN115484576A CN202110603439.3A CN202110603439A CN115484576A CN 115484576 A CN115484576 A CN 115484576A CN 202110603439 A CN202110603439 A CN 202110603439A CN 115484576 A CN115484576 A CN 115484576A
Authority
CN
China
Prior art keywords
electronic device
message
electronic
electronic devices
target
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
CN202110603439.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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110603439.3A priority Critical patent/CN115484576A/en
Priority to PCT/CN2022/084879 priority patent/WO2022252796A1/en
Publication of CN115484576A publication Critical patent/CN115484576A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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
    • 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/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • 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/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • 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)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An online detection method and equipment based on heartbeat packets relate to the technical field of electronics, and can control sending time and/or receiving time of the heartbeat packets based on clock difference, so that receiving end equipment can receive the heartbeat packets when being in a window receiving state, the heartbeat packets can be efficiently received, power consumption is reduced, and online detection can be rapidly performed based on the heartbeat packets. The scheme is used for a network formed by multiple devices, the network comprises a first electronic device and one or more second electronic devices, and the scheme comprises the following steps: the one or more second electronic devices obtain respective corresponding first clock differences, wherein the first clock differences are differences between local clocks of the second electronic devices and local clocks of the first electronic devices; the method comprises the steps that a first electronic device sends one or more corresponding first target messages to one or more second electronic devices respectively; and one or more second electronic devices control the second electronic devices to receive the corresponding first target messages when the second electronic devices are in the window receiving state according to the corresponding first clock differences.

Description

Online detection method and equipment based on heartbeat packet
Technical Field
The embodiment of the application relates to the technical field of electronics, in particular to an online detection method and device based on heartbeat packets.
Background
With the increasing entrance of more and more electronic devices into the home or office, different electronic devices are dynamically and intelligently connected, so that intelligent networking and cooperative service completion become a trend. In a multi-device scenario, a user may want to pre-form a network with electronic devices before a service request, and accurately provide the online status of the electronic devices, so that the user can quickly enjoy various experiences brought by the service through the online devices.
Among them, since most electronic devices are sensitive to power consumption, how to perform online detection of each electronic device with low power consumption is an important problem to be solved.
Disclosure of Invention
The embodiment of the application provides an online detection method and device based on heartbeat packets, which can control the sending time and/or receiving time of the heartbeat packets based on the clock difference between electronic devices in a network, so that a receiving end device receives the heartbeat packets when being in a window receiving state, the receiving efficiency of the heartbeat packets can be improved, the receiving and sending times and the receiving time of the heartbeat packets are reduced, the power consumption of the electronic devices is reduced, and the multiple electronic devices in the network can be quickly, timely and accurately detected online based on the heartbeat packets.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in one aspect, an embodiment of the present application provides a message interaction method, which is used for a network composed of multiple devices, where the network includes a first electronic device and one or more second electronic devices. The method comprises the following steps: one or more second electronic devices acquire respective corresponding first clock differences, wherein the first clock differences are differences between local clocks of the second electronic devices and local clocks of the first electronic devices; the method comprises the steps that a first electronic device sends one or more corresponding first target messages to one or more second electronic devices; and one or more second electronic devices control the second electronic devices to receive the corresponding first target messages when the second electronic devices are in the window receiving state according to the corresponding first clock difference.
The network may be an intelligent connection network, the first electronic device is a superior node of the second electronic device, and the second electronic device is a subordinate node of the first electronic device. For example, the first electronic device may be the central node, and the second electronic device may be the primary node; alternatively, the first electronic device may be the primary node, the second electronic device may be the secondary node, and the like. The first target message is a heartbeat packet expected to be received by the second electronic device.
Based on the scheme, the second electronic device can control the sending time and/or the receiving time of the first target message based on the clock difference, so that the receiving end device receives the corresponding first target message when in the window receiving state, the first target message is efficiently received, and the power consumption is reduced. Therefore, the method provided by the embodiment of the application can be adopted to transmit the first target message between any electronic equipment with the upper-level node relation and any electronic equipment with the lower-level node relation in the intelligent network, and the corresponding first target message is received when the electronic equipment is in the window receiving state according to the clock difference, so that the first target message can be efficiently, quickly and accurately received, the number and the duration of message interaction are reduced, the power consumption of the electronic equipment in the intelligent network is saved, and the efficiency of corresponding processing according to the target message is improved.
In one possible design, the first electronic device sends the corresponding one or more first target messages to one or more second electronic devices, including: the first electronic device periodically sends one or more corresponding first target messages to one or more second electronic devices according to a first preset period. One or more second electronic devices control the second electronic devices to receive corresponding first target messages when the second electronic devices are in a window receiving state according to the corresponding first clock differences, and the method comprises the following steps: and one or more second electronic devices control the second electronic devices to receive the corresponding first target messages when the second electronic devices are in the window receiving state according to the corresponding first clock difference and the first preset period.
In this scheme, the first electronic device and the second electronic device may periodically transceive the first target message therebetween.
In another possible design, the one or more second electronic devices control the second electronic devices to receive the corresponding first target message when in the window receiving state according to the corresponding first clock difference and the first preset period, and the method includes: the one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic devices send corresponding first target messages according to the corresponding first clock difference and the first preset period, so that the second electronic devices receive the corresponding first target messages when the second electronic devices are in the window receiving state.
In the scheme, the second electronic device enters a window receiving state when the first electronic device sends the first target message, and the window of the second electronic device is already in the receiving state when the first target message is transmitted to the second electronic device, so that the first target message can be received when the window is in the receiving state, the first target message can be received quickly and efficiently, and the power consumption of the device is reduced.
In another possible design, before the one or more second electronic devices obtain the respective corresponding first clock differences, the method further includes: and the first electronic equipment calculates the first clock difference according to the second target messages respectively received by one or more second electronic equipment recently. The second target message is from a first message group sent by the first electronic device, the first message group comprises N messages sent according to a preset interval, the second target message is the Xth message in the first message group, N is a positive integer, and X is a positive integer smaller than or equal to N. One or more second electronic devices obtain respective corresponding first clock differences, including: one or more second electronic devices obtain respective corresponding first clock differences from the first electronic device.
That is, the first clock difference may be calculated from the second target message most recently received by the second electronic device. The first message group is used to determine X and tX corresponding to the second electronic device, and may be, for example, a heartbeat packet group that is first broadcast to a mobile phone by a postamble. The X corresponding to the second target message is used for subsequent window alignment, and may be, for example, a heartbeat packet from a large screen that is received by the mobile phone for the first time, where the heartbeat packet is the xth heartbeat packet in the heartbeat packet group broadcasted by the large screen.
In another possible design, the method further includes: the method comprises the steps that a first electronic device sends a first message group to one or more second electronic devices at a time t 1; after receiving the Xth message in the first message group at the respective tr moment, the one or more second electronic devices respectively send first response messages to the first electronic device, wherein the first response messages comprise tr and indication information of a sending timestamp tX of the Xth message; and after the first electronic equipment receives one or more first response messages at one or more tnow moments, respectively calculating transmission time delays corresponding to one or more second electronic equipment according to tnow and tX. The first electronic device calculates a first clock difference according to second target messages respectively received by one or more second electronic devices recently, and the method comprises the following steps: and the first electronic equipment calculates the first clock difference corresponding to the one or more second electronic equipment according to the transmission time delay, tr and tX corresponding to the one or more second electronic equipment respectively.
That is, the first clock difference is calculated according to the number and the sending time of the second target message in the second message group received by the second electronic device. The second electronic device is different, and the parameters of tX, X, tr, and the like corresponding to the second electronic device are also different. For example, when the second electronic device is a mobile phone, tX is tX1; when the second electronic device is a watch, tX is tX2. The second message group is a message group sent by the first electronic device after the windows are aligned. For example, the first message group may be a heartbeat packet group broadcasted by a large screen after a postamble handset is window-aligned with the large screen.
In another possible design, the sending, by the first electronic device, the corresponding one or more first targeted messages to one or more second electronic devices includes: the first electronic device periodically sends a second message group to one or more second electronic devices according to t1 and a first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and a first target message corresponding to each of the one or more second electronic devices is an Xth message corresponding to each of the one or more second electronic devices in the second message group; one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a corresponding first target message according to a corresponding first clock difference and a first preset period, and the method includes: one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a second message group according to the corresponding first clock difference, t1 and the first preset period, so that the second electronic devices enter the window receiving state when the first electronic device sends the corresponding first target message.
In the scheme, the second electronic device can enter the window receiving state when the first electronic device sends the second message group, so that the first target message is received when the second electronic device is in the window receiving state, the first target message can be received quickly and efficiently, and the power consumption of the device is reduced. This scheme may correspond to a first strategy for postamble window alignment.
In another possible design, the first electronic device sends the corresponding one or more first target messages to one or more second electronic devices, including: the first electronic device periodically sends a second message group to one or more second electronic devices according to t1 and a first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and a first target message corresponding to each of the one or more second electronic devices is an Xth message corresponding to each of the one or more second electronic devices in the second message group; one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic devices send corresponding first target messages according to respective corresponding first clock differences and first preset periods, and the method includes the following steps: and one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic devices send corresponding first target messages according to the corresponding first clock difference, the corresponding tX and the corresponding first preset period.
In the scheme, the second electronic device can enter the window receiving state when the first electronic device sends the first target message, so that the first target message is received when the second electronic device is in the window receiving state, the first target message can be received quickly and efficiently, and the power consumption of the device is reduced. This scheme may correspond to a second strategy for window alignment after that.
In another possible design, the first electronic device sends the corresponding one or more first target messages to one or more second electronic devices, including: the first electronic device periodically sends a second message group to one or more second electronic devices according to the tX0 and a first preset period, wherein the tX0 is a value of the tX corresponding to the one or more electronic devices before the opportunity, the tX0 corresponds to an X0-th message in the first message group, the second message group comprises a plurality of messages sent according to preset intervals, and a first target message corresponding to each of the one or more second electronic devices is an X-X0+ 1-th message corresponding to each of the one or more second electronic devices in the second message group. One or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic devices send corresponding first target messages according to respective corresponding first clock differences and first preset periods, and the method includes the following steps: one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a second message group according to the corresponding first clock difference, the corresponding tX and the corresponding first preset period, so that the second electronic devices enter the window receiving state when the first electronic device sends the corresponding first target message.
In the scheme, the second electronic device can enter the window receiving state when the first electronic device sends the second message group where the first target message is located, so that the first target message is received when the second electronic device is in the window receiving state, the first target message can be received quickly and efficiently, and the power consumption of the device is reduced. This scheme corresponds to a third strategy for postamble window alignment.
In another possible design, the network includes a second electronic device, and the first electronic device sends one or more corresponding first target messages to the second electronic device, where the method includes: the first electronic device periodically sends a second message group to the second electronic device according to the tX and a first preset period, wherein the second message group comprises a plurality of messages sent at preset intervals, and the first target message is a first message in the second message group. The second electronic device controls the first window to enter a receiving state when the first electronic device sends the corresponding first target message according to the first clock difference and the first preset period, and the method comprises the following steps: and the second electronic equipment controls the second electronic equipment to enter a window receiving state when the first electronic equipment sends the corresponding first target message according to the first clock difference, the tX and the first preset period.
In the scheme, the second electronic device can enter the window receiving state when the first electronic device sends the first target message, so that the first target message is received when the second electronic device is in the window receiving state, the first target message can be received quickly and efficiently, and the power consumption of the device is reduced.
In another possible design, the method further includes: and if the second electronic equipment receives the Xi message in the second message group and the number of the intervals between the Xi message and the Xth message is larger than or equal to the preset value, requesting the first electronic equipment to update the first clock error.
In this scheme, if the second electronic device receives the Xi-th message in the second message group and the number of intervals between Xi and the xth message is greater than or equal to the preset value, the clock difference between the second electronic device and the first electronic device may change greatly, and thus the first electronic device may be requested to update the first clock difference.
In another possible design, the method further includes: and if the first electronic equipment determines that the number of the intervals between the Xth message and the Xth message received by the second electronic equipment is greater than or equal to the preset value according to the response message from the second electronic equipment, the first clock difference is updated by the first electronic equipment.
In this scheme, if the first electronic device knows that the Xi-th message in the second message group received by the second electronic device and the number of intervals between the Xi and the X-th message is greater than or equal to the preset value, the clock difference between the second electronic device and the first electronic device may change greatly, and thus the first electronic device may trigger updating of the first clock difference.
In another possible design, the one or more second electronic devices control the second electronic device to receive the corresponding first target message when in the window receiving state according to the respective corresponding first clock difference, including: one or more second electronic devices control, according to respective corresponding first clock differences, that the second electronic devices enter a window receiving state before a time when corresponding first target messages calculated according to pre-obtained transmission delays reach the second electronic devices, so that the second electronic devices receive the corresponding first target messages when being in the window receiving state.
In the scheme, the second electronic device can enter the window receiving state before the first target message arrives, so that the second electronic device receives the first target message when in the window receiving state, and therefore the first target message can be received quickly and efficiently, and the power consumption of the device is reduced.
In another possible design, the network further includes one or more third electronic devices, each third electronic device corresponding to one second electronic device, and each second electronic device corresponding to one or more third electronic devices, and the method further includes: one or more third electronic devices obtain respective corresponding second clock differences, where a second clock difference is a difference between a local clock of a third electronic device and a local clock of a second electronic device corresponding to the third electronic device; the second electronic equipment sends a third target message to one or more corresponding third electronic equipment; and one or more third electronic devices control the third electronic devices to receive the third target message when the third electronic devices are in the window receiving state according to the respective corresponding second clock differences.
That is, the target message may be transferred between the second electronic device and the third electronic device in the same manner as between the first electronic device and the second electronic device.
In another possible design, the first target message is a non-connectable broadcast ADV _ non _ IND message of bluetooth low energy BLE.
The non-connectable broadcast message does not need a special response message to reply, so that the bandwidth occupation of a response message packet can be reduced, the number of message interaction in the online detection process is reduced, the power consumption is saved, the interaction flow is simplified, and the online detection efficiency is improved.
In another possible design, the second electronic device obtains a first clock difference, including: and the second electronic equipment acquires the first clock difference updated according to the second preset period from the first electronic equipment.
That is, the first electronic device may periodically update the first clock difference, so that the updated first clock difference of the second electronic device performs window alignment.
In another possible design, the second preset period corresponds to a preset clock difference accumulation change threshold.
That is, during the second predetermined period, the cumulative change in the first clock difference may have exceeded the threshold, and the first electronic device may trigger a recalculation of the clock difference.
In another possible design, the first target message is used to transmit heartbeat packets.
For example, the message group may be a heartbeat packet group, which may include a plurality of heartbeat packets, and the first target message is used to transmit the target heartbeat packet. In this way, the second electronic device can receive the heartbeat packet quickly and efficiently based on the first clock difference, so that heartbeat detection can be carried out quickly and efficiently.
In another aspect, an embodiment of the present application provides a message interaction method, which is used for a first electronic device in a network formed by multiple devices, where the network further includes one or more second electronic devices. The method comprises the following steps: the first electronic device calculates first clock differences corresponding to one or more second electronic devices respectively, wherein the first clock differences are differences between local clocks of the second electronic devices and local clocks of the first electronic devices. The first electronic device sends first clock differences corresponding to one or more second electronic devices to the corresponding second electronic devices, and the first clock differences are used for controlling the second electronic devices to receive corresponding first target messages when the second electronic devices are in a window receiving state. The first electronic device sends the corresponding one or more first target messages to one or more second electronic devices.
In the scheme, the first electronic device may notify the second electronic device of the first clock difference, so that the second electronic device can control the sending timing and/or the receiving timing of the first target message based on the clock difference, so that the receiving end device receives the first target message when being in a window receiving state, thereby efficiently receiving the first target message and reducing power consumption.
In one possible design, the first electronic device sends the corresponding one or more first targeted messages to one or more second electronic devices, including: the first electronic device periodically sends one or more corresponding first target messages to one or more second electronic devices according to a first preset period.
In another possible design, the calculating, by the first electronic device, first clock differences respectively corresponding to one or more second electronic devices includes: the first electronic device calculates a first clock difference according to second target messages respectively received by one or more second electronic devices recently. The second target message is from a first message group sent by the first electronic device, the first message group comprises N messages sent according to a preset interval, the second target message is the Xth message in the first message group, N is a positive integer, and X is a positive integer smaller than or equal to N.
In another possible design, the calculating, by the first electronic device, the first clock difference according to the second target messages respectively received by the one or more second electronic devices recently includes: the method comprises the steps that a first electronic device sends a first message group to one or more second electronic devices at time t 1; the first electronic device receives first response messages from one or more second electronic devices at one or more tnow time instants, wherein the first response messages comprise time instants tr at which the second electronic devices receive the Xth message in the first message group and indication information of a sending time stamp tX of the Xth message; the first electronic device calculates transmission time delay corresponding to one or more second electronic devices according to tnow and tX corresponding to the one or more second electronic devices respectively; and the first electronic equipment calculates the first clock difference corresponding to the one or more second electronic equipment according to the transmission time delay, tr and tX corresponding to the one or more second electronic equipment respectively.
In another possible design, the periodically sending, by the first electronic device, the corresponding one or more first target messages to the one or more second electronic devices according to a first preset period includes: the first electronic device periodically sends a second message group to one or more second electronic devices according to t1 and a first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and a first target message corresponding to each of the one or more second electronic devices is an xth message corresponding to each of the one or more second electronic devices in the second message group.
In another possible design, the periodically sending, by the first electronic device, the corresponding one or more first target messages to the one or more second electronic devices according to a first preset period includes: the first electronic device periodically sends a second message group to one or more second electronic devices according to the tX0 and a first preset period, wherein the tX0 is a value of the tX corresponding to the one or more electronic devices before the opportunity, the tX0 corresponds to an X0-th message in the first message group, the second message group comprises a plurality of messages sent according to preset intervals, and a first target message corresponding to each of the one or more second electronic devices is an X-X0+1 message corresponding to each of the one or more second electronic devices in the second message group.
In another possible design, the network includes a second electronic device, and the first electronic device periodically sends, according to a first preset period, corresponding one or more first target messages to one or more second electronic devices, where the method includes: the first electronic device periodically sends a second message group to the second electronic device according to the tX and a first preset period, wherein the second message group comprises a plurality of messages sent at preset intervals, and the first target message is a first message in the second message group.
In another possible design, the method further includes: if the first electronic device determines that the number of the intervals between the Xth message and the Xth message received by the second electronic device is larger than or equal to the preset value according to the response message from the second electronic device, the first electronic device updates the first clock difference.
In another possible design, the first clock difference is used to control the second electronic device to enter a window receiving state when the first electronic device sends the corresponding first target message, so that the second electronic device receives the corresponding first target message when the second electronic device is in the window receiving state.
In another possible design, the first clock difference is used to control the second electronic device to enter a window receiving state before a time when the corresponding first target message calculated according to the pre-obtained transmission delay reaches the second electronic device, so that the second electronic device receives the corresponding first target message when in the window receiving state.
On the other hand, the embodiment of the application provides a message interaction method, which is used for a second electronic device in a network formed by multiple devices, wherein the network further comprises a first electronic device. The method comprises the following steps: the second electronic equipment acquires a first clock difference, wherein the first clock difference is a difference value between a local clock of the second electronic equipment and a local clock of the first electronic equipment; and the second electronic equipment controls the second electronic equipment to receive the corresponding first target message from the first electronic equipment when the second electronic equipment is in the window receiving state according to the first clock difference.
Based on the scheme, the second electronic device can control the sending opportunity and/or the receiving opportunity of the first target message based on the clock difference, so that the receiving end device receives the first target message when being in the window receiving state, the first target message is received efficiently, and power consumption is reduced.
In one possible design, the second electronic device controls the second electronic device to receive a corresponding first target message from the first electronic device when in the window receiving state according to the first clock difference, including: and the second electronic equipment is controlled to receive the corresponding first target message from the first electronic equipment when the second electronic equipment is in a window receiving state according to the first clock difference and the first preset period.
In another possible design, the controlling, by the second electronic device, the second electronic device to receive the corresponding first target message from the first electronic device when the second electronic device is in the window receiving state according to the first clock difference and the first preset period includes: the second electronic device controls the second electronic device to enter a window receiving state when the first electronic device sends the corresponding first target message according to the first clock difference and the first preset period, so that the second electronic device receives the corresponding first target message from the first electronic device when the second electronic device is in the window receiving state.
In another possible design, the second electronic device obtains a first clock difference, including: the second electronic device obtains a first clock difference from the first electronic device, and the first clock difference is obtained according to a second target message recently received by the second electronic device. The second target message is from a first message group sent by the first electronic device, the first message group comprises N messages sent according to a preset interval, the second target message is the Xth message in the first message group, N is a positive integer, and X is a positive integer smaller than or equal to N.
In another possible design, the method further includes: the second electronic equipment receives the Xth message in the first message group from the first electronic equipment at the time point tr; and the second electronic equipment sends a first response message to the first electronic equipment, wherein the first response message comprises tr and the indication information of the sending time stamp tX of the Xth message, and the tr and the tX are used for calculating the first clock difference.
In another possible design, the controlling, by the second electronic device, the second electronic device to enter the window receiving state when the first electronic device sends the corresponding first target message according to the first clock difference and the first preset period includes: the second electronic device controls the second electronic device to enter a window receiving state when the first electronic device sends the second message group according to the first clock difference, the sending time t1 of the first message in the first message group and the first preset period, so that the second electronic device enters the window receiving state when the first electronic device sends the corresponding first target message, wherein the second message group comprises a plurality of messages sent according to preset intervals, and the first target message is the Xth message in the second message group.
In another possible design, the controlling, by the second electronic device, the second electronic device to enter the window receiving state when the first electronic device sends the corresponding first target message according to the first clock difference and the first preset period includes: and the second electronic equipment controls the second electronic equipment to enter a window receiving state when the first electronic equipment sends a corresponding first target message according to the first clock difference, the sending time tX of the Xth message in the first message group and a first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and the first target message is the first message in the second message group.
In another possible design, the controlling, by the second electronic device, the second electronic device to enter the window receiving state when the first electronic device sends the corresponding first target message according to the first clock difference and the first preset period includes: the second electronic device controls the second electronic device to enter a window receiving state when the first electronic device sends a second message group according to the first clock difference, the tX and a first preset period, so that the second electronic device enters the window receiving state when the first electronic device sends a corresponding first target message, wherein the second message group comprises a plurality of messages sent according to a preset interval, the first target message is a first message or an X-X0+1 message in the second message group, and the X0 message is sent in the first message group before the X message.
In another possible design, the method further includes: and if the second electronic equipment receives the Xi message in the second message group and the number of the intervals between the Xi message and the Xth message is larger than or equal to the preset value, requesting the first electronic equipment to update the first clock error.
In another possible design, the second electronic device controls, according to the first clock difference, the second electronic device to receive the corresponding first target message from the first electronic device when the second electronic device is in the window receiving state, including: and the second electronic equipment controls the second electronic equipment to enter a window receiving state before the moment when the corresponding first target message calculated according to the pre-obtained transmission delay reaches the second electronic equipment according to the first clock difference, so that the second electronic equipment receives the corresponding first target message from the first electronic equipment when the second electronic equipment is in the window receiving state.
In another possible design, the network further includes one or more third electronic devices, and each second electronic device corresponds to one or more third electronic devices, and the method further includes: and the second electronic equipment sends the third target message to one or more corresponding third electronic equipment.
In another possible design, the second electronic device obtains a first clock difference, including: and the second electronic equipment acquires the first clock difference updated according to the second preset period from the first electronic equipment.
On the other hand, an embodiment of the present application provides a message interaction apparatus, where the apparatus is included in a first electronic device or a second electronic device, and the apparatus has a function of implementing a behavior of the first electronic device or the second electronic device in any one of the foregoing aspects and any one of the possible implementation manners. The function can be realized by hardware, and can also be realized by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as a transmitting module or unit, a receiving module or unit, a processing module or unit, etc.
In another aspect, embodiments of the present application provide an electronic device including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors and the one or more memories are configured to store computer program code including computer instructions that, when executed by the one or more processors, cause the electronic device to perform a message interaction method performed by a first electronic device in any of the aspects and any possible implementations described above, or cause the electronic device to perform a message interaction method performed by a second electronic device in any of the aspects and any possible implementations described above.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is caused to perform a message interaction method performed by a first electronic device in any one of the above aspects and any one of the possible implementations, or the electronic device is caused to perform a message interaction method performed by a second electronic device in any one of the above aspects and any one of the possible implementations.
In another aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, causes the computer to execute a message interaction method performed by a first electronic device in any one of the above aspects and any one of the possible implementations, or causes the computer to execute a message interaction method performed by a second electronic device in any one of the above aspects and any one of the possible implementations.
On the other hand, an embodiment of the present application provides a network system composed of devices, where the system may include a first electronic device and a second electronic device, and the first electronic device and the second electronic device may execute the message interaction method in any aspect and any possible implementation manner.
For the beneficial effects of other aspects, reference may be made to the beneficial effects of the multi-device network method, which are not described herein again.
Drawings
Fig. 1A is a schematic networking diagram of an intelligent network according to an embodiment of the present application;
fig. 1B is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a relationship between upper and lower nodes in an intelligent network according to an embodiment of the present disclosure;
fig. 3A is a timing diagram of an interactive heartbeat packet between electronic devices in an intelligent network according to an embodiment of the present disclosure;
fig. 3B is an interaction flowchart of a clock difference between a large screen and a mobile phone according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating comparison between before and after alignment of a window corresponding to a first policy provided in an embodiment of the present application;
fig. 5 is a schematic diagram illustrating comparison between before and after alignment of windows corresponding to a second policy provided in an embodiment of the present application;
fig. 6 is a schematic comparison diagram before and after aligning windows corresponding to a third policy provided in an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a heartbeat packet scanning effect under a condition that window alignment is not performed according to the prior art;
fig. 8 is an interaction flowchart of clock differences between a mobile phone and a speaker according to an embodiment of the present disclosure;
fig. 9 is a flowchart of a message interaction method according to an embodiment of the present application;
fig. 10 is a schematic diagram of another hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
In the embodiments of the present application, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
At present, intelligent networking and cooperative service completion among a plurality of electronic devices become a trend. After a plurality of electronic devices capable of establishing a mutual trust relationship are discovered mutually, a network can be automatically formed, which is called an intelligent network. For example, if a plurality of electronic devices log in the same Account (that is, account IDs are the same), or a user performs a binding and authentication process on the plurality of electronic devices (for example, the plurality of electronic devices are bound by a pin code or a Quick Response (QR) code), a mutual trust relationship is established between the plurality of electronic devices.
In the embodiment of the application, for a plurality of electronic devices with trust relationships in the near field communication range, one electronic device maintains a logical connection with other electronic devices, and the states and information of the electronic devices can be synchronized when the system runs. These mutually trusted electronic devices may form an intelligent network.
It should be noted that the intelligent network is only one name of the network according to the embodiment of the present application, and the network according to the embodiment of the present application may have other names, which is not limited.
The plurality of electronic devices in the intelligent network support local short-range communication, for example, may support a short-range wireless communication method such as bluetooth, wi-Fi, or Near Field Communication (NFC), or support a short-range wired communication method such as Universal Serial Bus (USB). For an exemplary networking schematic of a smart network, see fig. 1A. As shown in fig. 1A, bluetooth Low Energy (BLE) communication modes are supported between the large screen and the mobile phone, between the large screen and the smart watch (watch for short), between the watch and the earphone, and between the mobile phone and the earphone. A Wi-Fi communication mode is supported between the mobile phone and the intelligent sound box (a sound box for short).
After the networking of the intelligent network is completed, the electronic equipment in the intelligent network is on line. Specifically, during or after mutual discovery, the multiple electronic devices may exchange information (including identity information of the electronic devices, etc.) with each other to notify the identities of the online electronic devices of each other. Then, the electronic devices in the intelligent network can perform online detection through the heartbeat packet so as to know the conditions of the online electronic devices. In embodiments of the present application, online means that the electronic device can be detected by heartbeat packets, not necessarily indicating that there is an established network connection or data channel.
For example, after the electronic device 1 in the intelligent network sends the heartbeat packet to the electronic device 2, if the heartbeat response message sent by the electronic device 2 is received within the preset time period, the electronic device 2 is considered to be online. The online electronic equipment in the intelligent network can initiate service data transmission at any time, so that service processing can be completed quickly, directly and cooperatively. If the electronic device 1 does not receive the heartbeat response message sent by the electronic device 2 within the preset time length, it is determined that the electronic device 2 is offline. The electronic devices in the intelligent network can also notify the identity information of the offline device to each other, so that each electronic device can know the current online device and the offline device.
The embodiment of the application provides an online detection method, which can control the sending opportunity and/or the receiving opportunity of a heartbeat packet based on the clock difference between sending end electronic equipment and receiving end electronic equipment in a network, so that the receiving end electronic equipment receives the heartbeat packet when being in a window receiving state, the receiving efficiency of the heartbeat packet can be improved, the receiving and sending times and the time length of the heartbeat packet are reduced, the power consumption of the electronic equipment is reduced, and low-power-consumption, quick, timely and accurate online detection can be realized on a plurality of electronic equipment in the network based on the heartbeat packet. The window of the receiving-end electronic device is used for receiving the heartbeat packet, and may be referred to as a receiving window, for example, specifically, a scanning window of the receiving-end electronic device.
For example, the electronic device in the smart connectivity network may be a mobile terminal such as a mobile phone, a tablet computer, a wearable device (e.g., a headset, a smart watch, a smart band, smart glasses, etc.), a smart home device (e.g., a large screen, a sound box, a smart lamp, etc.), an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and the embodiments of the present application do not limit the specific type of the electronic device.
For example, fig. 1B shows a schematic structural diagram of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
Wherein the controller may be a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a USB interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. GNSS may include Global Positioning System (GPS), global navigation satellite system (GLONASS), beidou satellite navigation system (BDS), quasi-zenith satellite system (QZSS), and/or Satellite Based Augmentation System (SBAS).
In an embodiment of the present application, the electronic device 100 may send or receive the heartbeat packet through the mobile communication module 150, the wireless communication module 160, or the USB, or the like.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
In the embodiment of the present application, the processor 110 operates the instruction stored in the internal memory 121, so that the electronic device 100 in the intelligent network can control the sending opportunity and/or the receiving opportunity of the heartbeat packet based on the clock difference between the electronic devices, and the electronic device at the receiving end receives the heartbeat packet when being in the window receiving state, thereby improving the receiving efficiency of the heartbeat packet, reducing the receiving and sending times and duration of the heartbeat packet, and reducing the power consumption of the electronic device, so that the fast, timely, and accurate online detection of the plurality of electronic devices in the network can be realized based on the heartbeat packet.
The heartbeat packet based online detection method provided by the embodiment of the present application will be explained below with reference to the accompanying drawings.
Electronic devices in a intelligently connected network may also be referred to as nodes. In the embodiment of the application, the nodes of the intelligent connection network have an upper-level relationship and a lower-level relationship, and the upper-level node can send a heartbeat packet to the lower-level node so as to detect whether the lower-level node is on line or not. The superior and inferior relations between the nodes can be determined according to the information of the nodes and/or the mutual relation between the nodes and other factors. In an intelligent network, there may be one or more subordinate nodes of a node.
For example, the information of the node itself may include one or more of network capability information, processing capability information, network quality, power information, motion information, service information, and Service Set Identifier (SSID), etc. The network capability information may include at least one of a network connection supported by the node, a maximum bandwidth supported by the network connection supported by the node, and connection information of the network connection supported by the node (e.g., a port number, a Media Access Control (MAC) address or an Internet Protocol (IP) address). The processing capability information of the node indicates the processing capability of the node, including, for example, the power consumption, the chip processing capability, and the memory of the node.
For example, the interrelationship between nodes may include network topology relations and the like. The network topology relationship includes the network connection mode supported between the nodes, the communication path between the nodes, and the like.
For example, the upper and lower level relationships between the nodes may be determined according to the weights of the nodes and the network topology relationship between the nodes. The weight of the node can be determined by the node according to the network capability information of the node and the processing capability information of the node, for example, the weight of the node with high power consumption, insensitivity to power consumption, good chip processing capability, large memory and strong network capability is high; conversely, nodes with low power consumption, sensitivity to power consumption, poor chip processing capability, small memory, and weak network capability have low weights.
In the embodiment of the application, the nodes in the intelligent network may include a central node, a primary node, a secondary node, and the like according to a relationship from an upper level to a lower level. The central node is the node at the uppermost level, and only the lower level node and no upper level node exist. The lower nodes of the central node are called primary nodes, and the central node is the upper node of the primary nodes; the lower nodes of the first-level nodes are called second-level nodes, and the first-level nodes are the upper-level nodes of the second-level nodes; in analogy, the intelligent network may further comprise a third level node or a fourth level node, etc. The number of the levels of the nodes included in the intelligent network is not limited in the embodiment of the application. An intelligent network typically includes a central node and may have one or more subordinate nodes belonging to different hierarchical levels. Further, if a node has both an upper node and a lower node, the node may also be referred to as an intermediate node. A node may also be referred to as a tail node if it has only an upper node and no lower nodes.
For example, in the intelligent network shown in fig. 1A, bluetooth BLE network connection is supported between the large screen and the mobile phone, and between the large screen and the watch. The Bluetooth BLE network connection mode is supported between the mobile phone and the earphone, and the Wi-Fi network connection mode is supported between the mobile phone and the sound box. According to the factors such as weight, network topological relation and the like, the electronic equipment determines that the central node is a large screen, the large screen is a superior node of a mobile phone and a watch, and the mobile phone is a superior node of an earphone and a sound box. Correspondingly, the mobile phone and the watch are subordinate nodes of the large screen, and the earphone and the sound box are subordinate nodes of the mobile phone.
In the intelligent network shown in fig. 1A, it is known from the network topology that network connections are supported between the mobile phone and the headset and between the watch and the headset, but the headset acts as a lower node of the mobile phone and does not act as a lower node of the watch depending on factors such as the weight of the node.
In the intelligent network, a large screen is a central node, a mobile phone and a watch are primary nodes, and an earphone and a sound box are secondary nodes. For example, the hierarchical relationship between the upper and lower nodes in the intelligent networking network can be seen in fig. 2. The mobile phone may also be referred to as an intermediate node, and the watch, the earphone, and the sound box may also be referred to as a tail node.
In the embodiment of the application, after networking is completed, one or more network connection modes can be supported between any two electronic devices in the intelligent connection network, but the network connection is not necessarily established between the electronic devices. The network connection mode supported between the electronic devices may be a short-range wireless network connection mode, a wired network connection mode, or the like. The wireless network connection mode that can perform online detection by using the method provided by the embodiment of the present application may be referred to as a first network connection mode. For example, the first network connection mode may be a short-range wireless network connection mode supporting an air interface scanning mechanism. The other network connection method than the first network connection method may be referred to as a second network connection method. For example, the bluetooth BLE may be a first network connection mode, the USB may be a second network connection mode, and the Wi-Fi, the bluetooth Basic Rate (BR), the bluetooth enhanced rate (EDR), or the like may be the first network connection mode or the second network connection mode.
In the intelligent connection network, information such as heartbeat packets and the like can be interacted between two electronic devices supporting the first network connection mode through the communication mode of the air interface sending and receiving window. That is, the sending-end electronic device sends a message through the air interface, and the receiving-end electronic device receives the message in the receiving window. For example, the air interface transmission mode may be a broadcast or unicast mode, and the receiving window may be a scanning window.
If the first network connection mode is not supported between the two electronic devices in the intelligent connection network and the second network connection mode is supported, information such as heartbeat packets and the like is interacted based on the second network connection mode, so that online detection is carried out.
In this embodiment, the priority of the first network connection mode may be higher than that of the second network connection mode. If the two electronic devices in the intelligent network support both the first network connection mode and the second network connection mode, information such as heartbeat packets and the like is interacted through the communication mode of the air interface sending and receiving window based on the first network connection mode, so that online detection is carried out.
The scheme provided by the embodiment of the application can be started from the central node of the intelligent network, and the heartbeat packet is sent from the superior node to the subordinate node step by step, so that the electronic equipment in the intelligent network is uniformly detected on line, and the online and offline states of the electronic equipment in the intelligent network are uniformly determined, so that the service can be rapidly, directly and cooperatively completed by using the online electronic equipment.
In the intelligent connection network, the upper and lower nodes supporting the first network connection mode may perform control based on the clock difference and the first network connection mode, so as to align the sending timing of the heartbeat packet with the opening timing of the receiving window, which is referred to as window alignment or phase alignment for short, so as to synchronize the receiving and sending timings of the heartbeat packet.
In the intelligent network, a superior node sends a heartbeat packet to a subordinate node. The upper and lower nodes of the interactive heartbeat packet are adjacent two-level nodes. For example, the upper node refers to a central node, and the lower node refers to a first-level node; for another example, the upper node refers to a first-level node, and the lower node refers to a second-level node. That is, the upper node is a sending end electronic device of the heartbeat packet, and the lower node is a receiving end electronic device of the heartbeat packet.
In the embodiment of the application, window alignment may be understood as that the receiving-end electronic device may receive the heartbeat packet sent by the sending-end electronic device when being in a window receiving state based on a clock difference between the receiving-end electronic device and the sending-end electronic device, so as to efficiently receive the heartbeat packet, reduce power consumption, and perform online detection quickly based on the heartbeat packet.
In some embodiments, the window alignment means that a difference between a timing when the receiving-end electronic device enters the receiving state and a timing when the sending-end electronic device sends the heartbeat packet is less than or equal to a first preset value. The receiving terminal electronic equipment enters a receiving state after a receiving window of the receiving terminal electronic equipment is opened, and can be used for receiving the heartbeat packet. Therefore, the receiving end electronic equipment can open the receiving window at the proper time when the sending end electronic equipment sends the heartbeat packet, so that communication resources are not wasted due to the fact that the receiving window is opened too early, and the condition that the heartbeat packet cannot be normally acquired due to the fact that the receiving window is opened too late is avoided, and therefore the receiving window can receive the heartbeat packet quickly and efficiently.
For example, the reception window enters the reception state earlier than the transmission timing of the heartbeat packet. For example, the receiving window is opened earlier than the sending timing of the heartbeat packet. Therefore, the receiving window is already in a receiving state when the heartbeat packet is sent, and the electronic equipment at the receiving end can receive the heartbeat packet more quickly and efficiently.
For another example, the receiving window enters a receiving state when the heartbeat packet is sent. For example, the receive window is opened when a heartbeat packet is sent. Therefore, when the heartbeat packet is sent, the receiving window is just opened and enters a receiving state, the receiving window is already in the receiving state when the heartbeat packet reaches the receiving end electronic equipment in consideration of transmission delay, and the receiving end electronic equipment can receive the heartbeat packet more quickly and efficiently.
For another example, the receive window enters the receive state before the heartbeat packet reaches the receiving electronic device. For example, the receiving-end electronic device may determine in advance the timing at which the heartbeat packet reaches the receiving-end electronic device according to the transmission timing of the heartbeat packet and the transmission delay obtained by pre-calculation, so as to open the receiving window in advance before the heartbeat packet arrives, so that the receiving window waits for receiving the heartbeat packet in a receiving state, and thus the heartbeat packet can be received quickly and efficiently.
For another example, when the heartbeat packet reaches the receiving-end electronic device, the receiving window is opened to enter a receiving state. For example, the receiving end electronic device may determine in advance a timing at which the heartbeat packet reaches the receiving end electronic device according to the transmission timing of the heartbeat packet and the transmission delay obtained by the pre-calculation, so that a receiving window is opened and a receiving state is entered when the heartbeat packet arrives, thereby being capable of receiving the heartbeat packet quickly and efficiently.
For the upper and lower nodes supporting the first network connection mode, after the windows are aligned, after a certain node subsequently sends a small number (e.g., 1 or 2) of heartbeat packets, the lower node of the node can quickly detect the heartbeat packets. That is to say, after the receiving and sending opportunities of the heartbeat packet are synchronized, the lower node can subsequently receive the heartbeat packet in the receiving window quickly, accurately and efficiently, so that the interaction times of the heartbeat packet in unit time can be reduced, the reliability of receiving the heartbeat packet is improved, the communication cost and power consumption are reduced, and quick, accurate and timely online detection among multiple devices is realized.
In addition, for an electronic device that only supports the second network connection mode, the upper and lower nodes may exchange heartbeat packets and heartbeat response messages based on the clock difference and the second network connection mode.
Therefore, the scheme can realize the rapid, accurate and timely online detection of each electronic device supporting the first network connection mode or the second network connection mode in the intelligent connection network.
The following describes an online detection method provided in the embodiment of the present application with reference to the drawings, taking a central node, a primary node, and a secondary node in the intelligent network shown in fig. 1A and fig. 2, where an air interface transmission mode of a heartbeat packet is broadcast, and a receiving window of the heartbeat packet is a scanning window. The method can comprise the following steps:
after the upper and lower relations of each node in the intelligent network are determined, referring to the timing diagram shown in fig. 3A, the large screen is used as the central node, and the heartbeat packet group starts to be broadcast to the mobile phone and the watch which are used as the first-level nodes at the time t1. The heartbeat packet group may include N (N is an integer greater than 1) heartbeat packets sequentially sent at preset intervals (e.g., 20ms, 30ms, etc.) within a preset period. In some embodiments, each heartbeat packet in the heartbeat packet group carries a respective sending timestamp, for example, the 1 st heartbeat packet carries a sending timestamp t1 of its own, and the X1 st heartbeat packet carries a sending timestamp tX1 of its own.
Referring to fig. 3A, after receiving the X1 (X1 is an integer greater than or equal to 1 and less than or equal to N) heartbeat packets at time tr1, the mobile phone serving as the primary node sends a heartbeat response message to the large screen.
In some embodiments, the heartbeat response message sent by the handset to the large screen includes tr1 and the sending timestamp tX1 of the X1 st heartbeat packet. In other embodiments, the heartbeat response message sent by the mobile phone to the large screen includes tr1 and the identifier of the X1 st heartbeat packet, and the large screen may determine the sending timestamp tX1 of the X1 st heartbeat packet according to the identifier of the X1 st heartbeat packet.
After the large screen receives the heartbeat response message sent by the mobile phone at the moment of tnow1, the transmission delay between the large screen and the mobile phone is calculated to be tdelay1= (tnow 1-tX 1)/2. According to the transmission delay, the clock difference between the mobile phone and the large screen is tC1= tr1-tX1-tdelay1. The large screen can send the clock difference to the mobile phone, so that window alignment is carried out between the mobile phone and the large screen according to the clock difference, and the receiving and sending time of the heartbeat packet is synchronized. For an exemplary interaction flow between the large screen and the mobile phone about clock difference, see fig. 3B.
In the scheme described in the above embodiment, the large-screen terminal calculates the clock difference between the mobile phone and the large screen and sends the clock difference to the mobile phone terminal. In other embodiments, the mobile phone end may also calculate the clock difference between the mobile phone end and the large screen by itself, and the device end for calculating the clock difference is not limited in the embodiments of the present application.
Where the clock difference is used to represent the difference between the local clocks of the two electronic devices. The electronic device may obtain the local clock based on its own operating system. For example, java of the android system uses interface system. The local clock may be a relative clock which may be different from the universal time displayed to the user by the terminal device. The local clock may be, for example, a time after the power-on or a time up to a certain reference time (for example, 1/1970). For example, the local clock of the large screen is the time after power-on, the local clock of the mobile phone is also the time after power-on, and the clock difference is 3658 × 10 9 ns. For another example, the local clock of the large screen is the time after the mobile phone is turned on, and the local clock of the mobile phone is the time from 1 month to 1 day to the present day in 1970.
Similarly, referring to fig. 3A, after receiving the xth 2 (X2 is an integer greater than or equal to 1 and less than or equal to N) heartbeat packets at time tr2, the wristwatch as a primary node sends a heartbeat response message to the large screen and carries tr2 and a transmission timestamp tX2 of the xth 2 heartbeat packet. After the large screen receives a heartbeat response message sent by the watch at the moment of tnow2, the transmission delay tdelay2= (tnow 2-tX 2)/2 is calculated. The clock difference between the watch and the large screen is tC2= tr2-tX2-tdelay2.
If the first network connection mode is supported between the central node and the first-level node, the broadcasting time of the subsequent heartbeat packet and/or the opening time of the scanning window can be controlled between the central node and the first-level node according to the clock difference, so that the broadcasting time of the heartbeat packet is aligned with the opening time of the scanning window. Namely, the central node and the primary node are aligned with each other, so that the scanning window is in a receiving state when the heartbeat packet is broadcast, and the receiving and sending time of the heartbeat packet is synchronous. After the windows are aligned, the heartbeat packet broadcasted by the central node can be quickly and accurately received by the primary node in the scanning window, so that the interaction times of the heartbeat packet in unit time can be reduced, the communication cost and power consumption are reduced, the reliability of receiving the heartbeat packet is improved, and quick, accurate and timely online detection between equipment is realized.
For example, in the intelligent network shown in fig. 1A, a first network connection mode bluetooth BLE is supported between the large screen and the mobile phone, and the broadcasting time of the subsequent heartbeat packet and/or the opening time of the scanning window may be controlled between the large screen and the mobile phone according to the clock difference, so that the scanning window of the mobile phone is also in a receiving state when the heartbeat packet is broadcasted by the large screen. Therefore, the heartbeat packet of the large-screen broadcast can be quickly and accurately received in the scanning window subsequently by the mobile phone, so that the interaction times of the heartbeat packet in unit time can be reduced, the invalid broadcast and scanning duty ratio are reduced, the reliability of receiving the heartbeat packet is improved, the communication cost and the power consumption are reduced, and quick, accurate and timely online detection between equipment is realized.
Similarly, bluetooth BLE in the first network connection mode is supported between the large screen and the watch, and the broadcasting time of the subsequent heartbeat packet and/or the opening time of the scanning window can be controlled between the large screen and the watch according to the clock difference, so that the scanning window of the watch is also in a receiving state when the heartbeat packet is broadcasted on the large screen. Therefore, the watch can quickly and accurately receive the heartbeat packet of the large-screen broadcast in the scanning window, so that the interaction times of the heartbeat packet in unit time can be reduced, the invalid broadcast and scanning duty ratio are reduced, the reliability of receiving the heartbeat packet is improved, the communication cost and the power consumption are reduced, and the quick, accurate and timely online detection between equipment is realized.
In some embodiments, when the first network connection mode is bluetooth BLE, one broadcast message for sending heartbeat packets may be an unconnected broadcast ADV _ non _ IND message. According to the Bluetooth protocol, the broadcast message of the type does not need to be replied by a special response message, so that the bandwidth occupation of a response message packet can be reduced, the number of message interaction in the online detection process is reduced, the power consumption is saved, the interaction flow is simplified, and the online detection efficiency is improved.
In the embodiments of the present application, window alignment may adopt a plurality of different strategies to control the broadcast timing of subsequent heartbeat packets and/or the opening timing of the scanning window according to the clock difference.
For example, in the first strategy, window alignment is performed between the large screen and the mobile phone, and between the large screen and the watch, according to the 1 st heartbeat packet in the heartbeat packet group broadcasted at time t1. Referring to fig. 3A, according to a first preset period T1, the large screen periodically broadcasts a heartbeat packet group at a time T1+ m × T1 corresponding to the local clock, where m is a positive integer. The mobile phone controls to periodically open a scanning window to receive the heartbeat packet at the time T1+ m × T1+ tC1 corresponding to the local clock based on the clock difference. Therefore, the opportunity of broadcasting the heartbeat packet group on the large screen is consistent with the activation opportunity of the scanning window of the mobile phone, the scanning window of the mobile phone is just opened when the 1 st heartbeat packet in the heartbeat packet group is broadcasted on the large screen, and the scanning window of the mobile phone is already opened when the 1 st heartbeat packet in the heartbeat packet group reaches the mobile phone, so that the detection efficiency and the response speed of the heartbeat packet can be improved, the invalid broadcasting and scanning duty ratio can be reduced, and the quick, accurate and timely connection and online detection between the large screen and the mobile phone can be realized.
Similarly, the large screen periodically broadcasts the heartbeat packet group at the time T1+ m × T1 corresponding to the local clock according to the first preset period T1. The watch controls to periodically open a scanning window to receive the heartbeat packet at the time T1+ m × T1+ tC2 corresponding to the local clock based on the clock difference. For an exemplary comparison between the windows before and after alignment according to the first strategy, see fig. 4.
In this scheme, the 1 st heartbeat packet in the heartbeat packet group may be a target heartbeat packet (also referred to as a target message) corresponding to the mobile phone and the watch. Based on the scheme, the mobile phone and the watch can enter the receiving state when the large screen sends the heartbeat packet group (namely, the 1 st heartbeat packet in the heartbeat packet group is sent), namely, the mobile phone and the watch can enter the receiving state when the large screen sends the target heartbeat packet in the heartbeat packet group, so that the target heartbeat packet can be quickly received, and the online detection efficiency is improved.
Or, in this scheme, the X1 st heartbeat packet in the heartbeat packet group is the target heartbeat packet corresponding to the mobile phone, and based on this scheme, the mobile phone can enter a receiving state when the heartbeat packet group is sent on a large screen (i.e., the 1 st heartbeat packet in the heartbeat packet group is sent), and is in the receiving state when the target heartbeat packet is sent on the large screen, so that the target heartbeat packet can be quickly received, and the online detection efficiency is improved. In this scheme, the X2 heartbeat package in the heartbeat package group is the target heartbeat package that the wrist-watch corresponds, and based on this scheme, the wrist-watch can get into the receiving state when big screen transmission heartbeat package group, is in the receiving state when big screen transmission target heartbeat package to can receive target heartbeat package fast, improve on-line measuring efficiency.
Illustratively, the heartbeat packet group is broadcast for the first time by the large screen at 16. After window alignment is carried out based on clock difference, the large screen is respectively positioned at 16 parts, which correspond to a local clock, of the position 16, 10 and 16 \8230, and a heartbeat package group is broadcasted; the mobile phone respectively opens a scanning window to receive heartbeat packets at 16; the watch respectively scans at 18, 18.
For another example, the heartbeat packet group is broadcast by the large screen at the 30ns corresponding to the local clock for the first time (i.e., a plurality of heartbeat packets in one heartbeat packet group are broadcast sequentially at the 30ns according to a preset interval, such as 20 ms), T1 is 5 minutes, the clock difference between the mobile phone and the large screen is 30 minutes, and the clock difference between the watch and the large screen is 2 hours. After window alignment is carried out based on clock difference, the large screen starts broadcasting heartbeat packet groups respectively at the 5 th 30ns, the 10 th 30ns and the 15 th 30ns which correspond to the local clock; the method comprises the steps that a mobile phone opens a scanning window to receive heartbeat packages respectively at 35 th minute 30ns, 40 th minute 30ns and 45 th minute 30ns \8230correspondingto a local clock; the watch respectively opens a scanning window to receive heartbeat packets at 5 th 30ns, 10 th 30ns and 15 th 30ns (82303030) at the 2 nd hour corresponding to the local clock.
In addition, because the probability that the mobile phone receives the heartbeat packet broadcasted on the large screen again at the tX1 time corresponding to the X1 st heartbeat packet in the heartbeat packets for the first time is higher after receiving the heartbeat packet broadcasted on the large screen, when the windows are aligned, the mobile phone can adjust the scanning start time of the heartbeat packet to the time corresponding to the X1 st heartbeat packet. Therefore, the window alignment precision is higher, and the heartbeat packet sent in the broadcast window can be quickly and accurately received in the scanning window subsequently by the mobile phone, so that the interaction times of the heartbeat packet in unit time can be reduced, the reliability of receiving the heartbeat packet is improved, the communication cost and power consumption are reduced, and quick, accurate and timely online detection between equipment is realized.
Therefore, in the second strategy, the handset and the watch perform window alignment according to the X1 st heartbeat packet and the X2 nd heartbeat packet respectively corresponding to the handset and the watch. Specifically, the large screen periodically broadcasts the heartbeat packet group at the time T1+ m × T1 corresponding to the local clock according to a first preset period T1. The mobile phone adjusts the opening time of a subsequent heartbeat packet scanning window according to the sending time tX1 of the first received X1-th heartbeat packet so as to align the windows. The mobile phone controls the time at which the local clock corresponds to tX1+ m × T1+ tC1, that is, the time at which the X1 st heartbeat packet is broadcast on the large screen, based on the clock difference, and periodically opens the scanning window to receive the heartbeat packet.
Similarly, the large screen periodically broadcasts the heartbeat packet at the time T1+ m × T1 corresponding to the local clock according to the first preset period T1. The watch adjusts the opening time of a subsequent heartbeat packet scanning window according to the first received sending time tX2 of the X2 th heartbeat packet so as to align the windows. The watch controls the moment tX2+ m T1+ tC2 corresponding to the local clock, namely the moment of broadcasting the X2 th heartbeat packet by the large screen, and periodically opens the scanning window to receive the heartbeat packet based on the clock difference. For an exemplary comparison between the window alignment before and after the window alignment corresponding to the second strategy, see fig. 5.
In the scheme, the X1 st heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to the mobile phone, and the X2 nd heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to the watch. Based on the scheme, the mobile phone and the watch can be in a receiving state when the target heartbeat packet is sent on a large screen, so that the target heartbeat packet can be quickly received, and the online detection efficiency is improved.
Illustratively, the large screen broadcasts a heartbeat packet group (including a plurality of heartbeat packets broadcast sequentially at preset intervals) starting at 16 00 corresponding to the local clock for the first time, tX1 is 16: 02 T1 is 5 minutes, the clock difference between the mobile phone and the large screen is 30 minutes, and the clock difference between the watch and the large screen is 2 hours. After window alignment is carried out based on clock difference, the large screen is respectively positioned at 16 parts, which correspond to a local clock, of the station; the mobile phone respectively comprises 16; the watch respectively comprises the following components of 18.
In the first strategy or the second strategy, the large screen periodically broadcasts a heartbeat packet group at the time of T1+ m × T1, and the mobile phone and the watch respectively open a scanning window according to the corresponding time of self window alignment, so as to receive the heartbeat packet.
In addition, after the lower node of the large screen receives the Xi (i is a positive integer from 1 to N) heartbeat packet of the large screen broadcast for the first time, the probability that the Xi heartbeat packet in the heartbeat packet is received again in the follow-up process is high. Therefore, in the third strategy, the large screen can adjust the broadcast timing of the subsequent heartbeat packet group to the transmission time corresponding to the Xi-th heartbeat packet, that is, the large screen can adjust the broadcast timing of the subsequent heartbeat packet group according to tXi. When the large screen is provided with a plurality of subordinate nodes, the large screen can broadcast the heartbeat packet group to the subordinate nodes once without broadcasting the heartbeat packet group to each subordinate node once, so that the sending flow of the heartbeat packet is simplified, the number of message interaction is reduced, and the power consumption is saved. At this time, the large screen may adjust the broadcasting timing of the subsequent heartbeat packet group according to the timing (also referred to as tX 0) in tXi corresponding to each of the plurality of lower nodes, so that the heartbeat packets broadcasted on the large screen can be efficiently, quickly, and timely scanned after the windows of the plurality of lower nodes are aligned.
For example, the mobile phone receives an X1 st heartbeat packet from the heartbeat packets broadcasted on the large screen for the first time, and the watch receives an X2 nd heartbeat packet from the heartbeat packets broadcasted on the large screen for the first time. If the timing of the transmission time tX1 corresponding to the X1 th heartbeat packet is earlier, that is, X0 is X1 and tX0 is tX1, the heartbeat packet group is broadcast at the transmission time corresponding to the X1 th heartbeat packet periodically after the large screen. That is, the large screen periodically broadcasts heartbeat packet groups at time tX1+ m × T1. The mobile phone opens a scanning window to receive the heartbeat packet at the time of tX1+ m T1+ tC 1; the watch opens a scan window to receive heartbeat packets at time tX2+ m x T1+ tC 2. For an example, see fig. 6 for a comparison between the alignment of the windows corresponding to the third strategy and the alignment of the windows.
In the scheme, the 1 st (i.e., X1-X1+ 1) heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to the mobile phone, and the X2-X1+1 heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to the watch. Based on the scheme, the mobile phone and the watch can enter a receiving state when the heartbeat packet group (namely the 1 st heartbeat packet in the heartbeat packet group) is sent by a large screen, so that the target heartbeat packet can be quickly received, and the online detection efficiency is improved. For example, X1 is 2, X2 is 3, a heartbeat packet group is broadcast at a sending time corresponding to the 2 nd heartbeat packet periodically after a large screen is displayed, the 1 st (i.e., 2-2+ 1) heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to a mobile phone, and the 2 nd (i.e., 3-2+ 1) heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to a watch.
Or, if the timing of the transmission time tX2 corresponding to the X2 th heartbeat packet is earlier, that is, X0 is X2 and tX0 is tX2, the heartbeat packet group is broadcast at the transmission time corresponding to the X2 th heartbeat packet periodically after the large screen. That is, the large screen periodically broadcasts heartbeat packet groups at time tX2+ m × T1. The mobile phone opens a scanning window to receive the heartbeat packet at the time of tX2+ m T1+ tC 1; the watch opens a scan window to receive heartbeat packets at time tX2+ m x T1+ tC 2.
In the scheme, the 1 st (i.e., X1-X2+ 1) heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to the watch, and the X1-X2+1 st heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to the mobile phone. Based on the scheme, the mobile phone and the watch can enter a receiving state when the heartbeat packet group is sent by the large screen, so that the target heartbeat packet can be quickly received, and the online detection efficiency is improved.
Illustratively, the large screen broadcasts the heartbeat packet group for the first time at 16 00 corresponding to the local clock, tX1 is 16: 02, tX1 is more front than tX2, T1 is 5 minutes, the clock difference between the mobile phone and the large screen is 30 minutes, and the clock difference between the watch and the large screen is 2 hours. After window alignment based on clock difference and tX1, the large screen is respectively in the following 16; the method comprises the following steps that (1) the mobile phone opens a scanning window to receive a heartbeat packet at a position of 16; the watch respectively comprises the following components of 18.
In the second and third strategies, the opportunity of broadcasting the heartbeat packet on the large screen is inconsistent with the opportunity of opening the scanning window by the mobile phone, the opportunity of broadcasting the heartbeat packet on the large screen is inconsistent with the opportunity of opening the scanning window by the watch, but the difference between the broadcasting opportunity and the opening opportunity of the scanning window is smaller and is smaller than or equal to the first preset value, the situation also belongs to window alignment, and the mobile phone and the watch can also receive the heartbeat packet efficiently, quickly, accurately and timely so as to perform online detection.
In addition, if the central node has only one primary node and the primary node receives the xth heartbeat packet in the heartbeat packet group broadcasted by the central node at the time t1 for the first time, window alignment can be performed between the central node and the primary node according to the clock offset tC and the xth heartbeat packet. For example, the central node periodically broadcasts the heartbeat packet group at the time tX + m × T1 corresponding to the local clock according to a first preset period T1. And the primary node controls to periodically open a scanning window to receive the heartbeat packet at the time tX + m T1+ tC corresponding to the local clock based on the clock difference tC.
In the scheme, the 1 st heartbeat packet in the heartbeat packet group is a target heartbeat packet corresponding to the first-level node, and the first-level node can enter a receiving state when the central node sends the target heartbeat packet, so that the target heartbeat packet can be quickly received, and the online detection efficiency is improved.
In addition, if the scheme provided by the embodiment of the present application is not used between the first-level node and the central node for window alignment, as shown in fig. 7, the first-level node usually needs a plurality of scanning windows to receive the heartbeat packet sent by the large screen, the receiving efficiency of the heartbeat packet is poor, the number of times of sending the heartbeat packet is large, the number of times of scanning of the scanning windows is large, and the power consumption of the first-level node and the central node is large.
In the embodiment of the application, after the first-level node receives the heartbeat packet sent by the large screen for the first time, the heartbeat packet is sent to the second-level node so as to perform online detection on the second-level node. For example, in the intelligent network shown in fig. 1A, after receiving the heartbeat packet for the first time, the mobile phone of the first-level node sends the heartbeat packet to the earphone and the speaker of the second-level node.
If the first network connection mode is supported between the first-level node and the second-level node, the first-level node and the second-level node can align windows according to the clock difference, and the time when the subsequent first-level node broadcasts the heartbeat packet and/or the time when the second-level node opens the scanning window are controlled, so that the scanning window enters a receiving state when the first-level node broadcasts the heartbeat packet. After the windows are aligned, the secondary node can quickly and accurately receive the heartbeat packet broadcast by the primary node in the scanning window, so that the interaction times of the heartbeat packet in unit time can be reduced, the reliability of receiving the heartbeat packet is improved, the communication cost and power consumption are reduced, and quick, accurate and timely online detection between devices is realized.
For example, in the smart network shown in fig. 1A, a first network connection mode bluetooth BLE is supported between the handset and the headset. After the handset receives the heartbeat packet for the first time, referring to fig. 3A, the heartbeat packet group starts to be broadcast at time tA, so that the headset can receive the heartbeat packet in the heartbeat packet group. If the earphone receives the X3 th heartbeat packet and the clock difference between the earphone and the mobile phone is tC3, the window alignment may be performed between the earphone and the mobile phone by using the above strategy based on the clock difference tC 3. For example, when the first policy is adopted, the mobile phone periodically broadcasts the heartbeat packet group at time tA + m × T1 corresponding to the local clock according to the first preset period T1. The mobile phone periodically opens a scanning window at tA + m T1+ tC3 corresponding to the local clock based on the clock difference to receive the heartbeat packet. Therefore, the heartbeat packet broadcasting time of the mobile phone is consistent with the activation time of the earphone scanning window, when the heartbeat packet is broadcasted by the mobile phone, the scanning window of the earphone is also opened, the invalid broadcasting and scanning duty ratio can be reduced, the efficiency and the response speed of heartbeat packet detection are improved, and quick, accurate and timely connection and online detection between the mobile phone and the earphone are realized.
If the first-level node and the second-level node support a second network connection mode but not a first network connection mode, the first-level node can periodically send heartbeat packets to the second-level node based on the second network connection mode according to a first preset period T1, and the second-level node can periodically wake up to operate and respond in real time according to the clock difference and the first preset period T1. Therefore, the secondary node can be awakened to operate and respond to the heartbeat periodically, the heartbeat packet can be received and responded efficiently, accurately and timely, disordered heartbeat packets and repeated heartbeat responses are reduced, and the power consumption of the secondary node is saved.
Exemplarily, wi-Fi is supported between the mobile phone and the loudspeaker box, wherein the Wi-Fi belongs to the second network connection mode and does not support the first network connection mode. As shown in fig. 8, the mobile phone sends a heartbeat packet group to the sound box at time tA based on Wi-Fi connection, and carries a sending timestamp tA. And after the sound box receives the heartbeat packet at the time tr4, replying a response message to the mobile phone, and carrying a receiving timestamp tr4. After the mobile phone receives the response message sent by the sound box at the moment of tnow4, the transmission delay tdelay4= (tnow 4-tA)/2 is calculated. The clock difference between the mobile phone and the sound box is tC4= tr4-tA-tdelay4. The mobile phone can inform the sound box of the clock difference, so that the sound box is awakened periodically to receive the heartbeat packet according to the clock difference and the first preset period T1.
Subsequently, the mobile phone periodically sends heartbeat packet groups to the sound box from the kernel bottom layer protocol stack at time tA + m × T1 corresponding to the local clock based on Wi-Fi connection. The loudspeaker box is awakened to operate periodically at the time tA + m T1+ tC4 corresponding to the local clock, real-time response is carried out after the heartbeat packet is received through Wi-Fi connection, disordered heartbeat packets and repeated heartbeat response can be reduced, and window alignment is not needed to be carried out like a first network connection mode.
That is to say, in the intelligent connection network shown in fig. 1A, the bluetooth BLE in the first network connection mode is supported between the mobile phone as the primary node and the headset as the secondary node, and the window alignment may be performed based on the clock difference, and the heartbeat packets are periodically interacted after the window alignment, so as to perform the online detection of the electronic device. Wi-Fi in a second network connection mode is supported between the mobile phone serving as the primary node and the loudspeaker serving as the secondary node, the first network connection mode is not supported, and heartbeat packets can be periodically interacted on the basis of clock difference, so that online detection of the electronic equipment is performed.
The online detection method provided by the embodiment of the present application is described above by taking a central node, a primary node, and a secondary node as examples in the intelligent network shown in fig. 1A. When the intelligent network further includes nodes of other levels (e.g., a third-level node and a fourth-level node), the central node sends the heartbeat packet to the first-level node, the first-level node sends the heartbeat packet to the second-level node, the second-level node can also send the heartbeat packet to the third-level node, and the third-level node can also send the heartbeat packet to the fourth-level node, and so on, which is not described herein again. Therefore, the heartbeat packets are efficiently, quickly and accurately received between the adjacent upper and lower nodes (or called as directly connected upper and lower nodes) of the whole network, so that the receiving efficiency of the heartbeat packets can be improved, the receiving and sending times and duration of the heartbeat packets are reduced, the power consumption of the electronic equipment is reduced, quick, timely and accurate online detection of a plurality of electronic equipment in the network can be realized based on the heartbeat packets, and the quantity of the electronic equipment which can be accessed into the intelligent network can be increased.
Therefore, the scheme can sequentially transmit heartbeat packets between upper and lower nodes in the whole intelligent network (so called heartbeat synchronization in the whole intelligent network), reduce out-of-order heartbeat, perform uniform and ordered online detection on each electronic device in the intelligent network, and further can use the online electronic devices to quickly, directly and cooperatively execute services.
And when the intelligent network networking is carried out before the service request, the efficiency of networking heartbeat synchronization can be improved, so that the equipment state and the online and offline response in the intelligent network are more real-time and accurate. Moreover, the energy consumption of background networking can be reduced, so that the network is ordered, and the network stability under the condition of a large number of devices is improved.
It is understood that the intelligent network shown in fig. 1A is only an example, and the intelligent network may have different network topologies, and may further have more electronic devices (such as an intelligent lamp, an intelligent curtain, an intelligent remote controller, an electronic lock, etc.) and more complex network connection relationships. The intelligent network with various structures can adopt the method to interact the heartbeat package so as to carry out online detection.
In addition, in some embodiments of the present application, after a node enters a bright screen state, a service is usually executed, and thus the node is not sensitive to power consumption, and the scanning action does not greatly affect the power consumption of the node. Therefore, when the node opens the scanning window to align the windows, the duty ratio of the scanning window can be larger, so that the node can receive the heartbeat packet timely and quickly, and the missing of the heartbeat packet caused by larger interference is reduced. Conversely, when the node enters the screen-off state, the duty cycle of the scanning window can be smaller to save power consumption.
In some other embodiments of the present application, the device types of the nodes are different, and the duty cycles of the scanning windows may also be different. For example, if the node is not sensitive to power consumption, the duty ratio of the scanning window may be larger, so as to ensure that the heartbeat packet can be received timely and quickly, and reduce missed heartbeat packet reception caused by large interference. If the node is sensitive to power consumption, the duty cycle of the scanning window can be smaller to save power consumption.
In addition, in the embodiment of the present application, the duration of the node scanning window may be preset, where the duration is longer than the duration of one heartbeat packet, for example, the duration may be set to be 3 heartbeat packets, so that the heartbeat packets can be received in the scanning window as much as possible and the duration of the scanning window is short, thereby reducing the power consumption of the node.
In some embodiments of the present application, when a certain node executes a service, sending a heartbeat packet group according to a first preset period T1 may be suspended. The central node may also trigger an adjustment of the time to start sending the groups of heartbeat packets periodically. For example, when the central node executes the service, the transmission of the heartbeat packet group according to the first preset period T1 may be suspended. After the service is finished, the central node may trigger to periodically send the heartbeat packet group according to a first preset period T1 from a time instant tAdj. The central node may inform the primary node of the adjusted time tAdj, and the primary node adjusts the scanning window accordingly for window alignment. And the subsequent nodes transmit the adjusted time tAdj to the respective lower nodes in sequence.
In addition, in some embodiments, the central node may trigger recalculation of the clock difference according to a preset second preset period T2, and perform clock difference calibration between nodes at different levels. When the clock difference changes or the change of the clock difference is larger than or equal to a second preset value, the nodes in the intelligent connection network update the clock difference and perform window alignment based on the clock difference again. The second preset period T2 is greater than the first preset period T1. For example, the first preset period T1 may be 5 minutes, the second preset period may be 1 hour, the central node broadcasts the heartbeat packet group every 5 minutes, and the clock difference is triggered and updated every 1 hour.
In some embodiments, the clock difference between nodes in the intelligent network may change over time, and the second predetermined period T2 may be a predetermined empirical value related to a threshold value for the cumulative change of the clock difference. That is, after interval T2, the cumulative change in clock difference may have exceeded the threshold, and the central node may trigger a recalculation of the clock difference.
In other embodiments, if a node finds that the number of heartbeat packets separated between the heartbeat packet received this time and the heartbeat packet received for the first time is greater than or equal to a third preset value, the clock difference may have a large change, and thus the central node may be requested to trigger updating of the clock difference. For example, the third preset value is 3, the mobile phone receives the 2 nd heartbeat packet of the large screen broadcast for the first time, and if the mobile phone receives the 7 th heartbeat packet of the large screen broadcast this time and 7-2=5 is greater than the third preset value 3, the clock difference may have a large change, so that the mobile phone may request the large screen to trigger to recalculate the clock difference. Then, each node performs window alignment again based on the clock difference.
In other embodiments, if a node finds that the number of heartbeat packets separated between a heartbeat packet received this time and a heartbeat packet received for the first time is greater than or equal to a fourth preset value, the node may report the number to an upper node of the node, and the upper node of the node may request the central node to trigger the update clock difference. For example, the fourth preset value is 4, the headset receives the 3 rd heartbeat packet broadcasted by the mobile phone for the first time, and if the headset receives the 9 th heartbeat packet broadcasted by the mobile phone this time and 9-3=6 is greater than the fourth preset value 4, the clock difference may have a large change, so that the headset may report to the mobile phone, and the mobile phone may request a large screen to trigger to recalculate the clock difference. Then, each node performs window alignment again based on the clock difference.
In other embodiments, if a node finds that the number of heartbeat packets spaced between a heartbeat packet received this time and a heartbeat packet received for the first time by a lower node of the node is greater than or equal to a fifth preset value according to a received heartbeat response message, it may request the central node to trigger an update clock difference. For example, if the fifth preset value is 3, the mobile phone determines that the earphone receives the 8 th heartbeat packet broadcasted by the mobile phone this time, and if the earphone receives the 4 th heartbeat packet broadcasted by the mobile phone for the first time, 8-4=4 is greater than the fifth preset value 3, the clock difference may have a large change, and thus the mobile phone may request a large screen to trigger to recalculate the clock difference. If the node is a central node, the update clock difference is triggered directly in this case. Then, each node performs window alignment again based on the clock difference.
In addition, in the embodiment of the application, if a node is newly added in the intelligent network, each node re-determines the network topology relationship, and re-calculates the clock difference and performs window alignment, so that after the windows are aligned, the heartbeat packets are interacted to perform online detection. If a certain node in the intelligent connection network leaves, each node re-determines the network topology relationship, and re-calculates the clock difference and performs window alignment, so that the heartbeat packets are interacted after the windows are aligned to perform online detection. If the central node changes due to the fact that a node is newly added or a node leaves, the new central node triggers and recalculates the clock error and conducts window alignment, and therefore the heartbeat packets are interacted after the windows are aligned to conduct online detection.
In some embodiments, as described above, after networking is successful, each device in the intelligent network may determine that each electronic device is online. If the certain electronic equipment leaves when the heartbeat packet is detected on line, offline information of the electronic equipment can be notified to the central node or each electronic equipment in the intelligent network, so that the central node or each electronic equipment can know the online condition of each electronic equipment in a unified manner.
In the intelligent network, after a certain node receives a heartbeat packet sent by a superior node of the node for the first time, a heartbeat packet group is sent to a subordinate node of the node. Subsequently, the node periodically sends the heartbeat packet group to the lower node according to T1 according to the time of sending the heartbeat packet to the lower node for the first time. Therefore, normally, when the node subsequently sends the heartbeat packet group to the lower node according to T1, the node has already received the heartbeat packet from the upper node. If the subsequent node does not receive the heartbeat packet from the upper node when sending the heartbeat packet group to the lower node according to the period, the network reason, the clock difference change or the upper node leaves and the like may cause an abnormality, so that the heartbeat packet group can be sent to the lower node according to the normal period, and the abnormality recovery processing is triggered. For example, after the windows are aligned, the mobile phone determines that the frequency of the heartbeat packet is respectively in 18; if the mobile phone does not receive the heartbeat packet broadcast by the large screen at 18.
In the process of exception recovery processing, if the node receives a heartbeat packet from a superior node within a preset time length, clock difference calibration can be carried out according to the received heartbeat packet; if the intermediate node still does not receive the heartbeat packet from the upper node within the preset time length, whether the upper node leaves or not can be determined, whether the network topology relation needs to be determined again or not, whether the clock difference needs to be recalculated and other related abnormal processing or not can be determined.
In the above embodiments of the present application, window alignment is used for sending and receiving heartbeat packets, so as to perform online detection. In other embodiments, the clock difference may also be determined based on other messages except the heartbeat packet, and the window alignment may also be used for interacting other target information, but not for sending and receiving the heartbeat packet, so that other applications except online detection may be performed. Therefore, the electronic equipment can quickly and accurately receive the target information in the receiving window, so that the interaction times of the information in unit time can be reduced, the communication cost and the power consumption are reduced, the receiving reliability of the target information is improved, and the target information among a plurality of electronic equipment in the intelligent connection network can be received and transmitted more quickly, accurately and timely.
For example, the target information may include basic information of a certain electronic device in the smart network or a change in network capability information. By adopting the scheme provided by the embodiment of the application, other electronic equipment in the intelligent network can quickly and accurately receive the target information in the receiving window after the windows are aligned, so that the change of the basic information or the network capacity information of the electronic equipment and the like can be obtained, and the other electronic equipment can correspondingly adapt or carry out other related processing according to the changed basic information or the network capacity information and the like of the electronic equipment. The scheme can improve the reliability of receiving the target information, and improve the efficiency of synchronously acquiring the basic information or the network capacity information change of a certain electronic device by a plurality of electronic devices in the intelligent network, so that the target information can be more quickly, accurately and timely received and transmitted among the plurality of electronic devices in the intelligent network.
For example, the basic information of the electronic device may include at least one of: at least one of an identification (device ID) of the electronic device, a name (device name) of the electronic device, a type (device type) of the electronic device, a Network identification (Network ID), weight information of the electronic device, role information of the electronic device, and version information of the electronic device. The identification of the electronic equipment is used for uniquely identifying one electronic equipment; the name of the electronic equipment is the name of the electronic equipment defined by a user or the name of the electronic equipment defined by a factory; the type of the electronic device indicates which type the electronic device belongs to, for example, the type is: cell-phone, PC, dress, earphone, glasses, audio amplifier, car machine, wisdom screen or car machine etc.. The network identifier is a unique networking identifier allocated by the network to the electronic device after the electronic device accesses the network, and may be, for example, a Unique Device Identifier (UDID). The version information of the electronic device indicates a version number of a current system of the electronic device. The network capability information may be referred to above in relation to the description.
Illustratively, the other electronic devices in the intelligent network previously store the IP address of the electronic device 1 so as to be able to perform service data transmission with the electronic device 1, and the target information is that the IP address of the electronic device 1 is replaced. Other electronic devices in the intelligent network can efficiently and accurately receive the target information based on window alignment. After receiving the target information, the other electronic devices in the intelligent network may update the previously stored IP address of the electronic device 1.
Further illustratively, the previous network capability of the electronic device 1 does not support point-to-point (P2P) communication, and the target information is that the electronic device 1 supports P2P communication. Other electronic devices in the intelligent network can efficiently and accurately receive the target information based on window alignment. After receiving the target information, other electronic devices in the intelligent network may perform P2P communication with the electronic device 1.
As another example, the target information is whether the electronic device 1 has replaced a hotspot or other content.
Other embodiments of the present application further provide an online detection method, which may be used between any two electronic devices supporting the first network connection mode, or between any two electronic devices supporting the first network connection mode in other networking, and is not limited to be applied in an intelligent network formed by multiple devices. Clock differences can be calculated between any two electronic devices by adopting the method, windows are aligned, and heartbeat packets are interacted after the windows are aligned so as to carry out online detection. Therefore, the electronic equipment can quickly and accurately receive the heartbeat packet in the receiving window, so that the receiving and sending of the heartbeat packet in unit time can be reduced, the communication cost is reduced, the receiving reliability of the heartbeat packet is improved, and the online detection is quicker, more accurate and more timely. In other embodiments, after the windows are aligned, any two electronic devices may interact with other target information besides the heartbeat packet, so as to implement other possible functions besides online detection.
The above embodiment of the present application performs window alignment by calculating clock differences between electronic devices. The local clocks of the electronic devices are independent from each other and do not need to be consistent with the universal time, and the perception of the user on the time through the electronic devices is not influenced. The scheme can be compatible with electronic equipment running different operating systems, and the lightweight equipment can also adopt the scheme to efficiently interact with the contents such as heartbeat packages or target information.
In addition, with reference to the foregoing embodiments and the accompanying drawings, another embodiment of the present application provides an online detection method, which may be used in an intelligent network composed of multiple devices, where the intelligent network includes a first electronic device and one or more second electronic devices. The first electronic device and the second electronic device may have the structure shown in fig. 1B. The first electronic device is a superior node of the second electronic device, and the second electronic device is a subordinate node of the first electronic device. For example, the first electronic device may be the central node, and the second electronic device may be the primary node; alternatively, the first electronic device may be the primary node, the second electronic device may be the secondary node, and the like. Referring to fig. 9, the method may include:
901. one or more second electronic devices obtain respective corresponding first clock differences, where the first clock differences are differences between local clocks of the second electronic devices and local clocks of the first electronic devices.
For example, the first electronic device may be a large screen as shown in fig. 1A, the second electronic device may be a mobile phone as shown in fig. 1A, and the first clock difference may be a clock difference tC1 between the mobile phone and the large screen.
902. The first electronic device sends the corresponding one or more first target messages to one or more second electronic devices.
Illustratively, the second electronic device is a mobile phone, and the first target message is a heartbeat packet. For example, the first target message may be the 1 st heartbeat packet in the heartbeat packet group corresponding to the first policy, or the X1 st heartbeat packet in the heartbeat packet group corresponding to the second policy, or the 1 st heartbeat packet or the X1-X0 th heartbeat packet in the heartbeat packet group corresponding to the third policy, and so on.
903. And one or more second electronic devices control the second electronic devices to receive the corresponding first target messages when the second electronic devices are in the window receiving state according to the corresponding first clock difference.
For example, the second electronic device may control, according to the first clock difference and any one of the first to third policies, a timing at which the first electronic device sends the first target message and/or a timing at which the second electronic device enters a receiving state, so as to control the second electronic device to receive the corresponding first target message when the second electronic device is in the window receiving state.
For example, one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a corresponding first target message according to a corresponding first clock difference and a first preset period, so that the second electronic devices receive the corresponding first target message when the second electronic devices are in the window receiving state.
For another example, one or more second electronic devices control, according to respective corresponding first clock differences, that the second electronic device is in a window receiving state before a time when a corresponding first target message calculated according to a pre-obtained transmission delay reaches the second electronic device, so that the second electronic device receives the corresponding first target message when in the window receiving state.
Based on the scheme, the second electronic equipment can control the sending time and/or the receiving time of the target message based on the clock difference, so that the receiving end equipment receives the target message when in the window receiving state, the target message can be efficiently received, and the power consumption is reduced.
Therefore, the method provided by the embodiment of the application can be adopted to transmit the first target message between any electronic equipment with the upper-level node relation and any electronic equipment with the lower-level node relation in the intelligent network, and the first target message is received when the electronic equipment is in the window receiving state according to the clock difference, so that the first target message can be efficiently, quickly and accurately received, the number and the duration of interaction of the first target message are reduced, the power consumption of the electronic equipment in the intelligent network is saved, and the efficiency of corresponding processing according to the first target message is improved. For example, when the first target message comprises a heartbeat packet, online detection of the electronic device can be efficiently performed according to the heartbeat packet in the first target message.
It will be appreciated that the electronic device comprises corresponding hardware and/or software modules for performing the respective functions in order to implement the above-described functions. The present application is capable of being implemented in hardware or a combination of hardware and computer software in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the electronic device may be divided into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware. It should be noted that, the division of the modules in this embodiment is schematic, and is only one logic function division, and another division manner may be available in actual implementation.
In the case of dividing each functional module by corresponding each function, the electronic device may include: a processing unit, a receiving unit, a transmitting unit, etc. It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
An embodiment of the present application further provides an electronic device, as shown in fig. 10, including: one or more processors 1001, memory 1002, and one or more computer programs 1003, which may be connected by one or more communication buses 1004. Wherein the one or more computer programs 1003 are stored in the memory 1002 and configured to be executed by the one or more processors 1001, the one or more computer programs 1003 including instructions that may be used to perform the steps in the above embodiments. All relevant contents of the steps related to the method embodiment may be referred to the functional description of the corresponding entity device, and are not described herein again.
For example, the processor 1001 may be specifically the processor 110 shown in fig. 1, and the memory 1002 may be specifically the internal memory 121 shown in fig. 1.
Embodiments of the present application further provide an electronic device, which includes one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, the one or more memories are for storing computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the associated method steps described above to implement the online detection method in the embodiments described above.
Embodiments of the present application further provide a computer-readable storage medium, where computer instructions are stored, and when the computer instructions are run on an electronic device, the electronic device is caused to execute the above related method steps to implement the online detection method in the above embodiments.
Embodiments of the present application further provide a computer program product, which when run on a computer, causes the computer to execute the relevant steps described above, so as to implement the online detection method performed by the electronic device in the foregoing embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component or a module, and may include a processor and a memory connected to each other; when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the online detection method executed by the electronic equipment in the above method embodiments.
The electronic device, the computer-readable storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, and therefore, the beneficial effects that can be achieved by the electronic device, the computer-readable storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Another embodiment of the present application provides a network system, which may be the above-mentioned intelligent network, and may include a plurality of electronic devices, and may be configured to implement the above-mentioned online detection method.
Through the description of the above embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the above functional modules is used as an example, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application 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 may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions of the technical solutions that substantially contribute to the prior art, or all or portions of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. 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 above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (43)

1. A message interaction method is used for a network composed of multiple devices, the network comprises a first electronic device and one or more second electronic devices, and the method comprises the following steps:
the one or more second electronic devices obtain respective corresponding first clock differences, where the first clock differences are differences between local clocks of the second electronic devices and local clocks of the first electronic devices;
the first electronic equipment sends one or more corresponding first target messages to one or more second electronic equipment;
and the one or more second electronic devices control the second electronic devices to receive the corresponding first target messages when the second electronic devices are in a window receiving state according to the corresponding first clock differences.
2. The method of claim 1, wherein sending, by the first electronic device, the corresponding one or more first targeted messages to the one or more second electronic devices comprises:
the first electronic equipment periodically sends the corresponding one or more first target messages to the one or more second electronic equipment according to a first preset period;
the one or more second electronic devices control the second electronic devices to receive the corresponding first target messages when the second electronic devices are in the window receiving state according to the respective corresponding first clock differences, including:
and the one or more second electronic devices control the second electronic devices to receive corresponding first target messages when the second electronic devices are in a window receiving state according to the corresponding first clock difference and the first preset period.
3. The method according to claim 2, wherein the one or more second electronic devices control the second electronic device to receive the corresponding first target message when in the window receiving state according to the corresponding first clock difference and the first preset period, and the method comprises:
the one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic devices send corresponding first target messages according to the corresponding first clock difference and the corresponding first preset period, so that the second electronic devices receive the corresponding first target messages when the second electronic devices are in the window receiving state.
4. The method of claim 3, wherein before the one or more second electronic devices obtain the respective corresponding first clock differences, the method further comprises:
the first electronic equipment calculates the first clock difference according to second target messages respectively received by the one or more second electronic equipment recently;
the second target message is from a first message group sent by the first electronic device, the first message group includes N messages sent at preset intervals, the second target message is the xth message in the first message group, N is a positive integer, and X is a positive integer smaller than or equal to N;
the one or more second electronic devices obtain respective corresponding first clock differences, including:
the one or more second electronic devices obtain the respective corresponding first clock difference from the first electronic device.
5. The method of claim 4, further comprising:
the first electronic device sends the first message group to the one or more second electronic devices at a time t 1;
after receiving the xth message in the first message group at the time tr, the one or more second electronic devices respectively send a first response message to the first electronic device, where the first response message includes the tr and indication information of a sending timestamp tX of the xth message;
after the first electronic device receives the one or more first response messages at one or more tnow moments, respectively calculating transmission time delays corresponding to one or more second electronic devices according to the tnow and the tX;
the first electronic device calculates the first clock difference according to second target messages respectively received by the one or more second electronic devices recently, including:
and the first electronic device calculates the first clock difference corresponding to each of the one or more second electronic devices according to the transmission delay, the tr and the tX corresponding to each of the one or more second electronic devices.
6. The method of claim 5, wherein sending, by the first electronic device, the corresponding one or more first targeted messages to the one or more second electronic devices comprises:
the first electronic device periodically sends a second message group to the one or more second electronic devices according to the t1 and the first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and the first target messages corresponding to the one or more second electronic devices are the Xth messages corresponding to the one or more second electronic devices in the second message group;
the one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a corresponding first target message according to the corresponding first clock difference and the first preset period, and the method includes:
the one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a second message group according to the corresponding first clock difference, the t1 and the first preset period, so that the second electronic devices enter the window receiving state when the first electronic device sends a corresponding first target message.
7. The method of claim 5, wherein sending, by the first electronic device, the corresponding one or more first targeted messages to the one or more second electronic devices comprises:
the first electronic device periodically sends a second message group to the one or more second electronic devices according to the t1 and the first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and the first target messages corresponding to the one or more second electronic devices are the Xth messages corresponding to the one or more second electronic devices in the second message group;
the one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a corresponding first target message according to the corresponding first clock difference and the first preset period, and the method includes:
and the one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic devices send corresponding first target messages according to the corresponding first clock difference, the tX and the first preset period.
8. The method of claim 5, wherein sending, by the first electronic device, the corresponding one or more first targeted messages to the one or more second electronic devices comprises:
the first electronic device periodically sends a second message group to the one or more second electronic devices according to tX0 and the first preset period, where tX0 is a value of tX corresponding to the one or more electronic devices before the moment, tX0 corresponds to the X0 th message in the first message group, the second message group includes a plurality of messages sent at preset intervals, and a first target message corresponding to each of the one or more second electronic devices is an X-X0+1 th message corresponding to each of the one or more second electronic devices in the second message group;
the one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a corresponding first target message according to the corresponding first clock difference and the first preset period, and the method includes:
the one or more second electronic devices control the second electronic devices to enter a window receiving state when the first electronic device sends a second message group according to the corresponding first clock difference, the tX and the first preset period, so that the second electronic devices enter the window receiving state when the first electronic device sends a corresponding first target message.
9. The method of claim 5, wherein the network includes a second electronic device, and wherein the first electronic device sends the corresponding one or more first targeted messages to the second electronic device, comprising:
the first electronic device periodically sends a second message group to the second electronic device according to the tX and the first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and the first target message is a first message in the second message group;
the second electronic device controls the second electronic device to enter a window receiving state when the first electronic device sends a corresponding first target message according to the first clock difference and the first preset period, and the method includes:
and the second electronic equipment controls the second electronic equipment to enter a window receiving state when the first electronic equipment sends a corresponding first target message according to the first clock difference, the tX and the first preset period.
10. The method according to any one of claims 1-9, further comprising:
and if the second electronic equipment receives the Xi message in the second message group and the number of the intervals between the Xi message and the Xth message is larger than or equal to a preset value, requesting the first electronic equipment to update the first clock difference.
11. The method according to any one of claims 1-9, further comprising:
and if the first electronic equipment determines that the number of the intervals between the Xi message and the Xth message received by the second electronic equipment is greater than or equal to a preset value according to the response message from the second electronic equipment, the first electronic equipment updates the first clock difference.
12. The method of claim 2, wherein the one or more second electronic devices control the second electronic device to receive the corresponding first target message when in the window receiving state according to the respective corresponding first clock difference, comprising:
the one or more second electronic devices control, according to the respective corresponding first clock difference, that the second electronic device enters a window receiving state before a time when the corresponding first target message calculated according to the pre-obtained transmission delay reaches the second electronic device, so that the second electronic device receives the corresponding first target message when being in the window receiving state.
13. The method of any one of claims 1-12, wherein the network further comprises one or more third electronic devices, each of the third electronic devices corresponding to one of the second electronic devices, each of the second electronic devices corresponding to one or more of the third electronic devices, and wherein the method further comprises:
the one or more third electronic devices obtain respective corresponding second clock differences, where the second clock differences are differences between local clocks of the third electronic devices and local clocks of second electronic devices corresponding to the third electronic devices;
the second electronic equipment sends a third target message to one or more corresponding third electronic equipment;
and the one or more third electronic devices control the third electronic devices to receive the third target message when the third electronic devices are in a window receiving state according to the respective corresponding second clock differences.
14. The method according to any of claims 1-13, wherein the first target message is a non-connectable broadcast ADV _ non _ IND message of bluetooth low energy BLE.
15. The method of any of claims 1-14, wherein the second electronic device obtaining a first clock difference comprises:
and the second electronic equipment acquires the first clock difference updated according to a second preset period from the first electronic equipment.
16. The method of claim 15, wherein the second predetermined period corresponds to a predetermined clock difference accumulation change threshold.
17. The method according to any of claims 1-16, wherein the first target message is used for transmitting heartbeat packets.
18. A message interaction method for a first electronic device in a network of multiple devices, the network further including one or more second electronic devices, the method comprising:
the first electronic device calculates the first clock differences corresponding to the one or more second electronic devices respectively, wherein the first clock differences are differences between local clocks of the second electronic devices and local clocks of the first electronic devices;
the first electronic device sends the first clock differences corresponding to the one or more second electronic devices to the corresponding second electronic devices, wherein the first clock differences are used for controlling the second electronic devices to receive corresponding first target messages when the second electronic devices are in a window receiving state;
the first electronic device sends the corresponding one or more first target messages to the one or more second electronic devices.
19. The method of claim 18, wherein the first electronic device sending the corresponding one or more first targeted messages to the one or more second electronic devices comprises:
the first electronic device periodically sends the corresponding one or more first target messages to the one or more second electronic devices according to a first preset period.
20. The method of claim 19, wherein the first electronic device calculates the first clock difference for each of the one or more second electronic devices, comprising:
the first electronic equipment calculates the first clock difference according to second target messages respectively received by the one or more second electronic equipment recently;
the second target message is from a first message group sent by the first electronic device, the first message group includes N messages sent at preset intervals, the second target message is an xth message in the first message group, N is a positive integer, and X is a positive integer smaller than or equal to N.
21. The method of claim 20, wherein the first electronic device calculates the first clock difference according to a second target message respectively received by the one or more second electronic devices recently, comprising:
the first electronic device sends the first message group to the one or more second electronic devices at a time t 1;
the first electronic device receives the first response message from the one or more second electronic devices at one or more tnow time instants, wherein the first response message comprises time instants tr at which the second electronic device receives an Xth message in the first message group and indication information of a transmission timestamp tX of the Xth message;
the first electronic device calculates transmission time delays respectively corresponding to one or more second electronic devices according to the tnow and the tX respectively corresponding to one or more second electronic devices;
and the first electronic equipment calculates the first clock difference corresponding to the one or more second electronic equipment according to the transmission delay, the tr and the tX corresponding to the one or more second electronic equipment respectively.
22. The method of claim 21, wherein the first electronic device periodically sends the corresponding one or more first target messages to the one or more second electronic devices according to a first preset period, comprising:
the first electronic device periodically sends a second message group to the one or more second electronic devices according to the t1 and the first preset period, where the second message group includes multiple messages sent according to preset intervals, and a first target message corresponding to each of the one or more second electronic devices is an xth message corresponding to each of the one or more second electronic devices in the second message group.
23. The method of claim 21, wherein the first electronic device periodically sends the corresponding one or more first target messages to the one or more second electronic devices according to a first preset period, comprising:
the first electronic device periodically sends a second message group to the one or more second electronic devices according to tX0 and the first preset period, where tX0 is a value of tX corresponding to the one or more electronic devices before the opportunity, tX0 corresponds to the X0 th message in the first message group, the second message group includes a plurality of messages sent at preset intervals, and a first target message corresponding to each of the one or more second electronic devices is an X-X0+1 message corresponding to each of the one or more second electronic devices in the second message group.
24. The method of claim 21, wherein the network includes a second electronic device, and wherein the first electronic device periodically sends the corresponding one or more first target messages to the one or more second electronic devices according to a first predetermined period, comprising:
and the first electronic equipment periodically sends a second message group to the second electronic equipment according to the tX and the first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and the first target message is a first message in the second message group.
25. The method of any one of claims 18-24, further comprising:
and if the first electronic equipment determines that the number of the intervals between the Xi message and the Xth message received by the second electronic equipment is greater than or equal to a preset value according to the response message from the second electronic equipment, the first electronic equipment updates the first clock difference.
26. The method according to any of claims 18-25, wherein the first clock difference is used to control the second electronic device to enter a window receive state when the first electronic device sends the corresponding first target message, such that the second electronic device receives the corresponding first target message when in the window receive state.
27. The method according to any of claims 18-25, wherein the first clock difference is used to control the second electronic device to enter a window reception state before the time when the corresponding first target message arrives at the second electronic device, which is calculated according to a pre-obtained transmission delay, so that the second electronic device receives the corresponding first target message when in the window reception state.
28. A message interaction method for a second electronic device in a network composed of multiple devices, the network further including a first electronic device, the method comprising:
the second electronic device obtains a first clock difference, wherein the first clock difference is a difference value between a local clock of the second electronic device and a local clock of the first electronic device;
and the second electronic equipment controls the second electronic equipment to receive the corresponding first target message from the first electronic equipment when the second electronic equipment is in a window receiving state according to the first clock difference.
29. The method of claim 28, wherein the second electronic device controls the second electronic device to receive the corresponding first target message from the first electronic device when in the window receive state according to the first clock difference, comprising:
and the second electronic equipment controls the second electronic equipment to receive the corresponding first target message from the first electronic equipment when the second electronic equipment is in a window receiving state according to the first clock difference and the first preset period.
30. The method according to claim 29, wherein the second electronic device controls the second electronic device to receive the corresponding first target message from the first electronic device when in the window receiving state according to the first clock difference and the first preset period, including:
and the second electronic equipment controls the second electronic equipment to enter a window receiving state when the first electronic equipment sends a corresponding first target message according to the first clock difference and the first preset period, so that the second electronic equipment receives the corresponding first target message from the first electronic equipment when the second electronic equipment is in the window receiving state.
31. The method of claim 30, wherein the second electronic device obtains a first clock difference, comprising:
the second electronic equipment acquires the first clock difference from the first electronic equipment, wherein the first clock difference is acquired according to a second target message recently received by the second electronic equipment;
the second target message is from a first message group sent by the first electronic device, the first message group includes N messages sent at preset intervals, the second target message is an xth message in the first message group, N is a positive integer, and X is a positive integer smaller than or equal to N.
32. The method of claim 31, further comprising:
the second electronic device receives the Xth message in the first message group from the first electronic device at time tr;
the second electronic device sends a first response message to the first electronic device, where the first response message includes the tr and indication information of a sending timestamp tX of the xth message, and the tr and the tX are used to calculate the first clock difference.
33. The method according to claim 32, wherein the controlling, by the second electronic device, the second electronic device to enter a window receiving state when the first electronic device sends the corresponding first target message according to the first clock difference and the first preset period comprises:
and the second electronic device controls the second electronic device to enter a window receiving state when the first electronic device sends the second message group according to the first clock difference, the sending time t1 of the first message in the first message group and the first preset period, so that the second electronic device enters the window receiving state when the first electronic device sends the corresponding first target message, wherein the second message group comprises a plurality of messages sent at preset intervals, and the first target message is the xth message in the second message group.
34. The method according to claim 32, wherein the controlling, by the second electronic device, the second electronic device to enter a window receiving state when the first electronic device sends the corresponding first target message according to the first clock difference and the first preset period comprises:
and the second electronic device controls the second electronic device to enter a window receiving state when the first electronic device sends a corresponding first target message according to the first clock difference, the sending time tX of the Xth message in the first message group and the first preset period, wherein the second message group comprises a plurality of messages sent according to preset intervals, and the first target message is the first message in the second message group.
35. The method according to claim 32, wherein the controlling, by the second electronic device, the second electronic device to enter a window receiving state when the first electronic device sends the corresponding first target message according to the first clock difference and the first preset period comprises:
the second electronic device controls, according to the first clock difference, the tX and the first preset period, the second electronic device to enter a window receiving state when the first electronic device sends a second message group, so that the second electronic device enters the window receiving state when the first electronic device sends a corresponding first target message, where the second message group includes a plurality of messages sent at preset intervals, the first target message is a first message in the second message group or an X-X0+1 message, and the X0 message is sent in the first message group before the X message.
36. The method of any one of claims 28-35, further comprising:
and if the second electronic equipment receives the Xi message in the second message group and the number of the intervals between the Xi message and the Xth message is larger than or equal to a preset value, requesting the first electronic equipment to update the first clock difference.
37. The method according to any of claims 28-36, wherein the second electronic device controls the second electronic device to receive the corresponding first target message from the first electronic device when in the window receive state according to the first clock difference, comprising:
and the second electronic equipment controls the second electronic equipment to enter a window receiving state before the moment when the corresponding first target message calculated according to the transmission delay obtained in advance reaches the second electronic equipment according to the first clock difference, so that the second electronic equipment receives the corresponding first target message from the first electronic equipment when the second electronic equipment is in the window receiving state.
38. The method of any one of claims 28-37, wherein the network further comprises one or more third electronic devices, and wherein each of the second electronic devices corresponds to one or more of the third electronic devices, the method further comprising:
and the second electronic equipment sends a third target message to one or more corresponding third electronic equipment.
39. The method of any of claims 28-38, wherein the second electronic device obtains a first clock difference, comprising:
and the second electronic equipment acquires the first clock difference updated according to a second preset period from the first electronic equipment.
40. An electronic device, comprising:
one or more processors;
a memory;
and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the electronic device, cause the electronic device to perform the message interaction method performed by the first electronic device of any of claims 1-39, or cause the electronic device to perform the message interaction method performed by the second electronic device of any of claims 1-39.
41. A computer readable storage medium, comprising computer instructions which, when executed on a computer, cause the computer to perform a message interaction method as recited in any of claims 1-39, or cause the computer to perform a message interaction method as recited in any of claims 1-39, as recited by a second electronic device.
42. A computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to execute a message interaction method as performed by a first electronic device as claimed in any one of claims 1-39, or causes the computer to execute a message interaction method as performed by a second electronic device as claimed in any one of claims 1-39.
43. A network system comprising a first electronic device, a second electronic device and a third electronic device, the first electronic device, the second electronic device and the third electronic device being configured to perform the message interaction method according to any one of claims 1 to 17.
CN202110603439.3A 2021-05-31 2021-05-31 Online detection method and equipment based on heartbeat packet Pending CN115484576A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110603439.3A CN115484576A (en) 2021-05-31 2021-05-31 Online detection method and equipment based on heartbeat packet
PCT/CN2022/084879 WO2022252796A1 (en) 2021-05-31 2022-04-01 Online detection method based on heartbeat packet, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110603439.3A CN115484576A (en) 2021-05-31 2021-05-31 Online detection method and equipment based on heartbeat packet

Publications (1)

Publication Number Publication Date
CN115484576A true CN115484576A (en) 2022-12-16

Family

ID=84322587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110603439.3A Pending CN115484576A (en) 2021-05-31 2021-05-31 Online detection method and equipment based on heartbeat packet

Country Status (2)

Country Link
CN (1) CN115484576A (en)
WO (1) WO2022252796A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135729A (en) * 2023-01-20 2023-11-28 荣耀终端有限公司 Multi-device cooperation method, system and terminal device
CN117135729B (en) * 2023-01-20 2024-05-24 荣耀终端有限公司 Multi-device cooperation method, system and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425846A (en) * 2007-10-29 2009-05-06 北京三星通信技术研究有限公司 Synchronous burst timing based on beacon frame structure and sequence number detection method and apparatus
US9585097B2 (en) * 2014-03-21 2017-02-28 Apple Inc. Synchronized low-energy detection technique
US10827484B2 (en) * 2014-12-12 2020-11-03 Qualcomm Incorporated Traffic advertisement in neighbor aware network (NAN) data path

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135729A (en) * 2023-01-20 2023-11-28 荣耀终端有限公司 Multi-device cooperation method, system and terminal device
CN117135729B (en) * 2023-01-20 2024-05-24 荣耀终端有限公司 Multi-device cooperation method, system and terminal device

Also Published As

Publication number Publication date
WO2022252796A1 (en) 2022-12-08

Similar Documents

Publication Publication Date Title
US10582451B2 (en) Direct link wireless devices with power savings
US20170026777A1 (en) Bluetooth low energy interlaced advertising and scanning
WO2018000134A1 (en) Bluetooth connection method and terminal
US11044678B2 (en) Electronic device, method for transmitting message, and related products
WO2015157566A2 (en) Method and apparatus for gps enhanced neighbor aware network (nan) cluster discovery
EP2727434A1 (en) System and method for managing multi-radio communications in a single device
US8391193B2 (en) Wireless communication device, wireless communication system, wireless communication method, and computer program
KR20210134785A (en) Use of Wakeup Receiver by Low Energy Bluetooth
CN114499587B (en) Audio synchronization communication method, system, wireless earphone, terminal and storage medium
EP4199546A1 (en) Ultra-wideband (uwb) positioning method for electronic device, and uwb terminal device
WO2022052731A1 (en) Method for transmitting data and electronic device
US20110019601A1 (en) Methods and apparatus for improving power efficiency and latency of mobile devices using an external timing source
CN111149313B (en) Data transmission method and equipment
CN111954123B (en) Method, system, medium, and wireless audio device for information synchronization of wireless audio devices
US20130294303A1 (en) Reducing power consumption in a device operating as an access point of a wireless local area network
WO2015042955A1 (en) Synchronization method and apparatus
CN115484576A (en) Online detection method and equipment based on heartbeat packet
CN112866965B (en) Intelligent glasses
CN114245443A (en) Wake-up alignment method, system and related device
US20230309012A1 (en) Sleep Control Method for Mobile Routing Device and Mobile Routing Device
CN114173317B (en) Method for transmitting data and electronic equipment
CN114095998B (en) Service information synchronization method for terminal in local area network and terminal
US20240163052A1 (en) Information processing method and apparatus, communication device, and storage medium
CN112825597B (en) Terminal device and wireless communication method
WO2023050051A1 (en) Method and apparatus for accessing network, and terminal and network device

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