CN105228122A - Communication method between adjacent multiple Android equipment for customizing - Google Patents

Communication method between adjacent multiple Android equipment for customizing Download PDF

Info

Publication number
CN105228122A
CN105228122A CN201510376534.9A CN201510376534A CN105228122A CN 105228122 A CN105228122 A CN 105228122A CN 201510376534 A CN201510376534 A CN 201510376534A CN 105228122 A CN105228122 A CN 105228122A
Authority
CN
China
Prior art keywords
customizing
android equipment
equipment
android
cell
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
CN201510376534.9A
Other languages
Chinese (zh)
Inventor
罗启明
王会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Meibeike Technology Co Ltd
Original Assignee
Shenzhen Meibeike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Meibeike Technology Co Ltd filed Critical Shenzhen Meibeike Technology Co Ltd
Priority to CN201510376534.9A priority Critical patent/CN105228122A/en
Publication of CN105228122A publication Critical patent/CN105228122A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1046Joining mechanisms
    • 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/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides the communication method between adjacent multiple Android equipment for customizing, cell-phone customer terminal sends instruction by whether having the second Android equipment for customizing near the first Android equipment for customizing inquiry, the the second Android equipment for customizing existed is found according to Search Results, then point out at cell-phone customer terminal and eject dialog box, editing concurrent carry information is sent in the second Android equipment for customizing by the first Android equipment for customizing, after obtaining the second Android equipment for customizing response, neighborhood is set up between Android equipment for customizing, and be shown in the neighbor list of cell-phone customer terminal, message can be sent in lists directly to the second Android equipment for customizing.The present invention can utilize P2P technology to carry out discovering device within setting range, and by the communication between equipment, sets up neighborhood, can carry out more humane interchange at multiple equipment room.

Description

Communication method between adjacent multiple Android equipment for customizing
Technical field
The invention belongs to the domestic intelligent network equipment, the communication method of particularly adjacent multiple Intelligent Network Elements.
Background technology
Present development in science and technology, people neighbourhood is more and more stranger, next-door neighbor is not much familiar with, lack a chance that can be familiar with, if so neighbours and oneself all bought the same intelligent multimedia network equipment, the communicate information of this smart machine so can be utilized to come into contacts with neighbourhood, make product function more interesting, particularly a kind of intelligent network product stored with cloud.
Summary of the invention
For the problem of interchange, confusing communication between the smart machine that above-mentioned prior art exists, the object of this invention is to provide the communication method between adjacent multiple Android equipment for customizing, comprising:
Whether cell-phone customer terminal there is the query statement of Android equipment for customizing to be sent to communicate with near inquiry the first Android equipment for customizing of connection;
Another one second Android equipment for customizing whether is had to exist near being inquired about by the communication protocol between P2P technology and multiple Android equipment for customizing according to described query statement first Android equipment for customizing;
Judge whether to have Android equipment for customizing according to the Query Result returned, if not, eject information, if having, eject and whether send information to the other side;
If have: send the contact information editted, send friendly information to the first Android equipment for customizing;
By the communication protocol between Android equipment for customizing, the contact information that cell-phone customer terminal edits is sent to the second Android equipment for customizing by the first Android equipment for customizing;
Second Android equipment for customizing receives the contact information that the first Android equipment for customizing sends over;
When agreeing to that this user is the neighborhood of oneself, the second Android equipment for customizing pushes approval information, set up neighborhood with the first Android equipment for customizing.
Receive the approval information turned in the first Android equipment for customizing, directly can link up in neighbourhood's list after refreshing neighbourhood's list.
By the P2P technology of Android equipment for customizing and cloud rod and cloud excellent between communication agreement inquire about near whether have another one Android equipment for customizing, also can set query context, can be set as each query time 10 second also can being set as other times.
Multiple Android equipment for customizing is communicated by udp protocol.
The present invention compared with prior art has following beneficial effect:
The present invention can utilize P2P technology to carry out discovering device within setting range, and by the communication between equipment, sets up neighborhood, can carry out more humane interchange at multiple equipment room.
Accompanying drawing explanation
The groundwork flow chart that Fig. 1 is method described in the embodiment of the present invention.
Fig. 2 is the system architecture diagram that the present invention can implement described method.
Fig. 3 is the FB(flow block) of the specific embodiment implementing the method in system of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
In the present invention, cell-phone customer terminal (hereinafter referred to as mobile phone) only has the mobile device of intelligent system, as mobile phone, panel computer etc., Android equipment for customizing is (hereinafter referred to as equipment, first Android equipment for customizing is called for short equipment one, second Android equipment for customizing is called for short equipment two) refer in particular to a kind of network equipment with Android system, as the multi-media network equipment of intelligent television box and similar functions.
As shown in Figures 1 and 2, one or more mobile phone is there is in domestic consumer, and one or more Android equipment for customizing, usually these equipment are connected by WIFI, under the network condition of same route, mobile phone and equipment are identified by IP and are easy to identify and establish a communications link, and therefore under default situations, mobile phone and equipment are the equipment in the same family.
Composition graphs 1 Fig. 2 and Fig. 3, in this system, cell phone end aspect:
Mobile phone by with equipment one communication, mobile phone sends instruction or order, and whether have other Android equipment for customizing near being inquired about by equipment one, mobile phone is connected by WIFI with equipment one, by mobile phone and equipment one simultaneously mounting software carry out synchronization implementation.
Search Results is fed back to mobile phone after searching for by equipment one, and Search Results understood by mobile phone, judges whether to have other adjacent Android equipment for customizing, if not, ejects information by cell phone software, if having, point out and whether send information to the other side.
If have: first edit the message that will send on mobile phone, click and send, the contact information editted is forwarded to other equipment by equipment one, the friendly information of prompting the other side.
As other equipment, as equipment two agree to set up neighborhood, then send the message of agreement to equipment one, equipment one by this message push on mobile phone, equipment one and equipment two set up neighborhood success, neighbor list set up by mobile phone, and after successfully setting up neighborhood, new neighbours occur on the neighbor list, directly can link up in neighborhood list after refreshing this list, very convenient, can revise the information of neighbours, remarks are easy-to-look-up simultaneously.
First Android equipment for customizing (equipment one):
By the mutual discovering device of P2P technology between equipment, obtain the IP address of other equipment and temporary reservoir, during as found multiple equipment, point out at mobile phone terminal successively, after equipment one discovering device two, connected by udp protocol and communicate mutually, near being inquired about by equipment one, whether having another one second Android equipment for customizing, each query time was 10 seconds, and if desired again inquiring about other equipment needs to resend instruction on mobile phone.
There is feedback search information to mobile phone in equipment one in the search discovering device two, by editing-friendly information on cell-phone customer terminal, on the basis that equipment one and equipment two establish a communications link, send data to equipment two, after equipment two receives message, be fed back to the message of agreement, set up neighborhood.
Second Android equipment for customizing (equipment two):
Equipment two receives the propelling movement friend-making information that equipment one sends over, and agree to that this user is oneself neighborhood, send and push approval information, set up neighborhood, if do not agreed to, then PUSH message is to equipment one, but does not set up neighborhood.
Above content is only preferred embodiment of the present invention, and for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, this description should not be construed as limitation of the present invention.

Claims (6)

1. the communication method between adjacent multiple Android equipment for customizing, comprising:
Whether cell-phone customer terminal there is the query statement of Android equipment for customizing to be sent to communicate with near inquiry the first Android equipment for customizing of connection;
Another one second Android equipment for customizing whether is had to exist near being inquired about by the communication protocol between P2P technology and multiple Android equipment for customizing according to described query statement first Android equipment for customizing;
Judge whether to have Android equipment for customizing according to the Query Result returned, if having, eject and whether send information to the other side;
Send the contact information editted, send friendly information to the first Android equipment for customizing;
By the communication protocol between Android equipment for customizing, the contact information that cell-phone customer terminal edits is sent to the second Android equipment for customizing by the first Android equipment for customizing;
Second Android equipment for customizing receives the contact information that the first Android equipment for customizing sends over;
When agreeing to that this user is the neighborhood of oneself, the second Android equipment for customizing pushes approval information, set up neighborhood with the first Android equipment for customizing;
Receive the approval information turned in the first Android equipment for customizing, the second Android device is saved in neighbor list by cell-phone customer terminal, directly can link up with the second Android device after refreshing neighbor list in neighbor list.
2. the method according to patent requirements 1, is characterized in that, judges whether to have Android equipment for customizing, if not, eject information according to the Query Result returned.
3. the method according to patent requirements 1, it is characterized in that, first Android equipment for customizing is by the communication protocol between P2P technology and multiple Android equipment for customizing, and according to described agreement, the first Android equipment for customizing can inquire the second Android equipment for customizing in set scope.
4. the method according to patent requirements 1, is characterized in that, described neighbor list is that after the second Android equipment for customizing agrees to set up neighborhood, the second Android equipment for customizing adds in neighbor list by cell-phone customer terminal.
5. the method according to patent requirements 1, is characterized in that, according to described query statement, the query time that the first Android equipment for customizing inquires about the second Android equipment for customizing can be set as 10 seconds, also can be set as other times.
6. the method according to patent requirements 1, is characterized in that, is communicated by udp protocol between described multiple Android equipment for customizing.
CN201510376534.9A 2015-07-01 2015-07-01 Communication method between adjacent multiple Android equipment for customizing Pending CN105228122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510376534.9A CN105228122A (en) 2015-07-01 2015-07-01 Communication method between adjacent multiple Android equipment for customizing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510376534.9A CN105228122A (en) 2015-07-01 2015-07-01 Communication method between adjacent multiple Android equipment for customizing

Publications (1)

Publication Number Publication Date
CN105228122A true CN105228122A (en) 2016-01-06

Family

ID=54996742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510376534.9A Pending CN105228122A (en) 2015-07-01 2015-07-01 Communication method between adjacent multiple Android equipment for customizing

Country Status (1)

Country Link
CN (1) CN105228122A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110247056A1 (en) * 2010-03-31 2011-10-06 Hanjin Lee Method and apparatus for improved connection of wireless devices using third party programming capability
CN102932681A (en) * 2012-11-15 2013-02-13 青岛海信宽带多媒体技术有限公司 Method and system for realizing recommendation of television program
US20140087770A1 (en) * 2011-04-28 2014-03-27 Lg Electronics Inc. Mobile terminal and method for controlling same
CN104717296A (en) * 2015-03-25 2015-06-17 阳海龙 Social contact interactive method, device, terminal and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110247056A1 (en) * 2010-03-31 2011-10-06 Hanjin Lee Method and apparatus for improved connection of wireless devices using third party programming capability
US20140087770A1 (en) * 2011-04-28 2014-03-27 Lg Electronics Inc. Mobile terminal and method for controlling same
CN102932681A (en) * 2012-11-15 2013-02-13 青岛海信宽带多媒体技术有限公司 Method and system for realizing recommendation of television program
CN104717296A (en) * 2015-03-25 2015-06-17 阳海龙 Social contact interactive method, device, terminal and system

Similar Documents

Publication Publication Date Title
CN102930705B (en) Device control method and device
CN101621314B (en) Bluetooth mobile phone and pairing and binding method thereof
CN103428277B (en) By the method accessing the movable storage device being physically connected to wireless router with the smart machine of wireless router wireless connections
CN110121902B (en) Communication establishment method and terminal
CN104488199A (en) Method of synchronizing contents between terminals and terminals
CN103442045B (en) A kind of smart machine accesses the method for wireless router
CN101807945A (en) Wireless data transmission system and data transmission method utilizing same
US9894565B2 (en) Communication connection establishment method and mediation device
US20110105024A1 (en) Transport independent service discovery
CN101656745A (en) Wireless communication device and system for realizing file sharing and file sharing method
CN102118831A (en) Wireless access method and device
WO2019079971A1 (en) Method for group communication, and apparatus, computer storage medium, and computer device
CN104981027A (en) Application synchronization method and system for mobile terminals
EP3188418B1 (en) Near field discovery method, user equipment, and storage medium
CN105025529A (en) Method for switching access point and wireless loudspeaker box
CN101909346A (en) DHCP (Dynamic Host Configuration Protocol) broadcasting method and wireless access controller
CN102841792B (en) Information edit method in SNS application and device
CN101390410A (en) Icon transforming system, and service method for the same
CN101808160B (en) File processing method applied on mobile terminal and mobile terminal
CN104852835A (en) Smart device WIFI communication system and control method thereof
CN105228024A (en) Set-top box users exchange method
CN102665193A (en) Mobile terminal, and method for address book remote sharing based on mobile terminal
CN109525469B (en) Networking method of intelligent household equipment and intelligent household equipment
CN104079716A (en) Intelligent device, external storage expansion device and method based on external storage expansion of intelligent device
CN103929720A (en) Method and system for information push and information sending end

Legal Events

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

Application publication date: 20160106

RJ01 Rejection of invention patent application after publication