CN116821046B - Automatic synchronization method, device, equipment and medium for data among heterogeneous units - Google Patents

Automatic synchronization method, device, equipment and medium for data among heterogeneous units Download PDF

Info

Publication number
CN116821046B
CN116821046B CN202311084019.4A CN202311084019A CN116821046B CN 116821046 B CN116821046 B CN 116821046B CN 202311084019 A CN202311084019 A CN 202311084019A CN 116821046 B CN116821046 B CN 116821046B
Authority
CN
China
Prior art keywords
data
queue
original
size
accommodating
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
CN202311084019.4A
Other languages
Chinese (zh)
Other versions
CN116821046A (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 Suiyuan Intelligent Technology Co ltd
Original Assignee
Shanghai Suiyuan Intelligent Technology 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 Suiyuan Intelligent Technology Co ltd filed Critical Shanghai Suiyuan Intelligent Technology Co ltd
Priority to CN202311084019.4A priority Critical patent/CN116821046B/en
Publication of CN116821046A publication Critical patent/CN116821046A/en
Application granted granted Critical
Publication of CN116821046B publication Critical patent/CN116821046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/7825Globally asynchronous, locally synchronous, e.g. network on chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device, equipment and a medium for automatically synchronizing data among heterogeneous units. The method comprises the following steps: after receiving a data synchronization triggering instruction, determining an original data position and an original data size of data to be synchronized in an original queue according to a first initial address, a first writing position and a first reading position corresponding to the original queue; determining a data accommodating position capable of accommodating data in the mirror image queue and an accommodating data size according to a second initial address, a second writing position and a second reading position corresponding to the mirror image queue; and determining the target length of the target synchronous data in the original queue according to the data relationship of the original data size and the accommodating data size, and synchronizing the target synchronous data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue. By the technical scheme, quick data automatic synchronization among heterogeneous units can be realized, and the execution efficiency of the heterogeneous units is improved.

Description

Automatic synchronization method, device, equipment and medium for data among heterogeneous units
Technical Field
The present invention relates to the field of data synchronization technologies, and in particular, to a method, an apparatus, a device, and a medium for automatically synchronizing data between heterogeneous units.
Background
In the existing heterogeneous units between complex heterogeneous systems, such as a main central processing unit (Host Central Processing Unit, host CPU) and different heterogeneous cores (cores) on a System On Chip (SOC), queues are needed to be used for data exchange between two different heterogeneous cores to submit tasks or feedback states.
In the prior art, a buffer queue is often located in a memory that is in close proximity to one of two heterogeneous units. However, since the heterogeneous units need to access the buffer queue frequently, if the buffer queue is located on the memory where one unit is close to the other heterogeneous unit, the delay of accessing the buffer queue by the other heterogeneous unit will increase, which affects the execution efficiency of the heterogeneous units.
Therefore, how to realize fast automatic synchronization of data among heterogeneous units and improve the execution efficiency of the heterogeneous units is a problem to be solved in the present day.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for automatically synchronizing data among heterogeneous units, which can solve the problem of low data synchronization efficiency among the heterogeneous units.
According to an aspect of the present invention, there is provided a method for automatically synchronizing data between heterogeneous units, the method being applied to a heterogeneous architecture including a master device and a slave device, the method comprising:
After receiving a data synchronization triggering instruction, acquiring a first initial address, a first writing position and a first reading position corresponding to an original queue, and a second initial address, a second writing position and a second reading position corresponding to a mirror image queue; the original queue is matched with the master device, and the mirror image queue is matched with the slave device;
determining an original data position and an original data size of data to be synchronized in an original queue according to the first initial address, the first writing position and the first reading position;
determining a data accommodating position and a data accommodating size of the accommodating data in the mirror image queue according to the second initial address, the second writing position and the second reading position;
and determining the target length of the target synchronous data in the original queue according to the data relationship between the original data size and the accommodating data size, and synchronizing the target synchronous data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue.
According to another aspect of the present invention, there is provided an apparatus for automatically synchronizing data between heterogeneous units, the apparatus being applied to a heterogeneous architecture including a master device and a slave device, the apparatus comprising:
The data acquisition module is used for acquiring a first initial address, a first writing position and a first reading position corresponding to the original queue, and a second initial address, a second writing position and a second reading position corresponding to the mirror image queue after receiving the data synchronization triggering instruction; the original queue is matched with the master device, and the mirror image queue is matched with the slave device;
the first determining module is used for determining an original data position and an original data size of data to be synchronized in an original queue according to the first initial address, the first writing position and the first reading position;
the second determining module is used for determining the accommodating data position and the accommodating data size of the accommodating data in the mirror image queue according to the second initial address, the second writing position and the second reading position;
and the data synchronization module is used for determining the target length of the target synchronous data in the original queue according to the data relationship of the original data size and the accommodating data size, and synchronizing the target synchronous data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue.
According to another aspect of the present invention, there is provided an electronic apparatus including:
At least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of auto-synchronization of data among heterogeneous units according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method for automatically synchronizing data between heterogeneous units according to any of the embodiments of the present invention when executed.
According to the technical scheme, after the data synchronization triggering instruction is received, the original data position and the original data size of the data to be synchronized in the original queue are determined according to the first initial address, the first writing position and the first reading position corresponding to the obtained original queue, the accommodating data position and the accommodating data size of the accommodating data in the mirror queue are determined according to the second initial address, the second writing position and the second reading position corresponding to the obtained mirror queue, further, the target length of the target synchronous data in the original queue is determined according to the data relation of the original data size and the accommodating data size, and the target synchronous data with the target length in the original data position in the original queue is synchronized to the accommodating data position of the mirror queue, so that the problem of low data synchronization efficiency among heterogeneous units is solved, rapid automatic data synchronization among the heterogeneous units can be realized, and the execution efficiency of the heterogeneous units is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for automatically synchronizing data between heterogeneous units according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for automatically synchronizing data between heterogeneous units according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of an automatic synchronization flow of data among heterogeneous units according to a second embodiment of the present invention;
FIG. 4 is a flow chart of an alternative method for automatically synchronizing data between heterogeneous units according to a second embodiment of the present invention;
Fig. 5 is a schematic structural diagram of an automatic synchronization device for data among heterogeneous units according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device for implementing a method for automatically synchronizing data between heterogeneous units according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," "target," "original," and the like in the description and claims of the present invention and in the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for automatically synchronizing data between heterogeneous units according to an embodiment of the present invention, where the method may be performed by an automatic synchronization device for data between heterogeneous units in a heterogeneous architecture including a master device and a slave device, and the automatic synchronization device for data between heterogeneous units may be implemented in hardware and/or software, and the automatic synchronization device for data between heterogeneous units may be configured in an electronic device. As shown in fig. 1, the method includes:
s110, after receiving a data synchronization triggering instruction, acquiring a first initial address, a first writing position and a first reading position corresponding to an original queue, and a second initial address, a second writing position and a second reading position corresponding to a mirror image queue; wherein the original queue matches the master and the mirrored queue matches the slave.
The data synchronization trigger instruction may refer to an instruction that triggers execution of data synchronization between heterogeneous units.
Wherein a master device may refer to one of the heterogeneous units in a heterogeneous architecture comprising a plurality of heterogeneous units. The original queue may refer to a buffer queue on the master side. The first initial address may refer to a data storage head address of the original queue. The first write location may refer to an address where the original queue may write the synchronized data during the current data synchronization process. The first read location may refer to an address where the original queue may read the synchronized data during the current data synchronization process.
Wherein a slave device may refer to another heterogeneous unit in a heterogeneous architecture comprising a plurality of heterogeneous units. The mirrored queue may refer to a slave-side buffer queue. The second initial address may refer to a data storage head address of the mirrored queue. The second write location may refer to an address where the mirror queue may write the synchronization data during the current data synchronization process. The second read position may refer to an address where the mirror queue may read the synchronized data during the current data synchronization process.
In an alternative embodiment, the method may further include: writing the data to be synchronized into an original queue through a main equipment software end; and updating a first writing position corresponding to the original queue through the master equipment software end and updating a second reading position corresponding to the mirror image queue through the slave equipment software end, and generating a data synchronization triggering instruction when data to be synchronized in the original queue meets a set synchronization requirement.
The software end may refer to a component triggering to realize data synchronization. The data to be synchronized may refer to data that needs to be data synchronized between two heterogeneous units, i.e., a master device and a slave device. Setting the synchronization requirement may refer to a condition under which the data to be synchronized is evaluated. For example, the set synchronization requirement may be a data accumulation amount of the data to be synchronized, or may be a data waiting time of the data to be synchronized.
Specifically, after the data to be synchronized is written into the original queue through the main equipment software end, the written position is updated to be the first written position corresponding to the original queue. Meanwhile, the slave device software end updates the second reading position corresponding to the mirror image queue after consuming the data in the mirror image queue according to the service execution flow, so that the follow-up data synchronization process can be realized smoothly. Further, whether the newly written data to be synchronized in the original queue reaches a set data accumulation amount or whether the data undetermined time of the data to be synchronized reaches a set time accumulation amount is judged, and when the data to be synchronized is accumulated to the set data accumulation amount or the data undetermined time of the data to be synchronized is accumulated to the set time accumulation amount, a data synchronization trigger instruction can be issued to the hardware acceleration unit to instruct to start the data synchronization process.
In an alternative embodiment, before the data to be synchronized is written into the original queue by the software end of the master device, the method further includes: constructing an original queue through a master device, caching and storing the original queue corresponding to the original queue into a first memory corresponding to the master device, and issuing a preset default instruction to a slave device; and receiving the preset default instruction by the slave device, constructing a mirror image queue according to the preset default instruction, and caching and storing the mirror image queue corresponding to the mirror image queue into a second memory corresponding to the slave device.
The original queue cache may refer to a queue cache that includes an original queue. The first memory may refer to a memory on the CPU side in the host device. The default instruction may refer to a communication instruction pre-agreed between the master device and the slave device. Mirrored queue caches may refer to queue caches that contain mirrored queues. The second memory may refer to a memory on the CPU side in the slave device.
It is noted that the original queue and the original queue cache, and the mirror queue cache may be understood as different storage forms. In the embodiment of the invention, the original queue cache can be regarded as an original queue, and the mirror queue cache can be regarded as a mirror queue, so that the understanding is convenient.
Specifically, after the master device stores the built original queue in the first memory corresponding to the master device, a preset default instruction is sent to the slave device to inform the slave device that a mirror image queue needs to be built, and after the slave device builds the mirror image queue and stores the mirror image queue in the second memory corresponding to the slave device, feedback is also carried out to the master device through the preset default instruction. Therefore, the construction of the original queue and the mirror image queue is completed, so that when the master device and the slave device perform data synchronization, only one buffer queue is not needed, and the execution efficiency of the heterogeneous unit is improved.
S120, determining the original data position and the original data size of the data to be synchronized in the original queue according to the first initial address, the first writing position and the first reading position.
The original data position may refer to a first segment data reading position of data to be synchronized in the original queue. The original data size may refer to the data length of the data to be synchronized in the original queue.
S130, determining the accommodating data position and the accommodating data size of the accommodating data in the mirror image queue according to the second initial address, the second writing position and the second reading position.
Where the hold data location may refer to a first segment data storage location in the mirror queue where data may be held. The hold data size may refer to the length of data in the mirrored queue that can hold storage.
And S140, determining the target length of the target synchronous data in the original queue according to the data relationship of the original data size and the accommodating data size, and synchronizing the target synchronous data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue.
Wherein, the target synchronous data may refer to data that is finally synchronized from the original queue to the mirror queue. Typically, the target synchronization data is included in the data to be synchronized. The target length may refer to a data length of the target synchronization data.
Specifically, after determining the original data position and the original data size of the data to be synchronized in the original queue and the accommodating data position and the accommodating data size of the accommodating data in the mirror queue, the data relationship between the original data size and the accommodating data size can be utilized to determine the target length of the target synchronization data for final data synchronization, further, the target synchronization data with the target length is obtained from the original data position in the original queue, and the target synchronization data is synchronized to the accommodating data position of the mirror queue, so as to complete the data synchronization among heterogeneous units.
According to the technical scheme, after the data synchronization triggering instruction is received, the original data position and the original data size of the data to be synchronized in the original queue are determined according to the first initial address, the first writing position and the first reading position corresponding to the obtained original queue, the accommodating data position and the accommodating data size of the accommodating data in the mirror queue are determined according to the second initial address, the second writing position and the second reading position corresponding to the obtained mirror queue, further, the target length of the target synchronous data in the original queue is determined according to the data relation of the original data size and the accommodating data size, and the target synchronous data with the target length in the original data position in the original queue is synchronized to the accommodating data position of the mirror queue, so that the problem of low data synchronization efficiency among heterogeneous units is solved, rapid automatic data synchronization among the heterogeneous units can be realized, and the execution efficiency of the heterogeneous units is improved.
Example two
Fig. 2 is a flowchart of an automatic synchronization method for data between heterogeneous units according to a second embodiment of the present invention, where the method is based on the above embodiment, and in this embodiment, the method specifically includes the steps of determining an original data position and an original data size of data to be synchronized in an original queue according to the first initial address, the first writing position and the first reading position, and the method specifically includes: determining an original data position of data to be synchronized in an original queue according to a summation result of the first initial address and the first reading position; and determining the original data size of the data to be synchronized in the original queue according to the data comparison result of the first writing position and the first reading position and the numerical value calculation result of the first writing position and the first reading position. As shown in fig. 2, the method includes:
s210, after receiving a data synchronization triggering instruction, acquiring a first initial address, a first writing position and a first reading position corresponding to an original queue, and a second initial address, a second writing position and a second reading position corresponding to a mirror image queue; wherein the original queue matches the master and the mirrored queue matches the slave.
Specifically, after receiving the data synchronization triggering instruction, a first initial address, a first writing position and a first reading position corresponding to the original queue of the main equipment side, and a second initial address, a second writing position and a second reading position corresponding to the mirror image queue of the slave equipment side can be obtained, so that an effective basis is provided for subsequent data synchronization.
S220, determining the original data position of the data to be synchronized in the original queue according to the summation result of the first initial address and the first reading position.
Specifically, the first initial address of the original queue and the first read address are summed to obtain a summation result, and the summation result is used as an original data position of data to be synchronized in the original queue.
S230, determining the original data size of the data to be synchronized in the original queue according to the data comparison result of the first writing position and the first reading position and the numerical value calculation result of the first writing position and the first reading position.
The data comparison result of the first writing position and the first reading position may refer to a data size comparison result of the first writing position and the first reading position.
In an alternative embodiment, determining the original data size of the data to be synchronized in the original queue according to the data comparison result of the first writing position and the first reading position and the numerical calculation result of the first writing position and the first reading position includes: if the first writing position is higher than the first reading position, taking a first difference result between the first writing position and the first reading position as the original data size of the data to be synchronized in the original queue; if the first writing position is lower than the first reading position, determining the original data size of the data to be synchronized in the original queue according to a second difference result between the first queue size of the original queue and the first difference result.
The first difference result may refer to a difference result obtained by subtracting the first reading position from the first writing position when the first writing position is higher than the first reading position.
The first queue size may refer to an initial data storage length of the original queue. The second difference result may refer to a difference result between the first queue size, the first difference result, and a fixed word length when the first write location is lower than the first read location.
For example, if the first queue size is size1, the first write location is wptr1, the first read location is rptr1, and the fixed word length is 4. The first difference result = wptr 1-rptr 1; second difference result = size 1-wptr1+rptr1-4.
It should be noted that, since the original queue buffer corresponding to the original queue is a ring buffer, the first writing position higher than the first reading position may be understood as the first writing position being larger than the first reading position, however, after the buffer is cleared, the first writing position may be smaller than the first reading position, that is, may be understood as the first writing position being lower than the first reading position.
S240, determining the accommodating data position which can accommodate the data in the mirror image queue according to the summation result of the second initial address and the second writing position.
Specifically, the second initial address of the mirror image queue and the second writing position are subjected to summation processing to obtain a summation result, and the summation result is used as a data accommodating position capable of accommodating data in the mirror image queue.
S250, determining the size of the accommodating data which can accommodate the data in the mirror image queue according to the data comparison result between the second writing position and the second reading position and the numerical value calculation result between the second writing position and the second reading position.
The data comparison result between the second writing position and the second reading position may refer to a data size comparison result between the second writing position and the second reading position.
In an alternative embodiment, determining the size of the accommodating data in the mirror queue according to the data comparison result between the second writing position and the second reading position and the numerical calculation result between the second writing position and the second reading position includes: if the second writing position is lower than the second reading position, taking a third difference result between the second writing position and the second reading position as the accommodating data size of the accommodating data in the mirror image queue; and if the second writing position is higher than the second reading position, taking a fourth difference result between the second queue size of the mirror queue and the third difference result as the accommodating data size of the accommodating data in the mirror queue.
The third difference result may be a difference result obtained by subtracting the second reading position from the second writing position when the second writing position is lower than the second reading position.
The second queue size may refer to an initial data storage length of the mirror queue. The fourth difference result may refer to a difference result between the second queue size and the third difference result when the second write position is higher than the second read position.
Illustratively, if the second queue size is size2, the second write location is wptr2 and the second read location is rptr2. Third difference result = wptr 2-rptr 2; fourth difference result = size 2-wptr2+rptr2.
And S260, comparing the original data size and the accommodated data size in a numerical mode, determining a minimum numerical value, and determining the minimum numerical value as the target length of target synchronous data.
Where the minimum value may refer to smaller data between the original data size and the accommodated data size. Because the size of the original data in the original queue may be larger than the size of the accommodated data in the mirror queue, in order to ensure that the target synchronous data can be completely stored in the mirror queue, in the embodiment of the invention, the length of the target synchronous data needs to be determined so as to ensure the integrity of the data synchronization process.
S270, synchronizing the target synchronous data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue.
Specifically, after determining the target length of the target synchronous data, the target synchronous data with the target length can be obtained from the original data position in the original queue, and the target synchronous data is synchronized to the accommodating data position of the mirror image queue, so that the data synchronization among heterogeneous units is completed.
In an alternative embodiment, after synchronizing the target synchronization data of the target length at the original data location in the original queue to the accommodated data location of the mirror queue, the method further includes: sending a parameter updating signal to a target interrupt line; the parameter update signal includes an update read position corresponding to the original queue and an update write position corresponding to the mirror queue.
The target interrupt line may refer to an interrupt line corresponding to each of the heterogeneous units. Updating the read location may refer to the first read location updated after the original queue performs data synchronization. Updating the write location may refer to a second write location updated after the mirror queue performs data synchronization.
The parameter update signal may include an indication signal for updating the parameter after the data synchronization. Typically, after data synchronization, the first read location of the original queue and the second write location of the mirrored queue are automatically updated. In the prior art, the main device is generally required to always inquire the first reading position of the original queue, so that the use efficiency of the buffer queue is reduced, and therefore, the updated reading position corresponding to the original queue and the updated writing position corresponding to the mirror image queue can be sent to the interrupt line of each heterogeneous unit, so that the main device does not need to always inquire, and the use efficiency of the buffer queue is improved.
According to the technical scheme, after a data synchronization triggering instruction is received, the original data position of data to be synchronized in the original queue is determined according to the first initial address and the first reading position corresponding to the obtained original queue, the original data size of the data to be synchronized in the original queue is determined according to the first writing position and the numerical value calculation result of the first reading position, the data accommodating position of the data to be synchronized in the image queue is determined according to the second initial address and the second writing position corresponding to the obtained image queue, the data accommodating size of the data to be accommodated in the image queue is determined according to the numerical value calculation result between the second writing position and the second reading position, the original data size and the accommodating data size are further compared, the minimum numerical value is determined, the target length of the target synchronization data in the original data position is finally determined according to the numerical value calculation result of the first writing position and the first reading position, the target synchronization data in the original data position is synchronized to the accommodating position of the target synchronization data, the heterogeneous data can be synchronized between heterogeneous units, the heterogeneous data can be executed quickly, and the heterogeneous data synchronization efficiency is improved.
Fig. 3 is a schematic diagram of an automatic data synchronization process between heterogeneous units according to an embodiment of the present invention. Specifically, an original queue is built through a master device, the original queue corresponding to the original queue is cached and stored in a first memory corresponding to the master device, and a preset default instruction is issued to a slave device; and receiving the preset default instruction by the slave device, constructing a mirror image queue according to the preset default instruction, and caching and storing the mirror image queue corresponding to the mirror image queue into a second memory corresponding to the slave device. After receiving the data synchronization triggering instruction, determining an original data position and an original data size of data to be synchronized in an original queue and an accommodating data position and an accommodating data size of accommodating data in a mirror image queue through a hardware acceleration unit, namely a processor, further determining a target length of target synchronization data in the original queue, and synchronizing the target synchronization data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue.
Fig. 4 is a flowchart of an optional method for automatically synchronizing data between heterogeneous units according to an embodiment of the present invention. Specifically, a first writing position corresponding to an original queue and a second reading position corresponding to a mirror image queue are updated through a software end, when data to be synchronized in the original queue meets a set synchronization requirement, a data synchronization triggering instruction is generated, after the hardware acceleration unit receives the data synchronization triggering instruction, a first initial address, a first writing position and a first reading position corresponding to the original queue, and a second initial address, a second writing position and a second reading position corresponding to the mirror image queue are obtained, further, the original data position and the original data size of data to be synchronized in the original queue are determined according to the first initial address, the first writing position and the first reading position, and the storage data position and the storage data size of the data to be stored in the mirror image queue are determined according to the second initial address, the second writing position and the second reading position, then, according to the data relation of the original data size and the storage data size, the target synchronous data of the original data in the original queue is determined, and the target synchronous data of the target length of the original data position in the original queue is synchronized to the storage data position of the mirror image queue, data is completed, finally, the hardware acceleration unit is updated, the corresponding to the first writing position and the second reading position is updated, and the mirror image position is updated, and the software end is updated. Therefore, the first reading position of the original queue and the second writing position of the mirror image queue which are maintained locally are updated, and the first reading position of the original queue and the second writing position of the mirror image queue which are stored by the remote master device are updated, so that the master device and the slave device only acquire the queue parameter information in own storage, and the maintenance and use efficiency of the queue buffering is improved.
It should be noted that, when a plurality of buffer queues work in parallel, there is a high probability that the current data synchronization process is not started yet, and the new data synchronization process is triggered, so in the embodiment of the invention, the operations of recalculating the original data position and the original data size of the data to be synchronized in the original queue, and the accommodating data position and the accommodating data size of the accommodating data in the mirror queue can be supported, so as to reduce the data synchronization times and improve the data synchronization efficiency.
Example III
Fig. 5 is a schematic structural diagram of an automatic data synchronization device between heterogeneous units according to a third embodiment of the present invention. As shown in fig. 5, the apparatus includes: a data acquisition module 310, a first determination module 320, a second determination module 330, and a data synchronization module 340;
the data obtaining module 310 is configured to obtain, after receiving the data synchronization trigger instruction, a first initial address, a first writing position, and a first reading position corresponding to the original queue, and a second initial address, a second writing position, and a second reading position corresponding to the mirror image queue; the original queue is matched with the master device, and the mirror image queue is matched with the slave device;
A first determining module 320, configured to determine an original data position and an original data size of data to be synchronized in an original queue according to the first initial address, the first writing position and the first reading position;
a second determining module 330, configured to determine a data accommodating position and a data accommodating size of the mirror queue according to the second initial address, the second writing position and the second reading position;
the data synchronization module 340 is configured to determine a target length of the target synchronization data in the original queue according to the data relationship between the original data size and the accommodated data size, and synchronize the target synchronization data with the target length at the original data position in the original queue to the accommodated data position of the mirror queue.
According to the technical scheme, after the data synchronization triggering instruction is received, the original data position and the original data size of the data to be synchronized in the original queue are determined according to the first initial address, the first writing position and the first reading position corresponding to the obtained original queue, the accommodating data position and the accommodating data size of the accommodating data in the mirror queue are determined according to the second initial address, the second writing position and the second reading position corresponding to the obtained mirror queue, further, the target length of the target synchronous data in the original queue is determined according to the data relation of the original data size and the accommodating data size, and the target synchronous data with the target length in the original data position in the original queue is synchronized to the accommodating data position of the mirror queue, so that the problem of low data synchronization efficiency among heterogeneous units is solved, rapid automatic data synchronization among the heterogeneous units can be realized, and the execution efficiency of the heterogeneous units is improved.
Optionally, the automatic data synchronization device between heterogeneous units may further include: the instruction generation module is used for writing the data to be synchronized into the original queue through the software end of the main equipment; and updating a first writing position corresponding to the original queue through the master equipment software end and updating a second reading position corresponding to the mirror image queue through the slave equipment software end, and generating a data synchronization triggering instruction when data to be synchronized in the original queue meets a set synchronization requirement.
Optionally, the first determining module 320 specifically may include: a first position determining unit and a first size determining unit;
the first position determining unit is used for determining an original data position of data to be synchronized in an original queue according to a summation result of the first initial address and the first reading position;
the first size determining unit is used for determining the original data size of the data to be synchronized in the original queue according to the data comparison result of the first writing position and the first reading position and the numerical value calculation result of the first writing position and the first reading position.
Optionally, the first size determining unit may specifically be configured to:
if the first writing position is higher than the first reading position, taking a first difference result between the first writing position and the first reading position as the original data size of the data to be synchronized in the original queue;
If the first writing position is lower than the first reading position, determining the original data size of the data to be synchronized in the original queue according to a second difference result between the first queue size of the original queue and the first difference result.
Optionally, the second determining module 330 may specifically include: a second position determining unit and a second size determining unit;
the second position determining unit is used for determining a data accommodating position capable of accommodating data in the mirror image queue according to the summation result of the second initial address and the second writing position;
the second size determining unit is configured to determine, according to a data comparison result between the second writing position and the second reading position, a size of the accommodating data capable of accommodating data in the mirror queue according to a numerical calculation result between the second writing position and the second reading position.
Optionally, the second size determining unit may specifically be configured to:
if the second writing position is lower than the second reading position, taking a third difference result between the second writing position and the second reading position as the accommodating data size of the accommodating data in the mirror image queue;
and if the second writing position is higher than the second reading position, taking a fourth difference result between the second queue size of the mirror queue and the third difference result as the accommodating data size of the accommodating data in the mirror queue.
Optionally, the data synchronization module 340 may specifically be configured to: and comparing the original data size and the accommodated data size in a numerical mode, determining a minimum numerical value, and determining the minimum numerical value as the target length of target synchronous data.
Optionally, the automatic data synchronization device between heterogeneous units may further include: the parameter updating module is used for sending a parameter updating signal to a target interrupt line after synchronizing target synchronous data with target length at an original data position in an original queue to a data accommodating position of a mirror image queue; the parameter update signal includes an update read position corresponding to the original queue and an update write position corresponding to the mirror queue.
The automatic synchronization device for the data among the heterogeneous units provided by the embodiment of the invention can execute the automatic synchronization method for the data among the heterogeneous units provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 6 shows a schematic diagram of an electronic device 410 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 410 includes at least one processor 420, and a memory, such as a Read Only Memory (ROM) 430, a Random Access Memory (RAM) 440, etc., communicatively coupled to the at least one processor 420, wherein the memory stores computer programs executable by the at least one processor, and the processor 420 may perform various suitable actions and processes according to the computer programs stored in the Read Only Memory (ROM) 430 or the computer programs loaded from the storage unit 490 into the Random Access Memory (RAM) 440. In RAM440, various programs and data required for the operation of electronic device 410 may also be stored. The processor 420, ROM 430, and RAM440 are connected to each other by a bus 450. An input/output (I/O) interface 460 is also connected to bus 450.
Various components in the electronic device 410 are connected to the I/O interface 460, including: an input unit 470 such as a keyboard, a mouse, etc.; an output unit 480 such as various types of displays, speakers, and the like; a storage unit 490, such as a magnetic disk, an optical disk, or the like; and a communication unit 4100, such as a network card, modem, wireless communication transceiver, etc. The communication unit 4100 allows the electronic device 410 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunications networks.
Processor 420 may be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of processor 420 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 420 performs the various methods and processes described above, such as the method of data auto-synchronization among heterogeneous units.
The method comprises the following steps:
after receiving a data synchronization triggering instruction, acquiring a first initial address, a first writing position and a first reading position corresponding to an original queue, and a second initial address, a second writing position and a second reading position corresponding to a mirror image queue; the original queue is matched with the master device, and the mirror image queue is matched with the slave device;
determining an original data position and an original data size of data to be synchronized in an original queue according to the first initial address, the first writing position and the first reading position;
determining a data accommodating position and a data accommodating size of the accommodating data in the mirror image queue according to the second initial address, the second writing position and the second reading position;
And determining the target length of the target synchronous data in the original queue according to the data relationship between the original data size and the accommodating data size, and synchronizing the target synchronous data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue.
In some embodiments, the method of automatically synchronizing data between heterogeneous units may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 490. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 410 via the ROM 430 and/or the communication unit 4100. When the computer program is loaded into RAM 440 and executed by processor 420, one or more steps of the data auto-synchronization method between heterogeneous units described above may be performed. Alternatively, in other embodiments, processor 420 may be configured to perform the inter-heterogeneous-unit data auto-synchronization method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for automatically synchronizing data between heterogeneous units, wherein the method is applied to a heterogeneous architecture comprising a master device and a slave device, and the method comprises:
after receiving a data synchronization triggering instruction, acquiring a first initial address, a first writing position and a first reading position corresponding to an original queue, and a second initial address, a second writing position and a second reading position corresponding to a mirror image queue; the original queue is matched with the master device, and the mirror image queue is matched with the slave device;
determining an original data position and an original data size of data to be synchronized in an original queue according to the first initial address, the first writing position and the first reading position;
determining a data accommodating position and a data accommodating size of the accommodating data in the mirror image queue according to the second initial address, the second writing position and the second reading position;
determining the target length of target synchronous data in the original queue according to the data relationship between the original data size and the accommodating data size, and synchronizing the target synchronous data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue;
the determining the original data position and the original data size of the data to be synchronized in the original queue according to the first initial address, the first writing position and the first reading position includes:
Determining an original data position of data to be synchronized in an original queue according to a summation result of the first initial address and the first reading position;
determining the original data size of the data to be synchronized in the original queue according to the data comparison result of the first writing position and the first reading position and the numerical value calculation result of the first writing position and the first reading position;
the determining the accommodating data position and the accommodating data size of the accommodating data in the mirror queue according to the second initial address, the second writing position and the second reading position includes:
determining a data accommodating position capable of accommodating data in the mirror image queue according to the summation result of the second initial address and the second writing position;
and determining the size of the accommodating data which can accommodate the data in the mirror image queue according to the data comparison result between the second writing position and the second reading position and the numerical value calculation result between the second writing position and the second reading position.
2. The method according to claim 1, wherein the method further comprises:
writing the data to be synchronized into an original queue through a main equipment software end;
and updating a first writing position corresponding to the original queue through the master equipment software end and updating a second reading position corresponding to the mirror image queue through the slave equipment software end, and generating a data synchronization triggering instruction when data to be synchronized in the original queue meets a set synchronization requirement.
3. The method of claim 1, wherein determining the original data size of the data to be synchronized in the original queue based on the data comparison of the first writing location and the first reading location and based on the numerical calculation of the first writing location and the first reading location comprises:
if the first writing position is higher than the first reading position, taking a first difference result between the first writing position and the first reading position as the original data size of the data to be synchronized in the original queue;
if the first writing position is lower than the first reading position, determining the original data size of the data to be synchronized in the original queue according to a second difference result between the first queue size of the original queue and the first difference result; the first queue size refers to an initial data storage length of the original queue.
4. The method of claim 1, wherein determining the size of the data accommodated in the mirror queue based on the data comparison between the second write location and the second read location and based on the numerical calculation between the second write location and the second read location comprises:
if the second writing position is lower than the second reading position, taking a third difference result between the second writing position and the second reading position as the accommodating data size of the accommodating data in the mirror image queue;
If the second writing position is higher than the second reading position, taking a fourth difference result between the second queue size of the mirror queue and the third difference result as the accommodating data size of the accommodating data in the mirror queue; wherein the second queue size refers to the initial data storage length of the mirrored queue.
5. The method of claim 1, wherein determining the target length of the target synchronization data in the original queue based on the data relationship between the original data size and the accommodated data size comprises:
and comparing the original data size and the accommodated data size in a numerical mode, determining a minimum numerical value, and determining the minimum numerical value as the target length of target synchronous data.
6. The method of claim 1, further comprising, after synchronizing the target synchronization data of the target length at the original data location in the original queue to the accommodated data location of the mirrored queue:
sending a parameter updating signal to a target interrupt line; the parameter update signal includes an update read position corresponding to the original queue and an update write position corresponding to the mirror queue.
7. The method of claim 2, further comprising, prior to said writing of the data to be synchronized to the original queue by the master device software side:
Constructing an original queue through a master device, caching and storing the original queue corresponding to the original queue into a first memory corresponding to the master device, and issuing a preset default instruction to a slave device;
and receiving the preset default instruction by the slave device, constructing a mirror image queue according to the preset default instruction, and caching and storing the mirror image queue corresponding to the mirror image queue into a second memory corresponding to the slave device.
8. An apparatus for automatically synchronizing data between heterogeneous units, wherein the apparatus is applied to a heterogeneous architecture including a master device and a slave device, and the apparatus comprises:
the data acquisition module is used for acquiring a first initial address, a first writing position and a first reading position corresponding to the original queue, and a second initial address, a second writing position and a second reading position corresponding to the mirror image queue after receiving the data synchronization triggering instruction; the original queue is matched with the master device, and the mirror image queue is matched with the slave device;
the first determining module is used for determining an original data position and an original data size of data to be synchronized in an original queue according to the first initial address, the first writing position and the first reading position;
The second determining module is used for determining the accommodating data position and the accommodating data size of the accommodating data in the mirror image queue according to the second initial address, the second writing position and the second reading position;
the data synchronization module is used for determining the target length of the target synchronous data in the original queue according to the data relationship of the original data size and the accommodating data size, and synchronizing the target synchronous data with the target length at the original data position in the original queue to the accommodating data position of the mirror image queue;
the first determining module specifically includes: a first position determining unit and a first size determining unit; a first position determining unit, configured to determine an original data position of data to be synchronized in an original queue according to a summation result of the first initial address and the first reading position; the first size determining unit is used for determining the original data size of the data to be synchronized in the original queue according to the data comparison result of the first writing position and the first reading position and the numerical value calculation result of the first writing position and the first reading position;
the second determining module specifically includes: a second position determining unit and a second size determining unit; a second position determining unit, configured to determine a data accommodating position in the mirror queue where data can be accommodated according to a result of summing the second initial address and the second writing position; the second size determining unit is configured to determine, according to a data comparison result between the second writing position and the second reading position, a size of the accommodating data capable of accommodating data in the mirror queue according to a numerical calculation result between the second writing position and the second reading position.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of auto-synchronizing data between heterogeneous units of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the method of automatically synchronizing data between heterogeneous units according to any of claims 1-7.
CN202311084019.4A 2023-08-28 2023-08-28 Automatic synchronization method, device, equipment and medium for data among heterogeneous units Active CN116821046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311084019.4A CN116821046B (en) 2023-08-28 2023-08-28 Automatic synchronization method, device, equipment and medium for data among heterogeneous units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311084019.4A CN116821046B (en) 2023-08-28 2023-08-28 Automatic synchronization method, device, equipment and medium for data among heterogeneous units

Publications (2)

Publication Number Publication Date
CN116821046A CN116821046A (en) 2023-09-29
CN116821046B true CN116821046B (en) 2023-11-24

Family

ID=88122448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311084019.4A Active CN116821046B (en) 2023-08-28 2023-08-28 Automatic synchronization method, device, equipment and medium for data among heterogeneous units

Country Status (1)

Country Link
CN (1) CN116821046B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01277936A (en) * 1988-04-28 1989-11-08 Nec Corp Data synchronizing system and its device
CN105095364A (en) * 2015-06-26 2015-11-25 车智互联(北京)科技有限公司 Data synchronizing system and method
CN109542636A (en) * 2018-10-18 2019-03-29 新浪网技术(中国)有限公司 A kind of method and device that data update
CN111813868A (en) * 2020-08-13 2020-10-23 中国工商银行股份有限公司 Data synchronization method and device
CN112988702A (en) * 2019-12-12 2021-06-18 天翼电子商务有限公司 Heterogeneous data source real-time data transmission method and system, storage medium and terminal
KR20220056453A (en) * 2020-10-28 2022-05-06 삼성에스디에스 주식회사 Apparatus and method for synchronizing databases
CN114896078A (en) * 2022-05-16 2022-08-12 阿里巴巴(中国)有限公司 Data synchronization method, system, device and equipment
CN115118676A (en) * 2022-08-29 2022-09-27 科来网络技术股份有限公司 Heterogeneous system data communication interaction method, system and terminal based on central platform
CN116467389A (en) * 2023-04-24 2023-07-21 中煤科工集团重庆研究院有限公司 Data synchronization method for coal mine two-stage data center
CN116633879A (en) * 2023-05-29 2023-08-22 北京百度网讯科技有限公司 Data packet receiving method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8230174B2 (en) * 2004-07-26 2012-07-24 Integrated Device Technology, Inc. Multi-queue address generator for start and end addresses in a multi-queue first-in first-out memory system
US8521974B2 (en) * 2010-11-23 2013-08-27 International Business Machines Corporation Migration of data in a distributed environment
CN107957848B (en) * 2016-10-14 2020-01-10 上海交通大学 Deduplication processing method and storage device
US10447763B2 (en) * 2016-12-08 2019-10-15 Nanning Fugui Precision Industrial Co., Ltd. Distributed storage method and system
US10210095B2 (en) * 2017-07-06 2019-02-19 International Business Machines Corporation Configurable hardware queue management and address translation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01277936A (en) * 1988-04-28 1989-11-08 Nec Corp Data synchronizing system and its device
CN105095364A (en) * 2015-06-26 2015-11-25 车智互联(北京)科技有限公司 Data synchronizing system and method
CN109542636A (en) * 2018-10-18 2019-03-29 新浪网技术(中国)有限公司 A kind of method and device that data update
CN112988702A (en) * 2019-12-12 2021-06-18 天翼电子商务有限公司 Heterogeneous data source real-time data transmission method and system, storage medium and terminal
CN111813868A (en) * 2020-08-13 2020-10-23 中国工商银行股份有限公司 Data synchronization method and device
KR20220056453A (en) * 2020-10-28 2022-05-06 삼성에스디에스 주식회사 Apparatus and method for synchronizing databases
CN114896078A (en) * 2022-05-16 2022-08-12 阿里巴巴(中国)有限公司 Data synchronization method, system, device and equipment
CN115118676A (en) * 2022-08-29 2022-09-27 科来网络技术股份有限公司 Heterogeneous system data communication interaction method, system and terminal based on central platform
CN116467389A (en) * 2023-04-24 2023-07-21 中煤科工集团重庆研究院有限公司 Data synchronization method for coal mine two-stage data center
CN116633879A (en) * 2023-05-29 2023-08-22 北京百度网讯科技有限公司 Data packet receiving method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
多源异构数据库之间的实时同步复制技术;刘鹏;李宏敏;程清;刘镇京;;中国科技信息(16);全文 *
广域网数据容灾数据远程复制软件技术研究;马洁;;中国科技信息(24);全文 *

Also Published As

Publication number Publication date
CN116821046A (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN112540806B (en) Method and device for rendering small program page, electronic equipment and storage medium
CN113010535B (en) Cache data updating method, device, equipment and storage medium
CN116821046B (en) Automatic synchronization method, device, equipment and medium for data among heterogeneous units
CN116594563A (en) Distributed storage capacity expansion method and device, electronic equipment and storage medium
CN116578502A (en) Access request processing device, processing method, equipment and storage medium
CN115103024B (en) Sequence number generation method and device, electronic equipment and storage medium
CN115438007A (en) File merging method and device, electronic equipment and medium
CN112883041B (en) Data updating method and device, electronic equipment and storage medium
CN114564149A (en) Data storage method, device, equipment and storage medium
CN116107763B (en) Data transmission method, device, equipment and storage medium
CN116579914B (en) Execution method and device of graphic processor engine, electronic equipment and storage medium
CN116126249A (en) Data reading method and device, electronic equipment and storage medium
CN117573267A (en) Application program data display method, system, electronic equipment and storage medium
CN117193726A (en) Parallel design method and device of software, electronic equipment and medium
CN116610707A (en) Method and device for determining execution time of database operation task and electronic equipment
CN117453628A (en) Application file management method, device equipment and storage medium
CN117608794A (en) Multi-copy cache refreshing method, device, equipment and medium based on timing task
CN117632795A (en) Statistical method, system, device, equipment and medium for cache data access frequency
CN117742545A (en) Page turning information processing method, device, equipment and medium
CN116881368A (en) Data synchronization method and device, electronic equipment and storage medium
CN117725115A (en) Database sequence processing method, device, equipment and storage medium
CN115599828A (en) Information processing method, device, equipment and storage medium
CN117806619A (en) Data processing method, device, electronic equipment and medium
CN115858104A (en) Method, device and equipment for acquiring snapshot of transaction commit sequence number and storage medium
CN115730000A (en) Medical data integration method, device, equipment and medium based on data lake

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