A data communication method and device based on multiple communication modes

By determining the target communication node and multiple communication paths at the initial communication node, the problem of limited communication signal coverage for intelligent devices in complex environments is solved, thereby improving the stability and fault tolerance of the communication network.

CN115996405BActive Publication Date: 2025-12-12FOSHAN VIOMI ELECTRICAL TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111207793.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-18
Publication Date
2025-12-12
Estimated Expiration
2041-10-18

AI Technical Summary

Technical Problem

In complex home environments, the limited coverage of smart device communication signals can cause some communication networks to fail, and existing technologies cannot guarantee the stability and fault tolerance of these networks.

Method used

The target communication node is determined by the data communication request sent by the initial communication node, and at least two types of network communication paths are determined by the target communication node. The transmission path of data communication information is processed according to the communication path determination rules, and multiple communication methods are used to improve the fault tolerance and stability of the network.

Benefits of technology

It improves the stability and fault tolerance of communication networks in complex environments, ensuring smooth communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115996405B_ABST
    Figure CN115996405B_ABST
Patent Text Reader

Abstract

The application discloses a data communication method and device based on multiple communication modes, and the method comprises the following steps: obtaining a data communication request sent by an initial communication node; determining a target communication node according to the data communication request; determining a target communication network according to the target communication node; the target communication network comprises at least two types of network communication paths; determining a target data communication path according to the initial communication node, the target communication network and a preset communication path determination rule; and the target data communication path is used for indicating that data communication information is transmitted from the initial communication node to the target communication node. It can be seen that the application can improve the fault tolerance and stability of the whole communication network through multiple types of communication modes, thereby guaranteeing the smooth communication of the communication network.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data communication, in particular to a data communication method and device based on multiple communication modes. BACKGROUND

[0002] With the popularity of intelligent devices in the family, a family can have multiple intelligent devices, but if in a relatively complex spatial layout environment, due to the limitation of the communication signal coverage of the intelligent device, when the intelligent device as a relay node fails, it is easy to cause the problem of partial communication network paralysis. Therefore, it is particularly important to provide a data communication method and device based on multiple communication modes to improve the fault tolerance and stability of the entire communication network through multiple types of communication modes, and to ensure the smooth communication of the communication network. SUMMARY

[0003] The technical problem to be solved by the present application is to provide a data communication method and device based on multiple communication modes, which can determine the target communication node through the data communication request issued by the initial communication node, and then determine the target communication network including at least two types of network communication paths through the target communication node. Finally, according to the communication path determination rule, the initial communication node and the target communication network are processed to obtain the target data communication path for indicating the transmission of data communication information from the initial communication node to the target communication node, which is beneficial to improve the fault tolerance and stability of the entire communication network through multiple types of communication modes, and to ensure the smooth communication of the communication network.

[0004] In order to solve the above technical problems, the first aspect of the embodiment of the present application discloses a data communication method based on multiple communication modes, which comprises:

[0005] Obtaining the data communication request issued by the initial communication node;

[0006] According to the data communication request, the target communication node is determined;

[0007] According to the target communication node, the target communication network is determined; the target communication network includes at least two types of network communication paths;

[0008] According to the initial communication node, the target communication network and the preset communication path determination rule, the target data communication path is determined; the target data communication path is used to indicate the transmission of data communication information from the initial communication node to the target communication node.

[0009] As an optional implementation manner, in the first aspect of the embodiment of the present application, before the target communication network is determined according to the target communication node, the method further comprises:

[0010] obtaining a set of candidate communication networks; the set of candidate communication networks comprises at least one candidate communication network; the candidate communication network comprises a plurality of to-be-matched communication nodes;

[0011] determining the target communication network according to the target communication node, comprises:

[0012] determining the target communication network according to the target communication node and the set of candidate communication networks; the target communication network comprises a plurality of candidate communication nodes that have established first communication connections with the target communication node.

[0013] As an optional implementation form, in the first aspect of the embodiment of the present application, the determining the target communication network according to the target intelligent terminal and the set of candidate communication networks, comprises:

[0014] matching the target node feature information corresponding to the target communication node with the communication feature information corresponding to all to-be-matched communication nodes in the candidate communication network, to obtain a first matching result;

[0015] when the first matching result indicates that there is target communication feature information matching the target node feature information corresponding to the target communication node in the candidate communication network, determining the candidate communication network as the target communication network.

[0016] As an optional implementation form, in the first aspect of the embodiment of the present application, the determining the target data communication path according to the initial communication node, the target communication network and a preset communication path determination rule, comprises:

[0017] determining a target relay communication path according to the target communication network; the target relay communication path comprises the target communication node;

[0018] determining the target data communication path according to the target relay communication path and the initial communication node.

[0019] As an optional implementation form, in the first aspect of the embodiment of the present application, the determining the target relay communication path according to the target communication network, comprises:

[0020] determining a set of relay communication paths according to the target communication network; the set of relay communication paths comprises at least one relay communication path; the relay communication path comprises at least one relay communication node;

[0021] determining the target relay communication path according to the set of relay communication paths.

[0022] As an optional implementation, in the first aspect of the embodiment of the present application, the determining the set of relay communication paths according to the target communication network comprises:

[0023] For any candidate communication node, judging whether the candidate communication node has the function of establishing the second communication connection to obtain a first judgment result;

[0024] When the first judgment result indicates that the candidate communication node has the function of establishing the second communication connection, determining the candidate communication node as a relay communication node;

[0025] According to the first communication connection information corresponding to the relay communication node, the target communication node and the target communication network, determining the relay communication path corresponding to the relay communication node.

[0026] As an optional implementation, in the first aspect of the embodiment of the present application, the determining the target relay communication path according to the set of relay communication paths comprises:

[0027] Matching the target node feature information corresponding to the target communication node with the relay node feature information corresponding to all relay communication paths to obtain a second matching result;

[0028] When the second matching result indicates that there is target relay node feature information matched with the target node feature information corresponding to the target communication node, determining the relay communication path corresponding to the target relay node feature information as the target relay communication path;

[0029] When the second matching result indicates that there is no target relay node feature information matched with the target node feature information corresponding to the target communication node, sorting all relay communication paths in the set of relay communication paths according to the number of communication nodes corresponding to the relay communication paths from more to less to obtain a communication path sequence;

[0030] According to the communication path sequence, determining the target relay communication path.

[0031] As an optional implementation, in the first aspect of the embodiment of the present application, the determining the target communication node according to the data communication request comprises:

[0032] Identifying and analyzing the data communication request to obtain the communication node information to be communicated corresponding to the data communication request;

[0033] Matching the communication node information to be communicated with the node feature information corresponding to all candidate communication nodes in the database to obtain a third matching result;

[0034] When the third matching result indicates that there is target node characteristic information in the database that matches the communication node information of the communication node to be communicated, the to-be-used communication node corresponding to the target node characteristic information is determined as the target communication node.

[0035] The second aspect of the embodiment of the application discloses a data communication device based on multiple communication modes, which comprises:

[0036] The acquisition module is configured to acquire a data communication request sent by an initial communication node.

[0037] The first determination module is configured to determine a target communication node according to the data communication request.

[0038] The second determination module is configured to determine a target communication network according to the target communication node; the target communication network comprises at least two types of network communication paths.

[0039] The third determination module is configured to determine a target data communication path according to the initial communication node, the target communication network and a preset communication path determination rule; the target data communication path is used to indicate the transmission of data communication information from the initial communication node to the target communication node.

[0040] As an optional implementation, in the second aspect of the embodiment of the application, before the second determination module determines the target communication network according to the target communication node, the acquisition module is further configured to acquire a set of to-be-selected communication networks; the set of to-be-selected communication networks comprises at least one to-be-selected communication network; the to-be-selected communication network comprises a plurality of to-be-matched communication nodes.

[0041] The specific manner in which the second determination module determines the target communication network according to the target communication node is as follows:

[0042] The target communication network is determined according to the target communication node and the set of to-be-selected communication networks; the target communication network comprises a plurality of to-be-selected communication nodes that have established first communication connections with the target communication node.

[0043] As an optional implementation, in the second aspect of the embodiment of the application, the specific manner in which the second determination module determines the target communication network according to the target intelligent terminal and the set of to-be-selected communication networks is as follows:

[0044] For any to-be-selected communication network, the target node characteristic information corresponding to the target communication node is matched with the communication characteristic information corresponding to all to-be-matched communication nodes in the to-be-selected communication network to obtain a first matching result.

[0045] When the first matching result indicates that the target node feature information corresponding to the target communication node matches the target communication feature information in the candidate communication network, the candidate communication network is determined as the target communication network.

[0046] As an optional implementation, in the second aspect of the embodiment of the present application, the third determining module comprises a first determining sub-module and a second determining sub-module, wherein:

[0047] The first determining sub-module is configured to determine a target relay communication path according to the target communication network; the target relay communication path comprises the target communication node.

[0048] The second determining sub-module is configured to determine a target data communication path according to the target relay communication path and the initial communication node.

[0049] As an optional implementation, in the second aspect of the embodiment of the present application, the specific manner in which the first determining sub-module determines the target relay communication path according to the target communication network is as follows:

[0050] determining a relay communication path set according to the target communication network; the relay communication path set comprises at least one relay communication path; the relay communication path comprises at least one relay communication node;

[0051] determining the target relay communication path according to the relay communication path set.

[0052] As an optional implementation, in the second aspect of the embodiment of the present application, the specific manner in which the first determining sub-module determines the relay communication path set according to the target communication network is as follows:

[0053] for any candidate communication node, judging whether the candidate communication node has the function of establishing the second communication connection to obtain a first judgment result;

[0054] when the first judgment result indicates that the candidate communication node has the function of establishing the second communication connection, determining the candidate communication node as a relay communication node;

[0055] determining a relay communication path corresponding to the relay communication node according to the first communication connection information corresponding to the relay communication node, the target communication node and the target communication network.

[0056] As an optional implementation, in the second aspect of the embodiment of the present application, the specific manner in which the first determining sub-module determines the target relay communication path according to the relay communication path set is as follows:

[0057] matching the target node characteristic information corresponding to the target communication node with relay node characteristic information corresponding to all relay communication paths to obtain a second matching result;

[0058] When the second matching result indicates that there is target relay node characteristic information matching the target node characteristic information corresponding to the target communication node, the relay communication path corresponding to the target relay node characteristic information is determined as a target relay communication path.

[0059] When the second matching result indicates that there is no target relay node characteristic information matching the target node characteristic information corresponding to the target communication node, all relay communication paths in the relay communication path set are sorted according to the number of communication nodes corresponding to the relay communication paths from more to less to obtain a communication path sequence.

[0060] According to the communication path sequence, a target relay communication path is determined.

[0061] As an optional implementation, in the second aspect of the embodiment of the application, the specific manner in which the first determination module determines the target communication node according to the data communication request is that:

[0062] The data communication request is identified and parsed to obtain communication node information to be communicated corresponding to the data communication request.

[0063] The communication node information to be communicated is matched with node characteristic information corresponding to all standby communication nodes in a database to obtain a third matching result.

[0064] When the third matching result indicates that there is target node characteristic information matching the communication node information to be communicated in the database, the standby communication node corresponding to the target node characteristic information is determined as the target communication node.

[0065] The third aspect of the application discloses another data communication device based on multiple communication modes, which comprises:

[0066] A memory in which executable program codes are stored;

[0067] A processor coupled with the memory;

[0068] The processor invokes the executable program codes stored in the memory to execute part or all steps of the data communication method based on multiple communication modes disclosed in the first aspect of the embodiment of the application.

[0069] The fourth aspect of the present application discloses a computer storage medium, which stores computer instructions, and when the computer instructions are invoked, some or all steps of the data communication method based on multiple communication modes disclosed in the first aspect of the embodiments of the present application are executed.

[0070] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0071] In the embodiments of the present application, a data communication request sent by an initial communication node is obtained, a target communication node is determined according to the data communication request, a target communication network is determined according to the target communication node, the target communication network includes at least two types of network communication paths, a target data communication path is determined according to the initial communication node, the target communication network and a preset communication path determination rule, and the target data communication path is used to indicate the transmission of data communication information from the initial communication node to the target communication node. It can be seen that, the target communication node can be determined through the data communication request sent by the initial communication node, the target communication network including at least two types of network communication paths can be determined through the target communication node, and finally the initial communication node and the target communication network are processed according to the communication path determination rule to obtain the target data communication path used to indicate the transmission of data communication information from the initial communication node to the target communication node, which is conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network. BRIEF DESCRIPTION OF DRAWINGS

[0072] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0073] Figure 1 is a flowchart of a data communication method based on multiple communication modes disclosed by the embodiments of the present application;

[0074] Figure 2 is a flowchart of another data communication method based on multiple communication modes disclosed by the embodiments of the present application;

[0075] Figure 3 is a structural diagram of a data communication device based on multiple communication modes disclosed by the embodiments of the present application;

[0076] Figure 4 is a structural diagram of another data communication device based on multiple communication modes disclosed by the embodiments of the present application;

[0077] Figure 5 Another structure schematic diagram of the data communication device based on multiple communication modes is disclosed in the embodiment of the present application. DETAILED DESCRIPTION

[0078] In order to enable persons skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons skilled in the art without creative efforts fall within the scope of the present application.

[0079] The terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish different objects, and are not used to describe a specific order. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product, or equipment including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product, or equipment.

[0080] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0081] The present application discloses a data communication method and device based on multiple communication modes, which can determine the target communication node through the data communication request sent by the initial communication node, and then determine the target communication network including at least two types of network communication paths through the target communication node. Finally, the initial communication node and the target communication network are processed according to the communication path determination rule to obtain the target data communication path for indicating the transmission of data communication information from the initial communication node to the target communication node, which is beneficial to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network. The following will be described in detail.

[0082] Embodiment one

[0083] Please refer to Figure 1 , Figure 1 is a flowchart of a data communication method based on multiple communication modes disclosed in the embodiment of the present application. Among them, Figure 1The multi-communication mode based data communication method is applied to an information communication system, such as a local server or a cloud server for multi-communication mode based data communication management, and the embodiments of the present application are not limited thereto. As shown in Figure 1 The multi-communication mode based data communication method can include the following operations:

[0084] 101. Obtain a data communication request sent by an initial communication node.

[0085] 102. Determine a target communication node according to the data communication request.

[0086] 103. Determine a target communication network according to the target communication node.

[0087] In the embodiments of the present application, the target communication network includes at least two types of network communication paths.

[0088] 104. Determine a target data communication path according to the initial communication node, the target communication network, and a preset communication path determination rule.

[0089] In the embodiments of the present application, the target data communication path is used to indicate the transmission of data communication information from the initial communication node to the target communication node.

[0090] Optionally, the initial communication node can be a smart terminal, a network gateway, or a hotspot device with communication function, and the embodiments of the present application are not limited thereto.

[0091] Optionally, the data communication request is triggered when a user wants to communicate with the target communication node through the initial communication node.

[0092] Optionally, the data communication request can be triggered directly through the initial communication node, or can be transmitted to the initial communication node through other smart terminals, and the embodiments of the present application are not limited thereto.

[0093] Optionally, the network communication path includes a Ble Mesh based communication path, and / or a Wifi Mesh based communication path, and / or a wired network based communication path, and / or an infrared communication protocol based communication path, and / or a quantum communication network based communication path, and the embodiments of the present application are not limited thereto.

[0094] It can be seen that the data communication method based on multiple communication modes described in the embodiment of the application can determine the target communication node through the data communication request sent by the initial communication node, then determine the target communication network including at least two types of network communication paths through the target communication node, and finally process the initial communication node and the target communication network according to the communication path determination rule to obtain the target data communication path for indicating the transmission of data communication information from the initial communication node to the target communication node, which is beneficial to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network.

[0095] In an optional embodiment, before the step 103 of determining the target communication network according to the target communication node, the method further comprises:

[0096] obtaining a set of candidate communication networks; the set of candidate communication networks includes at least one candidate communication network; the candidate communication network includes a plurality of to-be-matched communication nodes;

[0097] determining the target communication network according to the target communication node, comprising:

[0098] determining the target communication network according to the target communication node and the set of candidate communication networks; the target communication network includes a plurality of candidate communication nodes having a first communication connection with the target communication node.

[0099] In the embodiment of the application, the to-be-matched communication node includes a low-power communication node, and / or a communication node having a Ble communication function, and / or a communication node having a Wifi communication function, which is not limited in the embodiment of the application.

[0100] Optionally, the low-power communication node does not have a relay function.

[0101] Optionally, the communication node having a Wifi communication function can be used for data information communication between the candidate communication networks, or can be used for data information communication between the candidate communication network and the cloud, which is not limited in the embodiment of the application.

[0102] Optionally, the communication node having a Ble communication function includes a friendly communication node, and / or a common communication node, which is not limited in the embodiment of the application.

[0103] Preferably, the first communication connection is a Ble communication connection established based on a Ble Mesh network.

[0104] Optionally, the candidate communication node can directly have a first communication connection with the target communication node, or can have a first communication connection with the target communication node through a plurality of other candidate communication nodes, which is not limited in the embodiment of the application.

[0105] It can be seen that the data communication method based on multiple communication modes described in the embodiments of the present application can determine the target communication network including several candidate communication nodes establishing the first communication connection with the target communication node by using the obtained candidate communication network set including several to-be-matched communication nodes and the target communication node, which is conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network.

[0106] In another optional embodiment, the above determining the target communication network according to the target intelligent terminal and the candidate communication network set comprises:

[0107] For any candidate communication network, matching the target node characteristic information corresponding to the target communication node with the communication characteristic information corresponding to all to-be-matched communication nodes in the candidate communication network obtains a first matching result.

[0108] When the first matching result indicates that there is target communication characteristic information matching the target node characteristic information corresponding to the target communication node in the candidate communication network, the candidate communication network is determined as the target communication network.

[0109] Optionally, the target node characteristic information includes node name information, and / or node code information, and / or node category information, which is not limited by the embodiments of the present application.

[0110] Optionally, the form of the target node characteristic information is A-A-B-B-C-C, wherein A, B and C are any one of node name information, node code information and node category information, and A, B and C are not the same as each other.

[0111] Optionally, the communication characteristic information includes communication name information, and / or communication code information, and / or communication category information, which is not limited by the embodiments of the present application.

[0112] Optionally, the form of the communication characteristic information is D-D-E-E-F-F, wherein D, E and F are any one of communication name information, communication code information and communication category information, and D, E and F are not the same as each other.

[0113] Optionally, the node name information corresponds to the communication name information.

[0114] Optionally, the node code information corresponds to the communication code information.

[0115] Optionally, the node category information corresponds to the communication category information.

[0116] Optionally, for any information in the target node characteristic information, the corresponding information in the communication characteristic information needs to be double-verified and matched. For example, when A is the node name information, the corresponding E in the communication characteristic information is the communication name information, and A and E need to be verified and matched twice.

[0117] In the optional embodiment, as an optional implementation, the specific form of the target communication characteristic information that matches the target node characteristic information corresponding to the target communication node in the candidate communication network is that:

[0118] Any one of the node name information, the node code information, and the node category information matches the communication name information, the communication code information, and the communication category information.

[0119] In the optional embodiment, as another optional implementation, the specific form of the target communication characteristic information that matches the target node characteristic information corresponding to the target communication node in the candidate communication network is that:

[0120] Any one of the node name information, the node code information, and the node category information matches the communication name information, the communication code information, and the communication category information.

[0121] It can be seen that the data communication method based on multiple communication modes described in the embodiments of the present application can determine the target communication network by matching and analyzing the target node characteristic information and the communication characteristic information, provide an implementation path for determining the target communication network, that is, the target communication characteristic information is determined by more secure and reliable matching, improve the transmission security of data communication information, and is conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network.

[0122] In yet another optional embodiment, the step 102 of determining the target communication node according to the data communication request comprises:

[0123] The data communication request is identified and analyzed to obtain the communication node information to be communicated corresponding to the data communication request;

[0124] The communication node information to be communicated is matched with the node characteristic information corresponding to all the candidate communication nodes in the database to obtain a third matching result;

[0125] When the third matching result indicates that there is target node characteristic information matching the communication node information to be communicated in the database, the candidate communication node corresponding to the target node characteristic information is determined as the target communication node.

[0126] The data communication request is analyzed by using the intelligent identification model.

[0127] Optionally, the intelligent identification model includes a neural network-based identification model and / or a deep learning-based identification model, and the embodiments of the present application are not limited thereto.

[0128] Optionally, the communication node information to be communicated includes communication node name information and / or communication node code information, and the embodiments of the present application are not limited thereto.

[0129] It can be seen that the data communication method based on multiple communication modes described in the embodiments of the present application can obtain the communication node information to be communicated by identifying and analyzing the data communication request, and then determine the target communication node by matching and analyzing the communication node information to be communicated and the communication node information, thereby providing an implementation path for determining the target communication node, which is more conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network.

[0130] Embodiment two

[0131] Please refer to Figure 2 , Figure 2 is another flowchart of the data communication method based on multiple communication modes disclosed in the embodiments of the present application. Among them, Figure 2 The data communication method based on multiple communication modes described herein is applied to an information communication system, such as a local server or a cloud server for data communication management based on multiple communication modes, and the embodiments of the present application are not limited thereto. For example Figure 2 The data communication method based on multiple communication modes can include the following operations:

[0132] 201, obtaining a data communication request sent by an initial communication node.

[0133] 202, determining a target communication node according to the data communication request.

[0134] 203, determining a target communication network according to the target communication node.

[0135] In the embodiments of the present application, for the specific technical details and technical terms of steps 201-203, please refer to the detailed description of steps 101-103 in embodiment one, and the embodiments of the present application will not be repeated here.

[0136] 204, determining a target relay communication path according to the target communication network.

[0137] In the embodiments of the present application, the target relay communication path includes the target communication node.

[0138] 205. determining the target data communication path according to the target relay communication path and the initial communication node.

[0139] In the embodiment of the present application, the target relay communication path is used to transmit the data communication information from the relay communication node to the target communication node.

[0140] Optionally, the target data communication path comprises the initial communication node and the target communication node. Further, the target data communication path further comprises the relay communication node.

[0141] It can be seen that the data communication method based on multiple communication modes described in the embodiment of the present application can determine the target communication node through the data communication request issued by the initial communication node, determine the target communication network comprising at least two types of network communication paths through the target communication node, and finally process the initial communication node and the target communication network according to the communication path determination rule to obtain the target data communication path used to indicate the transmission of the data communication information from the initial communication node to the target communication node, which is conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network.

[0142] In an optional embodiment, the step 204 of determining the target relay communication path according to the target communication network comprises:

[0143] determining a relay communication path set according to the target communication network; the relay communication path set comprises at least one relay communication path; the relay communication path comprises at least one relay communication node;

[0144] determining the target relay communication path according to the relay communication path set.

[0145] Optionally, one relay communication path comprises one target communication node.

[0146] Optionally, one relay communication path further comprises one relay communication node.

[0147] Optionally, one relay communication path further comprises a plurality of candidate communication nodes.

[0148] Optionally, the relay communication nodes corresponding to any two relay communication paths are different.

[0149] It can be seen that the data communication method based on multiple communication modes described in the embodiment of the application can first determine a relay communication path set including a plurality of relay communication nodes according to the target communication network, and then screen out the target relay communication path from the relay communication path set, which is more conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, thereby ensuring smooth communication of the communication network.

[0150] In another optional embodiment, the above determining the relay communication path set according to the target communication network comprises:

[0151] For any candidate communication node, it is judged whether the candidate communication node has the function of establishing the second communication connection, and a first judgment result is obtained;

[0152] When the first judgment result indicates that the candidate communication node has the function of establishing the second communication connection, the candidate communication node is determined as a relay communication node;

[0153] According to the first communication connection information corresponding to the relay communication node, the target communication node and the target communication network, the relay communication path corresponding to the relay communication node is determined.

[0154] Optionally, the second communication connection includes a communication connection based on Wifi Mesh, and / or a communication connection based on a wired network, and / or a communication connection based on an infrared communication protocol, and / or a communication connection based on a quantum communication network, and the embodiment of the application is not limited thereto.

[0155] Optionally, there is at least one relay communication node in the target communication network.

[0156] Optionally, the first communication connection information is a Ble communication connection relationship established between any two communication nodes in the target communication network based on a Ble Mesh network.

[0157] It can be seen that the data communication method based on multiple communication modes described in the embodiment of the application can determine the relay communication node by judging whether the candidate communication node has the function of establishing the second communication connection, and determine the relay communication path connecting the relay communication node and the target communication node by using the first communication connection information, thereby providing an implementation path for determining the relay communication path, which is more conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, thereby ensuring smooth communication of the communication network.

[0158] In yet another optional embodiment, the above determining the target relay communication path according to the relay communication path set comprises:

[0159] Match the target node feature information corresponding to the target communication node with the relay node feature information corresponding to all relay communication paths to obtain a second matching result;

[0160] When the second matching result indicates that there is target relay node feature information matching the target node feature information corresponding to the target communication node, the relay communication path corresponding to the target relay node feature information is determined as the target relay communication path.

[0161] When the second matching result indicates that there is no target relay node feature information matching the target node feature information corresponding to the target communication node, all relay communication paths in the relay communication path set are sorted in descending order of the number of communication nodes corresponding to the relay communication path to obtain a communication path sequence.

[0162] According to the communication path sequence, the target relay communication path is determined.

[0163] In the embodiment of the application, the relay node feature information includes relay name information, and / or relay code information, and / or relay category information, which is not limited in the embodiment of the application.

[0164] Optionally, the form of the relay node feature information is N-N-M-M-L-L, wherein N, M and L are any one of relay name information, relay code information and relay category information, and N, M and L are not the same as each other.

[0165] Optionally, the node name information corresponds to the relay name information.

[0166] Optionally, the node code information corresponds to the relay code information.

[0167] Optionally, the node category information corresponds to the relay category information.

[0168] Optionally, for any information in the target node feature information, the corresponding information in the relay node feature information needs to be double-verified and matched.

[0169] Optionally, the number of communication nodes includes the number of target communication nodes, relay communication nodes and candidate communication nodes.

[0170] Optionally, when the number of communication nodes of any two relay communication paths is the same, the relay communication path corresponding to the weak communication signal of the relay communication node is arranged before the relay communication path corresponding to the strong communication signal of the relay communication node.

[0171] Optionally, the specific form of determining the target relay communication path according to the communication path sequence is:

[0172] Select the last relay communication path in the communication path sequence as the target relay communication path.

[0173] As can be seen, the data communication method based on multiple communication methods described in the embodiments of the present invention can determine the target relay communication path by matching and analyzing the characteristic information of the target node and the characteristic information of the relay node and sorting the relay communication paths. This is more conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication methods, thereby ensuring the smooth communication of the communication network.

[0174] Example 3

[0175] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a data communication device based on multiple communication methods disclosed in an embodiment of the present invention. Figure 3 The described apparatus can be applied to information communication systems, such as local servers or cloud servers for data communication management based on multiple communication methods, and the embodiments of the present invention are not limited thereto. Figure 3 As shown, the device may include:

[0176] The acquisition module 301 is used to acquire the data communication request sent by the initial communication node;

[0177] The first determining module 302 is used to determine the target communication node based on the data communication request;

[0178] The second determining module 303 is used to determine the target communication network based on the target communication node; the target communication network includes at least two types of network communication paths;

[0179] The third determining module 304 is used to determine the target data communication path based on the initial communication node, the target communication network and the preset communication path determination rules; the target data communication path is used to indicate the transmission of data communication information from the initial communication node to the target communication node.

[0180] It is evident that implementation Figure 3 The described data communication device based on multiple communication methods can determine the target communication node through the data communication request issued by the initial communication node, then determine the target communication network including at least two types of network communication paths using the target communication node, and finally process the initial communication node and the target communication network according to the communication path determination rules to obtain the target data communication path used to indicate the transmission of data communication information from the initial communication node to the target communication node. This is beneficial to improve the fault tolerance and stability of the entire communication network through multiple types of communication methods, thereby ensuring smooth communication of the communication network.

[0181] In another alternative embodiment, such asFigure 4 Before the second determining module 303 determines the target communication network according to the target communication node, the obtaining module 301 is further configured to obtain a set of candidate communication networks; the set of candidate communication networks comprises at least one candidate communication network; the candidate communication network comprises a plurality of to-be-matched communication nodes.

[0182] The specific manner in which the second determining module 303 determines the target communication network according to the target communication node is as follows:

[0183] The target communication network is determined according to the target communication node and the set of candidate communication networks; the target communication network comprises a plurality of candidate communication nodes that have established first communication connections with the target communication node.

[0184] It can be seen that, in the implementation Figure 4 The data communication device based on multiple communication modes described above can determine the target communication network comprising a plurality of candidate communication nodes that have established first communication connections with the target communication node by using the obtained set of candidate communication networks comprising a plurality of to-be-matched communication nodes and the target communication node, which is conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and thus ensuring smooth communication of the communication network.

[0185] In yet another optional embodiment, as Figure 4 The specific manner in which the second determining module 303 determines the target communication network according to the target intelligent terminal and the set of candidate communication networks is as follows:

[0186] For any candidate communication network, the target node feature information corresponding to the target communication node is matched with the communication feature information corresponding to all to-be-matched communication nodes in the candidate communication network to obtain a first matching result.

[0187] When the first matching result indicates that there is target communication feature information in the candidate communication network that matches the target node feature information corresponding to the target communication node, the candidate communication network is determined to be the target communication network.

[0188] It can be seen that, in the implementation Figure 4 The data communication device based on multiple communication modes described above can determine the target communication network by matching and analyzing the target node feature information and the communication feature information, which provides an implementation path for determining the target communication network, i.e., the target communication feature information is determined by more secure and reliable matching, which improves the transmission security of data communication information, is conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and thus ensures smooth communication of the communication network.

[0189] In yet another optional embodiment, as Figure 4The third determining module 304 includes a first determining sub-module 3041 and a second determining sub-module 3042, where:

[0190] The first determining sub-module 3041 is configured to determine a target relay communication path according to the target communication network; the target relay communication path includes a target communication node.

[0191] The second determining sub-module 3042 is configured to determine a target data communication path according to the target relay communication path and the initial communication node.

[0192] It can be seen that, in the embodiment, Figure 4 The data communication device based on multiple communication modes described above can determine a target communication node through a data communication request sent by an initial communication node, determine a target communication network including at least two types of network communication paths through the target communication node, and finally process the initial communication node and the target communication network according to a communication path determination rule to obtain a target data communication path for indicating the transmission of data communication information from the initial communication node to the target communication node, which is conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network.

[0193] In another optional embodiment, as shown in Figure 4 The first determining sub-module 3041 determines the target relay communication path according to the target communication network in the following specific manner:

[0194] According to the target communication network, a relay communication path set is determined; the relay communication path set includes at least one relay communication path; the relay communication path includes at least one relay communication node.

[0195] The target relay communication path is determined according to the relay communication path set.

[0196] It can be seen that, in the embodiment, Figure 4 The data communication device based on multiple communication modes described above can determine a target communication node through a data communication request sent by an initial communication node, determine a target communication network including at least two types of network communication paths through the target communication node, and finally process the initial communication node and the target communication network according to a communication path determination rule to obtain a target data communication path for indicating the transmission of data communication information from the initial communication node to the target communication node, which is conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network.

[0197] In another optional embodiment, as shown in Figure 4 The first determining sub-module 3041 determines the target relay communication path according to the target communication network in the following specific manner:

[0198] For any candidate communication node, it is judged whether the candidate communication node has the function of establishing a second communication connection, and a first judgment result is obtained.

[0199] When the first determination result indicates that the candidate communication node has the function of establishing the second communication connection, the candidate communication node is determined as the relay communication node.

[0200] According to the first communication connection information corresponding to the relay communication node, the target communication node, and the target communication network, a relay communication path corresponding to the relay communication node is determined.

[0201] It can be seen that, in the implementation Figure 4 The data communication device based on multiple communication modes described herein can determine the relay communication node by judging whether the candidate communication node has the function of establishing the second communication connection, and determine the relay communication path connecting the relay communication node and the target communication node by using the first communication connection information, thereby providing an implementation path for determining the relay communication path, and more facilitating improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring smooth communication of the communication network.

[0202] In another optional embodiment, as Figure 4 The specific manner of the first determination sub-module 3041 for determining the target relay communication path according to the relay communication path set is as follows:

[0203] Matching the target node feature information corresponding to the target communication node with the relay node feature information corresponding to all relay communication paths to obtain a second matching result;

[0204] When the second matching result indicates that there is target relay node feature information matching the target node feature information corresponding to the target communication node, the relay communication path corresponding to the target relay node feature information is determined as the target relay communication path;

[0205] When the second matching result indicates that there is no target relay node feature information matching the target node feature information corresponding to the target communication node, all relay communication paths in the relay communication path set are sorted in descending order of the number of communication nodes corresponding to the relay communication paths to obtain a communication path sequence;

[0206] According to the communication path sequence, the target relay communication path is determined.

[0207] It can be seen that, in the implementation Figure 4 The data communication device based on multiple communication modes described herein can determine the target relay communication path by matching and analyzing the target node feature information and the relay node feature information, and sorting the relay communication paths, thereby more facilitating improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring smooth communication of the communication network.

[0208] In another optional embodiment, asFigure 4 As shown, the first determining module 302 determines the specific manner of the target communication node according to the data communication request, which is:

[0209] The data communication request is identified and analyzed to obtain the communication node information corresponding to the data communication request;

[0210] The communication node information to be communicated is matched with the node characteristic information corresponding to all the standby communication nodes in the database to obtain a third matching result;

[0211] When the third matching result indicates that there is target node characteristic information matched with the communication node information to be communicated in the database, the standby communication node corresponding to the target node characteristic information is determined as the target communication node.

[0212] It can be seen that the implementation Figure 5 The data communication device based on multiple communication modes described can obtain the communication node information to be communicated by identifying and analyzing the data communication request, and determine the target communication node by matching and analyzing the communication node information to be communicated and the communication node information, which provides an implementation path for determining the target communication node, and is more conducive to improving the fault tolerance and stability of the entire communication network through multiple types of communication modes, and further ensuring the smooth communication of the communication network.

[0213] Embodiment Four

[0214] Please refer to Figure 5 , Figure 5 is another structure diagram of the data communication device based on multiple communication modes disclosed by the embodiments of the present application. Among them, Figure 5 The device described can be applied to an information communication system, such as a local server or a cloud server for data communication management based on multiple communication modes, and the embodiments of the present application are not limited. For example ​ As shown, the device can include:

[0215] a memory 401 storing executable program codes;

[0216] a processor 402 coupled with the memory 401;

[0217] The processor 402 calls the executable program codes stored in the memory 401, which is used to execute the steps in the data communication method based on multiple communication modes described in embodiment one or embodiment two.

[0218] Embodiment Five

[0219] The embodiment of the present application discloses a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute steps in the data communication method based on multiple communication modes described in embodiment one or embodiment two.

[0220] Embodiment six

[0221] The embodiment of the present application discloses a computer program product, which comprises a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute steps in the data communication method based on multiple communication modes described in embodiment one or embodiment two.

[0222] The above described device embodiments are only schematic, wherein the modules illustrated as separate components can or can not be physically separate, and the components illustrated as modules can or can not be physical modules, i.e., can be located in one place, or can be distributed on multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment scheme. Those skilled in the art can understand and implement without creative labor.

[0223] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be realized by means of software and necessary general hardware platform, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of software product, and the computer software product can be stored in a computer readable storage medium, including read-only memory (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, EEPROM), one-time programmable read-only memory (One-time Programmable Read-Only Memory, OTPROM), electrically erasable programmable read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer readable medium that can be used to carry or store data.

[0224] It should be pointed out finally that the data communication method and device based on multiple communication modes disclosed by the embodiments of the present application are only the preferred embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not for limiting the present application. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced equivalently, and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A data communication method based on multiple communication modes, characterized in that, The method comprises: acquiring a data communication request sent by an initial communication node; determining a target communication node according to the data communication request; determining a target communication network according to the target communication node; the target communication network comprises at least two types of network communication paths; determining a target data communication path according to the initial communication node, the target communication network and preset communication path determination rules; the target data communication path is used for indicating transmission of data communication information from the initial communication node to the target communication node; before the determining of the target communication network according to the target communication node, the method further comprises: acquiring a set of candidate communication networks; the set of candidate communication networks comprises at least one candidate communication network; the candidate communication network comprises a plurality of to-be-matched communication nodes; the determining of the target communication network according to the target communication node comprises: for any candidate communication network, matching target node feature information corresponding to the target communication node with communication feature information corresponding to all to-be-matched communication nodes in the candidate communication network to obtain a first matching result; when the first matching result indicates that there is target communication feature information matched with the target node feature information corresponding to the target communication node in the candidate communication network, determining that the candidate communication network is a target communication network; the target communication network comprises a plurality of candidate communication nodes having a first communication connection with the target communication node; the target node feature information comprises node name information, node code information and node category information; the form of the target node feature information is A-A-B-B-C-C, wherein A, B and C are any one of the node name information, the node code information and the node category information, and A, B and C are different from each other; the communication feature information comprises communication name information, communication code information and communication category information; the form of the communication feature information is D-D-E-E-F-F, wherein D, E and F are any one of the communication name information, the communication code information and the communication category information, and D, E and F are different from each other; the target communication feature information matched with the target node feature information corresponding to the target communication node in the candidate communication network comprises: any one of the following conditions: the node name information is matched with the communication name information, the node code information is matched with the communication code information, and the node category information is matched with the communication category information; or, simultaneously satisfying the node name information matched with the communication name information, the node code information matched with the communication code information and the node category information matched with the communication category information.

2. The data communication method based on multiple communication modes according to claim 1, wherein, the determining of the target data communication path according to the initial communication node, the target communication network and the preset communication path determination rules comprises: determining a target relay communication path according to the target communication network; the target relay communication path comprises the target communication node; According to the target relay communication path and the initial communication node, a target data communication path is determined.

3. The data communication method based on multiple communication modes according to claim 2, wherein, The target relay communication path is determined according to the target communication network, and the method comprises the steps of: According to the target communication network, a set of relay communication paths is determined; the set of relay communication paths comprises at least one relay communication path; the relay communication path comprises at least one relay communication node; According to the set of relay communication paths, a target relay communication path is determined.

4. The data communication method based on multiple communication modes according to claim 3, wherein, The set of relay communication paths is determined according to the target communication network, and the method comprises the steps of: For any candidate communication node, it is judged whether the candidate communication node has the function of establishing a second communication connection, and a first judgment result is obtained; When the first judgment result indicates that the candidate communication node has the function of establishing a second communication connection, the candidate communication node is determined as a relay communication node; According to the first communication connection information corresponding to the relay communication node, the target communication node and the target communication network, the relay communication path corresponding to the relay communication node is determined.

5. The data communication method based on multiple communication modes according to claim 3, wherein, The target relay communication path is determined according to the set of relay communication paths, and the method comprises the steps of: Matching the target node feature information corresponding to the target communication node with the relay node feature information corresponding to all relay communication paths, a second matching result is obtained; When the second matching result indicates that there is target relay node feature information matching the target node feature information corresponding to the target communication node, the relay communication path corresponding to the target relay node feature information is determined as the target relay communication path; When the second matching result indicates that there is no target relay node feature information matching the target node feature information corresponding to the target communication node, all relay communication paths in the set of relay communication paths are sorted according to the number of communication nodes corresponding to the relay communication paths from more to less, and a communication path sequence is obtained; According to the communication path sequence, a target relay communication path is determined.

6. The data communication method based on multiple communication modes according to claim 1, wherein, The target communication node is determined according to the data communication request, and the method comprises the steps of: The data communication request is identified and parsed, and the communication node information to be communicated corresponding to the data communication request is obtained; The communication node information to be communicated is matched with the node feature information corresponding to all standby communication nodes in the database, and a third matching result is obtained; When the third matching result indicates that there is target node feature information matching the communication node information to be communicated in the database, the standby communication node corresponding to the target node feature information is determined as the target communication node.

7. A data communication device based on multiple communication modes, characterized in that, The device comprises: An acquisition module is configured to acquire a data communication request sent by an initial communication node; A first determination module is configured to determine a target communication node according to the data communication request; A second determination module is configured to determine a target communication network according to the target communication node; the target communication network comprises at least two types of network communication paths; The third determining module is configured to determine a target data communication path according to the initial communication node, the target communication network, and a preset communication path determining rule, wherein the target data communication path is used to indicate transmission of data communication information from the initial communication node to the target communication node. The acquisition module is further configured to acquire a set of candidate communication networks before the second determining module determines the target communication network according to the target communication node, wherein the set of candidate communication networks comprises at least one candidate communication network, and the candidate communication network comprises a plurality of to-be-matched communication nodes. The second determining module determines the target communication network according to the target communication node and the set of candidate communication networks in the following manner: The second determining module determines the target communication network according to the target communication node and the set of candidate communication networks in the following manner: For any candidate communication network, the target node feature information corresponding to the target communication node is matched with the communication feature information corresponding to all to-be-matched communication nodes in the candidate communication network to obtain a first matching result. When the first matching result indicates that the candidate communication network has target communication feature information that matches the target node feature information corresponding to the target communication node, the candidate communication network is determined as the target communication network. The target node feature information comprises node name information, node code information, and node category information, and the form of the target node feature information is A-A-B-B-C-C, wherein A, B, and C are any one of the node name information, the node code information, and the node category information, and A, B, and C are different from each other. The communication feature information comprises communication name information, communication code information, and communication category information, and the form of the communication feature information is D-D-E-E-F-F, wherein D, E, and F are any one of the communication name information, the communication code information, and the communication category information, and D, E, and F are different from each other. The candidate communication network has target communication feature information that matches the target node feature information corresponding to the target communication node in the following manner: Any one of the following conditions is satisfied: the node name information matches the communication name information, the node code information matches the communication code information, and the node category information matches the communication category information; or all of the node name information, the node code information, and the node category information match the communication name information, the communication code information, and the communication category information, respectively. The apparatus comprises:

8. A data communication device based on multiple communication modes, characterized in that, 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 the data communication method based on multiple communication modes as claimed in any one of claims 1-6.

Citation Information

Patent Citations

  • Routing method and device, computer equipment and storage medium

    CN111385208A

  • Communication network determining method, apparatus, and system

    WO2020207437A1