CN108900587A - A kind of intelligent terminal acts on behalf of decision system - Google Patents

A kind of intelligent terminal acts on behalf of decision system Download PDF

Info

Publication number
CN108900587A
CN108900587A CN201810627091.XA CN201810627091A CN108900587A CN 108900587 A CN108900587 A CN 108900587A CN 201810627091 A CN201810627091 A CN 201810627091A CN 108900587 A CN108900587 A CN 108900587A
Authority
CN
China
Prior art keywords
terminal
information
intelligent terminal
decision
networking
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
CN201810627091.XA
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.)
Sichuan Feixun Information Technology Co Ltd
Original Assignee
Sichuan Feixun Information 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 Sichuan Feixun Information Technology Co Ltd filed Critical Sichuan Feixun Information Technology Co Ltd
Publication of CN108900587A publication Critical patent/CN108900587A/en
Pending legal-status Critical Current

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/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

Decision system is acted on behalf of the invention discloses a kind of intelligent terminal, is related to smart machine and acts on behalf of field.It is the intelligent terminal of initial communication state information and/or group-net communication status information including multiple communications status information, multiple intelligent terminals form at least one networking, select an intelligent terminal as decision terminal in each networking;Each intelligent terminal includes:Analysis of Networking module;Wireless communication module;Communications status information is changed to the communications status information generated by state change module;The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each proxy terminal proxied terminal corresponding with several forms a subnet.It can communicate directly connection between proxy terminal and proxied terminal, proxy terminal can also be connect with server direct communication, complete the data transmission of proxied terminal, increase the efficiency of the data transmission between server and intelligent terminal.

Description

A kind of intelligent terminal acts on behalf of decision system
Technical field
The present invention relates to smart machines to act on behalf of field, and espespecially a kind of intelligent terminal acts on behalf of decision system.
Background technique
Internet of Things is the important component of generation information technology, and the important development stage in " informationization " epoch. As its name suggests, Internet of Things is exactly the connected internet of object object.This has two layers of meaning:First, the core of Internet of Things and basis are still It is internet, is the network of extension based on the internet and extension;Second, its user terminal extends and extends to any object Between product and article, information exchange and communication are carried out, that is, object object mutually ceases.Internet of Things by Intellisense, identification technology with General fit calculation etc. communicates cognition technology, is widely used in the fusion of network.
Currently, intelligent terminal can be directly communicatively coupled with server, but with the surge of smart machine quantity, Server needs are communicatively coupled with more and more intelligent terminals, and the requirement to server is continuously increased;Meanwhile in intelligence In the communication process of terminal and server, intelligent terminal itself has biggish data transmission capabilities, but required for intelligent terminal The data volume of transmission is smaller.
Therefore, it is connect by existing intelligent terminal with server direct communication, server receives multiple intelligent terminals and passes When defeated data, server needs to occupy a large amount of CPU, memory source and network bandwidth, and the concurrent pressure of server compared with Height, the data transmission efficiency between server and multiple intelligent terminals are lower.
Summary of the invention
The object of the present invention is to provide a kind of decision system of acting on behalf of of intelligent terminal, in the present invention, proxy terminal with by generation It can communicate directly connection between reason terminal, proxy terminal can also be connect with server direct communication, complete proxied terminal Data transmission, increase between server and intelligent terminal data transmission efficiency.
Technical solution provided by the invention is as follows:
A kind of intelligent terminal acts on behalf of decision system, including multiple communications status information be initial communication state information and/ Or the intelligent terminal of group-net communication status information, multiple intelligent terminals form at least one networking, select in each networking One intelligent terminal is as decision terminal;Each intelligent terminal includes:Analysis of Networking module, judges whether itself is decision Terminal;Analysis of Policy Making module, total property when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Energy index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligent terminal Communications status information corresponding with its Agent Type;Wireless communication module is carried out wireless communication with remaining intelligent terminal;When described When intelligent terminal is decision terminal, all intelligent terminals into networking in addition to itself send its corresponding communications status letter Breath;Or when the intelligent terminal is not decision terminal, the communications status information that the decision terminal is sent is received;State change Communications status information is changed to the communications status information generated by module;When the state change module is by communications status information After being changed to the communications status information generated, the wireless communication module establishes communication link according to the communications status information after change It connects;The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each proxy terminal Proxied terminal corresponding with several forms a subnet.
Further, the Analysis of Policy Making module includes:Data classification submodule, to the overall performance of all intelligent terminals Index and transmission data target are classified, and overall performance index set and transmission data target set are formed;Index submodule, from It selects an overall performance index as acting on behalf of overall performance index in the overall performance index set, and the overall performance of acting on behalf of is referred to The corresponding intelligent terminal is marked as proxy terminal undetermined, chooses the agency undetermined from the transmission data target set The transmission data target of terminal, and data target is transmitted using the transmission data target of the proxy terminal undetermined as agency;Number According to analysis submodule, the transmission requirement acted on behalf of overall performance index and whether meet agency's transmission data target is analyzed;When It is described when acting on behalf of overall performance index and meeting the transmission requirement of agency's transmission data target, generation described in the decision terminal analysis For reason overall performance index while meeting the transmission requirement of agency's transmission data target, determination also meets remaining described transmission The index quantity of the transmission requirement of data target will be satisfied the corresponding intelligent terminal of the transmission data target of transmission requirement As proxied terminal undetermined;The decision terminal also meets remaining transmission data target according to the overall performance index The index quantity of transmission requirement determines the Agent Type of the proxy terminal undetermined and/or proxied terminal undetermined, and generates each Self-corresponding communications status information.
Further, the Analysis of Policy Making module further includes:Agent Type submodule, when the overall performance index of acting on behalf of is discontented with When the transmission requirement of foot agency's transmission data target, the Agent Type submodule determines the generation of the proxy terminal undetermined Type is managed as not Agent Type.
Further, the data analysis submodule acts on behalf of overall performance index and transmission coefficient according to described, analyzes the generation Whether reason overall performance index meets agency's transmission data target in conjunction with the transmission requirement of the transmission coefficient.
Further, the Analysis of Policy Making module further includes index analysis submodule;When the overall performance index of acting on behalf of meets When the transmission requirement of agency's transmission data target, the index submodule transmits data target according to the agency and updates institute It states and acts on behalf of overall performance index;The index submodule is chosen a transmission data target from the transmission data target set and is made For proxied transmission data target;Index analysis submodule, analyze it is described act on behalf of overall performance index whether meet it is described proxied Transmit the transmission requirement of data target;When it is described act on behalf of overall performance index meet it is described it is proxied transmission data target transmission want When asking, the Agent Type submodule is using the corresponding intelligent terminal of the proxied transmission data target as proxied end undetermined End;When it is described act on behalf of overall performance index be unsatisfactory for it is described it is proxied transmission data target transmission requirement when, the index submodule Block judges described remaining all overall performance index for acting on behalf of whether overall performance index is greater than in the overall performance index set;Work as institute It states when acting on behalf of overall performance index greater than remaining all overall performance index in the overall performance index set, Agent Type Module determines that the Agent Type of the corresponding intelligent terminal of the proxied transmission data target is not Agent Type;As the agency When overall performance index is not more than remaining all overall performance index in the overall performance index set, the Agent Type submodule Analyze the quantity of the proxied terminal undetermined.
Further, the Analysis of Policy Making module further includes:Information generates submodule, and to act on behalf of overall performance index also full when described When the index quantity of the transmission requirement of remaining transmission data target is equal to zero enough, described in the Agent Type submodule determination The Agent Type of proxy terminal undetermined is that Agent Type, information do not generate the group Netcom that submodule generates the proxy terminal undetermined Believe status information.
Further, when the index acted on behalf of overall performance index and also meet the transmission requirement of remaining transmission data target It is in varying numbers when zero, the Agent Type submodule determine the proxied terminal undetermined Agent Type be proxied class Type, information generate the proxied communications status information that submodule generates the proxied terminal undetermined;The Agent Type submodule Block determines that the Agent Type of the proxy terminal undetermined is active Agent Type, and information generates submodule and generates the agency undetermined The agent communication status information of terminal.
Further, the Agent Type submodule block analysis obtains the Agent Type of the intelligent terminal as not Agent Type When, information generates the group-net communication status information that submodule generates the intelligent terminal.
Further, when multiple intelligence that communications status information is initial communication state information and/or group-net communication status information An intelligent terminal in energy terminal will receive described group of netting index when receiving the networking data packet of remaining intelligent terminal broadcast Intelligent terminal according to packet, using the intelligent terminal for sending the networking data packet as terminal is sent, receives eventually as terminal is received End records the facility information in the networking data packet;Receive the address information of the Analysis of Networking module analysis itself of terminal With the relationship between the address information in the networking data packet, and decision terminal is determined according to analysis result, and by described Facility information of the wireless communication module to transmission terminal replies decision information and the reception terminal;The decision information includes master Move decision information and by decision information;The decision terminal is incorporated in the intelligent terminal that facility information is received in broadcast time, Form a networking.
Further, the Analysis of Networking module further includes:Address submodule, for obtaining the letter of the address in networking data packet Breath, and obtain the address information of intelligent terminal itself;Whether the address information that address submodule is also used to analyze itself is less than Address information in networking data packet;The address information that submodule analyzes to obtain itself when address is less than in the networking data packet Address information when, intelligent terminal determines itself as decision terminal, and the wireless communication module starts or continues to broadcast networking Data packet, information sending module are sent to the corresponding intelligent terminal of networking data packet by the facility information of decision information and itself.
Further, when address, submodule analyzes to obtain the address information of itself greater than the address letter in the networking data packet When breath, intelligent terminal determines the corresponding intelligent terminal of networking data packet as decision terminal, and information sending module is to a group network data Wrap the facility information that corresponding intelligent terminal sends active decision information and itself;When wireless communication module receives active decision When information, the wireless communication module continues broadcast networking data packet.
Further, when wireless communication module is received by decision information, the wireless communication module is gone off the air networking Data packet, and equipment logging modle empties the facility information of remaining intelligent terminal of self record;And/or;When the channel radio Believe that module determines that the wireless communication module is gone off the air networking data packet when sending terminal as decision terminal, and equipment note Record module empties the facility information of remaining intelligent terminal of self record.
Further, whole for the intelligence of initial communication state information and/or group-net communication status information when communications status information Wireless communication module in end, for receiving the networking data packet of remaining intelligent terminal broadcast;Described group of network data will be received The intelligent terminal of packet is as reception terminal;Analysis of Networking module includes:State-detection submodule, detects whether itself is in broadcast The broadcast state of networking data packet;Equipment detection sub-module, when state-detection submodule itself is not at broadcast networking data packet Broadcast state when, equipment detection sub-module judge information record sub module whether record remaining intelligent terminal equipment letter Breath;Information record sub module, when equipment detection sub-module record has the facility information of remaining intelligent terminal, the information record Submodule abandons networking data packet;When equipment detection sub-module does not record the facility information of remaining intelligent terminal, the letter Cease the facility information in record sub module record group network data packet.
Further, the Analysis of Networking module further includes:Time detection sub-module, for judging whether current time reaches Waiting time, and judge whether current time reaches broadcast time;When time detection sub-module detects that current time reaches When broadcast time, information sending module sends mesh information to the intelligent terminal of the facility information of record;Submodule is detected when the time When block detects that current time reaches the waiting time, and when wireless communication module does not receive mesh information, intelligent terminal intelligence It is connect with server communication;When wireless communication module receives mesh information within the waiting time, information sending module is to institute It states decision terminal replies and receives mesh information;The decision terminal combines the intelligent terminal formation group for receiving and receiving mesh information Net.
Further, the Analysis of Networking module further includes:State judging submodule, when wireless communication module receives networking When information, state judging submodule judges whether itself connect with server communication;When state judging submodule judge itself with When server communication connects, information sending module refuses mesh information to decision terminal replies.
Further, when wireless communication module receives mesh information within the waiting time, the mesh information is received Intelligent terminal time detection sub-module remove the waiting time.
Compared with prior art, a kind of decision system of acting on behalf of of intelligent terminal provided by the invention has below beneficial to effect Fruit:
1, the data information of all intelligent terminals is converged on the same intelligent terminal, selects a decision terminal, used Become the intelligent terminal of proxy terminal in decision, and the Agent Type of all intelligent terminals can be obtained by the decision terminal. Can communicate directly connection between proxy terminal and proxied terminal, proxy terminal can also be connect with server direct communication, The data transmission for completing proxied terminal increases the efficiency of the data transmission between server and intelligent terminal.
2, decision terminal can get the transmission data target of proxy terminal undetermined from transmission data target, and decision is whole End can judge decision terminal after the transmission data target for being transmitted itself according to transmission data target, if there are vacant Space;Intelligent terminal is being determined there are vacant space and itself still is being able to transmit the transmission number of remaining intelligent terminal simultaneously According to.Final intelligent terminal can confirm the Agent Type of each intelligent terminal according to the index quantity that decision obtains.
3, the proxy terminal undetermined for completing to select is being judged there are after spare space, decision terminal needs the total property of renewal agency Energy index, for embodying the vacant overall performance index of current intelligent terminal.After proxied transmission data target is completed in selection, Decision terminal is that can determine whether the current transmission requirement acted on behalf of overall performance index and whether meet proxied transmission data target, because This, act on behalf of overall performance index meet it is proxied transmission data target requirement when, can indicate that proxy terminal undetermined can be made For the proxied proxy terminal for transmitting the corresponding intelligent terminal of data target, therefore, decision terminal also can be by proxied biography The corresponding intelligent terminal of transmission of data index is as proxied terminal undetermined.
4, multiple to need to establish group since intelligent terminal does not know the presence of remaining intelligent terminal when establishing networking The intelligent terminal of net can broadcast networking data packet outward, closed with the communication connection established between two neighboring intelligent terminal System, since under sometime, an intelligent terminal is merely able to receive a networking data packet;Therefore, in the present embodiment An intelligent terminal is analyzed in the state for the networking data packet for receiving the transmission of remaining intelligent terminal, while a group netting index will be received According to the intelligent terminal of packet as reception terminal, and the intelligent terminal of the networking data packet will be sent as transmission terminal.
5, deterministic process is lesser address information as decision terminal, therefore, receives terminal and receives networking data packet In address information after, receive the size for the address information that terminal can compare in itself and networking data packet, complete judgement Process, when receiving terminal as decision terminal, receiving terminal can continue to broadcast, and sends terminal and receive by decision information Later, it sends terminal and is also able to carry out corresponding label, no longer become decision terminal.
6, for the intelligent terminal that itself has individually been connected with server, intelligent terminal itself is merely able to receive broadcast, And broadcast cannot be sent, therefore after receiving broadcast, and after itself is as decision terminal, the intelligent terminal then need to start into Row broadcast, realizes the foundation of the networking of multiple intelligent terminals.
7, after the completion of receiving the preliminary confirmation of the SOT state of termination, receiving terminal can determine according to the broadcast state of itself Whether to directly carry out address information comparison;For the intelligent terminal that can not be broadcasted, it is still desirable to confirm the intelligent terminal Whether it is determined that completion, judges whether itself records the facility information of remaining intelligent terminal, when intelligent terminal can not be wide It broadcasts, and there are the comparisons for the address information for when facility information of remaining intelligent terminal, then showing intelligent terminal foundation completion, and Itself itself is difficult to continue as decision terminal, therefore, intelligent terminal can directly abandon the group according to not as decision terminal Network data packet, without replying.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, to a kind of agency of intelligent terminal Above-mentioned characteristic, technical characteristic, advantage and its implementation of decision system are further described.
Fig. 1 is a kind of structural schematic diagram for acting on behalf of decision system of intelligent terminal of the present invention;
Fig. 2 is a kind of structural schematic diagram for acting on behalf of Analysis of Policy Making module in decision system of intelligent terminal of the present invention;
Fig. 3 is a kind of structural schematic diagram for acting on behalf of Analysis of Networking module in decision system of intelligent terminal of the present invention.
Drawing reference numeral explanation:10. Analysis of Networking module, 11. state-detection submodules, 12. equipment detection sub-modules, 13. Information record sub module, 14. address submodules, 15. time detection sub-modules, 16. state judging submodules, 20. Analysis of Policy Making Module, 21. data classification submodules, 22. index submodules, 23. data analysis submodule, 24. Agent Type submodules, 25. Index analysis submodule, 26. information generate submodule, 30. wireless communication modules, 40. state change modules.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated " only this ", can also indicate the situation of " more than one ".
A kind of embodiment provided according to the present invention, as shown in Figure 1, a kind of intelligent terminal acts on behalf of decision system, including Multiple communications status information are the intelligent terminal of initial communication state information and/or group-net communication status information, multiple intelligence Energy terminal forms at least one networking, selects an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
Specifically, in the present embodiment, intelligent terminal refer mainly to the Intelligent bracelet that can be connect with server direct communication, Intelligence title, intelligent socket, intelligent video camera head or smartwatch, and each intelligent terminal individually can send its number to server According to packet, it is communicatively coupled with server.
Between multiple intelligent terminals and communication connection relationship is not present, therefore, multiple intelligent terminals are not aware that remaining intelligence The address information of energy terminal, i.e. IP address or MAC Address, or even the presence of remaining intelligent terminal is not known yet.
Therefore, before selecting proxy terminal, multiple intelligent terminals firstly the need of confirm remaining intelligent terminal presence, and The intelligent terminal that connection will be communicated with each other forms a networking, and each networking chooses a decision terminal to carry out generation The decision of terminal is managed, with the proxy terminal formed in itself networking.
And since intelligent terminals multiple in networking are merely able to communicate to connect with a small amount of intelligent terminal, by all intelligence The data information of terminal converges on the same intelligent terminal, selects a decision terminal, becomes proxy terminal for decision Intelligent terminal.
Decision terminal can be according to the overall performance index and transmission data target conduct that intelligent terminals all in networking are sent The factor of decision, carries out corresponding decision, and analyzes and obtain the Agent Type of all intelligent terminals, and by each intelligent terminal In the data packet that corresponding communications status information write-in is sent;Due to the address letter of the intelligent terminal of the transmission carried in data packet Breath, therefore decision terminal can obtain the address information of all intelligent terminals in all networkings, therefore can also write in data packet Enter the address information of its corresponding required intelligent terminal acted on behalf of of the data packet, or act on behalf of the proxy terminal of the intelligent terminal Address information, and the data packet is replied to original data packet.
Each intelligent terminal changes the communications status information of oneself when receiving its communications status information, and as generation Terminal or proxied terminal are managed, the address information of its proxy terminal or proxied terminal, therefore proxy terminal can be also got It can communicate directly and connect between proxied terminal, proxy terminal can also be connect with server direct communication, be completed by generation The data transmission for managing terminal increases the efficiency of the data transmission between server and intelligent terminal.
Another embodiment provided according to the present invention, as depicted in figs. 1 and 2, a kind of intelligent terminal act on behalf of decision system System is the intelligent terminal of initial communication state information and/or group-net communication status information including multiple communications status information, multiple The intelligent terminal forms at least one networking, selects an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
The Analysis of Policy Making module 20 includes:
Data classification submodule 21, performance indicator and transmission data target to all intelligent terminals are classified, Forming properties index set and transmission data target set.
Index submodule 22 selects a performance indicator as agent capabilities index from the performance indicator set, and Using the corresponding intelligent terminal of the agent capabilities index as proxy terminal undetermined, from the transmission data target set The transmission data target of the proxy terminal undetermined is chosen, and using the transmission data target of the proxy terminal undetermined as agency Transmit data target.
Data analyze submodule 23, analyze the biography whether the agent capabilities index meets agency's transmission data target Defeated requirement.
When the agent capabilities index meets the transmission requirement of agency's transmission data target, the decision terminal point The agent capabilities index is analysed while meeting the transmission requirement of agency's transmission data target, determination also meets remaining institute The index quantity for stating the transmission requirement of transmission data target, will be satisfied the corresponding intelligence of the transmission data target of transmission requirement Energy terminal is as proxied terminal undetermined.
The decision terminal also meets the finger of the transmission requirement of remaining transmission data target according to the performance indicator Quantity is marked, determines the Agent Type of the proxy terminal undetermined and/or proxied terminal undetermined, and generate corresponding communication Status information.
Agent Type submodule 24, when the transmission acted on behalf of overall performance index and be unsatisfactory for agency's transmission data target It is required that when, the Agent Type submodule 24 determines the Agent Type of the proxy terminal undetermined for not Agent Type.
Preferably, data analysis submodule 23 acts on behalf of overall performance index and transmission coefficient according to described, described in analysis Act on behalf of whether overall performance index meets agency's transmission data target in conjunction with the transmission requirement of the transmission coefficient.
Specifically, in embodiment, multiple intelligent terminals formed networking, and formed in networking decision terminal it Afterwards, intelligent terminal needs overall performance index and transmission data target being sent to decision terminal in addition to decision terminal in networking.
Preferably, in the present embodiment, intelligent terminal can directly be sent out to decision terminal in addition to decision terminal in networking Send decision data packet, in decision data packet can the overall performance index comprising each intelligent terminal and transmission data target, always Performance indicator characterizes the ability that each intelligent terminal can transmit data, and transmission data target characterizes each intelligent terminal and needs to pass The size of defeated data.
For decision terminal after receiving the overall performance index and transmission data target that each intelligent terminal is sent, decision is whole End the overall performance index to all intelligent terminals and transmission data target can classify respectively, form overall performance index set With transmission data target set, convenient for taking later.
Preferably, in the present embodiment, during generating overall performance index set and transmission data target set, certainly Plan terminal is respectively ranked up the overall performance index of all intelligent terminals and transmission data target, overall performance index set and biography Overall performance index and transmission data target comprising sequence completion in transmission of data index set.
It in the present embodiment, further include the address information of each smart machine in decision data packet, address information is mainly wrapped The IP address and/or MAC Address of intelligent terminal are included, decision terminal is forming overall performance index set and transmission data target set When, decision terminal still is able to respectively correspond each intelligent terminal in overall performance index set and transmits in data target, I.e. each or address information can correspond in an overall performance index and transmission data target in overall performance index set A transmission data target.
Intelligent terminal can arbitrarily choose overall performance index as acting on behalf of overall performance in overall performance index set and refer to Mark, then get and act on behalf of the corresponding intelligent terminal of overall performance index, and using the intelligent terminal as proxy terminal undetermined, i.e., to Surely acting on behalf of intelligent terminal may be as proxy terminal, and is further confirmed that by subsequent step.
In this embodiment, it is preferred that during overall performance index is acted on behalf of in selection, decision terminal is from overall performance index Select an overall performance index as overall performance index is acted on behalf of in set, in selection course, what is selected acts on behalf of overall performance index For the intelligent terminal for not generating communications status information.
Decision terminal can get the transmission data target of proxy terminal undetermined, decision terminal from transmission data target It can judge decision terminal after the transmission data target for being transmitted itself according to transmission data target, if there are vacant Space;Intelligent terminal is being determined there are vacant space and itself still is being able to transmit the transmission number of remaining intelligent terminal simultaneously According to;Final intelligent terminal can confirm the Agent Type of each intelligent terminal according to the index quantity that decision obtains.
Preferably, in the present embodiment, since overall performance index is bigger, there are the possibility of spare space is bigger, therefore it is total The bigger intelligent terminal of performance indicator is more possible as proxy terminal;During choosing overall performance index, decision terminal Maximum overall performance index conduct is chosen from overall performance index set and acts on behalf of overall performance index, while finally analyzing obtained generation Reason terminal quantity can also reach minimum.
In the present embodiment, when transmitting data target is a data, the overall performance index of intelligent terminal itself is big In or equal to transmission data target transmission requirement;And when transmission data target needs, which are transmitted several times, can complete transmission, Intelligent terminal is under fewer number transmission requirement, and there may be less than transmission data target for the overall performance index of intelligent terminal itself Transmission requirement possibility.
Preferably, proxy terminal undetermined and/or the corresponding communications status letter of proxied terminal undetermined are generated in decision terminal After breath, the intelligent terminal for generating communications status information can be marked in decision terminal, avoided choosing again and acted on behalf of overall performance Index;Or decision terminal can refer to the corresponding overall performance index of intelligent terminal for generating communications status information and transmission data Mark is directly deleted from overall performance index set and transmission data target set, and then chooses and act on behalf of overall performance index, and analysis During the index quantity for acting on behalf of the transmission requirement for agency's transmission data target that overall performance index can also meet, avoid The possibility that the overall performance index and transmission data target for the intelligent terminal being selected are selected again.
Preferably, in the present embodiment, transmission requirement, and each intelligent terminal can be quantified by the setting of transmission coefficient There are different transmission requirements, and therefore, the transmission requirement of each intelligent terminal is also different.And for the same agency undetermined Terminal, the corresponding data of transmission data target are required to be transmitted by the proxy terminal undetermined, therefore are determining transmission system When number, transmission coefficient is fixed in each data packet, and with corresponding intelligent terminal to corresponding.
More specifically, transmission coefficient includes conversion coefficient, splits coefficient;Conversion coefficient will be for that will transmit data target conversion For corresponding overall performance index, and identical correspondence is carried out, in the present embodiment, the conversion coefficient of each intelligent terminal can phase Together.
Splitting coefficient main users embodiment intelligent terminal can be when acting on behalf of remaining intelligent terminal, for a transmission data The number that index can be split, and the inverse that coefficient be fractionation number is split, therefore, transmission coefficient can withdraw deposit each transmission number According to the transmission requirement of index, and when each intelligent terminal can transmit a transmission data target with more number, the intelligence end The transmission coefficient at end is smaller, i.e. the corresponding transmission requirement of transmission data target is lower, acts on behalf of remaining intelligence eventually convenient for intelligent terminal The transmission data target at end.
Another embodiment provided according to the present invention, a kind of intelligent terminal act on behalf of decision system, including multiple communications Status information is the intelligent terminal of initial communication state information and/or group-net communication status information, multiple intelligent terminal shapes At at least one networking, select an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
The Analysis of Policy Making module 20 includes:
Data classification submodule 21, performance indicator and transmission data target to all intelligent terminals are classified, Forming properties index set and transmission data target set.
Index submodule 22 selects a performance indicator as agent capabilities index from the performance indicator set, and Using the corresponding intelligent terminal of the agent capabilities index as proxy terminal undetermined, from the transmission data target set The transmission data target of the proxy terminal undetermined is chosen, and using the transmission data target of the proxy terminal undetermined as agency Transmit data target.
Data analyze submodule 23, analyze the biography whether the agent capabilities index meets agency's transmission data target Defeated requirement.
When the agent capabilities index meets the transmission requirement of agency's transmission data target, the decision terminal point The agent capabilities index is analysed while meeting the transmission requirement of agency's transmission data target, determination also meets remaining institute The index quantity for stating the transmission requirement of transmission data target, will be satisfied the corresponding intelligence of the transmission data target of transmission requirement Energy terminal is as proxied terminal undetermined.
The decision terminal also meets the finger of the transmission requirement of remaining transmission data target according to the performance indicator Quantity is marked, determines the Agent Type of the proxy terminal undetermined and/or proxied terminal undetermined, and generate corresponding communication Status information.
Agent Type submodule 24, when the transmission acted on behalf of overall performance index and be unsatisfactory for agency's transmission data target It is required that when, the Agent Type submodule 24 determines the Agent Type of the proxy terminal undetermined for not Agent Type.
Index analysis submodule 25, when it is described act on behalf of overall performance index meet it is described agency transmission data target transmission want When asking, the index submodule 22, which according to the agency transmits data target and updates, described acts on behalf of overall performance index.
The index submodule 22 is chosen a transmission data target from the transmission data target set and is used as by generation Reason transmission data target.
The index analysis submodule 25, which is analyzed, described acts on behalf of whether overall performance index meets the proxied transmission data The transmission requirement of index.
When it is described act on behalf of overall performance index meet it is described it is proxied transmission data target transmission requirement when, the proxy class Type submodule 24 is using the corresponding intelligent terminal of the proxied transmission data target as proxied terminal undetermined.
When it is described act on behalf of overall performance index be unsatisfactory for it is described it is proxied transmission data target transmission requirement when, the index Submodule 22 judges described to act on behalf of remaining all overall performance whether overall performance index is greater than in the overall performance index set and refer to Mark.
When it is described act on behalf of overall performance index greater than remaining all overall performance index in the overall performance index set when, institute It states Agent Type submodule 24 and determines that the Agent Type of the corresponding intelligent terminal of the proxied transmission data target is not act on behalf of Type.
When it is described act on behalf of overall performance index no more than remaining all overall performance index in the overall performance index set when, The Agent Type submodule 24 analyzes the quantity of the proxied terminal undetermined.
The Agent Type submodule 24 analyze obtain the intelligent terminal Agent Type be not Agent Type when, information Generate the group-net communication status information that submodule 26 generates the intelligent terminal.
Specifically, in the present embodiment, the proxy terminal undetermined selected is completed there are after spare space in judgement, decision is whole End needs renewal agency overall performance index, for embodying the vacant overall performance index of current intelligent terminal.
Preferably, in the present embodiment, since biggish overall performance index of acting on behalf of can transmit more lesser transmission Data target, and lesser overall performance index of acting on behalf of is difficult to transmit biggish transmission data target, it is therefore, proxied choosing When transmitting data target, maximum transmission data target is chosen first as proxied transmission data target, it is biggish to complete Transmit the agency of the corresponding intelligent terminal of data target.
After proxied transmission data target is completed in selection, decision terminal can determine whether current to act on behalf of overall performance index Therefore the transmission requirement for whether meeting proxied transmission data target meets proxied transmission data acting on behalf of overall performance index When the requirement of index, it can indicate that proxy terminal undetermined can be as the corresponding intelligent terminal of proxied transmission data target Proxy terminal, therefore, decision terminal also can be using the corresponding intelligent terminals of proxied transmission data target as undetermined proxied Terminal.
And when acting on behalf of overall performance index and being unsatisfactory for the requirement of proxied transmission data target, illustrate that proxy terminal undetermined is difficult Using the proxy terminal as the corresponding intelligent terminal of proxied transmission data target, and generates the above results there may be two kinds Reason, first is that acting on behalf of overall performance index after the transmission data target for being transmitted itself, remaining spatial content is smaller, it is difficult to Continue to transmit the transmission data target of remaining intelligent terminal;Second is that since proxied transmission data target is excessive, even if choosing it Remaining intelligent terminal still cannot complete the agency of the corresponding intelligent terminal of proxied transmission data target.
Therefore, in the present embodiment, all intelligent terminals are and are transmitted several times, and proxied transmission data target is corresponding The current the number of transmissions of intelligent terminal is required compared with the transmission requirement for then producing proxied transmission data can not be by current Overall performance index satisfaction is acted on behalf of, data biography can not be completed under the transmission requirement of fewer number by remaining all intelligent terminal afterwards It is defeated, therefore the corresponding data of transmission data target are merely able to individually connected with server communication by its corresponding intelligent terminal In termination process, increase the number of data transmission, to reduce transmission requirement, completes the transmission of the corresponding data of transmission data target.
Decision terminal is by judging remaining updated acting on behalf of overall performance index and whether being greater than in overall performance index set All overall performance indexs, to confirm the proxied reason transmitted the corresponding intelligent terminal of data target can not be proxied;Judging It obtains acting on behalf of overall performance index when all the remaining overall performance indexs are still greater than, illustrates that remaining intelligent terminal is equally difficult to act on behalf of Data of the corresponding intelligent terminal of proxied transmission data target, therefore, decision terminal is by proxied transmission data target pair The group-net communication status information of intelligent terminal described in the intelligent terminal answered, i.e., proxied transmission data target can individually with service Device communication connection, realizes the transmission requirement of more number, the overall performance index for then realizing itself can satisfy more number The transmission requirement of small transmission data target.
And when acting on behalf of remaining all overall performance index that overall performance index is not more than in overall performance index set, explanation is worked as It is preceding to act on behalf of that overall performance index is smaller, therefore decision terminal can determine the data of proxied terminal undetermined, complete agency undetermined The confirmation of terminal and corresponding proxied terminal undetermined.
In the present embodiment, when acting on behalf of overall performance index and being unsatisfactory for the transmission requirement of agency's transmission data target, or work as The transmission requirement that overall performance index meets agency's transmission data target is acted on behalf of, but the transmission data for being unsatisfactory for remaining intelligent terminal refer to When target transmission requirement, proxy terminal undetermined is required to itself and is directly connected to server, i.e., proxy terminal undetermined cannot be made For proxy terminal, it can not be used as proxied terminal, therefore set not Agent Type for the type of proxy terminal undetermined, and Generate the group-net communication status information individually communicated with server.
Preferably, in the present embodiment, for different communications status information, decision terminal can be in decision data packet Choose three positions for characterize four kinds of communications status, one be proxied flag bit, one be Agent Markup position, one for company Flag bit is connect, therefore, at most there is a mark in three flag bits, for indicating the communication connection status of the intelligent terminal, or Mark is not included on each flag bit.When therefore, for signal is not present on three flag bits, the first of intelligent terminal is indicated Beginning communications status information, at this point, network is just added in intelligent terminal.For, there are when signal, indicating intelligence on Agent Markup position Positive representation's communications status information of terminal;For, there are when signal, indicating the proxied of intelligent terminal on proxied flag bit Communications status information;For there are the group-net communication status informations for when signal, indicating intelligent terminal on connection flag bit.
After the completion of decision process, decision terminal can be by the decision data packet comprising above-mentioned flag information according to built-in presence Address information, send the decision data packet to original position, and for the flag information of decision terminal itself, decision terminal It can directly acquire.Meanwhile all intelligent terminals can confirm respective proxy terminal or proxied end according to analysis result End, or after receiving group-net communication status information, intelligent terminal also can directly be connect with server communication.
The another embodiment provided according to the present invention, a kind of intelligent terminal act on behalf of decision system, including multiple communications Status information is the intelligent terminal of initial communication state information and/or group-net communication status information, multiple intelligent terminal shapes At at least one networking, select an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
The Analysis of Policy Making module 20 includes:
Data classification submodule 21, performance indicator and transmission data target to all intelligent terminals are classified, Forming properties index set and transmission data target set.
Index submodule 22 selects a performance indicator as agent capabilities index from the performance indicator set, and Using the corresponding intelligent terminal of the agent capabilities index as proxy terminal undetermined, from the transmission data target set The transmission data target of the proxy terminal undetermined is chosen, and using the transmission data target of the proxy terminal undetermined as agency Transmit data target.
Data analyze submodule 23, analyze the biography whether the agent capabilities index meets agency's transmission data target Defeated requirement.
When the agent capabilities index meets the transmission requirement of agency's transmission data target, the decision terminal point The agent capabilities index is analysed while meeting the transmission requirement of agency's transmission data target, determination also meets remaining institute The index quantity for stating the transmission requirement of transmission data target, will be satisfied the corresponding intelligence of the transmission data target of transmission requirement Energy terminal is as proxied terminal undetermined.
The decision terminal also meets the finger of the transmission requirement of remaining transmission data target according to the performance indicator Quantity is marked, determines the Agent Type of the proxy terminal undetermined and/or proxied terminal undetermined, and generate corresponding communication Status information.
Information generates submodule 26, when the transmission acted on behalf of overall performance index and also meet remaining transmission data target It is required that index quantity when being equal to zero, the Agent Type submodule 24 determines that the Agent Type of the proxy terminal undetermined is not Agent Type, information generate the group-net communication status information that submodule 26 generates the proxy terminal undetermined.
When the overall performance index of acting on behalf of also meets the index quantity of remaining transmission requirement for transmitting data target not When equal to zero, the Agent Type submodule 24 determines that the Agent Type of the proxied terminal undetermined is proxied type, letter Breath generates the proxied communications status information that submodule 26 generates the proxied terminal undetermined.
The Agent Type submodule 24 determines that the Agent Type of the proxy terminal undetermined is active Agent Type, information Generate the agent communication status information that submodule 26 generates the proxy terminal undetermined.
Specifically, in the present embodiment, when decision terminal detects that proxy terminal undetermined still has vacant space, After proxy terminal i.e. undetermined meets the transmission requirement of agency's transmission data, and analyzes and obtained also meeting remaining transmission data target Transmission requirement index quantity.
When being zero for index quantity, illustrate under current state to act on behalf of the remaining space of overall performance index smaller, i.e., to Proxy terminal is determined after the corresponding data of transmission data target for transferring itself, the remaining overall performance index of proxy terminal undetermined It is difficult to maintain the corresponding transmission requirement of transmission data target in remaining intelligent terminal therefore still to confirm proxy terminal undetermined Agent Type be not Agent Type.
And when proxy terminal undetermined can satisfy remaining transmission corresponding transmission requirement of data target, therefore, generation undetermined Proxy terminal can be used as by managing terminal, while the corresponding intelligent terminal of transmission data target for being satisfied transmission requirement can also be made Relevant decision process of acting on behalf of for proxied terminal undetermined, the proxy terminal undetermined is tentatively completed.
In the present embodiment, the index number for transmitting data target requirement that can also meet due to confirming proxy terminal undetermined When amount, due to having been able to determine the corresponding each intelligent terminal of index quantity, and above-mentioned intelligent terminal is labeled as Proxied terminal undetermined, therefore, decision terminal can directly generate the communications status information of proxied terminal undetermined, without again Secondary carry out deterministic process.
Another embodiment provided according to the present invention, a kind of intelligent terminal act on behalf of decision system, including multiple communications Status information is the intelligent terminal of initial communication state information and/or group-net communication status information, multiple intelligent terminal shapes At at least one networking, select an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
When in multiple intelligent terminals that communications status information is initial communication state information and/or group-net communication status information An intelligent terminal, receive remaining intelligent terminal broadcast networking data packet when, the intelligence of the networking data packet will be received Energy terminal is as terminal is received, and using the intelligent terminal for sending the networking data packet as terminal is sent, receives terminal record institute State the facility information in networking data packet.
Receive the ground in the address information and the networking data packet of the Analysis of Networking module 10 analysis itself of terminal Relationship between the information of location, and decision terminal is determined according to analysis result, and whole to sending by the wireless communication module 30 Reply decision information and the facility information for receiving terminal in end;The decision information includes active decision information and is believed by decision Breath.
The decision terminal is incorporated in the intelligent terminal that facility information is received in broadcast time, forms a networking.
Specifically, in the present embodiment, when establishing networking, since intelligent terminal does not know the presence of remaining intelligent terminal, because This multiple intelligent terminal for needing to establish networking can broadcast networking data packet outward, with establish two neighboring intelligent terminal it Between communication connection relationship, since under sometime, an intelligent terminal is merely able to receive a networking data packet;Cause This, only analyzes an intelligent terminal in the state for the networking data packet for receiving the transmission of remaining intelligent terminal, together in the present embodiment When will receive the intelligent terminal of networking data packet as receiving terminal, and will send the intelligent terminal of the networking data packet as Send terminal.
Meanwhile in this embodiment, it is main preferably under consolidated network when each intelligent terminal finds remaining intelligent terminal Refer to all intelligent terminals under same local area network, the transmitting-receiving broadcasted.
And only communications status information is the intelligent terminal ability of initial communication state information and/or group-net communication status information It is able to carry out the transmitting-receiving movement of broadcast, and is active agent communication status information or proxied communication shape for communications status information The establishment for the agent relation that the intelligent terminal of state information has been completed, therefore, the transmitting-receiving no longer broadcasted.
Networking data packet includes at least the facility information and address information for sending terminal, to realize that receiving terminal check sends The confirmation of the facility information of terminal, and to send terminal return information.
In the present embodiment, it receives terminal and gets the address information in networking data packet, receive terminal analysis itself The relationship between address information in address information and networking data packet is completed the selection of a decision terminal, and is being judged Cheng Hou, transmission terminal can be sent to for the result of judgement by receiving terminal.
After primary judgement, intelligent terminal is confirmed to be the not intelligent terminal for decision terminal, and it is whole will no longer to become decision End, reducing one may be as the intelligent terminal of decision terminal;The above process persistently carries out, therefore, finally obtain one or Multiple decision terminals then set up one or more networkings.I.e. when two intelligent terminals that can continue broadcast do not receive When the networking data packet of other side, above-mentioned two intelligent terminal can be used as decision terminal, to set up multiple networkings.
Another embodiment provided according to the present invention, as shown in figures 1 and 3, a kind of intelligent terminal act on behalf of decision system System is the intelligent terminal of initial communication state information and/or group-net communication status information including multiple communications status information, multiple The intelligent terminal forms at least one networking, selects an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
When in multiple intelligent terminals that communications status information is initial communication state information and/or group-net communication status information An intelligent terminal, receive remaining intelligent terminal broadcast networking data packet when, the intelligence of the networking data packet will be received Energy terminal is as terminal is received, and using the intelligent terminal for sending the networking data packet as terminal is sent, receives terminal record institute State the facility information in networking data packet.
Receive the ground in the address information and the networking data packet of the Analysis of Networking module 10 analysis itself of terminal Relationship between the information of location, and decision terminal is determined according to analysis result, and whole to sending by the wireless communication module 30 Reply decision information and the facility information for receiving terminal in end;The decision information includes active decision information and is believed by decision Breath.
The decision terminal is incorporated in the intelligent terminal that facility information is received in broadcast time, forms a networking.
The Analysis of Networking module 10 further includes:
Address submodule 14, for obtaining the address information in networking data packet, and the ground of acquisition intelligent terminal itself Location information.
Whether the address information that address submodule 14 is also used to analyze itself is less than the address information in networking data packet.
When the address information that the analysis of address submodule 14 obtains itself is less than the address information in the networking data packet, Intelligent terminal determines itself as decision terminal, and the wireless communication module 30 starts or continues to broadcast networking data packet, information Sending module is sent to the corresponding intelligent terminal of networking data packet by the facility information of decision information and itself.
Preferably, when wireless communication module 30 is received by decision information, the wireless communication module 30 is gone off the air Networking data packet, and equipment logging modle empties the facility information of remaining intelligent terminal of self record.
Specifically, in the present embodiment, deterministic process is lesser address information as decision terminal, therefore, is received eventually After termination receives the address information in networking data packet, itself and the address information in networking data packet can be compared by receiving terminal Size, complete deterministic process, when receive terminal as decision terminal when, receive terminal can continue to broadcast, and send end Termination is received by after decision information, and transmission terminal is also able to carry out corresponding label, no longer becomes decision terminal.In this implementation In example, biggish address information has equally also been chosen as decision terminal.
And for the intelligent terminal that itself has individually been connected with server, intelligent terminal itself is merely able to receive broadcast, And broadcast cannot be sent, therefore after receiving broadcast, and after itself is as decision terminal, the intelligent terminal then need to start into Row broadcast, realizes the foundation of the networking of multiple intelligent terminals.
Preferably, it after sending terminal and receiving by decision information, sends terminal and goes off the air, therefore, send terminal It will not be further continued for sending networking data packet.
In the present embodiment, it after primary judgement, receives terminal and has been able to analysis and obtain itself as decision terminal, because This decision terminal then needs that transmission terminal will be sent to by decision information, is decision terminal convenient for sending terminal to learn itself not, Therefore the judgement of two intelligent terminals can be realized in a deterministic process.
And after the judgement of decision terminal, also need to carry out decision data packet between terminal due to sending terminal and receiving Transmission, therefore receive terminal replies send terminal when, need equally to send the facility information of itself and address information To intelligent terminal, completes to receive terminal and send the interaction of the information between terminal.
Preferably, when transmission terminal is received by decision information, after transmission terminal is gone off the air, transmission terminal is reduced With the information exchange between remaining intelligent terminal, while whether intelligent terminal also can be by judging itself can to broadcast come into one Step determines whether itself is decision terminal, and when the progress of above process timing, final decision terminal can continue to broadcast, without Intelligent terminal as decision terminal can go off the air, and record facility information, complete the judgement of decision terminal.
And terminal is sent when reception is gone off the air, the facility information of remaining intelligent terminal of intelligent terminal itself is removed Afterwards, therefore before it can be only used as the transmission terminal of decision data packet as the equipment of decision terminal, set without recording other Standby information, therefore, finally obtained decision terminal also only exists the intelligent terminal directly connecting with decision terminal, in networking Intelligent terminal can be connect with decision terminal direct communication.
Preferably, while intelligent terminal is when removing the facility information of itself, and intelligent terminal also can be to the facility information Corresponding intelligent terminal, which is sent, removes information, can be again wide by the intelligent terminal of decision information convenient for having been received before It broadcasts, continues to establish new networking, when reducing networking establishment, there are the possibility that intelligent terminal does not enter networking.
Preferably, by the setting of broadcast time, the time that all intelligent terminal longests can be broadcasted is determined, i.e. decision is whole It holds the time that can broadcast, and passes through the setting of the time, realize the signal that decision starts, as finding remaining intelligence before networking The time of energy terminal limits, and therefore, when decision terminal receives facility information in broadcast time, then decision terminal then can be true Determine decision terminal and need the intelligent terminal of decision, and then rejects facility information outside broadcast time.
Another embodiment provided according to the present invention, as shown in figures 1 and 3, a kind of intelligent terminal act on behalf of decision system System is the intelligent terminal of initial communication state information and/or group-net communication status information including multiple communications status information, multiple The intelligent terminal forms at least one networking, selects an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
When in multiple intelligent terminals that communications status information is initial communication state information and/or group-net communication status information An intelligent terminal, receive remaining intelligent terminal broadcast networking data packet when, the intelligence of the networking data packet will be received Energy terminal is as terminal is received, and using the intelligent terminal for sending the networking data packet as terminal is sent, receives terminal record institute State the facility information in networking data packet.
Receive the ground in the address information and the networking data packet of the Analysis of Networking module 10 analysis itself of terminal Relationship between the information of location, and decision terminal is determined according to analysis result, and whole to sending by the wireless communication module 30 Reply decision information and the facility information for receiving terminal in end;The decision information includes active decision information and is believed by decision Breath.
The decision terminal is incorporated in the intelligent terminal that facility information is received in broadcast time, forms a networking.
When the address information that the analysis of address submodule 14 obtains itself is greater than the address information in the networking data packet, Intelligent terminal determines the corresponding intelligent terminal of networking data packet as decision terminal, and information sending module is corresponding to networking data packet Intelligent terminal send active decision information and itself facility information.
When wireless communication module 30 receives active decision information, the wireless communication module 30 continues broadcast networking number According to packet.
Preferably, when the wireless communication module 30, which determines, sends terminal as decision terminal, the radio communication mold Block 30 is gone off the air networking data packet, and equipment logging modle empties the facility information of remaining intelligent terminal of self record.
Specifically, in the present embodiment, judge to obtain itself not to be reception terminal after decision terminal for receiving terminal Active decision information can be returned to terminal is sent, therefore send terminal and can determine itself for decision terminal, due to sending eventually End has been transmitted across broadcast, and therefore, sending terminal can continue to broadcast.
For decision terminal after receiving active decision information, decision terminal can similarly receive the intelligence eventually simultaneously The address information at end receives the intelligent terminal and decision data packet occurs, and return to decision convenient for sending terminal during networking Data packet.When by judging itself for decision terminal, decision terminal, that is, sustainable is broadcasted.
Preferably, terminal is received when removing the facility information of itself, and receiving terminal also can be corresponding to the facility information Intelligent terminal send remove information, can be re-broadcast convenient for having been received before by the intelligent terminal of decision information, after It continues and stands new networking, when reducing networking establishment, there are the possibility that intelligent terminal does not enter networking.
Another embodiment provided according to the present invention, as shown in figures 1 and 3, a kind of intelligent terminal act on behalf of decision system System is the intelligent terminal of initial communication state information and/or group-net communication status information including multiple communications status information, multiple The intelligent terminal forms at least one networking, selects an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
When in multiple intelligent terminals that communications status information is initial communication state information and/or group-net communication status information An intelligent terminal, receive remaining intelligent terminal broadcast networking data packet when, the intelligence of the networking data packet will be received Energy terminal is as terminal is received, and using the intelligent terminal for sending the networking data packet as terminal is sent, receives terminal record institute State the facility information in networking data packet.
Receive the ground in the address information and the networking data packet of the Analysis of Networking module 10 analysis itself of terminal Relationship between the information of location, and decision terminal is determined according to analysis result, and whole to sending by the wireless communication module 30 Reply decision information and the facility information for receiving terminal in end;The decision information includes active decision information and is believed by decision Breath.
The decision terminal is incorporated in the intelligent terminal that facility information is received in broadcast time, forms a networking.
Nothing in the intelligent terminal that communications status information is initial communication state information and/or group-net communication status information Line communication module 30, for receiving the networking data packet of remaining intelligent terminal broadcast.
The intelligent terminal of the networking data packet will be received as reception terminal.
Analysis of Networking module 10 includes:
State-detection submodule 11 detects the broadcast state for itself whether being in broadcast networking data packet.
Equipment detection sub-module 12, when state-detection submodule 11 itself is not at the broadcast state of broadcast networking data packet When, equipment detection sub-module 12 judges whether information record sub module 13 records the facility information of remaining intelligent terminal.
Information record sub module 13, when the record of equipment detection sub-module 12 has the facility information of remaining intelligent terminal, institute It states information record sub module 13 and abandons networking data packet.
When equipment detection sub-module 12 does not record the facility information of remaining intelligent terminal, the information record sub module Facility information in 13 record group network data packets.
In the present embodiment, after being connect due to intelligent terminal with server, or after determining itself not and being decision terminal, Intelligent terminal is acted without broadcast, therefore is received terminal and itself be able to carry out broadcast firstly the need of determination, and reception terminal is carried out The preliminary confirmation of state.
After the completion of receiving the preliminary confirmation of the SOT state of termination, receiving terminal can be to determine according to the broadcast state of itself No to the direct comparison for carrying out address information;For the intelligent terminal that can not be broadcasted, it is still desirable to confirm that the intelligent terminal is It is no to judge whether itself records the facility information of remaining intelligent terminal it is determined that complete, when intelligent terminal can not broadcast, And there are the comparisons for the address information for when facility information of remaining intelligent terminal, then showing intelligent terminal foundation completion, and from Body itself is difficult to continue as decision terminal, therefore, intelligent terminal can directly abandon the networking according to not as decision terminal Data packet, without replying.
And the intelligent terminal for not there is facility information, then illustrate that the intelligent terminal is able to carry out judgement, therefore will Facility information in networking data packet is recorded, the judgement for row address information of going forward side by side.
Another embodiment provided according to the present invention, as shown in figures 1 and 3, a kind of intelligent terminal act on behalf of decision system System is the intelligent terminal of initial communication state information and/or group-net communication status information including multiple communications status information, multiple The intelligent terminal forms at least one networking, selects an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
When in multiple intelligent terminals that communications status information is initial communication state information and/or group-net communication status information An intelligent terminal, receive remaining intelligent terminal broadcast networking data packet when, the intelligence of the networking data packet will be received Energy terminal is as terminal is received, and using the intelligent terminal for sending the networking data packet as terminal is sent, receives terminal record institute State the facility information in networking data packet.
Receive the ground in the address information and the networking data packet of the Analysis of Networking module 10 analysis itself of terminal Relationship between the information of location, and decision terminal is determined according to analysis result, and whole to sending by the wireless communication module 30 Reply decision information and the facility information for receiving terminal in end;The decision information includes active decision information and is believed by decision Breath.
The decision terminal is incorporated in the intelligent terminal that facility information is received in broadcast time, forms a networking.
Analysis of Networking module 10 further includes:
Time detection sub-module 15 for judging whether current time reaches the waiting time, and judges that current time is No arrival broadcast time.
When time detection sub-module 15 detects that current time reaches broadcast time, information sending module is set to record The intelligent terminal of standby information sends mesh information.
When time detection sub-module 15 detects that current time reaches the waiting time, and wireless communication module 30 does not receive When to mesh information, intelligent terminal is intelligently connect with server communication.
When wireless communication module 30 receives mesh information within the waiting time, information sending module is whole to the decision End, which is replied, receives mesh information.
The decision terminal, which combines, receives the intelligent terminal formation networking for receiving mesh information.
In the present embodiment, after judgement obtains decision terminal, decision terminal starts networking, and intelligent terminal needs are true first A fixed waiting time avoids to enter in networking always, and is difficult to the possibility communicated with server;Therefore, only Have received within the waiting time decision terminal transmission mesh information when, decision terminal then can with the intelligent terminal networking at Function, otherwise, the intelligent terminal can directly be connect with server.
Another embodiment provided according to the present invention, as shown in figures 1 and 3, a kind of intelligent terminal act on behalf of decision system System is the intelligent terminal of initial communication state information and/or group-net communication status information including multiple communications status information, multiple The intelligent terminal forms at least one networking, selects an intelligent terminal as decision terminal in each networking.
Each intelligent terminal includes:
Analysis of Networking module 10, judges whether itself is decision terminal.
Analysis of Policy Making module 20, when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Overall performance index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligence It can terminal communications status information corresponding with its Agent Type.
Wireless communication module 30 is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, All intelligent terminals into networking in addition to itself send its corresponding communications status information;Or work as the intelligent terminal not When for decision terminal, the communications status information that the decision terminal is sent is received.
Communications status information is changed to the communications status information generated by state change module 40.
It is described wireless after communications status information is changed to the communications status information generated by the state change module 40 Communication module 30 establishes communication connection according to the communications status information after change.
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each agency Terminal proxied terminal corresponding with several forms a subnet.
When in multiple intelligent terminals that communications status information is initial communication state information and/or group-net communication status information An intelligent terminal, receive remaining intelligent terminal broadcast networking data packet when, the intelligence of the networking data packet will be received Energy terminal is as terminal is received, and using the intelligent terminal for sending the networking data packet as terminal is sent, receives terminal record institute State the facility information in networking data packet.
Receive the ground in the address information and the networking data packet of the Analysis of Networking module 10 analysis itself of terminal Relationship between the information of location, and decision terminal is determined according to analysis result, and whole to sending by the wireless communication module 30 Reply decision information and the facility information for receiving terminal in end;The decision information includes active decision information and is believed by decision Breath.
The decision terminal is incorporated in the intelligent terminal that facility information is received in broadcast time, forms a networking.
Analysis of Networking module 10 further includes:
Time detection sub-module 15 for judging whether current time reaches the waiting time, and judges that current time is No arrival broadcast time.
When time detection sub-module 15 detects that current time reaches broadcast time, information sending module is set to record The intelligent terminal of standby information sends mesh information.
When time detection sub-module 15 detects that current time reaches the waiting time, and wireless communication module 30 does not receive When to mesh information, intelligent terminal is intelligently connect with server communication.
When wireless communication module 30 receives mesh information within the waiting time, information sending module is whole to the decision End, which is replied, receives mesh information.
The decision terminal, which combines, receives the intelligent terminal formation networking for receiving mesh information.
State judging submodule 16, when wireless communication module 30 receives mesh information, state judging submodule 16 is sentenced Break and itself whether is connect with server communication.
When state judging submodule 16 judges that itself connect with server communication, information sending module is returned to decision terminal Refuse mesh information again.
When wireless communication module 30 receives mesh information within the waiting time, the intelligence of the mesh information is received The time detection sub-module 15 of terminal removes the waiting time.
Specifically, in the present embodiment, when receiving mesh information due to intelligent terminal, it is difficult to whether determine current time More than wait when, therefore directly detection intelligent terminal whether with server communication connection come determine whether be more than the waiting time, and More than after the waiting time, then replys and refuse information.
Preferably, when decision terminal is with intelligent terminal networking, it is still desirable to take some time, therefore, to avoid It is determined and needs individually to connect with server with the intelligent terminal oneself of decision terminal networking, receive networking letter in intelligent terminal When breath, the waiting time is removed, the networking of decision terminal and intelligent terminal can be realized.
A kind of embodiment provided according to the present invention, a kind of intelligent terminal act on behalf of decision system, the connection of intelligent terminal State is as shown in table 1, and using proxied flag bit, Agent Markup position connects flag bit to characterize the communication of each intelligent terminal Status information.
The communications status for the intelligent terminal newly networked is 1. i.e. initial communication state information, at this point, intelligent terminal can Enough broadcast, can also receive broadcast;The communications status information that the intelligent terminal of connection is individually established with server is 2. i.e. networking Communications status information, can broadcast can also receive broadcast, but by default and without broadcast;As the generation in subnet The communications status information for managing terminal is 3., to connect with server communication, is also communicated to connect with corresponding proxied terminal, i.e., wideless It broadcasts, does not also receive broadcast;The communications status information of proxied terminal in subnet is 4., individually to communicate with corresponding proxy terminal Connection, i.e., do not broadcast, also do not receive broadcast.
The connection status of 1 equipment of table
The first step:Networking packet is sought in the intelligent terminal broadcast for seeking networking in same network segment, and finding other can form The intelligent terminal of decision-making mode.
Broadcast rule is as follows:
1, seek the intelligent terminal A of networking and receive other intelligent terminals B and send when can receive to broadcast and broadcasting Seek networking packet after, A first records the facility information of B, and (standard of comparison is set the IP size both then compared by user It sets).
If IPA<IPB, then reply the information gone off the air and empty record to B, B, B records the facility information of A.
If IPA>IPB, then A goes off the air, and reverting equipment information records the facility information of A to B, B.
2, when can receive broadcast but itself not receive other intelligent terminals B in the intelligent terminal A of broadcast networking and send Seek networking package informatin.First look at whether itself has the facility information recorded.
If there is record, then any information is not replied.
If no record, compare the IP size (standard of comparison can customize) of the two.
If IPA<IPB, then A records the facility information of B, starts broadcast networking data packet, and reply the letter gone off the air It ceases and empties record to B, B, only record the facility information of A.
If IPA>IPB, then A records the facility information of B, and A reverting equipment information records the facility information of A to B, B.
3, each broadcast seeks intelligent terminal waiting time of networking and may be configured as 4 minutes (waiting time can customize, extensively The time-out time still exists after broadcasting stopping), intelligent terminal and server establish long connection after time-out, 1. connection status is from becoming 2. indicating that the equipment and server establish connection.
4, each broadcasting that seek the broadcast time of the intelligent terminal A of mesh information be to empty and set after 2 minutes, 2 minutes It the standby waiting time, goes off the air, stops finding networking.Check the other equipment information state of self record.
If there are other equipment information in record, sends request networking packet and give these intelligent terminals, request networking.A Equipment network after receiving all answers, with answer " receiving networking ".First the end of the step networking enters second step.Note that A at this time For the minimum IP device in the networking.
If establishing long connection with server without other equipment information in record, 1. connection status is from becoming 2. to indicate The equipment and server establish long connection.
5, when can receive broadcast but itself not the intelligent terminal A of broadcast networking receive request networking packet after, empty The equipment waiting time, and reply " receiving networking ".Hereafter refuse the request networking packet of other intelligent terminals.
Second step:Self-decision goes out one or more proxy for equipment in the successful intelligent terminal of first step networking.
Self-decision process is as follows:
1, all devices connection status gives IP address the smallest equipment for equipment transmission decision data packet 1., in data packet Hold the MAC Address including oneself, IP address, implementor name, overall performance index (index of comprehensive CPU, RAM performance etc.), transmission number According to index (indicating that the equipment needs the data volume transmitted), the proxied IP of equipment (indicating the proxied IP of equipment), equipment by generation Reason flag bit (whether 1,0 expression equipment is proxied), proxy for equipment flag bit (whether 1,0 expression equipment is acted on behalf of), equipment are independent Connection flag bit (1,0 indicates whether equipment individually establishes long connection with server), (1,0 expression of equipment decision-making enabler flags position Whether equipment carries out self-decision mechanism), α and β (α is the coefficient for transmitting data target and being converted into overall performance index, β be equipment from The data of definition split the inverse of the number of transmissions).
2, the smallest intelligent terminal of IP address sorts from high to low to the overall performance index of all devices received. It is also sorted from high to low to transmission data target simultaneously.Successively from high to low to the sequence knot of performance, transmission data target Fruit is matched.
Sequence is defined as follows:
Assuming that sharing n intelligent terminal sequence at this time.
Overall performance index Capi(corresponding equipment is Devci, Cap1≥Cap2≥...≥Capn)。
Transmit data target Dataj(corresponding equipment Devdj,Data1≥Data2≥...≥Datan), wherein (i, j=1, 2...n)。
Matching rule is following (i, j=1, matching rule priority are successively successively decreased from A to E under original state):
If A, the corresponding data Cap of overall performance index iiAnd DevciIn vain, then i=i+1;Similarly if overall performance index The corresponding data Data of ijAnd DevdjIn vain, then j=j+1;If j > n, then stop matching.
B, Cap is extracted if it is first timeiIndex compares,
I. if Capi> α β Datak, then Capi=Capi-αβDatkA is removed with device number DevciCorresponding overall performance Devd in index sequencing tablekAnd Datak(k is indicated with device number Devc informationiIn corresponding transmission data target sequencing table DevdkAnd DatakInformation).
Ii. if Capi< α β Datak, then illustrate CapiCorresponding intelligent terminal DevciIt can not be in a group network planning
Fixed the number of transmissions time completes the transmission of data, then the equipment should directly establish long connection with server, by more The repeatedly transmission for being transmitted data of number, at this time Devci1. corresponding equipment connection status is from becoming 2. to indicate the equipment and clothes Being engaged in, device foundation is independent to be connected.
If C, Capi>=α β Dataj, then Capi=Capi-αβDataj, j=j+1, record is by DevdjIt is divided into i-th Proxy for equipment DevciInformation, DevdjThe equipment connection status of corresponding equipment from 1. becoming 4. to indicate that the equipment is proxied, and And Devc is written in the proxied IP of equipmentiIP.It removes with device number DevdjDevc in corresponding overall performance index sequencing tablei And CapiInformation.Devci1. corresponding equipment connection status is from becoming 3. to indicate that the equipment becomes proxy for equipment.
If D, Capi< α Dataj, Capi≥Capi+1, then DevdjCorresponding equipment enabler flags position 1, removes same equipment Number DevdjDevc in corresponding overall performance index sequencing tableiAnd CapiInformation.
If E, Capi< α Dataj, Capi< Capi+1, then i=i+1.
3, matching rule is carried out by circulation, can selects and meets all intelligent terminals of current network segment and network and transmit data One or more proxy for equipment of demand.Then proxy terminal selection result is sent in the form of data packet in networking and is owned Equipment.
4, the equipment that proxy for equipment, equipment individually connect establishes long connection with server respectively, establishes the interaction of information, Middle proxy for equipment is in the circulation forwarding data that proxied terminal obtains out of networking to server.
It should be noted that above-described embodiment can be freely combined as needed.The above is only preferred implementations of the invention Mode, it is noted that for those skilled in the art, without departing from the principle of the present invention, also Several improvements and modifications can be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (16)

1. a kind of intelligent terminal acts on behalf of decision system, which is characterized in that including multiple communications status information be initial communication shape The intelligent terminal of state information and/or group-net communication status information, multiple intelligent terminals form at least one networking, and each group Select an intelligent terminal as decision terminal in net;
Each intelligent terminal includes:
Analysis of Networking module, judges whether itself is decision terminal;
Analysis of Policy Making module, total property when the intelligent terminal is decision terminal, according to all intelligent terminals in networking Energy index and transmission data target, analyze the Agent Type of all intelligent terminals in networking, and generate the intelligent terminal Communications status information corresponding with its Agent Type;
Wireless communication module is carried out wireless communication with remaining intelligent terminal;When the intelligent terminal is decision terminal, to networking Interior all intelligent terminals in addition to itself send its corresponding communications status information;Or when the intelligent terminal is not decision When terminal, the communications status information that the decision terminal is sent is received;
Communications status information is changed to the communications status information generated by state change module;
After communications status information is changed to the communications status information generated by the state change module, the radio communication mold Block establishes communication connection according to the communications status information after change;
The intelligent terminal is according to the communications status information after change as proxy terminal or proxied terminal;Each proxy terminal Proxied terminal corresponding with several forms a subnet.
2. a kind of intelligent terminal according to claim 1 acts on behalf of decision system, which is characterized in that the Analysis of Policy Making mould Block includes:
Data classification submodule, performance indicator and transmission data target to all intelligent terminals are classified, formative It can index set and transmission data target set;
Index submodule selects a performance indicator as agent capabilities index from the performance indicator set, and will be described The corresponding intelligent terminal of agent capabilities index chooses institute from the transmission data target set as proxy terminal undetermined The transmission data target of proxy terminal undetermined is stated, and transmits number for the transmission data target of the proxy terminal undetermined as agency According to index;
Data analyze submodule, analyze the agent capabilities index whether meet it is described agency transmission data target transmission want It asks;
When the agent capabilities index meets the transmission requirement of agency's transmission data target, the decision terminal analysis institute Agent capabilities index is stated while meeting the transmission requirement of agency's transmission data target, determination also meets remaining described biography The index quantity of the transmission requirement of transmission of data index, eventually by the corresponding intelligence of the transmission data target for being satisfied transmission requirement End is used as proxied terminal undetermined;
The decision terminal also meets the index number of the transmission requirement of remaining transmission data target according to the performance indicator Amount, determines the Agent Type of the proxy terminal undetermined and/or proxied terminal undetermined, and generate corresponding communications status Information.
3. a kind of intelligent terminal according to claim 2 acts on behalf of decision system, which is characterized in that the Analysis of Policy Making mould Block further includes:
Agent Type submodule, when the transmission requirement acted on behalf of overall performance index and be unsatisfactory for agency's transmission data target When, the Agent Type submodule determines the Agent Type of the proxy terminal undetermined for not Agent Type.
4. a kind of intelligent terminal according to claim 2 acts on behalf of decision system, it is characterised in that:
The data analysis submodule acts on behalf of overall performance index and transmission coefficient according to described, and analysis is described to act on behalf of overall performance index Whether the agency transmission data target is met in conjunction with the transmission requirement of the transmission coefficient.
5. a kind of intelligent terminal according to claim 2 acts on behalf of decision system, which is characterized in that the Analysis of Policy Making mould Block further includes index analysis submodule;
When it is described act on behalf of overall performance index meet it is described agency transmission data target transmission requirement when, the index submodule according to Overall performance index is acted on behalf of according to agency transmission data target update is described;
The index submodule chooses a transmission data target as proxied transmission from the transmission data target set Data target;
Act on behalf of whether overall performance index meets the proxied transmission data target described in the index analysis submodule block analysis Transmission requirement;
When it is described act on behalf of overall performance index and meet the transmission requirement of the proxied transmission data target when, Agent Type Module is using the corresponding intelligent terminal of the proxied transmission data target as proxied terminal undetermined;
When it is described act on behalf of overall performance index be unsatisfactory for it is described it is proxied transmission data target transmission requirement when, the index submodule Block judges described remaining all overall performance index for acting on behalf of whether overall performance index is greater than in the overall performance index set;
When it is described act on behalf of overall performance index greater than remaining all overall performance index in the overall performance index set when, the generation Reason type submodule determines that the Agent Type of the corresponding intelligent terminal of the proxied transmission data target is not Agent Type;
When it is described act on behalf of overall performance index no more than remaining all overall performance index in the overall performance index set when, it is described The quantity of proxied terminal undetermined described in Agent Type submodule block analysis.
6. a kind of intelligent terminal according to claim 2 acts on behalf of decision system, which is characterized in that the Analysis of Policy Making mould Block further includes:
Information generates submodule, when the overall performance index of acting on behalf of also meets remaining transmission requirement for transmitting data target When index quantity is equal to zero, the Agent Type submodule determines the Agent Type of the proxy terminal undetermined for not proxy class Type, information generate the group-net communication status information that submodule generates the proxy terminal undetermined.
7. a kind of intelligent terminal according to claim 2 or 6 acts on behalf of decision system, it is characterised in that:
When it is described act on behalf of overall performance index also meet remaining it is described transmission data target transmission requirement index it is in varying numbers in When zero, the Agent Type submodule determines that the Agent Type of the proxied terminal undetermined is proxied type, and information generates Submodule generates the proxied communications status information of the proxied terminal undetermined;
The Agent Type submodule determines that the Agent Type of the proxy terminal undetermined is active Agent Type, and information generates son Module generates the agent communication status information of the proxy terminal undetermined.
8. a kind of intelligent terminal according to claim 3 or 5 acts on behalf of decision system, it is characterised in that:
The Agent Type submodule block analysis obtain the intelligent terminal Agent Type be not Agent Type when, information generate son Module generates the group-net communication status information of the intelligent terminal.
9. a kind of intelligent terminal according to claim 1 acts on behalf of decision system, it is characterised in that:
One in multiple intelligent terminals that communications status information is initial communication state information and/or group-net communication status information A intelligent terminal when receiving the networking data packet of remaining intelligent terminal broadcast, will receive the intelligence of the networking data packet eventually End is as terminal is received, and using the intelligent terminal for sending the networking data packet as terminal is sent, receives terminal and records described group Facility information in network data packet;
The address information and the address information in the networking data packet for receiving the Analysis of Networking module analysis itself of terminal Between relationship, and determine decision terminal according to analysis result, and determine to transmission terminal replies by the wireless communication module Plan information and the facility information for receiving terminal;The decision information includes active decision information and by decision information;
The decision terminal is incorporated in the intelligent terminal that facility information is received in broadcast time, forms a networking.
10. a kind of intelligent terminal according to claim 9 acts on behalf of decision system, which is characterized in that the Analysis of Networking Module further includes:
Address submodule, for obtaining the address information in networking data packet, and the address information of acquisition intelligent terminal itself;
Whether the address information that address submodule is also used to analyze itself is less than the address information in networking data packet;
When the address information that submodule analyzes to obtain itself when address is less than the address information in the networking data packet, intelligence is eventually End determines itself as decision terminal, and the wireless communication module starts or continues to broadcast networking data packet, information sending module It sends to the corresponding intelligent terminal of networking data packet by the facility information of decision information and itself.
11. a kind of intelligent terminal according to claim 10 acts on behalf of decision system, it is characterised in that:
When the address information that submodule analyzes to obtain itself when address is greater than the address information in the networking data packet, intelligence is eventually It holds and determines the corresponding intelligent terminal of networking data packet as decision terminal, information sending module is to the corresponding intelligence of networking data packet The facility information of terminal transmission active decision information and itself;
When wireless communication module receives active decision information, the wireless communication module continues broadcast networking data packet.
12. a kind of intelligent terminal according to claim 11 acts on behalf of decision system, it is characterised in that:
When wireless communication module is received by decision information, the wireless communication module is gone off the air networking data packet, and is set Note module empties the facility information of remaining intelligent terminal of self record;
And/or;
When the wireless communication module, which determines, sends terminal as decision terminal, the wireless communication module is gone off the air networking Data packet, and equipment logging modle empties the facility information of remaining intelligent terminal of self record.
13. a kind of intelligent terminal according to claim 9 acts on behalf of decision system, it is characterised in that:
Channel radio in the intelligent terminal that communications status information is initial communication state information and/or group-net communication status information Module is believed, for receiving the networking data packet of remaining intelligent terminal broadcast;
The intelligent terminal of the networking data packet will be received as reception terminal;
Analysis of Networking module includes:
State-detection submodule detects the broadcast state for itself whether being in broadcast networking data packet;
Equipment detection sub-module, when state-detection submodule itself is not at the broadcast state of broadcast networking data packet, equipment Detection sub-module judges whether information record sub module records the facility information of remaining intelligent terminal;
Information record sub module, when equipment detection sub-module record has the facility information of remaining intelligent terminal, the information note It records submodule and abandons networking data packet;
When equipment detection sub-module does not record the facility information of remaining intelligent terminal, the information record sub module record group Facility information in network data packet.
14. a kind of intelligent terminal according to claim 9 acts on behalf of decision system, which is characterized in that the Analysis of Networking Module further includes:
Time detection sub-module for judging whether current time reaches the waiting time, and judges whether current time reaches Broadcast time;
When time detection sub-module detects that current time reaches broadcast time, facility information of the information sending module to record Intelligent terminal send mesh information;
When time detection sub-module detects that current time reaches the waiting time, and wireless communication module does not receive networking letter When breath, intelligent terminal is intelligently connect with server communication;
When wireless communication module receives mesh information within the waiting time, information sending module is to the decision terminal replies Receive mesh information;
The decision terminal, which combines, receives the intelligent terminal formation networking for receiving mesh information.
15. a kind of intelligent terminal according to claim 14 acts on behalf of decision system, which is characterized in that the Analysis of Networking Module further includes:
State judging submodule, when wireless communication module receives mesh information, whether state judging submodule judges itself It is connect with server communication;
When state judging submodule judges that itself connect with server communication, information sending module is refused to decision terminal replies Mesh information.
16. a kind of intelligent terminal according to claim 14 acts on behalf of decision system, it is characterised in that:
When wireless communication module receives mesh information within the waiting time, the intelligent terminal of the mesh information is received Time detection sub-module removes the waiting time.
CN201810627091.XA 2018-05-22 2018-06-19 A kind of intelligent terminal acts on behalf of decision system Pending CN108900587A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810495817 2018-05-22
CN2018104958179 2018-05-22

Publications (1)

Publication Number Publication Date
CN108900587A true CN108900587A (en) 2018-11-27

Family

ID=64339467

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810627127.4A Pending CN108881437A (en) 2018-05-22 2018-06-19 A kind of intelligent terminal acts on behalf of decision-making technique
CN201810627091.XA Pending CN108900587A (en) 2018-05-22 2018-06-19 A kind of intelligent terminal acts on behalf of decision system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810627127.4A Pending CN108881437A (en) 2018-05-22 2018-06-19 A kind of intelligent terminal acts on behalf of decision-making technique

Country Status (1)

Country Link
CN (2) CN108881437A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970284A (en) * 2020-08-19 2020-11-20 网易(杭州)网络有限公司 Message processing method, device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671904B (en) * 2020-12-23 2023-03-28 青岛海尔科技有限公司 Method and device for transmitting equipment state information, storage medium and electronic device
CN116155920B (en) * 2023-02-16 2023-10-03 北京万里开源软件有限公司 Remote transmission method and system for MySQL protocol database data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702717A (en) * 2009-11-24 2010-05-05 杭州华三通信技术有限公司 Method, system and equipment for authenticating Portal
CN101729331A (en) * 2008-10-28 2010-06-09 华为技术有限公司 Clustering method and device, routing method and device of cluster head and base station
CN102244882A (en) * 2011-08-15 2011-11-16 南通大学 Mobility-agent-based intelligent data acquisition method for wireless sensor network
CN103166921A (en) * 2011-12-13 2013-06-19 中国移动通信集团公司 Method supplying service to terminal, network side device and terminal
CN104994159A (en) * 2015-06-30 2015-10-21 青岛海尔智能家电科技有限公司 Distributed agent method and device based on AllJoyn, and mobile equipment
WO2016041322A1 (en) * 2014-09-16 2016-03-24 网宿科技股份有限公司 Method of forwarding in-application traffic on smart mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594254B (en) * 2009-06-30 2011-04-27 中国运载火箭技术研究院 Grid computing tolerance system and method based on agent technology
CN104077212B (en) * 2013-03-26 2017-03-01 阿里巴巴集团控股有限公司 pressure testing system and method
CN105915405A (en) * 2016-03-29 2016-08-31 深圳市中博科创信息技术有限公司 Large-scale cluster node performance monitoring system
JP6128472B1 (en) * 2016-04-12 2017-05-17 株式会社エルブズ Watch system by artificial intelligence agent
CN106027665A (en) * 2016-06-29 2016-10-12 国家电网公司 Wide area information transmission system based on scheduling data network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729331A (en) * 2008-10-28 2010-06-09 华为技术有限公司 Clustering method and device, routing method and device of cluster head and base station
CN101702717A (en) * 2009-11-24 2010-05-05 杭州华三通信技术有限公司 Method, system and equipment for authenticating Portal
CN102244882A (en) * 2011-08-15 2011-11-16 南通大学 Mobility-agent-based intelligent data acquisition method for wireless sensor network
CN103166921A (en) * 2011-12-13 2013-06-19 中国移动通信集团公司 Method supplying service to terminal, network side device and terminal
WO2016041322A1 (en) * 2014-09-16 2016-03-24 网宿科技股份有限公司 Method of forwarding in-application traffic on smart mobile terminal
CN104994159A (en) * 2015-06-30 2015-10-21 青岛海尔智能家电科技有限公司 Distributed agent method and device based on AllJoyn, and mobile equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970284A (en) * 2020-08-19 2020-11-20 网易(杭州)网络有限公司 Message processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108881437A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN105046935B (en) A kind of bimodulus heterogeneous communication system wireless based on low-voltage power line and micropower
US6415330B1 (en) Method of setting up AD HOC local area network, method of communicating using said network, and terminal for use with said network
CN102647355B (en) LACP (Link Aggregation Control Protocol) consultation processing method, relay node and system
CN100571464C (en) In network, carry out the method for effectively switching
CN100581290C (en) Voice packet scheduling method for wireless local area network
CN101027914B (en) Multi-to-multi point ad-hoc wireless data transfer protocol
CN108900587A (en) A kind of intelligent terminal acts on behalf of decision system
CN104735744B (en) A kind of design method of the multi-hop relay routing based on terminal direct connection communication
CN100396056C (en) Route selection method of radio mesh network
CN102204209B (en) Method, system and network device for quality of service (qos) negotiation in cross-medium networks
CN102196458A (en) Networking method and devices of wireless broadband sensor network
CN109640330A (en) Spectrum management system, blank frequency spectrum cognitive method and blank frequency spectrum distribution method
CN102684966B (en) Equipment method of network entry, Apparatus and system
US20060209774A1 (en) Wireless base station, wireless mobile device, and wireless access network
US7801097B2 (en) Setting up of a wireless network by determining and utilizing local topology information
CN107734598A (en) A kind of system information change instruction method, UE, network side equipment and system
CN107483560B (en) Multimode networking communication and selection method for shared power utilization
CN116390156B (en) LoRa communication method, device, equipment and readable storage medium
CN101262448A (en) IP data packet transmission method and system
CN108881436A (en) A kind of decision system of proxy terminal
CN110381563A (en) A kind of uplink resources allocation strategy of self-organizing relay forwarding network
US20090157878A1 (en) Method and system for connecting lower nodes to one another to increase scalability in zigbee network
CN111542098B (en) Communication connection method of ZigBee device and related device
JP2004193842A (en) Resource reservation method and packet communication system
CN108810154A (en) A kind of communication connecting system of intelligent terminal

Legal Events

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

Application publication date: 20181127

WD01 Invention patent application deemed withdrawn after publication