CN108616353A - Network-building method and device - Google Patents

Network-building method and device Download PDF

Info

Publication number
CN108616353A
CN108616353A CN201810333786.7A CN201810333786A CN108616353A CN 108616353 A CN108616353 A CN 108616353A CN 201810333786 A CN201810333786 A CN 201810333786A CN 108616353 A CN108616353 A CN 108616353A
Authority
CN
China
Prior art keywords
machine
networking
secret key
request message
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810333786.7A
Other languages
Chinese (zh)
Inventor
张光旭
唐杰
叶铁英
玉维友
赖东锋
王文灿
李陈杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810333786.7A priority Critical patent/CN108616353A/en
Publication of CN108616353A publication Critical patent/CN108616353A/en
Priority to PCT/CN2018/120645 priority patent/WO2019196460A1/en
Pending legal-status Critical Current

Links

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

Abstract

The invention discloses a kind of network-building method and devices.Wherein, which includes:Receive the networking request message sent by least one interior machine;At least one interior machine is verified according to networking request message;In the case where determining that at least one interior machine is verified, the network where outer machine is added at least one interior machine carries out networking.The present invention solves the technical problem that multi-connected machine wireless networking reliability is relatively low in the related technology.

Description

Network-building method and device
Technical field
The present invention relates to multi-connected machine networking arts, in particular to a kind of network-building method and device.
Background technology
Since multi-connected machine is using the more and more of wireless communication mode, at project installation and commissioning scene, due to existing nothing Line signal is more, and multi-gang air-conditioner device internal-external machine does not have user interface (User Interface, abbreviation UI), leads to air conditioner Wireless networking it is extremely inconvenient, networking efficiency is low and easy error, is brought to the debugging of multi-connected machine engineering, after-sales service greatly tired It is difficult.
For the relatively low problem of the above-mentioned wireless networking reliability of multi-connected machine in the related technology, effective solution is not yet proposed at present Certainly scheme.
Invention content
An embodiment of the present invention provides a kind of network-building method and devices, at least to solve multi-connected machine wireless group in the related technology The relatively low technical problem of net reliability.
One side according to the ... of the embodiment of the present invention provides a kind of network-building method, including:It receives by least one interior machine The networking request message of transmission;At least one interior machine is verified according to the networking request message;Described in determination In the case that at least one interior machine is verified, the network where outer machine is added at least one interior machine carries out networking.
Optionally, before receiving the networking request message sent by least one interior machine, above-mentioned networking side Method further includes:Receive the secret key one for being verified at least one interior machine.
Optionally, carrying out verification at least one interior machine according to the networking request message includes:To the networking Request message is parsed, and the secret key two that the networking request message carries is obtained;According to the secret key one and the secret key two At least one interior machine is verified.
Optionally, carrying out verification at least one interior machine according to the secret key one and the secret key two includes:By institute It states secret key one and the secret key two is compared, obtain comparison result;It is the secret key one and described secret in the comparison result In the case that key two is identical, determine that at least one interior machine is verified.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of network device, including:First receives list Member, for receiving the networking request message sent by least one interior machine;Authentication unit, for according to the networking request message At least one interior machine is verified;First adding device, for determining what at least one interior machine was verified In the case of, the network where outer machine is added at least one interior machine carries out networking.
Optionally, above-mentioned network device further includes:Second receiving unit, for receiving by least one interior machine hair Before the networking request message sent, the secret key one for being verified at least one interior machine is received.
Optionally, the authentication unit includes:Parsing module is obtained for being parsed to the networking request message The secret key two that the networking request message carries;Authentication module, for according to the secret key one and the secret key two to it is described extremely A few interior machine is verified.
Optionally, the authentication module includes:Submodule is compared, for comparing the secret key one and the secret key two It is right, obtain comparison result;Determination sub-module, for being two identical feelings of the secret key one and the secret key in the comparison result Under condition, determine that at least one interior machine is verified.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of network-building method, including:Outside machine transmission group Net request message;Receive the response message sent by the outer machine, wherein the response message indicates the outer machine to described group Net request message is proved to be successful;Network where the outer machine is added according to the response message carries out networking.
Optionally, before sending networking request message to the outer machine, above-mentioned network-building method further includes:Receive for by The secret key two that the outer machine verifies the networking request message;The secret key two is compressed to the networking request message In.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of network device, including:Transmission unit is used Networking request message is sent in outside machine;Third receiving unit, for receiving the response message sent by the outer machine, wherein The response message indicates that the outer machine is proved to be successful the networking request message;Second adding device, for according to Network where the outer machine is added in response message carries out networking.
Optionally, above-mentioned network device further includes:4th receiving unit, for disappearing to the outer machine transmission networking request Before breath, the secret key two for being verified to the networking request message by the outer machine is received;Compression unit is used for institute Secret key two is stated to be compressed in the networking request message.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of storage medium, the storage medium includes The program of storage, wherein described program execute it is any one of above-mentioned described in network-building method.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of processor, the processor is for running Program, wherein described program run when execute it is any one of above-mentioned described in network-building method.
In embodiments of the present invention, the networking request message sent by least one interior machine using reception;It is asked according to networking Message is asked to verify at least one interior machine;It, will be at least one interior in the case where determining that at least one interior machine is verified The mode of the network progress networking where outer machine is added in machine, and the network-building method provided through the embodiment of the present invention may be implemented to needing The Intranet that outer net is added is verified the purpose of the correctness to ensure internal-external machine networking, and having reached outer machine can only allow it to test It demonstrate,proves at least one interior machine passed through and the technique effect that network carries out networking is added, and then it is wireless to solve multi-connected machine in the related technology The relatively low technical problem of networking reliability.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of group network system according to the ... of the embodiment of the present invention;
Fig. 2 is the schematic diagram of networking equipment 11 according to the ... of the embodiment of the present invention;
Fig. 3 is the flow chart of network-building method according to the ... of the embodiment of the present invention;
Fig. 4 is the schematic diagram of network device according to the ... of the embodiment of the present invention;
Fig. 5 is the flow chart of optional network-building method according to the ... of the embodiment of the present invention;
Fig. 6 is the schematic diagram of optional network device according to the ... of the embodiment of the present invention;And
Fig. 7 is the preferred flow charts of network-building method according to the ... of the embodiment of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product Or the other steps or unit that equipment is intrinsic.
For ease of description, the part noun or term that occur in the embodiment of the present invention are illustrated below:
Physical address (Media Access Control, abbreviation MAC):Refer to media access control or physical address, hard Part address, for defining the position of the network equipment.
Embodiment 1
Since multi-connected machine can be existed more using the more and more of wireless communication mode at project installation and commissioning scene Wireless signal, so that the wireless networking of air conditioner can be caused extremely inconvenient, networking efficiency is relatively low and does not allow error-prone, gives multi-connected machine Engineering debugging, after-sales service bring great inconvenience.
To solve the above-mentioned problems, a kind of group network system is proposed in embodiments of the present invention, and Fig. 1 is according to of the invention real A kind of schematic diagram of group network system of example is applied, as shown in Figure 1, the group network system may include:It is networking equipment 11, outer machine 13, interior (wherein, n is natural number, 1) n is more than or equal to by machine 15 and interior machine n;Above-mentioned networking equipment 11 can with outer machine 13 and interior machine 15 and Interior machine n is communicated respectively, and is then connected by wireless communication module between outer machine 13 and interior machine 15 and interior machine n.
Specifically, Fig. 2 is the schematic diagram of networking equipment 11 according to the ... of the embodiment of the present invention, as shown in Fig. 2, the networking equipment 11 may include:Power supply module 21, secret key module 23, communication module 25 and display module 27.
Wherein, power supply module 21 here is used to provide working power for the networking equipment 11, which can be with Including:Control module, liquid crystal backlight module;Secret key module 23 be mainly used for generate secret key, it should be noted that the secret key according to The outer machine physical address MAC of networking is needed to generate unique secret key;Communication module 25 is for networking equipment 11 and outer machine 13 and interior Communication between machine 15;Display module 27 is primarily used to provide the interactive interface with operating personnel, Dynamic Announce secret key module Communication data and group net state between 23 secret key, outer machine 13 and the interior machines 15 generated etc., which may include: Capacitance touch screen, chromatic liquid crystal screen, buzzer etc..
It is above-mentioned networking equipment 11 and outer machine 13, interior it should be noted that in order to ensure the efficiency and reliability of wireless networking Wire communication mode both may be used between machine 15 and interior machine n, wireless communication mode can also be used.
In addition, the networking equipment 11 is mainly used for multi-connected machine internal-external machine, for other kinds of air-conditioning, can equally fit With.
Embodiment 2
In order to solve the above-mentioned technical problem, according to embodiments of the present invention, a kind of embodiment of the method for network-building method is provided, It should be noted that step shown in the flowchart of the accompanying drawings can be in the department of computer science of such as a group of computer-executable instructions It is executed in system, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein Sequence execute shown or described step.
Fig. 3 is the flow chart of network-building method according to the ... of the embodiment of the present invention, as shown in figure 3, the network-building method includes as follows Step:
Step S302 receives the networking request message sent by least one interior machine.
Wherein, the networking request message is by the wireless networking solicited message for needing the interior machine for carrying out networking to send, the request It include key information in information.
Step S304 verifies at least one interior machine according to networking request message.
For example, can be verified to above-mentioned at least one interior machine according to the key information in networking request message.
In the case where determining that at least one interior machine is verified outer machine institute is added at least one interior machine by step S306 Network carry out networking.
Through the above steps, can be according to by needing the networking request message that at least one interior machine of networking is sent to determine It is no by it is above-mentioned need at least one interior machine of networking to be added to outer machine where network carry out in machine and outer machine networking.Relative to In the related technology, when multi-connected machine engineering is debugged, farther out, engineering site can have other wireless devices to distance between unit, and And there is no the interactive device of type of touch screens between interior machine and outer machine, and lead to that networking matching method is deficient, step is various, can not Effectively identification needs to carry out the drawbacks of interior machine of networking is with outer machine, and the network-building method provided through the embodiment of the present invention may be implemented To needing the Intranet that outer net is added to be verified the purpose of the correctness to ensure internal-external machine networking, having reached outer machine can only allow Its at least one interior machine being verified is added network and carries out the technique effect of networking, and then solves multi-connected machine in the related technology The relatively low technical problem of wireless networking reliability.
As an optional embodiment of the present invention, receive the networking request message that is sent by least one interior machine it Before, above-mentioned network-building method can also include:Receive the secret key one for being verified at least one interior machine.
For example, after the physical address MAC of the outer machine of networking as needed generates a unique secret key, it can be by the secret key It is sent to the outer machine for needing networking, outer machine can store the secret key onto outer machine controller storage device after receiving the secret key In in corresponding storage location, and be named as:Secret key one, the secret key one with it for pair carrying out at least one interior of networking Machine is verified.
As an optional embodiment of the present invention, being verified at least one interior machine according to networking request message can be with Including:Networking request message is parsed, the secret key two of networking request message carrying is obtained;It is right according to secret key one and secret key two At least one interior machine is verified.
In order to ensure the reliability of networking, when networking request message is sent to outer machine by way of broadcast, The networking request message can be compressed, and carry out cryptographic operation.Outer machine is being received by least one interior machine broadcast After networking request message, networking request message is needed to be parsed, obtains the secret key carried in networking request message two;According to At least one interior machine is verified in secret key one and the realization of secret key two.
Specifically, carrying out verification at least one interior machine according to secret key one and secret key two may include:By secret key one and secret Key two is compared, and obtains comparison result;In the case where comparison result is secret key one and identical secret key two, determine at least one Interior machine is verified.
The network-building method provided is provided through the invention, can be when engineering debug stage progress wireless networking, side Just networking operation quickly is carried out to the interior machine and outer machine that need networking, it is ensured that only satisfactory interior machine and outer machine could be into Row networking, avoid other adjacent unrelated equipments networking interfere and interior machine and outer machine networking missing.Alternatively, it is also possible in nothing The debugging of line multi-connected machine engineering stage and after-sales service stage high efficiency complete wireless networking with high reliability, accelerate engineering tune Examination progress promotes after-sales service efficiency, and then promotes user satisfaction.
Embodiment 3
The embodiment of the present invention additionally provides a kind of network device, it should be noted that networking provided in an embodiment of the present invention Device can be used for execute the embodiment of the present invention provided be used for network-building method.Below to networking provided in an embodiment of the present invention Device is introduced.
Fig. 4 is the schematic diagram of network device according to the ... of the embodiment of the present invention, as shown in figure 4, the network device may include: First receiving unit 41, authentication unit 43 and the first adding device 45.The network device is described in detail below.
First receiving unit 41, for receiving the networking request message sent by least one interior machine.
Authentication unit 43 is connect with above-mentioned first receiving unit 41, is used for according to networking request message at least one interior Machine is verified.
First adding device 45, connect with above-mentioned authentication unit 43, for determining what at least one interior machine was verified In the case of, the network where outer machine is added at least one interior machine carries out networking.
By above-described embodiment, the first receiving unit may be used, for receiving the networking sent by least one interior machine Request message;Authentication unit, for being verified at least one interior machine according to networking request message;First adding device is used In in the case where determining that at least one interior machine is verified, the network where outer machine is added at least one interior machine carries out group Net.Relative in the related technology, when multi-connected machine engineering is debugged, farther out, engineering site can have other nothings to distance between unit Line equipment, and there is no the interactive device of type of touch screens between interior machine and outer machine, and lead to networking matching method scarcity, step It is various, can not effectively recognize the drawbacks of interior machine and outer machine for needing to carry out networking, the networking dress provided through the embodiment of the present invention It sets and may be implemented, to the purpose for needing to be added the Intranet of outer net to be verified the correctness to ensure internal-external machine networking, to have reached outer Machine can only allow its at least one interior machine being verified that the technique effect of network progress networking is added, and then solve related skill The relatively low technical problem of multi-connected machine wireless networking reliability in art.
As an optional embodiment of the present invention, above-mentioned network device can also include:Second receiving unit is used for Before receiving the networking request message sent by least one interior machine, the secret key for being verified at least one interior machine is received One.
As an optional embodiment of the present invention, above-mentioned authentication unit may include:Parsing module, for being asked to networking It asks message to be parsed, obtains the secret key two of networking request message carrying;Authentication module, for right according to secret key one and secret key two At least one interior machine is verified.
As an optional embodiment of the present invention, above-mentioned authentication module includes:Submodule is compared, is used for one He of secret key Secret key two is compared, and obtains comparison result;Determination sub-module, for being two identical feelings of secret key one and secret key in comparison result Under condition, determine that at least one interior machine is verified.
Embodiment 4
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of network-building method, and Fig. 5 is according to of the invention real The flow chart of the optional network-building method of example is applied, as shown in figure 5, the network-building method includes:
Step S502, outside machine send networking request message.
Step S504 receives the response message sent by outer machine, wherein response message indicates outer machine to networking request message It is proved to be successful.
Step S506, network carries out networking where outer machine is added according to response message.
By above-described embodiment, networking request message is sent using by outside machine, networking request is received in outer machine After message, in the case that at least one interior machine to sending networking request message is verified, response message can be sent to above-mentioned At least one interior machine, the network where outer machine is added at least one interior machine being verified according to the response message carry out group Net.Relative in the related technology, when multi-connected machine engineering is debugged, farther out, engineering site can have other nothings to distance between unit Line equipment, and there is no the interactive device of type of touch screens between interior machine and outer machine, and lead to networking matching method scarcity, step It is various, can not effectively recognize the drawbacks of interior machine and outer machine for needing to carry out networking, the networking side provided through the embodiment of the present invention Method may be implemented, to the purpose for needing to be added the Intranet of outer net to be verified the correctness to ensure internal-external machine networking, to have reached outer Machine can only allow its at least one interior machine being verified that the technique effect of network progress networking is added, and then solve related skill The relatively low technical problem of multi-connected machine wireless networking reliability in art.
As an optional embodiment of the present invention, before outside machine sends networking request message, above-mentioned network-building method Can also include:Receive the secret key two for being verified to networking request message by outer machine;Secret key two is compressed to networking to ask It asks in message.
It specifically, can be secret by this after the physical address MAC of the outer machine of networking as needed generates a unique secret key Key is sent at least one interior machine for needing networking, and above-mentioned at least one interior machine is being received for being disappeared to networking request by outer machine After ceasing the secret key verified, it is stored in interior machine controller storage device, and the secret key is denoted as:Secret key two.In order to Realize the verification of outer machine and at least one interior machine, it is also necessary to which secret key two is compressed in networking request message.In addition, in order to improve Networking request message can be encrypted operation in the reliability of networking.Wherein, WEP encryptions may be used in cipher mode, also may be used To be encrypted using WAP.
Embodiment 5
The embodiment of the present invention additionally provides a kind of network device, it should be noted that networking provided in an embodiment of the present invention Device can be used for execute the embodiment of the present invention provided be used for network-building method.Below to networking provided in an embodiment of the present invention Device is introduced.
Fig. 6 is the schematic diagram of optional network device according to the ... of the embodiment of the present invention, as shown in fig. 6, the network device packet It includes:Transmission unit 61, third receiving unit 63 and the second adding device 65.The network device is described in detail below.
Transmission unit 61 sends networking request message for outside machine.
Third receiving unit 63 is connect with above-mentioned transmission unit 61, for receiving the response message sent by outer machine, In, response message indicates that outer machine is proved to be successful networking request message.
Second adding device 65 is connect with above-mentioned third receiving unit 63, for being added where outer machine according to response message Network carries out networking.
By above-described embodiment, transmission unit may be used, networking request message is sent for outside machine;Third receives single Member, for receiving the response message sent by outer machine, wherein response message indicates that outer machine is proved to be successful networking request message; Second adding device carries out networking for network where outer machine is added according to response message.Relative in the related technology, multi-joint When machine engineering is debugged, farther out, engineering site can have other wireless devices to distance, and not have between interior machine and outer machine between unit There is the interactive device of type of touch screens, and leads to that networking matching method is deficient, step is various, can not effectively recognize and needs to carry out group The drawbacks of interior machine of net is with outer machine, the network device provided through the embodiment of the present invention may be implemented to needing to be added in outer net Net is verified the purpose of the correctness to ensure internal-external machine networking, reached outer machine only and can allow its be verified at least one The technique effect that network carries out networking is added in a interior machine, and then it is relatively low to solve multi-connected machine wireless networking reliability in the related technology The technical issues of.
As an optional embodiment of the present invention, above-mentioned network device can also include:4th receiving unit is used for Before outside machine sends networking request message, the secret key two for being verified to networking request message by outer machine is received;Compression Unit, for secret key two to be compressed in networking request message.
Embodiment 6
The embodiment of the present invention additionally provides a kind of network-building method, and Fig. 7 is the excellent of network-building method according to the ... of the embodiment of the present invention Flow chart is selected, as shown in fig. 7, the network-building method includes:
Step S701, power supply module provide power supply, networking equipment operation.
Step S702 generates unique secret key according to the physical address MAC of outer machine.
Step S703, networking equipment are communicated with outer machine, and secret key is sent to outer machine.
Step S704, the secret key that outer machine storage receives.
Step S705, networking equipment are communicated at least one interior machine, and secret key is sent at least one interior machine.
Step S706, the secret key that at least one interior machine storage receives.
Step S707, outer machine and at least one interior machine carry out networking preparation state.
Networking request message is sent to outer machine by step S708, at least one interior machine by way of broadcast.
Step S709 judges whether the secret key carried in networking request message and the secret key stored in outer machine are consistent, obtain Judging result;In the case where the judgment result is yes, step S710 is executed, conversely, executing step S711.
Step S710, network where at least one interior machine is added to outer machine carry out networking, and internal-external machine networking is completed.
Step S711 refuses the corresponding interior machine of the networking request message and is added to network where outer machine.
The above-mentioned network-building method provided through the embodiment of the present invention, can by networking equipment respectively with need in networking Outer machine is communicated, and the secret key that the secret key module in networking equipment generates is sent to internal-external machine, internal-external machine is it is possible thereby to obtain Above-mentioned secret key carries during internal-external machine carries out networking in the networking request message of outer chance permission secret key and reception The identical interior machine of secret key is added in network, carries out networking, to realize interior networking between machine and outer machine.
Above-mentioned network device can also include processor and memory, above-mentioned first receiving unit 41, authentication unit 43, First adding devices 45 etc. are used as program unit storage in memory, are executed by processor stored in memory above-mentioned Program unit realizes corresponding function.
Include kernel in above-mentioned processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be arranged One or more, the network where outer machine is added at least one interior machine by adjusting kernel parameter carry out networking.
Above-mentioned memory may include the volatile memory in computer-readable medium, random access memory (RAM) and/or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes extremely A few storage chip.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of storage medium, and storage medium includes storage Program, wherein program executes any one of above-mentioned network-building method.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of processor, and processor is used to run program, Wherein, any one of above-mentioned network-building method is executed when program is run.
A kind of equipment is additionally provided in embodiments of the present invention, which includes processor, memory and be stored in storage On device and the program that can run on a processor, processor realize following steps when executing program:It receives by least one interior The networking request message that machine is sent;At least one interior machine is verified according to networking request message;It is determining at least one In the case that machine is verified, the network where outer machine is added at least one interior machine carries out networking.
A kind of computer program product is additionally provided in embodiments of the present invention, when being executed on data processing equipment, It is adapted for carrying out the program of initialization there are as below methods step:Receive the networking request message sent by least one interior machine;According to Networking request message verifies at least one interior machine;It, will at least in the case where determining that at least one interior machine is verified Network where outer machine is added in one interior machine carries out networking.
A kind of equipment is additionally provided in embodiments of the present invention, which includes processor, memory and be stored in storage On device and the program that can run on a processor, processor realize following steps when executing program:Outside machine sends networking and asks Seek message;Receive the response message sent by outer machine, wherein response message indicates that outer machine is proved to be successful networking request message; Network carries out networking where outer machine is added according to response message.
A kind of computer program product is additionally provided in embodiments of the present invention, when being executed on data processing equipment, It is adapted for carrying out the program of initialization there are as below methods step:Outside machine sends networking request message;Reception is answered by what outer machine was sent Answer message, wherein response message indicates that outer machine is proved to be successful networking request message;Net where outer machine is added according to response message Network carries out networking.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, Ke Yiwei A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple On unit.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (14)

1. a kind of network-building method, which is characterized in that including:
Receive the networking request message sent by least one interior machine;
At least one interior machine is verified according to the networking request message;
In the case where determining that at least one interior machine is verified, at least one interior machine is added to the net where outer machine Network carries out networking.
2. according to the method described in claim 1, it is characterized in that, receiving described group sent by least one interior machine Before net request message, further include:Receive the secret key one for being verified at least one interior machine.
3. according to the method described in claim 2, it is characterized in that, according to the networking request message to described at least one interior Machine carries out verification:
The networking request message is parsed, the secret key two that the networking request message carries is obtained;
At least one interior machine is verified according to the secret key one and the secret key two.
4. according to the method described in claim 3, it is characterized in that, according to the secret key one and the secret key two to it is described at least One interior machine carries out verification:
The secret key one and the secret key two are compared, comparison result is obtained;
In the case where the comparison result is the secret key one and the identical secret key two, determine that at least one interior machine is tested Card passes through.
5. a kind of network device, which is characterized in that including:
First receiving unit, for receiving the networking request message sent by least one interior machine;
Authentication unit, for being verified at least one interior machine according to the networking request message;
First adding device, in the case where determining that at least one interior machine is verified, will it is described it is at least one in Network where outer machine is added in machine carries out networking.
6. device according to claim 5, which is characterized in that further include:Second receiving unit, for receiving by described Before the networking request message that at least one interior machine is sent, receive secret for being verified at least one interior machine Key one.
7. device according to claim 6, which is characterized in that the authentication unit includes:
Parsing module obtains the secret key two that the networking request message carries for being parsed to the networking request message;
Authentication module, for being verified at least one interior machine according to the secret key one and the secret key two.
8. device according to claim 7, which is characterized in that the authentication module includes:
It compares submodule and obtains comparison result for the secret key one and the secret key two to be compared;
Determination sub-module, in the case where the comparison result is the secret key one and the identical secret key two, determining institute At least one interior machine is stated to be verified.
9. a kind of network-building method, which is characterized in that including:
Outside machine sends networking request message;
Receive the response message sent by the outer machine, wherein the response message indicates that the outer machine asks the networking Information authentication success;
Network where the outer machine is added according to the response message carries out networking.
10. according to the method described in claim 9, it is characterized in that, before sending networking request message to the outer machine, go back Including:
Receive the secret key two for being verified to the networking request message by the outer machine;
The secret key two is compressed in the networking request message.
11. a kind of network device, which is characterized in that including:
Transmission unit sends networking request message for outside machine;
Third receiving unit, for receiving the response message sent by the outer machine, wherein the response message indicates described outer Machine is proved to be successful the networking request message;
Second adding device carries out networking for network where the outer machine is added according to the response message.
12. according to the devices described in claim 11, which is characterized in that further include:
4th receiving unit, for before sending networking request message to the outer machine, receive for by the outer machine to institute State the secret key two that networking request message is verified;
Compression unit, for the secret key two to be compressed in the networking request message.
13. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Profit requires the network-building method described in any one of 1 to 4 and claim 9 to 10.
14. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Profit requires the network-building method described in any one of 1 to 4 and claim 9 to 10.
CN201810333786.7A 2018-04-13 2018-04-13 Network-building method and device Pending CN108616353A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810333786.7A CN108616353A (en) 2018-04-13 2018-04-13 Network-building method and device
PCT/CN2018/120645 WO2019196460A1 (en) 2018-04-13 2018-12-12 Networking method and device, storage medium, and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810333786.7A CN108616353A (en) 2018-04-13 2018-04-13 Network-building method and device

Publications (1)

Publication Number Publication Date
CN108616353A true CN108616353A (en) 2018-10-02

Family

ID=63660026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810333786.7A Pending CN108616353A (en) 2018-04-13 2018-04-13 Network-building method and device

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019196460A1 (en) * 2018-04-13 2019-10-17 珠海格力电器股份有限公司 Networking method and device, storage medium, and processor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115406053A (en) * 2022-09-02 2022-11-29 珠海格力电器股份有限公司 Communication method and device for indoor unit and outdoor unit of air conditioner, air conditioner and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104613590A (en) * 2013-11-05 2015-05-13 海尔集团公司 Air-conditioning wireless networking method
CN105091198A (en) * 2014-05-14 2015-11-25 青岛海尔空调电子有限公司 Method and device for realizing networking for wireless communication of indoor and outdoor units of air conditioner
CN106288133A (en) * 2015-06-03 2017-01-04 陕西华汇能源科技有限公司 A kind of residential central air-and control method thereof
CN106369754A (en) * 2016-09-12 2017-02-01 珠海格力电器股份有限公司 Indoor air conditioner and outdoor air conditioner matching method as well as indoor air conditioner
CN107504642A (en) * 2017-08-23 2017-12-22 广东美的制冷设备有限公司 Air-conditioner system, control method, outdoor unit and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616353A (en) * 2018-04-13 2018-10-02 珠海格力电器股份有限公司 Network-building method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104613590A (en) * 2013-11-05 2015-05-13 海尔集团公司 Air-conditioning wireless networking method
CN105091198A (en) * 2014-05-14 2015-11-25 青岛海尔空调电子有限公司 Method and device for realizing networking for wireless communication of indoor and outdoor units of air conditioner
CN106288133A (en) * 2015-06-03 2017-01-04 陕西华汇能源科技有限公司 A kind of residential central air-and control method thereof
CN106369754A (en) * 2016-09-12 2017-02-01 珠海格力电器股份有限公司 Indoor air conditioner and outdoor air conditioner matching method as well as indoor air conditioner
CN107504642A (en) * 2017-08-23 2017-12-22 广东美的制冷设备有限公司 Air-conditioner system, control method, outdoor unit and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019196460A1 (en) * 2018-04-13 2019-10-17 珠海格力电器股份有限公司 Networking method and device, storage medium, and processor

Also Published As

Publication number Publication date
WO2019196460A1 (en) 2019-10-17

Similar Documents

Publication Publication Date Title
CN104836780B (en) Data interactive method, checking terminal, server and system
CN104964399B (en) The address distribution method and device of air-conditioning equipment
CN104378342B (en) Many accounts verification method, Apparatus and system
CN108196867A (en) Device for upgrading firmware, equipment and its firmware upgrade method of equipment
CN107396360A (en) Block verification method and device
CN108369615A (en) Dynamic update CAPTCHA is addressed inquires to
CN109041262A (en) Data transmission method and relevant apparatus
US9141968B2 (en) System and method for redeeming an electronic promotion code at a point of sale
CN106780782B (en) Method, system and equipment based on the ticket checking scheme progress ticket checking that server is recommended
CN110071904A (en) A kind of detection method of car-mounted terminal and system, server and storage medium
CN110399717A (en) Key acquisition method and device, storage medium and electronic device
CN107798538A (en) One kind transaction accounting method and client
CN108616353A (en) Network-building method and device
CN110198296A (en) Method for authenticating and device, storage medium and electronic device
US20230192034A1 (en) Method for connecting bluetooth key to vehicle, vehicle bluetooth system, and bluetooth key
CN106385403A (en) User account registering method and device of self-service printing equipment
CN112398894A (en) Safety verification method and device for vehicle
CN108540552A (en) Apparatus interconnection method, apparatus, system, equipment and storage medium
CN108347629A (en) Video file processing method, device, server and storage medium
CN106682459A (en) Information safety device production method, information safety device production equipment and information safety device production system
CN106209751A (en) Service-oriented interface authentication method based on the operating system certificate of authority
CN106161452A (en) The sending method of identifying code and device
CN108626860A (en) The network-building method and device of multi-online air-conditioning system, air-conditioning system
CN108696530A (en) A kind of online encryption data safety evaluation method and device
CN107277054A (en) A kind of method and system of data integrity validation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181002

RJ01 Rejection of invention patent application after publication