CN113433852B - Communication control method and device of intelligent equipment - Google Patents

Communication control method and device of intelligent equipment Download PDF

Info

Publication number
CN113433852B
CN113433852B CN202110653320.7A CN202110653320A CN113433852B CN 113433852 B CN113433852 B CN 113433852B CN 202110653320 A CN202110653320 A CN 202110653320A CN 113433852 B CN113433852 B CN 113433852B
Authority
CN
China
Prior art keywords
target
intelligent device
communication message
intelligent
local gateway
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
CN202110653320.7A
Other languages
Chinese (zh)
Other versions
CN113433852A (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.)
Bear Electrical Appliance Co Ltd
Original Assignee
Bear Electrical Appliance 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 Bear Electrical Appliance Co Ltd filed Critical Bear Electrical Appliance Co Ltd
Priority to CN202110653320.7A priority Critical patent/CN113433852B/en
Publication of CN113433852A publication Critical patent/CN113433852A/en
Application granted granted Critical
Publication of CN113433852B publication Critical patent/CN113433852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a communication control method and a device of intelligent equipment, wherein the method is applied to an application scene comprising a local gateway and at least two intelligent equipment, and comprises the following steps: when receiving the target communication message, the local gateway determines target intelligent equipment which needs to receive the target communication message from all intelligent equipment and judges whether the target intelligent equipment meets corresponding preset normal communication conditions; and when the judging result is negative, the local gateway selects a target intelligent device set for forwarding the target communication message from the rest intelligent devices in the application scene and sends the target communication message to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent devices. Therefore, when the local gateway cannot directly communicate with the intelligent equipment, the communication information can be forwarded to the corresponding intelligent equipment through other intelligent equipment, so that the communication reliability between the local gateway and the intelligent equipment is improved.

Description

Communication control method and device of intelligent equipment
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a communication control method and apparatus for an intelligent device.
Background
Along with the rapid development of the internet of things, a plurality of intelligent devices in an application scene can be added into the same network to be connected into a whole to exert the intelligent function thereof, for example: in a home scenario, multiple intelligent home devices may be connected to the same local area network to implement centralized control of the multiple intelligent home devices.
Practice finds that in some situations, such as when the intelligent device is far away from the local gateway in the application scene, the intelligent device cannot be connected with the local gateway or has a discontinuous problem in connection with the local gateway, so that communication between the local gateway and the intelligent device cannot be realized, effective control of the intelligent device or message transmission between the intelligent device cannot be realized, and the communication reliability between the local gateway and the intelligent device is greatly reduced. It can be seen that how to improve the reliability of communication between the local gateway and the smart device is particularly important.
Disclosure of Invention
The invention provides a communication control method and device of intelligent equipment, which can improve the communication reliability between a local gateway and the intelligent equipment.
In order to solve the technical problem, a first aspect of the present invention discloses a communication control method of an intelligent device, where the method is applied to an application scenario including a local gateway and at least two intelligent devices, and the method includes:
When any target communication message is received, the local gateway determines target intelligent equipment which needs to receive the target communication message from all the intelligent equipment;
the local gateway judges whether the target intelligent equipment meets corresponding preset normal communication conditions or not;
when the target intelligent device is judged not to meet the preset normal communication condition, the local gateway selects a target intelligent device set for forwarding the target communication message from the rest intelligent devices in the application scene, wherein the target intelligent device set comprises at least one intelligent device;
the local gateway sends the target communication message to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent devices.
As an optional implementation manner, in the first aspect of the present invention, the determining, by the local gateway, whether the target smart device meets a corresponding preset normal communication condition includes:
the local gateway judges whether the distance value between the target intelligent device and the local gateway is larger than or equal to a preset distance threshold value;
When the distance value is judged to be larger than or equal to the preset distance threshold value, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
the local gateway judges whether the current signal intensity value between the local gateway and the target intelligent device is smaller than or equal to a preset signal intensity threshold value;
when the current signal strength value is judged to be smaller than or equal to the preset signal strength threshold value, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
the local gateway judges whether the target intelligent equipment is currently in a preset position area range or not;
when the target intelligent device is judged to be currently in the preset position area range, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication conditions.
As an optional implementation manner, in the first aspect of the present invention, the determining, by the local gateway, whether the target smart device meets a corresponding preset normal communication condition includes:
the local gateway sends a detection instruction to the target intelligent device and judges whether a detection response fed back by the target intelligent device aiming at the detection instruction is received or not;
And when judging that the detection response is not received, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication condition.
As an optional implementation manner, in the first aspect of the present invention, the local gateway selects a target smart device set for forwarding the target communication message from the remaining smart devices in the application scenario, including:
the local gateway determines a plurality of intelligent device sets capable of forwarding the target communication message from the rest intelligent devices in the application scene, wherein each intelligent device set comprises at least one intelligent device;
the local gateway determines set parameters corresponding to each intelligent device set, and selects at least one intelligent device set from all intelligent device sets according to the set parameters corresponding to each intelligent device set to serve as a target intelligent device set for forwarding the target communication message;
the set parameters corresponding to each intelligent device set comprise a transmission distance corresponding to each intelligent device set and/or a current message transmission task quantity corresponding to each intelligent device set.
As an optional implementation manner, in the first aspect of the present invention, after the local gateway determines, from the remaining smart devices in the application scenario, a plurality of smart device sets capable of forwarding the target communication message, the method further includes:
the local gateway determines a first attribute parameter corresponding to the target communication message and judges whether the target communication message has a corresponding forwarding requirement according to the first attribute parameter; when judging that the target communication message has a corresponding forwarding requirement, triggering and executing the operation of determining the set parameters corresponding to each intelligent equipment set;
and selecting, by the local gateway, at least one set of intelligent devices from all the sets of intelligent devices according to set parameters corresponding to each set of intelligent devices as a set of target intelligent devices for forwarding the target communication message, including:
the local gateway determines forwarding requirement information corresponding to the target communication message according to the second attribute parameter corresponding to the target communication message;
the local gateway calculates the matching degree of the forwarding requirement information corresponding to the target communication message and each intelligent device set according to the set parameters corresponding to each intelligent device set and the forwarding requirement information corresponding to the target communication message to obtain a matching degree set;
And the local gateway selects all target matching degrees with matching degrees meeting preset matching conditions from the matching degree sets, and determines all intelligent device sets corresponding to the target matching degrees as target intelligent device sets for forwarding the target communication message.
As an optional implementation manner, in the first aspect of the present invention, the sending, by the local gateway, the target communication message to a smart device in the target smart device set, so as to trigger the smart device in the target smart device set to forward the target communication message to the target smart device includes:
when the number of the target intelligent device sets is greater than or equal to 2, the local gateway divides the target communication message into a plurality of sub communication messages, wherein the number of all the sub communication messages is less than or equal to the number of all the target intelligent device sets;
for each sub-communication message, the local gateway sends the sub-communication message to one of the target intelligent device sets so as to trigger the intelligent device in the target intelligent device set which receives the sub-communication message to forward the sub-communication message received by the intelligent device to the target intelligent device.
As an alternative embodiment, in the first aspect of the present invention, the method further includes:
when judging that the target communication message does not have a corresponding forwarding requirement, the local gateway judges whether other communication messages to be sent exist besides the target communication message;
when judging that the communication message to be sent exists besides the target communication message, the local gateway determines intelligent equipment which needs to receive the communication message to be sent;
the local gateway screens at least one intelligent device set comprising intelligent devices which need to receive the communication message to be sent from all the intelligent device sets as a target intelligent device set for forwarding the target communication message;
the local gateway sending the target communication message to the intelligent devices in the target intelligent device set to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent device, including:
the local gateway sends the target communication message and the communication message to be sent to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent device and forward the message to be sent to the intelligent devices which need to receive the communication message to be sent.
The second aspect of the present invention discloses a communication control device of an intelligent device, the device is applied to a local gateway, at least two intelligent devices are provided in an application scenario where the local gateway is located, the device includes:
the determining module is used for determining target intelligent equipment which needs to receive the target communication message from all the intelligent equipment when any target communication message is received;
the judging module is used for judging whether the target intelligent equipment meets corresponding preset normal communication conditions or not;
the selection module is used for selecting a target intelligent device set for forwarding the target communication message from the rest intelligent devices in the application scene when the judgment module judges that the target intelligent device does not meet the preset normal communication condition, wherein the target intelligent device set comprises at least one intelligent device;
and the communication module is used for sending the target communication message to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent devices.
In a second aspect of the present invention, as an optional implementation manner, the specific manner of determining, by the determining module, whether the target smart device meets the corresponding preset normal communication condition includes:
Judging whether the distance value of the target intelligent equipment from the local gateway is larger than or equal to a preset distance threshold value; when the distance value is judged to be greater than or equal to the preset distance threshold value, determining that the target intelligent equipment does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
judging whether the current signal intensity value between the local gateway and the target intelligent device is smaller than or equal to a preset signal intensity threshold value; when the current signal strength value is judged to be smaller than or equal to the preset signal strength threshold value, determining that the target intelligent equipment does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
judging whether the target intelligent equipment is currently in a preset position area range or not; and when the target intelligent equipment is judged to be currently in the preset position area range, determining that the target intelligent equipment does not meet the corresponding preset normal communication conditions.
In a second aspect of the present invention, as an optional implementation manner, the specific manner of determining, by the determining module, whether the target smart device meets the corresponding preset normal communication condition includes:
sending a detection instruction to the target intelligent equipment, and judging whether a detection response fed back by the target intelligent equipment aiming at the detection instruction is received or not;
And when the detection response is not received, determining that the target intelligent equipment does not meet the corresponding preset normal communication condition.
In a second aspect of the present invention, as an optional implementation manner, the selecting module includes:
a determining submodule, configured to determine, when the determining module determines that the target intelligent device does not meet the preset normal communication condition, a plurality of intelligent device sets capable of forwarding the target communication message from remaining intelligent devices in the application scenario, where each intelligent device set includes at least one intelligent device;
the determining submodule is further used for determining set parameters corresponding to each intelligent device set;
a selecting sub-module, configured to select at least one intelligent device set from all the intelligent device sets according to set parameters corresponding to each intelligent device set, as a target intelligent device set for forwarding the target communication message;
the set parameters corresponding to each intelligent device set comprise a transmission distance corresponding to each intelligent device set and/or a current message transmission task quantity corresponding to each intelligent device set.
In a second aspect of the present invention, as an optional implementation manner, the determining submodule is further configured to determine a first attribute parameter corresponding to the target communication message after determining, from remaining intelligent devices in the application scenario, a plurality of intelligent device sets capable of forwarding the target communication message;
and, the selection module further comprises:
the judging submodule is used for judging whether the target communication message has a corresponding forwarding requirement or not according to the first attribute parameter; when judging that the target communication message has a corresponding forwarding requirement, triggering the determining submodule to execute the operation of determining the set parameters corresponding to each intelligent equipment set;
the selecting sub-module selects at least one intelligent device set from all the intelligent device sets according to the set parameters corresponding to each intelligent device set, and the specific mode of the selecting sub-module serving as a target intelligent device set for forwarding the target communication message comprises the following steps:
determining forwarding requirement information corresponding to the target communication message according to a second attribute parameter corresponding to the target communication message;
calculating the matching degree of each intelligent device set and the forwarding requirement information corresponding to the target communication message according to the set parameters corresponding to each intelligent device set and the forwarding requirement information corresponding to the target communication message to obtain a matching degree set;
And selecting all target matching degrees with matching degrees meeting preset matching conditions from the matching degree sets, and determining all intelligent device sets corresponding to the target matching degrees as target intelligent device sets for forwarding the target communication message.
In a second aspect of the present invention, as an optional implementation manner, the specific manner in which the communication module sends the target communication message to the intelligent devices in the target intelligent device set to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent device includes:
dividing the target communication message into a plurality of sub communication messages when the number of the target intelligent device sets is more than or equal to 2, wherein the number of all the sub communication messages is less than or equal to the number of all the target intelligent device sets;
for each sub-communication message, the sub-communication message is sent to one of the target intelligent device sets, so that the intelligent devices in the target intelligent device set which receive the sub-communication message are triggered to forward the sub-communication message received by the intelligent devices to the target intelligent devices.
In the second aspect of the present invention, as an optional implementation manner, the determining submodule is further configured to determine, when it is determined that the target communication message does not have a corresponding forwarding requirement, whether there are other communication messages to be sent in addition to the target communication message;
the determining submodule is further used for determining intelligent equipment which needs to receive the communication message to be sent when the judging submodule judges that the communication message to be sent exists besides the target communication message;
the selecting submodule is further used for screening at least one intelligent device set comprising intelligent devices needing to receive the communication message to be sent from all the intelligent device sets, and the intelligent device set is used as a target intelligent device set for forwarding the target communication message;
the specific mode that the communication module sends the target communication message to the intelligent devices in the target intelligent device set to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent devices includes:
and sending the target communication message and the communication message to be sent to intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent device and forward the message to be sent to the intelligent devices needing to receive the communication message to be sent.
The third aspect of the present invention discloses a communication control device of another intelligent device, the device is applied to a local gateway, at least two intelligent devices are provided in an application scenario where the local gateway is located, and the device includes:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to execute part or all of the steps in any one of the communication control methods of the intelligent device disclosed in the first aspect of the present invention.
A fourth aspect of the present invention discloses a computer storage medium storing computer instructions for executing part or all of the steps in the communication control method of any one of the smart devices disclosed in the first aspect of the present invention when the computer instructions are called.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the method is applied to an application scene comprising a local gateway and at least two intelligent devices, and specifically comprises the following steps: when receiving the target communication message, the local gateway determines target intelligent equipment which needs to receive the target communication message from all intelligent equipment and judges whether the target intelligent equipment meets corresponding preset normal communication conditions; and when the judging result is negative, the local gateway selects a target intelligent device set for forwarding the target communication message from the rest intelligent devices in the application scene and sends the target communication message to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the determined target intelligent devices. Therefore, when the local gateway cannot directly communicate with the intelligent device, the communication information can be forwarded to the corresponding intelligent device through other intelligent devices, so that the communication reliability between the local gateway and the intelligent device is improved, the use experience of a user is improved, and further the user viscosity is improved. In addition, the remote transmission of the communication message can be realized through the transfer of the intelligent equipment in the application scene.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a communication control method of an intelligent device according to an embodiment of the present invention;
fig. 2 is a flow chart of another communication control method of an intelligent device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a communication control device of an intelligent device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a communication control device of another intelligent device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication control device of another intelligent device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or article that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or article.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The invention discloses a communication control method and a device of intelligent equipment, which are suitable for application scenes (such as family scenes) with a local gateway and at least two intelligent equipment, related personnel can send communication information (such as control instructions) to any intelligent equipment through corresponding user terminals (such as mobile phones), the local gateway sends the communication information to the intelligent equipment when receiving the communication information, and if the local gateway cannot reliably communicate with the intelligent equipment, the local gateway can forward the communication information to a receiving object of the communication information through other intelligent equipment, namely: according to the invention, when the local gateway cannot directly communicate with the intelligent device, the communication information can be forwarded to the corresponding intelligent device through other intelligent devices, so that the communication reliability between the local gateway and the intelligent device is improved, the use experience of a user is improved, and further the user viscosity is improved. In addition, the remote transmission of the communication message can be realized through the transfer of the intelligent equipment in the application scene. The following will describe in detail.
Example one (method side example)
Referring to fig. 1, fig. 1 is a flow chart of a communication control method of an intelligent device according to an embodiment of the invention. The method described in fig. 1 is applied to an application scenario including a local gateway and at least two intelligent devices, and the method is specifically applied to the local gateway of the application scenario, and optionally, the application scenario may be a home scenario, and the intelligent devices in the home scenario may be intelligent home appliances. As shown in fig. 1, the method may include the following operations:
101. when any target communication message is received, the local gateway determines the target intelligent device which needs to receive the target communication message from all intelligent devices.
In the embodiment of the invention, the target communication message can be an instruction type communication message or a non-instruction type communication message. For example, in a home scenario, the target communication message may be a refrigeration temperature adjustment instruction for the intelligent refrigerator, or may be a prompt content that needs to be output by the intelligent refrigerator.
102. The local gateway judges whether the target intelligent equipment meets the corresponding preset normal communication conditions, and when the judging result of the step 102 is negative, the step 103 can be triggered and executed; and when the judgment result of the step 102 is yes, the local gateway directly sends the target communication message to the target intelligent equipment.
It should be noted that, in other alternative embodiments, when the determination result of step 102 is yes, and before the target communication message is sent to the target smart device, the local gateway may also perform the following operations:
the local gateway judges whether other communication messages to be sent exist or not; when the judgment result is negative, executing the operation of sending the target communication message to the target intelligent equipment;
and when the judgment result is yes, the local gateway judges whether forwarding paths of other communication messages to be sent are determined, when the forwarding paths are determined, the intelligent equipment (also can be understood as transit intelligent equipment) corresponding to the forwarding paths is judged whether the target intelligent equipment is included, and when the target intelligent equipment is judged to be included, the target communication messages and the other communication messages to be sent are sent to the target intelligent equipment.
After the target intelligent device receives the target communication message and the other communication messages to be sent, the other communication messages to be sent are sent to the receiving objects of the other communication messages to be sent.
It can be seen that, in this other optional embodiment, before the target communication message is directly sent to the target intelligent device, if it is determined that there are other communication messages to be sent and the forwarding path includes the target intelligent device, the target communication message is sent, and meanwhile, the other communication messages to be sent are sent together, which is beneficial to improving the utilization rate of communication resources.
As an optional implementation manner, the determining, by the local gateway, whether the target smart device meets the corresponding preset normal communication condition may include:
the local gateway judges whether the distance value between the target intelligent device and the local gateway is larger than or equal to a preset distance threshold value;
when the distance value is judged to be greater than or equal to the preset distance threshold value, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
the local gateway judges whether the current signal strength value between the local gateway and the target intelligent device is smaller than or equal to a preset signal strength threshold value;
when the current signal strength value is judged to be smaller than or equal to the preset signal strength threshold value, the local gateway determines that the target intelligent equipment does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
the local gateway judges whether the target intelligent equipment is currently in a preset position area range or not;
when the target intelligent device is judged to be currently in the preset position area range, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication conditions.
Optionally, the range of the preset location area is determined according to the historical communication condition between the local gateway and each intelligent device, and further, the preset location area is determined according to the intelligent device with higher communication failure frequency with the local gateway.
Therefore, the optional implementation manner provides diversified judging modes, and the judging basis can be a distance value, a signal intensity value or a position area where the signal intensity value is located, so that the judgment can be obtained relatively quickly, and the judgment efficiency is improved.
As an optional implementation manner, the determining, by the local gateway, whether the target smart device meets the corresponding preset normal communication condition may include:
the local gateway sends a detection instruction to the target intelligent equipment and judges whether a detection response fed back by the target intelligent equipment aiming at the detection instruction is received or not;
and when judging that the detection response is not received, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication condition.
Preferably, the probe instruction may include the target communication message, so that it is unnecessary to separately transmit the target communication message after receiving the probe response.
Therefore, according to the alternative implementation mode, when the communication message needs to be sent, whether the intelligent device meets the preset normal condition can be determined in time by sending the detection instruction and judging whether the detection response is received, so that the accuracy of the judging result is improved.
103. And when the target intelligent equipment is judged not to meet the preset normal communication condition, the local gateway selects a target intelligent equipment set for forwarding the target communication message from the rest intelligent equipment of the application scene.
In the embodiment of the invention, the target intelligent device set can be understood as a forwarding path of the target communication message, and the intelligent device on the forwarding path can be understood as a message transfer device. Optionally, there may be one or more target smart device sets selected for forwarding the target communication message, and the number of smart devices included in each target smart device set may be one or more, which is not limited by the embodiment of the present invention.
In this application scenario, the number of the set of intelligent devices capable of forwarding the target communication message may be one or more. When only one intelligent device set can forward the target communication message, the intelligent device set is the target intelligent device set selected by the local gateway; when the set of smart devices capable of forwarding the target communication message exceeds 2, the local gateway may select a set of target smart devices for forwarding the target communication message from all the set of smart devices capable of forwarding the target communication message. For example: when the determined transmission distances corresponding to all the intelligent device sets are not different, at least one intelligent device set with a smaller current message transmission task amount can be selected from all the intelligent device sets so as to improve the transmission efficiency, or a plurality of intelligent device sets can be selected according to the message amount of the communication message.
It should be further noted that, if there are multiple target smart device sets that are finally selected and used for forwarding the target communication message, the local gateway may divide the target communication message into multiple sub-communication messages, and then each sub-communication message divided into multiple sub-communication messages is forwarded by one of the target smart device sets, that is: one target intelligent device set forwards one sub-communication message, so that the forwarding task amount of each target intelligent device set is reduced, and the forwarding reliability and the forwarding efficiency are improved.
104. The local gateway sends the target communication message to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent devices.
In an alternative embodiment, the selecting, by the local gateway, a target smart device set for forwarding the target communication message from the remaining smart devices of the application scenario may include:
if the local gateway receives other communication messages in addition to the target communication message and the smart device that needs to receive the other communication message is able to directly communicate with the local gateway, the local gateway may directly determine the smart device that needs to receive the other communication message as the smart device for forwarding the target communication message.
In this alternative embodiment, the local gateway sends the target communication message to the smart devices in the target smart device set to trigger the smart devices in the target smart device set to forward the target communication message to the target smart device, which may include:
the local gateway sends the target communication message and the other communication message to the intelligent device which needs to receive the other communication message, and the intelligent device receives the target communication message and the other communication message and forwards the target communication message to the target intelligent device.
Therefore, according to the alternative embodiment, the message transfer equipment can be intelligently determined according to other communication messages and the communication conditions of the intelligent equipment which needs to receive the other communication messages and the local gateway, so that the efficiency of the determined message transfer equipment is improved, the communication resources of the intelligent equipment which can normally communicate with the local gateway and needs to communicate with the local gateway can be reasonably utilized, and the utilization rate of the communication resources is improved.
Taking a home scenario with multiple intelligent home devices as an example for explanation, when the local gateway receives two control instructions sent from a remote server or a user mobile phone control end, the local gateway determines the object-oriented of each control instruction respectively, that is: the intelligent home appliance comprises a first intelligent home appliance which needs to receive a first control instruction and a second intelligent home appliance which needs to receive a second control instruction, and the intelligent home appliance is used for respectively sending each control instruction to the intelligent home appliance which needs to receive the control instruction and waiting for a feedback message of the intelligent home appliance. When the feedback message of the first intelligent home appliance is received but the feedback message of the second intelligent home appliance is not received, the local gateway can use the first intelligent home appliance as a transfer device of the second control instruction, namely: the local gateway sends the second control instruction to the first intelligent household appliance, and the first intelligent household appliance forwards the second control instruction to the second intelligent household appliance. Preferably, the local gateway may send the first control instruction and the second control instruction to the first intelligent home device at the same time.
Therefore, when the local gateway cannot directly communicate with the intelligent device, the communication information can be forwarded to the corresponding intelligent device through other intelligent devices by implementing the method described by the embodiment of the invention, so that the communication reliability between the local gateway and the intelligent device is improved, the use experience of a user is improved, and further the user viscosity is improved. In addition, the remote transmission of the communication message can be realized through the transfer of the intelligent equipment in the application scene.
Example two (method side example)
Referring to fig. 2, fig. 2 is a flow chart of another communication control method of an intelligent device according to an embodiment of the invention. The method described in fig. 2 is applied to an application scenario including a local gateway and at least two intelligent devices, and the method is specifically applied to the local gateway of the application scenario, and optionally, the application scenario may be a home scenario, and the intelligent devices in the home scenario may be intelligent home appliances. As shown in fig. 2, the method may include the following operations:
201. when any target communication message is received, the local gateway determines the target intelligent device which needs to receive the target communication message from all intelligent devices.
202. The local gateway judges whether the target intelligent equipment meets the corresponding preset normal communication conditions, and when the judging result of the step 202 is yes, the step 202 can be triggered to be executed; when the result of the determination in step 202 is no, execution of step 204 may be triggered.
In the embodiment of the present invention, for other detailed descriptions of step 201 to step 202, please refer to the related descriptions of step 101 to step 102 in the first embodiment, and the detailed description of the embodiment of the present invention is omitted.
203. The local gateway directly sends the target communication message to the target intelligent device.
204. The local gateway determines a plurality of intelligent device sets capable of forwarding the target communication message from the remaining intelligent devices of the application scenario.
Wherein each smart device set includes at least one smart device.
205. The local gateway determines a first attribute parameter corresponding to the target communication message, judges whether the target communication message has a corresponding forwarding requirement according to the first attribute parameter, and triggers execution of step 206 when the judgment result of step 205 is yes; when the result of the determination in step 205 is no, execution of step 207 is triggered.
In the embodiment of the present invention, the first attribute parameter may include one or more combinations of a message type of the target communication message, a message content of the target communication message, an object-oriented identifier of the target communication message (an equipment identifier of the target intelligent device) and a trigger object identifier of the target communication message.
206. The local gateway determines set parameters corresponding to each set of intelligent devices, and selects at least one set of intelligent devices from all sets of intelligent devices according to the set parameters corresponding to each set of intelligent devices, and uses the set parameters as a target set of intelligent devices for forwarding the target communication message, and triggers execution of step 210.
The set parameters corresponding to each intelligent device set comprise a transmission distance corresponding to each intelligent device set and/or a current message transmission task quantity corresponding to each intelligent device set.
As an optional implementation manner, the local gateway selects at least one smart device set from all the smart device sets according to the set parameters corresponding to each smart device set, and the selected smart device set is used as a target smart device set for forwarding the target communication message, and may include:
the local gateway determines forwarding requirement information corresponding to the target communication message according to the second attribute parameter corresponding to the target communication message;
the local gateway calculates the matching degree of the forwarding requirement information corresponding to the target communication message and each intelligent device set according to the set parameters corresponding to each intelligent device set and the forwarding requirement information corresponding to the target communication message to obtain a matching degree set;
The local gateway selects all target matching degrees with matching degrees meeting preset matching conditions from the matching degree sets, and determines the intelligent device set corresponding to all target matching degrees as a target intelligent device set for forwarding the target communication message.
Optionally, the second attribute parameter corresponding to the target communication message may include one or more of a message type of the target communication message, a message content of the target communication message, an object-oriented identifier of the target communication message (an identifier of a device of the target smart device), a trigger object identifier of the target communication message, an emergency degree of the target communication message, a priority of the target communication message, and so on.
207. The local gateway judges whether other communication messages to be sent exist besides the target communication message, and when the judging result is yes, the local gateway triggers the execution of step 208; when the determination result is no, execution of step 209 is triggered.
208. The local gateway determines that a smart device is required to receive the communication message to be sent, screens at least one smart device set including the smart device required to receive the communication message to be sent from all the smart device sets as a target smart device set for forwarding the target communication message, and triggers execution of step 210.
209. The local gateway randomly selects at least one smart device set from the determined all smart device sets as a target smart device set for forwarding the target communication message and triggers execution of step 210.
210. The local gateway sends the target communication message to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent devices.
It should be noted that, in the branching scheme in which step 210 is performed after step 208 is performed, the sending, by the local gateway, the target communication message to the intelligent devices in the target intelligent device set to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent device may include:
the local gateway sends the target communication message and the communication message to be sent to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent devices and forward the message to be sent to the intelligent devices needing to receive the communication message to be sent. Therefore, under the condition that the forwarding requirement of the target communication message does not exist, at least one intelligent device set comprising intelligent devices needing to receive the communication message to be sent is selected, and the mode of serving as the target intelligent device set for forwarding the target communication message can avoid selecting corresponding intelligent device sets for other communication messages to be sent independently on the premise of ensuring that forwarding of the target communication message is not influenced, so that the utilization rate of communication resources of the target intelligent device set is improved, and the forwarding efficiency of other communication messages to be sent can also be improved.
Therefore, under the condition that the local gateway and the intelligent device which needs to receive the communication message cannot directly communicate, the intelligent device set which is actually used for forwarding the communication message can be intelligently selected according to the relevant conditions of the communication message, the relevant conditions of the intelligent device set which can forward the communication message and the relevant conditions of other communication messages to be sent, a diversified intelligent device set selection mode is provided, and the application scene of the method described by the embodiment of the invention is favorably expanded. In addition, the matching degree of the selected intelligent device set actually used for forwarding the communication message and the forwarding requirement can be improved when the forwarding requirement exists, and the corresponding intelligent device set can be selected for other communication messages to be sent without being independently selected on the premise of ensuring that the forwarding of the communication message is not influenced, so that the utilization rate of communication resources of the selected intelligent device set is improved, and the forwarding efficiency of other communication messages to be sent can be improved.
In an alternative embodiment, the local gateway sends the target communication message to the intelligent devices in the target intelligent device set, so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent device, which may include:
When the number of the target intelligent device sets is more than or equal to 2, the local gateway divides the target communication message into a plurality of sub communication messages, wherein the number of all the sub communication messages is less than or equal to the number of all the target intelligent device sets;
for each sub-communication message, the local gateway sends the sub-communication message to one of the target intelligent device sets to trigger the intelligent devices in the target intelligent device set which receive the sub-communication message to forward the sub-communication message received by the intelligent devices to the target intelligent device.
Therefore, when the plurality of intelligent device sets are selected to forward the communication message, the communication message can be divided into sub-communication messages and respectively sent to the intelligent device sets, so that the forwarding task amount of each selected intelligent device set can be reduced, and further the forwarding reliability and forwarding efficiency can be improved.
Example III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a communication control device of an intelligent device according to an embodiment of the present invention. The device described in fig. 3 is applied to a local gateway, and at least two intelligent devices are arranged in an application scene where the local gateway is located, alternatively, the application scene where the local gateway is located may be a home scene, and the intelligent devices arranged in the application scene may be intelligent home appliances. As shown in fig. 3, the apparatus may include:
A determining module 301, configured to determine, when any target communication message is received, a target smart device that needs to receive the target communication message from all smart devices;
a judging module 302, configured to judge whether the target intelligent device meets a corresponding preset normal communication condition;
a selecting module 303, configured to select, when the judging module 302 judges that the target smart device does not meet a preset normal communication condition, a target smart device set for forwarding the target communication message from remaining smart devices in the application scenario, where the target smart device set includes at least one smart device;
the communication module 304 is configured to send the target communication message to the intelligent devices in the target intelligent device set, so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent devices.
Therefore, when the device described in fig. 3 is implemented, the communication message can be forwarded to the corresponding intelligent device through other intelligent devices when the local gateway cannot directly communicate with the intelligent device, so that the communication reliability between the local gateway and the intelligent device is improved, the use experience of a user is improved, and further the user viscosity is improved. In addition, the remote transmission of the communication message can be realized through the transfer of the intelligent equipment in the application scene.
In an alternative embodiment, the specific manner of determining, by the determining module 302, whether the target smart device meets the corresponding preset normal communication condition may include:
judging whether the distance value of the target intelligent equipment from the local gateway is larger than or equal to a preset distance threshold value; when the distance value is judged to be greater than or equal to the preset distance threshold value, determining that the target intelligent equipment does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
judging whether the current signal intensity value between the local gateway and the target intelligent equipment is smaller than or equal to a preset signal intensity threshold value or not; when the current signal strength value is judged to be smaller than or equal to the preset signal strength threshold value, determining that the target intelligent equipment does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
judging whether the target intelligent equipment is currently in a preset position area range or not; and when the target intelligent device is judged to be currently in the range of the preset position area, determining that the target intelligent device does not meet the corresponding preset normal communication condition.
Therefore, the optional embodiment provides diversified judging modes, and the judging basis can be a distance value, a signal intensity value or a position area where the signal intensity value is located, so that the judgment can be obtained relatively quickly, and the judgment efficiency is improved.
In another alternative embodiment, the specific manner of determining, by the determining module 302, whether the target smart device meets the corresponding preset normal communication condition may include:
sending a detection instruction to the target intelligent equipment, and judging whether a detection response fed back by the target intelligent equipment aiming at the detection instruction is received or not;
and when judging that the detection response is not received, determining that the target intelligent equipment does not meet the corresponding preset normal communication condition.
Therefore, when the communication message needs to be sent, the optional embodiment can intelligently judge whether the local gateway and the intelligent device which needs to receive the communication message can normally communicate by sending the detection instruction and judging whether the detection response corresponding to the detection instruction is received, so that the instantaneity and the accuracy of the judgment result are improved, and the accuracy of the determined communication mode is further improved.
In yet another alternative embodiment, as shown in fig. 4, the selecting module 303 may include:
a determining submodule 3031, configured to determine, when the determining module 302 determines that the target intelligent device does not meet a preset normal communication condition, a plurality of intelligent device sets capable of forwarding the target communication message from remaining intelligent devices in the application scenario, where each intelligent device set includes at least one intelligent device;
The determining submodule 3031 is further used for determining set parameters corresponding to each intelligent device set;
and the selection submodule 3032 is used for selecting at least one intelligent device set from all intelligent device sets according to the set parameters corresponding to each intelligent device set as a target intelligent device set for forwarding the target communication message.
The set parameters corresponding to each intelligent device set comprise a transmission distance corresponding to each intelligent device set and/or a current message transmission task quantity corresponding to each intelligent device set.
Further optionally, the determining submodule 3031 is further configured to determine, after determining, from the remaining smart devices in the application scenario, a plurality of smart device sets capable of forwarding the target communication message, a first attribute parameter corresponding to the target communication message. Wherein, as shown in fig. 4, the selection module 303 may further include:
a judging submodule 3033, configured to judge whether a corresponding forwarding requirement exists in the target communication message according to the first attribute parameter; when it is determined that the target communication message has a corresponding forwarding requirement, the trigger determining sub-module 3031 executes the above operation of determining the set parameter corresponding to each smart device set.
The selecting sub-module 3032 selects at least one smart device set from all the smart device sets according to the set parameters corresponding to each smart device set, and the specific manner of using the at least one smart device set as the target smart device set for forwarding the target communication message includes:
determining forwarding requirement information corresponding to the target communication message according to the second attribute parameter corresponding to the target communication message;
calculating the matching degree of the forwarding requirement information corresponding to the target communication message and each intelligent device set according to the set parameters corresponding to each intelligent device set and the forwarding requirement information corresponding to the target communication message to obtain a matching degree set;
and selecting all target matching degrees with matching degrees meeting preset matching conditions from the matching degree sets, and determining the intelligent device set corresponding to all target matching degrees as a target intelligent device set for forwarding the target communication message.
Still further optionally, the judging submodule 3033 may be further configured to, when it is judged that the target communication message does not have a corresponding forwarding requirement, judge whether there are other communication messages to be sent in addition to the target communication message;
the determining submodule 3031 is further configured to determine an intelligent device that needs to receive the communication message to be sent when the determining submodule 3033 determines that the communication message to be sent exists in addition to the target communication message;
The selection submodule 3032 is further configured to screen at least one set of smart devices including smart devices that need to receive the communication message to be sent from all the sets of smart devices as a set of target smart devices for forwarding the target communication message.
The specific manner in which the communication module 303 sends the target communication message to the intelligent devices in the target intelligent device set to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent device includes:
the method comprises the steps of sending target communication information and communication information to be sent to intelligent devices in a target intelligent device set, and triggering the intelligent devices in the target intelligent device set to forward the target communication information to the target intelligent devices and forward the communication information to be sent to the intelligent devices needing to receive the communication information to be sent.
Therefore, in the optional embodiment, under the condition that the local gateway and the intelligent device which needs to receive the communication message cannot directly communicate, the intelligent device set which is actually used for forwarding the communication message can be intelligently selected according to the relevant condition of the communication message, the relevant condition of the intelligent device set which can forward the communication message and other relevant conditions of the communication message to be sent, a diversified intelligent device set selection mode is provided, and the application scene of the method described by the embodiment of the invention is favorably expanded. In addition, the matching degree of the selected intelligent device set actually used for forwarding the communication message and the forwarding requirement can be improved when the forwarding requirement exists, and the corresponding intelligent device set can be selected for other communication messages to be sent without being independently selected on the premise of ensuring that the forwarding of the communication message is not influenced, so that the utilization rate of communication resources of the selected intelligent device set is improved, and the forwarding efficiency of other communication messages to be sent can be improved.
In yet another alternative embodiment, the specific manner in which the communication module 304 sends the target communication message to the smart devices in the target smart device set to trigger the smart devices in the target smart device set to forward the target communication message to the target smart device includes:
when the number of the target intelligent device sets is more than or equal to 2, dividing the target communication message into a plurality of sub communication messages, wherein the number of all the sub communication messages is less than or equal to the number of all the target intelligent device sets;
for each sub-communication message, the sub-communication message is sent to one of the target intelligent device sets to trigger the intelligent device in the target intelligent device set that receives the sub-communication message to forward the sub-communication message received by the intelligent device to the target intelligent device.
Therefore, when the plurality of intelligent device sets are selected to forward the communication message, the communication message can be divided into sub-communication messages and respectively sent to the intelligent device sets, so that the forwarding task amount of each selected intelligent device set can be reduced, and further the forwarding reliability and forwarding efficiency can be improved.
Example IV
Referring to fig. 5, fig. 5 is a schematic structural diagram of a communication control device of another intelligent device according to an embodiment of the present invention. The device described in fig. 5 is applied to a local gateway, and at least two intelligent devices are arranged in an application scene where the local gateway is located, alternatively, the application scene where the local gateway is located may be a home scene, and the intelligent devices arranged in the application scene may be intelligent home appliances. As shown in fig. 5, the apparatus may include:
A memory 401 storing executable program codes;
a processor 402 coupled with the memory 401;
the processor 402 invokes executable program codes stored in the memory 402 to perform the steps in the communication control method of the smart device disclosed in the first or second embodiment of the present invention.
Example five
The embodiment of the invention discloses a computer storage medium which stores computer instructions for executing steps in the communication control method of the intelligent device disclosed in the first or second embodiment of the invention when the computer instructions are called.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product that may be stored in a computer-readable storage medium including Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium that can be used for computer-readable carrying or storing data.
Finally, it should be noted that: the disclosed communication control method and device for intelligent equipment are only preferred embodiments of the invention, and are only used for illustrating the technical scheme of the invention, but not limiting the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. The communication control method of the intelligent equipment is characterized by being applied to an application scene comprising a local gateway and at least two intelligent equipment, and comprises the following steps:
when any target communication message is received, the local gateway determines target intelligent equipment which needs to receive the target communication message from all the intelligent equipment;
the local gateway judges whether the target intelligent equipment meets corresponding preset normal communication conditions or not;
when the target intelligent device is judged not to meet the preset normal communication condition, the local gateway selects a target intelligent device set for forwarding the target communication message from the rest intelligent devices in the application scene, wherein the target intelligent device set comprises at least one intelligent device;
When the number of the target intelligent device sets is greater than or equal to 2, the local gateway divides the target communication message into a plurality of sub communication messages;
for each sub-communication message, the local gateway sends the sub-communication message to one of the target intelligent device sets to trigger an intelligent device in the target intelligent device set which receives the sub-communication message to forward the sub-communication message received by the intelligent device to the target intelligent device, wherein one target intelligent device set forwards one sub-communication message;
the local gateway selects a target intelligent device set for forwarding the target communication message from the rest intelligent devices in the application scene, and the method comprises the following steps:
the local gateway determines a plurality of intelligent device sets capable of forwarding the target communication message from the rest intelligent devices in the application scene, wherein each intelligent device set comprises at least one intelligent device;
the local gateway determines set parameters corresponding to each intelligent device set, and selects at least one intelligent device set from all intelligent device sets according to the set parameters corresponding to each intelligent device set to serve as a target intelligent device set for forwarding the target communication message;
After the local gateway determines a plurality of intelligent device sets capable of forwarding the target communication message from the rest intelligent devices in the application scene, the method further comprises:
the local gateway determines a first attribute parameter corresponding to the target communication message and judges whether the target communication message has a corresponding forwarding requirement according to the first attribute parameter; when judging that the target communication message has a corresponding forwarding requirement, triggering and executing the operation of determining the set parameters corresponding to each intelligent equipment set;
when judging that the target communication message does not have a corresponding forwarding requirement, the local gateway judges whether other communication messages to be sent exist besides the target communication message;
when judging that the communication message to be sent exists besides the target communication message, the local gateway determines intelligent equipment which needs to receive the communication message to be sent;
the local gateway screens at least one intelligent device set comprising intelligent devices which need to receive the communication message to be sent from all the intelligent device sets as a target intelligent device set for forwarding the target communication message.
2. The communication control method of an intelligent device according to claim 1, wherein the local gateway determining whether the target intelligent device meets a corresponding preset normal communication condition includes:
the local gateway judges whether the distance value between the target intelligent device and the local gateway is larger than or equal to a preset distance threshold value;
when the distance value is judged to be larger than or equal to the preset distance threshold value, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
the local gateway judges whether the current signal intensity value between the local gateway and the target intelligent device is smaller than or equal to a preset signal intensity threshold value;
when the current signal strength value is judged to be smaller than or equal to the preset signal strength threshold value, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication condition; or alternatively, the process may be performed,
the local gateway judges whether the target intelligent equipment is currently in a preset position area range or not;
when the target intelligent device is judged to be currently in the preset position area range, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication conditions.
3. The communication control method of an intelligent device according to claim 1, wherein the local gateway determining whether the target intelligent device meets a corresponding preset normal communication condition includes:
the local gateway sends a detection instruction to the target intelligent device and judges whether a detection response fed back by the target intelligent device aiming at the detection instruction is received or not;
and when judging that the detection response is not received, the local gateway determines that the target intelligent device does not meet the corresponding preset normal communication condition.
4. A communication control method of an intelligent device according to any one of claims 1 to 3, wherein the set parameters corresponding to each of the intelligent device sets include a transmission distance corresponding to each of the intelligent device sets and/or a current message transmission task amount corresponding to each of the intelligent device sets.
5. The communication control method of intelligent devices according to claim 4, wherein the local gateway selects at least one intelligent device set from all the intelligent device sets as a target intelligent device set for forwarding the target communication message according to a set parameter corresponding to each of the intelligent device sets, comprising:
The local gateway determines forwarding requirement information corresponding to the target communication message according to the second attribute parameter corresponding to the target communication message;
the local gateway calculates the matching degree of the forwarding requirement information corresponding to the target communication message and each intelligent device set according to the set parameters corresponding to each intelligent device set and the forwarding requirement information corresponding to the target communication message to obtain a matching degree set;
and the local gateway selects all target matching degrees with matching degrees meeting preset matching conditions from the matching degree sets, and determines all intelligent device sets corresponding to the target matching degrees as target intelligent device sets for forwarding the target communication message.
6. The communication control method of the intelligent device according to claim 5, wherein the number of all the sub-communication messages is equal to or less than the number of all the target intelligent device sets.
7. The communication control method of a smart device according to claim 5 or 6, wherein the local gateway sending the target communication message to a smart device in the target smart device set to trigger the smart device in the target smart device set to forward the target communication message to the target smart device, includes:
The local gateway sends the target communication message and the communication message to be sent to the intelligent devices in the target intelligent device set so as to trigger the intelligent devices in the target intelligent device set to forward the target communication message to the target intelligent device and forward the communication message to be sent to the intelligent devices which need to receive the communication message to be sent.
8. The utility model provides a communication control device of smart machine, its characterized in that, the device is applied to in the local gateway, be provided with two at least smart machines in the application scenario that local gateway was located, the device includes:
the determining module is used for determining target intelligent equipment which needs to receive the target communication message from all the intelligent equipment when any target communication message is received;
the judging module is used for judging whether the target intelligent equipment meets corresponding preset normal communication conditions or not;
the selection module is used for selecting a target intelligent device set for forwarding the target communication message from the rest intelligent devices in the application scene when the judgment module judges that the target intelligent device does not meet the preset normal communication condition, wherein the target intelligent device set comprises at least one intelligent device;
The communication module is used for dividing the target communication message into a plurality of sub communication messages when the number of the target intelligent device sets is more than or equal to 2; for each sub-communication message, the local gateway sends the sub-communication message to one of the target intelligent device sets to trigger an intelligent device in the target intelligent device set which receives the sub-communication message to forward the sub-communication message received by the intelligent device to the target intelligent device, wherein one target intelligent device set forwards one sub-communication message;
the selection module comprises: the determining submodule is used for determining a plurality of intelligent device sets capable of forwarding the target communication message from the rest intelligent devices in the application scene when the judging module judges that the target intelligent device does not meet the preset normal communication condition, wherein each intelligent device set comprises at least one intelligent device;
the determining submodule is also used for determining set parameters corresponding to each intelligent equipment set;
the selecting sub-module is used for selecting at least one intelligent device set from all intelligent device sets according to set parameters corresponding to each intelligent device set to serve as a target intelligent device set for forwarding target communication messages;
The determining submodule is further used for determining a first attribute parameter corresponding to the target communication message after determining a plurality of intelligent device sets capable of forwarding the target communication message from the rest intelligent devices in the application scene;
wherein the selection module further comprises:
the judging sub-module is used for judging whether the target communication message has a corresponding forwarding requirement according to the first attribute parameter; when judging that the corresponding forwarding requirement exists in the target communication message, triggering a determining submodule to execute the operation of determining the set parameters corresponding to each intelligent equipment set;
the judging sub-module is further used for judging whether other communication messages to be sent exist besides the target communication message or not when judging that the corresponding forwarding requirement does not exist in the target communication message;
the determining submodule is further used for determining intelligent equipment which needs to receive the communication message to be sent when the judging submodule judges that the communication message to be sent exists besides the target communication message;
the selecting sub-module is further used for screening at least one intelligent device set comprising intelligent devices needing to receive the communication message to be sent from all intelligent device sets as a target intelligent device set for forwarding the target communication message.
9. The utility model provides a communication control device of smart machine, its characterized in that, the device is applied to in the local gateway, be provided with two at least smart machines in the application scenario that local gateway was located, the device includes:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the communication control method of the smart device of any one of claims 1-7.
10. A computer storage medium storing computer instructions which, when invoked, are adapted to perform the communication control method of the smart device of any one of claims 1-7.
CN202110653320.7A 2021-06-11 2021-06-11 Communication control method and device of intelligent equipment Active CN113433852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110653320.7A CN113433852B (en) 2021-06-11 2021-06-11 Communication control method and device of intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110653320.7A CN113433852B (en) 2021-06-11 2021-06-11 Communication control method and device of intelligent equipment

Publications (2)

Publication Number Publication Date
CN113433852A CN113433852A (en) 2021-09-24
CN113433852B true CN113433852B (en) 2023-04-28

Family

ID=77755722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110653320.7A Active CN113433852B (en) 2021-06-11 2021-06-11 Communication control method and device of intelligent equipment

Country Status (1)

Country Link
CN (1) CN113433852B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500356B (en) * 2022-04-06 2022-07-05 广东省通信产业服务有限公司 Data cross transmission method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240111B (en) * 2018-10-15 2022-04-01 深圳市欧瑞博科技股份有限公司 Intelligent home control method, device and system and intelligent gateway
CN111245714B (en) * 2020-03-31 2022-06-10 上海庆科信息技术有限公司 Access method and device of home gateway module, storage medium and electronic device
CN111245713B (en) * 2020-03-31 2022-03-04 上海庆科信息技术有限公司 Gateway role processing method, device, storage medium, processor and system
CN111479307B (en) * 2020-04-14 2022-12-20 珠海格力电器股份有限公司 Data transmission method, device, AP and storage medium

Also Published As

Publication number Publication date
CN113433852A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN112492252B (en) Communication method and intelligent device
CN106572517B (en) The processing method of network slice, the selection method and device for accessing network
CN106487928B (en) Message pushing method and device
CN107517136B (en) Method, device and system for realizing heartbeat keep-alive
CN105099989A (en) Service request processing and service processing result acquiring method, device and system
CN110493091A (en) A kind of control method and device of smart home device
US20070053327A1 (en) Mobile communication terminal for supporting wireless data services and method thereof
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN110621047A (en) Operator network switching method and device and computer readable storage medium
CN113433852B (en) Communication control method and device of intelligent equipment
CN106411627A (en) Network connection detection method and apparatus
CN117837203A (en) Electronic equipment for controlling E2 terminal based on service information of E2 terminal and method for operating electronic equipment
CN111245962B (en) Method and system for interacting with Internet of things equipment and Internet of things cloud platform
CN107295621B (en) Control method, device, storage medium and the electronic equipment of transmission power
CN109617802B (en) Link aggregation implementation method and related product
CN111698736A (en) Intelligent household electrical appliance network switching method and device, computer equipment and server
CN107211274A (en) A kind of equipment correlating method and relevant device
CN107517270A (en) Data monitoring system, method and its relevant device
WO2020048382A1 (en) Method for controlling display of service identifier, and related product
CN112469087B (en) Method for adjusting communication rate of air conditioning equipment, terminal and storage medium
CN115801484B (en) Data transmission method and device based on movable equipment
CN112433480B (en) Intelligent household system and control method and device thereof
CN109392196A (en) Big data analysis method and system based on mobile terminal
CN116846771A (en) Service operation method, device, terminal and readable storage medium
CN107273125A (en) A kind of method and system of long-range toggle screen modes

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