Information transmission method, storage medium and equipment interconnection system

By judging the location and communication connection information of smart home appliances and generating information transmission paths, the communication stability problem of smart home appliances in the case of poor network or poor signal is solved, and stable information sharing and collaboration capabilities between devices are realized.

CN119276646APending Publication Date: 2025-01-07QINGDAO HAIER WASHING MASCH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310818626.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-05
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In the case of poor network or poor signal, the communication connection between smart home appliances and servers is unstable, resulting in communication failure.

Method used

By obtaining the position of the smart device and the control device information of the communication connection, it is determined whether the device is in the same area, and a message transmission path is generated based on the judgment results to ensure the stability of information transmission.

Benefits of technology

In the case of multiple control devices, stable information sharing between smart home appliances is realized, communication failure problem is avoided, and collaboration capabilities of the device interconnection system are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276646A_ABST
    Figure CN119276646A_ABST
Patent Text Reader

Abstract

The invention provides an information transmission method, a storage medium and a device interconnection system, the information transmission method is applied to the system, the system comprises at least one area, and each area comprises a control device and at least one electrical device in communication connection with the control device. The method comprises the following steps: acquiring data information of electrical equipment for sending information and data information of electrical equipment for receiving information; based on the data information, whether the electrical equipment sending the information and the electrical equipment receiving the information are located in the same area is judged; generating a corresponding information transmission path based on the judgment result; and executing information transmission based on the generated information transmission path. Whether the two devices are located in the same area or not is judged according to the data information of the electrical device sending the information and the electrical device receiving the information, and the corresponding information transmission path is generated according to the judgment result, so that the two devices execute information transmission through the generated information transmission path. And the stability of information transmission between the two pieces of equipment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of interconnection of household electrical appliances, and specifically provides an information transmission method, a storage medium and an appliance interconnection system. Background Art

[0002] At present, more and more smart home appliances have entered people's lives, bringing great convenience to people's lives, allowing various smart home appliances to be interconnected, and information sharing mostly adopts the way of accessing the Internet.

[0003] The communication method between smart home appliances in the prior art generally adopts a third-party Internet of Things server to obtain data from smart home appliances, make judgments on the obtained data, and then send execution instructions to the smart home appliances based on the judgment results. However, this communication method may cause communication failure between the server and the smart home appliances when the network is poor or the signal is poor, resulting in unstable communication connection between the server and the smart home appliances.

[0004] Accordingly, the art needs a new information transmission solution to solve the above problems. Summary of the invention

[0005] In order to overcome the above-mentioned defects, the present invention is proposed to provide an information transmission method, storage medium and device interconnection system to solve or at least partially solve the technical problem that the communication failure between the server and the smart home appliance may occur when the network is poor or the signal is poor, resulting in an unstable communication connection between the server and the smart home appliance.

[0006] In a first aspect, the present invention provides an information transmission method, which is applied to a device interconnection system, wherein the system includes at least one area, each area includes a control device and at least one electrical device communicatively connected to the control device, and the control device is used to realize information transmission between different areas and information transmission between electrical devices in the same area. The method includes the following steps: obtaining data information of electrical devices that send information and electrical devices that receive information among the electrical devices; based on the obtained data information, determining whether the electrical devices that send information and the electrical devices that receive information are in the same area; based on the determination result, generating a corresponding information transmission path; and performing information transmission based on the generated information transmission path.

[0007] In a technical solution of the above-mentioned information transmission method, the data information of the electrical device sending information and the electrical device receiving information in the electrical device includes: obtaining the location of the electrical device sending information and the electrical device receiving information; and / or, obtaining a control device that is communicatively connected to the electrical device sending information, and obtaining a control device that is communicatively connected to the electrical device receiving information.

[0008] In a technical solution of the above-mentioned information transmission method, judging whether the electrical device sending information and the electrical device receiving information are in the same area based on the acquired data information includes: judging that the electrical device sending information and the electrical device receiving information are in the same area based on the positions of the electrical device sending information and the electrical device receiving information; or, judging whether the control device communicatively connected to the electrical device sending information and the control device communicatively connected to the electrical device receiving information are the same control device, and if they are different control devices, judging that the electrical device sending information and the electrical device receiving information are not in the same area; otherwise, judging that they are in the same area.

[0009] In a technical solution of the above-mentioned information transmission method, before obtaining the position of the electrical device sending information and the electrical device receiving information, the method also includes: obtaining the number and position of all control devices and all electrical devices in the system; based on the obtained number and position, drawing a position distribution map of all control devices and all electrical devices in the system.

[0010] In a technical solution of the above-mentioned information transmission method, the device location distribution map of all control devices and all electrical devices in the system based on the acquired number and position includes: if the number of the control devices is equal to 1, taking the control device as the origin, obtaining the distance of the electrical device from the control device based on the position of the electrical device, and drawing a first device location distribution map based on the distance; if the number of the control devices is greater than 1, taking any one of the control devices as the origin, and drawing a control device location distribution map based on the distance of each control device from the any one of the control devices, and taking any one of the control devices as the origin, obtaining the distance of the electrical devices from the control device in the same area based on the positions of each electrical device in the same area as the control device, and drawing a second device location distribution map corresponding to the electrical devices in the respective areas of each control device based on the distance, or taking any one of the control devices as the origin, obtaining the distance of the remaining control devices and electrical devices from any one of the control devices as the origin based on the positions of the remaining control devices and electrical devices, and drawing a third device location distribution map based on the distance.

[0011] In a technical solution of the above-mentioned information transmission method, the generation of a corresponding information transmission path based on the judgment result includes: if the electrical device sending information and the electrical device receiving information are in the same area, then based on the first device location distribution map corresponding to the electrical device sending information or the electrical device receiving information and the location information of the electrical device sending information and the electrical device receiving information, the first information transmission path is determined; if the device sending information and the device receiving information are not in the same area, then based on the control device location distribution map, the second device location distribution map corresponding to the electrical device sending information, the second device location distribution map corresponding to the electrical device receiving information, and the control device that controls the electrical device sending information, the control device that controls the electrical device receiving information, and the location information of the electrical device sending information and the electrical device receiving information, the second information transmission path is determined, or, based on the third device location distribution map, the control device location distribution map, and the control device that controls the electrical device sending information, the control device that controls the electrical device receiving information, and the location information of the electrical device sending information and the electrical device receiving information, the second information transmission path is determined.

[0012] In a technical solution of the above-mentioned information transmission method, determining the first information transmission path includes: based on the first device location distribution map, the location information of the electrical device sending information and the electrical device receiving information, and the shortest distance principle, determining the first transfer device used for transmission transfer between the electrical device sending information and the electrical device receiving information; obtaining the first information transmission path based on the electrical device sending information, the first transfer device, and the electrical device receiving information; or, determining the second information transmission path includes: determining the transmission path between control devices based on the control device corresponding to the electrical device sending information and the control device corresponding to the electrical device receiving information; determining the transmission path within the area where the electrical device sending information is located based on the electrical device sending information and the control device corresponding to the electrical device sending information; determining the transmission path within the area where the electrical device receiving information is located based on the electrical device receiving information and the control device corresponding to the electrical device receiving information; determining the second information transmission path based on the transmission path between the control devices, the transmission path within the area where the electrical device sending information is located, and the transmission path within the area where the electrical device receiving information is located.

[0013] In a technical solution of the above-mentioned information transmission method, determining the transmission path between control devices includes: determining the transmission path between control devices based on a control device location distribution map, a control device corresponding to the electrical device sending information, a control device corresponding to the electrical device receiving information, and a principle of the shortest distance; and / or determining the transmission path within the area where the electrical device sending information is located includes: within the area where the electrical device sending information is located, based on the second device location distribution map or the third device location distribution map corresponding to the electrical device sending information, the location of the electrical device sending information, the location of the control device within the area, and the principle of the shortest distance, determining a second transfer device within the area where the electrical device sending information is located, and based on the The electrical device that sends information, the second transfer device, and the control device in the area determine the transmission path in the area where the electrical device that sends information is located; and / or, determining the transmission path in the area where the electrical device that receives information is located includes: in the area where the electrical device that receives information is located, based on the second device location distribution map or the third device location distribution map corresponding to the electrical device that receives information, the location of the electrical device that receives information, the location of the control device in the area, and the shortest distance principle, determining the third transfer device in the area where the electrical device that receives information is located; and determining the transmission path in the area where the electrical device that receives information is located based on the electrical device that receives information, the third transfer device, and the control device in the area.

[0014] In a second aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored in the computer-readable storage medium, wherein the program codes are suitable for being loaded and run by a processor to execute the information transmission method described in any one of the technical solutions of the above-mentioned information transmission method.

[0015] In a third aspect, a device interconnection system is provided, the system comprising at least one area, wherein each area comprises a control device and at least one electrical device communicatively connected to the control device, the control device being used to realize information transmission between different areas, and information transmission between electrical devices within the area, the system further comprising a processor and a memory, the memory being suitable for storing multiple program codes, the program codes being suitable for being loaded and run by the processor to execute the information transmission method described in any one of the technical solutions of the above-mentioned information transmission method.

[0016] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects: by judging whether the two devices are in the same area based on the data information of the electrical device sending information and the electrical device receiving information, and generating a corresponding information transmission path according to the judgment result, so that information transmission is performed between the two devices through the generated information transmission path, thereby ensuring the stability of information transmission between the two devices and avoiding the problem of unstable communication connection between the server and the smart home appliance caused by communication failure between the server and the smart home appliance in the prior art when the network is poor or the signal is poor.

[0017] In the technical solution for implementing the present invention, a corresponding device location distribution map is drawn based on the number and location of all control devices and all electrical devices. Then, based on the corresponding device location distribution map and the location of each sending and receiving device and the shortest distance principle, the corresponding transfer device is determined to generate a corresponding information transmission path, thereby improving the efficiency of generating the information transmission path.

[0018] In the technical solution for implementing the present invention, a corresponding information transmission path is generated by determining whether the device sending information and the device receiving information are in the same area and a device location distribution map, so that when the device sending information and the device receiving information are in different areas, indirect information transmission is performed between the device sending information and the device receiving information according to the second information transmission path, thereby achieving stable information sharing between devices in different areas in the case of multiple control devices, thereby improving the collaboration capability between devices in the device interconnection system and avoiding the situation in the prior art where a third-party server is needed to achieve data transmission between electrical devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the figures are used to represent similar components, among which:

[0020] Figure 1 is a flowchart of main steps of an information transmission method according to an embodiment of the present invention;

[0021] Figure 2 is a schematic flow chart of steps for determining a first information transmission path according to an information transmission method according to an embodiment of the present invention;

[0022] Figure 3 is a schematic flow chart of steps for determining a second information transmission path according to an information transmission method according to an embodiment of the present invention;

[0023] Figure 4 It is a main structural block diagram of a device interconnection system according to an embodiment of the present invention.

[0024] Reference numerals list :

[0025] 400: device interconnection system; 401: processor; 402: memory; 403: program code. DETAILED DESCRIPTION

[0026] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0027] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and the like. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B", and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.

[0028] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart of the main steps of the information transmission method according to an embodiment of the present invention. Figure 1 As shown, the information transmission method in an embodiment of the present invention is applied to a device interconnection system, the system includes at least one area, each area includes a control device and at least one electrical device communicatively connected to the control device, the control device is used to realize information transmission between different areas, and information transmission between electrical devices in the area, the method mainly includes the following steps S101-step S104.

[0029] Step S101: acquiring data information of an electrical device that sends information and an electrical device that receives information among the electrical devices;

[0030] Specifically, in some embodiments, obtaining data information of the electrical device that sends information and the electrical device that receives information includes: obtaining the location of the electrical device that sends information and the electrical device that receives information; and / or obtaining a control device that is communicatively connected to the electrical device that sends information, and obtaining a control device that is communicatively connected to the electrical device that receives information.

[0031] Furthermore, in some embodiments, before obtaining the positions of the electrical devices that send information and the electrical devices that receive information, the method also includes: obtaining the number and positions of all control devices and all electrical devices in the system; and drawing a location distribution map of all control devices and all electrical devices in the system based on the obtained number and positions.

[0032] Specifically, in some embodiments, drawing the device location distribution map of all control devices and all electrical devices in the system based on the acquired number and position includes: if the number of control devices is equal to 1, taking the control device as the origin, obtaining the distance of the electrical device from the control device based on the position of the electrical device, and drawing a first device location distribution map based on the distance; if the number of control devices is greater than 1, taking any one control device as the origin, drawing a control device location distribution map based on the distance of each control device from the any one control device, and, taking any one control device as the origin, obtaining the distance of the electrical device from the control device in the same area based on the position of each electrical device in the same area as the control device, and drawing a second device location distribution map corresponding to the electrical devices in the respective areas of each control device based on the distance; or, taking any one control device as the origin, obtaining the distance of the remaining control devices and electrical devices from any control device as the origin based on the position of each remaining control device and electrical device, and drawing a third device location distribution map based on the distance.

[0033] In the above embodiment, the corresponding device location distribution map is drawn according to the number and location of all control devices and all electrical devices, and then the corresponding transfer device is determined based on the corresponding device location distribution map and the location of each sending and receiving device and the shortest distance principle, so as to generate the corresponding information transmission path, thereby improving the efficiency of generating the information transmission path.

[0034] Step S102: Based on the acquired data information, determine whether the electrical device sending the information and the electrical device receiving the information are in the same area;

[0035] Specifically, in some embodiments, judging whether the electrical device sending information and the electrical device receiving information are in the same area based on the acquired data information includes: judging whether the electrical device sending information and the electrical device receiving information are in the same area based on the positions of the electrical device sending information and the electrical device receiving information; or judging whether a control device communicatively connected to the electrical device sending information and a control device communicatively connected to the electrical device receiving information are the same control device; if they are different control devices, judging that the electrical device sending information and the electrical device receiving information are not in the same area; otherwise, judging that they are in the same area.

[0036] Step S103: generating a corresponding information transmission path based on the judgment result;

[0037] Specifically, in some embodiments, generating a corresponding information transmission path based on the judgment result includes: if the electrical device sending information and the electrical device receiving information are in the same area, then determining the first information transmission path based on the first device location distribution map or the second device location distribution map corresponding to the electrical device sending information or the electrical device receiving information and the location information of the electrical device sending information and the electrical device receiving information; if the device sending information and the device receiving information are not in the same area, then determining the second information transmission path based on the control device location distribution map, the second device location distribution map corresponding to the electrical device sending information, the second device location distribution map corresponding to the electrical device receiving information, and the control device that controls the electrical device sending information, the control device that controls the electrical device receiving information, and the location information of the electrical device sending information and the electrical device receiving information, or determining the second information transmission path based on the third device location distribution map, the control device location distribution map, and the control device that controls the electrical device sending information, the control device that controls the electrical device receiving information, and the location information of the electrical device sending information and the electrical device receiving information.

[0038] In the above embodiment, the corresponding information transmission path is generated by determining whether the device sending information and the device receiving information are in the same area and the device location distribution map, so that when the device sending information and the device receiving information are in different areas, indirect information transmission is performed between the device sending information and the device receiving information according to the second information transmission path, thereby achieving stable information sharing between devices in different areas in the case of multiple control devices, thereby improving the collaboration ability between devices in the device interconnection system and avoiding the situation in the prior art where a third-party server is needed to achieve data transmission between electrical devices.

[0039] Step S104: and based on the generated information transmission path, executing information transmission.

[0040] Based on the above steps S101 to S104, it is determined whether the two devices are in the same area based on the data information of the electrical device sending the information and the electrical device receiving the information, and a corresponding information transmission path is generated based on the determination result, so that information transmission is performed between the two devices through the generated information transmission path, thereby ensuring the stability of information transmission between the two devices and avoiding the problem in the prior art that the communication between the server and the smart home appliance fails when the network is poor or the signal is poor, resulting in unstable communication connection between the server and the smart home appliance.

[0041] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.

[0042] See attached Figure 2 , Figure 2 FIG. 1 is a flow chart of the steps of determining a first information transmission path according to an information transmission method according to an embodiment of the present invention. Figure 2 As shown, the information transmission method in the embodiment of the present invention mainly includes the following steps S201-S202 for determining the first information transmission path.

[0043] Step S201: determining a first transfer device for transmission transfer between the electrical device sending information and the electrical device receiving information based on the first device location distribution map or the second device location distribution map, the location information of the electrical device sending information and the electrical device receiving information, and the shortest distance principle;

[0044] Specifically, in some embodiments, the location information includes at least location coordinates.

[0045] Specifically, in some embodiments, the shortest distance principle may adopt the shortest distance principle in the prior art. The selection of the shortest distance principle here is only an exemplary description. In actual testing, those skilled in the art may make a selection according to actual needs. As long as the distance between the device at the transmitting end and the device at the receiving end can be minimized, that is, the information transmission path between the device at the transmitting end and the device at the receiving end can be minimized, it will not be repeated here.

[0046] Further, in some embodiments, before step S201, determining the first information transmission path also includes: based on the first device location distribution map or the second device location distribution map corresponding to the electrical device sending information or the electrical device receiving information, the location information of the electrical device sending information and the electrical device receiving information, and the shortest distance principle, obtaining the electrical device with the shortest distance to the electrical device sending information, and judging whether the electrical device with the shortest distance to the electrical device sending information is the electrical device receiving information: if so, determining that there is no first transfer device between the electrical device sending information and the electrical device receiving information, and determining the first information transmission path based on the electrical device sending information and the electrical device receiving information; if not, determining that there is a first transfer device set including at least one transfer device between the electrical device sending information and the electrical device receiving information, and executing steps S201-S202 to determine the first information transmission path.

[0047] Specifically, in some embodiments, when it is determined that there is a first transfer device set including at least one transfer device between the electrical device sending information and the electrical device receiving information, determining the first transfer device set between the electrical device sending information and the electrical device receiving information includes: taking the electrical device with the shortest distance to the electrical device sending information as the first device in the first transfer device set, and based on the device location distribution map corresponding to the first device, the location information of the first device and the shortest distance principle, determining the electrical device with the shortest distance to the first device, and judging whether the electrical device with the shortest distance to the first device is the electrical device receiving information: if so, determining that the first transfer device set between the electrical device sending information and the electrical device receiving information includes the first device; if not, taking the electrical device with the shortest distance to the first device as the second device in the first transfer device set, and obtaining the device for the next information transmission;

[0048] Among them, the device for obtaining the next information transmission includes: determining the electrical device with the shortest distance to the second device based on the device location distribution map corresponding to the second device, the location information of the second device and the shortest distance principle; and judging whether the electrical device with the shortest distance to the second device is the electrical device receiving information: if so, determining that the first transfer device set between the electrical device sending information and the electrical device receiving information includes the first device and the second device; if not, taking the electrical device with the shortest distance to the second device as the third device of the first transfer device set, and obtaining the device for the next information transmission; and so on, until the next information transmission device obtained is the electrical device receiving information, and determining the first transfer device set between the electrical device sending information and the electrical device receiving information.

[0049] Step S202: obtaining a first information transmission path based on the electrical device sending information, the first transfer device, and the electrical device receiving information.

[0050] Specifically, in some embodiments, a first information transmission path is obtained based on the electrical device that sends information, the first transfer device set, and the electrical device that receives information.

[0051] See attached Figure 3 , Figure 3 FIG. 1 is a flow chart of the steps of determining a second information transmission path according to an information transmission method of an embodiment of the present invention. Figure 3 As shown, the information transmission method for determining the second information transmission path in the embodiment of the present invention mainly includes the following steps S301 to 304.

[0052] Step S301: determining a transmission path between control devices based on a control device corresponding to the electrical device sending information and a control device corresponding to the electrical device receiving information;

[0053] Specifically, in some embodiments, determining the transmission path between the control devices includes: determining the transmission path between the control devices based on a control device location distribution map, a control device corresponding to the electrical device sending information, a control device corresponding to the electrical device receiving information, and a shortest distance principle;

[0054] Specifically, in some embodiments, based on the control device location distribution map, the locations of the control device corresponding to the electrical device sending information, the control device corresponding to the electrical device receiving information, and the shortest distance principle, the control device with the shortest distance to the control device corresponding to the electrical device sending information is determined, and it is judged whether the control device with the shortest distance to the control device corresponding to the electrical device sending information is the control device corresponding to the electrical device receiving information: if so, based on the control device corresponding to the electrical device sending information and the control device corresponding to the electrical device receiving information, the transmission path between the control devices is determined; if not, the control device with the shortest distance to the control device corresponding to the electrical device sending information is used as the first transit control device, and based on the control device location distribution map Figure, the location information of the first relay control device and the shortest distance principle, determine the control device with the shortest distance to the first relay control device, and judge whether the control device with the shortest distance to the first relay control device is the control device corresponding to the electrical device receiving information: if so, then based on the control device corresponding to the electrical device sending information, the first relay control device and the control device corresponding to the electrical device receiving information, determine the transmission path between the control devices; if not, take the control device with the shortest distance to the first relay control device as the second relay control device, and based on the control device location distribution map, the location information of the second relay control device and the shortest distance principle, determine the control device with the shortest distance to the second relay control device, and obtain the control device for the next information transmission;

[0055] Among them, the control device for obtaining the next information transmission includes: judging whether the control device with the shortest distance from the second relay control device is the control device corresponding to the electrical device receiving information: if so, determining the transmission path between the control devices based on the control device corresponding to the electrical device sending information, the first relay control device, the second relay control device and the control device corresponding to the electrical device receiving information; if not, taking the control device with the shortest distance from the second relay control device as the third relay control device, and obtaining the control device for the next information transmission; and so on, until the device for the next information transmission obtained is the electrical device receiving information, and determining the transmission path between the control devices based on the control device corresponding to the electrical device sending information, all the relay control devices and the control device corresponding to the electrical device receiving information.

[0056] Step S302: determining a transmission path within the area where the electrical device sending information is located based on the electrical device sending information and a control device corresponding to the electrical device sending information;

[0057] Specifically, in some embodiments, determining the transmission path within the area where the electrical device sending information is located includes: within the area where the electrical device sending information is located, based on the second device location distribution map or the third device location distribution map corresponding to the electrical device sending information, the location of the electrical device sending information, the location of the control device within the area, and the shortest distance principle, determining the second transfer device within the area where the electrical device sending information is located, and determining the transmission path within the area where the electrical device sending information is located based on the electrical device sending information, the second transfer device, and the control device within the area.

[0058] Specifically, in some embodiments, based on the second device location distribution map or the third device location distribution map corresponding to the electrical device sending information, the location of the electrical device sending information, the location of the control device in the area, and the shortest distance principle, the device with the shortest distance to the electrical device sending information is determined and it is judged whether the device with the shortest distance to the electrical device sending information is the control device in the area: if so, it is determined that there is no second transfer device between the electrical device sending information and the control device in the area, and based on the electrical device sending information and the control device in the area, the transmission path in the area where the electrical device sending information is located is determined; if not, it is determined that there is a second transfer device set including at least one transfer device between the electrical device sending information and the control device in the area.

[0059] Specifically, in some embodiments, when it is determined that there is at least one second transfer device set between the electrical device sending information and the control device in the area, determining the second transfer device set in the area where the electrical device sending information is located includes: taking the device with the shortest distance to the electrical device sending information as the first device of the second transfer device set, and based on the device location distribution map corresponding to the first device, the location information of the first device and the shortest distance principle, determining the device with the shortest distance to the first device, and judging whether the device with the shortest distance to the first device is the control device in the area: if so, determining that the second transfer device set between the electrical device sending information and the control device in the area includes the first device; if not, taking the electrical device with the shortest distance to the first device as the second device of the second transfer device set, and obtaining the device for the next information transmission;

[0060] Among them, the device for obtaining the next information transmission includes: determining the electrical device with the shortest distance to the second device based on the device location distribution map corresponding to the second device, the location information of the second device and the shortest distance principle; and judging whether the electrical device with the shortest distance to the second device is the control device in the area: if so, determining that the second transfer device set between the electrical device sending information and the control device in the area includes the first device and the second device; if not, taking the electrical device with the shortest distance to the second device as the third device of the second transfer device set, and obtaining the device for the next information transmission; and so on, until the next information transmission device obtained is the control device in the area, and determining the second transfer device set between the electrical device sending information and the control device in the area.

[0061] Specifically, in some embodiments, a transmission path within the area where the electrical device sending the information is located is determined based on the electrical device sending the information, the second transfer device set, and the control device within the area.

[0062] Step S303: determining a transmission path within the area where the electrical device receiving information is located based on the electrical device receiving information and a control device corresponding to the electrical device receiving information;

[0063] Specifically, in some embodiments, determining the transmission path within the area where the electrical device receiving information is located includes: within the area where the electrical device receiving information is located, based on the second device location distribution map or the third device location distribution map corresponding to the electrical device receiving information, the location of the electrical device receiving information, the location of the control device within the area, and the shortest distance principle, determining the third transfer device within the area where the electrical device receiving information is located; and determining the transmission path within the area where the electrical device receiving information is located based on the electrical device receiving information, the third transfer device, and the control device within the area.

[0064] Specifically, in some embodiments, based on the second device location distribution map or the third device location distribution map corresponding to the electrical device receiving information, the location of the electrical device receiving information, the location of the control device in the area, and the shortest distance principle, the device with the shortest distance to the electrical device receiving information is determined and it is judged whether the device with the shortest distance to the electrical device receiving information is the control device in the area: if so, it is determined that there is no third transfer device between the electrical device receiving information and the control device in the area, and based on the electrical device receiving information and the control device in the area, the transmission path in the area where the electrical device receiving information is located is determined; if not, it is determined that there is a third transfer device set including at least one transfer device between the electrical device receiving information and the control device in the area.

[0065] Specifically, in some embodiments, when it is determined that there is a third transfer device set including at least one transfer device between the electrical device receiving information and the control device in the area, determining the third transfer device set in the area where the electrical device receiving information is located includes: taking the device with the shortest distance to the electrical device receiving information as the first device of the third transfer device set, and based on the device location distribution map corresponding to the first device, the location information of the first device and the shortest distance principle, determining the device with the shortest distance to the first device, and judging whether the device with the shortest distance to the first device is the control device in the area: if so, determining that the third transfer device set between the electrical device receiving information and the control device in the area includes the first device; if not, taking the electrical device with the shortest distance to the first device as the second device of the third transfer device set, and obtaining the device for the next information transmission;

[0066] Among them, the device for obtaining the next information transmission includes: determining the electrical device with the shortest distance from the second device based on the device location distribution map corresponding to the second device, the location information of the second device and the shortest distance principle; and judging whether the electrical device with the shortest distance from the second device is the control device in the area: if so, determining that the third transfer device set between the electrical device receiving the information and the control device in the area includes the first device and the second device; if not, taking the electrical device with the shortest distance from the second device as the third device of the third transfer device set, and obtaining the device for the next information transmission; and so on, until the next information transmission device obtained is the control device in the area, and determining the third transfer device set between the electrical device receiving the information and the control device in the area.

[0067] Specifically, in some embodiments, a transmission path within the area where the electrical device receiving the information is located is determined based on the electrical device receiving the information, the third transfer device set, and the control device within the area.

[0068] Step S304: Determine a second information transmission path based on the transmission path between the control devices, the transmission path within the area where the electrical device sending the information is located, and the transmission path within the area where the electrical device receiving the information is located.

[0069] Here, an example is taken in which a control device and an electrical device are connected via Bluetooth, the control device is a router, and the electrical devices are a TV, a first air conditioner, a washing machine, a second air conditioner, and a clothes dryer: the electrical device with the shortest distance from the router is the TV, the electrical device with the shortest distance from the TV is the first air conditioner, the electrical device with the shortest distance from the first air conditioner is the second air conditioner, and the distance between the second air conditioner and the first air conditioner is the same as the distance between the first air conditioner and the TV, the electrical device with the shortest distance from the second air conditioner is the clothes dryer, and the electrical device with the shortest distance from the washing machine is the first air conditioner, wherein the distance between the washing machine and the first air conditioner is higher than the distance between the first air conditioner and the TV; when the washing machine is an electrical device that sends information and the clothes dryer is an electrical device that receives information, the washing machine sends information on the end of washing clothes to the first air conditioner, the first air conditioner sends the information to the second air conditioner and the TV respectively, and the second air conditioner sends the information to the clothes dryer, thereby realizing information transmission between the washing machine and the clothes dryer.

[0070] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the information transmission method of the above method embodiment, and the program can be loaded and run by the processor to implement the above information transmission method. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a memory device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.

[0071] Furthermore, the present invention also provides a device interconnection system.

[0072] See attached Figure 4 , Figure 4 FIG. 4 is a main structural block diagram of a device interconnection system 400 according to an embodiment of the present invention. Figure 4As shown, the device interconnection system 400 in the embodiment of the present invention includes at least one area, wherein each area includes a control device and at least one electrical device that is communicatively connected to the control device, and the control device is used to realize information transmission between different areas, and information transmission between electrical devices in the area, and the system also includes a processor 401 and a memory 402, the memory 402 can be configured to store a program code 403 for executing the information transmission method of the above method embodiment, and the processor 401 can be configured to execute the program code 403 in the memory 402, which includes but is not limited to the program code 403 for executing the information transmission method of the above method embodiment. For ease of explanation, only the part related to the embodiment of the present invention is shown, and for specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The control device can be a control device device formed by various electronic devices. In some embodiments, in one implementation, the description of the specific implementation function can refer to the description of steps S101-step S104.

[0073] The device interconnection system 400 is used to perform Figure 1 The information transmission method embodiment shown in the figure has similar technical principles, technical problems solved and technical effects produced. Technicians in this technical field can clearly understand that for the convenience and conciseness of description, the specific working process and related instructions of the device interconnection system 400 can refer to the contents described in the information transmission method embodiment, which will not be repeated here.

[0074] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor 401, the steps of each of the above method embodiments can be implemented. Among them, the computer program includes a computer program code 403, and the computer program code 403 can be in the form of source code, object code, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory 402, read-only memory 402, random access memory 402, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code 403. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electric carrier signal and telecommunication signal.

[0075] Further, in some embodiments, the communication connection between the control device and the electrical device herein adopts a wireless network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The control device may not be limited to a router, etc.; the electrical device may not be limited to a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0076] Further, it should be understood that since the setting of each module is only for illustrating the functional units of the device of the present invention, the physical devices corresponding to these modules may be the processor 401 itself, or a part of the software, a part of the hardware, or a part of the combination of software and hardware in the processor 401. Therefore, the number of each module in the figure is only schematic.

[0077] Those skilled in the art will appreciate that the modules in the device can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.

[0078] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. An information transmission method, applied to a device interconnection system, characterized in that: The system includes at least one area, wherein each area includes a control device and at least one electrical device in communication with the control device, the control device is used to realize information transmission between different areas and information transmission between electrical devices in the area, and the method includes the following steps: Acquire data information of the electrical device that sends information and the electrical device that receives information among the electrical devices; Based on the acquired data information, determining whether the electrical device sending the information and the electrical device receiving the information are in the same area; Based on the judgment result, a corresponding information transmission path is generated; And based on the generated information transmission path, information transmission is performed.

2. The information transmission method according to claim 1, characterized in that: The step of acquiring data information of the electrical device that sends information and the electrical device that receives information among the electrical devices comprises: Obtaining the location of the electrical device sending the information and the electrical device receiving the information; And / or, obtaining a control device that is communicatively connected to the electrical device that sends information, and obtaining a control device that is communicatively connected to the electrical device that receives information.

3. The information transmission method according to claim 2, characterized in that: The determining, based on the acquired data information, whether the electrical device sending the information and the electrical device receiving the information are in the same area comprises: Determining that the electrical device sending information and the electrical device receiving information are in the same area based on the locations of the electrical device sending information and the electrical device receiving information; Or, determine whether the control device that is communicatively connected to the electrical device that sends information and the control device that is communicatively connected to the electrical device that receives information are the same control device; if they are different control devices, determine that the electrical device that sends information and the electrical device that receives information are not in the same area; otherwise, determine that they are in the same area.

4. The information transmission method according to claim 2, characterized in that: Before obtaining the locations of the electrical device that sends information and the electrical device that receives information, the method further includes: Obtain the number and location of all control devices and all electrical devices in the system; Based on the acquired quantities and locations, a location distribution map of all control devices and all electrical devices in the system is drawn.

5. The information transmission method according to claim 4, characterized in that: Drawing a device location distribution map of all control devices and all electrical devices in the system based on the acquired quantity and location includes: If the number of the control devices is equal to 1, taking the control device as the origin, obtaining the distance between the electrical device and the control device based on the position of the electrical device, and drawing a first device location distribution map based on the distance; If the number of control devices is greater than 1, a control device position distribution map is drawn with any control device as the origin and based on the distance between each control device and the control device, and with any control device as the origin, the distance between the electrical devices in the same area and the control device is obtained based on the positions of each electrical device in the same area as the control device, and a second device position distribution map corresponding to the electrical devices in the area where each control device is located is drawn based on the distance, or, with any control device as the origin, the distance between the remaining control devices and electrical devices and any control device as the origin is obtained based on the positions of the remaining control devices and electrical devices, and a third device position distribution map is drawn based on the distance.

6. The information transmission method according to claim 5, characterized in that: The generating a corresponding information transmission path based on the judgment result includes: If the electrical device sending information and the electrical device receiving information are in the same area, determining the first information transmission path based on the first device location distribution map or the second device location distribution map corresponding to the electrical device sending information or the electrical device receiving information and the location information of the electrical device sending information and the electrical device receiving information; If the device sending information and the device receiving information are not in the same area, the second information transmission path is determined based on the control device location distribution map, the second device location distribution map corresponding to the electrical device sending information, the second device location distribution map corresponding to the electrical device receiving information, and the control device that controls the electrical device sending information, the control device that controls the electrical device receiving information, the electrical device sending information, and the electrical device receiving information. Alternatively, the second information transmission path is determined based on the third device location distribution map, the control device location distribution map, and the control device that controls the electrical device sending information, the control device that controls the electrical device receiving information, the electrical device sending information, and the electrical device receiving information.

7. The information transmission method according to claim 6, characterized in that: Determining the first information transmission path includes: Based on the first device location distribution map or the second device location distribution map, the location information of the electrical device sending information and the electrical device receiving information, and the shortest distance principle, determine a first transfer device for transmission transfer between the electrical device sending information and the electrical device receiving information; Based on the electrical device sending information, the first transfer device and the electrical device receiving information, a first information transmission path is obtained; Or, determining the second information transmission path includes: Determine a transmission path between the control devices based on the control device corresponding to the electrical device that sends the information and the control device corresponding to the electrical device that receives the information; Determine a transmission path within the area where the electrical device sending the information is located based on the electrical device sending the information and a control device corresponding to the electrical device sending the information; Determine, based on the electrical device receiving the information and a control device corresponding to the electrical device receiving the information, a transmission path within the area where the electrical device receiving the information is located; The second information transmission path is determined based on the transmission path between the control devices, the transmission path within the area where the electrical device sending the information is located, and the transmission path within the area where the electrical device receiving the information is located.

8. The information transmission method according to claim 7, characterized in that: The determining of the transmission path between the control devices comprises: Determine the transmission path between the control devices based on the control device location distribution map, the location of the control device corresponding to the electrical device sending information, the location of the control device corresponding to the electrical device receiving information, and the shortest distance principle; And / or, determining the transmission path within the area where the electrical device sending information is located includes: within the area where the electrical device sending information is located, based on the second device location distribution map or the third device location distribution map corresponding to the electrical device sending information, the location of the electrical device sending information, the location of the control device within the area, and the shortest distance principle, determining a second transfer device within the area where the electrical device sending information is located, and determining the transmission path within the area where the electrical device sending information is located based on the electrical device sending information, the second transfer device, and the control device within the area; And / or, determining the transmission path within the area where the electrical device receiving information is located includes: within the area where the electrical device receiving information is located, based on the second device location distribution map or the third device location distribution map corresponding to the electrical device receiving information, the location of the electrical device receiving information, the location of the control device within the area, and the shortest distance principle, determining the third transfer device within the area where the electrical device receiving information is located; and determining the transmission path within the area where the electrical device receiving information is located based on the electrical device receiving information, the third transfer device, and the control device within the area.

9. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the information transmission method according to any one of claims 1 to 8.

10. A device interconnection system, characterized in that: The system includes at least one area, each area includes a control device and at least one electrical device communicatively connected to the control device, the control device is used to realize information transmission between different areas, and information transmission between electrical devices within the area, the system also includes a processor and a memory, wherein the memory is suitable for storing multiple program codes, and the program code is suitable for being loaded and run by the processor to execute the information transmission method described in any one of claims 1 to 8.