CN108881424B - Interactive storage/acquisition method/system of data, readable storage medium and terminal - Google Patents

Interactive storage/acquisition method/system of data, readable storage medium and terminal Download PDF

Info

Publication number
CN108881424B
CN108881424B CN201810580948.7A CN201810580948A CN108881424B CN 108881424 B CN108881424 B CN 108881424B CN 201810580948 A CN201810580948 A CN 201810580948A CN 108881424 B CN108881424 B CN 108881424B
Authority
CN
China
Prior art keywords
data
controller
controllers
network
communication network
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.)
Active
Application number
CN201810580948.7A
Other languages
Chinese (zh)
Other versions
CN108881424A (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/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 invention provides a data interactive storage/acquisition method/system, a readable storage medium and a terminal, wherein the data interactive storage method comprises the following steps: after the controller is started, judging whether network setting of the communication network from the server side is received or not; if so, searching a controller associated with the network according to the network setting, and establishing communication connection with the controller associated with the network setting so as to interactively store data with the associated controller; if not, continuing the next step; and sequentially searching the controllers adjacent to the controllers, and establishing communication connection with the adjacent controllers so as to interactively store data with the adjacent controllers. The invention can effectively restore the data before failure under the condition that one path of controller fails during multiple backups, and can better utilize the network throughput and the storage space to realize the functions of database storage and redundancy of the panel under the conditions that the network bandwidth is increasingly larger and the storage space on the controller is increasingly larger at present.

Description

Interactive storage/acquisition method/system of data, readable storage medium and terminal
Technical Field
The invention belongs to the technical field of industrial control, relates to a storage/acquisition method and a storage/acquisition system, and particularly relates to an interactive data storage/acquisition method/system, a readable storage medium and a terminal.
Background
Most of the current plc industrial application fields are processed according to analog digital quantity input and output signals of a plc acquisition module, and industrial tablet computers collect data to record and alarm. Due to the fact that in some application fields, such as industries of pharmacy and the like, data records need to be stored and databases need to be stored safely and reliably, ssd with large capacity needs to be applied to a tablet computer, and data storage needs to be stored redundantly.
With the development of modern technology, storage on a plc controller is also larger and larger, but as long as one path of controller fails, data before failure cannot be restored, and the validity and safety of the data cannot be guaranteed.
Therefore, how to provide a method/system for interactive storage/acquisition of data, a readable storage medium and a terminal to solve the problems that in the prior art, storage on a plc controller is also getting bigger and bigger, but data before failure cannot be restored only when one controller fails, and validity and security of the data cannot be guaranteed, and the like, has become a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method/system for interactive storage/acquisition of data, a readable storage medium and a terminal, which are used to solve the problem that, although storage on a plc controller is getting larger and larger in the prior art, if a failure occurs in one controller, the data before the failure cannot be restored, and the validity and security of the data cannot be guaranteed.
In order to achieve the above and other related objects, an aspect of the present invention provides a method for interactively storing data, which is applied to a communication network including a plurality of controllers and a server communicatively connected to the plurality of controllers; the interactive storage method of the data comprises the following steps: after the controller is started, judging whether network setting of the communication network from the server side is received or not; if so, searching a controller associated with the network according to the network setting, and establishing communication connection with the controller associated with the network setting so as to interactively store data with the associated controller; if not, continuing the next step; and sequentially searching the controllers adjacent to the controllers, and establishing communication connection with the adjacent controllers so as to interactively store data with the adjacent controllers.
In an embodiment of the present invention, the network configuration of the communication network includes the number of controllers in the communication network, the network topology of the communication network, and/or the IP address of each controller.
In an embodiment of the present invention, the step of sequentially searching for the controllers adjacent to the controller and establishing a communication connection with the adjacent controllers includes sequentially searching for the controllers adjacent to the own IP address according to the own IP address and establishing a communication connection with the controllers adjacent to the own IP address.
In an embodiment of the present invention, the data interactive storage method further includes feeding back, to the server, data stored in the server and data of the controller that interacts with the data stored in the server after receiving an access request from the server.
The invention provides a method for acquiring data, which is applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the acquiring of the data comprises: after entering a preset scanning time period, sending access requests to a plurality of controllers according to network setting of a communication network and the requirement of data acquisition so as to sequentially access the controllers to acquire data on the controller to be accessed and data of the controller which interactively stores the data with the controller; and continuing to access the data on the controller which is not interacted with the controller to be accessed in the last step, and acquiring the data stored on the controller.
The invention also provides an interactive storage system of data, which is applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the interactive storage system of the data comprises: the first judgment module is used for judging whether network setting of the communication network from the server side is received or not after the controller is started; if so, calling a first processing module to search the controller associated with the first processing module according to the network setting, and establishing communication connection with the controller associated with the first processing module through a first communication module so as to interactively store data with the associated controller; if not, calling the first processing module to sequentially search the controllers adjacent to the first processing module, and establishing communication connection with the adjacent controllers through the first communication module so as to interactively store data with the adjacent controllers.
In an embodiment of the present invention, after receiving the access request from the server, the first processing module feeds back the data stored in the first processing module and the data of the controller interacting with the first processing module to the server through the first communication module.
The invention further provides a data acquisition system, which is applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the data acquisition system comprises: the second processing module sends access requests to the controllers according to network setting of a communication network and requirements for acquiring data after entering a preset scanning time period so as to access the controllers in sequence, and acquires data on the controller to be accessed and data of the controller for interactively storing the data through the second communication module; and the second processing module continues to access the data on the controller which is not interacted with the controller to be accessed so as to acquire the data stored on the controller through the second communication module.
Still another aspect of the present invention provides a readable storage medium on which a computer program is stored, the program being executed by a processor for an interactive storage method of the data or an acquisition method of the data.
A final aspect of the present invention provides a terminal, including: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the terminal to execute the interactive storage method of the data or the acquisition method of the data.
As described above, the interactive data storage/acquisition method/system, the readable storage medium and the terminal of the present invention have the following advantages:
the interactive storage/acquisition method/system of data, the readable storage medium and the terminal provided by the invention can reduce the requirements of storage and database operation of an industrial panel, a panel computer or a server can be simply connected with a controller to set and collect and display current data and historical data, multiple backups can also effectively restore data before failure under the condition that one controller fails, the functions of database storage and redundancy of the panel can be better realized by using network throughput and storage space under the conditions that the network bandwidth is increasingly large and the storage space on the controller is increasingly large at present, and meanwhile, a plurality of panels can be supported to display data simultaneously.
Drawings
Fig. 1 is a schematic diagram of a communication network to which the present invention is applied.
Fig. 2A is a flowchart illustrating an interactive data storage method according to an embodiment of the invention.
Fig. 2B is a flowchart illustrating a data acquisition method according to an embodiment of the invention.
FIG. 3 is an interactive schematic diagram of the interactive data storage system and the data acquisition system according to the present invention.
Description of the element reference numerals
1 communication network
11 controller
12 service end
31 interactive storage system of data
311 first judging module
312 first processing Module
313 first communication module
32 data acquisition system
321 second processing module
322 second communication module
S21-S26
S21 'to S22' steps
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
According to the interactive data storage/acquisition method/system, the readable storage medium and the terminal, data storage can be separately stored on a plurality of plc controllers for storage redundancy to ensure the validity and safety of data, so that a server can perform data storage on specific data by initializing and configuring the plc controllers, and then simply access a database from the plc terminal to acquire data display.
Example one
The embodiment provides an interactive storage method of data, which is applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the interactive storage method of the data comprises the following steps:
after the controller is started, judging whether network setting of the communication network from the server side is received or not; if so, searching the controller associated with the network according to the network setting, and establishing communication connection with the controller associated with the network setting so as to interactively store data with the associated controller; if not, continuing the next step;
and sequentially searching the controllers adjacent to the controllers, and establishing communication connection with the adjacent controllers so as to interactively store data with the adjacent controllers.
The following describes the interactive storage method of data provided by the present embodiment in detail with reference to the drawings. The method for storing data interactively according to this embodiment is applied to a communication network 1 as shown in fig. 1, where the communication network 1 includes a plurality of controllers 11 and a server 12 communicatively connected to the plurality of controllers 11.
Please refer to fig. 2A, which is a flowchart illustrating an interactive data storage method according to an embodiment. As shown in fig. 2A, the interactive storage method of data specifically includes the following steps:
s21, after the controller is started, judging whether the network setting of the communication network from the server side is received; if yes, go to S22; if not, S23 is executed. In this embodiment, the network settings of the communication network include the number of controllers in the communication network, the network topology of the communication network, and/or the IP address of each controller.
S22, if the network setting of the communication network is received, the controller associated with the network setting is searched according to the network setting.
And S24, establishing a communication connection with the controller associated therewith so as to interactively store data with the associated controller.
For example, a plurality of plc controllers are directly searched from the local ip and connected to each other on the lan, and the connection is stopped when a certain number of plc controllers are reached, so that the plc controllers can access each other in an intersecting manner, each plc controller can obtain the data of other plc controllers, and in normal operation, the plc controllers exchange specified stored data with each other to form a multiple data backup by the settings on the tablet computer or the server, and when the server or the platform reads data, upload all the data cached on the local computer at one time, and if the server or the platform obtains the data of the corresponding other plc controllers, it is not necessary to read the corresponding data from the other plc controllers.
S23, if the network setting of the communication network is not received, the controllers adjacent to the communication network are sequentially searched.
For example, 3 plc controllers, controller a, controller B, and controller C, are connected to a tablet computer or a server, respectively, and the three plc controllers scan the controllers adjacent to the IP sequentially without any network setup.
And S25, establishing a communication connection with the adjacent controller so as to interactively store data with the adjacent controller.
Specifically, according to the own IP address, the controllers adjacent to the own IP address are sequentially searched, and communication connection is established with the controllers adjacent to the own IP address.
For example, controller a is connected to controller C and controller B is connected to controller a. The controller A simultaneously stores data of the local computer and the controller C, the controller B simultaneously stores data of the local computer and the controller A, the controller C simultaneously stores data of the local computer and the controller B, the panel simultaneously obtains the data of the A and the data of the C when accessing the controller A during scanning, and then accesses the B to obtain the data of the B and the data of the A because the data of the controller C is obtained in the period, the data are not required to be obtained from the C, and the mutual saved relation and the number can be set by the panel to manually interfere with the backup topological state.
And S26, after receiving the access request from the server, feeding back the data stored by the server and the data of the controller interacting with the server to the server.
The embodiment also provides a data acquisition method, which is applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the acquiring of the data comprises:
after entering a preset scanning time period, sending access requests to a plurality of controllers according to network setting of a communication network and the requirement of data acquisition so as to sequentially access the controllers and acquire data to be accessed to the controllers and data of the controllers which interactively store the data with the data;
and continuing to access the data on the controller which does not interact with the controller to be accessed in the last step, and acquiring the data on the controller.
The following describes the data acquisition method provided in the present embodiment in detail with reference to the drawings. The data acquisition method described in the present embodiment is also applied to the communication network 1 shown in fig. 1.
Please refer to fig. 2B, which is a flowchart illustrating an exemplary data acquisition method. As shown in fig. 2B, the data obtaining method specifically includes the following steps:
s21', after entering the predetermined scanning time period, sending access requests to the plurality of controllers according to the network settings of the communication network and the requirement of acquiring data, so as to perform sequential access to the controllers, so as to acquire data on the controllers to be accessed and data of the controllers which interactively store data with the controllers.
In this embodiment, after receiving the access request, the controller to be accessed feeds back data stored by itself and data of the controller interacting with the controller to store the data to the server.
For example, when the tablet computer accesses the controller a, the data of the controller a and the controller C which interactively stores the data with the controller a are simultaneously obtained, and then the access controller B obtains the data of the controller B and the controller a which interactively stores the data with the controller B.
S22 ', data on the controller that did not interact with the controller to be accessed in S21' is continuously accessed, and the data stored on the controller is retrieved.
For example, controller D does not interactively store data with controller A and controller B, and continues to access controller D to obtain the data stored on controller D.
The interactive storage method of data and the data acquisition method provided by the embodiment can reduce the requirements of storage and database operation of an industrial panel, a panel computer or a server can be simply connected with a controller to set and collect and display current data and historical data, multiple backups can also effectively restore data before failure under the condition that one controller fails, the functions of database storage and redundancy of the panel can be better realized by using network throughput and storage space under the conditions that the network bandwidth is larger and the storage space on the controller is larger and larger at present, and meanwhile, a plurality of panels can be supported to display data simultaneously.
The present embodiment also provides a readable storage medium (also referred to as a computer-readable storage medium) on which a computer program is stored, which when executed by a processor implements the interactive storage method of the data or the acquisition method of the data.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Example two
The embodiment provides an interactive storage system of data, which is applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the interactive storage system of the data comprises:
the first judgment module is used for judging whether network setting of the communication network from the server side is received or not after the controller is started; if so, calling a first processing module to search the controller associated with the first processing module according to the network setting, and establishing communication connection with the controller associated with the first processing module through a first communication module so as to interactively store data with the associated controller; if not, calling the first processing module to sequentially search the controllers adjacent to the first processing module, and establishing communication connection with the adjacent controllers through the first communication module so as to interactively store data with the adjacent controllers.
The embodiment also provides a data acquisition system, which is applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the data acquisition system comprises:
the second processing module sends access requests to the controllers according to network setting of a communication network and requirements for acquiring data after entering a preset scanning time period so as to access the controllers in sequence, and acquires data on the controller to be accessed and data of the controller for interactively storing the data through the second communication module;
and the second processing module continues to access the data on the controller which is not interacted with the controller to be accessed so as to acquire the data stored on the controller through the second communication module.
The interactive storage system of data and the data acquisition system provided by the present embodiment will be described in detail with reference to the drawings. It should be noted that the following division of the modules of the data interaction storage system and the data acquisition system is only a division of logical functions, and all or part of the actual implementation may be integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the following functions of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, the steps of the above method or the following modules may be implemented by hardware integrated logic circuits in a processor element or instructions in software.
For example, the following modules may be one or more integrated circuits configured to implement the above methods, e.g.: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when a module is implemented as a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Please refer to fig. 3, which is an interactive schematic diagram of the interactive storage system and the data acquisition system. As shown in fig. 3, the interactive data storage system 31 includes a first determining module 311, a first processing module 312, and a first communication module 313.
The first determining module 311 is configured to determine whether to receive a network setting of the communication network from the server after the controller is started; if yes, the first processing module 312 searches for a controller associated with the network setting after receiving the network setting of the communication network; establishing a communication connection with the associated controller through the first communication module 313 coupled with the first processing module 312 to exchange stored data with the associated controller. If not, the first processing module 312 sequentially searches for the controllers adjacent to the first processing module if the network setting of the communication network is not received; a communication connection is established with the neighboring controller through a first communication module 313 coupled with the first processing module 312 to exchange the stored data with the neighboring controller. In this embodiment, the network settings of the communication network include the number of controllers in the communication network, the network topology of the communication network, and/or the IP address of each controller.
After the first communication module 313 receives the access request from the server, it feeds back the data stored by itself and the data of the controller interacting with the server to the server.
With continued reference to fig. 3, the data acquisition system 32 includes a second processing module 321 and a second communication module 322.
The second processing module 321 is configured to send access requests to the plurality of controllers according to network settings of the communication network and requirements for acquiring data after entering a predetermined scanning time period, so as to perform sequential access on the controllers, and acquire data on the controller to be accessed and data of the controller interacting with the controller to store the data through the second communication module 322 coupled to the second processing module 321.
In this embodiment, after receiving the access request, the controller to be accessed feeds back data stored by itself and data of the controller interacting with the controller to store the data to the server.
After obtaining the data on the controller to be accessed and the data of the controller interacting with the controller to store the data, the second processing module 321 continues to access the data on the controller not interacting with the controller to be accessed, and obtains the data stored on the controller.
EXAMPLE III
This embodiment provides a terminal, the terminal includes: a processor, a memory, a transceiver, a communication interface, and a system bus; the memory is used for storing the computer program, the communication interface is used for communicating with other devices, and the processor and the transceiver are used for operating the computer program, so that the terminal executes the steps of the above data interactive storage method or the data acquisition method. In this embodiment, the terminal executing the interactive storage method of data is a controller. The terminal executing the data acquisition method is a server.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The memory may include a Random Access Memory (RAM), and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In summary, the interactive storage/acquisition method/system for data, the readable storage medium and the terminal provided by the invention can reduce the requirements for storage and database operation of an industrial tablet, a tablet computer or a server can set and collect and display current data and historical data by simply connecting with a controller, multiple backups can effectively restore data before failure under the condition that one controller fails, and under the conditions that the network bandwidth is getting larger and the storage space on the controller is getting larger, the functions of database storage and redundancy of the tablet can be better realized by using the network throughput and the storage space, and meanwhile, a plurality of tablets can be supported to display data simultaneously. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (9)

1. The interactive storage method of the data is characterized by being applied to a communication network comprising a plurality of controllers and a server side which is in communication connection with the controllers; the interactive storage method of the data comprises the following steps:
after the controller is started, judging whether network setting of the communication network from the server side is received or not; if so, searching a controller associated with the network according to the network setting, and establishing communication connection with the controller associated with the network setting so as to interactively store data with the associated controller; if not, continuing the next step;
sequentially searching controllers adjacent to the controllers, and establishing communication connection with the adjacent controllers so as to interactively store data with the adjacent controllers;
wherein the network settings of the communication network comprise the number of controllers in the communication network, the network topology of the communication network and/or the IP address of each controller.
2. The method according to claim 1, wherein the step of sequentially searching the controllers adjacent to the controller and establishing communication connection with the adjacent controllers is sequentially searching the controllers adjacent to the own IP address and establishing communication connection with the controllers adjacent to the own IP address according to the own IP address.
3. The method for interactively storing data according to claim 1, further comprising feeding back the data stored by itself and the data of the controller interactively storing the data with the data to the server after receiving the access request from the server.
4. The data acquisition method is characterized by being applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the data acquisition method comprises the following steps:
after entering a preset scanning time period, sending access requests to a plurality of controllers according to network setting of a communication network and the requirement of data acquisition so as to sequentially access the controllers to acquire data on the controller to be accessed and data of the controller which interactively stores the data with the controller; the network settings of the communication network comprise the number of controllers in the communication network, the network topology of the communication network and/or the IP address of each controller;
and continuing to access the data on the controller which is not interacted with the controller to be accessed in the last step, and acquiring the data stored on the controller.
5. The interactive data storage system is characterized by being applied to a communication network comprising a plurality of controllers and a server side in communication connection with the controllers; the interactive storage system of the data comprises:
the first judgment module is used for judging whether network setting of the communication network from the server side is received or not after the controller is started; if so, calling a first processing module to search the controller associated with the first processing module according to the network setting, and establishing communication connection with the controller associated with the first processing module through a first communication module so as to interactively store data with the associated controller; if not, calling the first processing module to sequentially search for the controllers adjacent to the first processing module, and establishing communication connection with the adjacent controllers through the first communication module so as to interactively store data with the adjacent controllers;
wherein the network settings of the communication network comprise the number of controllers in the communication network, the network topology of the communication network and/or the IP address of each controller.
6. The system according to claim 5, wherein the first processing module feeds back, to the server, the data stored therein and the data of the controller interacting with the first processing module after receiving the access request from the server.
7. The data acquisition system is characterized by being applied to clothes comprising a plurality of controllers and in communication connection with the controllers
A communication network of the service end; the data acquisition system comprises:
the second processing module sends access requests to the controllers according to network setting of a communication network and requirements for acquiring data after entering a preset scanning time period so as to access the controllers in sequence, and acquires data on the controller to be accessed and data of the controller for interactively storing the data through the second communication module; wherein the network settings of the communication network comprise the number of controllers in the communication network, the network topology of the communication network and/or the IP address of each controller;
and the second processing module continues to access the data on the controller which is not interacted with the controller to be accessed so as to acquire the data stored on the controller through the second communication module.
8. A readable storage medium on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out a method of interactive storage of data according to any one of claims 1 to 3 or a method of retrieving data according to claim 4.
9. A terminal, comprising: a processor and a memory;
the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the terminal to execute the interactive storage method of the data according to any one of claims 1 to 3 or the acquisition method of the data according to claim 4.
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 CN108881424A (en) 2018-11-23
CN108881424B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595844B (en) * 2021-08-03 2022-07-08 北京国科天迅科技有限公司 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

Also Published As

Publication number Publication date
CN108881424A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
JP6756924B2 (en) Blockchain-based consensus methods and devices
US10642704B2 (en) Storage controller failover system
US8219719B1 (en) SAS controller with persistent port configuration
US20140181035A1 (en) Data management method and information processing apparatus
CN112130748B (en) Data access method, network card and server
US10789141B2 (en) Information processing device and information processing method
CN108881424B (en) Interactive storage/acquisition method/system of data, readable storage medium and terminal
KR20180109921A (en) Data storage and service processing methods and devices
US9940044B2 (en) Method, apparatus or software for transferring a storage replication system between storage systems
CN111737063B (en) Disk lock arbitration method, device, equipment and medium for double-control brain fracture
CN112015595B (en) Master-slave database switching method, computing device and storage medium
CN112711466B (en) Hanging affair inspection method and device, electronic equipment and storage medium
CN112835516B (en) RAID card monitoring management method, system and device
US11029882B2 (en) Secure multiple server access to a non-volatile storage device
US20160162559A1 (en) System and method for providing instant query
CN112749045A (en) Database cluster switching method, device, storage medium and apparatus
CN112711384A (en) Data storage method and device based on multiple storage devices
US12001450B2 (en) Distributed table storage processing method, device and system
US7584271B2 (en) Method, system, and computer readable medium for delaying the configuration of a shared resource
US20230030856A1 (en) Distributed table storage processing method, device and system
CN116743397A (en) Cluster access method and device, storage medium and electronic equipment
JP6445387B2 (en) Semiconductor device and memory inspection method
CN114168083A (en) Data storage system and method and electronic equipment
CN115168405A (en) Data processing method, storage medium and equipment of database cluster
US20200159918A1 (en) Computer system and device management method

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