WO2019196460A1 - 组网方法及装置、存储介质、处理器 - Google Patents

组网方法及装置、存储介质、处理器 Download PDF

Info

Publication number
WO2019196460A1
WO2019196460A1 PCT/CN2018/120645 CN2018120645W WO2019196460A1 WO 2019196460 A1 WO2019196460 A1 WO 2019196460A1 CN 2018120645 W CN2018120645 W CN 2018120645W WO 2019196460 A1 WO2019196460 A1 WO 2019196460A1
Authority
WO
WIPO (PCT)
Prior art keywords
networking
request message
secret key
internal machine
network
Prior art date
Application number
PCT/CN2018/120645
Other languages
English (en)
French (fr)
Inventor
张光旭
唐杰
叶铁英
玉维友
赖东锋
王文灿
李陈杰
Original Assignee
珠海格力电器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2019196460A1 publication Critical patent/WO2019196460A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/126Applying verification of the received information the source of the received data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless

Definitions

  • the present invention relates to the field of multi-network networking, and in particular to a networking method and device, a storage medium, and a processor.
  • the embodiment of the invention provides a networking method and device, a storage medium and a processor, so as to at least solve the technical problem that the reliability of the multi-line wireless networking in the related art is low.
  • a networking method including: receiving a networking request message sent by at least one internal machine; and verifying the at least one internal machine according to the networking request message; If it is determined that the at least one internal machine is verified, the at least one internal machine is added to the network where the external device is located for networking.
  • the networking method before the receiving the network request message sent by the at least one internal machine, the networking method further includes: receiving a key 1 for verifying the at least one internal machine.
  • the verifying the at least one internal machine according to the networking request message comprises: parsing the networking request message, and obtaining a secret key 2 carried in the networking request message; according to the secret key And verifying the at least one internal machine by the secret key two.
  • performing verification on the at least one internal machine according to the secret key one and the secret key two comprises: comparing the secret key one with the secret key two to obtain a comparison result; When the comparison result is that the secret key 1 and the secret key 2 are the same, it is determined that the at least one internal machine verification is passed.
  • a networking apparatus including: a first receiving unit, configured to receive a networking request message sent by at least one internal machine; and a verification unit, configured to use, according to the group
  • the network request message is used to verify the at least one internal machine.
  • the first adding unit is configured to join the at least one internal machine to the network where the external machine is located for networking after determining that the at least one internal machine passes the verification. .
  • the networking device further includes: a second receiving unit, configured to receive, after receiving the networking request message sent by the at least one internal machine, for verifying the at least one internal machine The secret key one.
  • a second receiving unit configured to receive, after receiving the networking request message sent by the at least one internal machine, for verifying the at least one internal machine The secret key one.
  • the verification unit includes: a parsing module, configured to parse the networking request message to obtain a secret key 2 carried by the networking request message; and a verification module, configured to use the The secret key 2 verifies the at least one internal machine.
  • the verification module includes: a comparison submodule, configured to compare the secret key 1 and the secret key 2 to obtain a comparison result; and determine a submodule for using the comparison result In the case that the secret key 1 and the secret key 2 are the same, it is determined that the at least one internal machine verifies the passage.
  • a networking method including: sending a network request message to a foreign machine; receiving a response message sent by the foreign machine, where the response message indicates the The external device successfully authenticates the network request message; and joins the network where the external device is located according to the response message to perform networking.
  • the networking method before the sending the network request message to the foreign machine, the networking method further includes: receiving a secret key 2 for verifying, by the foreign machine, the network request message; The key two is compressed into the networking request message.
  • a networking apparatus including: a sending unit, configured to send a networking request message to an external device; and a third receiving unit, configured to receive, sent by the foreign device a response message, wherein the response message indicates that the external device successfully authenticates the network request message; and the second adding unit is configured to join the network where the external device is located according to the response message to perform networking.
  • the networking device further includes: a fourth receiving unit, configured to receive, after sending the networking request message to the foreign machine, a secret for verifying the networking request message by the foreign machine a second key; a compression unit, configured to compress the secret key into the networking request message.
  • a fourth receiving unit configured to receive, after sending the networking request message to the foreign machine, a secret for verifying the networking request message by the foreign machine a second key
  • a compression unit configured to compress the secret key into the networking request message.
  • a storage medium comprising a stored program, wherein the program performs the networking method according to any one of the above.
  • a processor configured to run a program, wherein the program is executed to perform the networking method according to any one of the foregoing.
  • the network request message sent by the at least one internal machine is received; the at least one internal machine is verified according to the networking request message; and the at least one internal verification is determined if at least one internal machine is verified to pass.
  • the network is added to the network where the external device is located for networking.
  • the networking method provided by the embodiment of the present invention can implement the verification of the internal network that needs to be added to the external network to ensure the correctness of the internal and external unit networks, and achieve the purpose of the external machine. It only allows the technical effect of at least one internal machine that has passed the verification to join the network for networking, thereby solving the technical problem of low reliability of the multi-line wireless networking in the related art.
  • FIG. 1 is a schematic diagram of a networking system according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a networking device 11 according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a networking method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a networking device according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of an optional networking method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an optional networking device in accordance with an embodiment of the present invention.
  • FIG. 7 is a preferred flowchart of a networking method according to an embodiment of the present invention.
  • MAC Media Access Control
  • media access control or physical address, hardware address, used to define the location of the network device.
  • FIG. 1 is a schematic diagram of a networking system according to an embodiment of the present invention.
  • the networking system may include: The network device 11, the external device 13, the internal machine 15, and the internal machine n (where n is a natural number, n is greater than or equal to 1); the networking device 11 can communicate with the external device 13 and the internal machine 15 and the internal machine n respectively.
  • the external unit 13 and the internal unit 15 and the internal unit n are connected by a wireless communication module.
  • FIG. 2 is a schematic diagram of a networking device 11 according to an embodiment of the present invention.
  • the networking device 11 may include: a power supply module 21, a secret key module 23, a communication module 25, and a display module 27.
  • the power supply module 21 is configured to provide a working power supply for the networking device 11.
  • the power supply module 21 may include: a control module and a liquid crystal backlight module.
  • the secret key module 23 is mainly used to generate a secret key.
  • the secret key generates a unique key according to the physical MAC address of the external network that needs to be networked;
  • the communication module 25 is used for communication between the networking device 11 and the external device 13 and the internal machine 15;
  • the display module 27 is mainly used for providing and operating The interactive interface of the person, dynamically displaying the secret key generated by the secret key module 23, the communication data between the external device 13 and the internal machine 15, and the networking status, etc., the display module 27 may include: a capacitive touch screen, a color liquid crystal display, a bee Sounder and so on.
  • the networking device 11 and the external device 13, the internal device 15, and the internal device n may be wired or wireless.
  • the networking device 11 is mainly used for multi-line internal and external machines, and is applicable to other types of air conditioners.
  • a method embodiment of a networking method is provided. It should be noted that the steps shown in the flowchart of the drawing may be in a computer such as a set of computer executable instructions. The steps are performed in the system, and although the logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
  • FIG. 3 is a flowchart of a networking method according to an embodiment of the present invention. As shown in FIG. 3, the networking method includes the following steps:
  • Step S302 Receive a network request message sent by at least one internal machine.
  • the network request message is sent by the internal network that needs to be sent by the internal network, and the request information includes the key information.
  • Step S304 verifying at least one internal machine according to the networking request message.
  • the at least one internal machine may be verified according to the key information in the networking request message.
  • Step S306 in the case that it is determined that at least one internal machine is verified to pass, at least one internal machine is added to the network where the external machine is located for networking.
  • the method of the present invention provides a method for verifying the internal network that needs to be added to the external network to ensure the correctness of the internal and external unit networks. The purpose is to achieve the technical effect that at least one internal machine that the external machine only allows the authentication to join the network for networking, thereby solving the technical problem of low reliability of the multi-line wireless networking in the related art.
  • the networking method may further include: receiving a key 1 for verifying the at least one internal machine.
  • the key is sent to the external device that needs to be connected to the network, and the external device will use the key after receiving the key.
  • the storage is stored in a corresponding storage location on the storage device of the external controller, and is named as: a key 1.
  • the key is used to verify at least one internal machine that is networked with the same.
  • the verifying the at least one internal machine according to the networking request message may include: parsing the networking request message, and obtaining the secret key 2 carried in the networking request message; Key 2 verifies at least one internal machine.
  • the networking request message when the networking request message is sent to the external device through broadcast, the networking request message can be compressed and encrypted.
  • the external device After receiving the networking request message broadcast by the at least one internal machine, the external device needs to parse the network request message to obtain the secret key 2 carried in the networking request message; and implement at least one according to the secret key 1 and the secret key 2. The internal machine is verified.
  • verifying the at least one internal machine according to the key 1 and the secret key 2 may include: comparing the secret key 1 and the secret key 2 to obtain a comparison result; and comparing the result to the secret key 1 and the secret key 2 In the same case, it is determined that at least one internal machine passes the verification.
  • the internal and external machines that need to be networked can be conveniently and quickly operated to ensure that only the internal and external machines that meet the requirements are met. Networking can be performed to avoid network interference of adjacent unrelated devices and the lack of internal and external network.
  • the embodiment of the present invention further provides a networking device. It should be noted that the networking device provided by the embodiment of the present invention may be used to perform the networking method provided by the embodiment of the present invention. The networking device provided by the embodiment of the present invention is described below.
  • FIG. 4 is a schematic diagram of a networking device according to an embodiment of the present invention.
  • the networking device may include: a first receiving unit 41, a verification unit 43, and a first adding unit 45.
  • the networking device will be described in detail below.
  • the first receiving unit 41 is configured to receive a networking request message sent by at least one internal machine.
  • the verification unit 43 is connected to the first receiving unit 41 for verifying at least one internal machine according to the networking request message.
  • the first adding unit 45 is connected to the verification unit 43 and configured to join at least one internal machine to the network where the external device is located for networking when determining that at least one internal machine passes the verification.
  • the first receiving unit is configured to receive the networking request message sent by the at least one internal machine, and the verification unit is configured to verify the at least one internal machine according to the networking request message; the first adding unit, For determining that at least one internal machine passes the verification, at least one internal machine is added to the network where the external machine is located for networking.
  • the distance between the units is far away, there are other wireless devices on the project site, and there is no touch screen type interaction device between the internal machine and the external machine, which leads to lack of networking matching methods.
  • the network device provided by the embodiment of the present invention can implement the verification of the internal network that needs to be added to the external network to ensure the correctness of the internal and external unit networks, and the steps are numerous and cannot effectively identify the internal and external devices that need to be networked.
  • the purpose is to achieve the technical effect that at least one internal machine that the external machine only allows the authentication to join the network for networking, thereby solving the technical problem of low reliability of the multi-line wireless networking in the related art.
  • the networking device may further include: a second receiving unit, configured to receive, after receiving the networking request message sent by the at least one internal machine, to verify the at least one internal machine The secret key one.
  • the verification unit may include: a parsing module, configured to parse the networking request message, and obtain a secret key 2 carried in the networking request message; and a verification module, configured to use the secret key The secret key 2 verifies at least one internal machine.
  • the verification module includes: a comparison sub-module, configured to compare the key one and the secret key two to obtain a comparison result; and determining a sub-module for using the comparison result In the case where the secret key 1 and the secret key 2 are the same, it is determined that at least one internal machine verification is passed.
  • FIG. 5 is a flowchart of an optional networking method according to an embodiment of the present invention. As shown in FIG. 5, the networking method includes:
  • Step S502 sending a networking request message to the foreign machine.
  • Step S504 receiving a response message sent by the external device, where the response message indicates that the external device successfully authenticates the network request message.
  • step S506 the network is added to the network where the external device is located according to the response message.
  • the network device after the network device sends a network request message to the external device, after the external device receives the network request message, if at least one internal machine that sends the network request message passes the verification, a response message is sent to the foregoing. At least one internal machine, according to the response message, at least one internal machine that has passed the verification is added to the network where the external machine is located for networking.
  • the distance between the units is far away, there are other wireless devices on the project site, and there is no touch screen type interaction device between the internal machine and the external machine, which leads to lack of networking matching methods.
  • the method of the present invention provides a method for verifying the internal network that needs to be added to the external network to ensure the correctness of the internal and external unit networks.
  • the purpose is to achieve the technical effect that at least one internal machine that the external machine only allows the authentication to join the network for networking, thereby solving the technical problem of low reliability of the multi-line wireless networking in the related art.
  • the networking method may further include: receiving a secret key 2 for verifying the network request message by the foreign machine; The second is compressed into the networking request message.
  • the secret key is sent to at least one internal machine that needs to be set up, and the at least one internal machine is received for
  • the external device verifies the secret key of the networking request message, it is stored in the internal device controller storage device, and the secret key is recorded as: key 2.
  • the key 2 is also compressed into the networking request message.
  • the networking request message may be encrypted.
  • the encryption method may be WEP encryption or WAP encryption.
  • the embodiment of the present invention further provides a networking device. It should be noted that the networking device provided by the embodiment of the present invention may be used to perform the networking method provided by the embodiment of the present invention. The networking device provided by the embodiment of the present invention is described below.
  • FIG. 6 is a schematic diagram of an optional networking device according to an embodiment of the present invention. As shown in FIG. 6, the networking device includes: a transmitting unit 61, a third receiving unit 63, and a second adding unit 65. The networking device will be described in detail below.
  • the sending unit 61 is configured to send a networking request message to the external device.
  • the third receiving unit 63 is connected to the sending unit 61, and is configured to receive a response message sent by the external device, where the response message indicates that the external device successfully authenticates the network request message.
  • the second adding unit 65 is connected to the third receiving unit 63, and is configured to join the network where the external device is located according to the response message to perform networking.
  • the sending unit may be configured to send a network request message to the external device, and the third receiving unit is configured to receive the response message sent by the external device, where the response message indicates that the external device authenticates the network request message. Success; a second adding unit, configured to join the network where the external machine is located according to the response message to perform networking.
  • the distance between the units is far away, there are other wireless devices on the project site, and there is no touch screen type interaction device between the internal machine and the external machine, which leads to lack of networking matching methods.
  • the network device provided by the embodiment of the present invention can implement the verification of the internal network that needs to be added to the external network to ensure the correctness of the internal and external unit networks, and the steps are numerous and cannot effectively identify the internal and external devices that need to be networked.
  • the purpose is to achieve the technical effect that at least one internal machine that the external machine only allows the authentication to join the network for networking, thereby solving the technical problem of low reliability of the multi-line wireless networking in the related art.
  • the networking device may further include: a fourth receiving unit, configured to receive, before the sending of the networking request message by the external device, the verification, by the external device, the network request message is verified.
  • the secret key 2 is a compression unit, configured to compress the secret key 2 into the networking request message.
  • FIG. 7 is a flowchart of a networking method according to an embodiment of the present invention. As shown in FIG. 7, the networking method includes:
  • step S701 the power supply module provides power, and the networking device operates.
  • Step S702 generating a unique key according to the physical address MAC of the external device.
  • Step S703 the networking device communicates with the external device, and sends the secret key to the external device.
  • Step S704 the external machine stores the received key.
  • Step S705 The networking device communicates with at least one internal machine, and sends the secret key to at least one internal machine.
  • Step S706 at least one internal machine stores the received secret key.
  • Step S707 the external machine and the at least one internal machine perform a networking preparation state.
  • Step S708 the at least one internal machine sends the networking request message to the external device by means of broadcasting.
  • step S709 it is determined whether the secret key carried in the network request message is consistent with the secret key stored in the external device, and the determination result is obtained. If the determination result is yes, step S710 is performed; otherwise, step S711 is performed.
  • Step S710 adding at least one internal machine to the network where the external machine is located, performing networking, and completing the internal and external unit networks.
  • step S711 the internal device corresponding to the network request message is rejected and added to the network where the external device is located.
  • the networking method provided by the embodiment of the present invention can communicate with the internal and external devices that need to be networked through the networking device, and send the secret key generated by the secret key module in the networking device to the internal and external devices.
  • the above-mentioned secret key can be obtained.
  • the external machine allows the secret key to be added to the network with the same internal key that is carried in the received network request message, and the network is implemented, thereby implementing the internal machine. Networking with the external machine.
  • the networking device may further include a processor and a memory.
  • the first receiving unit 41, the verification unit 43, the first adding unit 45, and the like are all stored in the memory as a program unit, and the program stored in the memory is executed by the processor. Unit to achieve the corresponding function.
  • the above processor includes a kernel, and the kernel removes the corresponding program unit from the memory.
  • the kernel can be set to one or more.
  • at least one internal machine can be added to the network where the external machine is located for networking.
  • the above memory may include a form of non-persistent memory, random access memory (RAM) and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least A memory chip.
  • RAM random access memory
  • ROM read only memory
  • flash RAM flash memory
  • a storage medium comprising a stored program, wherein the program performs the networking method of any one of the above.
  • a processor configured to run a program, where the program is executed to perform the networking method of any one of the foregoing.
  • a device comprising: a processor, a memory, and a program stored on the memory and operable on the processor, the processor executing the program, the following steps are implemented: receiving at least one internal machine The network request message is sent; the at least one internal machine is verified according to the networking request message; and when at least one internal machine is determined to pass, at least one internal machine is added to the network where the external device is located for networking.
  • Also provided in an embodiment of the present invention is a computer program product, when executed on a data processing device, adapted to perform a process of initializing a method of receiving a network request message sent by at least one internal machine;
  • the network request message verifies the at least one internal machine; in the case that it is determined that at least one internal machine is verified, at least one internal machine is added to the network where the external machine is located for networking.
  • a device comprising: a processor, a memory, and a program stored on the memory and operable on the processor, the processor performing the following steps: sending the network to the external device The request message is received; the response message sent by the external device is received, wherein the response message indicates that the external machine successfully authenticates the network request message; and joins the network where the external machine is located according to the response message to perform networking.
  • a computer program product when executed on a data processing device, adapted to perform a process of initializing a method of sending a network request message to an external device; and receiving a message sent by the external device The response message, wherein the response message indicates that the external machine successfully authenticates the network request message; and joins the network where the external machine is located according to the response message to perform networking.
  • the disclosed technical contents may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of the unit may be a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种组网方法及装置、存储介质、处理器。其中,该组网方法包括:接收由至少一个内机发送的组网请求消息;根据组网请求消息对至少一个内机进行验证;在确定至少一个内机验证通过的情况下,将至少一个内机加入外机所在的网络进行组网。本发明解决了相关技术中多联机无线组网可靠性较低的技术问题。

Description

组网方法及装置、存储介质、处理器
本申请要求于2018年04月13日提交中国专利局、申请号为201810333786.7、申请名称“组网方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及多联机组网领域,具体而言,涉及一种组网方法及装置、存储介质、处理器。
背景技术
由于多联机采用无线通讯方式的越来越多,在工程安装调试现场,由于存在的无线信号较多,且多联机空调器内外机没有用户界面(User Interface,简称UI),导致空调器的无线组网极为不便,组网效率低且容易出错,给多联机工程调试、售后维修带来极大困难。
针对上述相关技术中多联机无线组网可靠性较低的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种组网方法及装置、存储介质、处理器,以至少解决相关技术中多联机无线组网可靠性较低的技术问题。
根据本发明实施例的一个方面,提供了一种组网方法,包括:接收由至少一个内机发送的组网请求消息;根据所述组网请求消息对所述至少一个内机进行验证;在确定所述至少一个内机验证通过的情况下,将所述至少一个内机加入外机所在的网络进行组网。
可选地,在接收由所述至少一个内机发送的所述组网请求消息之前,上述组网方法还包括:接收用于对所述至少一个内机进行验证的秘钥一。
可选地,根据所述组网请求消息对所述至少一个内机进行验证包括:对所述组网请求消息进行解析,得到所述组网请求消息携带的秘钥二;根据所述秘钥一和所述秘钥二对所述至少一个内机进行验证。
可选地,根据所述秘钥一和所述秘钥二对所述至少一个内机进行验证包括:将所述秘钥一和所述秘钥二进行比对,得到比对结果;在所述比对结果为所述秘钥一和所述秘钥二相同的情况下,确定所述至少一个内机验证通过。
根据本发明实施例的另外一个方面,还提供了一种组网装置,包括:第一接收单元,用于接收由至少一个内机发送的组网请求消息;验证单元,用于根据所述组网请求消息对所述至少一个内机进行验证;第一添加单元,用于在确定所述至少一个内机验证通过的情况下,将所述至少一个内机加入外机所在的网络进行组网。
可选地,上述组网装置还包括:第二接收单元,用于在接收由所述至少一个内机发送的所述组网请求消息之前,接收用于对所述至少一个内机进行验证的秘钥一。
可选地,所述验证单元包括:解析模块,用于对所述组网请求消息进行解析,得到所述组网请求消息携带的秘钥二;验证模块,用于根据所述秘钥一和所述秘钥二对所述至少一个内机进行验证。
可选地,所述验证模块包括:比对子模块,用于将所述秘钥一和所述秘钥二进行比对,得到比对结果;确定子模块,用于在所述比对结果为所述秘钥一和所述秘钥二相同的情况下,确定所述至少一个内机验证通过。
根据本发明实施例的另外一个方面,还提供了一种组网方法,包括:向外机发送组网请求消息;接收由所述外机发送的应答消息,其中,所述应答消息表示所述外机对所述组网请求消息验证成功;根据所述应答消息加入所述外机所在网络进行组网。
可选地,在向所述外机发送组网请求消息之前,上述组网方法还包括:接收用于由所述外机对所述组网请求消息进行验证的秘钥二;将所述秘钥二压缩到所述组网请求消息中。
根据本发明实施例的另外一个方面,还提供了一种组网装置,包括:发送单元,用于向外机发送组网请求消息;第三接收单元,用于接收由所述外机发送的应答消息,其中,所述应答消息表示所述外机对所述组网请求消息验证成功;第二添加单元,用于根据所述应答消息加入所述外机所在网络进行组网。
可选地,上述组网装置还包括:第四接收单元,用于在向所述外机发送组网请求消息之前,接收用于由所述外机对所述组网请求消息进行验证的秘钥二;压缩单元,用于将所述秘钥二压缩到所述组网请求消息中。
根据本发明实施例的另外一个方面,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序执行上述中任意一项所述的组网方法。
根据本发明实施例的另外一个方面,还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述中任意一项所述的组网方法。
在本发明实施例中,采用接收由至少一个内机发送的组网请求消息;根据组网请求消息对至少一个内机进行验证;在确定至少一个内机验证通过的情况下,将至少一个内机加入外机所在的网络进行组网的方式,通过本发明实施例提供的组网方法可以实现对需要加入外网的内网进行验证以保证内外机组网的正确性的目的,达到了外机仅会允许其验证通过的至少一个内机加入网络进行组网的技术效果,进而解决了相关技术中多联机无线组网可靠性较低的技术问题。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种组网系统的示意图;
图2是根据本发明实施例的组网设备11的示意图;
图3是根据本发明实施例的组网方法的流程图;
图4是根据本发明实施例的组网装置的示意图;
图5是根据本发明实施例的可选的组网方法的流程图;
图6是根据本发明实施例的可选的组网装置的示意图;以及
图7是根据本发明实施例的组网方法的优选流程图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在 这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
为了便于描述,下面对本发明实施例中出现的部分名词或者术语进行说明:
物理地址(Media Access Control,简称MAC):是指媒体访问控制,或物理地址、硬件地址,用来定义网络设备的位置。
实施例1
由于多联机采用无线通讯方式的越来越多,在工程安装调试现场,会存在较多的无线信号,从而会导致空调器的无线组网极为不便,组网效率较低且不容易出错,给多联机工程调试、售后维修带来极大的不便。
为了解决上述问题,在本发明实施例中提出了一种组网系统,图1是根据本发明实施例的一种组网系统的示意图,如图1所示,该组网系统可以包括:组网设备11、外机13、内机15以及内机n(其中,n为自然数,n大于等于1);上述组网设备11可与外机13以及内机15和内机n分别进行通讯,而外机13与内机15和内机n之间则通过无线通讯模块连接。
具体地,图2是根据本发明实施例的组网设备11的示意图,如图2所示,该组网设备11可以包括:供电模块21、秘钥模块23、通讯模块25以及显示模块27。
其中,这里的供电模块21用于为该组网设备11提供工作电源,该供电模块21可以包括:控制模块、液晶背光模块;秘钥模块23主要用于生成秘钥,需要说明的是,该秘钥根据需要组网的外机物理地址MAC生成唯一的秘钥;通讯模块25用于组网设备11与外机13和内机15之间的通讯;显示模块27主要是用来提供与操作人员的交互接口,动态显示秘钥模块23生成的秘钥、外机13和内机15之间的通讯数据以及组网状态等,该显示模块27可以包括:电容触摸屏、彩色液晶显示屏、蜂鸣器等。
需要说明的是,为了确保无线组网的效率和可靠性,上述组网设备11与外机13、内机15以及内机n之间既可以采用有线通讯方式,也可以采用无线通讯方式。
另外,该组网设备11主要用于多联机内外机,对于其他类型的空调,同样可以适用。
实施例2
为了解决上述技术问题,根据本发明实施例,提供了一种组网方法的方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
图3是根据本发明实施例的组网方法的流程图,如图3所示,该组网方法包括如下步骤:
步骤S302,接收由至少一个内机发送的组网请求消息。
其中,该组网请求消息由需要进行组网的内机发送的无线组网请求信息,该请求信息中包含秘钥信息。
步骤S304,根据组网请求消息对至少一个内机进行验证。
例如,可以根据组网请求消息中的秘钥信息对上述至少一个内机进行验证。
步骤S306,在确定至少一个内机验证通过的情况下,将至少一个内机加入外机所在的网络进行组网。
通过上述步骤,可以根据由需要组网的至少一个内机发送的组网请求消息确定是否将上述需要组网的至少一个内机添加到外机所在的网络进行内机与外机的组网。相对于相关技术中,在多联机工程调试时,机组之间距离较远,工程现场会存在其他无线设备,并且内机与外机之间没有触摸屏类型的交互设备,而导致组网配对方法匮乏、步骤繁多、无法有效辨识需要进行组网的内机与外机的弊端,通过本发明实施例提供的组网方法可以实现对需要加入外网的内网进行验证以保证内外机组网的正确性的目的,达到了外机仅会允许其验证通过的至少一个内机加入网络进行组网的技术效果,进而解决了相关技术中多联机无线组网可靠性较低的技术问题。
作为本发明一个可选的实施例,在接收由至少一个内机发送的组网请求消息之前,上述组网方法还可以包括:接收用于对至少一个内机进行验证的秘钥一。
例如,在根据需要组网的外机的物理地址MAC生成一个唯一的秘钥后,会将该秘钥发送给需要组网的外机,外机在接收到该秘钥后会将该秘钥存储到外机控制器存储设备上中对应的存储位置上,并将其命名为:秘钥一,该秘钥一用于对与其进行组网的至少一个内机进行验证。
作为本发明一个可选的实施例,根据组网请求消息对至少一个内机进行验证可以包括:对组网请求消息进行解析,得到组网请求消息携带的秘钥二;根据秘钥一和秘钥二对至少一个内机进行验证。
为了确保组网的可靠性,在通过广播的方式将组网请求消息发送至外机的时候,可以将该组网请求消息进行压缩,并进行加密操作。外机在接收到由至少一个内机广播的组网请求消息之后,需要组网请求消息进行解析,得到组网请求消息中携带的秘钥二;根据秘钥一和秘钥二实现对至少一个内机进行验证。
具体地,根据秘钥一和秘钥二对至少一个内机进行验证可以包括:将秘钥一和秘钥二进行比对,得到比对结果;在比对结果为秘钥一和秘钥二相同的情况下,确定至少一个内机验证通过。
通过本发明实施提供的组网方法,可以在工程调试阶段进行无线组网的时候,方便快捷地对需要组网的内机和外机进行组网操作,确保只有符合要求的内机和外机才能进行组网,避免相邻其他无关设备的组网干扰,以及内机和外机组网缺失。另外,也可以在无线多联机工程调试阶段以及售后维护阶段高效率、高可靠性地完成无线组网,加快工程调试进度,提升售后维护效率,进而提升用户满意度。
实施例3
本发明实施例还提供了一种组网装置,需要说明的是,本发明实施例提供的组网装置可以用于执行本发明实施例所提供的用于组网方法。以下对本发明实施例提供的组网装置进行介绍。
图4是根据本发明实施例的组网装置的示意图,如图4所示,该组网装置可以包括:第一接收单元41,验证单元43以及第一添加单元45。下面对该组网装置进行详细说明。
第一接收单元41,用于接收由至少一个内机发送的组网请求消息。
验证单元43,与上述第一接收单元41连接,用于根据组网请求消息对至少一个内机进行验证。
第一添加单元45,与上述验证单元43连接,用于在确定至少一个内机验证通过的情况下,将至少一个内机加入外机所在的网络进行组网。
通过上述实施例,可以采用第一接收单元,用于接收由至少一个内机发送的组网请求消息;验证单元,用于根据组网请求消息对至少一个内机进行验证;第一添加单元,用于在确定至少一个内机验证通过的情况下,将至少一个内机加入外机所在的网络进行组网。相对于相关技术中,在多联机工程调试时,机组之间距离较远,工程现场会存在其他无线设备,并且内机与外机之间没有触摸屏类型的交互设备,而导致组网配对方法匮乏、步骤繁多、无法有效辨识需要进行组网的内机与外机的弊端,通过 本发明实施例提供的组网装置可以实现对需要加入外网的内网进行验证以保证内外机组网的正确性的目的,达到了外机仅会允许其验证通过的至少一个内机加入网络进行组网的技术效果,进而解决了相关技术中多联机无线组网可靠性较低的技术问题。
作为本发明一个可选的实施例,上述组网装置还可以包括:第二接收单元,用于在接收由至少一个内机发送的组网请求消息之前,接收用于对至少一个内机进行验证的秘钥一。
作为本发明一个可选的实施例,上述验证单元可以包括:解析模块,用于对组网请求消息进行解析,得到组网请求消息携带的秘钥二;验证模块,用于根据秘钥一和秘钥二对至少一个内机进行验证。
作为本发明一个可选的实施例,上述验证模块包括:比对子模块,用于将秘钥一和秘钥二进行比对,得到比对结果;确定子模块,用于在比对结果为秘钥一和秘钥二相同的情况下,确定至少一个内机验证通过。
实施例4
根据本发明实施例的另外一个方面,还提供了一种组网方法,图5是根据本发明实施例的可选的组网方法的流程图,如图5所示,该组网方法包括:
步骤S502,向外机发送组网请求消息。
步骤S504,接收由外机发送的应答消息,其中,应答消息表示外机对组网请求消息验证成功。
步骤S506,根据应答消息加入外机所在网络进行组网。
通过上述实施例,采用通过向外机发送组网请求消息,在外机接收到该组网请求消息后,对发送组网请求消息的至少一个内机验证通过的情况下,会发送应答消息给上述至少一个内机,根据该应答消息将验证通过的至少一个内机加入外机所在的网络进行组网。相对于相关技术中,在多联机工程调试时,机组之间距离较远,工程现场会存在其他无线设备,并且内机与外机之间没有触摸屏类型的交互设备,而导致组网配对方法匮乏、步骤繁多、无法有效辨识需要进行组网的内机与外机的弊端,通过本发明实施例提供的组网方法可以实现对需要加入外网的内网进行验证以保证内外机组网的正确性的目的,达到了外机仅会允许其验证通过的至少一个内机加入网络进行组网的技术效果,进而解决了相关技术中多联机无线组网可靠性较低的技术问题。
作为本发明一个可选的实施例,在向外机发送组网请求消息之前,上述组网方法还可以包括:接收用于由外机对组网请求消息进行验证的秘钥二;将秘钥二压缩到组 网请求消息中。
具体地,在根据需要组网的外机的物理地址MAC生成一个唯一的秘钥后,会将该秘钥发送给需要组网的至少一个内机,上述至少一个内机在接收到用于由外机对组网请求消息进行验证的秘钥后,将其存储到内机控制器存储设备中,并将该秘钥记为:秘钥二。为了实现外机与至少一个内机的验证,还需要将秘钥二压缩到组网请求消息中。另外,为了提高组网的可靠性,可以对组网请求消息进行加密操作。其中,加密方式可以采用WEP加密,也可以采用WAP加密。
实施例5
本发明实施例还提供了一种组网装置,需要说明的是,本发明实施例提供的组网装置可以用于执行本发明实施例所提供的用于组网方法。以下对本发明实施例提供的组网装置进行介绍。
图6是根据本发明实施例的可选的组网装置的示意图,如图6所示,该组网装置包括:发送单元61,第三接收单元63以及第二添加单元65。下面对该组网装置进行详细说明。
发送单元61,用于向外机发送组网请求消息。
第三接收单元63,与上述发送单元61连接,用于接收由外机发送的应答消息,其中,应答消息表示外机对组网请求消息验证成功。
第二添加单元65,与上述第三接收单元63连接,用于根据应答消息加入外机所在网络进行组网。
通过上述实施例,可以采用发送单元,用于向外机发送组网请求消息;第三接收单元,用于接收由外机发送的应答消息,其中,应答消息表示外机对组网请求消息验证成功;第二添加单元,用于根据应答消息加入外机所在网络进行组网。相对于相关技术中,在多联机工程调试时,机组之间距离较远,工程现场会存在其他无线设备,并且内机与外机之间没有触摸屏类型的交互设备,而导致组网配对方法匮乏、步骤繁多、无法有效辨识需要进行组网的内机与外机的弊端,通过本发明实施例提供的组网装置可以实现对需要加入外网的内网进行验证以保证内外机组网的正确性的目的,达到了外机仅会允许其验证通过的至少一个内机加入网络进行组网的技术效果,进而解决了相关技术中多联机无线组网可靠性较低的技术问题。
作为本发明一个可选的实施例,上述组网装置还可以包括:第四接收单元,用于在向外机发送组网请求消息之前,接收用于由外机对组网请求消息进行验证的秘钥二; 压缩单元,用于将秘钥二压缩到组网请求消息中。
实施例6
本发明实施例还提供了一种组网方法,图7是根据本发明实施例的组网方法的优选流程图,如图7所示,该组网方法包括:
步骤S701,供电模块提供电源,组网设备运行。
步骤S702,根据外机的物理地址MAC生成唯一的秘钥。
步骤S703,组网设备与外机通讯,将秘钥发送给外机。
步骤S704,外机存储接收到的秘钥。
步骤S705,组网设备与至少一个内机通讯,将秘钥发送给至少一个内机。
步骤S706,至少一个内机存储接收到的秘钥。
步骤S707,外机和至少一个内机进行组网准备状态。
步骤S708,至少一个内机通过广播的方式将组网请求消息发送至外机。
步骤S709,判断组网请求消息中携带的秘钥与外机中存储的秘钥是否一致,得到判断结果;在判断结果为是的情况下,执行步骤S710,反之,执行步骤S711。
步骤S710,将至少一个内机添加到外机所在网络,进行组网,内外机组网完成。
步骤S711,拒绝该组网请求消息对应的内机添加到外机所在网络。
通过本发明实施例提供的上述组网方法,可以通过组网设备分别与需要组网的内外机进行通讯,将组网设备中的秘钥模块生成的秘钥发送给内外机,内外机由此可以获得上述秘钥,当内外机进行组网的过程中,外机会允许秘钥与接收的组网请求消息中携带的秘钥相同的内机添加到网络中,进行组网,从而实现内机与外机之间的组网。
上述的组网装置还可以包括处理器和存储器,上述第一接收单元41,验证单元43、第一添加单元45等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。
上述处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来将至少一个内机加入外机所在的网络进行组网。
上述存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少 一个存储芯片。
根据本发明实施例的另外一个方面,还提供了一种存储介质,存储介质包括存储的程序,其中,程序执行上述中任意一项的组网方法。
根据本发明实施例的另外一个方面,还提供了一种处理器,处理器用于运行程序,其中,程序运行时执行上述中任意一项的组网方法。
在本发明实施例中还提供了一种设备,该设备包括处理器、存储器及存储在存储器上并可以在处理器上运行的程序,处理器执行程序时实现以下步骤:接收由至少一个内机发送的组网请求消息;根据组网请求消息对至少一个内机进行验证;在确定至少一个内机验证通过的情况下,将至少一个内机加入外机所在的网络进行组网。
在本发明实施例中还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:接收由至少一个内机发送的组网请求消息;根据组网请求消息对至少一个内机进行验证;在确定至少一个内机验证通过的情况下,将至少一个内机加入外机所在的网络进行组网。
在本发明实施例中还提供了一种设备,该设备包括处理器、存储器及存储在存储器上并可以在处理器上运行的程序,处理器执行程序时实现以下步骤:向外机发送组网请求消息;接收由外机发送的应答消息,其中,应答消息表示外机对组网请求消息验证成功;根据应答消息加入外机所在网络进行组网。
在本发明实施例中还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:向外机发送组网请求消息;接收由外机发送的应答消息,其中,应答消息表示外机对组网请求消息验证成功;根据应答消息加入外机所在网络进行组网。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (14)

  1. 一种组网方法,包括:
    接收由至少一个内机发送的组网请求消息;
    根据所述组网请求消息对所述至少一个内机进行验证;
    在确定所述至少一个内机验证通过的情况下,将所述至少一个内机加入外机所在的网络进行组网。
  2. 根据权利要求1所述的方法,其中,在接收由所述至少一个内机发送的所述组网请求消息之前,还包括:接收用于对所述至少一个内机进行验证的秘钥一。
  3. 根据权利要求2所述的方法,其中,根据所述组网请求消息对所述至少一个内机进行验证包括:
    对所述组网请求消息进行解析,得到所述组网请求消息携带的秘钥二;
    根据所述秘钥一和所述秘钥二对所述至少一个内机进行验证。
  4. 根据权利要求3所述的方法,其中,根据所述秘钥一和所述秘钥二对所述至少一个内机进行验证包括:
    将所述秘钥一和所述秘钥二进行比对,得到比对结果;
    在所述比对结果为所述秘钥一和所述秘钥二相同的情况下,确定所述至少一个内机验证通过。
  5. 一种组网装置,包括:
    第一接收单元,设置为接收由至少一个内机发送的组网请求消息;
    验证单元,设置为根据所述组网请求消息对所述至少一个内机进行验证;
    第一添加单元,设置为在确定所述至少一个内机验证通过的情况下,将所述至少一个内机加入外机所在的网络进行组网。
  6. 根据权利要求5所述的装置,其中,还包括:第二接收单元,设置为在接收由所述至少一个内机发送的所述组网请求消息之前,接收用于对所述至少一个内机进行验证的秘钥一。
  7. 根据权利要求6所述的装置,其中,所述验证单元包括:
    解析模块,设置为对所述组网请求消息进行解析,得到所述组网请求消息携带的秘钥二;
    验证模块,设置为根据所述秘钥一和所述秘钥二对所述至少一个内机进行验证。
  8. 根据权利要求7所述的装置,其中,所述验证模块包括:
    比对子模块,设置为将所述秘钥一和所述秘钥二进行比对,得到比对结果;
    确定子模块,设置为在所述比对结果为所述秘钥一和所述秘钥二相同的情况下,确定所述至少一个内机验证通过。
  9. 一种组网方法,包括:
    向外机发送组网请求消息;
    接收由所述外机发送的应答消息,其中,所述应答消息表示所述外机对所述组网请求消息验证成功;
    根据所述应答消息加入所述外机所在网络进行组网。
  10. 根据权利要求9所述的方法,其中,在向所述外机发送组网请求消息之前,还包括:
    接收用于由所述外机对所述组网请求消息进行验证的秘钥二;
    将所述秘钥二压缩到所述组网请求消息中。
  11. 一种组网装置,包括:
    发送单元,设置为向外机发送组网请求消息;
    第三接收单元,设置为接收由所述外机发送的应答消息,其中,所述应答消息表示所述外机对所述组网请求消息验证成功;
    第二添加单元,设置为根据所述应答消息加入所述外机所在网络进行组网。
  12. 根据权利要求11所述的装置,其中,还包括:
    第四接收单元,设置为在向所述外机发送组网请求消息之前,接收用于由所述外机对所述组网请求消息进行验证的秘钥二;
    压缩单元,设置为将所述秘钥二压缩到所述组网请求消息中。
  13. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序执行权利要求1至4和权利要求9至10中任意一项所述的组网方法。
  14. 一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至4和权利要求9至10中任意一项所述的组网方法。
PCT/CN2018/120645 2018-04-13 2018-12-12 组网方法及装置、存储介质、处理器 WO2019196460A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810333786.7A CN108616353A (zh) 2018-04-13 2018-04-13 组网方法及装置
CN201810333786.7 2018-04-13

Publications (1)

Publication Number Publication Date
WO2019196460A1 true WO2019196460A1 (zh) 2019-10-17

Family

ID=63660026

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120645 WO2019196460A1 (zh) 2018-04-13 2018-12-12 组网方法及装置、存储介质、处理器

Country Status (2)

Country Link
CN (1) CN108616353A (zh)
WO (1) WO2019196460A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115406053A (zh) * 2022-09-02 2022-11-29 珠海格力电器股份有限公司 空调器内外机通信方法、装置、空调器及存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616353A (zh) * 2018-04-13 2018-10-02 珠海格力电器股份有限公司 组网方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105091198A (zh) * 2014-05-14 2015-11-25 青岛海尔空调电子有限公司 一种空调室内外机无线通信实现组网的方法和装置
CN106288133A (zh) * 2015-06-03 2017-01-04 陕西华汇能源科技有限公司 一种户式中央空调及其控制方法
CN106369754A (zh) * 2016-09-12 2017-02-01 珠海格力电器股份有限公司 空调的室内机和室外机的匹配方法以及室内机
CN107504642A (zh) * 2017-08-23 2017-12-22 广东美的制冷设备有限公司 空调器系统、控制方法、室外机和计算机可读存储介质
CN108616353A (zh) * 2018-04-13 2018-10-02 珠海格力电器股份有限公司 组网方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104613590B (zh) * 2013-11-05 2018-05-04 海尔集团公司 一种空调无线组网方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105091198A (zh) * 2014-05-14 2015-11-25 青岛海尔空调电子有限公司 一种空调室内外机无线通信实现组网的方法和装置
CN106288133A (zh) * 2015-06-03 2017-01-04 陕西华汇能源科技有限公司 一种户式中央空调及其控制方法
CN106369754A (zh) * 2016-09-12 2017-02-01 珠海格力电器股份有限公司 空调的室内机和室外机的匹配方法以及室内机
CN107504642A (zh) * 2017-08-23 2017-12-22 广东美的制冷设备有限公司 空调器系统、控制方法、室外机和计算机可读存储介质
CN108616353A (zh) * 2018-04-13 2018-10-02 珠海格力电器股份有限公司 组网方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115406053A (zh) * 2022-09-02 2022-11-29 珠海格力电器股份有限公司 空调器内外机通信方法、装置、空调器及存储介质

Also Published As

Publication number Publication date
CN108616353A (zh) 2018-10-02

Similar Documents

Publication Publication Date Title
WO2019120091A1 (zh) 身份认证方法、系统及计算设备
WO2017045539A1 (zh) 一种身份认证方法和设备
WO2021042860A1 (zh) 一种对设备进行绑定的方法和装置
CN110392014B (zh) 物联网设备之间的通信方法及装置
TW201812630A (zh) 區塊鏈身份系統
CN107079058A (zh) 区块链节点的业务执行方法、装置及节点设备
US20150051717A1 (en) Methods and system for joining a smart energy device to a zigbee network
WO2016150327A1 (zh) 终端的远程协助方法及装置、系统
TW201805846A (zh) 身份認證方法、裝置和系統
CN105099673A (zh) 一种授权方法、请求授权的方法及装置
WO2014161436A1 (zh) 电子签名令牌响应操作请求的方法及系统及电子签名令牌
CN111461720B (zh) 基于区块链的身份验证方法、装置、存储介质及电子设备
WO2020258252A1 (zh) 一种区块链数据的共识方法及相关设备
WO2019196460A1 (zh) 组网方法及装置、存储介质、处理器
CN112118239A (zh) 区块链共识方法及装置、电子设备、存储介质
WO2019134565A1 (zh) 基于窄带物联网的终端验证方法及装置
CN104899497B (zh) 不具有sam模块的身份证阅读装置、sam装置及系统
CN111861480B (zh) 一种流量检测模型交易方法、装置、电子设备及存储介质
CN106506515A (zh) 一种认证方法和装置
CN104168117A (zh) 一种语音数字签名方法
TW201906484A (zh) 一種通信方法和裝置
CN104993932A (zh) 一种提高签名安全性的方法
CN115964755B (zh) 数据授权及验证方法、装置、设备和存储介质
CN108364186A (zh) 需求信息的处理方法、装置、服务器及存储介质
CN109104774B (zh) 数据传输方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18914036

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18914036

Country of ref document: EP

Kind code of ref document: A1