CN106375272A - Method of multi-layer communication - Google Patents

Method of multi-layer communication Download PDF

Info

Publication number
CN106375272A
CN106375272A CN201610197858.0A CN201610197858A CN106375272A CN 106375272 A CN106375272 A CN 106375272A CN 201610197858 A CN201610197858 A CN 201610197858A CN 106375272 A CN106375272 A CN 106375272A
Authority
CN
China
Prior art keywords
communication
service end
layer
communication module
module layer
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
CN201610197858.0A
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.)
Shenzhen Meibeike Technology Co Ltd
Original Assignee
Shenzhen Meibeike 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 Meibeike Technology Co Ltd filed Critical Shenzhen Meibeike Technology Co Ltd
Priority to CN201610197858.0A priority Critical patent/CN106375272A/en
Publication of CN106375272A publication Critical patent/CN106375272A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a method of multi-layer communication. The method comprises a first step of building a communication module layer by an intelligent device server-side; a second step of building multiple types of communication server-sides which are started to monitor different ports in the communication module layer, wherein a client communicates with the communication module layer through different ports; and a third step of submitting data to a business layer for analysis through one same port when the communication module layer receives the data. Compared with the prior art, the technical scheme of the method of multi-layer communication has advantages that the network environment equipment is optimized, the system cost is saved, the operation is simplified, the processing efficiency is improved, the fault point is isolated, efficient business protection is carried out and etc.

Description

A kind of method of multilamellar communication
Technical field
The present invention relates to intelligent hardware devices field, particularly a kind of method of multilamellar communication.
Background technology
At present, the service business development of various terminals and expansion, communication traffic has become an indispensable part in people's daily life.With the development of network technology and various smart machine, people are more and more wider for the demand of communication.And the development with home intelligent equipment, people are for the requirement more and more higher of cell phone intelligent equipment under circumstances and home intelligent equipment.And at this stage, home intelligent device service end supports to be a limited number of kind of communication environment to the communication of cell phone intelligent equipment.
Content of the invention
The present invention is directed to above-mentioned problems of the prior art, provides a kind of system and method for multilamellar communication. and service end sets up Communication Layer, tackles the communications protocol in various environment, and all of communication data agreement is unified output and given operation layer to process.Solve the problems, such as that in various environment, cell phone intelligent terminal can only contact home intelligent equipment in single environment.Allow cell phone intelligent terminal can connect home intelligent equipment in any network environment.
The method with a kind of multilamellar communication of above-mentioned advantage is realized by following technical characteristic, comprises the steps.
Step 1, smart machine service end create communication module layer;
The multiple Communications service ends starting the different port of monitoring are created, client is communicated with communication module layer by different port in step 2, described communication module layer;
Data, when communication module layer receives data, is given operation layer by same interface and is parsed by step 3.
The data that described communication module layer gives operation layer includes communication module layer handle, returns to client-side information after described operation layer dissection process agreement.
In the present invention, described plurality of communication services end includes: p2p communication service end, socket communication service end, Mobile Communication Service end, udp communication service end, nfc communication service end, Bluetooth communication service end, is actually not limited to above-mentioned several communication mode.
Need for the equipment unique value at smart machine end to be sent to p2p server during p2p service end initialization in described plurality of communication services end and carry out logging in registration, so that subscription client finds smart machine service end according to described equipment unique value.
Socket communication service end in described plurality of communication services end, after client receives socket ip address and port numbers, connects socket server, carries out communication with smart machine and is connected.
Described client remote communicates and carries out p2p request connection, finds the smart machine of binding by the equipment unique value of binding, and carries out communication connection.
Technical scheme compared with prior art, has the advantage that
1. bottom communication module provides unified data protocol passage for high-level business process layer.
2. the data that bottom communication module provides is carried out unified parsing by high-level business process layer, and the data after parsing is carried out subsequent treatment and returns to Communication Layer, and Communication Layer returns to client by returning interface.
3. Communication Layer each Communication Layer nodes break down, only affects the upper and lower business of this communication node layer.If multiple communication node layers break down simultaneously, respectively individual malfunctioning node can be protected, not affect from each other.
4. optimize network environment device, save system cost;Simplify operation, improve treatment effeciency, trouble point is isolated, the service protection effectively carrying out.
Brief description
Fig. 1 is the FB(flow block) of a kind of method of multilamellar communication of the present invention.
Fig. 2 is the system architecture diagram in a kind of method specific embodiment of multilamellar communication of the present invention.
Fig. 3 is the Communication Layer structural representation of the one of which preferred embodiment of Fig. 2.
Specific embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described in detail, but the multitude of different ways enforcement that the present invention can be defined by the claims and cover.
As shown in Figure 1, Fig. 1 is a kind of FB(flow block) of the method for multilamellar communication, in the present invention, particularly a kind of smart machine, in the case that multiple COM1s connect, bottom communication module is that high-level business process layer provides unified data protocol passage, realizes technique scheme and need to accomplish following steps:
S1, home intelligent device service end create communication module layer;
The multiple Communications service ends starting the different port of monitoring are created, client is communicated with communication module layer by different port in s2, described communication module layer;
Data, when communication module layer receives data, is given operation layer by same interface and is parsed by s3.
In the present invention, in conjunction with Fig. 2 and Fig. 3, the flow process in Fig. 1 is illustrated by specific embodiment, the data that described Communication Layer is sent to operation layer includes Communication Layer handle, to return to client-side information after operation layer dissection process agreement.
All of communication module layer is followed the rule of communication of each COM1 and is sent data to the agreement of service end Communication Layer by different communication modes carrying out data transfer, such as client.
In the present invention, multiple Communications service ends include: p2p communication service end, socket communication service end, Mobile Communication Service end, udp communication service end, nfc communication service end, Bluetooth communication service end, http communication service end etc..
In the present invention, in multiple Communications service ends, need during the initialization of p2p communication service end therein for the unique value (mac address or No. sn) of home intelligent equipment to be sent to p2p server and carry out logging in registration, so that subscription client finds smart machine service end according to smart machine unique value.
Advantage in the present invention is, some communication node of Communication Layer breaks down, and only affecting the upper and lower business of this node does not affect other communication traffics, facilitates client to carry out network communication switching at any time.
Under home network environment, user udp scans the udp service end under wifi environment, after udp service end receives the request of user terminal scanning, returns udp client-side information, this information includes the id address of this server and the port numbers of other service ends, such as socket connection end slogan.
In the present invention, in multiple Communications service ends, in sockert communication service end therein, after user terminal receives socket ip address and port numbers, connect socket server, carry out communication with home intelligent equipment and connect.
Carried out bindings with home intelligent equipment under family's same wifi network environment, user terminal have recorded the unique value (mac address or No. sn or other unique values) of the home intelligent equipment of binding before user terminal.
Then user (outdoor 4g under non-family safe network environment, 3g, or cable network connects or other wifi network are coughed up) carry out p2p request connection, find the household equipment of binding by the household equipment unique value of binding, then carry out communication with home intelligent equipment out of doors and connect.
When subscription client is in family's smart machine same wifi network environment, home intelligent equipment udp service end in udp scanning LAN, obtain ip address, home intelligent equipment socket service end is connected according to the socket listening port number that ip address and agreement specify and is communicated.
Out of doors under the network environment under following 5g signal of 2g/3g/4g/ or outside home intelligent device network, client connects the home intelligent equipment bound before p2p server finds to subscription client, carries out point-to-point connection communication.It should be noted that client request p2p find home intelligent equipment to need parameter to be home intelligent equipment unique value.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.All any modification, equivalent substitution and improvement within the spirit and principles in the present invention, made etc., should be included within the scope of the present invention.

Claims (6)

1. a kind of method of multilamellar communication is it is characterised in that comprise the steps:
Step 1, smart machine service end create communication module layer;
The multiple Communications service ends starting the different port of monitoring are created, client is communicated with communication module layer by different port in step 2, described communication module layer;
Data, when communication module layer receives data, is given operation layer by same interface and is parsed by step 3.
2. method according to claim 1, it is characterised in that the data that described communication module layer gives operation layer includes communication module layer handle, returns to client-side information after described operation layer dissection process agreement.
3. method according to claim 1 is it is characterised in that described plurality of communication services end includes: p2p communication service end, socket communication service end, Mobile Communication Service end, udp communication service end, nfc communication service end, Bluetooth communication service end.
4. method according to claim 1, it is characterized in that, need for the equipment unique value at smart machine end to be sent to p2p server during p2p service end initialization in described plurality of communication services end and carry out logging in registration, so that subscription client finds smart machine service end according to described equipment unique value.
5. method according to claim 1, it is characterised in that socket communication service end in described plurality of communication services end, after client receives socket ip address and port numbers, connects socket server, carries out communication with smart machine and is connected.
6. method according to claim 1 carries out p2p request connection it is characterised in that described client remote communicates, and finds the smart machine of binding by the equipment unique value of binding, and carries out communication connection.
CN201610197858.0A 2016-03-31 2016-03-31 Method of multi-layer communication Pending CN106375272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610197858.0A CN106375272A (en) 2016-03-31 2016-03-31 Method of multi-layer communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610197858.0A CN106375272A (en) 2016-03-31 2016-03-31 Method of multi-layer communication

Publications (1)

Publication Number Publication Date
CN106375272A true CN106375272A (en) 2017-02-01

Family

ID=57880546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610197858.0A Pending CN106375272A (en) 2016-03-31 2016-03-31 Method of multi-layer communication

Country Status (1)

Country Link
CN (1) CN106375272A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729101A (en) * 2019-03-12 2019-05-07 深圳狗尾草智能科技有限公司 The communication system of multi-level lower coupling

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070260710A1 (en) * 2000-10-27 2007-11-08 Dowling Eric M Federated multiprotocol communication
CN101119180A (en) * 2007-09-12 2008-02-06 当代天启技术(北京)有限公司 Data transmission method of intelligent domestic system
CN202026478U (en) * 2011-04-15 2011-11-02 上海锐极电子科技有限公司 Novel wireless intelligent gateway for internet of things
US20120047232A1 (en) * 2010-08-19 2012-02-23 National Central University Methods and systems for media data accessing in an intra network, and computer program products thereof
CN102547942A (en) * 2012-02-21 2012-07-04 南京农业大学 Wireless sensor network intelligent gateway applied to greenhouse environment monitoring
CN102857566A (en) * 2012-09-06 2013-01-02 上海计算机软件技术开发中心 Intelligent gateway of internet of things capable of being customized by software
CN103763443A (en) * 2014-01-26 2014-04-30 武汉四方汇动科技有限公司 Mobile customer service system and method aggregating multiple communication modes
US8767554B2 (en) * 2011-11-21 2014-07-01 Maxlinear, Inc. Method and system for optimizing bandwidth utilization in an in-home network
US20140215359A1 (en) * 2013-01-25 2014-07-31 Hon Hai Precision Industry Co., Ltd. Desktop sharing method and system
WO2015198087A1 (en) * 2014-06-24 2015-12-30 Emad Abdulrazzak Felemban A method, apparatus and system for enabling communication using multi-protocol gateway and virtual resource manager

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070260710A1 (en) * 2000-10-27 2007-11-08 Dowling Eric M Federated multiprotocol communication
CN101119180A (en) * 2007-09-12 2008-02-06 当代天启技术(北京)有限公司 Data transmission method of intelligent domestic system
US20120047232A1 (en) * 2010-08-19 2012-02-23 National Central University Methods and systems for media data accessing in an intra network, and computer program products thereof
CN202026478U (en) * 2011-04-15 2011-11-02 上海锐极电子科技有限公司 Novel wireless intelligent gateway for internet of things
US8767554B2 (en) * 2011-11-21 2014-07-01 Maxlinear, Inc. Method and system for optimizing bandwidth utilization in an in-home network
CN102547942A (en) * 2012-02-21 2012-07-04 南京农业大学 Wireless sensor network intelligent gateway applied to greenhouse environment monitoring
CN102857566A (en) * 2012-09-06 2013-01-02 上海计算机软件技术开发中心 Intelligent gateway of internet of things capable of being customized by software
US20140215359A1 (en) * 2013-01-25 2014-07-31 Hon Hai Precision Industry Co., Ltd. Desktop sharing method and system
CN103763443A (en) * 2014-01-26 2014-04-30 武汉四方汇动科技有限公司 Mobile customer service system and method aggregating multiple communication modes
WO2015198087A1 (en) * 2014-06-24 2015-12-30 Emad Abdulrazzak Felemban A method, apparatus and system for enabling communication using multi-protocol gateway and virtual resource manager

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729101A (en) * 2019-03-12 2019-05-07 深圳狗尾草智能科技有限公司 The communication system of multi-level lower coupling
CN109729101B (en) * 2019-03-12 2021-08-06 苏州狗尾草智能科技有限公司 Multi-level low coupling communication system

Similar Documents

Publication Publication Date Title
CN101141418B (en) Strategy based family network service identifying system and method
CN102857968B (en) Method for communicating terminal of internet of things with host of internet on basis of IPv6 (internet protocol version 6)
KR100699391B1 (en) A method and apparatus for routing data in a communication device
CN101702718A (en) Method and device for managing user terminal equipment
TWI477111B (en) Outdoor wireless modem and method for signal procesisng thereof
CN201846351U (en) Multi-access technical home gateway
CN102571639A (en) Intelligent home gateway equipment
CN103036810B (en) The extranet access control method exported based on many outer nets and access device
EP2530958B1 (en) M2m platform communication system and method
CN104468291A (en) WiFi module communication method and device
CN102438331B (en) A kind of mobile terminal is by the method and system of surfing Internet with cell phone
CN106535187A (en) Smart home equipment access method and system based on wireless router terminal
CN103973569A (en) Data message forwarding method, customer premises equipment and system
CN101826995A (en) Method and system for managing home network equipment
CN113329454B (en) Method, network element, system and equipment for releasing route
WO2011116598A1 (en) Method and system for achieving management of gateway
CN111083296B (en) Hotel intelligent housekeeper system based on voice recognition
CN106533934A (en) Border gateway applicable to all interconnected manufacturing networks
WO2022151420A1 (en) Method, apparatus, and system for transmitting data packet
CN112616171B (en) Communication method and device based on wireless local area network and computer readable storage medium
Ziegler et al. Scalable integration framework for heterogeneous smart objects, applications and services
CN106375272A (en) Method of multi-layer communication
CN106789172B (en) Power distribution network communication system
CN103986692A (en) Data forwarding method and system based on wireless access point
CN101184044A (en) Packet processing method of multicast monitoring discovery protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170201

WD01 Invention patent application deemed withdrawn after publication