CN110247957A - Network system and its data transmission method, electronic equipment - Google Patents

Network system and its data transmission method, electronic equipment Download PDF

Info

Publication number
CN110247957A
CN110247957A CN201910430573.0A CN201910430573A CN110247957A CN 110247957 A CN110247957 A CN 110247957A CN 201910430573 A CN201910430573 A CN 201910430573A CN 110247957 A CN110247957 A CN 110247957A
Authority
CN
China
Prior art keywords
client
server
intermediate node
status data
data
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
CN201910430573.0A
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.)
Neusoft Corp
Original Assignee
Neusoft 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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201910430573.0A priority Critical patent/CN110247957A/en
Publication of CN110247957A publication Critical patent/CN110247957A/en
Pending legal-status Critical Current

Links

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/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This disclosure relates to a kind of network system and its data transmission method, electronic equipment, so that client can realize acquisition of the server to client state data under unilateral network actively to server status data.The system includes client, server and intermediate node, is unilateral network between the client and the server, and the unilateral network is used for user end to server unidirectional data transmission, and the client is connect by the intermediate node with the server;The client, for oneself state data to be sent to the intermediate node;The intermediate node, the status data sent for receiving the client, and save the status data;The server, for obtaining the status data of the client from the intermediate node.

Description

Network system and its data transmission method, electronic equipment
Technical field
This disclosure relates to network technique field, and in particular, to a kind of network system and its data transmission method, electronics are set It is standby.
Background technique
With the continuous development of science and technology, network technology is also continued to develop.Common network system can wrap Server and client side is included, server actively can send data acquisition instruction to client, and by acting on behalf of TCP (Transmission Control Protocol, transmission control protocol) connection or SNMP (Simple Network Management Protocol, Simple Network Management Protocol) connection active pull client status data.In whole process, It needs server and client to open inbound port to other side respectively, is just able to achieve the passback of client state data.
But if client has multiple, and multiple client distribution is in different mechanism or tissue, then being based on net The consideration of network safety, each client will not open inbound port to server, i.e., be unilateral network between client and server. In this case, client can not receive the data acquisition instruction of server transmission, therefore in the manner described above, server without The status data of method acquisition client.
Summary of the invention
Purpose of this disclosure is to provide a kind of network system and its data transmission methods, electronic equipment, a kind of new to provide Server obtain client state data mode.
To achieve the goals above, in a first aspect, the disclosure provides a kind of network system, including the system comprises clients End, server and intermediate node, are unilateral network between the client and the server, and the unilateral network is used for client It holds to server unidirectional data transmission, the client is connect by the intermediate node with the server;
The client, for oneself state data to be sent to the intermediate node;
The intermediate node, the status data sent for receiving the client, and save the status data;
The server, for obtaining the status data of the client from the intermediate node.
Optionally, the intermediate node is multiple, and the client is used to for the status data being sent respectively to described Multiple intermediate nodes;
The server obtains the state of the client for the target intermediate node from the multiple intermediate node Data are in available mode when determining that the target intermediate node is in down state from the multiple intermediate node Intermediate node obtain the status data.
Optionally, the intermediate node is message queue, and the server is used for:
The target topic of the message queue is subscribed to, the target topic is for identifying the institute stored in the message queue State the status data of client;
The status data with the target topic is obtained from the message queue.
Optionally, the server is also used to:
The status data is parsed, the generation time of the status data is obtained, the generation time is described for characterizing Client obtains the time of the status data;
In the status data, the target state data of the generation time the latest is determined;
The generation time of the target state data is compared with the time of the server current record;
According to the comparison as a result, determining the state of the client with the presence or absence of abnormal.
Optionally, the server is also used to:
It is more than pre- when the time difference of the time for generating time and the server current record of the target state data If when duration, it is abnormal to determine that the state of the client exists, and outputting alarm prompt information, to notify visitor described in operation maintenance personnel The state at family end exists abnormal.
Second aspect, the disclosure also provide the data transmission method in a kind of network system, and the network system includes visitor Family end, server and intermediate node, are unilateral network between the client and the server, and the client passes through described Intermediate node is connect with the server, which comprises
Oneself state data are sent to the intermediate node by the client;
The intermediate node receives the status data that the client is sent, and saves the status data;
The server obtains the status data of the client from the intermediate node.
The third aspect, the disclosure also provide a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize in second aspect the method Step performed by client.
Fourth aspect, the disclosure also provide a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize in second aspect the method Step performed by server.
Through the above technical solutions, client can be actively to server status data, even unilateral network Situation, server can also get the status data of client.And it is possible to which middle node is arranged between server and client side Data active transmission to intermediate node, server can be obtained data from intermediate node by point, correspondingly, client, from And can to avoid client directly to server status data when due to data loss problem caused by server delay machine.
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 the block diagram according to a kind of network system shown in one exemplary embodiment of the disclosure;
Fig. 2 is the schematic diagram according to a kind of network system shown in one exemplary embodiment of the disclosure;
Fig. 3 is the process according to the data transmission method in a kind of network system shown in one exemplary embodiment of the disclosure Figure;
Fig. 4 is the stream of the data transmission method in a kind of network system shown according to disclosure another exemplary embodiment Cheng Tu;
Fig. 5 is the block diagram according to a kind of electronic equipment shown in one exemplary embodiment of the disclosure;
Fig. 6 is the block diagram according to a kind of electronic equipment shown in disclosure another exemplary embodiment.
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 the related technology, server can actively to client send data acquisition instruction, and by act on behalf of TCP connection or The status data of person's SNMP connection active pull client.In whole process, server is needed to open respectively to other side with client It is passed through station port, is just able to achieve the passback of client state data.But if client has multiple, and multiple client It is distributed in different mechanism or tissue, then each client will not open inbound end to server based on the considerations of network security Mouthful, i.e., it is unilateral network between client and server.In this case, client can not receive the data of server transmission Acquisition instruction, therefore in the manner described above, server can not obtain the status data of client.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure proposes a kind of network system and its data transmission method, electricity Sub- equipment allows client actively to service in a manner of providing the new server of one kind and obtain client state data Device status data realizes acquisition of the server to client state data under unilateral network.
Fig. 1 is the block diagram according to a kind of network system shown in one exemplary embodiment of the disclosure.Referring to Fig.1, the network System 100 may include client 101, intermediate node 102 and server 103, between client 101 and the server 103 For unilateral network, the unilateral network is used for user end to server unidirectional data transmission, and client 101 passes through intermediate node 102 connect with server 103.
Wherein, client 101 can be used for oneself state data being sent to intermediate node 102.
Illustratively, client 101 can be different electronic equipments such as tablet computer, PC machine, laptop, this Open embodiment is not construed as limiting this.The status data of client 101 may include for characterize client's end memory service condition, The data of the different performances states such as CPU (Central Processing Unit, central processing unit) occupancy, the disclosure are implemented Example is also not construed as limiting this.
Illustratively, oneself state data can be sent to intermediate node in real time by client 101, periodically can also incite somebody to action oneself Body status data is sent to intermediate node.Oneself state data are periodically sent to the side of intermediate node for client 101 Formula, for example, timed task can be realized by the schedule module in computer programming language Python, so that client Hold 101 every actives in five minutes that oneself state data are sent to intermediate node.It is of course also possible to realize client by other means Oneself state data are periodically sent to intermediate node by end 101, and the embodiment of the present disclosure is not construed as limiting this.
Illustratively, client 101 can read the IP (Internet of the server 103 in pre-stored configuration file Protocol, network protocol) address and port, it is under consolidated network to being sent to status data with server 103 Intermediate node 102, such as during status data can be sent to and be in same local area network with server 103 by client 101 Intermediate node 102, etc., the embodiment of the present disclosure is not construed as limiting this.
Intermediate node 102 can be used for receiving the status data of the transmission of client 101, and save the status data.
Illustratively, intermediate node 102 can be any electronic equipment with data storage function, such as server.Or Person, intermediate node 102 are also possible to the container for saving data, such as message queue.Certainly, intermediate node 102 can also be with With other forms, the embodiment of the present disclosure is not construed as limiting this, as long as intermediate node 102 can receive data and save data ?.
Server 103 can be used for obtaining the status data of client 101 from intermediate node 102.
For example, referring to Fig. 2, network system includes server, intermediate node and multiple client, wherein customer end A is certain The client of hospital A, customer end B be certain hospital B client, client C be certain school C client, intermediate node MQ1 and Intermediate node MQ2 is message queue.Since customer end A, B and C are distributed in different organization, it is based on network security The considerations of, customer end A, B and C will not open inbound port to server.In this case, customer end A, B and C can not be received The data acquisition instruction that server is sent.
According to the scheme of the embodiment of the present disclosure, referring to Fig. 2, customer end A actively can send status number to intermediate node MQ1 According to so that server can obtain the status data of customer end A from intermediate node MQ1.Customer end B can be actively to intermediate node MQ1 and MQ2 status data, so that server can obtain the status number of customer end B from intermediate node MQ1 and/or MQ2 According to.Client C can be actively to intermediate node MQ2 status data, so that server can obtain visitor from intermediate node MQ2 The status data of family end C.
By above-mentioned network system, client can actively to server status data to intermediate node, correspondingly, Server can obtain the status data of client from the intermediate node, so as to realize that server is to client under unilateral network Hold the acquisition of status data.It, can be to avoid client also, in such a way that intermediate node is set between a client and a server End directly to server status data when due to data loss problem caused by server delay machine.
In a kind of possible situation, intermediate node can be multiple, then client can be used for status data point It is not sent to multiple intermediate node, correspondingly, server can be used for the target intermediate node from multiple intermediate node The status data of client is obtained, and when determining that target intermediate node is in down state, from multiple intermediate node In in available mode intermediate node obtain status data.
In other words, client and server can be connect with multiple intermediate nodes respectively, and each intermediate node can be with Receive and save the status data of client transmission.If server from destination node obtain status data, and destination node by It is in down state in failure, then server can continue to obtain status number in the intermediate node in available mode According to.
Specifically, in this case, server in available mode intermediate node continue obtain status data can To be first to redefine a destination node in the intermediate node in available mode, then continue from the destination node redefined Obtain status data.Alternatively, since each intermediate node receives and saves the status data of client transmission, it can also To be successively to obtain status data from multiple intermediate nodes in available mode, for example server can be first from available shape The intermediate node A1 of state obtains the 5th bar state data received, then continues to obtain from the intermediate node A2 in available mode The 6th bar state data received are taken, and so on.
It should be understood that the above-mentioned illustrative only carried out to server from the mode that intermediate node obtains status data Illustrate, in the specific implementation, server can also obtain status data, the disclosure from intermediate node otherwise to the disclosure Embodiment is not construed as limiting this.
In a kind of possible situation, if intermediate node is message queue, server can be used for subscribing to message The target topic of queue, and the status data with target topic is obtained from message queue.
In the embodiments of the present disclosure, the massage pattern of message queue can be Publish-subscribe mode, in this case, Message queue can have multiple publishers and multiple consumers.Wherein, publisher is used to send data, consumption to message queue Person from message queue for obtaining data.Publisher is sent to the data of message queue, and it is corresponding only to have subscribed the data The subscriber of target topic is just available to arrive the data.
In the embodiments of the present disclosure, target topic can be used for identifying the status number of the client stored in message queue According to.Illustratively, target topic can pass through the character or string table of alphabetical form, digital form or both combining form Show.It should be understood that target topic can be identical for the status data of same client, and for different clients Status data, target topic can be different.In a kind of possible mode, target topic can be the letter of unique identification client Breath, for example, referring to Fig. 2, for the status data of customer end A, target topic can by title, label of customer end A etc. into Row indicates, for example, target topic can be the title " A " of client, then server can obtain mesh from message queue MQ1 The status data that theme is A is marked, so as to get the status data of customer end A.
It should be understood that the failures if server occurs abending etc., and message queue is in available mode, then Message queue can continue to receive the status data that client is sent.After server restores normal again, it can subscribe to again The target topic of message queue, so that server can continue the status data for obtaining client from the message queue.Herein In the case of kind, the available all clients status data to during failure of server, so as to effectively avoid server The loss problem of client state data during failure.
In a kind of possible situation, server can be also used for analysis state data, when obtaining the generation of status data Between, determined in status data and generate time target state data the latest, and by the generation time of target state data with The time of server current record is compared, according to comparison as a result, determining the state of client with the presence or absence of abnormal.
Wherein, the generation time of status data is used to characterize the time that client obtains status data, can be client Get the timestamp information added after status data for the status data.For example client gets the one of client at 12 points Status data then the generation time of the status data is, therefore can characterize at 12 points for status data addition at 12 points Timestamp information.Correspondingly, analysis state data can be the timestamp information for parsing the status data, to obtain the status number According to the generation time.
After obtaining the generation time of status data, server, which can determine, generates the target state data of time the latest. For example, server has got status data 1, status data 2 and status data 3 from intermediate node, and respectively to status data 1, after status data 2 and status data 3 are parsed, when having obtained the generation of status data 1, status data 2 and status data 3 Between be respectively at 11 points in the morning 15 minutes, at 11 points in the morning 22 minutes, at 11 points in the morning 26 minutes.Wherein, the generation time of status data 3 the latest, Thus may determine that status data 3 is target state data.
After obtaining target state data, server can be used for working as the generation time of target state data with server The time of preceding record is compared, and according to comparison as a result, determining the state of client with the presence or absence of abnormal.
In a kind of possible situation, server can work as generation time and the server current record of target state data Time difference of time when being more than preset duration, it is abnormal to determine that the state of client exists.
Illustratively, preset duration can be obtained according to client status data time interval and determination, such as it is default Duration can be set as the presupposition multiple that client obtains the time interval of status data, for example client obtains status data Time interval is 10 seconds, i.e., client is at interval of the status data of acquisition in 10 seconds, then when preset duration can be set as this Between be spaced 2 times, i.e. preset duration is 20 seconds.In such cases, when the generation time of target state data and server are current When the time difference of the time of record is more than 20 seconds, server can determine that client does not get newest status data, from And it is abnormal to determine that client exists, convenient for abnormal existing for discovery client in time.
Further, determining that client deposits in an exceptional case, server can be with outputting alarm prompt information, with logical It is abnormal to know that the state of the operation maintenance personnel client exists, is repaired convenient for exception of the operation maintenance personnel for client, guarantees net The normal operation of network system.
Alternatively, depositing in an exceptional case in multiple client, server can be first to the multiple client that there is exception It is marked, is then sequentially output alarm prompt, to notify the corresponding operation maintenance personnel respective client of multiple client respectively There is exception in the state at end, disclosure implementation is not construed as limiting this.
In the case where alternatively possible, if the time of the generation time and server current record of target state data Time difference be less than preset duration, then server can determine the state of client there is no abnormal, then server can be with The status data that will acquire carries out persistence operation, for example the status data that will acquire directly is saved, or will be obtained The status data got is assembled according to the time is generated, obtain carrying out after time series data saving, etc., the embodiment of the present disclosure pair This is not construed as limiting.
Based on the same inventive concept, referring to Fig. 3, the disclosure also provides the data transmission method in a kind of network system, institute Stating network system includes client, server and intermediate node, is unilateral network, institute between the client and the server Client is stated to connect by the intermediate node with the server, which comprises
Oneself state data are sent to the intermediate node by step S301, the client;
Step S302, the intermediate node receives the status data that the client is sent, and saves the state Data;
Step S303, the server obtain the status data of the client from the intermediate node.
By above-mentioned data transmission method, client can be actively to server status data to intermediate node, phase Ying Di, server can obtain the status data of client from the intermediate node, so as to realize server under unilateral network Acquisition to client state data.Also, in such a way that intermediate node is set between a client and a server, it can keep away Exempt from client directly to server status data when due to data loss problem caused by server delay machine.
Optionally, the intermediate node is multiple, this method further include:
The status data is sent respectively to the multiple intermediate node by the client;
The server obtains the status data of client from the target intermediate node in multiple intermediate nodes, when determining mesh When mark intermediate node is in down state, the intermediate node from multiple intermediate nodes in available mode obtains status number According to.
Optionally, the intermediate node is message queue, the method also includes:
The server subscribes to the target topic of the message queue, and the target topic is for identifying the message queue The status data of the client of middle storage;
The server obtains the status data of client from intermediate node, comprising:
The server obtains the status data with the target topic from the message queue.
Optionally, the method also includes:
The server parses the status data, obtains the generation time of the status data, and the generation time is used The time of the status data is obtained in the characterization client;
The server determines the target state data of the generation time the latest in the status data;
The server carries out the time for generating time and the server current record of the target state data It compares;
The server is according to the comparison as a result, determining the state of the client with the presence or absence of abnormal.
Optionally, the method also includes:
The server when the time for generating time and the server current record of the target state data when Between difference when being more than preset duration, it is abnormal to determine that the state of the client exists, and outputting alarm prompt information, to notify O&M The state of client described in personnel exists abnormal.
It should be understood that the specific implementation process of above-mentioned various method steps carries out illustrated in greater detail above, this In repeat no more.
The data transmission method of the disclosure is illustrated below by an exemplary embodiment.It, should referring to Fig. 4 Method may comprise steps of:
Step S401, server carry out High Availabitity deployment to message queue.Wherein, High Availabitity deployment can be as server Multiple message queues are set, to guarantee in the not available situation of message queue, server can from other message queues after The continuous status data for obtaining client.
Step S402, client periodically acquire status data.
Step S403, client read IP address and the port of preset configuration file, send status data to corresponding Message queue.
Step S404, server subscribe to the target topic of message queue.
Step S405, server obtain the status data with target topic from message queue.
Step S406, the status data that server is analyzed and acquired by obtain the generation time of status data.
Step S407 is determined in status data and is generated the target state data of time the latest.
Step S408, determine the time for generating time and server current record of target state data time difference whether More than preset duration, if so, entering step S409, S410 is otherwise entered step.
It is abnormal to determine that the state of the client exists by step S409, and outputting alarm prompt information.
Step S410, the status data that will acquire are assembled according to the time is generated, obtain time series data and saved.
The specific embodiment of above steps carries out illustrated in greater detail above, and which is not described herein again.In addition it answers When understanding, for above method embodiment, for simple description, therefore, it is stated as a series of action combinations, but Be those skilled in the art should understand that, the disclosure is not limited by sequence of movement as described above.Secondly, this field skill Art personnel also should be aware of, and embodiments described above belongs to preferred embodiment, related step not necessarily this public affairs Necessary to opening.
By above-mentioned data transmission method, client can be actively to server status data, even unidirectional network The case where network, server can also get the status data of client.Also, in being arranged between server and client side Intermediate node, client can be by data active transmissions to intermediate node, and server can obtain data from intermediate node, thus also Can to avoid client directly to server status data when due to data loss problem caused by server delay machine.
Based on the same inventive concept, the disclosure also provides a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize in above-mentioned data transmission method Step performed by client.
Under possible mode, the block diagram of the electronic equipment can be as shown in Figure 5.Referring to Fig. 5, which can To include: processor 501, memory 502.The electronic equipment 500 can also include multimedia component 503, input/output (I/ O) one or more of interface 504 and communication component 505.
Wherein, processor 501 is used to control the integrated operation of the electronic equipment 500, to complete above-mentioned data transmission method All or part of the steps performed by middle client.Memory 502 is for storing various types of data to support in the electronics The operation of equipment 500, these data for example may include any application program or side for operating on the electronic equipment 500 The instruction of method and application program relevant data, such as the status data of client etc..
The memory 502 can be real by any kind of volatibility or non-volatile memory device or their combination It is existing, such as static random access memory (Static Random Access Memory, abbreviation SRAM), electric erasable can be compiled Journey read-only memory (Electrically Erasable ProgrammableRead-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (ErasableProgrammable Read-Only Memory, abbreviation EPROM), can compile Journey read-only memory (Programmable Read-Only Memory, abbreviation PROM), read-only memory (Read- OnlyMemory, abbreviation ROM), magnetic memory, flash memory, disk or CD.
Multimedia component 503 may include screen and audio component.Wherein screen for example can be touch screen, audio component For output and/or input audio signal.For example, audio component may include a microphone, microphone is for receiving outside Audio signal.The received audio signal can be further stored in memory 502 or be sent by communication component 505.Sound Frequency component further includes at least one loudspeaker, is used for output audio signal.I/O interface 504 is processor 501 and other interface moulds Interface is provided between block, other above-mentioned interface modules can be keyboard, mouse, button etc..These buttons can be virtual push button Or entity button.
Communication component 505 is for carrying out wired or wireless communication between the electronic equipment 500 and other equipment.Channel radio Letter, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G, 4G, NB-IOT, EMTC or other 5G etc. or they one or more of combination, it is not limited here.Therefore corresponding communication set Part 505 may include: Wi-Fi module, bluetooth module, NFC module etc..
In one exemplary embodiment, electronic equipment 500 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital SignalProcessing Device, letter Claim DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part is realized, for executing step performed by client in above-mentioned data transmission method.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should Step performed by client in above-mentioned data transmission method is realized when program instruction is executed by processor.For example, the computer Readable storage medium storing program for executing can be the above-mentioned memory 502 including program instruction, and above procedure instruction can be by electronic equipment 500 Device 501 is managed to execute to complete step performed by client in above-mentioned data transmission method.
Based on the same inventive concept, the embodiment of the present disclosure also provides a kind of electronic equipment, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize in above-mentioned data transmission method Step performed by server.
In possible mode, the block diagram of the electronic equipment can be as shown in Figure 6.Referring to Fig. 6, which can To be provided as a server.Referring to Fig. 6, electronic equipment 600 includes processor 622, and quantity can be one or more, with And memory 632, for storing the computer program that can be executed by processor 622.The computer program stored in memory 632 May include it is one or more each correspond to one group of instruction module.In addition, processor 622 can be configured as The computer program is executed, to execute step performed by server in above-mentioned data transmission method.
In addition, electronic equipment 600 can also include power supply module 626 and communication component 640, which can be with It is configured as executing the power management of electronic equipment 600, which, which can be configured as, realizes electronic equipment 600 Communication, for example, wired or wireless communication.In addition, the electronic equipment 600 can also include input/output (I/O) interface 658.Electricity Sub- equipment 600 can be operated based on the operating system for being stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM etc..
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should Step performed by server in above-mentioned data transmission method is realized when program instruction is executed by processor.For example, the computer Readable storage medium storing program for executing can be the above-mentioned memory 632 including program instruction, and above procedure instruction can be by electronic equipment 600 Device 622 is managed to execute to complete step performed by server in above-mentioned data transmission method.
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, 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 (8)

1. a kind of network system, which is characterized in that the system comprises client, server and intermediate node, the client It is unilateral network between the server, the unilateral network is used for user end to server unidirectional data transmission, the visitor Family end is connect by the intermediate node with the server;
The client, for oneself state data to be sent to the intermediate node;
The intermediate node, the status data sent for receiving the client, and save the status data;
The server, for obtaining the status data of the client from the intermediate node.
2. system according to claim 1, which is characterized in that the intermediate node be it is multiple, the client be used for will The status data is sent respectively to the multiple intermediate node;
The server obtains the status data of the client for the target intermediate node from the multiple intermediate node, When determining that the target intermediate node is in down state, the centre of available mode is in from the multiple intermediate node Node obtains the status data.
3. system according to claim 1, which is characterized in that the intermediate node is message queue, and the server is used In:
The target topic of the message queue is subscribed to, the target topic is for identifying the visitor stored in the message queue The status data at family end;
The status data with the target topic is obtained from the message queue.
4. system according to claim 1 to 3, which is characterized in that the server is also used to:
The status data is parsed, obtains the generation time of the status data, the generation time is for characterizing the client End obtains the time of the status data;
In the status data, the target state data of the generation time the latest is determined;
The generation time of the target state data is compared with the time of the server current record;
According to the comparison as a result, determining the state of the client with the presence or absence of abnormal.
5. system according to claim 4, which is characterized in that the server is also used to:
When the time difference of the time for generating time and the server current record of the target state data is more than default When long, it is abnormal to determine that the state of the client exists, and outputting alarm prompt information, to notify client described in operation maintenance personnel State exist it is abnormal.
6. the data transmission method in a kind of network system, which is characterized in that the network system include client, server and Intermediate node, is unilateral network between the client and the server, and the client passes through the intermediate node and institute State server connection, which comprises
Oneself state data are sent to the intermediate node by the client;
The intermediate node receives the status data that the client is sent, and saves the status data;
The server obtains the status data of the client from the intermediate node.
7. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize client in claim 6 the method The performed step in end.
8. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor is serviced for executing the computer program in the memory with realizing in claim 6 the method Step performed by device.
CN201910430573.0A 2019-05-22 2019-05-22 Network system and its data transmission method, electronic equipment Pending CN110247957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910430573.0A CN110247957A (en) 2019-05-22 2019-05-22 Network system and its data transmission method, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910430573.0A CN110247957A (en) 2019-05-22 2019-05-22 Network system and its data transmission method, electronic equipment

Publications (1)

Publication Number Publication Date
CN110247957A true CN110247957A (en) 2019-09-17

Family

ID=67884816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910430573.0A Pending CN110247957A (en) 2019-05-22 2019-05-22 Network system and its data transmission method, electronic equipment

Country Status (1)

Country Link
CN (1) CN110247957A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257575A (en) * 2021-12-16 2022-03-29 平安壹账通云科技(深圳)有限公司 Client data processing method and device, electronic equipment and storage medium
CN114422591A (en) * 2021-12-22 2022-04-29 广州市玄武无线科技股份有限公司 Point-to-point communication method, data communication system, computer device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103562890A (en) * 2011-05-18 2014-02-05 国际商业机器公司 Managing message subscription in publish/subscribe messaging system
CN107819801A (en) * 2016-09-13 2018-03-20 株式会社日立制作所 A kind of method of batches of subscription/issue
CN107920116A (en) * 2017-11-17 2018-04-17 中国航空工业集团公司西安航空计算技术研究所 A kind of onboard networks service data communications method of dynamic extending
CN108141404A (en) * 2015-08-07 2018-06-08 萨托里环球有限责任公司 Expansible real-time Message Passing system
US20180248825A1 (en) * 2017-02-24 2018-08-30 Machine Zone, Inc. Selective distribution of messages in a scalable, real-time messaging system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103562890A (en) * 2011-05-18 2014-02-05 国际商业机器公司 Managing message subscription in publish/subscribe messaging system
CN108141404A (en) * 2015-08-07 2018-06-08 萨托里环球有限责任公司 Expansible real-time Message Passing system
CN107819801A (en) * 2016-09-13 2018-03-20 株式会社日立制作所 A kind of method of batches of subscription/issue
US20180248825A1 (en) * 2017-02-24 2018-08-30 Machine Zone, Inc. Selective distribution of messages in a scalable, real-time messaging system
CN107920116A (en) * 2017-11-17 2018-04-17 中国航空工业集团公司西安航空计算技术研究所 A kind of onboard networks service data communications method of dynamic extending

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王佳楠: "工业控制网络异常状态监测关键技术的研究与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257575A (en) * 2021-12-16 2022-03-29 平安壹账通云科技(深圳)有限公司 Client data processing method and device, electronic equipment and storage medium
CN114257575B (en) * 2021-12-16 2024-04-16 平安壹账通云科技(深圳)有限公司 Client data processing method and device, electronic equipment and storage medium
CN114422591A (en) * 2021-12-22 2022-04-29 广州市玄武无线科技股份有限公司 Point-to-point communication method, data communication system, computer device, and storage medium

Similar Documents

Publication Publication Date Title
Rayes et al. Internet of things from hype to reality
US11985214B2 (en) Universal protocol translator
US20130305091A1 (en) Drag and drop network topology editor for generating network test configurations
CN110247957A (en) Network system and its data transmission method, electronic equipment
EP3222004B1 (en) Diagnostic testing in networks
CN109196820A (en) According to machine data forecasting problem event
CN103970081A (en) Intelligent home control method, intelligent home control device and intelligent home control system
CN108293071A (en) For determining device and method existing for user
JP5534480B2 (en) Network monitoring and analysis tools
CN111914200A (en) Browser tab state synchronization method, device, equipment and storage medium
JP5228475B2 (en) Presence composition device, presence composition program, and presence composition method
Panda et al. Implementation of SCADA/HMI system for real-time controlling and performance monitoring of SDR based flight termination system
WO2018146923A1 (en) Distributed coordination system, apparatus behavior monitoring device, and appliance
CN106130787B (en) Service processing system based on software defined network
CN108279605A (en) Hotel guest room control method, guest room control device and guest room operation equipment
Ashraf et al. Device discovery and configuration scheme for Internet of Things
Vaughan et al. Network-wide statistical modeling, prediction, and monitoring of computer traffic
Barsocchi et al. Are you in or out? Monitoring the human behavior through an occupancy strategy
CN106850662B (en) A kind of method and server of Dialog processing
Puuska et al. Modelling and real-time analysis of critical infrastructure using discrete event systems on graphs
CN105072199B (en) Offline pre-download function based reminding method and device
KR101702583B1 (en) A system for monitoring a network performance using xmpp and method thereof
Pauli Open metering
Visca et al. Embedded rule-based management for content-based DTNs
Sakic Analysis and Design of Distributed Control Plane Mechanisms in SDN-based Industrial Networks

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190917

RJ01 Rejection of invention patent application after publication