Data synchronization method and device, electronic equipment and storage medium
1. A method of data synchronization, comprising:
acquiring data to be synchronized;
creating a data synchronization task of the data to be synchronized based on the data to be synchronized;
writing the created data synchronization task into a message queue;
calling a synchronization server to read the data synchronization task in the message queue, and carrying out data synchronization according to the data synchronization task;
and receiving the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service, and storing the data synchronization task execution state information and the data synchronization task execution log in a database.
2. The method of claim 1, wherein the creating a data synchronization task for the data to be synchronized based on the data to be synchronized comprises:
determining a data synchronization mode and a data synchronization period of the data to be synchronized based on the data to be synchronized;
and creating a data synchronization task of the data to be synchronized according to the synchronization mode and the synchronization period of the data to be synchronized.
3. The method of claim 1, wherein before writing the created data sync task to a message queue, further comprising:
and performing data encapsulation on the created data synchronization task.
4. The method of claim 1, wherein the invoking sync server reading the data sync task in the message queue and performing data synchronization according to the data sync task comprises:
the synchronization server is called to analyze the data synchronization task in the message queue to obtain a data synchronization mode and a data synchronization period corresponding to the data synchronization task;
calling the synchronization server to find out the synchronization plug-in corresponding to the data synchronization task according to the data synchronization mode corresponding to the data synchronization task;
and calling the synchronization server to perform data synchronization operation according to the data synchronization period of the data synchronization task by using the searched synchronization plug-in.
5. The method of claim 1, wherein after receiving the data synchronization task execution status information and the data synchronization task execution log sent by the synchronization service, the method further comprises:
reading data synchronization task execution state information and a data synchronization task execution log sent by the synchronization service, and judging whether the data synchronization task is normally executed or not;
and if the data synchronization task is judged not to be normally executed, generating alarm information and sending the alarm information to the client.
6. An apparatus for data synchronization, comprising:
an acquisition unit for acquiring data to be synchronized;
the creating unit is used for creating a data synchronization task of the data to be synchronized based on the data to be synchronized;
the data writing unit is used for writing the created data synchronization task into a message queue;
the calling unit is used for calling a synchronization server to read the data synchronization task in the message queue and carry out data synchronization according to the data synchronization task;
and the receiving unit is used for receiving the data synchronization task execution state information and the data synchronization task execution log which are sent by the synchronization service and storing the data synchronization task execution state information and the data synchronization task execution log in a database.
7. The apparatus of claim 6, wherein the creating unit comprises:
the determining subunit is used for determining a data synchronization mode and a data synchronization period of the data to be synchronized based on the data to be synchronized;
and the creating subunit is used for creating a data synchronization task of the data to be synchronized according to the synchronization mode and the synchronization cycle of the data to be synchronized.
8. The apparatus of claim 6, wherein the invoking unit comprises:
the analysis subunit is used for calling the synchronization server to analyze the data synchronization task in the message queue to obtain a data synchronization mode and a data synchronization period corresponding to the data synchronization task;
the searching subunit is used for calling the synchronization server to search the synchronization plug-in corresponding to the data synchronization task according to the data synchronization mode corresponding to the data synchronization task;
and the execution subunit is used for calling the synchronization server to perform data synchronization operation according to the data synchronization period of the data synchronization task by using the searched synchronization plug-in.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-5.
10. A computer storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any one of claims 1 to 5.
Background
In the current internet era, the data access demand of many enterprises is rapidly increased, the used data is more and more, and the demand of offline data synchronization is more and more. A single core database cannot support larger and larger concurrent operations, and for this reason, many enterprises establish a plurality of cross-regional target databases, and transfer a large amount of business data from the core database to the corresponding target databases. In order to ensure the normal operation of enterprise business, the data synchronization between the core database and the target database of each region needs to be realized, and the integrity and consistency of the data are ensured.
In the prior art, when data synchronization is performed, a single synchronization server is generally used for data synchronization, when the traffic volume is increased and the single synchronization server cannot support the data synchronization, a data synchronization task needs to be allocated to a plurality of synchronization servers for processing, and at this time, the data synchronization task needs to be manually established and allocated to each synchronization server. After the data synchronization tasks are distributed to the plurality of servers, the information on the execution state of each data synchronization task is known only to the corresponding synchronization server. Therefore, the problems that the efficiency of data synchronization is low, the information of the data synchronization is dispersed, and unified management and monitoring cannot be achieved in the prior art are caused.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for data synchronization, an electronic device, and a storage medium, so as to solve the problems in the prior art that the efficiency of data synchronization is low, the information of data synchronization is relatively dispersed, and unified management and monitoring cannot be performed.
In order to achieve the above purpose, the present application provides the following technical solutions:
the first aspect of the present application discloses a method for data synchronization, which includes:
acquiring data to be synchronized;
creating a data synchronization task of the data to be synchronized based on the data to be synchronized;
writing the created data synchronization task into a message queue;
calling a synchronization server to read the data synchronization task in the message queue, and carrying out data synchronization according to the data synchronization task;
and receiving the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service, and storing the data synchronization task execution state information and the data synchronization task execution log in a database.
Optionally, in the method, the creating a data synchronization task of the data to be synchronized based on the data to be synchronized includes:
determining a data synchronization mode and a data synchronization period of the data to be synchronized based on the data to be synchronized;
and creating a data synchronization task of the data to be synchronized according to the synchronization mode and the synchronization period of the data to be synchronized.
Optionally, in the foregoing method, before writing the created data synchronization task into the message queue, the method further includes:
and performing data encapsulation on the created data synchronization task.
Optionally, in the method, the invoking the synchronization server to read the data synchronization task in the message queue and perform data synchronization according to the data synchronization task includes:
the synchronization server is called to analyze the data synchronization task in the message queue to obtain a data synchronization mode and a data synchronization period corresponding to the data synchronization task;
calling the synchronization server to find out the synchronization plug-in corresponding to the data synchronization task according to the data synchronization mode corresponding to the data synchronization task;
and calling the synchronization server to perform data synchronization operation according to the data synchronization period of the data synchronization task by using the searched synchronization plug-in.
Optionally, in the foregoing method, after receiving the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service, the method further includes:
reading data synchronization task execution state information and a data synchronization task execution log sent by the synchronization service, and judging whether the data synchronization task is normally executed or not;
and if the data synchronization task is judged not to be normally executed, generating alarm information and sending the alarm information to the client.
A second aspect of the present application discloses an apparatus for data synchronization, comprising:
an acquisition unit for acquiring data to be synchronized;
the creating unit is used for creating a data synchronization task of the data to be synchronized based on the data to be synchronized;
the data writing unit is used for writing the created data synchronization task into a message queue;
the calling unit is used for calling a synchronization server to read the data synchronization task in the message queue and carry out data synchronization according to the data synchronization task;
and the receiving unit is used for receiving the data synchronization task execution state information and the data synchronization task execution log which are sent by the synchronization service and storing the data synchronization task execution state information and the data synchronization task execution log in a database.
Optionally, in the foregoing apparatus, the creating unit includes:
the determining subunit is used for determining a data synchronization mode and a data synchronization period of the data to be synchronized based on the data to be synchronized;
and the creating subunit is used for creating a data synchronization task of the data to be synchronized according to the synchronization mode and the synchronization cycle of the data to be synchronized.
Optionally, the above apparatus further includes:
and the packaging unit is used for carrying out data packaging on the created data synchronization task.
Optionally, in the foregoing apparatus, the invoking unit includes:
the analysis subunit is used for calling the synchronization server to analyze the data synchronization task in the message queue to obtain a data synchronization mode and a data synchronization period corresponding to the data synchronization task;
the searching subunit is used for calling the synchronization server to search the synchronization plug-in corresponding to the data synchronization task according to the data synchronization mode corresponding to the data synchronization task;
and the execution subunit is used for calling the synchronization server to perform data synchronization operation according to the data synchronization period of the data synchronization task by using the searched synchronization plug-in.
Optionally, the above apparatus further includes:
a judging unit, configured to read data synchronization task execution state information and a data synchronization task execution log sent by the synchronization service, and judge whether the data synchronization task is normally executed;
and the sending unit is used for generating alarm information and sending the alarm information to the client if the data synchronization task is judged not to be normally executed.
A third aspect of the present application discloses an electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of the first aspects of the present application.
A fourth aspect of the present application discloses a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any of the first aspects of the present application.
According to the technical scheme, the management background firstly acquires the data to be synchronized, then creates the data synchronization task of the data to be synchronized based on the data to be synchronized, and writes the created data synchronization task into the message queue. And calling a synchronization server to read the data synchronization task in the message queue and carry out data synchronization according to the data synchronization task. And in the data synchronization process, receiving the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization server, and storing the data synchronization task execution state information and the data synchronization task execution log in a database. Therefore, by the method, the data synchronization task can be uniformly created through the management background, each synchronization server is called to execute the data synchronization task, the data synchronization efficiency is improved, and the data synchronization state is monitored through the data returned by the synchronization servers. The problems that in the prior art, the efficiency of data synchronization is low, the information of the data synchronization is dispersed, and unified management and monitoring cannot be achieved are solved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for data synchronization according to an embodiment of the present application;
FIG. 2 is a system architecture diagram of a method for application data synchronization as disclosed in another embodiment of the present application;
FIG. 3 is a flowchart of one implementation of step S104 disclosed in another embodiment of the present application;
FIG. 4 is a schematic diagram of an apparatus for data synchronization according to another embodiment of the present disclosure;
fig. 5 is a schematic diagram of an electronic device according to another embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Moreover, in this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
As known from the background art, when data synchronization is performed, a single synchronization server is usually used for data synchronization, and when traffic increases and the single synchronization server cannot support the traffic, data synchronization tasks need to be distributed to multiple synchronization servers for processing, and at this time, the data synchronization tasks need to be manually established and distributed to each synchronization server. After the data synchronization tasks are distributed to the plurality of servers, the information on the execution state of each data synchronization task is known only to the corresponding synchronization server. Therefore, the problems that the efficiency of data synchronization is low, the information of the data synchronization is dispersed, and unified management and monitoring cannot be achieved in the prior art are caused.
In view of this, the present application provides a data synchronization method, an apparatus, an electronic device, and a storage medium, so as to solve the problems in the prior art that the efficiency of data synchronization is low, the information of data synchronization is relatively dispersed, and unified management and monitoring cannot be performed.
An embodiment of the present application provides a data synchronization method, which is specifically shown in fig. 1, and may include:
s101, acquiring data to be synchronized.
It should be noted that, during data synchronization, the management background acquires data to be synchronized through the configured data source.
For ease of understanding, the present embodiment provides a system architecture diagram for data synchronization, see FIG. 2. On the management background, functions of adding a data source, creating a synchronous task, checking task state, creating a task monitoring alarm, managing a synchronous plug-in and the like can be realized. The metadatabase is a relational database and is used for storing information such as data sources, synchronous tasks, task running states and the like. The message queue is used for storing the current task to be synchronized, data is written in by the management background, and the data is consumed by the synchronization server, so that the decoupling effect among the components is achieved. The synchronous server can consume the task information in the message queue, execute the synchronous task plan and report the task state to the management background. Synchronization plug-ins include various types of synchronization plug-ins, such as databases, files scp, ftp, rsync, api interfaces, and the like. Through the plugins, the cluster really obtains the synchronization function of various modes. The plug-in adopts a hot plug mode, and when a new synchronization mode is needed, the plug-in can be added into the cluster for use only after the relevant functions are realized.
S102, based on the data to be synchronized, a data synchronization task of the data to be synchronized is created.
It should be noted that after the data to be synchronized is acquired, the management background creates a data synchronization task of the data to be synchronized, where the data synchronization task includes specifying a data source, a data synchronization mode, a plug-in used for data synchronization, a data synchronization period, and other contents.
Optionally, in another embodiment of the present application, an implementation manner of step S102 may include:
and determining a data synchronization mode and a data synchronization period of the data to be synchronized based on the data to be synchronized.
And creating a data synchronization task of the data to be synchronized according to the synchronization mode and the synchronization period of the data to be synchronized.
It should be noted that after the data to be synchronized is acquired, a data synchronization mode of the data to be synchronized is determined based on the data to be synchronized. And simultaneously, determining the data synchronization period of the data to be synchronized according to the data content. Then, a data synchronization task of the data to be synchronized is created according to the data synchronization mode of the data to be synchronized and the data synchronization period of the data to be synchronized, and the synchronization server can synchronize the data according to the content of the data synchronization task.
S103, writing the created data synchronization task into a message queue.
It should be noted that, after the data content of the data to be synchronized is created, the created data synchronization task is written into the message queue, and the synchronization server can acquire the created data synchronization task from the message queue.
Optionally, in another embodiment of the present application, before performing step S103, the method may further include:
and performing data encapsulation on the created data synchronization task.
It should be noted that, in order to reliably and accurately send data to a target address and efficiently utilize transmission resources, a created data synchronization task is data-encapsulated, and then the encapsulated data synchronization task is written into a message queue.
And S104, calling the synchronization server to read the data synchronization task in the message queue, and synchronizing the data according to the data synchronization task.
It should be noted that, after the management background writes the created data synchronization task into the message queue, the synchronization server is called to read the data synchronization task in the message queue, and then the read data synchronization task is analyzed, and data synchronization operation is performed on the data to be synchronized according to the data synchronization mode, the data synchronization period, and other contents in the data synchronization task.
Optionally, in another embodiment of the present application, an implementation manner of step S104, as shown in fig. 3, may include:
s301, calling a synchronization server to analyze the data synchronization task in the message queue to obtain a data synchronization mode and a data synchronization period corresponding to the data synchronization task.
It should be noted that, after acquiring the data synchronization task in the message queue, the synchronization server analyzes the data synchronization task to obtain a data synchronization mode and a data synchronization period corresponding to the data synchronization task.
S302, calling a synchronization server to find out the synchronization plug-in corresponding to the data synchronization task according to the data synchronization mode corresponding to the data synchronization task.
It should be noted that, the synchronization server finds out the synchronization plug-in required by the current data synchronization mode according to the data synchronization mode corresponding to the data synchronization task.
And S303, calling the synchronization server to perform data synchronization operation according to the data synchronization period of the data synchronization task by using the searched synchronization plug-in.
It should be noted that, the synchronization server configures the synchronization plug-in according to the found synchronization plug-in, and then executes the data synchronization operation of the data to be synchronized within the time period corresponding to the data synchronization task according to the data synchronization period of the data synchronization task.
And S105, receiving the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service, and storing the data synchronization task execution state information and the data synchronization task execution log in a database.
It should be noted that, when executing the data synchronization task, the synchronization server generates an execution log of the data synchronization task, and sends the information of the execution state of the data synchronization task and the execution log of the data synchronization task to the management background according to a preset period. After the management background receives the information of the execution state of the data synchronization task and the execution log of the data synchronization task, the execution state of the data synchronization task can be monitored, and the information of the execution state of the data synchronization task and the execution log of the data synchronization task are stored in the database. The user can see the execution state and the log of each data task and the historical data of other data synchronization tasks in the management background.
Optionally, in another embodiment of the present application, after receiving the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service in step S105, the method may further include:
and reading the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service, and judging whether the data synchronization task is normally executed.
And if the data synchronization task is judged not to be normally executed, generating alarm information and sending the alarm information to the client.
It should be noted that, after receiving the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization server, the management background reads the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service, and determines whether the data synchronization task is normally executed. And if the data synchronization task is judged not to be normally executed, generating alarm information, and sending the alarm information to the client to prompt that the data synchronization task is abnormal in state.
The embodiment of the application provides a data synchronization method, wherein a management background firstly acquires data to be synchronized, then creates a data synchronization task of the data to be synchronized based on the data to be synchronized, and writes the created data synchronization task into a message queue. And calling a synchronization server to read the data synchronization task in the message queue and carry out data synchronization according to the data synchronization task. And in the data synchronization process, receiving the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization server, and storing the data synchronization task execution state information and the data synchronization task execution log in a database. Therefore, by the method, the data synchronization task can be uniformly created through the management background, each synchronization server is called to execute the data synchronization task, the data synchronization efficiency is improved, and the data synchronization state is monitored through the data returned by the synchronization servers. The problems that in the prior art, the efficiency of data synchronization is low, the information of the data synchronization is dispersed, and unified management and monitoring cannot be achieved are solved.
In another embodiment of the present application, a data synchronization apparatus is further disclosed, as shown in fig. 4, including:
an obtaining unit 401 is configured to obtain data to be synchronized.
A creating unit 402, configured to create a data synchronization task of the data to be synchronized based on the data to be synchronized.
And a data writing unit 403, configured to write the created data synchronization task into the message queue.
The invoking unit 404 is configured to invoke a data synchronization task in the synchronization server read message queue, and perform data synchronization according to the data synchronization task.
The receiving unit 405 is configured to receive the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service, and store the data synchronization task execution state information and the data synchronization task execution log in the database.
In this embodiment, for specific execution processes of the obtaining unit 401, the creating unit 402, the data writing unit 403, the calling unit 404, and the receiving unit 405, reference may be made to the contents of the method embodiment corresponding to fig. 1, and details are not described here.
An obtaining unit 401 first obtains data to be synchronized, a creating unit 402 creates a data synchronization task of the data to be synchronized based on the data to be synchronized, and a data writing unit 403 writes the created data synchronization task into a message queue. The invoking unit 404 invokes a data synchronization task in the synchronization server read message queue, and performs data synchronization according to the data synchronization task. In the data synchronization process, the receiving unit 405 receives the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization server, and stores the data synchronization task execution state information and the data synchronization task execution log in the database. Therefore, by the method, the data synchronization task can be uniformly created through the management background, each synchronization server is called to execute the data synchronization task, the data synchronization efficiency is improved, and the data synchronization state is monitored through the data returned by the synchronization servers. The problems that in the prior art, the efficiency of data synchronization is low, the information of the data synchronization is dispersed, and unified management and monitoring cannot be achieved are solved.
Optionally, in another embodiment of the present application, an implementation manner of the creating unit 402 may include:
and the determining subunit is used for determining the data synchronization mode and the data synchronization period of the data to be synchronized based on the data to be synchronized.
And the creating subunit is used for creating a data synchronization task of the data to be synchronized according to the synchronization mode and the synchronization period of the data to be synchronized.
In this embodiment, for the specific execution process of determining the sub-unit and creating the sub-unit, reference may be made to the content of the corresponding method embodiment described above, and details are not described here again.
Optionally, in another embodiment of the present application, the apparatus for data synchronization may further include:
and the packaging unit is used for packaging the created data synchronization task.
In this embodiment, the specific execution process of the encapsulation unit may refer to the content of the corresponding method embodiment described above, and is not described herein again.
Optionally, in another embodiment of the present application, an implementation manner of the invoking unit 404 may include:
and the analysis subunit is used for calling the synchronization server to analyze the data synchronization task in the message queue to obtain a data synchronization mode and a data synchronization period corresponding to the data synchronization task.
And the searching subunit is used for calling the synchronization server to search the synchronization plug-in corresponding to the data synchronization task according to the data synchronization mode corresponding to the data synchronization task.
And the execution subunit is used for calling the synchronization server to perform data synchronization operation according to the data synchronization period of the data synchronization task by using the searched synchronization plug-in.
In this embodiment, the specific execution processes of the parsing subunit, the searching subunit, and the executing subunit may refer to the content of the method embodiment corresponding to fig. 3, which is not described herein again.
Optionally, in another embodiment of the present application, the apparatus for data synchronization may further include:
and the judging unit is used for reading the data synchronization task execution state information and the data synchronization task execution log sent by the synchronization service and judging whether the data synchronization task is normally executed or not.
And the sending unit is used for generating alarm information and sending the alarm information to the client if the data synchronization task is judged not to be normally executed.
In this embodiment, for the specific execution processes of the determining unit and the sending unit, reference may be made to the contents of the corresponding method embodiments described above, and details are not described here.
Another embodiment of the present application further provides an electronic device, as shown in fig. 5, specifically including:
one or more processors 501.
A storage device 502 on which one or more programs are stored.
The one or more programs, when executed by the one or more processors 501, cause the one or more processors 501 to implement the method of any of the embodiments described above.
Another embodiment of the present application further provides a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of the above embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
While the operations in the above embodiments are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
In embodiments of the present application, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种变电站数字孪生的实时同步方法和装置