CN106375979A - Method for finding states of intelligent devices in LAN rapidly - Google Patents

Method for finding states of intelligent devices in LAN rapidly Download PDF

Info

Publication number
CN106375979A
CN106375979A CN201610362015.1A CN201610362015A CN106375979A CN 106375979 A CN106375979 A CN 106375979A CN 201610362015 A CN201610362015 A CN 201610362015A CN 106375979 A CN106375979 A CN 106375979A
Authority
CN
China
Prior art keywords
smart machine
mobile terminal
network
information
server
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
CN201610362015.1A
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 CN201610362015.1A priority Critical patent/CN106375979A/en
Publication of CN106375979A publication Critical patent/CN106375979A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for finding states of intelligent devices in an LAN (Local Area Network) rapidly. The method comprises a first step that intelligent devices after being started report the intelligent device states, the accessed network names and the network addresses where the intelligent devices are to a network server continuously; a second step that a mobile terminal APP after being started starts UDP scanning for scanning the intelligent devices in the same network at once, and the network server sends information of bound intelligent devices and network information of the intelligent devices to a mobile terminal after the mobile terminal APP logs in the network server; a third step that if the mobile terminal has not scanned any intelligent device, the mobile terminal analyzes the intelligent device information received by the server and judges whether the devices are the intelligent devices within the same LAN as the mobile terminal; and a fourth step that the mobile terminal is directly connected with the intelligent devices if the devices are judged to be within the same LAN as the mobile terminal. The method for finding the states of the intelligent devices in the LAN rapidly has the advantage that the user experience can be improved.

Description

The quick method finding smart machine state in LAN
Technical field
The present invention relates to domestic intelligent apparatus field, the method more particularly, to quickly finding smart machine state in LAN.
Background technology
Fast development with electronic technology, mobile terminal and smart machine are increasingly favored by people, it is widely used in a variety of applications at a lot of aspect such as life & amusement and military military project, mobile terminal and the relation of smart machine typically one-to-many, mobile terminal can connect multiple smart machines, mobile terminal is typically by udp(user datagram protocol) scan same smart machine information off the net and (comprise network ip, facility information), it is directly connected to after scanning, then conveniently communicated.But udp scanning generally ratio is relatively time-consuming, and cannot ensure to scan, and such mobile terminal cannot be connected to smart machine in time every time, affect very much Consumer's Experience.
Content of the invention
In view of the deficiencies in the prior art, provided herein is one kind is not in the case of scanning smart machine in LAN, the method that the smart machine information being issued by server is quickly found out and logs in smart machine, in the quick discovery LAN having the advantage that, the method for smart machine state includes following technical scheme:
After step 1, smart machine start, the network name constantly report described smart machine state to the webserver, being accessed and the network address at place;
After step 2, mobile terminal app start, open the udp scanning of the smart machine under scanning consolidated network immediately, simultaneously after mobile terminal app logging in network server, the described webserver is handed down to the information of the smart machine bound in mobile terminal and the network information of this smart machine;
Step 3, such as mobile terminal do not scan smart machine, then be analyzed the smart machine information that server is received, and judge whether described equipment is the smart machine being all in LAN with mobile terminal;
It is that then mobile terminal is directly connected with smart machine that step 4. judges.
In step 1, described smart machine starts, shutdown, or when network settings change or ip change, report the state of oneself to server and network name that smart machine is accessed and the network address that smart machine is located, during smart machine runs, every one section of setting time to server reporting equipment status information.
In step 2, if server does not issue the network information of smart machine bound in mobile terminal, mobile terminal scans to judge smart machine according to udp, once smart machine receives broadcast, then oneself No. sn, the information such as ip address is broadcasted.
After described mobile terminal receives the broadcast data of smart machine, parse data, record online smart machine information, after smart machine end receives the broadcast request of mobile terminal, respond the information such as sn and ip of oneself.
The present invention compared with prior art has the advantages that
Udp scanning smart machine needs a period of time it is also possible to scanning is less than mobile terminal obtains the information of smart machine by login service device, and in the case of not scanning smart machine, direct logging device, so substantially increases the experience of user.
Brief description
Fig. 1 quickly finds the FB(flow block) of the method for smart machine state in LAN for the present invention.
Specific embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
To be illustrated with the embodiment of the technical scheme in the present invention, in the present invention, mobile terminal generally will connect multiple smart machines, these equipment are provided with intelligence system, it is connected with communication of mobile terminal, by the powerful multimedia function of mobile terminal, to make up the multimedia of these intelligent terminal and the deficiency of interactivity.In a kind of smart machine with family's cloud storage function, this equipment passes through to connect display device and user interaction, in existing technology, mobile terminal and these equipment are bindings, register flow path can be saved by binding, it is common technology in the art that mobile terminal and smart machine are bound in first connection.In domestic smart machine, connected using setting up LAN under same wi-fi, when mobile terminal opens app, smart machine start, mobile terminal udp scanning device first under LAN environment, in list of devices after being scanned by udp, select equipment to be communicated to connect to set up and connect.Smart machine starts, shutdown, or network settings change, or during ip change, reports the state of oneself to the server on the Internet and network name that smart machine is accessed and the network address that smart machine is located.Smart machine run in, also intermittent report the above-mentioned status information of oneself to Internet Server.
As shown in figure 1, combining technique scheme, the quick method finding smart machine state in LAN, comprising:
After s1, smart machine start, the network name constantly report described smart machine state to the webserver, being accessed and the network address at place;
After s2, mobile terminal app start, open the udp scanning of the smart machine under scanning consolidated network immediately, simultaneously after mobile terminal app logging in network server, the described webserver is handed down to the information of the smart machine bound in mobile terminal and the network information of this smart machine;
S3, such as mobile terminal do not scan smart machine, then be analyzed the smart machine information that server is received, and judge whether described equipment is the smart machine being all in LAN with mobile terminal;
S4. judge it is that then mobile terminal is directly connected with smart machine.
After app startup in above-mentioned steps it is notable that in mobile terminal, such as mobile phone, open udp scanning, the smart machine under scanning consolidated network immediately.Simultaneously after mobile terminal app login service device, server issues the information of the smart machine bound in mobile phone and the network information (networking state, network name such as wifi ssid, ip address etc.) of this smart machine.
If mobile terminal does not scan smart machine, the network (wifi, 3g, 2g, 4g etc.) that accessed according to itself, simultaneously with Successful login after the smart machine information that received be compared.To judge the smart machine in the same network segment.If wifi title is identical then it is assumed that smart machine, in the same network segment, is directly connected to smart machine.
If logged on when, server does not issue the network information of bound smart machine, then mobile terminal scans judging smart machine according to udp, once smart machine receives broadcast, then oneself No. sn, the information such as ip address is broadcasted.
After smart machine starts, except reporting to server in addition to the network information of oneself by above-mentioned 1, also in addition execution is following operates:
1) when smart machine starts successfully, also send udp broadcast message, broadcast No. sn and the ip address of oneself to the mobile phone in LAN.
2) when smart machine end finds that wifi disconnects and reconnects, same transmission udp broadcast message, No. sn and the ip address of oneself is broadcasted to the mobile phone in LAN.
3), when smart machine is normally closed, before closing, udp broadcast message, tell the mobile phone oneself in LAN No. sn, and closed mode are sent.
4), after mobile terminal receives the broadcast data of smart machine, parse data, record online smart machine information.
5), after smart machine end receives the broadcast request of mobile terminal, the information such as sn and ip of oneself are responded.
Server once receives the new udp data from smart machine, and the smart machine finding of record compares, the network data added new smart machine or update existing smart machine.
Above content is only presently preferred embodiments of the present invention, for those of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, this specification content should not be construed as limitation of the present invention.

Claims (4)

1. a kind of method that synchronously visualization based on mobile phone controls intelligent television, comprising:
After step 1, smart machine start, the network name constantly report described smart machine state to the webserver, being accessed and the network address at place;
After step 2, mobile terminal app start, open the udp scanning of the smart machine under scanning consolidated network immediately, simultaneously after mobile terminal app logging in network server, the described webserver is handed down to the information of the smart machine bound in mobile terminal and the network information of this smart machine;
Step 3, such as mobile terminal do not scan smart machine, then be analyzed the smart machine information that server is received, and judge whether described equipment is the smart machine being all in LAN with mobile terminal;
It is that then mobile terminal is directly connected with smart machine that step 4. judges.
2. method according to claim 1, it is characterized in that, in step 1, described smart machine starts, shutdown, or network settings change or during ip change, reports the state of oneself to server and network name that smart machine is accessed and the network address that smart machine is located, during smart machine runs, every one section of setting time to server reporting equipment status information.
3. method according to claim 1, it is characterized in that, in step 2, if server does not issue the network information of smart machine bound in mobile terminal, then mobile terminal scans to judge smart machine according to udp, once smart machine receives broadcast, then oneself No. sn, the information such as ip address is broadcasted.
4. method according to claim 3 is it is characterised in that after described mobile terminal receives the broadcast data of smart machine, parsing data, record online smart machine information, after smart machine end receives the broadcast request of mobile terminal, respond the information such as sn and ip of oneself.
CN201610362015.1A 2016-05-30 2016-05-30 Method for finding states of intelligent devices in LAN rapidly Pending CN106375979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610362015.1A CN106375979A (en) 2016-05-30 2016-05-30 Method for finding states of intelligent devices in LAN rapidly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610362015.1A CN106375979A (en) 2016-05-30 2016-05-30 Method for finding states of intelligent devices in LAN rapidly

Publications (1)

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

Family

ID=57880747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610362015.1A Pending CN106375979A (en) 2016-05-30 2016-05-30 Method for finding states of intelligent devices in LAN rapidly

Country Status (1)

Country Link
CN (1) CN106375979A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111479227A (en) * 2020-05-13 2020-07-31 厦门阳光物联科技有限公司 B L E Mesh node state synchronization method
CN112637844A (en) * 2020-12-16 2021-04-09 珠海格力电器股份有限公司 Security authentication method, device, equipment and medium
CN115168427A (en) * 2022-09-08 2022-10-11 中科声龙科技发展(北京)有限公司 Equipment searching method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009894A (en) * 2013-02-26 2014-08-27 海尔集团公司 Automatic acquisition method of service information in local area network and system and equipment thereof
CN104113458A (en) * 2014-07-23 2014-10-22 海信集团有限公司 Mobile terminal and intelligent household appliance interconnecting method and device
CN104796500A (en) * 2015-03-20 2015-07-22 广东欧珀移动通信有限公司 Terminal and intelligent equipment connecting method and device
CN105142116A (en) * 2015-08-06 2015-12-09 深圳创维-Rgb电子有限公司 Communication network switching method and switching system for intelligent equipment
CN105306676A (en) * 2015-09-14 2016-02-03 北京奇虎科技有限公司 Method, apparatus and system for accessing intelligent device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009894A (en) * 2013-02-26 2014-08-27 海尔集团公司 Automatic acquisition method of service information in local area network and system and equipment thereof
CN104113458A (en) * 2014-07-23 2014-10-22 海信集团有限公司 Mobile terminal and intelligent household appliance interconnecting method and device
CN104796500A (en) * 2015-03-20 2015-07-22 广东欧珀移动通信有限公司 Terminal and intelligent equipment connecting method and device
CN105142116A (en) * 2015-08-06 2015-12-09 深圳创维-Rgb电子有限公司 Communication network switching method and switching system for intelligent equipment
CN105306676A (en) * 2015-09-14 2016-02-03 北京奇虎科技有限公司 Method, apparatus and system for accessing intelligent device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111479227A (en) * 2020-05-13 2020-07-31 厦门阳光物联科技有限公司 B L E Mesh node state synchronization method
CN111479227B (en) * 2020-05-13 2022-02-01 厦门阳光恩耐照明有限公司 BLE Mesh node state synchronization method
CN112637844A (en) * 2020-12-16 2021-04-09 珠海格力电器股份有限公司 Security authentication method, device, equipment and medium
CN115168427A (en) * 2022-09-08 2022-10-11 中科声龙科技发展(北京)有限公司 Equipment searching method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2018077018A1 (en) Networking method and device, network connection method and device, router, and smart home appliance
EP3041183B1 (en) Remote wireless screen sharing method, device and system
CN109548019B (en) Network distribution method and system
CN101146047B (en) A method, system and gateway for controlling quantity of network access terminal under routing mode
CN105491600A (en) Network access method, device and related equipment for household appliances
CN105072012A (en) Quick network access method of intelligent device
CN106534289B (en) Automatic testing method, device and system
CN104639913A (en) Network video recorder (NVR) and automatic IPC (Internet Protocol Camera) access method thereof
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
TW201513710A (en) A method, apparatus and system of configuring equipments for joining a network group
CN106657234B (en) Network distribution method and system of household appliance, household appliance and mobile terminal
CN103634172A (en) Method, device and system for processing multi-terminal cooperation information
CN105682182A (en) Device discovery and device connection method, device and system
CN106375979A (en) Method for finding states of intelligent devices in LAN rapidly
CN106453370B (en) Method and device for registering IPC (inter-programmable logic controller) to NVR (network video recorder)
CN105681879A (en) Method and system for realizing set top box on-demand operation in private network
CN110784941B (en) Automatic connection method, device and system for CPE and terminal equipment
CN105721189A (en) Network port configuration method and device for network equipment
US10070289B1 (en) Client association for provisioning devices in a communication network
EP2461580A1 (en) Monitoring message transmission method and system
CN112187486B (en) Interaction method between intelligent devices and intelligent device
CN111182265B (en) Video monitoring equipment cascading method and device
EP3515121A1 (en) Device networking method, apparatus and system
CN106375933A (en) Projection control method of multiple intelligent hardware devices
CN105812909A (en) Video transmission method and device

Legal Events

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

Application publication date: 20170201

WD01 Invention patent application deemed withdrawn after publication