CN112751907B - Information processing method, information processing apparatus, storage medium, and electronic apparatus - Google Patents

Information processing method, information processing apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN112751907B
CN112751907B CN202011311590.1A CN202011311590A CN112751907B CN 112751907 B CN112751907 B CN 112751907B CN 202011311590 A CN202011311590 A CN 202011311590A CN 112751907 B CN112751907 B CN 112751907B
Authority
CN
China
Prior art keywords
target
state information
information
node device
event
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.)
Active
Application number
CN202011311590.1A
Other languages
Chinese (zh)
Other versions
CN112751907A (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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011311590.1A priority Critical patent/CN112751907B/en
Publication of CN112751907A publication Critical patent/CN112751907A/en
Application granted granted Critical
Publication of CN112751907B publication Critical patent/CN112751907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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

Abstract

The invention discloses an information processing method, an information processing device, a storage medium and an electronic device. Wherein, the method comprises the following steps: receiving a control instruction sent by a target gateway of a target network, wherein the target network comprises at least two node devices, and the control instruction is used for indicating the target node devices in the target network to execute a target event; responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed; comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result; and under the condition that the first comparison result indicates that the first state information and the second state information are different, sending the second state information to the target gateway and other node equipment except the target node equipment in the target network. The invention solves the technical problem of low information processing efficiency.

Description

Information processing method, information processing apparatus, storage medium, and electronic apparatus
Technical Field
The present invention relates to the field of computers, and in particular, to an information processing method, an information processing apparatus, a storage medium, and an electronic apparatus.
Background
Standard bluetooth mesh networks communicate by means of messages and through a client-server (C/S) architecture. The C/S architecture has the advantages of clear logic and suitability for standardized processing, and the disadvantage of being incapable of meeting light-weight distributed processing, namely, if each node needs to realize state synchronization with each other, and a complex protocol needs to be established based on the C/S architecture processing, thereby wasting network bandwidth and increasing time consumption.
In summary, in the bluetooth mesh network in the prior art, information processing is performed based on a server-client architecture, and on the basis, if state and information intercommunication between all node devices in the network is to be achieved, a large bandwidth and time cost are required, which leads to a technical problem of low information processing efficiency.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an information processing method and device, a storage medium and an electronic device, and aims to at least solve the technical problem of low information processing efficiency.
According to an aspect of an embodiment of the present invention, there is provided an information processing method including: receiving a control instruction sent by a target gateway of a target network, wherein the target network comprises at least two node devices, and the control instruction is used for instructing target node devices in the target network to execute a target event; responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed; comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result; and sending the second state information to the target gateway and other node devices except the target node device in the target network under the condition that the first comparison result indicates that the first state information and the second state information are different.
According to another aspect of the embodiments of the present invention, there is also provided an information processing apparatus including: a receiving unit, configured to receive a control instruction sent by a target gateway of a target network, where the target network includes at least two node devices, and the control instruction is used to instruct a target node device in the target network to execute a target event; a response unit, configured to respond to the control instruction, control the target node device to execute the target event, and obtain first state information of the target node device after the target event is executed; a first comparison unit, configured to compare the first state information with second state information of the target node device before the target event is executed, and obtain a first comparison result; a first sending unit, configured to send the second status information to the target gateway and other node devices in the target network except the target node device when the first comparison result indicates that the first status information and the second status information are different.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the above-mentioned information processing method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the information processing method through the computer program.
In the embodiment of the present invention, a control instruction sent by a target gateway of a target network is received, where the target network includes at least two node devices, and the control instruction is used to instruct a target node device in the target network to execute a target event; responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed; comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result; under the condition that the first comparison result indicates that the first state information and the second state information are different, the second state information is sent to the target gateway and other node devices except the target node device in the target network, and when the state information of the target node device changes, the changed state information is sent to all node devices in the network, so that the purpose of intercommunication and sharing of the state information among all the node devices in the network is achieved, the state information of all the node devices can be obtained through any node device in the network, the effect of improving the information processing efficiency is achieved, and the technical problem that the information processing efficiency is low is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a flow chart of an alternative information processing method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an alternative information processing method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative information processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an alternative information processing method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an alternative information processing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an alternative information processing method according to an embodiment of the invention;
FIG. 8 is a schematic diagram of another alternative information processing method according to an embodiment of the invention;
fig. 9 is a schematic diagram of another alternative information processing method according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, an information processing method is provided, and optionally, as an optional implementation manner, the information processing method may be applied to, but is not limited to, an environment as shown in fig. 1. The user device 102-1 may include, but is not limited to, a display 108-1, a processor 106-1 and a memory 104-1, and similarly, the user device 102-2 may include, but is not limited to, a display 108-2, a processor 106-2 and a memory 104-2. By way of further illustration, the user device 102-1 may be, but is not limited to being, at least two smart devices (e.g., device a, device B, and device C) under a control target network.
The specific process comprises the following steps:
step S102, the user equipment 102-1 obtains control information on a man-machine interaction screen corresponding to the equipment list, wherein the control information is supposed to be used for indicating the starting of the control equipment C;
step S104-S106, the user device 102-1 sends control information to the server 112 via the network 110;
step S108, the server 112 processes the control information to generate a control instruction, where the control instruction is used to instruct the device C in the control target network to start;
step S110-S112, the server 112 sends the control command to the user equipment 102-2 through the network 110;
step S114, the user equipment 102-2 obtains a control instruction, executes a starting operation based on the control instruction, and obtains the state information of the current equipment A;
step S116-1, comparing the current state information and the historical state information of the device A, and sending the current state information of the device A to other devices in the target network under the condition that the comparison result indicates that the state information changes, for example, to a device B and a device C;
step S116-2-S118, the user device 102-2 sends status information to the server 112 via the network 110;
step S120, the server 112 processes the status information to generate result information, and stores the result information in the database 114, wherein the result information includes the status information and the execution result of the user equipment 102-2 based on the control instruction;
step S122-S124, the server 112 sends the result information to the user device 102-1 through the network 110, and the user device 102-1 displays the result information in the display 108-1 and stores the result information in the memory 104-1.
Optionally, as an optional implementation manner, as shown in fig. 2, the information processing method includes:
s202, receiving a control instruction sent by a target gateway of a target network, wherein the target network comprises at least two node devices, and the control instruction is used for indicating the target node devices in the target network to execute a target event;
s204, responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed;
s206, comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result;
and S208, under the condition that the first comparison result indicates that the first state information and the second state information are different, sending the second state information to the target gateway and other node equipment except the target node equipment in the target network.
Optionally, in this embodiment, the target network may be, but is not limited to, be used to provide shared data and resources for at least two intelligent devices connected under the target network, and may also be, but is not limited to, be used to implement functions of collecting, exchanging, transmitting, and processing data. The target network may include, but is not limited to, at least one of: local area networks, metropolitan area networks, wide area networks, personal area networks, wired networks, wireless networks, fiber optic networks, bluetooth mesh (mesh) networks, and the like, and specifically, for example, a bluetooth mesh network is taken as an example, and optionally, the bluetooth mesh network is not a radio technology, but a connection technology that can be used to construct a many-to-many network including a large number of bluetooth devices or nodes. In the bluetooth mesh network, a message sent by one node can be transmitted between nodes until it reaches its destination. This essentially puts the communication out of the transmission range of point-to-point direct broadcasting. The message copies can be transmitted through a plurality of paths in the network without setting special rules, thereby bringing high reliability to the network.
By way of further example, an alternative bluetooth mesh architecture includes an access layer (access layer) and a network layer (network layer), where the access layer (access layer) is responsible for formatting application data, defining and controlling encryption and decryption processes performed in an upper transport layer, and verifying whether the received data is suitable for the correct network and application before forwarding the data to the protocol stack. The network layer defines various message address types and network message formats, and relay and proxy behaviors are implemented through the network layer, and meanwhile, the communication safety in the network is guaranteed.
Optionally, in this embodiment, the information processing method may be applied to a scene in a bluetooth mesh (mesh) network, and optionally, based on a characteristic of "network flooding" specific to the bluetooth mesh network, a "responsibility chain mode" is adopted, that is: each node generates an event after the state is changed and sends the event to the whole mesh network in a broadcasting mode, and each node monitors the mesh network in real time to consume the event. Based on the mode of 'responsibility chain mode', a quite reliable network is guaranteed to be constructed, bandwidth is reduced, and time consumption is saved. Optionally, the information processing method may also be but is not limited to an access layer (i.e., a mesh application layer broadcast data transceiving mechanism) based on a bluetooth mesh network, each common node is both an event sending party and an event receiving party, and each node device may maintain an online state of a mesh device in the current mesh network.
In addition, it should be noted that the information processing method may be, but is not limited to, have a premise that: all mesh nodes need to use the same set of netkey and appkey for the following reasons:
the safety guarantee of the Bluetooth mesh network message comes from the encryption and verification of a network key (NetKey) and an application key (AppKey) to the message.
And the NetKey is used for network layer communication. Assuming that the bluetooth mesh network has no subnet, all communications within the mesh network use the same network key.
AppKey is used for data of an application. Some nodes in the network have specific applications and restrict access to some potentially sensitive data according to the needs of the application (event synchronization is a generic application).
In an event notification mechanism, the same NetKey is used for ensuring the consistency of network keys; the same AppKey is used for ensuring the synchronous application of events among the devices.
Optionally, in this embodiment, the control instruction may be, but is not limited to, triggered and obtained by a target terminal or a target device, where the target terminal or the target device may be, but is not limited to, establishing an association relationship with a target network in advance, where the association relationship is used to indicate that all or part of node devices in the target network may be controlled by the target terminal or the target device, and state information of all or part of node devices in the target network may be viewed by the target terminal or the target device. Optionally, the status information may be, but is not limited to, at least one of the following information representing the node device: attribute information, data information, heartbeat information, wherein the data information may include, but is not limited to, at least one of: the device Element address, the on, off, up, and down time stamps of the node device, and Heartbeat Message (Heartbeat Message) may be, but is not limited to, a Message sent by a sending source to a recipient that allows the recipient to determine if and when the sending source has failed or terminated.
Optionally, in this embodiment, the target event may include, but is not limited to, at least one of the following: and checking the state information of the target node equipment and controlling the target node equipment to execute the target action. Further optionally, for example, in a case that the target event is to view the state information of the node device, in a normal case, the state information of the target node device is not changed, and thus the target node device does not need to send the state information to other node devices in the target network; however, when the target event is to control the target node device to execute the target action and the state information of the target node device changes, the target node device needs to send the updated state information to other node devices in the target network to update the state information before updating, which is cached by other node devices in the target network, so that the technical purpose that a user can complete information acquisition of all node devices in the target network by controlling any node device in the target network is achieved.
Optionally, in this embodiment, the target gateway may be, but is not limited to, a network management device-like role (provider) in the target network, and may be, but is not limited to, a computer system or a device that provides a data conversion service between multiple networks or multiple node devices. For example, a data conversion service is provided for the target terminal and the target node device in the target network, so as to convert the control command triggered on the target terminal into a data format recognizable by the target network.
It should be noted that the information processing method may be applied to all node devices of the target network, and the target node device herein is only for illustration and is not limited in any way. For example, when the state information of another node device in the target network is changed, the node device may also transmit the changed state information to another node device outside the node device and inside the target node in the target network. Optionally, all the node devices in the target network respectively cache state information of all the node devices in the target network, and after receiving the changed state information, respectively update the corresponding stored state information before updating, so as to achieve an effect of improving timeliness of the node device information in the target network.
For further example, optionally, as shown in fig. 3, the target network includes a target node device 302, a first node device 304, and a second node device 306, and assuming that the state information of the target node device 302 is changed, the target node device 302 will send (broadcast) the changed state information to the first node device 304 and the second node device 306, respectively, and after receiving the changed state information of the target node device 302, the first node device 304 and the second node device 306 update the cached state information of the target node device 302 respectively.
It should be noted that, a control instruction sent by a target gateway of a target network is received, where the target network includes at least two node devices, and the control instruction is used to instruct a target node device in the target network to execute a target event; responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed; comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result; and under the condition that the first comparison result indicates that the first state information and the second state information are different, sending the second state information to the target gateway and other node devices except the target node device in the target network.
For further example, application steps of the information processing method are optional, for example, as shown in fig. 4, in step S402, the target gateway 402 sends a control instruction to the target node device 404; step S404-S406, in the case that the control instruction is an inquiry instruction, the target node device first replies to the backplane, and unicast replies to the status information corresponding to the inquiry instruction of the target gateway 402, and optionally, unicast replies to the source address of the inquiry (which does not cause synchronization of status events in the full target network); in steps S408-S410, in case that the control instruction is an action execution instruction, the target node device may, but is not limited to, unicast the status information returned by the target gateway 402 after the target node device 404 executes the action execution instruction, and then multicast the status information to other node devices (exemplified by the nth node device 406) in the target network except for the target node device 404, or in case that the control instruction is an action execution instruction, the target node device 404 directly multicast the status information after the target node device 404 executes the action execution instruction to the target gateway 402 and other node devices except for the target node device 404. This is by way of example only and not intended to be limiting.
Optionally, in this embodiment, the target node device sends the changed state information to other node devices in the target network except the target node device, and may also be but not limited to target node device self-checking state information at a target end time of a target period, where a target period starts at a target start time and ends at a target end time, a time interval between the target start time and the target end time is a target duration, and assuming that at the target end time, the target node device self-checks the state information, and a self-checking result indicates that the state information is changed, the target node device sends the changed state information to other node devices in the target network except the target node device. Optionally, in this scenario, the status information may be, but is not limited to, heartbeat information.
For further example, based on the scenario shown in fig. 4, the following specific steps are continued with reference to fig. 5 as an example: step S502, the target node device 404 periodically self-checks the state information; step S504, under the condition that the self-checking result indicates that the state information changes, the state information is broadcasted in a multi-path mode to the target gateway 402 and other node equipment except the target node equipment 404 under the target network; step S506, taking the nth node device 406 as an example, the nth node device 406 updates the cached state information of the target node device 404; in step S508, when the nth node device 406 ends in the target period and does not receive the status information of the target node device 404, it considers that the target node device 404 is inactivated, and generates an inactivation timestamp corresponding to the inactivation of the target node device 404, where the inactivated node device may, but is not limited to, indicate that the node device is offline or fails.
Optionally, in this embodiment, with the information processing method, a user can obtain state information of any other node device in the target network through any node device in the target network, for example, assuming that there are N node devices in the target network, after the user connects to the target node device through a mobile phone (using a bluetooth low energy GATT service to perform data transceiving interaction with the target network), the mobile phone may actively query a cache list of the target node device (that is, N groups of node device information maintained in each device before). The target node devices are only examples, and any one node device directly connected to the mobile phone can acquire all device state information in all target networks within millisecond time by using the information processing method.
According to the embodiment provided by the application, a control instruction sent by a target gateway of a target network is received, wherein the target network comprises at least two node devices, and the control instruction is used for indicating the target node devices in the target network to execute a target event; responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed; comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result; under the condition that the first comparison result indicates that the first state information and the second state information are different, the second state information is sent to the target gateway and other node equipment except the target node equipment in the target network, and when the state information of the target node equipment changes, the changed state information is sent to all node equipment in the network, so that the purpose of intercommunication and sharing of the state information among all the node equipment in the network is achieved, the state information of all the node equipment can be obtained through any node equipment in the network, and the effect of improving the information processing efficiency is achieved.
As an optional scheme, in response to the control instruction, controlling the target node device to execute the target event includes:
s1, responding to a control instruction, and sequentially acquiring event processing information of other node equipment in a target network, wherein the event processing information comprises a processing result of each node equipment on a target event;
and S2, controlling the target node equipment to execute the target event based on the event processing information.
It should be noted that, in response to the control instruction, event processing information of other node devices in the target network is sequentially obtained, where the event processing information includes a processing result of each node device on the target event; and controlling the target node equipment to execute the target event based on the event processing information.
For further example, the processing flow of the event processing information may be as shown in fig. 6, where all node devices in the target network sequentially select the target time 602, and the selection includes event consumption, non-processing, or continued processing of a next node device, where the event consumption may be, but is not limited to, indicating that the current node device completes processing the target event 602, the non-processing may be, but is not limited to, indicating that the current node device does not process the target event 602 at all, and the continued processing of the next node device may be, but is not limited to, indicating that the current node device processes but does not process the target time 602; optionally, if any node device consumes the target event 602, the target event 602 is directly determined to be processed and directly ended without being transmitted to the next node device, and then the event processing information 604 is output when the target event 602 is processed, where the event processing information 604 may include, but is not limited to, node device information for processing or consuming the target event 602; optionally, after traversing all node devices in the target network, the exception function 606 is generated in a case where the target event 602 is not processed yet.
According to the embodiment provided by the application, the event processing information of other node devices in the target network is sequentially acquired in response to the control instruction, wherein the event processing information comprises the processing result of each node device on the target event; and based on the event processing information, the target node equipment is controlled to execute the target event, so that the aim of sequentially processing the information is fulfilled, and the effect of improving the integrity of information processing is realized.
As an optional scheme, based on the event processing information, the target node device is controlled to execute the target event, where the target event includes at least one of:
s1, under the condition that event processing information indicates that first node equipment in a target network completes processing of a target event, the first node equipment is used as target node equipment;
and S2, under the condition that the event processing information indicates that the first node device and the second node device in the target network complete the processing of the target event, taking the first node device and the second node device as target node devices.
Alternatively, the target event may be processed by, but not limited to, a handler, where the handler may be, but not limited to, processing asynchronous messages, after a message is sent, the handler first enters a message queue, a function sending the message immediately returns, and another part takes out messages one by one in the message queue, and then processes the message, that is, the sending of the message and the receiving of the message are not synchronous processing.
It should be noted that, in the case that the event processing information indicates that the first node device in the target network completes processing of the target event, the first node device is taken as the target node device; and under the condition that the event processing information indicates that the first node device and the second node device in the target network complete the processing of the target event, taking the first node device and the second node device as the target node devices.
To further illustrate, optionally, for example, as shown in fig. 6, assuming that event processing information 604 indicates that both the first node device and the second node device are involved in consumption of target event 602, the target node device includes the first node device and the second node device; assuming again that event processing information 604 indicates that only the first node device is participating in the consumption of target event 602, the target node device comprises the first node device.
According to the embodiment provided by the application, under the condition that the event processing information indicates that the first node equipment in the target network completes the processing of the target event, the first node equipment is taken as the target node equipment; under the condition that the event processing information indicates that the first node device and the second node device in the target network complete the processing of the target event, the first node device and the second node device are used as the target node devices, so that the purpose of accurately selecting the target node devices is achieved, and the effect of improving the selection accuracy of the target node devices is achieved.
As an optional scheme, after sending the second status information to the target gateway, the method further includes:
s1, updating a current timestamp of target node equipment, and acquiring third state information of the target node equipment at a target time after a first duration, wherein the target time is behind the current timestamp;
s2, comparing the second state information with the third state information to obtain a second comparison result;
and S3, under the condition that the second comparison result indicates that the second state information and the third state information are the same, sending heartbeat information of the target node equipment to the target gateway and other node equipment except the target node equipment in the target network, wherein the heartbeat information is used for determining whether the node equipment is alive-keeping or not.
It should be noted that, the current timestamp of the target node device is updated, and the third state information of the target node device at the target time is acquired after the first duration, where the target time is after the current timestamp; comparing the second state information with the third state information to obtain a second comparison result; and under the condition that the second comparison result indicates that the second state information and the third state information are the same, sending heartbeat information of the target node equipment to the target gateway and other node equipment except the target node equipment in the target network, wherein the heartbeat information is used for determining whether the node equipment is alive-keeping.
For further example, optionally, as shown in fig. 7, the node device in the target network monitors broadcast data in the target network, and when it is monitored that the state information of the node device changes or the node device is offline, the state information of the node device may be synchronized to the target terminal through the GATT service path. It is assumed that if the current node device does not establish a connection with the target terminal, the changed data can be cached and the active query of the target terminal is waited through the GATT service. Optionally, if there is still available cache currently, the state information of the node device may be continuously judged, otherwise, the frame processing is abandoned; if the node equipment judges that the state information changes and the current equipment is connected with the node equipment, actively synchronizing the node state information to the target terminal through a channel of the node equipment; otherwise, passively waiting for the active query after the target terminal is connected. The specific process is as follows:
step S702, receiving data;
step S704, determining whether the broadcast data is broadcast data, if not, executing step S706, and if yes, executing step S708;
step S706, conventional service processing;
step S708, determining whether a traversal source address exists in the member list, if not, performing step S710, and if so, performing step S714;
step S710, querying whether there is an available cache, if not, continuing to perform step S702, and if so, performing step S712;
step S712, creating a new member;
step S714, updating the member list;
step S716, updating node information;
step S718, updating a node heartbeat timestamp/online mark;
step S720, if the node equipment is connected, actively synchronizing the state information of the node equipment to the uSDK through the node equipment channel.
Optionally, based on the scenario shown in fig. 7, for example, as shown in fig. 8, after it is determined that a node in the cache list is offline, the current node may actively synchronize node offline state information to the target terminal through a channel of the node device; even if no node device is connected, the current node device releases the cache resource of the corresponding node device after the line is judged so as to provide a subsequent new node device for state updating, and the method comprises the following specific steps:
step S802, acquiring a timing task;
step S804, traverse the member list;
step 806, judging whether the node equipment is offline or not according to the heartbeat timestamp, if yes, executing step 808, and if not, executing step 804;
step S808, updating an off-line mark;
step S810, if node equipment is connected, actively synchronizing offline equipment of the node equipment to the uSDK through a node equipment channel;
step S812, the cache resource of the offline node device is cleared, and is left to the new member resource.
According to the embodiment provided by the application, the current timestamp of the target node equipment is updated, and the third state information of the target node equipment at the target time is acquired after the first duration, wherein the target time is behind the current timestamp; comparing the second state information with the third state information to obtain a second comparison result; and under the condition that the second comparison result indicates that the second state information and the third state information are the same, sending heartbeat information of the target node equipment to the target gateway and other node equipment except the target node equipment in the target network, wherein the heartbeat information is used for determining whether the node equipment is alive-keeping or not, so that the purpose of timely acquiring the alive-keeping information of the node equipment is achieved, and the timeliness of information acquisition is realized.
As an optional scheme, the method further comprises the following steps:
and under the condition that the target terminal is connected with the target node equipment, acquiring and sending state information and/or heartbeat information of any node equipment in a target network cached in the target node equipment, and sending the state information and/or the heartbeat information to the target terminal, wherein the heartbeat information is used for determining whether the node equipment is alive-keeping.
It should be noted that, when the target terminal is connected to the target node device, state information and/or heartbeat information of any node device in the target network cached in the target node device is obtained and sent to the target terminal, where the heartbeat information is used to determine whether the node device is alive-keeping.
For further example, optionally, as shown in fig. 9 for example, the target terminal 902 may establish a connection with the target node device 302 in advance, and then the target terminal 902 may actively or passively acquire state information and/or heartbeat information of any node device in the target network.
According to the embodiment provided by the application, under the condition that the target terminal is connected with the target node equipment, the state information and/or heartbeat information of any node equipment in the target network cached in the target node equipment are/is obtained and sent to the target terminal, wherein the heartbeat information is used for determining whether the node equipment is alive or not, the purpose that any node equipment based on the target network can obtain the information of all the node equipment is achieved, and the effect of improving the comprehensiveness of obtaining the node equipment information is achieved.
As an optional scheme, the method further comprises the following steps:
s1, under the condition of receiving the state information of any node device except the target node device in a target network, updating the state information of any node device cached in the target node device;
and S2, under the condition that the heartbeat information of any node device except the target node device in the target network is received, updating the heartbeat information of any node device cached in the target node device, wherein the heartbeat information is used for determining whether the node device is alive or not.
It should be noted that, in the case of receiving the state information of any node device in the target network except the target node device, the state information of any node device cached in the target node device is updated; under the condition that heartbeat information of any node device except the target node device in the target network is received, the heartbeat information of any node device cached in the target node device is updated, wherein the heartbeat information is used for determining whether the node device is alive-keeping or not. By using the information processing method, the problem that any node equipment can be used as a heartbeat receiver, which cannot be solved in a typical mesh scheme, is solved. The method and the device realize the real state detection and management functions of the distributed mesh devices, meet the requirement that any mesh node device can monitor the node online state in the full mesh network, and solve the problems that a mobile phone needs to reside in the mesh network for a certain period in advance, the monitoring period is long, and the user experience is poor in a typical mesh scheme.
By the embodiment provided by the application, the state information of any node equipment cached in the target node equipment is updated under the condition that the state information of any node equipment except the target node equipment in the target network is received; under the condition that heartbeat information of any node device except the target node device in the target network is received, the heartbeat information of any node device cached in the target node device is updated, wherein the heartbeat information is used for determining whether the node device is alive or not, the purposes of efficiently processing and acquiring information are achieved, and the effect of improving the information processing efficiency is achieved.
It should be noted that for simplicity of description, the above-mentioned method embodiments are shown as a series of combinations of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiments of the present invention, there is also provided an information processing apparatus for implementing the above-described information processing method. The device includes:
the system comprises a receiving unit and a processing unit, wherein the receiving unit is used for receiving a control instruction sent by a target gateway of a target network, the target network comprises at least two node devices, and the control instruction is used for indicating the target node devices in the target network to execute a target event;
the response unit is used for responding to the control instruction, controlling the target node equipment to execute the target event and acquiring first state information of the target node equipment after the target event is executed;
the first comparison unit is used for comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result;
and the first sending unit is used for sending the second state information to the target gateway and other node equipment except the target node equipment in the target network under the condition that the first comparison result indicates that the first state information and the second state information are different.
Optionally, in this embodiment, the target network may be, but is not limited to, be used to provide shared data and resources for at least two intelligent devices connected under the target network, and may also be, but is not limited to, implement functions of collecting, exchanging, transmitting, and processing data. The target network may include, but is not limited to, at least one of: the present invention relates to a bluetooth network, and more particularly, to a bluetooth network, which is an example of a connection technology that can be used to construct a many-to-many network including a large number of bluetooth devices or nodes. In the bluetooth mesh network, a message sent by one node can be transmitted between nodes until it reaches the destination. This essentially puts the communication out of the transmission range of point-to-point direct broadcasting. The message copies can be transmitted through a plurality of paths in the network without setting special rules, thereby bringing high reliability to the network.
By way of further example, the optional bluetooth mesh architecture includes an access layer (access layer) and a network layer (network layer), wherein the access layer (access layer) is responsible for formatting application data, defining and controlling encryption and decryption processes performed in an upper transport layer, and verifying whether received data is suitable for the correct network and application before forwarding the data to a protocol stack. The network layer defines various message address types and network message formats, and relay and proxy behaviors are implemented through the network layer, and meanwhile, the communication safety in the network is guaranteed.
Optionally, in this embodiment, the information processing apparatus may be applied to a scene in a bluetooth mesh (mesh) network, and optionally, based on a characteristic of "network flooding" specific to the bluetooth mesh network, adopts a "chain of responsibility" mode, that is: each node generates an event after the state is changed and sends the event to the whole mesh network in a broadcasting mode, and each node monitors the mesh network in real time to consume the event. Based on the mode of the 'responsibility chain mode', a quite reliable network is guaranteed to be constructed, bandwidth is reduced, and time consumption is saved. Optionally, the information processing apparatus may further but not limited to an access layer based on a bluetooth mesh network (i.e., a mesh application layer broadcast data transceiving mechanism), where each common node is both an event sending party and an event receiving party, and each node device may maintain an online state of a mesh device in the current mesh network.
In addition, it should be noted that the information processing apparatus may have, but is not limited to, an implementation premise that: all mesh nodes need to use the same set of netkey and appkey for the following reasons:
the safety guarantee of the Bluetooth mesh network message comes from the encryption and verification of a network key (NetKey) and an application key (AppKey) to the message.
And the NetKey is used for network layer communication. Assuming that the bluetooth mesh network has no subnet, all communications within the mesh network use the same network key.
AppKey is used for data of an application. Some nodes in the network have specific applications and restrict access to some potentially sensitive data according to the needs of the application (event synchronization belongs to general applications).
In an event notification mechanism, the same NetKey is used for ensuring the consistency of network keys; the same AppKey is used for ensuring the synchronous application of events among the devices.
Optionally, in this embodiment, the control instruction may be, but is not limited to, triggered and acquired by a target terminal or a target device, where the target terminal or the target device may, but is not limited to, establish an association relationship with a target network in advance, and the association relationship is used to indicate that all or part of node devices in the target network can be controlled by the target terminal or the target device, and that status information of all or part of node devices in the target network can be viewed by the target terminal or the target device. Optionally, the status information may be, but is not limited to, at least one of the following information representing the node device: attribute information, data information, heartbeat information, wherein the data information may include, but is not limited to, at least one of: the device Element address, the on, off, up, and down time stamps of the node device, and Heartbeat Message (Heartbeat Message) may be, but is not limited to, a Message sent by a sending source to a recipient that allows the recipient to determine if and when the sending source has failed or terminated.
Optionally, in this embodiment, the target event may include, but is not limited to, at least one of the following: and checking the state information of the target node equipment and controlling the target node equipment to execute the target action. Further optionally, for example, in a case that the target event is to view the state information of the node device, in a normal case, the state information of the target node device is not changed, and thus the target node device does not need to send the state information to other node devices in the target network; however, when the target event is to control the target node device to execute the target action and the state information of the target node device changes, the target node device needs to send the updated state information to other node devices in the target network to update the state information before updating, which is cached by other node devices in the target network, so that the technical purpose that a user can complete information acquisition of all node devices in the target network by controlling any node device in the target network is achieved.
Optionally, in this embodiment, the target gateway may be, but is not limited to, a role (provider) of network management-like device in the target network, and may be, but is not limited to, a computer system or a device that provides a data conversion service between multiple networks or multiple node devices. For example, a data conversion service is provided for the target terminal and the target node device in the target network, so as to convert the control command triggered on the target terminal into a data format recognizable by the target network.
It should be noted that the information processing apparatus may be applied to, but is not limited to, all node devices of the target network, and the target node device is only an example and is not limited in any way. For example, when the state information of another node device in the target network is changed, the node device may also transmit the changed state information to another node device outside the node device and inside the target node in the target network. Optionally, all the node devices in the target network respectively cache state information of all the node devices in the target network, and after receiving the changed state information, respectively update the corresponding stored state information before updating, so as to achieve an effect of improving timeliness of the node device information in the target network.
It should be noted that, a control instruction sent by a target gateway of a target network is received, where the target network includes at least two node devices, and the control instruction is used to instruct a target node device in the target network to execute a target event; responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed; comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result; and under the condition that the first comparison result indicates that the first state information and the second state information are different, sending the second state information to the target gateway and other node devices except the target node device in the target network.
Optionally, in this embodiment, with the information processing apparatus, a user can obtain state information of any other node device in the target network through any node device in the target network, for example, assuming that there are N node devices in the target network, after the user connects to the target node device through a mobile phone (using a bluetooth low energy GATT service to perform data transceiving interaction with the target network), the mobile phone may actively query a cache list of the target node device (that is, N groups of node device information maintained in each device before). The target node device is only an example, and any node device directly connected to the mobile phone can acquire all device state information in all target networks within millisecond-level time by using the information processing apparatus.
For specific embodiments, reference may be made to the examples shown in the information processing apparatus described above, and details in this example are not described here again.
According to the embodiment provided by the application, a control instruction sent by a target gateway of a target network is received, wherein the target network comprises at least two node devices, and the control instruction is used for indicating the target node devices in the target network to execute a target event; responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed; comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result; under the condition that the first comparison result indicates that the first state information and the second state information are different, the second state information is sent to the target gateway and other node equipment except the target node equipment in the target network, and when the state information of the target node equipment changes, the changed state information is sent to all node equipment in the network, so that the purpose of intercommunication and sharing of the state information among all the node equipment in the network is achieved, the state information of all the node equipment can be obtained through any node equipment in the network, and the effect of improving the information processing efficiency is achieved.
As an optional solution, the response unit includes:
the response module is used for responding to the control instruction and sequentially acquiring event processing information of other node equipment in the target network, wherein the event processing information comprises a processing result of each node equipment on the target event;
and the control module is used for controlling the target node equipment to execute the target event based on the event processing information.
For a specific embodiment, reference may be made to the example shown in the information processing method described above, and details in this example are not described herein again.
As an optional solution, the control module includes at least one of:
the first determining submodule is used for taking the first node equipment as target node equipment under the condition that the event processing information indicates that the first node equipment in the target network completes the processing of the target event;
and the second control module takes the first node device and the second node device as target node devices under the condition that the event processing information indicates that the first node device and the second node device in the target network complete the processing of the target event.
For a specific embodiment, reference may be made to the example shown in the information processing method described above, and details in this example are not described herein again.
As an optional solution, the method further includes:
the first updating unit is used for updating the current timestamp of the target node equipment after the second state information is sent to the target gateway, and acquiring third state information of the target node equipment at the target time after the first time length, wherein the target time is behind the current timestamp;
the second comparison unit is used for comparing the second state information with the third state information after the second state information is sent to the target gateway, and acquiring a second comparison result;
and a second sending unit, configured to send, after sending the second state information to the target gateway, heartbeat information of the target node device to the target gateway and other node devices except the target node device in the target network under a condition that the second comparison result indicates that the second state information and the third state information are the same, where the heartbeat information is used to determine whether the node device is alive.
For a specific embodiment, reference may be made to the example shown in the information processing method described above, and details in this example are not described herein again.
As an optional scheme, the method further comprises the following steps:
the device comprises an obtaining unit and a sending unit, wherein the obtaining unit is used for obtaining and sending the state information and/or heartbeat information of any node device in a target network cached in the target node device under the condition that the target terminal is connected with the target node device, and sending the state information and/or heartbeat information to the target terminal, and the heartbeat information is used for determining whether the node device is alive-keeping.
For a specific embodiment, reference may be made to the example shown in the information processing method described above, and details in this example are not described herein again.
As an optional solution, the method further includes:
a second updating unit, configured to update state information of any node device cached in the target node device when state information of any node device except the target node device in the target network is received;
a third updating unit, configured to update heartbeat information of any node device cached in the target node device when heartbeat information of any node device in the target network is received, where the heartbeat information is used to determine whether the node device is alive.
For a specific embodiment, reference may be made to the example shown in the information processing method described above, and details are not described herein in this example.
According to still another aspect of embodiments of the present invention, there is also provided an electronic device for implementing the information processing method, the electronic device including a memory in which a computer program is stored and a processor configured to execute the steps in any one of the method embodiments by the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
the method comprises the following steps that S1, a control instruction sent by a target gateway of a target network is received, wherein the target network comprises at least two node devices, and the control instruction is used for indicating the target node devices in the target network to execute a target event;
s2, responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed;
s3, comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result;
and S4, under the condition that the first comparison result indicates that the first state information and the second state information are different, sending the second state information to the target gateway and other node equipment except the target node equipment in the target network.
Alternatively, it can be understood by those skilled in the art that the above structure is only illustrative, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. The above description does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components (e.g., network interfaces, etc.) than shown or have a different configuration than shown.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the information processing method and apparatus in the embodiments of the present invention, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, so as to implement the information processing method described above. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located from the processor, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory may specifically, but not limited to, be used to store information such as a control instruction, first state information, and second state information. As an example, the memory may include, but is not limited to, a receiving unit, a responding unit, a first comparing unit, and a first transmitting unit in the information processing apparatus. In addition, the present invention may further include, but is not limited to, other module units in the information processing apparatus, which are not described in detail in this example.
Optionally, the transmission device is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display for displaying the control command, the first state information, the second state information and other information; and a connection bus for connecting the respective module parts in the electronic apparatus.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
the method comprises the steps that S1, a control instruction sent by a target gateway of a target network is received, wherein the target network comprises at least two node devices, and the control instruction is used for indicating the target node devices in the target network to execute target events;
s2, responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed;
s3, comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result;
and S4, under the condition that the first comparison result indicates that the first state information and the second state information are different, sending the second state information to the target gateway and other node equipment except the target node equipment in the target network.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the various methods in the foregoing embodiments may be implemented by a program instructing hardware related to the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, or network devices) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described in detail in a certain embodiment.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be an indirect coupling or communication connection through some interfaces, units or modules, and may be electrical or in other forms.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An information processing method characterized by comprising:
receiving a control instruction sent by a target gateway of a target network, wherein the target network comprises at least two node devices, and the control instruction is used for instructing target node devices in the target network to execute a target event;
responding to the control instruction, controlling the target node equipment to execute the target event, and acquiring first state information of the target node equipment after the target event is executed;
comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result;
under the condition that the first comparison result indicates that the first state information and the second state information are different, sending the first state information to the target gateway and other node equipment except the target node equipment in the target network;
the first state information is corresponding current state information after the target node equipment executes the target event, and the second state information is corresponding historical state information before the target node equipment executes the target event.
2. The method of claim 1, wherein controlling the target node device to execute the target event in response to the control instruction comprises:
responding to the control instruction, and sequentially acquiring event processing information of other node devices in the target network, wherein the event processing information comprises a processing result of each node device on the target event;
and controlling the target node equipment to execute the target event based on the event processing information.
3. The method according to claim 2, wherein said controlling the target node device to execute the target event based on the event processing information comprises at least one of:
taking a first node device in the target network as the target node device under the condition that the event processing information indicates that the first node device completes the processing of the target event;
and when the event processing information indicates that the processing of the target event by a first node device and a second node device in the target network is completed, taking the first node device and the second node device as the target node devices.
4. The method of claim 1, further comprising, after sending the first status information to the target gateway:
updating the current timestamp of the target node equipment, and acquiring third state information of the target node equipment at a target time after a first duration, wherein the target time is behind the current timestamp;
comparing the first state information with the third state information to obtain a second comparison result;
and sending heartbeat information of the target node device to the target gateway and other node devices except the target node device in the target network under the condition that the second comparison result indicates that the first state information and the third state information are the same, wherein the heartbeat information is used for determining whether the node device is alive-keeping.
5. The method of any one of claims 1 to 4, further comprising:
and under the condition that a target terminal is connected with the target node equipment, acquiring state information and/or heartbeat information of any node equipment in the target network cached in the target node equipment, and sending the state information and/or the heartbeat information to the target terminal, wherein the heartbeat information is used for determining whether the node equipment is alive-keeping or not.
6. The method of any of claims 1 to 4, further comprising:
under the condition that the state information of any node device except the target node device in the target network is received, the state information of any node device cached in the target node device is updated;
under the condition that heartbeat information of any node device except the target node device in the target network is received, updating the heartbeat information of any node device cached in the target node device, wherein the heartbeat information is used for determining whether the node device is alive-keeping or not.
7. An information processing apparatus characterized by comprising:
a receiving unit, configured to receive a control instruction sent by a target gateway of a target network, where the target network includes at least two node devices, and the control instruction is used to instruct a target node device in the target network to execute a target event;
a response unit, configured to respond to the control instruction, control the target node device to execute the target event, and acquire first state information of the target node device after the target event is executed;
the first comparison unit is used for comparing the first state information with second state information of the target node equipment before the target event is executed, and acquiring a first comparison result;
a first sending unit, configured to send the first status information to the target gateway and other node devices in the target network except the target node device when the first comparison result indicates that the first status information and the second status information are different;
the first state information is corresponding current state information after the target node equipment executes the target event, and the second state information is corresponding historical state information before the target node equipment executes the target event.
8. The apparatus of claim 7, wherein the response unit comprises:
a response module, configured to respond to the control instruction and sequentially obtain event processing information of other node devices in the target network, where the event processing information includes a processing result of each node device on the target event;
and the control module is used for controlling the target node equipment to execute the target event based on the event processing information.
9. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202011311590.1A 2020-11-20 2020-11-20 Information processing method, information processing apparatus, storage medium, and electronic apparatus Active CN112751907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011311590.1A CN112751907B (en) 2020-11-20 2020-11-20 Information processing method, information processing apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011311590.1A CN112751907B (en) 2020-11-20 2020-11-20 Information processing method, information processing apparatus, storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN112751907A CN112751907A (en) 2021-05-04
CN112751907B true CN112751907B (en) 2022-10-14

Family

ID=75649208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011311590.1A Active CN112751907B (en) 2020-11-20 2020-11-20 Information processing method, information processing apparatus, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN112751907B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114268171A (en) * 2021-12-28 2022-04-01 全球能源互联网欧洲研究院 Distributed measurement system based on low-power-consumption wide area wireless network and control method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103476147A (en) * 2013-08-27 2013-12-25 浙江工业大学 Wireless sensor network target tracking method for energy conservation

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4266962B2 (en) * 2005-06-16 2009-05-27 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
US20080101248A1 (en) * 2006-10-31 2008-05-01 Tekelec Methods, systems and computer program products for selective network management in a network having multiple active routes to a common destination that are keyed by different combinations of parameters
US9497196B2 (en) * 2014-04-01 2016-11-15 Belkin International Inc. IOT device environment detection, identification and caching
US9955291B2 (en) * 2016-01-13 2018-04-24 Lg Electronics Inc. Method and device for controlling group device using bluetooth in wireless communication system
CN106376034B (en) * 2016-10-19 2020-02-11 深圳市晟碟半导体有限公司 Method and system for rapidly acquiring state of equipment in wireless Mesh network
CN110545222A (en) * 2019-08-23 2019-12-06 珠海格力电器股份有限公司 Method and device for controlling equipment, computing equipment and storage medium
CN111405331B (en) * 2020-03-27 2022-04-01 海信视像科技股份有限公司 Bluetooth Mesh device state updating method and display device
CN111934956B (en) * 2020-07-10 2022-03-29 青岛易来智能科技股份有限公司 Equipment configuration method and device, storage medium and electronic device
CN111885601A (en) * 2020-07-23 2020-11-03 海尔优家智能科技(北京)有限公司 Keep-alive processing method and device for Mesh equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103476147A (en) * 2013-08-27 2013-12-25 浙江工业大学 Wireless sensor network target tracking method for energy conservation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无线Mesh网络的跨层设计理论与关键技术;方旭明等;《西南交通大学学报》;20051228(第06期);全文 *

Also Published As

Publication number Publication date
CN112751907A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN107645529B (en) Heartbeat packet sending method and device
EP2688240B1 (en) Method, system and device for switching and selecting clock source device
US8180882B2 (en) Distributed messaging system and method for sharing network status data
US7623472B2 (en) Dynamic peer application discovery
CN104144124B (en) Data forwarding method, Apparatus and system
US20150341205A1 (en) Method for guaranteeing service continuity in a telecommunication network and system thereof
CN110875857B (en) Method, device and system for reporting disconnected network state
Thean et al. Container-based MQTT broker cluster for edge computing
CN112688827B (en) Multicast stream detection method, device and system
US20220345872A1 (en) Method and system for controlling id identifier network mobility based on programmable switch
CN112751907B (en) Information processing method, information processing apparatus, storage medium, and electronic apparatus
KR102547701B1 (en) Network topology discovery method, device, and system
CN110740355A (en) Equipment monitoring method and device, electronic equipment and storage medium
KR101236729B1 (en) Apparatus and method of automatically selecting packet transmission method for data distribution service
TWI740210B (en) Method for terminal device management and server
US20210029228A1 (en) Point-to-Point Database Synchronization Over a Transport Protocol
JP5509564B2 (en) Message transmission method and program
JP2017034336A (en) Terminal and multicast address distribution server
US20220417136A1 (en) Pce controlled network reliability
US11612007B2 (en) Low power dissipation Bluetooth mesh network system and communication method
CN101615998A (en) A kind of method and system and access switch of in Ethernet, realizing clock synchronization
CN114374705A (en) Service cluster and message pushing method
CN114090342A (en) Storage disaster tolerance link management method, message execution node and storage control cluster
KR102095563B1 (en) Apparatus and method for ethernet network using mac address
CN101594288B (en) Query facility selecting method, router and network system

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