CN105657040A - Inter-device intranet communication method and system - Google Patents

Inter-device intranet communication method and system Download PDF

Info

Publication number
CN105657040A
CN105657040A CN201610089258.2A CN201610089258A CN105657040A CN 105657040 A CN105657040 A CN 105657040A CN 201610089258 A CN201610089258 A CN 201610089258A CN 105657040 A CN105657040 A CN 105657040A
Authority
CN
China
Prior art keywords
address
service end
client
multicast
module
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.)
Granted
Application number
CN201610089258.2A
Other languages
Chinese (zh)
Other versions
CN105657040B (en
Inventor
华耀波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen cool flag Internet Co., Ltd.
Original Assignee
Shenzhen Beimei Interactive Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Beimei Interactive Technology Co Ltd filed Critical Shenzhen Beimei Interactive Technology Co Ltd
Priority to CN201610089258.2A priority Critical patent/CN105657040B/en
Publication of CN105657040A publication Critical patent/CN105657040A/en
Application granted granted Critical
Publication of CN105657040B publication Critical patent/CN105657040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of communication, and provides an inter-device intranet communication method and system, aims at solving the problem that the process of realizing the inter-device intranet communication through server transfer in the prior art depends on the connectivity of the whole link and needs the resource cost support. The method comprises the following steps: a preset multicast group is added at a server side, a preset multicast address and a preset multicast port are monitored; a client searches the server side through a multicast mode, the client and the server side acquire IP addresses of each other; and the client and the server side perform the data packet transmission through HTTP according to the acquired IP addresses. All devices in the intranet are discovered through the multicast mode, and the IP addresses of each other are acquired, so that the data transmission is performed between the devices through the HTTP, the inter-device intranet communication can be realized without depending on the server transfer, the arrival rate of the data transmission is guaranteed, the resource cost input caused by the utilization of the transfer server is avoided.

Description

The method and system of Network Communication in a kind of equipment room
Technical field
The present invention relates to communication technical field, particularly relate to the method and system of Network Communication in a kind of equipment room.
Background technology
Along with the fast development of Internet of Things, increasing Intelligent hardware emerges, and these Intelligent hardware can the terminal such as matching with mobile phone or flat board use, and conveniently realizes the control to various smart machines and monitoring. In early days, most of Intelligent hardware all adopt bluetooth as data transmission channel, but Bluetooth transmission mode is only applicable to short haul connection, have apart from upper limitation. Now, increasing Intelligent hardware begins to use WIFI (WirelessFidelity, Wireless Fidelity) to communicate, and it quickly can be networked based on existing family or public network, it is achieved closely or telecommunication.
The Intelligent hardware communication mode being currently based on WIFI is all generally realized by transit server, for instance device A to send the data to equipment B, then device A first has to transmit data to transfer server, then is transmitted to equipment B by transfer server. The opposite is also true is such. This communication mode relies on the connectedness of whole link, including between device A and server, and the connectivity of link between equipment B and server, if a wherein link signal difference or disconnection, just influence whether the proper communication of equipment room, time delay cannot be transmitted even to cause message to occur, the technology of transfer server realizes and safeguard being required for certain cost support simultaneously.
Summary of the invention
It is an object of the invention to provide the method and system of Network Communication in a kind of equipment room, aim to solve the problem that the process owing to being realized Network Communication in equipment room by transit server existed in prior art relies on the connectedness of whole link, thus causing the too high problem of resources costs.
A first aspect of the present invention, it is provided that a kind of method of Network Communication in equipment room, including:
Service end adds preset multicast group, and default multicast address and the multicast port preset are monitored;
Client searches described service end by multicast mode, and obtains mutually the internet protocol address of the other side with described service end;
Described client and the described service end IP address according to the other side obtained, carry out packet transmission by HTML (Hypertext Markup Language) HTTP.
A second aspect of the present invention, it is provided that the system of Network Communication in a kind of equipment room, including service end and client;
Described service end includes:
Monitor module, for adding preset multicast group, default multicast address and the multicast port preset are monitored;
Acquisition module, for obtaining the IP address of described client by multicast mode;
Transport module, the IP address of the described client for obtaining according to described acquisition module, carry out packet transmission with described client by HTML (Hypertext Markup Language) HTTP;
Described client includes:
Search module, for searching described service end by multicast mode;
Address acquisition module, for obtaining the IP address of described service end by multicast mode;
Data transmission module, the IP address of the described service end for obtaining according to described address acquisition module, carry out packet transmission with described service end by HTML (Hypertext Markup Language) HTTP.
The present invention compared with prior art exists and provides the benefit that: find all devices in Intranet by multicast mode, and obtain mutually the IP address of the other side, equipment room can be carried out data transmission by HTTP, thus needing not rely on transit server can realize the interior Network Communication of equipment room, ensure that the arrival rate that data are transmitted, avoid the resources costs using transfer server to bring simultaneously and put into.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for Network Communication in the equipment room that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the method for Network Communication in the equipment room that the embodiment of the present invention two provides;
Fig. 3 is the structural representation of the system of Network Communication in the equipment room that the embodiment of the present invention three provides;
Fig. 4 is the structural representation of the system of Network Communication in the equipment room that the embodiment of the present invention four provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated. Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Below in conjunction with concrete accompanying drawing, the realization of the present invention is described in detail.
Embodiment one:
Fig. 1 is the flow chart of the method for Network Communication in the equipment room that the embodiment of the present invention one provides, and specifically includes step S101 to S103, and details are as follows:
S101, service end add preset multicast group, and default multicast address and the multicast port preset are monitored.
Multicast (Multicast) is a kind of communication mode, refers to that the network realizing point-to-multipoint between sender and each recipient connects. If a sender transmits identical data to multiple recipients simultaneously, a identical packet also only need to be replicated.
Specifically, service end joins in preset multicast group, and this multicast group provides a default multicast address and the multicast port number preset, and joining the service end in this multicast group can monitor this multicast address and multicast port.
Further, the multicast address preset can select in the scope of 239.0.0.0��239.255.255.255, the port numbers of the multicast port preset can select in the scope of 1024��65535, in the present embodiment, multicast address can be defined as: 239.8.213.214, and the port numbers of multicast port can be defined as: 29383.
S102, client search service end by multicast mode, and obtain mutually the internet protocol address of the other side with service end.
Multicast mode, refer to when transmitting terminal sends data to multiple receiving terminals, it need not send data to each receiving terminal, only need to transmit data to a default multicast address, the receiving terminal of all addition multicast group, by monitoring this multicast address and multicast port, this number evidence all can be received. So for transmitting terminal, data only need to send and once just can be sent to all receiving terminals, it is possible to significantly alleviate the load of network and the burden of transmitting terminal.
Specifically, client sends the address information of client by multicast mode to default multicast address, after service end gets the address information of client by monitoring multicast address and multicast port, the address information of service end is sent to client so that client and service end can obtain mutually the internet protocol address of the other side by the address information of the other side.
S103, client and the service end IP address according to the other side obtained, carries out packet transmission by HTML (Hypertext Markup Language) HTTP.
Specifically, after client and service end obtain mutually the IP address of the other side, by 80 ports given tacit consent to, it is possible to use HTTP (HyperTextTransferProtocol, HTML (Hypertext Markup Language)) carries out data communication. It is, for example possible to use the POST mode of HTTP carries out packet transmission.
It should be noted that service end can be intelligent hardware devices, usually used as the data receiver of interior Network Communication, client can be the terminal unit such as mobile phone, panel computer, usually used as the data sending terminal of interior Network Communication. But, client and server not just for, between terminal unit and hardware device, being also applied between hardware device and hardware device, the combination in any between terminal unit and terminal unit; Client is also not only as data sending terminal, and service end is also not only can carry out transmission and the reception of data from each other as data receiver, client and service end.
In the present embodiment, client and service end find mutually the other side by multicast mode, and obtain mutually the IP address of the other side, equipment room can be carried out data transmission by HTTP, thus needing not rely on transit server can realize the interior Network Communication of equipment room, ensure that the arrival rate that data are transmitted, avoid the resources costs using transfer server to bring simultaneously and put into.
Embodiment two:
Fig. 2 is the flow chart of the method for Network Communication in the equipment room that the embodiment of the present invention two provides, and specifically includes step S201 to S206, and details are as follows:
S201, service end add preset multicast group, and default multicast address and the multicast port preset are monitored.
Multicast (Multicast) is a kind of communication mode, refers to that the network realizing point-to-multipoint between sender and each recipient connects. If a sender transmits identical data to multiple recipients simultaneously, a identical packet also only need to be replicated.
Specifically, service end joins in preset multicast group, and this multicast group provides a default multicast address and the multicast port number preset, and joining the service end in this multicast group can monitor this multicast address and multicast port.
Further, the multicast address preset can select in the scope of 239.0.0.0��239.255.255.255, the port numbers of the multicast port preset can select in the scope of 1024��65535, multicast address can be defined as in the present embodiment: 239.8.213.214, and the port numbers of multicast port can be defined as: 29383.
The listening port of S202, client terminal start-up preset monitored.
Specifically, the listening port that client terminal start-up is preset, and this listening port is monitored, for the connection request of monitoring service end.
The port numbers of this listening port can select in the scope of 1024��65535, can be defined as 29385 in the present embodiment. It should be noted that, the port numbers of this listening port and the port numbers of multicast port also differ, the purpose that listening port is monitored by client is the Opposite direction connection for service end, and it is that multicast port is monitored by service end in order that obtain the information that client sends, listening port is monitored the mode not by multicast by client simultaneously, and service end is to the mode that the monitoring of multicast port is by multicast.
S203, client send to multicast address and find bag, and this discovery bag comprises the IP address of client and the information of listening port.
Specifically, client finds bag to multicast address 239.8.213.214 multicast, contains the IP address of client and the port numbers 29385 of listening port in this discovery bag.
S204, service end receive find bag by monitoring multicast address and multicast port, obtain the IP address of the client comprised in this discovery bag and the information of listening port, and initiate connection request according to the IP address of client and the information of listening port to client, this connection request comprises the IP address of service end.
Specifically, service end in multicast group is by monitoring the port numbers 29383 of multicast address 239.8.213.214 and multicast port, can receiving the discovery bag of client, service end resolves this discovery bag can obtain the IP address of client and the port numbers 29385 of listening port.
The port numbers 29385 of the service end IP address according to acquired client and listening port, initiates connection request to client, by connection request, the IP address of service end is sent to client.
S205, client receive connection request by monitoring the listening port started in step S202, set up target according to this connection request with service end and are connected, and resolve the IP address of this connection request acquisition service end.
Specifically, client is set up target with service end and is connected after listening to the connection request of service end by the listening port that port numbers is 29385, and resolves the IP address of this connection request acquisition service end.
S206, client disconnect and being connected with the target of service end.
Specifically, after client and service end get mutually the IP address of the other side, owing to can carry out the data transmission of HTTP according to the port numbers of IP address and acquiescence, the target that therefore client can disconnect with service end is connected.
S207, client and the service end IP address according to the other side obtained, carries out packet transmission by HTML (Hypertext Markup Language) HTTP.
Specifically, after client and service end obtain mutually the IP address of the other side, by 80 ports given tacit consent to, it is possible to use HTTP carries out data communication. It is, for example possible to use the POST mode of HTTP carries out packet transmission.
Further, packet can include header part and entity part.
Header part have recorded some essential informations of this packet, including the total length of packet, version number and AES (AdvancedEncryptionStandard, Advanced Encryption Standard) index etc., header part can be transmitted by plaintext version, is not namely encrypted direct transmission.
Entity part have recorded the data division of packet, it is possible to is transmitted by cipher-text information.Randomly choosing an AES key from the AES key of default fixed qty as encryption key, entity part is encrypted, the call number of this encryption key is recorded in header part.
Further, before the entity part of packet is encrypted, it is possible to use protobuf agreement to be packaged the packet transmitted, and the packet after encapsulation is serialized, so that the byte stream of the packet of actual transmissions is less, improve the efficiency of transmission.
After receiving this packet, obtained the call number of encryption key by the header part of resolution data bag, from the AES key of default fixed qty, select the AES key of correspondence according to this call number, the entity part of packet is decrypted.
In the present embodiment, client and service end find mutually the other side by multicast mode, and obtain mutually the IP address of the other side, equipment room can be carried out data transmission by HTTP, thus needing not rely on transit server can realize the interior Network Communication of equipment room, ensure that the arrival rate that data are transmitted, and avoid the resources costs input using transfer server to bring; Simultaneously in data transmission procedure, by being encrypted to the serializing of packet with to packet entity part, improve efficiency of transmission and the safety of data.
Embodiment three:
Fig. 3 is the structural representation of the system of Network Communication in the equipment room that the embodiment of the present invention three provides, and for the ease of illustrating, illustrate only the part relevant to the embodiment of the present invention. Fig. 3 example for the system of Network Communication in equipment room can be previous embodiment one provide for the executive agent of the method for Network Communication in equipment room. Fig. 3 example specifically include that service end 31 and client 32 for the system of Network Communication in equipment room.
Service end 31 includes monitoring module 311, acquisition module 312 and transport module 313, and each functional module describes in detail as follows:
Monitor module 311, for adding preset multicast group, default multicast address and the multicast port preset are monitored;
Acquisition module 312, for obtaining the IP address of client 32 by multicast mode;
Transport module 313, the IP address of the client 32 for obtaining according to acquisition module 312, carry out packet transmission with client 32 by HTML (Hypertext Markup Language) HTTP.
Client 32 includes searching module 321, address acquisition module 322 and data transmission module 323, and each functional module describes in detail as follows:
Search module 321, for searching service end 31 by multicast mode;
Address acquisition module 322, for obtaining the IP address of service end 31 by multicast mode;
Data transmission module 323, the IP address of the service end 31 for obtaining according to address acquisition module 322, carry out packet transmission with service end 31 by HTML (Hypertext Markup Language) HTTP.
In the equipment room that the present embodiment provides, in the system of Network Communication, each module realizes the process of respective function, is specifically referred to the description of aforementioned embodiment illustrated in fig. 1, repeats no more herein.
From above-mentioned Fig. 3 example for the system of Network Communication in equipment room, in the present embodiment, client and service end find mutually the other side by multicast mode, and obtain mutually the IP address of the other side, equipment room can be carried out data transmission by HTTP, thus needing not rely on transit server can realize the interior Network Communication of equipment room, it is ensured that the arrival rate of data transmission, avoiding the resources costs using transfer server to bring simultaneously and putting into.
Embodiment four:
Fig. 4 is the structural representation of the system of Network Communication in the equipment room that the embodiment of the present invention four provides, and for the ease of illustrating, illustrate only the part relevant to the embodiment of the present invention. Fig. 4 example for the system of Network Communication in equipment room can be previous embodiment two provide for the executive agent of the method for Network Communication in equipment room. Fig. 4 example specifically include that service end 41 and client 42 for the system of Network Communication in equipment room.
Service end 41 includes monitoring module 411, acquisition module 412 and transport module 413, and each functional module describes in detail as follows:
Monitor module 411, for adding preset multicast group, default multicast address and the multicast port preset are monitored;
Acquisition module 412, for obtaining the IP address of client 42 by multicast mode;
Transport module 413, the IP address of the client 42 for obtaining according to acquisition module 412, carry out packet transmission with client 42 by HTML (Hypertext Markup Language) HTTP.
Further,
Acquisition module 412 includes:
Obtain submodule 4121, monitor, for receiving, the discovery bag that module 411 listens at multicast address and multicast port, obtain the IP address of the client 42 comprised in this discovery bag and the information of listening port;
Connecting and initiate submodule 4122, for initiating connection request according to the IP address of client 42 and the information of listening port to client 42, this connection request comprises the IP address of service end 41.
Client 42 includes searching module 421, address acquisition module 422, data transmission module 423 and port snoop module 424, and each functional module describes in detail as follows:
Port snoop module 424, for starting the listening port of also preset monitored;
Search module 421, for searching service end 41 by multicast mode;
Address acquisition module 422, for obtaining the IP address of service end 41 by multicast mode;
Data transmission module 423, the IP address of the service end 41 for obtaining according to address acquisition module 422, carry out packet transmission with service end 41 by HTML (Hypertext Markup Language) HTTP.
Further,
Search module 421 to include:
Sending submodule 4211, find bag for sending to multicast address, this discovery bag comprises the IP address of client 42 and the information of listening port.
Address acquisition module 422 includes:
Request receives submodule 4221, monitors, for receiving port, the connection request that module 424 listens at listening port;
Connection establishment submodule 4222, is connected for setting up target according to this connection request with service end 41;
Analyzing sub-module 4223, obtains the IP address of service end 41 for resolving this connection request;
Connect and disconnect submodule 4224, for, after analyzing sub-module 4223 obtains the IP address of service end 41, disconnecting and being connected with the target of service end 41.
Further, packet includes header part and entity part, and header part is transmitted with plaintext version, and entity part is transmitted with ciphertext form.
Further,
Service end 41 also includes:
Encrypting module 414, for before transport module 413 transmits packet, an AES key is randomly choosed as encryption key from the key of the Advanced Encryption Standard AES of default fixed qty, entity part is encrypted, the call number of this encryption key is recorded in header part, in order to the recipient of packet can select corresponding AES key to be decrypted according to this call number;
Client 42 also includes:
Data encryption module 425, for before data transmission module 423 transmits packet, an AES key is randomly choosed as encryption key from the key of the Advanced Encryption Standard AES of default fixed qty, entity part is encrypted, the call number of this encryption key is recorded in header part, in order to the recipient of packet can select corresponding AES key to be decrypted according to this call number.
In the equipment room that the present embodiment provides, in the system of Network Communication, each module realizes the process of respective function, is specifically referred to the description of aforementioned embodiment illustrated in fig. 2, repeats no more herein.
From above-mentioned Fig. 4 example for the system of Network Communication in equipment room, in the present embodiment, client and service end find mutually the other side by multicast mode, and obtain mutually the IP address of the other side, equipment room can be carried out data transmission by HTTP, thus needing not rely on transit server can realize the interior Network Communication of equipment room, it is ensured that the arrival rate of data transmission, and avoid the resources costs input using transfer server to bring; Simultaneously in data transmission procedure, by being encrypted to the serializing of packet with to packet entity part, improve efficiency of transmission and the safety of data.
It should be noted that each embodiment in this specification all adopts the mode gone forward one by one to describe, what each embodiment stressed is the difference with other embodiments, part same or like between each embodiment mutually referring to. For system class embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
It should be noted that in said system embodiment, included modules is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as being capable of corresponding function; It addition, the concrete title of each functional module is also only to facilitate mutually distinguish, it is not limited to protection scope of the present invention.
One of ordinary skill in the art will appreciate that, realize all or part of step in the various embodiments described above method to can be by the hardware that program carrys out instruction relevant and complete, corresponding program can be stored in a computer read/write memory medium, described storage medium, such as ROM/RAM, disk or CD etc.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.

Claims (10)

1. the method for Network Communication in an equipment room, it is characterised in that including:
Service end adds preset multicast group, and default multicast address and the multicast port preset are monitored;
Client searches described service end by multicast mode, and obtains mutually the internet protocol address of the other side with described service end;
Described client and the described service end IP address according to the other side obtained, carry out packet transmission by HTML (Hypertext Markup Language) HTTP.
2. the method for Network Communication in equipment room according to claim 1, it is characterised in that described client searches described service end by multicast mode, and obtain mutually the IP address of the other side with described service end and include:
The listening port of client terminal start-up preset monitored;
Described client sends to described multicast address and finds bag, and described discovery comprises the IP address of described client and the information of described listening port;
Described service end receives described discovery wrap by monitoring described multicast address and described multicast port, obtain the IP address of the described described client finding and comprising in bag and the information of described listening port, and initiate connection request according to the IP address of described client and the information of described listening port to described client, described connection request comprises the IP address of described service end;
Described client receives described connection request by monitoring described listening port, sets up target according to described connection request with described service end and is connected, and resolves the IP address of the described connection request described service end of acquisition.
3. the method for Network Communication in equipment room according to claim 2, it is characterised in that client searches described service end by multicast mode, and after obtain mutually the IP address of the other side with described service end, also include:
Described client disconnects and being connected with the described target of described service end.
4. the method for Network Communication in the equipment room according to any one of claims 1 to 3, it is characterised in that described packet includes header part and entity part, described header part is transmitted with plaintext version, and described entity part is transmitted with ciphertext form.
5. the method for Network Communication in equipment room according to claim 4, it is characterised in that described entity part includes with ciphertext form transmission:
An AES key is randomly choosed as encryption key from the key of the Advanced Encryption Standard AES of default fixed qty, described entity part is encrypted, the call number of described encryption key is recorded in described header part, in order to the recipient of described packet can select corresponding AES key to be decrypted according to described call number.
6. the system of Network Communication in an equipment room, it is characterised in that include service end and client;
Described service end includes:
Monitor module, for adding preset multicast group, default multicast address and the multicast port preset are monitored;
Acquisition module, for obtaining the IP address of described client by multicast mode;
Transport module, the IP address of the described client for obtaining according to described acquisition module, carry out packet transmission with described client by HTML (Hypertext Markup Language) HTTP;
Described client includes:
Search module, for searching described service end by multicast mode;
Address acquisition module, for obtaining the IP address of described service end by multicast mode;
Data transmission module, the IP address of the described service end for obtaining according to described address acquisition module, carry out packet transmission with described service end by HTML (Hypertext Markup Language) HTTP.
7. the system of Network Communication in equipment room according to claim 6, it is characterised in that
Described client also includes:
Port snoop module, for starting the listening port of also preset monitored;
Described lookup module includes:
Sending submodule, find bag for sending to described multicast address, described discovery comprises the IP address of described client and the information of described listening port;
Described acquisition module includes:
Obtaining submodule, the described discovery listened at described multicast address and described multicast port for receiving described monitoring module is wrapped, and obtains the IP address of the described described client finding and comprising in bag and the information of described listening port;
Connecting and initiate submodule, for initiating connection request according to the IP address of described client and the information of described listening port to described client, described connection request comprises the IP address of described service end;
Described address acquisition module includes:
Request receives submodule, for receiving the described connection request that described port snoop module listens at described listening port;
Connection establishment submodule, is connected for setting up target according to described connection request with described service end;
Analyzing sub-module, obtains the IP address of described service end for resolving described connection request.
8. the system of Network Communication in equipment room according to claim 7, it is characterised in that described address acquisition module also includes:
Connect and disconnect submodule, for, behind the IP address of the described analyzing sub-module described service end of acquisition, disconnecting and being connected with the described target of described service end.
9. the system of Network Communication in the equipment room according to any one of claim 6 to 8, it is characterised in that described packet includes header part and entity part, described header part is transmitted with plaintext version, and described entity part is transmitted with ciphertext form.
10. the system of Network Communication in equipment room according to claim 9, it is characterised in that
Described service end also includes:
Encrypting module, for before described transport module transmits described packet, an AES key is randomly choosed as encryption key from the key of the Advanced Encryption Standard AES of default fixed qty, described entity part is encrypted, the call number of described encryption key is recorded in described header part, in order to the recipient of described packet can select corresponding AES key to be decrypted according to described call number;
Described client also includes:
Data encryption module, for before described data transmission module transmits described packet, an AES key is randomly choosed as encryption key from the key of the Advanced Encryption Standard AES of default fixed qty, described entity part is encrypted, the call number of described encryption key is recorded in described header part, in order to the recipient of described packet can select corresponding AES key to be decrypted according to described call number.
CN201610089258.2A 2016-02-17 2016-02-17 intranet communication method and system between devices Active CN105657040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610089258.2A CN105657040B (en) 2016-02-17 2016-02-17 intranet communication method and system between devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610089258.2A CN105657040B (en) 2016-02-17 2016-02-17 intranet communication method and system between devices

Publications (2)

Publication Number Publication Date
CN105657040A true CN105657040A (en) 2016-06-08
CN105657040B CN105657040B (en) 2019-12-06

Family

ID=56489649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610089258.2A Active CN105657040B (en) 2016-02-17 2016-02-17 intranet communication method and system between devices

Country Status (1)

Country Link
CN (1) CN105657040B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209524A (en) * 2016-06-23 2016-12-07 深圳市贝美互动科技有限公司 Communication means and system thereof in the LAN of a kind of embedded device
CN109150766A (en) * 2018-10-19 2019-01-04 泰华智慧产业集团股份有限公司 The method and apparatus of dynamic addressing server in local area network based on UDP multicast
CN109151037A (en) * 2018-09-04 2019-01-04 政采云有限公司 A kind of communication means and device
CN114363394A (en) * 2021-12-23 2022-04-15 杭州当虹科技股份有限公司 Edge equipment discovery method based on BUSYBOX
CN114697258A (en) * 2022-04-11 2022-07-01 网易(杭州)网络有限公司 Data communication method, device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466064A (en) * 2002-09-12 2004-01-07 联想(北京)有限公司 Method for discovering equipment in dynamic network combination of family network
CN101022399A (en) * 2007-03-14 2007-08-22 杭州华为三康技术有限公司 Automatic discovering server method, system and apparatus thereof
US20070223398A1 (en) * 2004-04-28 2007-09-27 Lenovo (Beijing) Limited Method for Implementing Grouping Devices and Interacting Among Grouped Devices
CN101383952A (en) * 2007-09-06 2009-03-11 耐通信息科技(上海)有限公司 Discovery method for IP audio and video apparatus
CN103761333A (en) * 2014-02-14 2014-04-30 北京中文在线数字出版股份有限公司 Wireless txt reader and reading method thereof
CN104113458A (en) * 2014-07-23 2014-10-22 海信集团有限公司 Mobile terminal and intelligent household appliance interconnecting method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466064A (en) * 2002-09-12 2004-01-07 联想(北京)有限公司 Method for discovering equipment in dynamic network combination of family network
US20070223398A1 (en) * 2004-04-28 2007-09-27 Lenovo (Beijing) Limited Method for Implementing Grouping Devices and Interacting Among Grouped Devices
CN101022399A (en) * 2007-03-14 2007-08-22 杭州华为三康技术有限公司 Automatic discovering server method, system and apparatus thereof
CN101383952A (en) * 2007-09-06 2009-03-11 耐通信息科技(上海)有限公司 Discovery method for IP audio and video apparatus
CN103761333A (en) * 2014-02-14 2014-04-30 北京中文在线数字出版股份有限公司 Wireless txt reader and reading method thereof
CN104113458A (en) * 2014-07-23 2014-10-22 海信集团有限公司 Mobile terminal and intelligent household appliance interconnecting method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209524A (en) * 2016-06-23 2016-12-07 深圳市贝美互动科技有限公司 Communication means and system thereof in the LAN of a kind of embedded device
CN106209524B (en) * 2016-06-23 2019-09-20 深圳酷旗互联网有限公司 Communication means and its system in a kind of local area network of embedded device
CN109151037A (en) * 2018-09-04 2019-01-04 政采云有限公司 A kind of communication means and device
CN109151037B (en) * 2018-09-04 2022-03-04 政采云有限公司 Communication method and device
CN109150766A (en) * 2018-10-19 2019-01-04 泰华智慧产业集团股份有限公司 The method and apparatus of dynamic addressing server in local area network based on UDP multicast
CN114363394A (en) * 2021-12-23 2022-04-15 杭州当虹科技股份有限公司 Edge equipment discovery method based on BUSYBOX
CN114697258A (en) * 2022-04-11 2022-07-01 网易(杭州)网络有限公司 Data communication method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105657040B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
US9338130B2 (en) Apparatus and method to register Wi-Fi clients on a Wi-Fi network
CN105657040A (en) Inter-device intranet communication method and system
US9743218B2 (en) Proxy connection method and apparatus
CN108886685B (en) Terminal matching method and device
US10264038B2 (en) Discovery and management of synchronous audio or video streaming service to multiple sinks in wireless display system
US10448230B2 (en) Data transmission
WO2018066907A1 (en) Method for transferring signaling messages of terminal between network functions
EP2166799A1 (en) Method and apparatus for implementing a virtual network
CA2539468A1 (en) System and method for asynchronous wireless services using reverse service schema generation
US10812572B2 (en) Cloud-based data sharing
WO2015040092A2 (en) Methods, devices, and computer program products for facilitating device-to-device communication among wireless communication devices
US10021512B2 (en) Switching to advertising locator after connection establishment
US20150120943A1 (en) Secure mobile access to resources within a private network
EP3021555B1 (en) Message processing method and device
US20100303003A1 (en) Methods and apparatus for efficiently communicating information using a proxy
JP4911222B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD IN COMMUNICATION SYSTEM, AND RELAY DEVICE
EP3220584A1 (en) Wifi sharing method and system, home gateway and wireless local area network gateway
US20220286844A1 (en) Wlan multi-link tdls key derivation
WO2019015041A1 (en) Time division encryption method and device for data of internet of things repeater
CN109936603B (en) Non-direct connection network communication method based on HTTP
US10111081B2 (en) Local communication wireless network system and method thereof
WO2019015038A1 (en) Encryption control method and device for type-based uplink data of internet of things repeater
CN116963054B (en) WLAN multilink TDLS key derivation
WO2022104765A1 (en) Method for quickly accessing 5g network, communication device, and storage medium
CN116709317A (en) Method, device, equipment and medium for transmitting password message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180214

Address after: 518000 Guangdong, Nanshan District Nanshan Street science and Technology Park, industrial zone, industrial zone, sparrow sparrow, M-2

Applicant after: Shenzhen cool flag Internet Co., Ltd.

Address before: Nanshan District Xili street new Shenzhen road 518000 Guangdong province No. 1 Tsinghua B building 807 room

Applicant before: SHENZHEN BEIMEI INTERACTIVE TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant