CN114430544A - Information interaction method and device, electronic equipment and storage medium - Google Patents

Information interaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114430544A
CN114430544A CN202011187727.7A CN202011187727A CN114430544A CN 114430544 A CN114430544 A CN 114430544A CN 202011187727 A CN202011187727 A CN 202011187727A CN 114430544 A CN114430544 A CN 114430544A
Authority
CN
China
Prior art keywords
sub
equipment
gateway
connection
cloud
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011187727.7A
Other languages
Chinese (zh)
Inventor
张强
林羽帆
杨思淙
谢颖浩
郑锡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Midea Smart Home Technology Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Midea Smart Home Technology 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 Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd, Midea Smart Home Technology Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202011187727.7A priority Critical patent/CN114430544A/en
Publication of CN114430544A publication Critical patent/CN114430544A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/021Traffic management, e.g. flow control or congestion control in wireless networks with changing topologies, e.g. ad-hoc networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Landscapes

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

Abstract

The invention relates to the technical field of communication, and provides an information interaction method, an information interaction device, electronic equipment and a storage medium, wherein the method comprises the following steps: the gateway equipment sends a first connection signal to the sub-equipment, and the first connection signal represents that the gateway equipment and the cloud end are connected; and the gateway equipment receives the uplink information sent by the sub-equipment and sends the uplink information to the cloud. According to the information interaction method, the information interaction device, the electronic device and the storage medium, the message for establishing connection with the sub-device can be informed to the cloud end at the first time through the gateway device, so that the cloud end can timely send the message to the sub-device which uploads the uplink message, the information interaction is carried out when the sub-device and the cloud end are ensured to be stable in interaction, a packet loss event is avoided, and the stability of a transmission environment is ensured.

Description

Information interaction method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information interaction method and apparatus, an electronic device, and a storage medium.
Background
Because there are many child devices in the ble Mesh network, when all the child devices perform information interaction with the cloud, the child devices upload information to the cloud. At this time, each sub-device broadcasts and uploads information, and due to limited channel resources of local area communication formed by the ble Mesh network, the gateway device cannot receive the information uploaded by all the sub-devices, that is, there is a phenomenon of packet loss. Accordingly, the sub-devices may also be caused to forward and repeat information, which may increase the interference of the entire network.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the information interaction method provided by the invention can inform the cloud end of the information establishing connection with the sub-equipment through the gateway equipment at the first time, so that the cloud end can timely send the information to the sub-equipment uploading uplink information before, the information interaction is carried out when the sub-equipment and the cloud end are ensured to be stable in interaction, the occurrence of a packet loss event is avoided, and the stability of a transmission environment is ensured.
The invention also provides an information interaction device, electronic equipment and a storage medium.
An information interaction method in an embodiment of a first aspect of the present invention includes:
the method comprises the steps that gateway equipment sends a first connection signal to sub-equipment, wherein the first connection signal represents that the gateway equipment is connected with a cloud end;
the gateway equipment receives the uplink information sent by the sub-equipment and sends the uplink information to the cloud end;
the gateway device and the child device are both ble devices in a ble Mesh, and only the gateway device can communicate with a cloud.
The information interaction method provided by the embodiment of the invention also has the following additional technical characteristics:
further, before the gateway device sends the first connection signal to the child device, the method further includes:
the gateway equipment receives the broadcast signals of the sub-equipment and determines the sub-equipment which needs to send the uplink information according to the broadcast information;
the method comprises the steps that a gateway device is connected with a sub-device needing to send uplink information, and a sub-device identifier of the sub-device is sent to a cloud end;
and the cloud is used for determining to establish connection with the gateway equipment according to the sub-equipment identification.
Further, after sending the child device identifier of the child device to the cloud, the method further includes:
the gateway equipment sends a connection disconnection signal to the sub-equipment and is disconnected with the sub-equipment; the connection cutting-off signal is a signal fed back after the sub-device identification of the sub-device which needs to send the uplink information by the cloud end fails to be matched with the pre-stored sub-device identification list.
Further, still include: and after the gateway equipment successfully sends the uplink information to a cloud end, sending a connection disconnection signal to the sub-equipment, and disconnecting the connection with the sub-equipment.
Further, after the gateway device establishes a connection with the sub-device that needs to send the uplink information, the method further includes: and sending a connection path to the cloud end so that the cloud end is stored in a prestored routing table when determining that the connection is established with the gateway equipment, wherein the connection path is a link generated by the connection between the sub-equipment and the gateway equipment.
The information interaction method of the embodiment of the second aspect of the invention comprises the following steps:
the gateway equipment sends a second connection signal to the cloud end, wherein the second connection signal represents that the gateway equipment and the sub-equipment are connected;
the gateway equipment receives downlink information sent by the cloud end and sends the downlink information to the sub-equipment;
the gateway device and the child device are both ble devices in a ble Mesh, and only the gateway device can communicate with a cloud.
Further, before the gateway device sends the second connection signal to the cloud, the method further includes:
the gateway equipment receives the sub-equipment identification sent by the cloud end;
and establishing connection with the corresponding sub-equipment according to the sub-equipment identifier to generate a second connection signal.
Further, before the gateway device sends the second connection signal to the cloud, the method further includes:
the gateway equipment receives a connection path sent by the cloud end, wherein the connection path is a link generated by connection between the sub-equipment and the gateway equipment;
and establishing connection with the corresponding sub-equipment according to the connection path to generate a second connection signal.
An information interaction device according to an embodiment of the third aspect of the present invention includes:
the first sending module is used for sending a first connection signal to the sub-device, wherein the first connection signal represents that the gateway device and the cloud end are connected;
the uploading module is used for receiving uplink information sent by the sub-equipment and sending the uplink information to the cloud end;
the first sending module and the uploading module belong to the gateway device, the gateway device and the sub-device are both ble devices in a ble Mesh, and only the gateway device can communicate with a cloud.
An information interaction apparatus according to a fourth aspect of the present invention includes:
the second sending module is used for sending a second connection signal to the cloud, wherein the second connection signal represents that the gateway device and the sub-device are connected;
the issuing module is used for receiving downlink information sent by the cloud end and sending the downlink information to the sub-equipment;
the second sending module and the issuing module belong to the gateway device, the gateway device and the sub-device are both ble devices in a ble Mesh, and only the gateway device can communicate with a cloud.
The electronic device according to the fifth embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the information interaction method.
A non-transitory computer-readable storage medium according to a sixth embodiment of the present invention has a computer program stored thereon, which, when being executed by a processor, implements the steps of the information interaction method as described above.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of an information interaction method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a mesh transmission structure formed by a gateway device, a kid device, and a cloud according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hierarchical transmission structure formed by a gateway device, a child device and a cloud according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information interaction method according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an information interaction apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an information interaction apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 shows a schematic flow diagram of an information interaction method provided in an embodiment of the present invention, where the method is applied to a ble device in a ble Mesh, and the ble device has a function of communicating with a cloud and serves as a gateway device. Referring to fig. 1, the method comprises the steps of:
s11, the gateway device sends a first connection signal to the sub-device, and the first connection signal represents that the connection between the gateway device and the cloud end is established;
and S12, the gateway device receives the uplink information sent by the sub-device and sends the uplink information to the cloud.
With respect to step S11 and step S12, it should be noted that, in the embodiment of the present invention, the child device is a ble device in a ble Mesh network, and the child device does not have a function of communicating with the cloud.
In the ble Mesh network, there may be one gateway device and multiple sub-devices, or there may be multiple gateway devices and multiple sub-devices.
For an interaction scenario of one gateway device and a plurality of sub-devices, the sub-devices can be connected with the gateway device independently when uploading information to the cloud, and can also be connected with the gateway device in a link mode.
For an interaction scenario of multiple gateway devices and multiple sub-devices, the sub-devices may establish a connection with the gateway devices in a link manner when uploading information to the cloud. The link mode can be realized based on a mesh transmission structure and also can be realized based on a hierarchical transmission structure.
Fig. 2 is a schematic diagram of a mesh transmission structure formed by a gateway device, a child device and a cloud.
Fig. 3 is a schematic diagram of a hierarchical transmission structure formed by a gateway device, a child device, and a cloud.
As can be seen from fig. 2 and fig. 3, the gateway device GW implements communication with the Cloud via the Router. The sub-equipment is connected with the gateway equipment in a link mode, and information interaction is achieved between the sub-equipment and the cloud.
In the embodiment of the present invention, in the ble Mesh network, the gateway device in communication with the cloud needs to support the Master/Central role mode and the Peripheral/Slave role mode at the same time. The child device which does not have the function of communicating with the cloud end needs to support a Peripheral/Slave role mode, and can optionally support a Master/Central role mode.
Because there are many child devices in the ble Mesh network, when all the child devices perform information interaction with the cloud, the child devices upload information to the cloud. At this time, each sub-device broadcasts and uploads information, and due to limited channel resources of local area communication formed by the ble Mesh network, the gateway device cannot receive the information uploaded by all the sub-devices, that is, there is a phenomenon of packet loss. Accordingly, the sub-devices may also be caused to forward and repeat information, which may increase the interference of the entire network.
Therefore, the method of the embodiment realizes the communication between the child device and the cloud terminal by establishing the connection, that is: and after the sub-equipment acquires that the gateway equipment is connected with the cloud end, the uplink information is sent to the gateway equipment and then transmitted to the cloud end. Or the cloud end sends the downlink information to the gateway equipment after knowing that the gateway equipment is connected with the sub-equipment, and then transmits the downlink information to the sub-equipment.
In the embodiment of the invention, the scenario in which the method is applied is that the sub-device uploads uplink information. After the gateway device is connected with the cloud end, the gateway device sends a first connection signal to the sub-device, and the first connection signal represents that the gateway device is connected with the cloud end. Here, it should be noted that the cloud allows the child to upload information to the cloud itself, and then agrees to establish connection with the gateway device.
The method comprises the steps that after receiving a connection signal sent by gateway equipment, the sub-equipment sends uplink information to be uploaded to the gateway equipment, the gateway equipment serves as information interaction transfer equipment, after receiving the uplink information sent by the sub-equipment, the uplink information can be uploaded to a cloud end, and the cloud end conducts follow-up processing on the uplink information, wherein if the uplink information is replied, the uplink information is stored.
In the embodiment of the invention, the method informs the sub-equipment of the message for establishing the connection with the cloud terminal at the first time through the gateway equipment, so that the sub-equipment needing to upload the uplink information can send the information to the gateway equipment in time and further upload the information to the cloud terminal, thereby realizing the information interaction when the sub-equipment and the cloud terminal are ensured to be stably interacted, avoiding the occurrence of a packet loss event and ensuring the stability of a transmission environment.
In a further embodiment of the method in the above embodiment, before the gateway device sends the first connection signal to the child device, an explanation of how the gateway device and the cloud end establish a connection is further included, which is specifically as follows:
the gateway equipment receives the broadcast signals of the sub-equipment and determines the sub-equipment which needs to send the uplink information according to the broadcast information;
the gateway equipment is connected with the sub-equipment which needs to send the uplink information, and the sub-equipment identification of the sub-equipment is sent to the cloud end, so that the cloud end determines whether to establish connection with the gateway equipment according to the sub-equipment identification.
In this regard, it should be noted that the slave device broadcasts a signal in an operating state. The broadcast signal is used in this embodiment to characterize whether the kid device wants to upload information. For this purpose, a flag is configured in a field of a preset location of the broadcast signal, and the flag can distinguish whether the child device is to upload information. For example, the flags are divided into a and b, where a denotes that the sub-device is to upload information and b denotes that the sub-device is not to upload information temporarily.
The gateway equipment identifies the nearby sub-equipment in a Bluetooth scanning mode, namely: and analyzing the broadcast signal of the sub-equipment in the broadcast state, determining the sub-equipment needing to send the uplink information from the mark on the field of the preset position, and obtaining the sub-equipment identification of the sub-equipment. The sub-device identification is a unique code of the device. The sub-equipment can be uniquely positioned according to the unique code of the sub-equipment, so that the sub-equipment can be conveniently screened in the ble Mesh network.
The gateway equipment can establish connection with the sub-equipment needing to send the uplink information according to the sub-equipment identification, and sends the sub-equipment identification of the sub-equipment to the cloud end, so that the cloud end determines whether to establish connection with the gateway equipment according to the sub-equipment identification. Here, it should be noted that, after receiving the identifier of the child device sent by the gateway device, the cloud agrees to establish connection with the gateway device if the child device is allowed to send uplink information to itself, and does not agree to establish connection with the gateway device if the child device is not allowed to send uplink information to itself.
The cloud allows connection with the gateway device, and the gateway device can send a first connection signal to the child device at the first time according to the child device identifier. Accordingly, if the cloud does not allow the connection to be established with the gateway device, the gateway device may disconnect the connection from the child device and send a notification signal.
In the embodiment of the invention, the connection with the gateway device is established only when the cloud allows the child device to send the uplink information to the cloud, so that a bridge for the interaction between the child device and the cloud information is realized.
In a further embodiment of the method in the above embodiment, the cloud does not receive the uplink information of the child device, and at this time, the gateway device sends a disconnection signal to the child device and disconnects from the child device.
The connection cutting signal is a signal fed back after the sub-equipment identifier of the sub-equipment which needs to send the uplink information by the cloud end fails to be matched with the pre-stored sub-equipment identifier list.
Therefore, the cloud end carries out identity judgment on the sub-equipment and can match the sub-equipment identification with the sub-equipment identification in the sub-equipment identification list. The child device identification list records identifications of all child devices allowing the child devices to upload uplink information through the cloud. The identity of the sub-equipment which needs to upload the uplink information can be rapidly judged through the sub-equipment identification list, so that whether the cloud end is connected with the gateway equipment or not can be determined as soon as possible.
In addition, after the uplink information of a certain sub-device is successfully sent to the cloud end by the gateway device, the gateway device can be disconnected from the sub-device, and a connection disconnection signal sent by the gateway device is a signal generated after the uplink information is successfully sent to the cloud end by the gateway device. And finishing the uploading process once through the gateway equipment and the sub-equipment, so that the sub-equipment does not occupy channel resources of the ble Mesh network.
In a further embodiment of the method in the foregoing embodiment, after the gateway device establishes a connection with a child device that needs to send the uplink information, a connection path may also be sent to the cloud, so that the cloud stores the connection into a pre-stored routing table when determining that the connection is established with the gateway device, where the connection path is a link generated by the connection between the child device and the gateway device.
Based on the above explanation on the connection establishment between the child device and the gateway device in a link manner, in this embodiment, the gateway device obtains a connection path after establishing connection with the child device. At this time, the gateway device sends the connection path to the cloud. And if the cloud allows the sub-equipment to send the uplink information to the cloud. The cloud end can store the connection path into a prestored routing table, so that when the cloud end feeds back information to the sub-equipment, the connection path representing the relation between the sub-equipment identifier and the gateway equipment can be obtained from the routing table, and the gateway equipment can conveniently send the information fed back by the cloud end to the sub-equipment according to the connection path.
Fig. 4 shows a schematic flow diagram of an information interaction method according to an embodiment of the present invention, where the method is applied to a ble device in a ble Mesh, and the ble device has a function of communicating with a cloud and serves as a gateway device. Referring to fig. 1, the method comprises the steps of:
s41, the gateway device sends a second connection signal to the cloud, and the second connection signal represents that the gateway device and the sub-device are connected;
and S42, the gateway device receives the downlink information sent by the cloud and sends the downlink information to the sub-device.
Based on the description of the association among the child device, the gateway device and the cloud, the child device, the gateway device and the cloud are not separately described here.
In the embodiment of the invention, the application scene of the method is that the cloud sends down the downlink information. After the gateway device is connected with the sub-device, the gateway device sends a second connection signal to the cloud, and the second connection signal represents that the gateway device is connected with the sub-device.
The cloud end sends downlink information to be sent to the gateway equipment after receiving the connection signal sent by the gateway equipment, the gateway equipment serves as information interaction transfer equipment, the downlink information is sent to the sub-equipment after the downlink information sent by the cloud end is received, and the sub-equipment performs subsequent processing on the downlink information, and stores the downlink information if the downlink information is replied.
In the embodiment of the invention, the method informs the cloud end of the message of establishing connection with the sub-equipment at the first time through the gateway equipment, so that the cloud end can timely send the message to the sub-equipment which uploads the uplink message, the message interaction is carried out when the sub-equipment and the cloud end are stably interacted, the occurrence of a packet loss event is avoided, and the stability of a transmission environment is ensured.
In a further embodiment of the method in the above embodiment, before the gateway device sends the second connection signal to the cloud, an explanation of how the gateway device establishes a connection with the child device in a downlink information sending process is further included, which is specifically as follows:
the gateway equipment receives a sub-equipment identifier sent by the cloud end;
and establishing connection with the corresponding sub-equipment according to the sub-equipment identifier to generate a second connection signal.
In this regard, it should be noted that, in the embodiment of the present invention, the downlink information sent by the cloud is information generated by performing feedback on the uplink information uploaded by the sub device. Therefore, the downlink information sent by the cloud is fed back to the corresponding sub-device. Therefore, the cloud end sends the identifier of the child device to be fed back to the gateway device. And the gateway equipment screens the sub-equipment corresponding to the identifier in the ble Mesh network according to the sub-equipment identifier. Through the sub-device identification, the sub-device in the network can be accurately determined, and the follow-up connection and the down information sending are completed.
In a further embodiment of the method in the above embodiment, before sending the second connection signal to the cloud end to the gateway device, an explanation of how the gateway device establishes a connection with the child device in a downlink information sending process is further included, which is specifically as follows:
the gateway device receives a connection path sent by the cloud, the connection path is a link generated by connection between the sub-device and the gateway device, and a second connection signal is generated according to the connection between the connection path and the corresponding sub-device.
Here, it should be noted that, based on the description of the connection path in the above embodiment, the description is omitted here.
And the gateway equipment receives the connection path sent by the cloud. Because the connection path is a link generated by the connection between the sub-device and the gateway device, the gateway device does not need to perform the regulation scanning on all the sub-devices, and only needs to directly lock the sub-devices according to the connection path to establish the connection with the sub-devices to generate the second connection signal.
Fig. 5 is a schematic structural diagram of an information interaction apparatus provided in an embodiment of the present invention, and referring to fig. 5, the apparatus includes a first sending module 51 and an uploading module 52, where:
a first sending module 51, configured to send a first connection signal to the child device, where the first connection signal indicates that the gateway device and the cloud end are connected;
the uploading module 52 is configured to receive the uplink information sent by the sub-device, and send the uplink information to the cloud;
the first sending module and the uploading module belong to the gateway device, the gateway device and the sub-device are both ble devices in a ble Mesh, and only the gateway device can communicate with the cloud.
In a further embodiment of the apparatus in the foregoing embodiment, the apparatus further includes a scanning module, configured to receive a broadcast signal of the child device before sending the first connection signal to the child device, determine, according to the broadcast signal, the child device that needs to send the uplink information, establish a connection with the child device that needs to send the uplink information, and send a child device identifier of the child device to the cloud; and the cloud is used for determining to establish connection with the gateway equipment according to the sub-equipment identifier.
In a further embodiment of the apparatus of the above embodiment, the apparatus further includes an informing module, configured to:
sending a connection disconnection signal to the sub-equipment, and disconnecting the sub-equipment from the sub-equipment;
the connection cutting-off signal is a signal fed back after the matching between the sub-equipment identifier of the sub-equipment which needs to send the uplink information and the pre-stored sub-equipment identifier list fails;
or, the connection disconnection signal is a signal generated after the gateway device successfully sends the uplink information to the cloud.
In a further embodiment of the apparatus of the above embodiment, the upload module is further configured to: after connection with the sub-device needing to send the uplink information is established, a connection path is sent to the cloud end, so that the cloud end is stored in a prestored routing table when connection with the gateway device is determined, and the connection path is a link generated by connection between the sub-device and the gateway device.
Since the principle of the apparatus according to the embodiment of the present invention is the same as that of the method according to the above embodiment, further details are not described herein for further explanation.
It should be noted that, in the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
The device disclosed by the embodiment of the invention informs the sub-equipment of the message for establishing connection with the cloud end at the first time through the gateway equipment, so that the sub-equipment needing to upload the uplink information can send the information to the gateway equipment in time and further upload the information to the cloud end, the information interaction is carried out when the sub-equipment and the cloud end are ensured to be stable in interaction, the occurrence of a packet loss event is avoided, and the stability of a transmission environment is ensured.
Fig. 6 shows a schematic structural diagram of an information interaction apparatus according to an embodiment of the present invention, referring to fig. 6, the apparatus includes a second sending module 61 and a sending module 62, where:
the second sending module 61 is configured to send a second connection signal to the cloud, where the second connection signal indicates that the gateway device and the child device are connected;
the issuing module 62 is configured to receive downlink information sent by the cloud and send the downlink information to the child device;
the second sending module and the issuing module belong to gateway equipment, the gateway equipment and the sub-equipment are both ble equipment in the ble Mesh, and only the gateway equipment can communicate with the cloud.
In a further embodiment of the apparatus of the above embodiment, the apparatus further comprises a connection module, configured to: before the gateway device sends a second connection signal to a cloud, receiving a sub-device identifier sent by the cloud; and establishing connection with the corresponding sub-equipment according to the sub-equipment identifier to generate a second connection signal.
In a further embodiment of the apparatus of the above embodiment, the connection module is further configured to: before the gateway device sends a second connection signal to the cloud, receiving a connection path sent by the cloud, wherein the connection path is a link generated by connection between the sub-device and the gateway device; and establishing connection with the corresponding sub-equipment according to the connection path to generate a second connection signal.
Since the principle of the apparatus according to the embodiment of the present invention is the same as that of the method according to the above embodiment, further details are not described herein for further explanation.
It should be noted that, in the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
The device disclosed by the embodiment of the invention informs the cloud end of the message for establishing connection with the sub-equipment at the first time through the gateway equipment, so that the cloud end can timely send the message to the sub-equipment which uploads the uplink message, the information interaction is realized when the sub-equipment and the cloud end are stably interacted, the occurrence of a packet loss event is avoided, and the stability of a transmission environment is ensured.
Fig. 7 illustrates a physical structure diagram of an electronic device, and as shown in fig. 7, the electronic device may include: a processor (processor)71, a communication Interface (Communications Interface)72, a memory (memory)73 and a communication bus 74, wherein the processor 71, the communication Interface 72 and the memory 73 are communicated with each other via the communication bus 74. Processor 71 may call logic instructions in memory 73 to perform the following method: sending a first connection signal to the sub-device, wherein the first connection signal represents that the gateway device is connected with the cloud end; and receiving uplink information sent by the sub-equipment, and sending the uplink information to the cloud.
In addition, the logic instructions in the memory 73 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the method provided in the foregoing embodiments when executed by a processor, and the method includes: sending a first connection signal to the sub-device, wherein the first connection signal represents that the gateway device is connected with the cloud end; and receiving uplink information sent by the sub-equipment, and sending the uplink information to the cloud.
An embodiment of the present invention provides an electronic device, which may include: the system comprises a processor (processor), a communication Interface (communication Interface), a memory (memory) and a communication bus, wherein the processor, the communication Interface and the memory are communicated with each other through the communication bus. The processor may call logic instructions in memory to perform the following method: sending a second connection signal to the cloud, wherein the second connection signal represents that the gateway device and the sub-device are connected; and receiving downlink information sent by the cloud end, and sending the downlink information to the sub-equipment.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the method provided in the foregoing embodiments when executed by a processor, and the method includes: sending a second connection signal to the cloud, wherein the second connection signal represents that the gateway device and the sub-device are connected; and receiving downlink information sent by the cloud end, and sending the downlink information to the sub-equipment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. An information interaction method, comprising:
the method comprises the steps that gateway equipment sends a first connection signal to sub-equipment, wherein the first connection signal represents that the gateway equipment is connected with a cloud end;
the gateway equipment receives the uplink information sent by the sub-equipment and sends the uplink information to the cloud end;
the gateway device and the child device are both ble devices in a ble Mesh, and only the gateway device can communicate with a cloud.
2. The information interaction method of claim 1, before the gateway device sends the first connection signal to the sub-device, further comprising:
the gateway equipment receives the broadcast signals of the sub-equipment and determines the sub-equipment which needs to send the uplink information according to the broadcast information;
the method comprises the steps that a gateway device is connected with a sub-device needing to send uplink information, and a sub-device identifier of the sub-device is sent to a cloud end;
and the cloud is used for determining to establish connection with the gateway equipment according to the sub-equipment identification.
3. The information interaction method according to claim 2, after sending the child device identifier of the child device to a cloud, further comprising:
the gateway equipment sends a connection disconnection signal to the sub-equipment and is disconnected with the sub-equipment; the connection cutting-off signal is a signal fed back after the sub-device identification of the sub-device which needs to send the uplink information by the cloud end fails to be matched with the pre-stored sub-device identification list.
4. The information interaction method of claim 2, further comprising: and after the gateway equipment successfully sends the uplink information to a cloud end, sending a connection disconnection signal to the sub-equipment, and disconnecting the connection with the sub-equipment.
5. The information interaction method according to claim 2, wherein after the gateway device establishes a connection with the sub-device that needs to send the uplink information, the method further comprises: and sending a connection path to the cloud end so that the cloud end is stored in a prestored routing table when determining that the connection is established with the gateway equipment, wherein the connection path is a link generated by the connection between the sub-equipment and the gateway equipment.
6. An information interaction method, comprising:
the gateway equipment sends a second connection signal to the cloud end, wherein the second connection signal represents that the gateway equipment and the sub-equipment are connected;
the gateway equipment receives downlink information sent by the cloud end and sends the downlink information to the sub-equipment;
the gateway device and the child device are both ble devices in a ble Mesh, and only the gateway device can communicate with a cloud.
7. The information interaction method according to claim 6, before the gateway device sends the second connection signal to the cloud, further comprising:
the gateway equipment receives the sub-equipment identification sent by the cloud end;
and establishing connection with the corresponding sub-equipment according to the sub-equipment identifier to generate a second connection signal.
8. The information interaction method according to claim 6, before the gateway device sends the second connection signal to the cloud, further comprising:
the gateway equipment receives a connection path sent by the cloud end, wherein the connection path is a link generated by connection between the sub-equipment and the gateway equipment;
and establishing connection with the corresponding sub-equipment according to the connection path to generate a second connection signal.
9. An information interaction apparatus, comprising:
the first sending module is used for sending a first connection signal to the sub-device, wherein the first connection signal represents that the gateway device and the cloud end are connected;
the uploading module is used for receiving uplink information sent by the sub-equipment and sending the uplink information to the cloud end;
the first sending module and the uploading module belong to the gateway device, the gateway device and the sub-device are both ble devices in a ble Mesh, and only the gateway device can communicate with a cloud.
10. An information interaction apparatus, comprising:
the second sending module is used for sending a second connection signal to the cloud, wherein the second connection signal represents that the gateway device and the sub-device are connected;
the issuing module is used for receiving downlink information sent by the cloud end and sending the downlink information to the sub-equipment;
the second sending module and the issuing module belong to the gateway device, the gateway device and the sub-device are both ble devices in a ble Mesh, and only the gateway device can communicate with a cloud.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the information interaction method according to any one of claims 1 to 5 or implements the steps of the information interaction method according to any one of claims 6 to 8 when executing the program.
12. A non-transitory computer readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of the information interaction method according to any one of claims 1 to 5, or implementing the steps of the information interaction method according to any one of claims 6 to 8.
CN202011187727.7A 2020-10-29 2020-10-29 Information interaction method and device, electronic equipment and storage medium Pending CN114430544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011187727.7A CN114430544A (en) 2020-10-29 2020-10-29 Information interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011187727.7A CN114430544A (en) 2020-10-29 2020-10-29 Information interaction method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114430544A true CN114430544A (en) 2022-05-03

Family

ID=81308999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011187727.7A Pending CN114430544A (en) 2020-10-29 2020-10-29 Information interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114430544A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204810290U (en) * 2015-06-24 2015-11-25 北京勇搏科技有限公司 Novel wireless Intelligence system
US20160165387A1 (en) * 2014-08-26 2016-06-09 Hoang Nhu Smart home platform with data analytics for monitoring and related methods
CN106878923A (en) * 2017-01-09 2017-06-20 云丁网络技术(北京)有限公司 The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
CN108924806A (en) * 2018-07-19 2018-11-30 廊坊新奥燃气设备有限公司 A kind of family's internet of things data communication means and system using BLE technology
CN109219028A (en) * 2018-09-05 2019-01-15 北京字节跳动网络技术有限公司 Equivalent device Bluetooth communication method and device based on cloud
CN208723933U (en) * 2018-08-07 2019-04-09 河南云拓智能科技有限公司 A kind of Bluetooth gateway equipment
CN110446196A (en) * 2019-08-12 2019-11-12 中南大学湘雅医院 Gateway control method, apparatus and gateway working method, device and electronic equipment
CN111200808A (en) * 2020-01-10 2020-05-26 杭州涂鸦信息技术有限公司 Dual-protocol gateway data transmission method and system
CN113098952A (en) * 2021-03-30 2021-07-09 广东工业大学 Intelligent kitchen system based on hybrid network architecture

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160165387A1 (en) * 2014-08-26 2016-06-09 Hoang Nhu Smart home platform with data analytics for monitoring and related methods
CN204810290U (en) * 2015-06-24 2015-11-25 北京勇搏科技有限公司 Novel wireless Intelligence system
CN106878923A (en) * 2017-01-09 2017-06-20 云丁网络技术(北京)有限公司 The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
CN108924806A (en) * 2018-07-19 2018-11-30 廊坊新奥燃气设备有限公司 A kind of family's internet of things data communication means and system using BLE technology
CN208723933U (en) * 2018-08-07 2019-04-09 河南云拓智能科技有限公司 A kind of Bluetooth gateway equipment
CN109219028A (en) * 2018-09-05 2019-01-15 北京字节跳动网络技术有限公司 Equivalent device Bluetooth communication method and device based on cloud
CN110446196A (en) * 2019-08-12 2019-11-12 中南大学湘雅医院 Gateway control method, apparatus and gateway working method, device and electronic equipment
CN111200808A (en) * 2020-01-10 2020-05-26 杭州涂鸦信息技术有限公司 Dual-protocol gateway data transmission method and system
CN113098952A (en) * 2021-03-30 2021-07-09 广东工业大学 Intelligent kitchen system based on hybrid network architecture

Similar Documents

Publication Publication Date Title
EP2991440B1 (en) Method and device for connecting to network
US10362549B2 (en) Method and apparatus for setting up interface between access points
CN106576285B (en) APN configuration method, user equipment and configuration server
CN108882277B (en) Version upgrading method and device
CN110875827A (en) Network slice management method and device
CN105072149A (en) Method and device for building remote communication through proxy gateway
CN111182611B (en) Communication method and device
CN109802982B (en) Dual-connection implementation method, device and system
US20170346891A1 (en) Communication method
CN112566104B (en) Roaming coordination method based on Mesh network, wireless access point and storage medium
JP6677393B2 (en) Wireless LAN system, wireless LAN reconnection method, and wireless LAN reconnection program
CN108512679B (en) Gateway equipment management method and device
CN104221463B (en) Device and method for the operation of spontaneous execution implicit detach
CN114430544A (en) Information interaction method and device, electronic equipment and storage medium
CN107689986B (en) Data communication method of communication equipment in wireless self-organizing network, communication equipment and storage device
CN114125052B (en) Target operation execution method and device, storage medium and electronic device
CN111083801B (en) Method for establishing X2 link, EMS, base station and storage medium
WO2016183730A1 (en) Data transmission method and apparatus
CN102484784A (en) Notification within a wireless communication network using a dhcp server
CN107196984B (en) Metadata sharing method, metadata source equipment and network intermediate equipment
CN115150363B (en) IP address updating method, gateway device, gateway down-hanging device and storage medium
CN101877862A (en) Large object transmission method and server
CN108307457B (en) Message routing method and device
CN108173910B (en) Method and system for managing application
CN115150870B (en) Session residue processing method, device, session management functional entity and storage medium

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