CN108881424A - Interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data - Google Patents

Interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data Download PDF

Info

Publication number
CN108881424A
CN108881424A CN201810580948.7A CN201810580948A CN108881424A CN 108881424 A CN108881424 A CN 108881424A CN 201810580948 A CN201810580948 A CN 201810580948A CN 108881424 A CN108881424 A CN 108881424A
Authority
CN
China
Prior art keywords
controller
data
interaction
server
adjacent
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
CN201810580948.7A
Other languages
Chinese (zh)
Other versions
CN108881424B (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.)
Shanghai Haide Automation Control Software Co Ltd
Original Assignee
Shanghai Haide Automation Control Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Haide Automation Control Software Co Ltd filed Critical Shanghai Haide Automation Control Software Co Ltd
Priority to CN201810580948.7A priority Critical patent/CN108881424B/en
Publication of CN108881424A publication Critical patent/CN108881424A/en
Application granted granted Critical
Publication of CN108881424B publication Critical patent/CN108881424B/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
    • 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
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data, and the interaction storage method of the data includes:After controller starting, judge whether the network settings for receiving the communication network derived from the server-side;If so, searching the controller being associated according to the network settings, establishes and communicate to connect with the controller being associated, to interact storing data between the associated controller;If it is not, then continuing next step;Sequential search controller adjacent thereto is established with adjacent controller and is communicated to connect, to interact storing data between the adjacent controller.The data before being out of order can be effectively restored when multiple duplication of the present invention in the case where controller failure all the way, it is increasing in present network bandwidth, in the case that memory space on controller is increasing, it can preferably realize that the database of plate saves and the function of redundancy using network throughput and memory space.

Description

Interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data
Technical field
The invention belongs to technical field of industrial control, it is related to a kind of storage/acquisition methods and system, more particularly to one kind Interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data.
Background technique
Plc industrial application is believed according to the analog quantity digital quantity input and output of plc acquisition module at present Number processing, industrial panel computer summarizes data and carries out record alarm.Due to industries such as some site of deployment such as pharmacy, need pair Data record carries out storage preservation and to save the safe and reliable of database, needs biggish using capacity on tablet computer Ssd simultaneously stores progress redundancy preservation to data.
As modern technologies develop, the storage on plc controller is also increasing, as long as but occurring in controller all the way But the data before being out of order can not be restored in the case where failure, it is even more impossible to guarantee the validity of data and safety.
Therefore, a kind of interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data how is provided, with solution Storage certainly on prior art plc controller is also increasing, as long as but but in the case where controller all the way breaks down The data before being out of order can not be restored, it is even more impossible to guarantee the validity of data and safety, have become this field skill in fact Other technical problem urgently to be resolved of art.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of interactions of data to store/obtain Method/system, readable storage medium storing program for executing and terminal are taken, it is also increasing for solving the storage on prior art plc controller, but As long as being that can not but restore the data before being out of order in the case where controller all the way breaks down, it is even more impossible to guarantee having for data The problem of effect property and safety.
In order to achieve the above objects and other related objects, one aspect of the present invention provides a kind of interaction storage method of data, Applied to the communication network for including multiple controllers and the server-side communicated to connect with multiple controllers;The interaction of the data is deposited Method for storing includes:After controller starting, judge whether the net for receiving the communication network derived from the server-side Network setting;If so, searching the controller being associated according to the network settings, built with the controller being associated Vertical communication connection, to interact storing data between the associated controller;If it is not, then continuing next step;Sequential search Controller adjacent thereto is established with adjacent controller and is communicated to connect, to interact storage between the adjacent controller Data.
In one embodiment of the invention, the network settings of the communication network include the number of controller in the communication network The IP address of amount, the network topology of the communication network and/or each controller.
In one embodiment of the invention, sequential search controller adjacent thereto, and built with adjacent controller The IP address of itself according to the step of vertical communication connection, the sequential search controller adjacent with the IP address of itself, and with oneself The adjacent controller of the IP address of body establishes communication connection.
In one embodiment of the invention, the interaction storage method of the data further includes receiving to waiting derived from the clothes It is engaged in after the access request at end, feeds back the data of itself storage and interacts the data of the controller of storing data to the service End.
Another aspect of the present invention provides a kind of acquisition methods of data, be applied to including multiple controllers and with multiple controls The communication network of the server-side of device communication connection;The acquisition of the data includes:After entering predetermined sweep time section, according to logical The network settings of communication network and the demand for obtaining data send access request to multiple controllers, to controller carry out sequence visit It asks, to obtain the data of the data being intended on access controller and the controller for interacting storing data;Continue access upper one The data on controller not interacted with desire access controller in step, and obtain the data stored on the controller.
Another aspect of the present invention also provides a kind of interaction storage system of data, be applied to including multiple controllers and with it is more The communication network of the server-side of a controller communication connection;The interaction storage system of the data includes:First judgment module is used In after controller starting, judge whether the network settings for receiving the communication network derived from the server-side;If It is then to call a first processing module according to the network settings, searches the controller being associated, passes through one first communication mould Block and the controller being associated are established and are communicated to connect, to interact storing data between the associated controller;If Controller that is no, calling the first processing module sequential search adjacent thereto, by the first communication module and adjacent Controller establishes communication connection, to interact storing data between the adjacent controller.
In one embodiment of the invention, the first processing module is waiting to receive the access request derived from the server-side Afterwards, the data of itself storage are fed back by the first communication module and interacts the data of the controller of storing data to institute State server-side.
Another aspect of the present invention provides a kind of acquisition system of data again, be applied to including multiple controllers and with multiple controls The communication network of the server-side of device communication connection processed;The acquisition system of the data includes:Second processing module, it is predetermined entering After sweep time section, access request is sent to multiple controllers according to the network settings of communication network and the demand for obtaining data, To carry out sequential access to controller, deposited with obtaining the data being intended on access controller by second communication module and interacting Store up the data of the controller of data;The Second processing module continues on the controller that access is not interacted with desire access controller Data, to obtain the data stored on the controller by the second communication module.
Another aspect of the invention provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, and the program is processed The acquisition methods of device interaction storage method of the data or the data when executing.
Last aspect of the present invention provides a kind of terminal, including:Processor and memory;The memory is based on storing Calculation machine program, the processor is used to execute the computer program of the memory storage, so that the terminal executes the number According to interaction storage method or the data acquisition methods.
As described above, interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data of the invention, has Following beneficial effect:
Interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of the data of offer of the present invention can drop The low industry storage of plate and the requirement of database manipulation, tablet computer or server simply connect controller and can be arranged Acquisition and display current data and historical data, multiple duplication also can be restored effectively in the case where controller failure all the way Data before failure, in the case where the memory space on the increasing controller of present network bandwidth is increasing, Ke Yigeng The good database that plate is realized using network throughput and memory space saves and the function of redundancy, while can also support more A plate shows data simultaneously.
Detailed description of the invention
Fig. 1 is shown as communication network schematic diagram applied by the present invention.
Fig. 2A is shown as flow diagram of the interaction storage method of data of the present invention in an embodiment.
Fig. 2 B is shown as flow diagram of the acquisition methods of data of the invention in an embodiment.
Fig. 3 is shown as the interaction schematic diagram of the interaction storage system of data of the invention and the acquisition system of data.
Component label instructions
1 communication network
11 controllers
12 server-sides
The interaction storage system of 31 data
311 first judgment modules
312 first processing modules
313 first communication modules
The acquisition system of 32 data
321 Second processing modules
322 second communication modules
S21~S26 step
S21 '~S22 ' step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel It is likely more complexity.
Interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data of the present invention can deposit data Storage, which is separately put on multiple plc controllers, carries out storage redundancy to guarantee data effectively and safely, and such server-side can pass through Initial configuration plc controller carries out data storage to specific data, then simply accesses database from the end plc to obtain number According to display.
Embodiment one
The present embodiment provides a kind of interaction storage method of data, be applied to including multiple controllers and with multiple controllers The communication network of the server-side of communication connection;The interaction storage method of the data includes:
After controller starting, judge whether that the network for receiving the communication network derived from the server-side is set It sets;If so, searching the controller being associated, and establish with the controller being associated according to the network settings Communication connection, to interact storing data between the associated controller;If it is not, then continuing next step;
Sequential search controller adjacent thereto is established with adjacent controller and is communicated to connect, with the adjacent control Interaction storing data between device processed.
The interaction storage method of data provided by the present embodiment is described in detail below with reference to diagram.This implementation The interaction storage method of the example data is applied to communication network 1 as shown in Figure 1, and the communication network 1 includes multiple controllers 11 and with multiple controllers 11 communication connection server-side 12.
Fig. 2A is please referred to, flow diagram of the interaction storage method of data in an embodiment is shown as.Such as Fig. 2A institute Show, the interaction storage method of the data specifically includes following steps:
S21 judges whether the net for receiving the communication network derived from the server-side after controller starting Network setting;If so, executing S22;If it is not, then executing S23.In the present embodiment, the network settings of the communication network include The IP address of the quantity of controller, the network topology of the communication network and/or each controller in the communication network.
S22, according to the network settings, searches the control being associated if receiving the network settings of the communication network Device processed.
S24 is established with the controller being associated and is communicated to connect, deposited with interacting between the associated controller Store up data.
For example, directly searching for several plc controllers down since the machine ip on a local area network and being attached, reach Certain amount just stops, and such plc controller can intersect access, and every plc controller can obtain other several plc Data, work normally when, by the setting on tablet computer or server, finger is exchanged with each other between plc controller Fixed storing data constitutes multiple data backup, primary to upload in the machine when server or platform are to read data Caching all data, if server or plate obtain the data of other corresponding plc controllers, there is no need to again from Other plc controllers read corresponding data up.
S23, if not receiving the network settings of the communication network, sequential search controller adjacent thereto.
For example, be connected with 3 plc controllers under a tablet computer or a server, respectively controller A, controller B and Controller C, tablet computer do not do any network settings, three plc controller sequential scan IP adjacent controller.
S25 is established with adjacent controller and is communicated to connect, to interact storing data between the adjacent controller.
Specifically, according to the IP address of itself, the sequential search controller adjacent with the IP address of itself, and with itself The adjacent controller of IP address establishes communication connection.
For example, controller A is connect with controller C, controller B is connect with controller A.Controller A store simultaneously the machine and The data of controller C, controller B store the data of the machine and controller A simultaneously, and controller C stores the machine and controller B simultaneously Data, obtain the data of A and C when scanning when plate access controller A simultaneously, then access B obtain B and A data because This time data of paragraph controller C have obtained, then do not need obtaining data from C, the relationship and quantity mutually saved There can be plate to be configured to artificially interfere the topology status of backup.
S26, it is waiting to receive after the access request of the server-side, it feeds back the data of itself storage and interacts and deposit The data of the controller of data are stored up to the server-side.
The present embodiment also provides a kind of acquisition methods of data, is applied to lead to including multiple controllers and with multiple controllers Believe the communication network of the server-side of connection;The acquisition of the data includes:
After entering predetermined sweep time section, according to the network settings of communication network and the demand for obtaining data to multiple controls Device processed sends access request, to carry out sequential access to controller, and obtains the data being intended on access controller and interacts The data of the controller of storing data;
Continue the data on the controller that access is not interacted with desire access controller in the previous step, and obtains the control Data on device.
The acquisition methods of data provided by the present embodiment are described in detail below with reference to diagram.The present embodiment institute The acquisition methods for stating data are also applied to communication network 1 as shown in Figure 1.
Fig. 2 B is please referred to, the acquisition methods of the data flow diagram in an embodiment is shown as.As shown in Figure 2 B, described The acquisition methods of data specifically include following steps:
S21 ', after entering predetermined sweep time section, according to the demand pair of the network settings of communication network and acquisition data Multiple controllers send access requests, to carry out sequential access to controller, with obtain the data being intended on access controller and with The data of its controller for interacting storing data.
In the present embodiment, after the desire access controller receives the access request, the data of itself storage are fed back And interact storing data controller data to the server-side.
For example, when tablet computer access controller A, while obtaining controller A and interacting the control of storing data with controller A The data of device C processed, then access controller B obtains controller B and interacts the data of the controller A of storing data with controller B, Because the data of this time paragraph controller C have obtained, then do not need obtaining data from C, the relationship mutually saved and Quantity can have plate to be configured to artificially interfere the topology status of backup.
S22 ' continues to access the data on the controller not interacted with desire access controller in S21 ', and obtains the control The data stored on device processed.
For example, controller D does not interact storing data with controller A and controller B, continue access controller D, to obtain control The data stored on device D processed.
The interaction storage method of data provided in this embodiment and the acquisition methods of data can reduce depositing for industrial plate Storage and the requirement of database manipulation, tablet computer or server, which simply connect controller, can be arranged acquisition and display currently Data and historical data, multiple duplication also can effectively restore the data before being out of order in the case where controller failure all the way, In the case where the memory space on the increasing controller of present network bandwidth is increasing, network can be preferably utilized Handling capacity and memory space save realizing the database of plate and the function of redundancy, while can also support multiple plates simultaneously Show data.
The present embodiment also provides a kind of readable storage medium storing program for executing (also known as computer readable storage medium), is stored thereon with meter Calculation machine program, the program realize the interaction storage method of the data or the acquisition methods of the data when being executed by processor.
Those of ordinary skill in the art will appreciate that:Realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of computer program is crossed to complete.Computer program above-mentioned can store in a computer readable storage medium In.When being executed, execution includes the steps that above-mentioned each method embodiment to the program;And storage medium above-mentioned includes:ROM, The various media that can store program code such as RAM, magnetic or disk.
Embodiment two
The present embodiment provides a kind of interaction storage system of data, be applied to including multiple controllers and with multiple controllers The communication network of the server-side of communication connection;The interaction storage system of the data includes:
First judgment module, for judging whether to receive the institute derived from the server-side after controller starting State the network settings of communication network;If so, calling a first processing module according to the network settings, searches and be associated Controller is established by a first communication module and the controller that is associated and is communicated to connect, with the associated control Interaction storing data between device processed;If it is not, the controller for calling the first processing module sequential search adjacent thereto, passes through institute It states first communication module and adjacent controller is established and communicated to connect, to interact storage number between the adjacent controller According to.
The present embodiment also provides a kind of acquisition system of data, is applied to lead to including multiple controllers and with multiple controllers Believe the communication network of the server-side of connection;The acquisition system of the data includes:
Second processing module according to the network settings of communication network and obtains data after entering predetermined sweep time section Demand to multiple controllers send access request, with to controller carry out sequential access, with by second communication module acquisition Be intended to access controller on data and interact storing data controller data;
The Second processing module continues the data on the controller that access is not interacted with desire access controller, to pass through It states second communication module and obtains the data stored on the controller.
The interaction storage system of the present embodiment data presented and the acquisition system of data are carried out below with reference to diagram Detailed description.It should be noted that it should be understood that the modules of the acquisition system of the interaction storage system and data of following data Division be only a kind of logic function division, can completely or partially be integrated on a physical entity in actual implementation, It can also be physically separate.And these modules can be realized all by way of processing element calls with software;It can also be complete It realizes in the form of hardware in portion;It can be realized in the form of part of module calls software by processing element, part of module passes through Formal implementation of hardware.For example, x module can be the processing element individually set up, also can integrate in a certain of above-mentioned apparatus It is realized in a chip, in addition it is also possible to be stored in the form of program code in the memory of above-mentioned apparatus, by above-mentioned apparatus Some processing element calls and executes the function of following x module.The realization of other modules is similar therewith.Furthermore these modules are complete Portion or part can integrate together, can also independently realize.Processing element described here can be a kind of integrated circuit, tool There is the processing capacity of signal.During realization, each step of the above method or following modules can pass through processor member The integrated logic circuit of hardware in part or the instruction of software form are completed.
For example, these following modules can be arranged to implement one or more integrated circuits of above method, such as: One or more specific integrated circuits (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), or, one Or multi-microprocessor (digitalsingnalprocessor, abbreviation DSP), or, one or more field-programmable gate array Arrange (FieldProgrammableGateArray, abbreviation FPGA) etc..For another example, when some following module is dispatched by processing element When the form of program code is realized, which can be general processor, such as central processing unit (CentralProcessingUnit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can To integrate, realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
Referring to Fig. 3, being shown as the interaction schematic diagram of the interaction storage system of data and the acquisition system of data.Such as Fig. 3 Shown, the interaction storage system 31 of the data includes first judgment module 311, first processing module 312 and the first communication mould Block 313.
The first judgment module 311 is used for after controller starting, judges whether to receive derived from the service The network settings of the communication network at end;If so, the first processing module 312 is in the network for receiving the communication network Setting, according to the network settings, searches the controller being associated;Pass through the institute coupled with the first processing module 312 It states first communication module 313 and the controller being associated is established and communicated to connect, between the associated controller Interaction storing data.If sequentially being looked into if it is not, the first processing module 312 does not receive the network settings of the communication network Look for controller adjacent thereto;Pass through the first communication module 313 coupled with the first processing module 312 and adjacent control Device establishes communication connection, to interact storing data between the adjacent controller.In the present embodiment, the communication network Network settings include the quantity of controller in the communication network, the network topology of the communication network and/or each controller IP address.
After the first communication module 313 is received derived from the access request of the server-side, itself storage is fed back Data and interact storing data controller data to the server-side.
With continued reference to shown in Fig. 3, the acquisition system 32 of the data includes Second processing module 321 and second communication module 322。
The Second processing module 321 is used for after entering predetermined sweep time section, according to the network settings of communication network With obtain data demand to multiple controllers send access request, with to controller carry out sequential access, with by with it is described The second communication module 322 that Second processing module 321 couples obtains the data being intended on access controller and interacts storage number According to controller data.
In the present embodiment, after the desire access controller receives the access request, the data of itself storage are fed back And interact storing data controller data to the server-side.
After the data for obtaining the data being intended on access controller and the controller for interacting storing data continue access, The Second processing module 321 continues the data on the controller that access is not interacted with desire access controller, and obtains the control The data stored on device.
Embodiment three
The present embodiment provides a kind of terminal, the terminal includes:Processor, memory, transceiver, communication interface and system Bus;Memory and communication interface pass through system bus and mutual communication are connect and completed with processor and transceiver, store Device is for storing computer program, and communication interface is used for and other equipment are communicated, and processor and transceiver are based on running Calculation machine program makes terminal execute each step of the interaction storage method of data as above or the acquisition methods of the data.At this In embodiment, the terminal for executing the interaction storage method of data as described above is controller.Execute the acquisition of data as described above The terminal of method is server-side.
System bus mentioned above can be Peripheral Component Interconnect standard (PeripheralPomponentInterconnect, abbreviation PCI) bus or expanding the industrial standard structure (ExtendedIndustryStandardArchitecture, abbreviation EISA) bus etc..The system bus can be divided into address Bus, data/address bus, control bus etc..Only to be indicated with a thick line in figure convenient for indicating, it is not intended that only one total Line or a type of bus.Communication interface is for realizing database access device and other equipment (such as client, read-write library And read-only library) between communication.Memory may include random access memory (RandomAccessMemory, abbreviation RAM), It may also further include nonvolatile memory (non-volatilememory), a for example, at least magnetic disk storage.
Above-mentioned processor can be general processor, including central processing unit (CentralProcessingUnit, letter Claim CPU), network processing unit (NetworkProcessor, abbreviation NP) etc.;It can also be digital signal processor (DigitalSignalProcessing, abbreviation DSP), specific integrated circuit (ApplicationSpecificIntegratedCircuit, abbreviation ASIC), field programmable gate array (Field- ProgrammableGateArray, abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components.
In conclusion interaction storage/acquisition methods/system of the data of offer of the present invention, readable storage medium storing program for executing and Terminal can reduce the storage of industrial plate and the requirement of database manipulation, and tablet computer or server simply connect control Acquisition and display current data can be arranged in device and historical data, multiple duplication also can be effectively in the feelings of controller failure all the way Data before reduction is out of order under condition, memory space controller on increasing feelings increasing in present network bandwidth Under condition, it can preferably realize that the database of plate saves the function with redundancy using network throughput and memory space, together When can also support multiple plates while to show data.So the present invention effectively overcome various shortcoming in the prior art and Has high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (10)

1. a kind of interaction storage method of data, which is characterized in that be applied to lead to including multiple controllers and with multiple controllers Believe the communication network of the server-side of connection;The interaction storage method of the data includes:
After controller starting, judge whether the network settings for receiving the communication network derived from the server-side; If so, searching the controller being associated according to the network settings, communication link is established with the controller being associated It connects, to interact storing data between the associated controller;If it is not, then continuing next step;
Sequential search controller adjacent thereto is established with adjacent controller and is communicated to connect, with the adjacent controller Between interaction storing data.
2. the interaction storage method of data according to claim 1, which is characterized in that the network settings of the communication network IP address including the quantity of controller, the network topology of the communication network and/or each controller in the communication network.
3. the interaction storage method of data according to claim 1, which is characterized in that the sequential search is adjacent thereto Controller, and establish according to the step of communicating to connect with adjacent controller the IP address of itself, sequential search and itself The adjacent controller of IP address, and the controller adjacent with the IP address of itself establishes communication connection.
4. the interaction storage method of data according to claim 1, which is characterized in that the interaction storage method of the data It further include feeding back the data of itself storage after waiting receive derived from the access request of the server-side and interacting storage number According to controller data to the server-side.
5. a kind of acquisition methods of data, which is characterized in that be applied to including multiple controllers and with multiple controller communication links The communication network of the server-side connect;The acquisition of the data includes:
After entering predetermined sweep time section, according to the network settings of communication network and the demand for obtaining data to multiple controllers Access request is sent, to carry out sequential access to controller, to obtain the data being intended on access controller and interact storage The data of the controller of data;
Continue the data on the controller that access is not interacted with desire access controller in the previous step, and obtains on the controller The data of storage.
6. a kind of interaction storage system of data, which is characterized in that be applied to lead to including multiple controllers and with multiple controllers Believe the communication network of the server-side of connection;The interaction storage system of the data includes:
First judgment module is received for judging whether after controller starting derived from the described logical of the server-side The network settings of communication network;If so, calling a first processing module according to the network settings, the control being associated is searched Device is established by a first communication module and the controller that is associated and is communicated to connect, with the associated controller Between interaction storing data;If it is not, the controller for calling the first processing module sequential search adjacent thereto, passes through described One communication module and adjacent controller, which are established, to be communicated to connect, to interact storing data between the adjacent controller.
7. the interaction storage system of data according to claim 6, which is characterized in that the first processing module is to be received To after the access request of the server-side, the data of itself storage are fed back by the first communication module and are interacted The data of the controller of storing data are to the server-side.
8. a kind of acquisition system of data, which is characterized in that be applied to including multiple controllers and with multiple controller communication links The communication network of the server-side connect;The acquisition system of the data includes:
Second processing module, after entering predetermined sweep time section, according to the need of the network settings of communication network and acquisition data It asks and access request is sent to multiple controllers, to carry out sequential access to controller, to be intended to visit by second communication module acquisition It asks the data on controller and interacts the data of the controller of storing data;
The Second processing module continue access not with the data that are intended on the controller that interact of access controller, to pass through described the Two communication modules obtain the data stored on the controller.
9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that real when the program is executed by processor The acquisition methods of data described in the interaction storage method or claim 5 of data described in existing any one of claims 1 to 4.
10. a kind of terminal, which is characterized in that including:Processor and memory;
The memory is used to execute the computer journey of the memory storage for storing computer program, the processor Sequence, so that the terminal executes the interaction storage method of data or claim 5 institute as described in any one of claims 1 to 4 State the acquisition methods of data.
CN201810580948.7A 2018-06-07 2018-06-07 Interactive storage/acquisition method/system of data, readable storage medium and terminal Active CN108881424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810580948.7A CN108881424B (en) 2018-06-07 2018-06-07 Interactive storage/acquisition method/system of data, readable storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810580948.7A CN108881424B (en) 2018-06-07 2018-06-07 Interactive storage/acquisition method/system of data, readable storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108881424A true CN108881424A (en) 2018-11-23
CN108881424B CN108881424B (en) 2021-06-25

Family

ID=64337247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810580948.7A Active CN108881424B (en) 2018-06-07 2018-06-07 Interactive storage/acquisition method/system of data, readable storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108881424B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595844A (en) * 2021-08-03 2021-11-02 北京国科天迅科技有限公司 Data interaction method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009211378A (en) * 2008-03-04 2009-09-17 Nec Infrontia Corp Data backup system and data backup method
CN101568190A (en) * 2009-06-04 2009-10-28 杭州华三通信技术有限公司 Automatic backup method and apparatus for wireless controller configuration information
CN101815365A (en) * 2010-04-02 2010-08-25 北京傲天动联技术有限公司 Discovery, correlation and configuration method of wireless access controller
CN105259863A (en) * 2015-10-30 2016-01-20 北京航天自动控制研究所 PLC warm backup redundancy method and system
CN106569751A (en) * 2016-11-10 2017-04-19 郑州云海信息技术有限公司 Multi-controller cache mirroring method and system
CN107704343A (en) * 2017-09-29 2018-02-16 郑州云海信息技术有限公司 A kind of data back up method of multi-controller, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009211378A (en) * 2008-03-04 2009-09-17 Nec Infrontia Corp Data backup system and data backup method
CN101568190A (en) * 2009-06-04 2009-10-28 杭州华三通信技术有限公司 Automatic backup method and apparatus for wireless controller configuration information
CN101815365A (en) * 2010-04-02 2010-08-25 北京傲天动联技术有限公司 Discovery, correlation and configuration method of wireless access controller
CN105259863A (en) * 2015-10-30 2016-01-20 北京航天自动控制研究所 PLC warm backup redundancy method and system
CN106569751A (en) * 2016-11-10 2017-04-19 郑州云海信息技术有限公司 Multi-controller cache mirroring method and system
CN107704343A (en) * 2017-09-29 2018-02-16 郑州云海信息技术有限公司 A kind of data back up method of multi-controller, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595844A (en) * 2021-08-03 2021-11-02 北京国科天迅科技有限公司 Data interaction method and device
CN113595844B (en) * 2021-08-03 2022-07-08 北京国科天迅科技有限公司 Data interaction method and device

Also Published As

Publication number Publication date
CN108881424B (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN103810074B (en) A kind of on-chip system chip and corresponding monitoring method
US4684885A (en) Arrangement for on-line diagnostic testing of an off-line standby processor in a duplicated processor configuration
CN103618627B (en) A kind of manage the method for virtual machine, Apparatus and system
CN108519917A (en) A kind of resource pool distribution method and device
US20180102942A1 (en) Collision detection using state management of configuration items
CN110083533A (en) Data processing method and device based on Mock service
CN107025152A (en) The method of data synchronization of the dual redundant hot spare devices of task based access control level
CN111737063B (en) Disk lock arbitration method, device, equipment and medium for double-control brain fracture
CN109981737A (en) A kind of processing method of network request, device, terminal and storage medium
WO2024113721A1 (en) Multi-controller data backup method and related apparatus
CN103309833A (en) Equipment integrating method, terminal device and distributed multi-terminal device system
CN104866460A (en) Fault-tolerant self-adaptive reconfigurable system and method based on SoC
CN109684257B (en) Remote memory expansion management system
CN108881424A (en) Interaction storage/acquisition methods/system, readable storage medium storing program for executing and terminal of data
CN105022333A (en) PLC system having a plurality of CPU modules and control method thereof
CN117149396B (en) Cluster fault transfer method and device, equipment and storage medium
CN109359034A (en) A kind of operation system test method, computer readable storage medium and terminal device
CN109462646A (en) A kind of method and apparatus of exception response
CN107316494A (en) A kind of abnormal treating method and apparatus in parking lot
CN110413686B (en) Data writing method, device, equipment and storage medium
US9330211B2 (en) Simulation system for implementing computing device models in a multi-simulation environment
CN105373451B (en) The method and device that a kind of virtual machine is placed
WO2022199229A1 (en) Suspended transaction inspection method and apparatus, electronic device and storage medium
CN115373919A (en) Soc debugging method and system, electronic equipment and storage medium
CN109445984A (en) A kind of service restoration method, device, arbitrating server and storage system

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