CN109660428A - High availability cluster system - Google Patents

High availability cluster system Download PDF

Info

Publication number
CN109660428A
CN109660428A CN201811585276.5A CN201811585276A CN109660428A CN 109660428 A CN109660428 A CN 109660428A CN 201811585276 A CN201811585276 A CN 201811585276A CN 109660428 A CN109660428 A CN 109660428A
Authority
CN
China
Prior art keywords
node
reader
working
working node
request
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.)
Granted
Application number
CN201811585276.5A
Other languages
Chinese (zh)
Other versions
CN109660428B (en
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.)
Aerospace network security technology (Shenzhen) Co.,Ltd.
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201811585276.5A priority Critical patent/CN109660428B/en
Publication of CN109660428A publication Critical patent/CN109660428A/en
Application granted granted Critical
Publication of CN109660428B publication Critical patent/CN109660428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This disclosure relates to a kind of high availability cluster system.The system includes: management node, multiple working nodes and multiple readers.The management node is separately connected with multiple working nodes, for managing multiple working nodes.Reader is connect with relevant work node in multiple working nodes, for reading data and the data being transmitted to relevant work node.Working node is used for when any reader corresponding with the working node is in an off state, and is sent to the reader being in an off state and is restored connection request, to restore to communicate with the reader that this is in an off state.In this way, working node can reconnect the reader automatically, communicate the reader with working node in time, and the data for guaranteeing that reader is read are transmitted to working node in time, can effectively avoid loss of data when restoring again after reader disconnection.Further, since working node can reconnect the reader automatically, is participated in without artificial, improve the intelligence of system.

Description

High availability cluster system
Technical field
This disclosure relates to field of communication technology, and in particular, to a kind of high availability cluster system.
Background technique
It can be communicated using the network interface based on ICP/IP protocol between vehicle electric sub-mark reader and host computer, or Based on the serial communication of RS232/RS485 agreement, but relevant criterion is usually recommended to use the network interface communication of ICP/IP protocol.It reads It writes when carrying out network interface communication based on Transmission Control Protocol between device and host computer, reader and host computer both can be used as the visitor of TCP link setup Family end can also be used as the server-side of TCP link setup.At present since demand is debugged in laboratory, reader generally all realizes conduct The operating mode of server, mode of the upper computer software as client.When read write line quantity is bigger, since separate unit is upper The computing capability of machine is limited, needs more host computers while enabling, the different reader terminal device of grouping management.
Since reader is typically mounted in outdoor environment, for example, monitoring some region of traffic feelings using reader The case where when condition, reader is typically mounted on roadside, inevitably powers off.Reader will disconnect and host computer after power is turned off Therefore communication connection after reader, which is powered, to be worked normally, needs artificial again establish it with host computer to communicate to connect.This Sample is easy to appear connection not in time, so that the data for reading reader can not be transmitted to host computer in time, data is caused to lose The case where mistake.In addition, host computer be also required to artificial 24 hours it is on duty, when guaranteeing to restore in time after host computer accident delay machine, by One connects the reader of the distribution on the host computer, and intricate operation is easy to appear work mistake.
Summary of the invention
In order to overcome problems of the prior art, the embodiment of the present disclosure provides a kind of high availability cluster system, packet It includes: including: management node, multiple working nodes and multiple readers,
The management node is separately connected with the multiple working node, for managing the multiple working node;
The reader is connect with the relevant work node in the multiple working node, for reading data, and by institute It states data and is transmitted to the relevant work node;
The working node, for when any reader corresponding with the working node is in an off state, Xiang Suoshu The reader being in an off state, which is sent, restores connection request, to restore to communicate with the reader being in an off state.
Optionally, the working node is also used to: being in an off state in any reader corresponding with the working node When, a timed task is established, is periodically sent and is restored to the reader being in an off state according to the timed task Connection request.
Optionally, the reader is also used to: the relevant work node into the multiple working node sends heartbeat packet, So that the working node is according to whether receive the heartbeat packet to determine whether the reader is in an off state.
Optionally, the working node is also used to: when determining that the reader is in an off state, by the reader State be updated to off-state.
Optionally, each working node of the multiple working node is also used to:
The first communication request is sent to the management node, first communication request is for requesting and the management node Communication, and first communication request includes the mailing address of the working node and the read-write that the working node currently connects Device information;
The management node is also used to:
When receiving first communication request, establishes and communicate to connect with the working node, and save the work The reader information that the mailing address of node and the working node currently connect.
Optionally, the management node is also used to:
In the first addition reader request for receiving user terminal transmission, count each in the multiple working node The read write line quantity that working node currently connects;
The least working node of the read write line quantity currently connected is determined as first object working node, and by described One addition reader request is sent to the first object working node;
The first object working node is used for:
According to the information for the first reader to be added that the first addition reader request includes, Xiang Suoshu first is to be added Enter reader and send the second communication request, second communication request is communicated for requesting with the described first reader to be added;
The feedback information that the described first reader to be added is directed to second communication request is received, later, to the pipe It manages node and sends addition result information.
Optionally, the multiple working node is also used to send heartbeat packet to the management node;
The management node is also used to determine corresponding when not receiving the heartbeat packet of any operative node transmission Working node be in abnormality.
Optionally, the reader distribution that the management node is also used to currently connect the working node in abnormality To other working nodes, other described working nodes are the working node that communication connection is in the management node.
Optionally, the management node is also used to:
Determine the read write line quantity that each working node currently connects in other working nodes, the reader that will currently connect The working node of minimum number is determined as the second target operation node, and sends the second addition to the second target operation node Reader request;
The second target operation node, is used for:
Receive the second addition reader request;
According to the information for the second reader to be added that the second addition reader request includes, Xiang Suoshu second is to be added Enter reader and send third communication request, the third communication request is communicated for requesting with the described second reader to be added;
Receive the feedback information that the described second reader to be added is directed to third communication request;
Addition result information is sent to the management node;
The read write line quantity that the management node determines that each working node currently connects in other working nodes is triggered, it will The least working node of the read write line quantity currently connected is determined as the second target operation node, and adds read-write requests for second It is sent to the second target operation node, until the reader currently connected in abnormality working node is all connected with Until other described working nodes.
Optionally, the management node is also used to:
Receive user terminal transmission configuration reader request when, according to it is described configuration reader request include to The information for configuring reader determines the corresponding third target operation node of the reader to be configured;
The information of the third target operation node is fed back into the user terminal, so that the user terminal is to described Third target operation node sends the configuration reader request;
The third target operation node is used for:
Receive configuration reader request, and according to configuration reader request, to the reader to be configured into Row configuration.
The high availability cluster system that the disclosure provides, comprising: management node, multiple working nodes and multiple readers. The management node is separately connected with multiple working nodes, for managing multiple working nodes.In reader and multiple working nodes Relevant work node connection, for reading data and the data being transmitted to relevant work node.Working node be used for this Working node is when any reader is in an off state accordingly, sends to the reader being in an off state and restores connection and ask It asks, to restore to communicate with the reader that this is in an off state.In this way, working node can when restoring again after reader disconnection To reconnect the reader automatically, which is communicated with working node in time, guarantees what reader was read Data are transmitted to working node in time, can effectively avoid loss of data.Further, since working node can reconnect this automatically Reader participates in without artificial, improves the intelligence of system.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of high availability cluster system shown according to an exemplary embodiment.
Fig. 2 is working node and pipe in a kind of implementation method of high availability cluster shown according to an exemplary embodiment Manage the interaction figure between node.
Fig. 3 be in a kind of implementation method of the high availability cluster shown according to another exemplary embodiment working node and Interaction figure between management node
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the disclosure.It should be understood that this place is retouched The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
In order to solve to need when reader in the prior art restores again upon opening manually again to establish it with host computer Communication connection, may be because of the problem of leading to loss of data not in time be connected, and the embodiment of the present disclosure provides a kind of high availability Group system.
Referring to FIG. 1, Fig. 1 is a kind of schematic diagram of high availability cluster system shown according to an exemplary embodiment. As shown in Figure 1, the high availability cluster system may include: management node 11, multiple working nodes and multiple readers.Its In, management node 11 is respectively connected with multiple working nodes, for managing multiple working node.Illustratively, the management node 11 can be responsible for jumping the communication for dispatching multiple working nodes and reader.Multiple readers and the corresponding work in multiple working nodes Make node connection, for reading data and read data being transmitted to relevant work node.It should be noted that the work Node, management node may each be the equipment such as mobile phone, computer, virtual machine.
Illustratively, as shown in Figure 1, multiple working node can be the first working node 121, the second working node 122 ..., the 8th working node 128 and the 9th working node 129.Multiple readers can be read for the first reader 131, second Write device 132 ..., the 14th reader 1314, the 15th reader 1315 and the 16th reader 1316.Wherein, it first reads It writes device 131, the second reader 132 and third reader 133 to be connected with the first working node 121, the 4th reader the 134, the 5th Reader 135 and the 6th reader 136 are connected with the second working node 122 ... ..., the 14th reader 1314 and the 8th work Node 128 is connected, and, the 15th reader 1315 and the 16th reader 1316 are connected with the 9th working node 129.Its In, it should be noted that the reader that working node is configured can be human configuration, is also possible to working node and actively matches It sets.In this way, the basic letter of the known reader being connect with the working node of each working node in multiple working node Breath.
Working node is in disconnected when detecting that any reader corresponding with the working node is in an off state, to this The reader of open state, which is sent, restores connection request, to restore to communicate with the reader that this is in an off state.
In the disclosure, it can be user and inform that working node, any reader of connection are in by user terminal Off-state, still, due to needing artificially to find that a certain reader is in an off state, if user cannot have found reader in time It disconnects, then cannot inform the working node in time, cause working node that cannot send in time to the reader being in an off state Restore connection request.
Therefore, a kind of preferred embodiment in the disclosure are as follows: working node detects coupled reader automatically Whether it is in an off state.Specifically, multiple reader can be real-time to the relevant work node in multiple working node Or heartbeat packet is periodically sent, in this way, working node can be according to whether receive heartbeat packet determines the reader It is in an off state.It illustratively, can if working node does not receive the heartbeat packet that a certain reader being connected thereto is sent Think that the reader is in an off state.In turn, the reader being in an off state to this, which is sent, restores connection request, to restore It is communicated with the reader that this is in an off state.
Illustratively, as shown in Figure 1, it is assumed that the first working node 121 does not receive the second reader 132 connected to it and sends out The heartbeat packet sent, then it is believed that second reader 132 is in an off state, so that first working node 131 is read to second It writes device 132 and sends and restore connection request, which communicates for requesting with the second reader 132.
Specifically, working node, can when detecting that any reader corresponding with the working node is in an off state Automatically a timed task is established, which includes at least the period for sending and restoring connection request.In this way, working node can be with According to the timed task, is periodically sent to the reader being in an off state and restore connection request.It should be noted that should Period can be user's self-setting.After connection restores, working node can close the timed task.
In addition, working node can also be when detecting that any reader of its connection is in an off state, by the read-write The state of device is updated to off-state, and is restoring to communicate with the reader that this is in an off state and then secondary by the read-write The state of device is updated to connection status.
By adopting the above technical scheme, when restoring again after reader disconnection, working node can reconnect the reading automatically Device is write, which is communicated with working node in time, the data for guaranteeing that reader is read are transmitted to work in time Node can effectively avoid loss of data.Further, since working node can reconnect the reader automatically, without artificial ginseng With improve the intelligence of system.
It should be noted that each work in the high availability cluster system initialization, in multiple working node Node is also used to send the first communication request to management node, which communicates for requesting with the management node, And first communication request includes the mailing address of working node and the reader information that the working node currently connects.
Wherein, which can be IP address, which can be the reading currently connected The essential information of device quantity and each reader is write, such as can be antenna power, the location information etc. of reader.
Correspondingly, management node 11 receives first communication request, is established according to first communication request and working node Communication connection, and save the mailing address of the working node and reader information that working node currently connects.In this way, management section Point 11 is you can learn that the mailing address of each working node and its reader information currently connected.
In addition, new reader can also be added according to self-demand when user uses the high availability cluster system. Specifically, user can send the first addition reader request to management node 11 by user terminal, the first addition read-write It include the information of the first reader to be added in device request.In this way, management node 11 receives the first addition reader request When, it is preferable that the first reader to be added is added in the lesser working node of workload.
Under normal conditions, its fewer workload of the read write line quantity that working node is connected is smaller, therefore, in the disclosure In, the reader information that each working node that management node 11 can be saved according to it currently connects is determined currently to connect The least working node of read write line quantity, and the working node is determined as first object working node, the first object work Making node is the working node that first reader to be added will connect.For the ease of the first object working node and this One reader to be added establishes communication connection, which, can also be into after determining first object working node The first addition reader request that one step sends the user terminal is sent to first object working node.
Correspondingly, first object working node is when receiving the first addition reader request, according to first addition The information for the first reader to be added that reader request includes sends the second communication request to first reader to be added, Second communication request is communicated for requesting with first reader to be added, and is received the first reader to be added and be directed to second The feedback information of communication request, which, which can be, allows to connect or refuse connection, later, the first object working node Addition result information is sent to management node, which is also possible to add accordingly successfully or addition fails.Show Example ground, if the first reader to be added is to allow to connect for the feedback information of the second communication request, first object work section It is to add successfully that point, which sends addition result information to management node, if the first reader to be added is for the anti-of the second communication request Feedforward information is refusal connection, then it is addition failure that first object working node, which sends addition result information to management node,.
In this way, the result for adding first reader to be added is sent to management node by first object working node, with So that management node is known whether the first object working node successfully adds first reader to be added, if successfully add this One reader to be added then updates the information for the reader that the first object working node currently connects.If failed addition should First reader to be added, the management node can also send the first addition reader request to other working nodes again, So that other working nodes add first reader to be added.
Below with reference to Fig. 2, description is realized using the high availability cluster system that the disclosure provides adds other readers Detailed process.Fig. 2 is working node in a kind of implementation method of high availability cluster shown according to an exemplary embodiment Interaction figure between management node.As shown in Fig. 2, the implementation method of the high availability cluster may comprise steps of.
In step 21, working node sends the first communication request to management node, which includes work The mailing address of node and the reader information currently connected.
In step 22, management node receives the first communication request, establishes and communicates to connect with the working node.
In step 23, the mailing address of management node preservation working node and the reader information currently connected.
In step 24, management node in the first addition reader request for receiving user terminal transmission, work as by determination The least working node of the read write line quantity of preceding connection is first object working node.
In step 25, the first addition reader request is sent to first object working node.
In step 26, first object working node requests the first read-write to be added for including according to the first addition reader The information of device sends the second communication request to the first reader to be added.
In step 27, the feedback information that the first reader to be added is directed to the second communication request is received.
In a step 28, addition result information is sent to management node.
In this way, being controlled by management node working node, can be realized will need the reader being added to be added to The purpose of the high availability cluster system adds reader without user manually, improves the intelligence of high availability cluster system Change.
In addition, each working node of multiple working node is also used to send heartbeat packet to management node 11, so that pipe Reason node 11 is according to whether receive the heartbeat packet of working node transmission to determine whether corresponding working node is in abnormal feelings Condition.Specifically, management node 11 determines at corresponding working node when not receiving the heartbeat packet of any operative node transmission In abnormality.
Management node 11 is detecting that any operative node is when in an abnormal state, a kind of possible embodiment are as follows: pipe Managing node 11 can occur abnormal and tie up in time with remote notification staff convenient for staff's timely learning working node It repairs, alternatively, the reader that the working node of appearance exception connects, which is connected to other, convenient for staff works normally node In, to normally receive the data of reader reading.
Alternatively possible embodiment are as follows: management node 11 is detecting that any operative node is when in an abnormal state, Actively the reader that the working node in abnormality currently connects is distributed to other working nodes, other working nodes For the working node for being in communications status with the management node 11, that is, other working nodes are that management node 11 can receive To other working nodes of heartbeat packet.In this way, when working node being made to occur abnormal, the reader that is connected on the working node It may be also connected on other normal working nodes, so that other normal working nodes can receive reader reading Data.
Illustratively, continue by taking Fig. 1 as an example, it is assumed that management node 11 does not receive the heartbeat of the second working node 122 transmission Packet, then can determine that second working node 122 is in abnormality, which can will be connected to second working node The 4th reader 134, the 5th reader 135 and the 6th reader 136 on 122 are distributed to other working nodes.In this way, Two working nodes 122 are when in an abnormal state, the 4th reader 134, the 5th reader 135 and the 6th reader of connection 136 can also be configured to other automatically is on the working node of normal condition, so that other working nodes get the reading Write the data of device reading.
Below with reference to Fig. 3, the high availability cluster system realization that description is provided using the disclosure will be in abnormality The reader that currently connects of working node distribute to the detailed process of other working nodes.Fig. 3 is according to another exemplary reality Apply the interaction figure in a kind of implementation method of the high availability cluster exemplified between working node and management node.
In step 31, management node determines the reader number that each working node currently connects in other working nodes According to.
In the step 32, the least working node of the read write line quantity currently connected is determined as the second target operation section Point.
In step 33, the second addition reader request is sent to the second target operation node.
As described above, when initial using the high availability cluster system, each working node for including in system is The reader information currently connected through it is sent to management node, which saves the reading that each working node currently connects Device information is write, and during using the system, when the reader information that any operative node currently connects changes, Also the variation can be fed back to management node, in this way, management node can update accordingly the reader that working node currently connects Information.Therefore, in the disclosure, management node preserves the reader information that each working node currently connects, and manages in this way Node can determine the quantity for providing the reader that each working node currently connects.
In view of in practical applications, the workload of the fewer working node of connection read write line quantity is smaller, it is preferable that The least working node of the read write line quantity currently connected can be determined as the second target operation node by management node, so to this Second target operation node sends the second addition reader request.Wherein, this second addition reader request in include second to Reader information is added.
It should be noted that in the disclosure can will in abnormality working node connect multiple readers according to It is secondary to be added to other working nodes.Wherein, the sequencing of reader addition is not specifically limited.
In step 34, the second target operation node receives the second addition reader request.
In step 35, the second target operation node requests the second read-write to be added for including according to the second addition reader The information of device sends third communication request to the second reader to be added.Wherein, third communication request is for requesting and second Reader communication to be added.
In step 36, the second target operation node receives the feedback that the second reader to be added is directed to third communication request Information.Wherein the feedback information includes allowing to connect or refuse connection.
In step 37, the second target operation node sends addition result information to management node.Wherein, the result information It can be and add successfully or add failure.
In this way, management node receive the second target operation node transmission result information when, would know that this second Whether target operation node successfully adds second reader to be added, if successfully adding the reader, management node is again It executes above-mentioned steps 31-33 and corresponding second target operation node continues to execute above-mentioned steps 34-37, until in abnormal The reader that work status node currently connects succeeds in succession until other working nodes.If adding the read-write not successfully Device, similarly, the management node can also send the second addition reader request to other working nodes again, so that other Working node adds second reader to be added, until the reader currently connected in abnormality working node is successful In succession until other working nodes.
By adopting the above technical scheme, when any working node occurs abnormal, management node can be automatically by appearance exception The reader that currently connects of working node distribute to other working nodes so that other working nodes obtain reader reading Data, therefore, the data that the reader in system is read are obtained by working node, guarantee reader and work section Point can be with normal communication.
In addition, user can also configure the parameter for the reader for including in the system by the system remote.Specifically, it uses Family remotely can send configuration reader request to management node by user terminal, and configuration reader request is matched for requesting Reader is set, and includes the information of reader to be configured in configuration reader request.In this way, management node is matched receiving this When setting reader request, according to the information for the reader to be configured for including in configuration reader request, the reading to be configured is determined Write the corresponding third target operation node of device.
As described above, management node preserves the reader information that each working node currently connects, in this way, management section Point in the configuration reader request for receiving user terminal transmission, can be determined according to the information of the reader to be configured with should be to Configure the corresponding third destination node of reader.
Illustratively, by taking Fig. 1 as an example, it is assumed that management node receive user terminal transmission configuration reader request when, According to the information for the reader to be configured for including in configuration reader request, determine that the reader to be configured is the in system 14 readers 1314 then can determine that the corresponding third target operation node of the reader to be configured is the 8th working node 128.
After determining the corresponding third target operation node of the reader to be configured, management node can be by the third mesh The information of mark node feeds back to user terminal, asks so that the user terminal sends configuration reader to third target operation node It asks, that is, establish and communicate to connect to third target operation node convenient for user terminal.
As described above, the information for the working node that management node includes includes the mailing address of working node.In this way, pipe Node is managed after determining third target operation node, the mailing address of the third target operation node can be fed back to user Terminal, so that user terminal is established with the third target operation node and communicated to connect according to the mailing address.
In this way, third destination node receives the configuration reader request of user terminal transmission, and read and write according to the configuration Device request, configures reader to be configured.Specifically, configuration reader request can also include to reader to be configured The parameter configured, can be such as are as follows: the antenna power of reader, reader read data position range or when Between the parameters such as sync server address.
Using the disclosure provide high availability cluster system, when configuring reader parameter, user terminal can and work Make node directly to be communicated, improves the efficiency and performance of configuration parameter.
In addition, if user needs to increase more reader in the system, and cause preset working node inadequate, also It can the working node extending transversely.Illustratively, working node and management node to be added can be established and is communicated to connect, with Realize the purpose of the working node extending transversely.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the disclosure to it is various can No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought equally should be considered as disclosure disclosure of that.

Claims (10)

1. a kind of high availability cluster system characterized by comprising management node, multiple working nodes and multiple readers,
The management node is separately connected with the multiple working node, for managing the multiple working node;
The reader is connect with the relevant work node in the multiple working node, for reading data, and by the number According to being transmitted to the relevant work node;
The working node, for being in described when any reader corresponding with the working node is in an off state The reader of off-state, which is sent, restores connection request, to restore to communicate with the reader being in an off state.
2. system according to claim 1, which is characterized in that the working node is also used to: with the working node phase When any reader answered is in an off state, a timed task is established, according to the timed task periodically to the place It is sent in the reader of off-state and restores connection request.
3. system according to claim 1, which is characterized in that the reader is also used to: to the multiple working node In relevant work node send heartbeat packet so that the working node is according to whether to receive the heartbeat packet described to determine Whether reader is in an off state.
4. system according to claim 3, which is characterized in that the working node is also used to: determining the reader When being in an off state, the state of the reader is updated to off-state.
5. system according to claim 1, which is characterized in that each working node of the multiple working node is also used In:
The first communication request is sent to the management node, first communication request is logical with the management node for requesting Letter, and first communication request includes the mailing address of the working node and the reader that the working node currently connects Information;
The management node is also used to:
When receiving first communication request, establishes and communicate to connect with the working node, and save the working node Mailing address and the reader information that currently connects of the working node.
6. system according to claim 5, which is characterized in that
The management node is also used to:
In the first addition reader request for receiving user terminal transmission, each work in the multiple working node is counted The read write line quantity that node currently connects;
The least working node of the read write line quantity currently connected is determined as first object working node, and described first is added Reader request is added to be sent to the first object working node;
The first object working node is used for:
According to the information for the first reader to be added that the first addition reader request includes, Xiang Suoshu first is to be added to be studied in It writes device and sends the second communication request, second communication request is communicated for requesting with the described first reader to be added;
The feedback information that the described first reader to be added is directed to second communication request is received, later, is saved to the management Point sends addition result information.
7. system according to claim 1, which is characterized in that the multiple working node is also used to save to the management Point sends heartbeat packet;
The management node is also used to determine corresponding work when not receiving the heartbeat packet of any operative node transmission Make node and is in abnormality.
8. system according to claim 7, which is characterized in that the management node is also used to that the work of abnormality will be in Make the reader that node currently connects to distribute to other working nodes, other described working nodes are to be in the management node The working node of communication connection.
9. system according to claim 8, which is characterized in that
The management node is also used to:
Determine the read write line quantity that each working node currently connects in other working nodes, the read write line quantity that will currently connect Least working node is determined as the second target operation node, and sends the second addition read-write to the second target operation node Device request;
The second target operation node, is used for:
Receive the second addition reader request;
According to the information for the second reader to be added that the second addition reader request includes, Xiang Suoshu second is to be added to be studied in It writes device and sends third communication request, the third communication request is communicated for requesting with the described second reader to be added;
Receive the feedback information that the described second reader to be added is directed to third communication request;
Addition result information is sent to the management node;
The read write line quantity that the management node determines that each working node currently connects in other working nodes is triggered, it will be current The least working node of the read write line quantity of connection is determined as the second target operation node, and the second addition read-write requests are sent To the second target operation node, until the reader currently connected in abnormality working node is connected to institute Until stating other working nodes.
10. -9 described in any item systems according to claim 1, which is characterized in that
The management node is also used to:
Receive user terminal transmission configuration reader request when, according to it is described configuration reader request include it is to be configured The information of reader determines the corresponding third target operation node of the reader to be configured;
The information of the third target operation node is fed back into the user terminal, so that the user terminal is to the third Target operation node sends the configuration reader request;
The third target operation node is used for:
The configuration reader request is received, and is requested according to the configuration reader, the reader to be configured is matched It sets.
CN201811585276.5A 2018-12-24 2018-12-24 High availability cluster system Active CN109660428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811585276.5A CN109660428B (en) 2018-12-24 2018-12-24 High availability cluster system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811585276.5A CN109660428B (en) 2018-12-24 2018-12-24 High availability cluster system

Publications (2)

Publication Number Publication Date
CN109660428A true CN109660428A (en) 2019-04-19
CN109660428B CN109660428B (en) 2020-08-28

Family

ID=66116561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811585276.5A Active CN109660428B (en) 2018-12-24 2018-12-24 High availability cluster system

Country Status (1)

Country Link
CN (1) CN109660428B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245894A (en) * 2019-12-29 2020-06-05 航天信息股份有限公司 Batch configuration method and system for electronic identification reader-writer equipment of motor vehicle
CN115366958A (en) * 2022-08-25 2022-11-22 中车青岛四方机车车辆股份有限公司 Self-diagnosis method and system and data management system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007079279A2 (en) * 2005-11-08 2007-07-12 Nortel Networks Limited Dynamic sensor network registry
CN101281214A (en) * 2007-04-02 2008-10-08 深圳市国电科技通信有限公司 Remote meter reading system heart-throb frame real-time detection method
CN102739775A (en) * 2012-05-29 2012-10-17 宁波东冠科技有限公司 Method for monitoring and managing Internet of Things data acquisition server cluster
CN106952464A (en) * 2017-01-19 2017-07-14 武汉企鹅能源数据有限公司 Intelligent data acqusition system and acquisition method
CN107872351A (en) * 2017-11-23 2018-04-03 苏州优圣美智能***有限公司 A kind of data collecting system and acquisition method
CN108134702A (en) * 2017-12-26 2018-06-08 北京科来数据分析有限公司 A kind of data collector failure solution

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007079279A2 (en) * 2005-11-08 2007-07-12 Nortel Networks Limited Dynamic sensor network registry
CN101281214A (en) * 2007-04-02 2008-10-08 深圳市国电科技通信有限公司 Remote meter reading system heart-throb frame real-time detection method
CN102739775A (en) * 2012-05-29 2012-10-17 宁波东冠科技有限公司 Method for monitoring and managing Internet of Things data acquisition server cluster
CN106952464A (en) * 2017-01-19 2017-07-14 武汉企鹅能源数据有限公司 Intelligent data acqusition system and acquisition method
CN107872351A (en) * 2017-11-23 2018-04-03 苏州优圣美智能***有限公司 A kind of data collecting system and acquisition method
CN108134702A (en) * 2017-12-26 2018-06-08 北京科来数据分析有限公司 A kind of data collector failure solution

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111245894A (en) * 2019-12-29 2020-06-05 航天信息股份有限公司 Batch configuration method and system for electronic identification reader-writer equipment of motor vehicle
CN115366958A (en) * 2022-08-25 2022-11-22 中车青岛四方机车车辆股份有限公司 Self-diagnosis method and system and data management system
CN115366958B (en) * 2022-08-25 2023-08-22 中车青岛四方机车车辆股份有限公司 Self-diagnosis method, system and data management system

Also Published As

Publication number Publication date
CN109660428B (en) 2020-08-28

Similar Documents

Publication Publication Date Title
EP3010114A1 (en) Method for controlling automatic identification of application network topology by power distribution network
CN106060088A (en) Service management method and device
CN105450779B (en) The method of one household appliance connection multiserver
CN101883108B (en) Document transmission method and system of dynamic authentication
CN109547875B (en) FC switching network arbitrary port access design method
CN106453541A (en) Data synchronization method, server and data synchronization system
CN103312528A (en) Heartbeat message sending method and user terminal
CN109660428A (en) High availability cluster system
CN105141657B (en) The new network means of communication suitable for intelligent home control system
CN107508916B (en) Server link management method for intelligent robot
CN112398661B (en) Equipment dormancy processing method and device, ioT equipment and storage medium
CN101873727B (en) Terminal state updating method of terminal management system and terminal management system
CN106411574B (en) Management control method and device
CN104270452A (en) Remote medical data management system and wireless network communication method thereof
CN108449403A (en) A kind of charge control method
CN109582479A (en) A kind of OpenDDS distributed communication method based on reflective memory card
CN111817897A (en) Acquisition transmission monitoring system and acquisition transmission monitoring method capable of configuring gateway
CN111107507B (en) LoRa equipment networking method suitable for geological disaster monitoring application
CN216356765U (en) Gateway and automatic control system
CN109194434A (en) A kind of control method, device and the storage medium of Full Vehicle System time synchronization
CN116208486A (en) Gateway backup and replacement method and system
CN110519387A (en) A kind of management method of Internet of things system and Intelligent terminal for Internet of things
CN101551709A (en) Intelligent socket and method for managing multiserver
CN111176171A (en) Building thing networking data acquisition device based on distributing type cloud framework
CN110784365A (en) Standby device of station control layer and entity device of transformer substation and automatic online method thereof

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220217

Address after: 518054 room A06, podium building, 4th floor, 11a, building 11, Shenzhen Bay ecological science and Technology Park, Yuehai street, Shenzhen, Guangdong

Patentee after: Aerospace network security technology (Shenzhen) Co.,Ltd.

Address before: 100195 Haidian District, Beijing, apricot road a No. 18

Patentee before: AISINO Corp.