CN105357116B - A kind of method and intelligent terminal of multiple terminal access server - Google Patents

A kind of method and intelligent terminal of multiple terminal access server Download PDF

Info

Publication number
CN105357116B
CN105357116B CN201510697672.7A CN201510697672A CN105357116B CN 105357116 B CN105357116 B CN 105357116B CN 201510697672 A CN201510697672 A CN 201510697672A CN 105357116 B CN105357116 B CN 105357116B
Authority
CN
China
Prior art keywords
terminal
server
request signal
main equipment
data
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.)
Active
Application number
CN201510697672.7A
Other languages
Chinese (zh)
Other versions
CN105357116A (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.)
Wuhan Changjiang Computing Technology Co., Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510697672.7A priority Critical patent/CN105357116B/en
Publication of CN105357116A publication Critical patent/CN105357116A/en
Application granted granted Critical
Publication of CN105357116B publication Critical patent/CN105357116B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/42Centralised routing
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of method and intelligent terminal of multiple terminal access server, this method includes:After the wherein any one in multiple terminals is connected to network, data request signal is sent;If terminal does not receive the reply data-signal that other-end replys data request signal, request is established with server and connected, and using terminal as main equipment, is established and is connected with server;If receiving reply data message, data message is replied in terminal parsing, is contrasted terminal and is sent back the bearing capacity of the terminal of complex data information, to server hop count and to number during server delays, selects winner to the rest is slave unit as main equipment;After the master slave relation for determining multiple terminals, the relation information between main equipment and slave unit is transferred to server, the information that slave unit is sent to server is forwarded by main equipment.The present invention can reduce server connection load, avoid network blockage, while avoid the transmission rate caused by bandwidth deficiency from reducing.

Description

A kind of method and intelligent terminal of multiple terminal access server
Technical field
It is whole more particularly to a kind of method of multiple terminal access server and intelligence the present invention relates to intelligent terminal field End.
Background technology
Current intelligent terminal uses for vast family, and the intelligent terminal usage quantity of each family is also gradually increasing Add.But each intelligent terminal in each family is required to connection corresponding with management server foundation and has entered row information friendship Mutually.Such as when having 10-15 intelligent terminal to need to establish connection with server in one family, 100,000 such families just need Server 100-200 ten thousand access number is consumed to ensure the normal communication of each intelligent terminal and server.
Huge access quantity brings huge test to the performance of server, and accessing quantity can excessively cause network to block up Plug, make between intelligent terminal and server can not proper communication, and connect, need to ensure that each intelligent terminal is established with server Enough network bandwidth is wanted to support, bandwidth deficiency can cause transmission rate and efficiency of transmission to reduce.
The content of the invention
The present invention solves the technical problem of provide a kind of method and intelligent terminal of multiple terminal access server, energy Server connection load is enough reduced, network bandwidth is reduced, avoids network blockage, while avoids transmitting speed caused by bandwidth deficiency Rate reduces.
In order to solve the above technical problems, one aspect of the present invention is:Multiple terminal access server is provided Method, include the step of this method:After the wherein any one in multiple terminals is connected to network, data request signal, data are sent Request signal comprise at least the MAC Address of terminal, IP address, bearing capacity, to server hop count and to server delays When number;If terminal does not receive the reply data-signal that other-end replys data request signal, request is established with server Connection, using terminal as main equipment, and establish and connect with server;If receiving reply data message, terminal parsing is replied Data message, contrast terminal and send back complex data information terminal bearing capacity, to server hop count and to service Number when device postpones, winner is selected to the rest is slave unit as main equipment;After the master slave relation for determining multiple terminals, by main equipment Relation information between slave unit is transferred to server, and each slave unit is turned to the information that server is sent by main equipment Hair.
In order to solve the above technical problems, one aspect of the present invention is:A kind of intelligent terminal is provided, the terminal Including:Signal transmitting module, for after intelligent terminal is connected to network, sending data request signal, data request signal is extremely Less including the MAC Address of terminal, IP address, bearing capacity, to server hop count and to number during server delays;Positioning mould Block, it is main equipment and slave unit for positioning intelligent terminal, if not receiving the reply that other-end replys data request signal Data-signal, then request are established with server and connected, and intelligent terminal is established with server and connected as main equipment;If receive To data message is replied, then data message, the carrying of terminal of the contrast intelligent terminal with sending back complex data information are replied in parsing Ability, to server hop count and to number during server delays, select winner to the rest is slave unit as main equipment.
Prior art is different from, the method for multiple terminal access server of the invention is when any intelligent terminal is connected into network Data request signal is sent, confirms whether itself is first intelligent terminal for accessing the network, network is accessed by first Terminal is compared, if the terminal capabilities ginseng subsequently accessed as main equipment with the parameter and main equipment of the terminal of follow-up access network Number is better than main equipment, and the intelligent terminal subsequently accessed is changed into main equipment, other intelligent terminals connection main equipment, will be sent to The information of server is sent after main equipment forwards, and only needs to establish a connection between server and multiple terminals.The present invention can Server connection load is reduced, network bandwidth is reduced, avoids network blockage, while avoid the transmission rate caused by bandwidth deficiency Reduce.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the method first embodiment of multiple terminal access server provided by the invention;
Fig. 2 is a kind of structural representation of intelligent terminal first embodiment provided by the invention.
Embodiment
Make further more detailed description to technical scheme with reference to embodiment.Obviously, retouched The embodiment stated is only the part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, The every other embodiment that those of ordinary skill in the art are obtained on the premise of creative work is not made, should all belong to The scope of protection of the invention.
Smart home is by technology of Internet of things by various equipment (such as audio & video equipment, illuminator, the curtain control in family System, airconditioning control, safety-protection system, Digital Theater System, video server, shadow cabinet system, network home appliance etc.) connect together, Home wiring control, Lighting control, remote control using telephone, indoor and outdoor remote control, burglar alarm, environmental monitoring, HVAC control, infrared is provided Multiple functions and the means such as forwarding and programmable Timer control.Compared with common household, smart home not only has traditional Inhabitation function, have both building, network service, information household appliances, equipment automatization, there is provided comprehensive information exchange function, can be Various energy expenditures save fund.But in use, it is necessary to which all intelligent terminals and server keep long connection, often Information is sent to ensure the normal of communication link to server every certain time.Now, server needs to receive and dispatch substantial amounts of information Message, pressure cross conference and cause server performance to be lost, while every smart machine connection server is, it is necessary to larger Netowrk tape It is wide.It is therefore desirable to provide a kind of method to avoid above-mentioned drawback, to extend the service life of intelligent terminal and server.
Refering to Fig. 1, Fig. 1 is a kind of flow of the method first embodiment of multiple terminal access server provided by the invention Schematic diagram.The step of this method, includes:
S101:After the wherein any one in multiple terminals is connected to network, data request signal is sent, data request signal is extremely Less including the MAC Address of terminal, IP address, bearing capacity, to server hop count and to number during server delays.
In any one in multiple intelligent terminals network is connected to after electricity.Here network is that all intelligent terminals connect The network connect.Network herein is probably a LAN, and all intelligent terminals are connected under the network;It is also likely to be multiple The network of the LAN access higher level of subordinate, the multi-level network of formation, intelligent terminal are connected to according to the arrangement of user In the network of each subordinate or higher level.After any one of intelligent terminal is connected to network, intelligent terminal generation data please Seek signal and be sent in network.Data request signal comprise at least the intelligent terminal with being connected to the MAC that is obtained after network The bearing capacity of location, IP address, and smart machine itself, to server hop count and to number parameter during server delays. Enter step S102 after being successfully transmitted.
S102:If terminal does not receive the reply data-signal that other-end replys data request signal, request and clothes Business device establishes connection, using terminal as main equipment, and establishes and connects with server.
Intelligent terminal generates data request signal and is sent in network, waits the reply of other intelligent terminals in network. In this step, if setting smart machine continuously transmit data request signal three times after, still do not receive reply data-signal, Now confirm that only having the intelligent terminal is connected in network.Using the intelligent terminal as main equipment, intelligent terminal request and clothes Business device establishes connection, and the parameter information of itself is sent into server.
S103:If receiving reply data message, data message is replied in terminal parsing, and contrast terminal is with sending back plural number It is believed that the bearing capacity of the terminal of breath, to server hop count and to number during server delays, select winner to be set as master It is standby, it the rest is slave unit.
Intelligent terminal generates data request signal and is sent in network, waits the reply of other intelligent terminals in network. The intelligent terminal for now replying data-signal is the main equipment in multiple terminals.If intelligent terminal after data request signal is sent, Receive the reply data-signal relative to data request signal of other intelligent terminals transmission.The reply data-signal includes hair Send back to the MAC Address of the intelligent terminal of complex data signals, IP address, bearing capacity, to server hop count and to server Number parameter during delay.By MAC Address and IP address, the network of intelligent terminal connection is can determine that, it is determined that replying data-signal Intelligent terminal with send data request signal intelligent terminal whether belong to identical network.And in the present embodiment, In present embodiment, the intelligent terminal for sending back complex data signals is current main equipment, and user sets and is connected to subordinate's local The performance of the intelligent terminal of network is inferior to be connected to the intelligent terminal of upper network.
If the intelligent terminal for sending data request signal and the intelligent terminal for replying data-signal are all connected to LAN, Or both of the aforesaid intelligent terminal is all connected to upper network, then the two is joined to server hop count and to number during server delays Number is identical, now only needs the bearing capacity for comparing two intelligent terminals, if comparative result is the intelligent terminal of reply data-signal Bearing capacity, will or when the two bearing capacity is identical better than the bearing capacity for the intelligent terminal for sending data request signal The intelligent terminal of data-signal is replied as main equipment, the intelligent terminal as main equipment protects the information in data request signal Deposit, and connection is established with sending the intelligent terminal of data request signal, the information for establishing connection is sent to server by main equipment. Conversely, the intelligent terminal for sending data request signal is replaced to the intelligent terminal for replying data-signal as main equipment, it is new selected Main equipment and original main equipment and server establish and connect, and notify server to become the information of the main equipment of renewal, originally Main equipment disconnect and the connection of server.
If the intelligent terminal for sending data request signal is connected to upper network, the intelligent terminal connection of data-signal is replied To any LAN of subordinate, the intelligent terminal for now sending data request signal prolongs to server hop count and to server Number is superior to reply the intelligent terminal of data-signal when late, considers, sends the performance of the intelligent terminal of data request signal Better than the intelligent terminal for replying data-signal, then selection sends the intelligent terminal replacement reply data-signal of data request signal Intelligent terminal as main equipment, newly with original main equipment and server establish and connect, and notifies server by selected main equipment Become the information of the main equipment of renewal, original main equipment disconnects the connection with server.
If the intelligent terminal for sending data request signal is connected to subordinate's LAN, the intelligent terminal of data-signal is replied Be connected to upper network, now send data request signal intelligent terminal to server hop count and to number during server delays The intelligent terminal for replying data-signal is worse than or be equal to, now still retains the intelligence of original reply data-signal eventually End, newly selected main equipment is established with original main equipment and server and connected, and notifies server to become the main equipment of renewal Information, original main equipment disconnect the connection with server.
S104:After the master slave relation for determining multiple terminals, the relation information between main equipment and slave unit is transferred to service Device, the information that each slave unit is sent to server are forwarded by main equipment.
Each new intelligent terminal sends data request signal when accessing network, if main equipment be present, main equipment can be sent out Send complex data signals back to.By step S102 and S103 comparison, the main equipment added after new intelligent terminal is confirmed, remaining Slave unit of the intelligent terminal as main equipment, establish and connect with main equipment, and any between slave unit and server interacts letter Breath all needs first to be sent to main equipment, is forwarded to server through main equipment, the information that server returns to any slave unit also needs to transmit To main equipment, corresponding slave unit is forwarded to through main equipment.
Prior art is different from, the method for multiple terminal access server of the invention is when any intelligent terminal is connected into network Data request signal is sent, confirms whether itself is first intelligent terminal for accessing the network, network is accessed by first Terminal is compared, if the terminal capabilities ginseng subsequently accessed as main equipment with the parameter and main equipment of the terminal of follow-up access network Number is better than main equipment, and the intelligent terminal subsequently accessed is changed into main equipment, other intelligent terminals connection main equipment, will be sent to The information of server is sent after main equipment forwards, and only needs to establish a connection between server and multiple terminals.The present invention can Server connection load is reduced, network bandwidth is reduced, avoids network blockage, while avoid the transmission rate caused by bandwidth deficiency Reduce.
Refering to Fig. 2, Fig. 2 is a kind of structural representation of intelligent terminal first embodiment provided by the invention.The terminal Including:Signal transmitting module 210 and locating module 220.
Signal transmitting module 210 is used for after intelligent terminal 200 is connected to network, sends data request signal.Here Network is the network of all intelligent terminal connections.Network herein is probably a LAN, and all intelligent terminals are connected to Under the network;It is also likely to be that the LAN of multiple subordinates accesses the network of higher level, the multi-level network of formation, intelligent terminal It is connected to according to the arrangement of user in the network of each subordinate or higher level.Data request signal comprises at least intelligent terminal 200 MAC Address, IP address, bearing capacity, to server hop count and to number during server delays.
Locating module 220 is main equipment and slave unit for positioning intelligent terminal 200, if not receiving other intelligent terminals The reply data-signal of data request signal is replied, then request is established with server 201 and connected, and sends the intelligence of data request signal Energy terminal is established with server 201 and connected as main equipment;If receiving reply data message, data letter is replied in parsing Breath, contrast intelligent terminal and send back complex data information terminal bearing capacity, to server hop count and to server Number during delay, winner is selected to the rest is slave unit as main equipment.
Further, intelligent terminal 200 includes the first judge module 230, the second judge module 240, the 3rd judge module 250 With replacement module 260, the first judge module 230 connection locating module 220, if for not receiving reply data request signal Reply data-signal, when intelligent terminal 200 is as main equipment, if subsequently received other-end is connected to what is sent after network Data request signal, the 3rd judge module 250 judge bearing capacity in the data request signal that receives, to server 201 Hop count and the parameter and the current relevant parameter as the main equipment to number during server delays, if it is determined that main equipment is excellent It is better than the intelligent terminal for sending data request signal, then the terminal for sending data request signal is replaced with into the main equipment.
Second judge module 240 is used to judge that intelligent terminal is connected to LAN or wide area network.3rd judge module 250 is used Compare the corresponding data information replied in data message and data request signal in judgement.Replacement module 260 is used to led When equipment is replaced, the terminal of transmission data request signal is established with server 201 and connect, the message for changing main equipment is sent To server 201, and the main equipment after change is established with initial main equipment and connect, initial main equipment and server 201 Disconnect.
If the second judge module 240 judges to send the intelligent terminal 200 of data request signal and replys the intelligence of data-signal Can terminal be all connected to LAN, or both of the aforesaid intelligent terminal is all connected to upper network, then the two to server 201 hop counts and to server 201 postpone when number parameter it is identical, now only need the bearing capacity for comparing two intelligent terminals, if the 3rd Judge module 250 judges comparative result to reply the bearing capacity of the intelligent terminal of data-signal better than transmission request of data letter Number intelligent terminal bearing capacity, or when the two bearing capacity is identical, the intelligent terminal conduct of data-signal will be replied Main equipment, the intelligent terminal as main equipment preserve the information in data request signal, and with sending data request signal Intelligent terminal 200 establishes connection, and the information for establishing connection is sent to server 201 by main equipment.Conversely, replacement module 260 will The intelligent terminal 200 for sending data request signal replaces the intelligent terminal for replying data-signal as main equipment, the master newly selected Equipment is established with original main equipment and server 201 and connected, and notifies the information of the main equipment of server change renewal, original Main equipment disconnects the connection with server.
If the intelligent terminal 200 that the second judge module 240 judges to send data request signal is connected to upper network, reply The intelligent terminal of data-signal is connected to any LAN of subordinate, now sends the intelligent terminal 200 of data request signal To the hop count of server 201 and to server 201 postpone when number be superior to reply data-signal intelligent terminal, consider, 3rd judge module 250 judges to send the performance of the intelligent terminal 200 of data request signal better than the intelligence for replying data-signal Terminal, the then selection of replacement module 260 send the intelligent terminal of the replacement reply data-signal of intelligent terminal 200 of data request signal As main equipment, newly selected main equipment is established with original main equipment and server 201 and connected, and notifies server 201 to become The information of the main equipment of renewal, original main equipment disconnect the connection with server 201.
If the intelligent terminal 200 that the second judge module 240 judges to send data request signal is connected to subordinate's LAN, The intelligent terminal for replying data-signal is connected to upper network, and now the 3rd judge module 250 judges to send data request signal Intelligent terminal 200 to the hop count of server 201 and to server 201 postpone when number be worse than or be equal to reply data-signal Intelligent terminal, now still retain the intelligent terminal of original reply data-signal, the intelligent terminal as main equipment is by number Preserved according to the information in request signal, and connection is established with sending the intelligent terminal 200 of data request signal, main equipment will be established The information of connection is sent to server 201.
Prior art is different from, intelligent terminal of the invention sends data request signal when being connected into network, confirms itself Whether it is first and accesses the network, main equipment is then used as if first access network, with the follow-up terminal for accessing network Parameter and main equipment compare, if the terminal capability parameters subsequently accessed are better than main equipment, the intelligent terminal subsequently accessed is changed For main equipment, other intelligent terminals connection main equipment, the information for being sent to server is sent after main equipment forwards, server Only need to establish one between multiple terminals and be connected.The present invention can reduce server connection load, reduce network bandwidth, avoid net Network blocks, while avoids the transmission rate caused by bandwidth deficiency from reducing.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, it is included within the scope of the present invention.

Claims (6)

  1. A kind of 1. method of multiple terminal access server, it is characterised in that including:
    After the wherein any one in the multiple terminals is connected to network, data request signal is sent, the data request signal is extremely The MAC Address of few terminal for including sending the data request signal, IP address, bearing capacity, to server hop count and To number during server delays;
    If the terminal for sending the data request signal is not received in the multiple terminals except the transmission request of data letter Number the terminal outside terminal replies described in data request signal reply data message, then request built with the server Vertical connection, the terminal for sending the data request signal is established into connection as main equipment, and with the server;
    If receiving the reply data message, the terminal for sending the data request signal parses the reply data Information;
    If the terminal for sending the data request signal is all from same net with replying the terminal for replying data message Network, contrast send carrying energy of the terminal of the data request signal with replying the terminal for replying data message Power, bearing capacity winner is selected to the rest is slave unit as the main equipment;If send the described of the data request signal The bearing capacity of terminal is identical with the bearing capacity for replying the terminal for replying data message, will reply the reply The terminal of data message the rest is slave unit as the main equipment;
    If the terminal for sending the data request signal is connected to upper network, the described of the reply data message is replied Terminal is connected to any LAN of subordinate, then send the data request signal the terminal to server hop count and To number during server delays be superior to reply the terminal of the reply data message to server hop count and to server Number during delay, then selection send the terminal replacement reply end for replying data message of the data request signal End is used as the main equipment, the rest is slave unit;
    If the terminal for sending the data request signal is connected to subordinate's LAN, the reply data message is replied The terminal is connected to upper network, then send the data request signal the terminal to server hop count and to service Device postpone when number be worse than or be equal to reply it is described reply data-signal the terminal to server hop count and to service Number when device postpones, then the terminal that will reply the reply data-signal is the main equipment, the rest is slave unit;
    After the master slave relation for determining the multiple terminals, the main equipment passes the relation information between the main equipment and slave unit Defeated to arrive the server, each slave unit is forwarded to the information that the server is sent by the main equipment.
  2. 2. according to the method for claim 1, it is characterised in that replaced by the terminal for sending the data request signal In the step of being changed to the main equipment, the terminal and the server that send the data request signal establish connection, will The message of change main equipment is sent to the server, and the main equipment after change is established with the initial main equipment Connection, the initial main equipment disconnect with the server.
  3. 3. according to the method for claim 1, it is characterised in that in the multiple terminals, wherein any one is connected to network The step of after, judge that the terminal for sending the data request signal is connected to LAN or wide area network.
  4. A kind of 4. intelligent terminal, it is characterised in that including:
    Signal transmitting module, for after the intelligent terminal is connected to network, sending data request signal, the request of data Signal comprise at least the MAC Address of the terminal, IP address, bearing capacity, to server hop count and to server delays When number;
    Locating module, it is main equipment and slave unit for positioning the intelligent terminal, if not receiving in multiple terminals except transmission institute State the reply data-signal of data request signal described in the terminal replies outside the terminal of data request signal, then request with Server establishes connection, and the intelligent terminal is established with the server and connected as main equipment;If receive the reply Data message, then parse the reply data message;
    Wherein, the intelligent terminal also includes the first judge module, the second judge module, the 3rd judge module and replacement module;
    If first judge module was used to not receive in the multiple terminals except the end for sending the data request signal The reply data message of data request signal described in terminal replies outside end, judge to send the described of the data request signal Terminal is as main equipment;
    The terminal that second judge module is used to judge to send the data request signal is with replying the reply data The terminal of information is all from the network;3rd judge module is used to contrast the end for sending the data request signal End and the bearing capacity for replying the terminal for replying data message, judge bearing capacity winner for the main equipment, It the rest is slave unit;If it is additionally operable to send the bearing capacity of the terminal of the data request signal and replys the reply number It is believed that the bearing capacity of the terminal of breath is identical, the terminal that will reply the reply data message is set as the master It is standby, it the rest is slave unit;
    If second judge module judges that the terminal for sending the data request signal is connected to upper network, institute is replied The terminal for stating reply data message is connected to any LAN of subordinate, then the 3rd judge module judges to send institute State the terminal of data request signal be superior to server hop count and to number during server delays reply the reply number It is believed that the terminal of breath to server hop count and to number during server delays, then the replacement module selection sends the number Replaced according to the terminal of request signal and reply the terminal for replying data message as the main equipment, the rest is from Equipment;
    If the terminal that second judge module judges to send the data request signal is connected to subordinate's LAN, return The multiple terminal for replying data message is connected to upper network, then the 3rd judge module judges to send the data The terminal of request signal to server hop count and be worse than or be equal to number during server delays and reply the reply The terminal of data-signal to server hop count and to number during server delays, then will reply the reply data-signal The terminal be the main equipment, the rest is slave unit;
    After the master slave relation for determining the multiple terminals, the main equipment is used to believe the relation between the main equipment and slave unit Breath is transferred to the server, and each slave unit is forwarded to the information that the server is sent by the main equipment.
  5. 5. intelligent terminal according to claim 4, it is characterised in that also including replacement module, for making the transmission number Establish and connect with the server according to the terminal of request signal, the message for changing main equipment is sent to the server, and make The main equipment after change is established with the initial main equipment to be connected, and the initial main equipment disconnects with the server Connection.
  6. 6. intelligent terminal according to claim 4, it is characterised in that described for judging also including the second judge module Intelligent terminal is connected to LAN or wide area network.
CN201510697672.7A 2015-10-23 2015-10-23 A kind of method and intelligent terminal of multiple terminal access server Active CN105357116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510697672.7A CN105357116B (en) 2015-10-23 2015-10-23 A kind of method and intelligent terminal of multiple terminal access server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510697672.7A CN105357116B (en) 2015-10-23 2015-10-23 A kind of method and intelligent terminal of multiple terminal access server

Publications (2)

Publication Number Publication Date
CN105357116A CN105357116A (en) 2016-02-24
CN105357116B true CN105357116B (en) 2018-04-06

Family

ID=55332989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510697672.7A Active CN105357116B (en) 2015-10-23 2015-10-23 A kind of method and intelligent terminal of multiple terminal access server

Country Status (1)

Country Link
CN (1) CN105357116B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874412B (en) * 2017-01-22 2021-04-23 国网山东省电力公司滨州供电公司 Electricity charge inquiry monitoring system based on cloud computing
CN109561340B (en) * 2017-09-25 2021-08-10 北京小鸟听听科技有限公司 Multimedia service processing method, device, multimedia service group and storage medium
CN109754798B (en) * 2018-12-20 2021-10-15 歌尔股份有限公司 Multi-loudspeaker-box synchronous control method and system and loudspeaker box
CN112398664B (en) * 2019-08-13 2023-08-08 中兴通讯股份有限公司 Main device selection method, device management method, electronic device and storage medium
CN111031007A (en) * 2019-11-22 2020-04-17 珠海豹趣科技有限公司 Communication control method and device between electronic whiteboards and server
CN110995615B (en) * 2019-12-02 2023-05-05 德阳瑞能电力科技有限公司 Communication method for multilateral master-slave switching
CN111416760B (en) * 2020-03-30 2022-11-08 京东方科技集团股份有限公司 Information synchronization method, terminal and information synchronization system
CN112073463B (en) * 2020-08-06 2021-10-26 珠海格力电器股份有限公司 Rental equipment control method, system, device, equipment and storage medium
CN112073473B (en) * 2020-08-18 2023-03-24 浙江鸿城科技有限责任公司 Internet of things equipment heartbeat packet data acquisition method
CN111970284A (en) * 2020-08-19 2020-11-20 网易(杭州)网络有限公司 Message processing method, device, equipment and storage medium
CN112333058B (en) * 2020-09-15 2023-06-30 深圳Tcl新技术有限公司 Device monitoring method, device, system and computer readable storage medium
CN114979188A (en) * 2022-05-30 2022-08-30 阿里云计算有限公司 Self-healing method and device for edge equipment, electronic equipment and storage medium
CN115632897A (en) * 2022-10-14 2023-01-20 深圳市凯迪仕智能科技股份有限公司 Communication control method and related device
CN115714776B (en) * 2023-01-09 2023-05-09 杭州涂鸦信息技术有限公司 Method for receiving reported data from equipment and method for reporting data by equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420805A (en) * 2010-09-27 2012-04-18 阿里巴巴集团控股有限公司 Method, system and device for communication by virtue of socket connection
CN103297455A (en) * 2012-02-24 2013-09-11 阿里巴巴集团控股有限公司 Method and device for connection sharing of browsers
CN103916442A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Message pushing achieving method, mobile terminal and message pushing system
CN104917842A (en) * 2015-06-16 2015-09-16 上海斐讯数据通信技术有限公司 System and method for processing batch tasks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201438471A (en) * 2013-03-20 2014-10-01 Hon Hai Prec Ind Co Ltd Method for transmitting data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420805A (en) * 2010-09-27 2012-04-18 阿里巴巴集团控股有限公司 Method, system and device for communication by virtue of socket connection
CN103297455A (en) * 2012-02-24 2013-09-11 阿里巴巴集团控股有限公司 Method and device for connection sharing of browsers
CN103916442A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Message pushing achieving method, mobile terminal and message pushing system
CN104917842A (en) * 2015-06-16 2015-09-16 上海斐讯数据通信技术有限公司 System and method for processing batch tasks

Also Published As

Publication number Publication date
CN105357116A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN105357116B (en) A kind of method and intelligent terminal of multiple terminal access server
CN102387056A (en) Intelligent household electrical appliance control system
CN105429883A (en) Long connection method of multiple intelligent devices and server equipment and intelligent device
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
KR101292861B1 (en) Registration of a new node to a meter reading wireless mesh network and associated system
CN101577722A (en) Method for realizing MAC forced forwarding function and device
CN104717603A (en) Method and system for achieving Bluetooth low-power-consumption networking and supporting convenient interconnection
CN102882557B (en) Coordinator recovery method and power line communication equipment
CN106341468B (en) Remote awakening method, device and system of intelligent equipment
CN104201776A (en) Wireless IPV6 (Internet Protocol Version 6) ad-hoc network communication system for intelligent ring main unit
JP2008301268A (en) Method of searching communication route and communication terminal using the same
CN101826995A (en) Method and system for managing home network equipment
CN101707568A (en) Method and system for controller user multicast service and multicast main control device
CN108551679A (en) Wireless device communication means based on LAN Mesh technologies and system
CN104350707A (en) Relaying messages in a heterogeneous network
CN104486174A (en) Networking method and networking device for intelligent terminals
CN202111864U (en) Distributed wireless gateway system
CN113132989A (en) Network distribution method and intelligent household system
CN103368847A (en) Broadband convergence communication method and router
CN103139028A (en) Intelligent home energy management system based on G.hn
CN107786441B (en) Communication method, OpenFlow switch and communication system
CN111786835A (en) Fault repairing method based on wireless Internet of things and related device
CN116600330A (en) HUB hierarchical topology management method and device based on NETCONF protocol
CN101436953B (en) Management method and processing module for on-line announcement message of network appliance
CN102739483B (en) The method of dereference intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200826

Address after: 430000 part of the third floor of cable building, Guandong science and Technology Park, Wuhan East Lake New Technology Development Zone, Wuhan, Hubei Province

Patentee after: Wuhan Changjiang Computing Technology Co., Ltd

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right