CN112188598A - Data processing method, device, equipment and machine readable medium - Google Patents

Data processing method, device, equipment and machine readable medium Download PDF

Info

Publication number
CN112188598A
CN112188598A CN201910600214.5A CN201910600214A CN112188598A CN 112188598 A CN112188598 A CN 112188598A CN 201910600214 A CN201910600214 A CN 201910600214A CN 112188598 A CN112188598 A CN 112188598A
Authority
CN
China
Prior art keywords
node
time
time unit
information
unit information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910600214.5A
Other languages
Chinese (zh)
Other versions
CN112188598B (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910600214.5A priority Critical patent/CN112188598B/en
Publication of CN112188598A publication Critical patent/CN112188598A/en
Application granted granted Critical
Publication of CN112188598B publication Critical patent/CN112188598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a data processing method, a device, equipment and a machine readable medium, wherein the method comprises the following steps: applied to a first node in a broadcast type network, the method comprising: determining first time unit information corresponding to the machine time of the first node in a time period; one of the time periods includes: a plurality of time cells; switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit. The embodiment of the application can reduce the power consumption of the first node and improve the endurance time of the first node.

Description

Data processing method, device, equipment and machine readable medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data processing method, a data processing apparatus, a device, and a machine-readable medium.
Background
With the development of communication technology, broadcast networks such as bluetooth networks, Zigbee (Zigbee) networks, WIFI (Wireless Fidelity) networks, and the like are widely used. For example, the bluetooth network can be applied to scenes of internet of things such as building automation, intelligent security, intelligent home and the like.
The communication channel of the broadcast type network may be shared by all nodes in the broadcast type network. Since one node cannot know when another node sends data, the node is required to be in a data receiving state all the time to prevent the loss of data; however, this will result in a higher power consumption of the node.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present application is to provide a data processing method, which can reduce power consumption of a first node and can improve a endurance time of the first node.
Correspondingly, the embodiment of the application also provides a data processing device, equipment and a machine readable medium, which are used for ensuring the realization and the application of the method.
In order to solve the above problem, an embodiment of the present application discloses a data processing method, which is applied to a first node in a broadcast type network, and the method includes:
determining first time unit information corresponding to the machine time of the first node in a time period; one of the time periods includes: a plurality of time cells;
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
In order to solve the above problem, an embodiment of the present application discloses a data processing method applied to a second node in a broadcast type network, where the method includes:
sending second time unit information and time period information to the first node which completes network access; the time period information includes: the time length of the time period and the information of the time units comprised by the time period; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
In order to solve the above problem, an embodiment of the present application discloses a data processing method, which is applied to an internet of things device in a broadcast network, and the method includes:
determining first time unit information corresponding to machine time of the Internet of things equipment in a time period; one of the time periods includes: a plurality of time cells;
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for representing that the internet of things equipment or related equipment of the internet of things equipment performs data transmission in a corresponding time unit.
In order to solve the above problem, an embodiment of the present application discloses a data processing method, which is applied to a first node in a bluetooth mesh network, and the method includes:
determining first time unit information corresponding to the machine time of the first node in a time period; one of the time periods includes: a plurality of time cells;
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
On the other hand, the embodiment of the present application further discloses a data processing apparatus, which is applied to a first node in a broadcast type network, and the apparatus includes:
the time unit determining module is used for determining first time unit information corresponding to the machine time of the first node in a time period; one of the time periods includes: a plurality of time cells; and
the state switching module is used for switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
On the other hand, the embodiment of the present application further discloses a data processing apparatus, which is applied to a second node in a broadcast type network, and the apparatus includes:
the transmission period sending module is used for sending second time unit information and time period information to the first node which completes network access; the time period information includes: the time length of the time period and the information of the time units comprised by the time period; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
In another aspect, an embodiment of the present application further discloses an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more of the methods described above.
In yet another aspect, embodiments of the present application disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the methods described above.
The embodiment of the application has the following advantages:
in this embodiment of the application, a first matching result between the first time unit information and the second time unit information may characterize whether the machine time of the first node reaches a transmission time unit corresponding to the first node in a time period. Therefore, the embodiment of the application switches between the sleep state and the working state according to the first matching result, and can make the first node in the sleep state under the condition that the machine time of the first node does not reach the transmission time unit corresponding to the first node in a time period, so that the power consumption of the first node can be reduced, and the endurance time of the first node can be improved.
Drawings
Fig. 1 is a schematic structural diagram of a broadcast-type network according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a second embodiment of a data processing method according to the present application;
FIG. 3 is a flowchart illustrating the steps of a third embodiment of a data processing method according to the present application;
FIG. 4 is a flowchart illustrating the fourth step of an embodiment of a data processing method according to the present application;
FIG. 5 is a flow chart of steps of an embodiment of a data processing method of the present application;
FIG. 6 is a flowchart illustrating steps of a sixth embodiment of a data processing method according to the present application;
FIG. 7 is a flowchart illustrating the seventh step of an embodiment of a data processing method of the present application;
FIG. 8 is a diagram illustrating a transmission timing sequence according to an embodiment of the present application;
FIG. 9 is a block diagram of an embodiment of a data processing apparatus of the present application;
FIG. 10 is a schematic diagram of an apparatus provided by an embodiment of the present application;
FIG. 11 is a flowchart illustrating the steps of an eighth embodiment of a data processing method of the present application;
fig. 12 is a schematic diagram of transmission timing in an internet of things scenario according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
While the concepts of the present application are susceptible to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the description above is not intended to limit the application to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the application.
Reference in the specification to "one embodiment," "an embodiment," "a particular embodiment," or the like, means that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may or may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, where a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described. In addition, it should be understood that items in the list included in the form "at least one of a, B, and C" may include the following possible items: (A) (ii) a (B) (ii) a (C) (ii) a (A and B); (A and C); (B and C); or (A, B and C). Likewise, a listing of items in the form of "at least one of a, B, or C" may mean (a); (B) (ii) a (C) (ii) a (A and B); (A and C); (B and C); or (A, B and C).
In some cases, the disclosed embodiments may be implemented as hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be executed by one or more processors. A machine-readable storage medium may be implemented as a storage device, mechanism, or other physical structure (e.g., a volatile or non-volatile memory, a media disk, or other media other physical structure device) for storing or transmitting information in a form readable by a machine.
In the drawings, some structural or methodical features may be shown in a particular arrangement and/or ordering. Preferably, however, such specific arrangement and/or ordering is not necessary. Rather, in some embodiments, such features may be arranged in different ways and/or orders than as shown in the figures. Moreover, the inclusion of structural or methodical features in particular figures is not meant to imply that such features are required in all embodiments and that, in some embodiments, such features may not be included or may be combined with other features.
For a technical problem that power consumption of a node is high due to the fact that the node is always in a data receiving state in a broadcast network, an embodiment of the present application provides a data processing scheme, where the scheme may be applied to a first node in the broadcast network, and the method specifically may include: determining time unit information corresponding to the machine time of the first node in a time period; the one time period may specifically include: a plurality of time cells; switching between a sleep state and a working state according to a first matching result between the time unit information and the second time unit information; the second time unit information may be used to characterize the first node or a relevant node of the first node that performs data transmission within the corresponding time unit.
In the embodiment of the application, a time period is divided into a plurality of time units, data transmission is performed in the corresponding time units through the second time unit information representation nodes, and the second time units can refer to time units occupied by the nodes in transmission. For a first node in a broadcast type network, a transmission time unit corresponding to the second time unit information may be related to the transmission of the first node, and the transmission time unit may include: a receive time unit, or a transmit time unit. For example, a receive time unit may relate to reception of data by a first node and a transmit time unit may relate to transmission of data by the first node to a related node.
For the first node, the first matching result between the first time unit information and the second time unit information may characterize whether the machine time of the first node reaches a transmission time unit corresponding to the first node in a time period. Therefore, the embodiment of the application switches between the sleep state and the working state according to the first matching result, and can make the first node in the sleep state under the condition that the machine time of the first node does not reach the transmission time unit corresponding to the first node in a time period, so that the power consumption of the first node can be reduced, and the endurance time of the first node can be improved.
In the embodiment of the application, in the dormant state, some hardware and/or software in the node stops working, and the consumed power is lower; while in the operational state, some hardware and/or software in the node resumes operation. Thus, in a sleep state and an active state
The embodiment of the application can be applied to a broadcast type network. Broadcast type networks typically comprise a single communication channel, which is shared by all nodes in the network, i.e. a plurality of nodes are connected to different branch points on a communication line, and messages sent by any one node are received by other nodes. The broadcast type network transmits data or signaling in a broadcast manner. The broadcast type network may specifically include: bluetooth network, Zigbee (Zigbee) network, WIFI (Wireless Fidelity) network, infrared network, NFC (Near Field Communication) network, and the like. The data processing method in the embodiment of the present application is mainly described by taking a bluetooth network as an example, and it can be understood that the specific broadcast type network in the embodiment of the present application is not limited, and data processing methods corresponding to other broadcast type networks may be referred to each other.
Bluetooth is a radio technology that supports short-range communication (typically within 10 meters) of devices. The wireless information exchange can be carried out among a plurality of devices such as mobile phones, tablet computers, wireless earphones, notebook computers, related peripherals, intelligent hardware and the like. In the smart home field, the smart hardware may include: intelligent lighting, intelligent security, intelligent household appliances, intelligent curtains, intelligent door locks and the like.
As a small-range wireless connection network, the Bluetooth network can realize convenient, quick, flexible, safe, low-cost and low-power-consumption data and voice communication among devices. The Bluetooth network can be applied to scenes of the Internet of things such as building automation, intelligent security and protection, intelligent home and the like. The types of bluetooth networks may include: mesh (wireless Mesh network), etc.
In an embodiment of the application, the first node may be an internet of things device, such as a lamp, a door lock, an air conditioner, a television, and the like. Optionally, the first node may be a low-power consumption internet of things device, so that power consumption of the internet of things device may be reduced. The second node may be a management device in the internet of things, such as a smart speaker.
The smart sound box can refer to an upgrade product of the sound box, and the smart sound box can further include audio input components such as a microphone and a wireless network module besides audio output components such as a power amplifier and a loudspeaker which are common in the sound box, and the wireless network module can include: the internet access module may be a WIFI (Wireless Fidelity) chip, a bluetooth module such as a bluetooth chip, or a module related to other Wireless connection technologies. Therefore, the intelligent sound box can be used as a tool for voice internet access to be connected and interacted with a network and other equipment besides providing a basic audio output function.
The intelligent sound box can support an interactive mode of voice interaction. Specifically, a voice instruction of the user can be received and processed accordingly.
A device is referred to as a device before joining a broadcast type network and a node after joining a broadcast type network. Each node is capable of sending and receiving messages. Information can be relayed between nodes, thereby allowing messages to be transmitted to a location that is farther than the normal transmission distance of radio waves, so that a broadcast type network can be applied in manufacturing plants, office buildings, shopping malls, business parks, and more scenes.
The communication channel of the broadcast type network may be shared by all nodes in the broadcast type network. I.e. a plurality of nodes are connected to different branch points on a communication line, and a data packet sent by any one node can be received by any other node. The transmitted data packet includes an address field indicating the destination address and the source address of the data packet.
Nodes in a broadcast type network may correspond to network addresses. The network address may include at least one of the following:
1) unicast Address (Unicast Address)
Unicast addresses are unique in broadcast type networks and can identify nodes that are assigned to be acquired when accessing the network.
(2) Multicast address (group address)
A multicast address is a multicast address that identifies one or more nodes. Nodes joining the same group may receive packets corresponding to the group.
It is understood that the network address may include, in addition to the unicast address and the multicast address: virtual address (virtual address), unassigned address (unassigned), and the like, and the specific network address is not limited in the embodiments of the present application.
In an alternative embodiment of the present application, assuming that the network address includes 16 bits, there may be 32767 unicast addresses in a broadcast network, and of course, 16 bits are just an alternative embodiment of the number of bits of the network address, and actually, those skilled in the art may determine the number of bits of the network address according to the actual application requirement, for example, the number of bits of the network address may be 8 bits, 32 bits, etc.
In another optional embodiment of the present application, the range of the network address corresponding to the node in the broadcast type network may be obtained according to the number M of nodes in the broadcast type network, and M may represent the number or scale of nodes in the broadcast type network. For example, the network addresses may range from 0 to (M-1).
The first node in the embodiment of the application can be a low-power-consumption node in a broadcast network, and the low-power-consumption node can be a node with a high requirement on endurance time. Of course, in addition to the low power nodes, the broadcast type network may further include: and (4) non-low power consumption nodes.
Referring to fig. 1, a schematic structural diagram of a broadcast type network according to an embodiment of the present application is shown, which may specifically include: a first node 101, a second node 102 and a third node 103.
The first node 101 may be a low power consumption node, which may reduce power consumption through the scheme of the embodiment of the present application. The third node 103 may be a non-low power consumption node, i.e. a node with low power consumption requirements. Those skilled in the art can determine the number of the third nodes 103 according to the actual application requirement, and the number of the third nodes 103 may be equal to 0, or the number of the third nodes 103 may be greater than 0.
The second node 102 may be a management node in a broadcast type network, which may play a role of managing the first node 101 and the third node 103.
Optionally, the second node 102 may be configured to manage message transmission with the non-networked device, so as to enable the non-networked device to access the network to become a node of the broadcast type network. During the network access stage of the node, a unique network address can be allocated to the node.
Optionally, the second node 102 may be configured to send the second time unit information and the time period information to the first node that completes network access, so that the first node 101 switches between the sleep state and the working state according to the second time unit information and the time period information. The time period information may specifically include: the time length of the time period and the information of the time units comprised by the time period; the second time unit information may be used to characterize the first node or a relevant node of the first node that performs data transmission within the corresponding time unit.
Optionally, the second node 102 may be configured to send synchronization time information to the first node that completes network access, so that the first node switches between a sleep state and an operating state according to the synchronization time information.
Optionally, the second node 102 may be configured to send synchronization information to the first node that completes network access according to the synchronization time information; the synchronization information is used for time synchronization in the broadcast type network to achieve time synchronicity of different nodes in the broadcast type network.
Alternatively, the first node may be converted to the second node in case of a failure of the second node. Alternatively, a backup of the second node may be set, and in case of a failure of the second node, the backup of the second node is converted into the second node.
Optionally, the second time unit information corresponding to the first node may be determined by the server, and in this case, the server may send the corresponding second time unit information to the first node. Or the first node may determine the corresponding second time unit information by itself and report the corresponding second time unit information to the server, so that the server records the corresponding second time unit information for the first node, thereby saving the time cost for the server to send the second time unit information to the first node and improving the processing efficiency in the broadcast type network.
Method embodiment one
A first embodiment of a data processing method according to the present application is applied to a second node in a broadcast network, and the method may specifically include: sending second time unit information and time period information to the first node which completes network access; the time period information may specifically include: the time length of the time period and the information of the time units comprised by the time period; the second time unit information may be used to characterize the first node or a relevant node of the first node as time-transmitting within the corresponding time unit.
The second node may be a management node in a broadcast type network, which may function to manage the first node. Optionally, the second node may be configured to manage message transmission with the non-networked device to access the non-networked device to the network as a node of a broadcast type network.
The embodiment of the application divides a time period into a plurality of time units. The time period information may specifically include: the time length of the time period and the time units comprised by the time period. The information of the time unit included in the time period may include: the time period includes information such as the number of time units included in the time period, or the time length of one time unit.
In the embodiment of the present application, the time unit may be a part of one time period. The time unit may be characterized in the form of a time slice or a time window, and the embodiment of the present invention does not limit the specific way of characterizing the time unit.
The second time unit information may be used to characterize the first node or a relevant node of the first node that performs data transmission within the corresponding time unit. The transmission time unit corresponding to the second time unit information may be related to the transmission of the first node. The transmission time unit may include: a receive time unit, or a transmit time unit. The receiving time unit may be related to data reception of the first node, and the sending time unit may be related to data reception of the related node, that is, data sending from the first node to the related node.
In this embodiment of the application, optionally, the second time unit information may be obtained according to a network address corresponding to the first node or the corresponding node point.
According to an embodiment, the second time unit information may be obtained according to a network address corresponding to the first node or the corresponding node and a network address corresponding to the second node in the broadcast type network.
Assuming that the network address corresponding to the first node is addr1 and the network address corresponding to the second node is addr2, the second time unit information Slot corresponding to the first node can be determined according to the relative relationship between addr1 and addr 2. For example, the Slot may be the absolute value of the difference between addr1 and addr 2.
In an example of the present application, assuming that the network address of the second node is 1, the unicast address of the first node a is 2, the unicast address of the first node B is 3, and the multicast address of the first node B is 40, it may be determined that the second time unit information corresponding to the first node a is 1, and the second time unit information corresponding to the first node a is 2 and 39.
According to another embodiment, the second time unit information may be obtained according to a network address corresponding to the first node or the corresponding node point and the number of nodes in the broadcast type network. For example, the number of nodes in the broadcast type network may be modulo-operated by using the network address corresponding to the first node or the related node, and the second time unit information may be determined according to the result of the modulo-operation.
According to an embodiment, the second time unit information may specifically include: the first transmission time unit information may correspond to a reception time unit and is related to data reception of the first node.
Optionally, the first transmission time unit information may be obtained according to a network address corresponding to the first node. For example, the first transmission time unit information may be determined according to a unicast address or a multicast address corresponding to the first node. The first transmission time unit information may be information such as a sequence number of the transmission time unit in a time period.
According to another embodiment, the second time unit information may specifically include: and second transmission time unit information corresponding to the corresponding joint point of the first node. The second transmission time unit information may correspond to a transmission time unit, which is associated with data transmission of the first node and data reception of the associated node.
Optionally, the second tti information may be obtained according to a network address corresponding to the corresponding node. For example, the second tti information may be determined according to a unicast address or a multicast address corresponding to the corresponding node. The second transmission time unit information may be information such as a sequence number of the transmission time unit in the time period.
In the embodiment of the present application, a mapping from a network address to second time unit information may be established according to the network address of the first node or the related node, so as to obtain the second time unit information. Alternatively, the mapping may be a one-to-one mapping such that different nodes correspond to different second time unit information. Of course, the mapping may be a one-to-many mapping.
In the embodiment of the application, a time period is divided into a plurality of time units, and the second time unit corresponding to the node is represented by the second time unit information, and the second time unit can refer to a time unit occupied by the node for transmission.
Assuming that the number of time units is N (N is a natural number), the second time unit information may be the sequence number of the transmission time unit in the time period, and the sequence number of the transmission time unit in the time period may range from 0 to (N-1). According to the embodiment of the application, all or part of the N time units can be used for transmission of the first node, so that the state of the first node can be controlled through the second time unit information corresponding to the first node, and the power consumption of the first node can be reduced.
Those skilled in the art can determine the number of time units according to the actual application requirements, for example, the number N of time units can be obtained according to the number M of nodes in the broadcast type network; n may be equal to M, or N may be greater than M.
In this embodiment, the time unit information may include: corresponding to the sequence number of the time unit in the time period. For example, the second time unit information includes: corresponding to the sequence number of the time unit in the time period.
In an optional embodiment of the present application, the method may further include: and sending the synchronization time information to the first node which completes the network access. The synchronization time information may enable the first node to switch between the sleep state and the working state according to the synchronization time information.
The synchronization time information may include: and time interval information corresponding to the synchronous information. The time interval information may characterize the time interval for transmitting the synchronization information, which may be related to the time period, for example, the time interval may be equal to X time periods, which means that the synchronization information is transmitted once every X time periods, and X may be a positive integer.
Optionally, the synchronization time information may further include: and the receiving time corresponding to the synchronization information corresponds to third time unit information in the time period, and the third time unit information can be used for representing which time unit the receiving time corresponds to in the time period, and is referred to as a synchronization time unit hereinafter. For example, the number of the synchronization time unit in the time period may be 0, and the synchronization time unit may be used to identify the first time unit in a time period, although the embodiment of the present application is not limited to a specific synchronization time unit.
Optionally, the method may further include: according to the synchronization time information, sending synchronization information to a first node which completes network access; the synchronization information is used for time synchronization within a broadcast type network.
Optionally, a beacon broadcast packet may be sent to the first node that completes network access, and the beacon broadcast packet carries the synchronization information, and it can be understood that the embodiment of the present application does not impose any limitation on a specific encapsulation manner of the synchronization information.
In summary, in the data processing method according to the embodiment of the present application, a time period is divided into a plurality of time units, and data transmission is performed in the corresponding time unit through the second time unit information representation node, that is, the second time unit information can represent the time unit occupied by the node for transmission. All or part of the plurality of time units can be used for transmission of the first node, so that the state of the first node can be controlled through the second time unit information corresponding to the first node, and the power consumption of the first node can be further reduced.
Method embodiment two
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of the data processing method according to the present application is shown, and the method is applied to a first node in a broadcast network, and specifically may include the following steps:
step 201, determining first time unit information corresponding to the machine time of a first node in a time period; one time period may include: a plurality of time cells;
step 202, switching between a sleep state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information may be used to characterize the first node or a relevant node of the first node that performs data transmission within the corresponding time unit.
In step 201, the machine time of the first node may refer to the time of the first node corresponding to the machine, and the machine time has real-time property and may change along with the change of the physical time.
The real-time machine time may correspond to a first time unit in an actual cycle, for example, the machine time may sequentially correspond to 0 to (N-1) time units of a time cycle.
In this embodiment, the time unit may include: a Time slice (Time Slot), or a Time Window (Time Window).
According to an embodiment, step 201 may determine first time unit information corresponding to the machine time of the first node in the time period according to the time period information. The time period information may originate from the second node, the time period information comprising: the time length of the time period and the time units comprised by the time period. Alternatively, a preset time may be used as a starting time of one time period, so that the first time unit information may be determined according to the time period information.
According to another embodiment, the step 201 of determining first time unit information corresponding to the machine time of the first node in the time period may specifically include:
receiving synchronization information under the condition that the state of the first node is a working state; the synchronization information is used for time synchronization within the broadcast type network;
and determining first time unit information corresponding to the machine time of the first node in a time period according to the receiving time corresponding to the synchronization information and the synchronization time information corresponding to the synchronization information.
According to the receiving time corresponding to the synchronization information and the synchronization time information corresponding to the synchronization information, the first time unit information corresponding to the machine time of the first node in the time period is determined. The first time unit information may be determined on the basis of time synchronization within the broadcast type network, whereby the synchronicity of the first time unit information within the broadcast type network may be achieved.
In practical applications, the sending method of the synchronization information may include: a one-time transmission scheme, or a periodic transmission scheme. The one-time sending mode does not occupy the time unit of the subsequent time period; the periodic transmission mode may occupy a time unit of a subsequent time period, and thus, the state of the first node may be set to the working state in the corresponding time unit when the transmission time of the synchronization information arrives.
Optionally, the synchronization time information includes: and the receiving time corresponding to the synchronization information is second time unit information corresponding to the time period or time interval information corresponding to the synchronization information.
Optionally, the first time unit information may be determined according to a corresponding relationship between the receiving time and the second time unit information. Alternatively, the second time unit information may characterize any time unit in a time period, such as the 1 st time unit. The embodiment of the application can determine the first time unit information on the basis of the second time unit.
In step 202, the first matching result may represent whether the machine time of the first node reaches a transmission time unit corresponding to the first node in a time period. Therefore, the embodiment of the application switches between the sleep state and the working state according to the first matching result, and can make the first node in the sleep state under the condition that the machine time of the first node does not reach the transmission time unit corresponding to the first node in a time period, so that the power consumption of the first node can be reduced, and the endurance time of the first node can be improved.
In this embodiment of the application, optionally, the step 202 switches between the sleep state and the working state, and specifically may include:
setting the state of the first node as a working state under the condition that the first matching result is matching; or
And under the condition that the first matching result is not matched, setting the state of the first node to be a dormant state.
Optionally, the second time unit information includes: under the condition of first transmission time unit information corresponding to the first node, the working state comprises the following steps: a data reception state. Optionally, the first transmission time unit information may be obtained according to a network address corresponding to the first node.
After the state of the first node is set to the data receiving state, the first node may open a data receiving window to receive data through the data receiving window.
For example, the sequence number range of the time unit in the time cycle is: 0 to (N-1), and if the serial number of the first transmission time unit in the time period is determined to be m according to the unicast address of the first node, the state of the first node can be set to be a working state in the (m +1) th time unit of one time period; and setting the state of the first node to be in a dormant state in time units except for the (m +1) th time unit in one time period.
Optionally, the second time unit information includes: in the case of the second transmission time unit information corresponding to the corresponding node point of the first node, the working state may include: a data transmission state. Optionally, the second tti information may be obtained according to a network address corresponding to the corresponding node.
After the state of the first node is set to the data transmission state, the first node may open a data transmission window to transmit data through the data transmission window.
For example, the sequence number range of the time unit in the time cycle is: 0 to (N-1), the third node and the first node have a correlation relationship, such as a friendship, and the serial number of the second transmission time unit in the time period is determined to be k according to the unicast address of the third node, so that the state of the first node can be set to be a working state in the (k +1) th time unit of one time period; and setting the state of the first node to be in a dormant state in time units except for the (k +1) th time unit in one time period.
In the embodiment of the present application, the first node that wants to send data can know which time unit the target node is in the data receiving state, so that the first node can enter the data sending state and send data when the target node is in the data receiving state. In this way, in the case where the target node is not in the data receiving state, it can be in the sleep state, and therefore the power consumption of the first node can be reduced. For the first node, the number of the time units in the working state in one time period can be determined according to the number of the transmission time units corresponding to the first node, so that the duty ratio of the time units in the working state can be reduced, and the power consumption of the first node can be reduced.
Method embodiment three
Referring to fig. 3, a flowchart illustrating steps of a third embodiment of the data processing method according to the present application is shown, and the method is applied to a first node in a broadcast network, and specifically may include the following steps:
step 301, determining first time unit information corresponding to the machine time of the first node in a time period; one time period may include: a plurality of time cells;
step 302, switching between the sleep state and the working state according to a first matching result between the first time unit information and the second time unit information and a second matching result between the first time unit information and the third time unit information corresponding to the synchronization information.
In this embodiment of the present application, the sending method of the synchronization information may include: a periodic transmission mode. The periodic transmission mode may occupy a time unit of a time period, and thus, when the transmission time of the synchronization information arrives, the state of the first node may be set to an operating state in the corresponding time unit. Therefore, the second matching result between the first time unit information and the third time unit information corresponding to the synchronization information can be used as a basis for state switching.
Optionally, step 302 may specifically include:
setting the state of the first node as a dormant state under the condition that the first matching result is not matched and the second matching result is not matched; or
And setting the state of the first node as a working state under the condition that the first matching result is unmatched and the second matching result is matched.
It is understood that, in the case that the first matching result is a match, the state of the first node may be set to the working state regardless of whether the second matching result is a match.
The period of the third time unit information may correspond to time interval information of the synchronization information, which may be equal to 1 time period, or which may be greater than 1 time period.
Assuming that the time interval information of the synchronization information is 1 time period, the time unit in which the first node is in an active state in one time period may include: and the transmission time unit and the synchronization time unit correspond to the first node.
Of course, the time interval information of the synchronization information may be greater than 1 time period, in which case, the third time unit information may be determined according to the time interval information of the synchronization information. Assuming that the time interval information is 2 time periods, and the sequence number of the synchronization time unit in the time period is 0, the state of the first node may be set to be the working state in the 1 st time unit of the (2i +1) th time unit; wherein i is 0 or a positive integer.
To sum up, the data processing method according to the embodiment of the present application determines, according to the receiving time corresponding to the synchronization information and the synchronization time information corresponding to the synchronization information, first time unit information corresponding to the machine time of the first node in a time period. The first time unit information may be determined on the basis of time synchronization within the broadcast type network, whereby the synchronicity of the first time unit information within the broadcast type network may be achieved.
Method example four
Referring to fig. 4, a flowchart illustrating a fourth step of an embodiment of the data processing method according to the present application is shown, and the method is applied to a first node in a broadcast network, and specifically may include the following steps:
step 401, receiving synchronization information when the state of the first node is a working state; the synchronization information is used for time synchronization within the broadcast type network;
step 402, after receiving the synchronization information, setting the state of the first node to be a dormant state;
step 403, determining first time unit information corresponding to the machine time of the first node in a time period according to the receiving time corresponding to the synchronization information and the synchronization time information corresponding to the synchronization information; one time period may include: a plurality of time cells;
step 404, setting the state of the first node as a working state under the condition that the first matching result between the first time unit information and the second time unit information is matching;
step 405, setting the state of the first node to be a sleep state if the first matching result between the first time unit information and the second time unit information is not matched.
After receiving the synchronization information, the embodiment of the application can set the state of the first node to be the dormant state, and switch the dormant state to be the working state according to the first matching result, so that the first node can transmit data in the working state. And the working state can be switched to the dormant state according to the first matching result, so that the power consumption of the first node is reduced under the condition that data transmission is not needed.
It should be noted that, after step 405, the method may further include: if the first matching result is not matched and the second matching result is matched, the state of the first node is set as a working state to execute step 401.
Method example five
Referring to fig. 5, a flowchart illustrating a fifth step of an embodiment of a data processing method according to the present application is shown, and the method is applied to a first node in a broadcast network, and specifically may include the following steps:
step 501, after the network access is completed, receiving second time unit information, time period information and synchronization time information;
the time period information includes: the time length of the time period and the information of the time units comprised by the time period; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
The synchronization time information includes: and the receiving time corresponding to the synchronization information is third time unit information corresponding to the time period or time interval information corresponding to the synchronization information.
The first node may receive the second time unit information, the time period information, and the synchronization time information from the second node after completing the network access.
The second time unit information and the time period information function to include: and when the first time unit time determined according to the time period information is matched with the second time unit information, setting the state of the first node as a working state so as to open a data receiving window to receive data or open a data sending window to send data to a target node.
The role played by the synchronized time information includes: and informing the first node to receive the synchronous information according to the synchronous time information.
Step 502, receiving synchronization information when the state of the first node is a working state; the synchronization information is used for time synchronization within the broadcast type network;
step 503, after receiving the synchronization information, setting the state of the first node to be a dormant state;
step 504, determining first time unit information corresponding to the machine time of the first node in a time period according to the receiving time corresponding to the synchronization information and the synchronization time information corresponding to the synchronization information; one time period may include: a plurality of time cells;
step 505, switching between the sleep state and the working state according to a first matching result between the first time unit information and the second time unit information and a second matching result between the first time unit information and the third time unit information corresponding to the synchronization information.
Method example six
Referring to fig. 6, a flowchart illustrating steps of a sixth embodiment of the data processing method according to the present application is shown, and is applied to a broadcast type network, where the method specifically includes the following steps:
601, the first node determines first time unit information A corresponding to the machine time of the first node in a time period;
step 602, the third node determines first time unit information B corresponding to the machine time of the third node in a time period;
step 603, the first node sets the state as a working state under the condition that the first time unit information A is matched with the receiving time unit information corresponding to the third node;
step 604, the third node sets the state as a working state under the condition that the first time unit information B is matched with the receiving time unit information corresponding to the third node;
step 605, the first node sends data to the third node, so that the third node receives the data.
In the embodiment of the application, the first node and the third node are both low-power-consumption nodes, the first node can determine the receiving time information corresponding to the third node, and the first node and the third node both set the state to be the working state under the condition that the machine time is matched with the receiving time unit information corresponding to the third node, so as to send and receive data.
Method example seven
Referring to fig. 7, a flowchart illustrating a seventh step of an embodiment of the data processing method according to the present application is shown, and the method is applied to a first node in a broadcast network, and specifically may include the following steps:
step 701, the first node determines first time unit information corresponding to the machine time of the first node in a time period;
step 702, the first node sets the state as a working state under the condition that the first time unit information is matched with the receiving time unit information corresponding to the first node;
step 703, the first node receives data.
In this embodiment of the application, the first node may be a low power consumption node, and the first node may determine the receiving time information corresponding to the first node, and set the state as a working state to receive data when the machine time matches the receiving time unit information corresponding to the third node. In this case, the first node may receive data from any other node, for example, from the second node, or from a third node.
In order to make the embodiments of the present application better understood by those skilled in the art, the data processing method of the embodiments of the present application is described herein by way of specific examples.
In a broadcast type network, the second node is used to control the time period and time synchronization of the network. A time period is divided equally into N time units. The second node fixes that time unit 0 (time unit identified as 0) spaced by X time periods sends synchronization information for time synchronization with the first node in the network. If a first node does not receive synchronization information in time unit 0, the first node will continue to listen for X time periods until receiving synchronization information broadcast by the second node.
The first node may receive the second time unit information, the time period information, and the synchronization time information from the second node after completing the network access. And when the first time unit time determined according to the time period information is matched with the second time unit information, setting the state of the first node as a working state so as to open a data receiving window to receive data or open a data sending window to send data to a target node.
Referring to fig. 8, a schematic diagram of a transmission timing sequence according to an embodiment of the present application is shown, where after a first node a completes accessing a network, a second node sends second time unit information, time cycle information, and synchronization time information to the first node a, and the second time unit information received by the first node a includes: a receiving time unit m of the self, wherein the receiving time unit m can be obtained according to the unicast address of the first section a; after the first node B completes network access, the second node B sends second time unit information, time period information and synchronization time information to the first node B, and the second time unit information received by the first node B includes: the node B comprises a self receiving time unit k, a receiving time unit (N-2) and a receiving time unit m of the first node a, wherein the receiving time unit k and the receiving time unit (N-2) can be obtained according to a unicast address and a multicast address of the first node B respectively.
In fig. 8, the rectangular box without padding may represent that the node is in a data transmitting state, and the rectangular box with padding may represent that the node is in a data receiving state.
In time unit 0 of time period j (j may be a natural number), the second node performs an operation of synchronizing the data frame. Specifically, the first node a and the first node B open a monitoring window to monitor the synchronization information broadcast by the second node, and after the first node a and the first node B monitor the synchronization information, the first node a and the first node B indicate that the time is correct, and enter a sleep state.
In the case of time unit k of time arrival time period j, the second node performs an operation of transmitting a data frame. Specifically, the first node B is switched to the operating state, and opens the data receiving window, at this time, the second node sends the data frame to the first node B, and the first node B enters the sleep state again after receiving and processing the data frame.
In the case of time unit m and time unit (N-2) of the time arrival time period j, the first node a and the first node B perform an operation of opening a data reception window, respectively. Specifically, the first node a and the first node B respectively enter a working state, open a data receiving window, and enter a sleep state without receiving any data. Time period j ends after the time is reached.
After the time period (j +1) starts, the second node performs an operation of synchronizing the data frame. Specifically, the second node starts to broadcast the synchronization information in time unit 0, and the first node a and the first node B enter the sleep state after monitoring the synchronization information.
When the time reaches the time unit k of the time period (j +1), the first node B performs an operation of opening a data reception window. Specifically, the first node B enters a working state, opens a data receiving window, and at this time, no node needs to send data, so after the time unit k of the time period (j +1) is finished, the first node B enters a sleep state.
In the case where the time reaches time unit m of time period (j +1), the first node B transmits a data frame to the first node a. Specifically, the first node a enters a working state, a receiving window is opened for data reception, the first node B sends a data frame to the first node a at this time, and after data transmission is completed, the two first nodes enter a sleep state.
In the case where the time reaches the time unit (N-2) of the time period (j +1), the second node transmits the data frame to the first node B. Specifically, the first node B enters a working state, opens a data receiving window, and receives data sent by the second node.
In summary, the nodes in the broadcast network can know the data receiving time of the nodes or other nodes through the second time unit information, so that the nodes in the broadcast network can have more time to be in a dormant state, the power consumption is reduced, and the endurance time of the nodes can be further improved.
Method example eight
Referring to fig. 11, a flowchart illustrating steps of an eighth embodiment of a data processing method according to the present application is shown, where the method is applied to an internet of things device in a broadcast network, and the method specifically includes the following steps:
step 1101, determining first time unit information corresponding to machine time of the Internet of things equipment in a time period; one time period includes: a plurality of time cells;
step 1102, switching between a sleep state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for representing the internet of things equipment or the related equipment of the internet of things equipment to perform data transmission in the corresponding time unit.
The embodiment of the application switches between the dormant state and the working state according to the first matching result, and the Internet of things equipment is in the dormant state under the condition that the machine time of the Internet of things equipment does not reach the transmission time unit corresponding to the intelligent sound box in a time period, so that the power consumption of the Internet of things equipment can be reduced, and the endurance time of the Internet of things equipment can be prolonged.
In addition, the embodiment of the application switches between the dormant state and the working state, so that the operation cost of manual switching can be reduced, and the user experience can be improved.
Optionally, the switching between the sleep state and the operating state includes:
setting the state of the Internet of things equipment as a working state under the condition that the first matching result is matched; or
Under the condition that the first matching result is not matched, setting the state of the Internet of things equipment to be a dormant state
Optionally, the switching between the sleep state and the operating state includes:
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information and a second matching result between the first time unit information and third time unit information corresponding to the synchronous information; the synchronization information is used for time synchronization in the broadcast type network.
Optionally, the switching between the sleep state and the working state specifically includes:
entering a sleep state if the first matching result is not matched and the second matching result is not matched; or
And entering a working state under the condition that the first matching result is not matched and the second matching result is matched.
Referring to fig. 12, a schematic diagram of a transmission time sequence in an internet of things scene according to an embodiment of the present application is shown, where a management node in the internet of things scene may be a device with a management function, such as a smart speaker; the low-power consumption node can be an entrance guard, a lamp and other equipment with low-power consumption requirements.
In the scene of the internet of things, the management node may send a data frame, such as sending synchronization information or a control instruction, to the low-power node. Or, data may be transmitted between the low power consumption nodes, for example, after the door access is opened, an opening instruction is sent to the lamp, so that the lamp operates. It can be understood that, the embodiment of the present application does not impose a limitation on specific transmission data in the scene of the internet of things.
The low power consumption node in fig. 12 may include: a low power node a and a low power node B. The rectangle box without padding in fig. 12 may represent that the node is in a data transmitting state, the rectangle box with padding may represent that the node is in a data receiving state, and the rectangle box without padding may represent that the node is in a sleeping state.
In time unit 0 of time period j (j may be a natural number), the management node performs an operation of synchronizing the data frames. Specifically, the low-power-consumption node A and the low-power-consumption node B enter a working state to monitor synchronization information broadcasted by the management node, and the low-power-consumption node A and the low-power-consumption node B indicate correct time and enter a dormant state after monitoring the synchronization information; that is, at time unit 1 of time period j, low power node a and low power node B enter the sleep state.
In the case of time unit k of time arrival time period j, the management node performs an operation of transmitting a data frame. Specifically, the low power consumption node B is switched to a working state, a data receiving window is opened, the management node sends a data frame to the low power consumption node B, and the low power consumption node B enters a sleep state again after receiving and processing the data frame.
In the case of time unit m and time unit (N-2) of the time arrival time period j, the low power node a and the low power node B perform an operation of opening a data reception window, respectively. Specifically, the low power consumption node a and the low power consumption node B respectively enter a working state, open a data receiving window, and enter a sleep state without receiving any data. Time period j ends after the time is reached.
Method example nine
In a ninth embodiment of the data processing method according to the present application, the method may be applied to a first node in a bluetooth mesh network, and the method specifically includes:
determining first time unit information corresponding to the machine time of the first node in a time period; one such time period includes: a plurality of time cells;
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used to characterize the first node or a relevant node of the first node to perform data transmission in a corresponding time unit.
Bluetooth mesh networks can be used to build low-power network topologies for many-to-many (many) device communication. Bluetooth mesh networks allow the creation of large networks based on multiple devices, which may contain tens, hundreds or even thousands of devices that can communicate information with each other.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
The embodiment of the application also provides a data processing device.
Referring to fig. 9, which shows a block diagram of an embodiment of a data processing apparatus of the present application, applied to a first node in a broadcast type network, the apparatus may include:
a time unit determining module 901, configured to determine first time unit information corresponding to a machine time of a first node in a time period; one time period may include: a plurality of time cells; and
a state switching module 902, configured to switch between a sleep state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
Optionally, the state switching module 902 may include:
the first state switching module is used for setting the state of the first node as a working state under the condition that the first matching result is matching; or
And the second state switching module is used for setting the state of the first node to be a dormant state under the condition that the first matching result is not matched.
Optionally, the second time unit information may include: the first transmission time unit information corresponding to the first node, the working state may include: a data reception state.
Optionally, the first transmission time unit information is obtained according to a network address corresponding to the first node.
Optionally, the second time unit information may include: the second transmission time unit information corresponding to the joint point of the first node, and the working state may include: a data transmission state.
Optionally, the second transmission time unit information is obtained according to a network address corresponding to the corresponding joint point.
Optionally, the state switching module 902 may include:
the third state switching module is used for switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information and a second matching result between the first time unit information and third time unit information corresponding to the synchronous information; the synchronization information is used for time synchronization within a broadcast type network.
Optionally, the third state switching module may include:
the first state setting module is used for setting the state of the first node to be a dormant state under the condition that the first matching result is unmatched and the second matching result is unmatched; or
And the second state setting module is used for setting the state of the first node as a working state under the condition that the first matching result is unmatched and the second matching result is matched.
Optionally, the time unit determining module 901 may include:
the first receiving module is used for receiving the synchronous information under the condition that the state of the first node is a working state; the synchronization information is used for time synchronization within the broadcast type network;
and the time unit information determining module is used for determining first time unit information corresponding to the machine time of the first node in a time period according to the receiving time corresponding to the synchronous information and the synchronous time information corresponding to the synchronous information.
Optionally, the synchronization time information may include: and the receiving time corresponding to the synchronization information is third time unit information corresponding to the time period or time interval information corresponding to the synchronization information.
Optionally, the apparatus may further comprise:
and the third state setting module is used for setting the state of the first node to be a dormant state after receiving the synchronous information.
Optionally, the apparatus may further include:
the second receiving module is used for receiving second time unit information and time period information; the time period information may include: the length of time of the time period and the time units that the time period may include; the second time unit information is used for representing that the first node or the relevant node of the first node performs data transmission in the time unit.
Optionally, the apparatus may further include:
and the third receiving module is used for receiving the synchronous time information.
An embodiment of the present application further provides a data processing apparatus, where the apparatus may be applied to a second node in a broadcast type network, and specifically may include:
the transmission period sending module is used for sending second time unit information and time period information to the first node which completes network access; the time period information may include: the length of time of the time period and the time units that the time period may include; the second time unit information is used for characterizing that the first node or the time unit corresponding to the relevant node of the first node carries out data transmission.
Optionally, the apparatus may further include:
and the synchronous time sending module is used for sending the synchronous time information to the first node which completes the network access.
Optionally, the apparatus may further include:
the synchronous information sending module is used for sending synchronous information to the first node which completes network access according to the synchronous time information; the synchronization information is used for time synchronization within a broadcast type network.
Optionally, the synchronization time information may include: and the receiving time corresponding to the synchronization information is third time unit information corresponding to the time period or time interval information corresponding to the synchronization information.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Embodiments of the application can be implemented as a system or apparatus employing any suitable hardware and/or software for the desired configuration. Fig. 10 schematically illustrates an exemplary device 1300 that can be used to implement the various embodiments described above in this application.
For one embodiment, fig. 10 illustrates an exemplary apparatus 1300, which apparatus 1300 may comprise: one or more processors 1302, a system control module (chipset) 1304 coupled to at least one of the processors 1302, system memory 1306 coupled to the system control module 1304, non-volatile memory (NVM)/storage 1308 coupled to the system control module 1304, one or more input/output devices 1310 coupled to the system control module 1304, and a network interface 1312 coupled to the system control module 1306. The system memory 1306 may include: instructions 1372, the instructions 1372 being executable by the one or more processors 1302.
Processor 1302 may include one or more single-core or multi-core processors, and processor 1302 may include any combination of general-purpose processors or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 1300 can be a server, a target device, a wireless device, etc. as described above in embodiments of the present application.
In some embodiments, device 1300 may include one or more machine-readable media (e.g., system memory 1306 or NVM/storage 1308) having instructions thereon and one or more processors 1302, which in combination with the one or more machine-readable media, are configured to execute the instructions to implement the modules included in the aforementioned means to perform the actions described above in embodiments of the present application.
System control module 1304 for one embodiment may include any suitable interface controller to provide any suitable interface to at least one of processors 1302 and/or any suitable device or component in communication with system control module 1304.
System control module 1304 for one embodiment may include one or more memory controllers to provide an interface to system memory 1306. The memory controller may be a hardware module, a software module, and/or a firmware module.
System memory 1306 for one embodiment may be used to load and store data and/or instructions 1372. For one embodiment, system memory 1306 may include any suitable volatile memory, such as suitable DRAM (dynamic random access memory). In some embodiments, system memory 1306 may include: double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
System control module 1304 for one embodiment may include one or more input/output controllers to provide an interface to NVM/storage 1308 and input/output device(s) 1310.
NVM/storage 1308 for one embodiment may be used to store data and/or instructions 1382. NVM/storage 1308 may include any suitable non-volatile memory (e.g., flash memory, etc.) and/or may include any suitable non-volatile storage device(s), e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives, etc.
The NVM/storage 1308 may include storage resources that are physically part of the device on which the apparatus 1300 is installed or may be accessible by the device and not necessarily part of the device. For example, the NVM/storage 1308 may be accessed over a network via the network interface 1312 and/or through the input/output devices 1310.
Input/output device(s) 1310 for one embodiment may provide an interface for device 1300 to communicate with any other suitable device, and input/output devices 1310 may include communication components, audio components, sensor components, and so forth.
Network interface 1312 of one embodiment may provide an interface for device 1300 to communicate with one or more networks and/or with any other suitable apparatus, and device 1300 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as to access a communication standard-based wireless network, such as WiFi, 2G, or 3G, or a combination thereof.
For one embodiment, at least one of the processors 1302 may be packaged together with logic for one or more controllers (e.g., memory controllers) of the system control module 1304. For one embodiment, at least one of the processors 1302 may be packaged together with logic for one or more controllers of the system control module 1304 to form a System In Package (SiP). For one embodiment, at least one of the processors 1302 may be integrated on the same novelty as the logic of one or more controllers of the system control module 1304. For one embodiment, at least one of processors 1302 may be integrated on the same chip with logic for one or more controllers of system control module 1304 to form a system on a chip (SoC).
In various embodiments, apparatus 1300 may include, but is not limited to: a computing device such as a desktop computing device or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, device 1300 may have more or fewer components and/or different architectures. For example, in some embodiments, device 1300 may include one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
Wherein, if the display includes a touch panel, the display screen may be implemented as a touch screen display to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation.
The present application also provides a non-transitory readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to an apparatus, the apparatus may be caused to execute instructions (instructions) of methods in the present application.
Provided in one example is an apparatus comprising: one or more processors; and, instructions stored thereon in one or more machine-readable media, which when executed by the one or more processors, cause the apparatus to perform a method as in embodiments of the present application, the method may comprise: the method shown in fig. 2 or fig. 3 or fig. 4 or fig. 5 or fig. 6 or fig. 7 or fig. 8.
One or more machine-readable media are also provided in one example, having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform a method as in embodiments of the application, which may include: the method shown in fig. 2 or fig. 3 or fig. 4 or fig. 5 or fig. 6 or fig. 7 or fig. 8.
The specific manner in which each module performs operations of the apparatus in the above embodiments has been described in detail in the embodiments related to the method, and will not be described in detail here, and reference may be made to part of the description of the method embodiments for relevant points.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the same element.
The foregoing detailed description has provided a data processing method, a data processing apparatus, a device, and a machine-readable medium, which are provided by the present application, and specific examples are applied herein to explain the principles and embodiments of the present application, and the descriptions of the foregoing examples are only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present application.

Claims (29)

1. A data processing method applied to a first node in a broadcast type network, the method comprising:
determining first time unit information corresponding to the machine time of the first node in a time period; one of the time periods includes: a plurality of time cells;
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
2. The method of claim 1, wherein switching between the sleep state and the active state comprises:
setting the state of the first node as a working state under the condition that the first matching result is matched; or
And under the condition that the first matching result is not matched, setting the state of the first node to be a dormant state.
3. The method of claim 1, wherein the second time unit information comprises: under the condition of first transmission time unit information corresponding to the first node, the working state comprises: a data reception state.
4. The method of claim 1, wherein the second time unit information comprises: under the condition of second transmission time unit information corresponding to the corresponding joint point of the first node, the working state comprises the following steps: a data transmission state.
5. The method of claim 1, wherein the second time unit information is obtained according to a network address corresponding to the first node or the corresponding node.
6. The method of claim 1, wherein the second time unit information is obtained according to a network address corresponding to the first node or the related node and a network address corresponding to a second node in the broadcast network; or
The second time unit information is obtained according to the network address corresponding to the first node or the corresponding node point and the number of nodes in the broadcast network.
7. The method of claim 1, wherein switching between the sleep state and the active state comprises:
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information and a second matching result between the first time unit information and third time unit information corresponding to the synchronous information; the synchronization information is used for time synchronization within the broadcast type network.
8. The method of claim 7, wherein switching between the sleep state and the active state comprises:
setting the state of the first node to be a dormant state under the condition that the first matching result is not matched and the second matching result is not matched; or
And under the condition that the first matching result is not matched and the second matching result is matched, setting the state of the first node as a working state.
9. The method according to any one of claims 1 to 8, wherein the determining first time unit information corresponding to the machine time of the first node in the time period comprises:
receiving synchronization information under the condition that the state of the first node is a working state; the synchronization information is used for time synchronization within the broadcast type network;
and determining first time unit information corresponding to the machine time of the first node in a time period according to the receiving time corresponding to the synchronization information and the synchronization time information corresponding to the synchronization information.
10. The method of claim 9, wherein synchronizing the time information comprises: and receiving third time unit information corresponding to the receiving time corresponding to the synchronization information in a time period, or time interval information corresponding to the synchronization information.
11. The method of claim 9, further comprising:
and after receiving the synchronization information, setting the state of the first node to be a dormant state.
12. The method according to any one of claims 1 to 8, further comprising:
receiving second time unit information and time period information; the time period information includes: the time length of the time period and the information of the time units comprised by the time period; the second time unit information is used for representing the first node or a second time unit corresponding to the joint point of the first node.
13. The method according to any one of claims 1 to 8, further comprising:
synchronization time information is received.
14. The method according to any one of claims 1 to 8, wherein the second time unit information comprises: corresponding to the sequence number of the time unit in the time period.
15. The method of any one of claims 1 to 8, wherein the first node is an internet of things device.
16. A data processing method applied to a second node in a broadcast type network, the method comprising:
sending second time unit information and time period information to the first node which completes network access; the time period information includes: the time length of the time period and the information of the time units comprised by the time period; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
17. The method of claim 16, further comprising:
and sending the synchronization time information to the first node which completes the network access.
18. The method of claim 16, further comprising:
according to the synchronization time information, sending synchronization information to a first node which completes network access; the synchronization information is used for time synchronization within the broadcast type network.
19. The method according to claim 17 or 18, wherein the synchronizing time information comprises: time unit information corresponding to the receiving time corresponding to the synchronization information in a time period, or time interval information corresponding to the synchronization information.
20. The method of claim 16, 17 or 18, wherein the second node is a smart speaker.
21. A data processing apparatus applied to a first node in a broadcast type network, the apparatus comprising:
the time unit determining module is used for determining first time unit information corresponding to the machine time of the first node in a time period; one of the time periods includes: a plurality of time cells; and
the state switching module is used for switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
22. A data processing apparatus applied to a second node in a broadcast type network, the apparatus comprising:
the transmission period sending module is used for sending second time unit information and time period information to the first node which completes network access; the time period information includes: the time length of the time period and the information of the time units comprised by the time period; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
23. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method recited by one or more of claims 1-15.
24. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the method recited by one or more of claims 1-15.
25. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 16-20.
26. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform the method recited by one or more of claims 16-20.
27. A data processing method is applied to Internet of things equipment in a broadcast type network, and comprises the following steps:
determining first time unit information corresponding to machine time of the Internet of things equipment in a time period; one of the time periods includes: a plurality of time cells;
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for representing that the internet of things equipment or related equipment of the internet of things equipment performs data transmission in a corresponding time unit.
28. The method of claim 27, wherein switching between the sleep state and the active state comprises:
setting the state of the Internet of things equipment as a working state under the condition that the first matching result is matched; or
And under the condition that the first matching result is not matched, setting the state of the Internet of things equipment to be a dormant state.
29. A data processing method applied to a first node in a bluetooth mesh network, the method comprising:
determining first time unit information corresponding to the machine time of the first node in a time period; one of the time periods includes: a plurality of time cells;
switching between a dormant state and a working state according to a first matching result between the first time unit information and the second time unit information; the second time unit information is used for characterizing that the first node or a related node of the first node performs data transmission in a corresponding time unit.
CN201910600214.5A 2019-07-04 2019-07-04 Data processing method, device, equipment and machine-readable medium Active CN112188598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910600214.5A CN112188598B (en) 2019-07-04 2019-07-04 Data processing method, device, equipment and machine-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910600214.5A CN112188598B (en) 2019-07-04 2019-07-04 Data processing method, device, equipment and machine-readable medium

Publications (2)

Publication Number Publication Date
CN112188598A true CN112188598A (en) 2021-01-05
CN112188598B CN112188598B (en) 2024-04-02

Family

ID=73916002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910600214.5A Active CN112188598B (en) 2019-07-04 2019-07-04 Data processing method, device, equipment and machine-readable medium

Country Status (1)

Country Link
CN (1) CN112188598B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404602A (en) * 2008-11-04 2009-04-08 南京航空航天大学 DCF protocol node self-adapting dormancy mechanism suitable for multi-hop ad hoc network
TW201112818A (en) * 2009-07-22 2011-04-01 Qualcomm Inc Methods and apparatus for improving power efficiency and latency of mobile devices using an external timing source
CN102202377A (en) * 2010-03-26 2011-09-28 中国移动通信集团公司 Method, system and device for sending information
CN102761941A (en) * 2011-04-28 2012-10-31 北京云天创科技有限公司 Wireless intelligent network protocol with ultra-low power consumption
CN107197030A (en) * 2017-06-19 2017-09-22 深圳市盛路物联通讯技术有限公司 A kind of control method and system of internet-of-things terminal equipment working state
CN109951890A (en) * 2017-12-21 2019-06-28 中国科学院深圳先进技术研究院 A kind of data communications method, relay node, terminal node and communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404602A (en) * 2008-11-04 2009-04-08 南京航空航天大学 DCF protocol node self-adapting dormancy mechanism suitable for multi-hop ad hoc network
TW201112818A (en) * 2009-07-22 2011-04-01 Qualcomm Inc Methods and apparatus for improving power efficiency and latency of mobile devices using an external timing source
CN102202377A (en) * 2010-03-26 2011-09-28 中国移动通信集团公司 Method, system and device for sending information
CN102761941A (en) * 2011-04-28 2012-10-31 北京云天创科技有限公司 Wireless intelligent network protocol with ultra-low power consumption
CN107197030A (en) * 2017-06-19 2017-09-22 深圳市盛路物联通讯技术有限公司 A kind of control method and system of internet-of-things terminal equipment working state
CN109951890A (en) * 2017-12-21 2019-06-28 中国科学院深圳先进技术研究院 A kind of data communications method, relay node, terminal node and communication system

Also Published As

Publication number Publication date
CN112188598B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
TWI814886B (en) Bluetooth Mesh network and its communication methods, devices and storage media
EP2695327B1 (en) Systems and methods for implementing multicasting using personal area network (pan) wireless technology
US8086886B2 (en) Group power management of network devices
KR101916559B1 (en) Method, device and system of prompting communication event
CN102148731B (en) Smart home system and end device thereof
JP2017531811A5 (en)
CN111050417B (en) Wireless Internet of things equipment control method and related device
CN108431701B (en) Control method, control panel and control system of intelligent household equipment
CN104871647A (en) Decentralized intelligent nodal lighting system
CN103716214A (en) Smart home remote control system and method
US10698652B2 (en) Intermediary device for establishing wireless services
US20160174006A1 (en) Sound output device, sound output system, and control method thereof
TW201927061A (en) Communication between terminal and base station, and network access method and apparatus for terminal
US11394480B2 (en) Systems and methods for synchronizing device clocks
WO2023202678A1 (en) Device control method and apparatus, electronic device, and storage medium
US10085111B2 (en) User access to wireless low energy device
CN112188598B (en) Data processing method, device, equipment and machine-readable medium
CN110798815A (en) Intelligent household system, electric appliance control method and device and router
CN112020116B (en) Positioning method, device, system and storage medium
TWI778614B (en) Method, terminal, base station, and computer-readable storage medium for determining and indicating access parameters
CN114513846B (en) Positioning communication method, terminal, communication equipment and storage medium
US20190110144A1 (en) Method adapted to be implemented in a master device of a sound system, corresponding method adapted to be implemented in an audio rendering device of a sound system, corresponding master device, audio rendering device, system, computer readable program product and computer readable storage media
CN109413641B (en) Network system, communication method, device, equipment and storage medium based on MESH
JP2017212503A (en) Communication system and communication device
WO2019244410A1 (en) Communication system, master device, slave device, and communication method

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
GR01 Patent grant
GR01 Patent grant