CN116260863A - Automatic registration method for local area network equipment - Google Patents

Automatic registration method for local area network equipment Download PDF

Info

Publication number
CN116260863A
CN116260863A CN202310093229.3A CN202310093229A CN116260863A CN 116260863 A CN116260863 A CN 116260863A CN 202310093229 A CN202310093229 A CN 202310093229A CN 116260863 A CN116260863 A CN 116260863A
Authority
CN
China
Prior art keywords
equipment
local area
area network
automatic registration
sent
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
CN202310093229.3A
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 Huidu Technology Co ltd
Original Assignee
Hunan Grayscale 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 Hunan Grayscale Information Technology Co ltd filed Critical Hunan Grayscale Information Technology Co ltd
Priority to CN202310093229.3A priority Critical patent/CN116260863A/en
Publication of CN116260863A publication Critical patent/CN116260863A/en
Pending legal-status Critical Current

Links

Images

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/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to the technical field of registration, and discloses an automatic registration method of local area network equipment, which comprises the following steps: s1, when a system is started, a UDP broadcast is sent to a whole network segment at regular time; s2, after receiving the broadcast, the equipment responds by carrying an identifier of the equipment, the system stores the identifier of the equipment, and after N continuous times of no response of a certain equipment is received, the equipment is judged to be not on line, otherwise, the equipment is judged to be on line; s3, when the equipment is online, broadcasting for acquiring equipment configuration information is sent, and after the system receives the equipment configuration information, whether the equipment is locked is checked; and checks whether the device is registered. The invention provides an automatic registration method of local area network equipment, which adds the functions of automatically discovering and registering equipment in a local area network mode, and can automatically discover and detect whether automatic registration is needed when new equipment exists in the local area network.

Description

Automatic registration method for local area network equipment
Technical Field
The invention relates to the field of registration, in particular to an automatic registration method for local area network equipment.
Background
At present, the advertisement screen is used as an important information display medium, and the local area network mode is used as a supplement to the original equipment networking mode, so that the requirement of a user on equipment management in different scenes can be better met. To support management of devices in lan mode, it is first necessary to automatically discover devices in the network mode, and to detect whether automatic registration is required according to the current configuration of the devices, while supporting switching to other network modes without interfering with each other.
In order to solve the above problems, the present application proposes an automatic registration method for a lan device.
Disclosure of Invention
Object of the invention
In order to solve the technical problems in the background technology, the invention provides an automatic registration method of local area network equipment, which adds the functions of automatically discovering and registering equipment in a local area network mode, and can automatically discover and detect whether automatic registration is needed when new equipment exists in the local area network.
(II) technical scheme
In order to solve the above problems, the present invention provides an automatic registration method for a local area network device, comprising the following steps:
s1, when a system is started, a UDP broadcast is sent to a whole network segment at regular time;
s2, after receiving the broadcast, the equipment responds by carrying an identifier of the equipment, the system stores the identifier of the equipment, and after N continuous times of no response of a certain equipment is received, the equipment is judged to be not on line, otherwise, the equipment is judged to be on line;
s3, when the equipment is online, broadcasting for acquiring equipment configuration information is sent, and after the system receives the equipment configuration information, whether the equipment is locked is checked; and checks whether the device is registered.
Preferably, in S2, the identification is a unique identification of the corresponding device.
Preferably, in S2, N is 4.
Preferably, in S3, the process of the present invention,
when the device is locked, it cannot be configured at this time;
when the device is not locked, it is checked whether the networking mode of the device is the lan mode.
Preferably, when the device is in the local area network mode, checking whether the device is registered, and if so, indicating that the device is registered successfully;
if not, a broadcast for configuring the address of the mqtt server is sent, after the equipment receives the broadcast, the mqtt server is connected, and after the connection is successful, the equipment is successfully registered, otherwise, the registration flow is continued;
when the equipment is not in the local area network mode, broadcasting for configuring the address of the mqtt server is sent, when the equipment receives the broadcasting, the mqtt server is connected, after the connection is successful, the equipment registration is successful, and otherwise, the registration flow is continued.
The technical scheme of the invention has the following beneficial technical effects:
the function of automatically discovering and registering the equipment in the local area network mode is added, and when new equipment appears in the local area network, the equipment can be automatically discovered and detected whether automatic registration is needed or not; the device is managed in a local area network mode.
Drawings
Fig. 1 is a flowchart of an automatic registration method of a lan device according to the present invention.
Fig. 2 is a partial flowchart of an automatic registration method of a lan device according to the present invention.
Detailed Description
The objects, technical solutions and advantages of the present invention will become more apparent by the following detailed description of the present invention with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the invention. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present invention.
As shown in fig. 1-2, the automatic registration method for the local area network equipment provided by the invention comprises the following steps:
s1, when the system is started, UDP broadcasting is sent to the whole network segment (255.255.255.255) at regular time;
s2, after receiving the broadcast, the equipment responds with an identifier (the identifier is a unique identifier of the corresponding equipment), the system stores the identifier (the identifier is the unique identifier of the corresponding equipment) of the equipment, and after receiving no response of a certain equipment for N times, the equipment is judged to be not on line, otherwise, the equipment is judged to be on line;
n may be 3, 4 or 5.
S3, when the equipment is online, broadcasting for acquiring equipment configuration information is sent, and after the system receives the equipment configuration information, whether the equipment is locked is checked; and checks whether the device is registered.
Referring to FIG. 2, in an alternative embodiment, in S3, when the device is locked, no configuration can be performed;
when the device is not locked, it is checked whether the networking mode of the device is the lan mode.
When the equipment is in the local area network mode, checking whether the equipment is registered or not, and if so, indicating that the equipment is registered successfully;
if not, a broadcast for configuring the address of the mqtt server is sent, after the equipment receives the broadcast, the mqtt server is connected, and after the connection is successful, the equipment is successfully registered, otherwise, the registration flow is continued;
when the equipment is not in the local area network mode, broadcasting for configuring the address of the mqtt server is sent, when the equipment receives the broadcasting, the mqtt server is connected, after the connection is successful, the equipment registration is successful, and otherwise, the registration flow is continued.
It should be noted that the system is a control system, which is a known technology and will not be described herein.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explanation of the principles of the present invention and are in no way limiting of the invention. Accordingly, any modification, equivalent replacement, improvement, etc. made without departing from the spirit and scope of the present invention should be included in the scope of the present invention. Furthermore, the appended claims are intended to cover all such changes and modifications that fall within the scope and boundary of the appended claims, or equivalents of such scope and boundary.

Claims (5)

1. An automatic registration method for local area network equipment, which is characterized by comprising the following steps:
s1, when the system is started, UDP broadcasting is sent to the whole network segment (255.255.255.255) at regular time;
s2, after receiving the broadcast, the equipment responds by carrying an identifier of the equipment, the system stores the identifier of the equipment, and after N continuous times of no response of a certain equipment is received, the equipment is judged to be not on line, otherwise, the equipment is judged to be on line;
s3, when the equipment is online, broadcasting for acquiring equipment configuration information is sent, and after the system receives the equipment configuration information, whether the equipment is locked is checked; and checks whether the device is registered.
2. The automatic registration method of a local area network device according to claim 1, wherein in S2, the identification is a unique identification of the corresponding device.
3. The method for automatic registration of lan equipment according to claim 2, wherein in S2, N is 4.
4. An automatic registration method for a local area network device according to any one of claims 1-3, characterized in that, in S3,
when the device is locked, it cannot be configured at this time;
when the device is not locked, it is checked whether the networking mode of the device is the lan mode.
5. The automatic registration method for a lan device according to claim 4, wherein when the device is in the lan mode, it is checked whether the device is registered, and if so, it is interpreted that the device registration is successful;
if not, a broadcast for configuring the address of the mqtt server is sent, after the equipment receives the broadcast, the mqtt server is connected, and after the connection is successful, the equipment is successfully registered, otherwise, the registration flow is continued;
when the equipment is not in the local area network mode, broadcasting for configuring the address of the mqtt server is sent, when the equipment receives the broadcasting, the mqtt server is connected, after the connection is successful, the equipment registration is successful, and otherwise, the registration flow is continued.
CN202310093229.3A 2023-02-09 2023-02-09 Automatic registration method for local area network equipment Pending CN116260863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310093229.3A CN116260863A (en) 2023-02-09 2023-02-09 Automatic registration method for local area network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310093229.3A CN116260863A (en) 2023-02-09 2023-02-09 Automatic registration method for local area network equipment

Publications (1)

Publication Number Publication Date
CN116260863A true CN116260863A (en) 2023-06-13

Family

ID=86680371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310093229.3A Pending CN116260863A (en) 2023-02-09 2023-02-09 Automatic registration method for local area network equipment

Country Status (1)

Country Link
CN (1) CN116260863A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866889A (en) * 2005-08-25 2006-11-22 华为技术有限公司 Method for LAN terminal accessing LAN
CN104009894A (en) * 2013-02-26 2014-08-27 海尔集团公司 Automatic acquisition method of service information in local area network and system and equipment thereof
KR101484639B1 (en) * 2013-09-17 2015-02-09 주식회사 비츠로시스 Method and system for registering device to home network
CN106713230A (en) * 2015-11-13 2017-05-24 深圳市光峰光电技术有限公司 Method of projection equipment for registering internet of things and projection equipment and user terminal
CN112637332A (en) * 2020-12-22 2021-04-09 上海安畅网络科技股份有限公司 Service registration discovery method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866889A (en) * 2005-08-25 2006-11-22 华为技术有限公司 Method for LAN terminal accessing LAN
CN104009894A (en) * 2013-02-26 2014-08-27 海尔集团公司 Automatic acquisition method of service information in local area network and system and equipment thereof
KR101484639B1 (en) * 2013-09-17 2015-02-09 주식회사 비츠로시스 Method and system for registering device to home network
CN106713230A (en) * 2015-11-13 2017-05-24 深圳市光峰光电技术有限公司 Method of projection equipment for registering internet of things and projection equipment and user terminal
CN112637332A (en) * 2020-12-22 2021-04-09 上海安畅网络科技股份有限公司 Service registration discovery method and system

Similar Documents

Publication Publication Date Title
EP3804389B1 (en) Dynamic backup amf determination and publication
US7246349B2 (en) Migration support mechanism in open service and open mobile architecture
CN111225401B (en) Method and related equipment for realizing disaster tolerance
CN109195217B (en) Method and device for processing LTE network rejection behavior
JPH09214516A (en) Moving terminal and movement corresponded network
CN110493366B (en) Method and device for adding access point into network management
CN108667693B (en) Throughput testing system and method
US20220295439A1 (en) Network element registration method and system, and network function repository function
CN111212099A (en) Micro-service management method and device
CN114930784A (en) Association with network data analysis functionality
EP1890504A1 (en) Apparatus and Method of Providing Packet Service Status Using Access Class Barred List in Mobile Communication System
CN114244810A (en) Virtual IP management method, device, electronic equipment and storage medium
CN111131484A (en) Node mounting method, device, network node and storage medium
CN102859947B (en) Method, apparatus and system for neighbor discovery
CN105376226A (en) Streaming media server forwarding method and system
CN116260863A (en) Automatic registration method for local area network equipment
CN108900603A (en) A kind of server discovery methods, devices and systems
CN114585026A (en) Frequency point switching method, terminal, base station and storage medium
CN112243243B (en) Network slice implementation method, entity and system
CN109344202B (en) Data synchronization method and management node
US20020159448A1 (en) Communication device and method of controlling the same
US9949046B2 (en) Automating repairs to audio systems
CN110635994B (en) Heterogeneous interconnection system and method based on self-adaptive detection
CN110730173B (en) Information interaction method and device
US11223709B2 (en) Exchange, communication system, registration method, and program

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
TA01 Transfer of patent application right

Effective date of registration: 20240527

Address after: 518000 18 / F, block a, 18 / F, block B, No. 196, Tangtou Avenue, Langxin community, Shiyan street, Bao'an District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN HUIDU TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 410000 room 1201, building 17-1, Xinggong Industrial Technology Park, No. 100 Luyun Road, high tech Development Zone, Changsha, Hunan

Applicant before: Hunan grayscale information technology Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right