WO2022080706A1 - Système de réseau de communication et son procédé de commande - Google Patents

Système de réseau de communication et son procédé de commande Download PDF

Info

Publication number
WO2022080706A1
WO2022080706A1 PCT/KR2021/013245 KR2021013245W WO2022080706A1 WO 2022080706 A1 WO2022080706 A1 WO 2022080706A1 KR 2021013245 W KR2021013245 W KR 2021013245W WO 2022080706 A1 WO2022080706 A1 WO 2022080706A1
Authority
WO
WIPO (PCT)
Prior art keywords
nodes
server
synchronization information
information
leader node
Prior art date
Application number
PCT/KR2021/013245
Other languages
English (en)
Korean (ko)
Inventor
이영수
김병정
서영교
임재용
Original Assignee
주식회사 한국금융솔루션
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 주식회사 한국금융솔루션 filed Critical 주식회사 한국금융솔루션
Publication of WO2022080706A1 publication Critical patent/WO2022080706A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present invention relates to a communication network system and a control method thereof, and more particularly, to a communication network system based on MQTT (Message Queue for Telemetry Transport) and a control method thereof.
  • MQTT Message Queue for Telemetry Transport
  • IoT Internet of Things
  • gateways do not have public IPs, so communication from the server to the gateway is difficult.
  • MQTT messaging protocol MQ Telemetry Transport
  • M2M machine-to-machine
  • MQTT protocol is a protocol of publish/subscribe structure based on message broker, unlike the communication model of Request and Response. Due to the characteristics of this structure, the message sender cannot determine whether the last message receiver has received the message.
  • a two-way MQTT communication model is used in which each message sender uses the function of publish/subscribe.
  • the communication connection between the IoT server and the MQTT server must be maintained continuously.
  • An object of the present invention for solving the above-described problems is to provide a communication network system capable of providing a high availability service and a control method thereof.
  • a communication network system for solving the above problems includes a plurality of nodes and a server for controlling the plurality of nodes, wherein the server requests synchronization information from the plurality of nodes, and the plurality of Any one of the plurality of nodes is set as a leader node based on a booting time included in the synchronization information received from the node, wherein the leader node is configured with the exception of the leader node among the plurality of nodes. It is characterized in that it transmits notification information indicating that it is a leader node to the remaining nodes.
  • the server based on the connection of the plurality of nodes to the server, it is characterized in that the request information for requesting the synchronization information is transmitted to the plurality of nodes.
  • the synchronization information includes information on booting time
  • the server is characterized in that the node having the fastest booting time included in the synchronization information received from the plurality of nodes is set as the leader node.
  • the server periodically receives synchronization information from the plurality of nodes, and determines activation states of the plurality of nodes based on the received synchronization information.
  • an effective time is set, and the server deletes the synchronization information in which the effective time has elapsed.
  • the server may control the leader node to periodically transmit notification information indicating that it is a leader node in order to prevent setting of at least two leader nodes among the plurality of nodes.
  • the remaining nodes determine whether the received plurality of pieces of notification information match.
  • the remaining nodes request that the server transmit request information for requesting synchronization information to the plurality of nodes.
  • control method of a communication network system is a control method of a communication network system including a plurality of nodes and a server controlling the plurality of nodes, the server requesting synchronization information to the plurality of nodes , setting, by the server, any one of the plurality of nodes as a leader node based on a booting time included in the synchronization information received from the plurality of nodes, and the leader node is the leader among the plurality of nodes and transmitting notification information indicating that the node is a leader node to the remaining nodes except for the node.
  • a computer program providing a control method of a communication network system according to the present invention for solving the above problems is stored in a computer-readable recording medium in combination with a computer that is hardware to perform any one of the methods described above. .
  • FIG 1 and 2 are conceptual diagrams for explaining the MQTT protocol of the present invention.
  • FIG. 3 is a conceptual diagram for explaining a communication network system of the present invention.
  • FIG. 4 is a flowchart for explaining a control method of a communication network system according to the present invention.
  • 'server' and 'node' include various devices capable of providing results to users by performing computational processing.
  • 'server' and 'node' are not only desktop PCs and notebooks (Note Book), but also smartphones, tablet PCs, cellular phones, and PCS phones (Personal Communication Service). phone), a synchronous/asynchronous IMT-2000 (International Mobile Telecommunication-2000) mobile terminal, a Palm Personal Computer (PC), and a Personal Digital Assistant (PDA).
  • IMT-2000 International Mobile Telecommunication-2000
  • PC Palm Personal Computer
  • PDA Personal Digital Assistant
  • FIG 1 and 2 are conceptual diagrams for explaining the MQTT protocol of the present invention.
  • MQTT stands for lightweight Publish/Subscribe (Pub/Sub) messaging protocol. It is mainly used in Machine-to-Machine (M2M) and Internet of Things (IoT).
  • M2M Machine-to-Machine
  • IoT Internet of Things
  • MQTT is designed for use in low power and low bandwidth environments for IoT.
  • MQTT has the advantage of being able to operate on a low power, unreliable network, and No TCP/IP basis. It is advantageous for controlling small devices and collecting sensor information.
  • the MQTT protocol publishes a message and subscribes to a topic of interest as a basic principle.
  • Pub connects to the broker server for the purpose of publishing a topic, and sub for the purpose of subscribing to a topic.
  • One or more Pubs and Subs can be configured to connect to a broker to publish or subscribe to topics.
  • multiple clients may subscribe to one topic.
  • Pubs and Subs can work based on topics. Topics can be hierarchically structured using forward slashes (/), and through this, a large number of sensor devices can be efficiently managed.
  • MQTT may be used as a message bus system.
  • the MQTT broker creates a message bus (or channel) and sends a message to it, the method in which applications attached to the bus read the message can be applied.
  • Topicic Messages of various topics can flow in the message bus, and a message channel named "Topic" can be formed to distinguish messages.
  • Applications can subscribe (Sub) or publish (Pub) messages by connecting to the message bus and registering interested topics.
  • the communication network system to which MQTT of the present invention is applied includes a plurality of nodes including at least one MQTT message bus (or MQTT channel), and interacts with the plurality of nodes,
  • a server LB that controls a plurality of nodes may be included.
  • each node (Node-1, Node-2), a plurality of MQTT message channels or a plurality of MQTT message buses may be formed.
  • each node may maintain a user's private channel (MQTT Topic).
  • GMP Global Message Proc
  • the message receiver may not be connected at the time of message transmission.
  • the GMP may transmit the message to the user message box.
  • a newly connected user can perform the process of checking whether there are unread messages in the message box.
  • a plurality of nodes and a server included in the communication network system of the present invention may form one cluster, and the server may control the plurality of nodes in various ways.
  • the leader node in order to provide a high-availability service, may be configured so that information systems such as servers, networks, and programs can continuously operate normally for a fairly long period of time.
  • FIG. 4 is a flowchart for explaining a control method of a communication network system according to the present invention.
  • the communication network system of the present invention may include a plurality of nodes and a server controlling the plurality of nodes.
  • the server may request (SyncReq) synchronization information from a plurality of nodes (S410). Each node receiving the synchronization information request may transmit synchronization information (Sync information) from the node to the server.
  • Synchronization information synchronization information
  • the received synchronization information may be stored in the server.
  • the server may transmit request information SyncReq for requesting synchronization information to the plurality of nodes based on the connection of the plurality of nodes to the server.
  • the server sets any one of the plurality of nodes as the leader node based on the booting time included in the synchronization information received from the plurality of nodes (S420).
  • the synchronization information Sync may include information about a boot time of each node.
  • the server may set a node having the fastest (or earliest or shortest) boot time included in the synchronization information received from the plurality of nodes as the leader node.
  • the server may periodically receive synchronization information from a plurality of nodes, and determine activation states of the plurality of nodes based on the received synchronization information.
  • the server may periodically transmit request information for requesting synchronization information to a plurality of nodes.
  • the server may determine which node among the plurality of nodes is in an active state and which node is in an inactive state based on the received synchronization information.
  • the server may determine that a node from which synchronization information has been received is in an activated state, and a node from which synchronization information has not been received may be determined to be inactive.
  • the synchronization information includes information on the node (eg, identification information, ID, etc.), and the server may identify the node that has transmitted the received synchronization information based on the information on the node.
  • an effective time (Time to Limit, TTL) may be set.
  • the server may delete the expired synchronization information to secure capacity.
  • the server included in the communication network system of the present invention may prevent at least two leader nodes among a plurality of nodes from being set.
  • the step of the leader node transmitting notification information indicating that it is a leader node to the remaining nodes excluding the leader node among the plurality of nodes is performed (S430).
  • the server of the present invention may control the leader node to periodically transmit notification information (or leader information) informing that it is a leader node in order to prevent at least two leader nodes from being set among a plurality of nodes. .
  • the node set as the leader node may periodically transmit information indicating that it is the leader node to the remaining nodes (ie, the remaining nodes excluding the leader node among the plurality of nodes).
  • information indicating that it is a leader node may be transmitted to the server.
  • the remaining nodes excluding the leader node among the plurality of nodes may determine whether the received pieces of notification information match.
  • the plurality of notification information may be simultaneously received from different nodes at the same time, or may be received from one node at different times.
  • the plurality of pieces of notification information may not be identical to each other. This is because it means a situation in which different nodes inform that each is a leader node.
  • the remaining nodes may request that the server transmit request information for requesting synchronization information to the plurality of nodes when a plurality of pieces of notification information do not match. That is, when the plurality of pieces of notification information do not match, the remaining nodes may request the server to transmit request information syncReq for requesting synchronization information to the plurality of nodes to perform the process of setting the leader node again.
  • the leader node may request that the server transmit request information for requesting synchronization information to a plurality of nodes.
  • the leader node even when the remaining nodes (worker nodes) except the leader node receive notification information indicating that the node is a leader node, since the node is not a leader node, the node that transmitted the notification information is the leader It can be determined that the node is misunderstood.
  • the corresponding node may request that the server transmit request information for requesting synchronization information to a plurality of nodes.
  • the server may newly receive synchronization information from a plurality of nodes, and set (select) the leader node again based on the boot time included in the synchronization information.
  • the remaining node may determine that only one node is set as a leader node.
  • the server may delete (or initialize) synchronization information of the node whose connection is terminated.
  • the method according to an embodiment of the present invention described above may be implemented as a program (or application) to be executed in combination with a server, which is hardware, and stored in a computer-readable recording medium.
  • the above-described program is C, C++, JAVA, machine language, etc. that a processor (CPU) of the computer can read through a device interface of the computer in order for the computer to read the program and execute the methods implemented as a program
  • It may include code (Code) coded in the computer language of Such code may include functional code related to a function defining functions necessary for executing the methods, etc., and includes an execution procedure related control code necessary for the processor of the computer to execute the functions according to a predetermined procedure. can do.
  • the code may further include additional information necessary for the processor of the computer to execute the functions or code related to memory reference for which location (address address) in the internal or external memory of the computer to be referenced. there is.
  • the code uses the communication module of the computer to determine how to communicate with any other computer or server remotely. It may further include a communication-related code for whether to communicate and what information or media to transmit and receive during communication.
  • the storage medium is not a medium that stores data for a short moment, such as a register, a cache, a memory, etc., but a medium that stores data semi-permanently and can be read by a device.
  • examples of the storage medium include, but are not limited to, ROM, RAM, CD-ROM, magnetic tape, floppy disk, and an optical data storage device.
  • the program may be stored in various recording media on various servers accessible by the computer or in various recording media on the computer of the user.
  • the medium may be distributed in a computer system connected to a network, and a computer-readable code may be stored in a distributed manner.
  • a software module may contain random access memory (RAM), read only memory (ROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, hard disk, removable disk, CD-ROM, or It may reside in any type of computer-readable recording medium well known in the art to which the present invention pertains.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable ROM
  • EEPROM electrically erasable programmable ROM
  • flash memory hard disk, removable disk, CD-ROM, or It may reside in any type of computer-readable recording medium well known in the art to which the present invention pertains.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

La présente invention concerne un système de réseau de communication et son procédé de commande. Le système de réseau de communication de la présente invention comprend une pluralité de nœuds et un serveur qui commande la pluralité de nœuds, le serveur étant caractérisé en ce qu'il demande des informations de synchronisation à la pluralité de nœuds, et sur la base d'un temps de démarrage compris dans les informations de synchronisation reçues de la pluralité de nœuds, définit l'un quelconque parmi la pluralité de nœuds en tant que nœud maître, et le nœud maître étant caractérisé en ce qu'il transmet, aux nœuds restants à l'exclusion du nœud maître parmi la pluralité de nœuds, des informations de notification indiquant qu'il s'agit du nœud maître.
PCT/KR2021/013245 2020-10-13 2021-09-28 Système de réseau de communication et son procédé de commande WO2022080706A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2020-0131784 2020-10-13
KR1020200131784A KR102367017B1 (ko) 2020-10-13 2020-10-13 통신 네트워크 시스템 및 그것의 제어방법

Publications (1)

Publication Number Publication Date
WO2022080706A1 true WO2022080706A1 (fr) 2022-04-21

Family

ID=80474526

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/013245 WO2022080706A1 (fr) 2020-10-13 2021-09-28 Système de réseau de communication et son procédé de commande

Country Status (2)

Country Link
KR (1) KR102367017B1 (fr)
WO (1) WO2022080706A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100628327B1 (ko) * 2005-11-05 2006-09-27 한국전자통신연구원 텔레매틱스 서버-단말간 데이터 동기화를 위한 장치 및방법
KR20140052758A (ko) * 2012-10-25 2014-05-07 주식회사 케이티 동기화 정보 제공 시스템 및 그 방법
WO2015118847A1 (fr) * 2014-02-04 2015-08-13 日本電気株式会社 Système de réseau de communication sans fil, et procédé de détermination de dispositif de capteur représentatif
KR20190082926A (ko) * 2016-11-28 2019-07-10 아마존 테크놀로지스, 인크. 메시징 프로토콜 통신 관리
US20190349426A1 (en) * 2016-12-30 2019-11-14 Intel Corporation The internet of things

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101990184B1 (ko) 2016-12-19 2019-06-17 전자부품연구원 사설 IP를 가지는 IoT 게이트웨이를 위한 MQTT/HTTP 기반 통신 방법 및 시스템

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100628327B1 (ko) * 2005-11-05 2006-09-27 한국전자통신연구원 텔레매틱스 서버-단말간 데이터 동기화를 위한 장치 및방법
KR20140052758A (ko) * 2012-10-25 2014-05-07 주식회사 케이티 동기화 정보 제공 시스템 및 그 방법
WO2015118847A1 (fr) * 2014-02-04 2015-08-13 日本電気株式会社 Système de réseau de communication sans fil, et procédé de détermination de dispositif de capteur représentatif
KR20190082926A (ko) * 2016-11-28 2019-07-10 아마존 테크놀로지스, 인크. 메시징 프로토콜 통신 관리
US20190349426A1 (en) * 2016-12-30 2019-11-14 Intel Corporation The internet of things

Also Published As

Publication number Publication date
KR102367017B1 (ko) 2022-02-24

Similar Documents

Publication Publication Date Title
WO2012157940A2 (fr) Système et procédé permettant de mettre en œuvre un service de pousser au moyen d'un message de rétroaction
AU2014200239B2 (en) System and method for multiple sender support in low latency fifo messaging using rdma
WO2020096087A1 (fr) Procédé, système, et support d'enregistrement lisible par ordinateur non transitoire pour gérer un groupe de messages
US20050068913A1 (en) Metaspace: communication middleware for partially connected mobile ad hoc networks
EP2721805A2 (fr) Appareil et procédé permettant d'échanger des données entre des dispositifs basés sur upnp
WO2018010269A1 (fr) Procédé et dispositif de traitement de message
WO2011099690A2 (fr) Procédé et appareil pour utiliser un service de dispositif de réseau domestique sur la base d'un accès à distance
WO2014069827A1 (fr) Système et procédé pour fournir un service d'analyse de données dans un environnement en nuage
WO2015056833A1 (fr) Procédé de distribution sélective de données en temps réel par web et système associé
WO2011074880A2 (fr) Système et procédé de conférence multimédia entre dispositifs de téléphonie à fonction prêt à l'emploi universel (upnp) et dispositifs de réseau étendu (wan)
WO2013008994A1 (fr) Procédé de découverte de dispositifs et procédé de téléchargement de contenu
WO2014112811A1 (fr) Procédé et appareil de gestion de trafic dans un dispositif électronique
US7966394B1 (en) Information model registry and brokering in virtualized environments
WO2013176431A1 (fr) Système et procédé pour allouer un serveur à un serveur et pour une messagerie efficace
WO2022080706A1 (fr) Système de réseau de communication et son procédé de commande
WO2018182065A1 (fr) Procédé d'association d'abonnement à ressources multiples dans un système m2m
WO2013062272A2 (fr) Procédé et appareil pour la prestation d'un service de cloud
WO2013100484A1 (fr) Terminal utilisateur et procédé de partage de données entre applications associées
WO2013122359A1 (fr) Dispositif terminal sans fil doté d'une fonction de réduction de charge de réseau, procédé de réduction de la charge du réseau dans un dispositif terminal sans fil, et support d'enregistrement
WO2012157939A2 (fr) Système et procédé permettant de mettre en œuvre un service de pousser pour réduire la charge de réseau
JP2010146246A (ja) マルチエージェントシステム用フレームワークコンピュータプログラム、ネットワークシステム、及びエージェント間通信方法
WO2014056385A1 (fr) Procédé d'envoi de message commun, dispositif électronique et support de stockage
WO2013151369A1 (fr) Procédé et système fournissant un service de jeux utilisant une adresse ip virtuelle dans un centre de jeux sur pc
WO2012026700A9 (fr) Procédé de transmission de fichiers et appareils pour réaliser le procédé
WO2022124467A1 (fr) Appareil de gestion de conteneur et procédé de gestion pour migration de processus dans un environnement orchestrateur

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21880354

Country of ref document: EP

Kind code of ref document: A1