CN113946624A - Distributed cluster, information processing method and device, electronic equipment and storage medium - Google Patents

Distributed cluster, information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113946624A
CN113946624A CN202111182651.3A CN202111182651A CN113946624A CN 113946624 A CN113946624 A CN 113946624A CN 202111182651 A CN202111182651 A CN 202111182651A CN 113946624 A CN113946624 A CN 113946624A
Authority
CN
China
Prior art keywords
data
shared
state information
database
distributed cluster
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111182651.3A
Other languages
Chinese (zh)
Inventor
孙超
桑越
车京浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111182651.3A priority Critical patent/CN113946624A/en
Publication of CN113946624A publication Critical patent/CN113946624A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/23Updating
    • 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/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • 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/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a distributed cluster, an information processing method, an information processing device, electronic equipment and a storage medium, and belongs to the technical field of computers. The distributed cluster comprises a plurality of devices and a shared database, wherein the shared database is used for storing data shared by the devices and corresponding state information; the first device in the distributed cluster is used for updating the shared state information of any data in the shared database based on the changed state of the data when the state of the data is detected to be changed; and the second device in the distributed cluster is used for updating the state information of the data in the first database based on the shared state information of the data, the first database is used for storing the data belonging to the second device and the corresponding state information, and the second device is other devices except the first device in the distributed cluster. The shared database is used as a link between the first device and the second device, and synchronization of the state information is achieved.

Description

Distributed cluster, information processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a distributed cluster, an information processing method, an information processing apparatus, an electronic device, and a storage medium.
Background
In the running process of the distributed cluster, state information in a certain device often needs to be synchronized to the whole distributed cluster, so that the state information in each device in the distributed cluster is kept consistent.
In the related art, a central control device is usually deployed, the central control device detects state information of each device in a distributed cluster, and when the state information in a certain device is found to be changed, the changed state information is sent to other devices in the distributed cluster. However, it takes a certain time for the central control device to detect each device, and the state information in each device cannot be kept consistent quickly, so the efficiency of the state information synchronization method is low.
Disclosure of Invention
The disclosure provides a distributed cluster, an information processing method, an information processing device, an electronic device and a storage medium, which can improve the synchronization efficiency of state information in the distributed cluster.
According to an aspect of the embodiments of the present disclosure, a distributed cluster is provided, where the distributed cluster includes a plurality of devices and a shared database, and the shared database is used to store data shared to the plurality of devices and corresponding state information;
the first device in the distributed cluster is used for updating the shared state information of the data in the shared database based on the changed state of the data when detecting that the state of any data on the first device is changed;
and the second device in the distributed cluster is configured to update the state information of the data in a first database based on the shared state information of the data, the first database is configured to store the data belonging to the second device and corresponding state information, and the second device is another device in the distributed cluster except the first device.
In some embodiments, the first device is further configured to, when it is detected that the state of the data on the first device changes, update the state information of the data in a second database based on the changed state of the data, where the second database is configured to store the data belonging to the first device and corresponding state information.
In some embodiments, the distributed cluster includes a master device and slave devices, the first device is the master device, the slave devices are other devices in the distributed cluster except the master device, the shared database includes a first shared database in the master device and a second shared database in the slave devices, and the first shared database and the second shared database are kept synchronized;
the primary device is configured to, when it is detected that a state of any one of the data on the primary device changes, update shared state information of the data in the first shared database and the second shared database based on the state after the change of the data.
In some embodiments, the master device is configured to, when it is detected that a state of the data on the master device changes, update shared state information of the data in the first shared database based on the changed state of the data;
the master device is further configured to send an update notification to the slave device in a case where the sharing state information in the first shared database changes, the update notification indicating that the sharing state information of the data is updated;
the slave device is used for responding to the update notification and updating the shared state information of the data in the second shared database.
In some embodiments, the distributed cluster includes a master device and a plurality of slave devices, the slave devices are other devices in the distributed cluster except the master device, the first device is any slave device, the shared database includes a first shared database in the master device and a second shared database in each slave device, and the first shared database and the second shared database of each slave device are kept synchronous;
the first device is configured to, when it is detected that the state of the data on the first device changes, invoke a processing interface provided by the main device based on the changed state of the data, and update shared state information of the data in the first shared database;
the master device is configured to send, to the plurality of slave devices, an update notification indicating to update the shared state information of the data when the shared state information in the first shared database changes;
each slave device is used for responding to the update notification and updating the shared state information of the data in the second shared database of the slave device.
In some embodiments, the data is a first task name, the first task name refers to a task received by the distributed cluster, and the shared state information of the first task name includes the task received by the distributed cluster;
the first device is configured to add a first task to the shared state information of the first task name when the first task is received.
In some embodiments, the data is a second task name, the second task name referring to a task that has been received but not completed by the distributed cluster, the shared state information of the second task name including the received but not completed task;
the first device is further configured to delete the second task in the shared state information of the second task name when the second task on the first device is completed.
In some embodiments, the second device is configured to query the status information of any data on the second device in the first database and the shared status information of the data in the shared database;
the second device is further configured to update the state information of the data in the first database to the shared state information when the state information of the data in the first database is different from the shared state information.
In some embodiments, the second device is configured to query, every target duration, status information of any data on the second device in the first database, and shared status information of the data in the shared database.
According to another aspect of the embodiments of the present disclosure, an information processing method is provided, where the information processing method is performed by a master device in a distributed cluster, where the distributed cluster further includes slave devices, where the slave devices are other devices in the distributed cluster except the master device, a first shared database in the master device and a second shared database in the slave devices are kept synchronized, and the first shared database and the second shared database are used to store data shared to multiple devices in the distributed cluster and corresponding state information; the information processing method comprises the following steps:
under the condition that the state of any data on the main equipment is detected to be changed, updating the shared state information of the data in the first shared database and the second shared database based on the changed state of the data;
the slave device is used for updating the state information of the data in a first database based on the shared state information of the data in the second shared database, and the first database is used for storing the data belonging to the slave device and the corresponding state information.
In some embodiments, the information processing method further includes:
and under the condition that the state of the data on the main equipment is detected to be changed, updating the state information of the data in a second database based on the changed state of the data, wherein the second database is used for storing the data belonging to the main equipment and the corresponding state information.
In some embodiments, the updating the shared state information of the data in the first shared database and the second shared database includes:
updating the shared state information of the data in the first shared database;
sending an update notification to the slave device, the update notification indicating to update the shared state information of the data, the slave device being configured to update the shared state information of the data in the second shared database in response to the update notification.
In some embodiments, the data is a first task name, the first task name refers to a task received by the distributed cluster, and the shared state information of the first task name includes the task received by the distributed cluster;
the updating, when it is detected that a state of any data on the master device changes, shared state information of the data in the first shared database and the second shared database based on the changed state of the data includes:
upon receiving a first task, adding the first task to shared state information of the first task name in the first shared database and the second shared database.
In some embodiments, the data is a second task name, the second task name referring to a task that has been received but not completed by the distributed cluster, the shared state information of the second task name including the received but not completed task;
the updating, when it is detected that a state of any data on the master device changes, shared state information of the data in the first shared database and the second shared database based on the changed state of the data includes:
deleting the second task in the shared state information of the second task name in the first shared database and the second shared database when the second task on the main device is completed.
According to another aspect of the embodiments of the present disclosure, an information processing method is provided, which is performed by a first device in a distributed cluster, where the distributed cluster includes a master device and a plurality of slave devices, the slave devices are other devices except the master device in the distributed cluster, and the first device is any slave device;
a first shared database in the master device and a second shared database in each slave device are kept synchronous, and the first shared database and the second shared database are used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information;
the information processing method comprises the following steps:
under the condition that the state of any data on the first equipment is detected to be changed, based on the changed state of the data, calling a processing interface provided by the main equipment, and updating the shared state information of the data in the first shared database;
the master device is configured to send an update notification to the plurality of slave devices in a case where the shared state information in the first shared database changes, the update notification indicating that the shared state information of the data is updated;
each slave device of the plurality of slave devices is configured to update the shared state information of the data in the second shared database of the slave device in response to the update notification.
In some embodiments, the information processing method further includes:
and under the condition that the state of the data on the first equipment is detected to be changed, updating the state information of the data in a second database based on the changed state of the data, wherein the second database is used for storing the data belonging to the first equipment and the corresponding state information.
In some embodiments, the data is a first task name, the first task name refers to a task received by the distributed cluster, and the shared state information of the first task name includes the task received by the distributed cluster;
the step of, when it is detected that a state of any data on the first device changes, based on the state after the change of the data, invoking a processing interface provided by the main device, and updating shared state information of the data in the first shared database includes:
under the condition that a first task is received, calling a processing interface provided by the main equipment, and adding the first task to the shared state information of the first task name;
the master device is configured to send, to the plurality of slave devices, an update notification indicating that the first task is added, in a case where the first task is added to the shared state information in the first shared database;
each of the plurality of slave devices is configured to add the first task to the shared state information of the first task name in the second shared database of the slave device in response to the update notification.
In some embodiments, the data is a second task name, the second task name referring to a task that has been received but not completed by the distributed cluster, the shared state information of the second task name including the received but not completed task;
the step of, when it is detected that a state of any data on the first device changes, based on the state after the change of the data, invoking a processing interface provided by the main device, and updating shared state information of the data in the first shared database includes:
under the condition that a second task on the first equipment is completed, calling a processing interface provided by the main equipment, and deleting the second task in the shared state information of the second task name in the first shared database;
the master device is configured to send an update notification to the plurality of slave devices when the shared state information in the first shared database deletes the second task, where the update notification indicates to delete the second task;
each of the plurality of slave devices is configured to delete the second task in the shared state information of the second task name in a second shared database of the slave device in response to the update notification.
According to still another aspect of the embodiments of the present disclosure, there is provided an information processing method performed by any device in a distributed cluster, the information processing method including:
querying state information of any data on the local terminal equipment in a first database and shared state information of the data in a shared database, wherein the shared state information is updated by other equipment in the distributed cluster under the condition that the state of the data on the local terminal equipment is detected to be changed;
updating the state information of the data in the first database to the shared state information if the state information of the data in the first database is different from the shared state information;
the shared database is used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information, and the first database is used for storing data belonging to any one device and corresponding state information.
In some embodiments, the querying the state information of any data on the local device in the first database and the shared state information of the data in the shared database includes:
and inquiring the state information of any data on the local terminal equipment in the first database and the shared state information of the data in the shared database every target time length.
According to another aspect of the embodiments of the present disclosure, an information processing apparatus is provided, where the information processing apparatus is located in a master device in a distributed cluster, the distributed cluster further includes slave devices, the slave devices are other devices in the distributed cluster except the master device, a first shared database in the master device and a second shared database in the slave devices are kept synchronized, and the first shared database and the second shared database are used to store data shared to multiple devices in the distributed cluster and corresponding state information; the information processing apparatus includes:
a first updating unit configured to update the shared state information of the data in the first shared database and the second shared database based on the changed state of the data when detecting that the state of any data on the main device is changed;
the slave device is used for updating the state information of the data in a first database based on the shared state information of the data in the second shared database, and the first database is used for storing the data belonging to the slave device and the corresponding state information.
In some embodiments, the information processing apparatus further includes:
and the second updating unit is configured to update the state information of the data in a second database based on the changed state of the data when the state change of the data on the main equipment is detected, wherein the second database is used for storing the data belonging to the main equipment and the corresponding state information.
In some embodiments, the first updating unit includes:
an updating subunit configured to update the shared state information of the data in the first shared database;
a sending subunit configured to send an update notification to the slave device, the update notification indicating to update the shared state information of the data, and the slave device being configured to update the shared state information of the data in the second shared database in response to the update notification.
In some embodiments, the data is a first task name, the first task name refers to a task received by the distributed cluster, and the shared state information of the first task name includes the task received by the distributed cluster;
the first updating unit includes:
an adding subunit configured to add, in a case where a first task is received, the first task to the shared state information of the first task name in the first shared database and the second shared database.
In some embodiments, the data is a second task name, the second task name referring to a task that has been received but not completed by the distributed cluster, the shared state information of the second task name including the received but not completed task;
the first updating unit includes:
a deletion subunit configured to delete, in a case where a second task on the main device is completed, the second task in the shared state information of the second task name in the first shared database and the second shared database.
According to still another aspect of the embodiments of the present disclosure, an information processing apparatus is provided, where the information processing apparatus is located in a first device in a distributed cluster, the distributed cluster includes a master device and a plurality of slave devices, the slave devices are other devices in the distributed cluster except for the master device, and the first device is any slave device;
a first shared database in the master device and a second shared database in each slave device are kept synchronous, and the first shared database and the second shared database are used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information;
the information processing apparatus includes:
a first updating unit, configured to, when detecting that a state of any data on the first device changes, based on the changed state of the data, invoke a processing interface provided by the main device, and update shared state information of the data in the first shared database;
the master device is configured to send an update notification to the plurality of slave devices in a case where the shared state information in the first shared database changes, the update notification indicating that the shared state information of the data is updated;
each slave device of the plurality of slave devices is configured to update the shared state information of the data in the second shared database of the slave device in response to the update notification.
In some embodiments, the information processing apparatus further includes:
and the second updating unit is configured to update the state information of the data in a second database based on the changed state of the data when the state change of the data on the first device is detected, wherein the second database is used for storing the data belonging to the first device and the corresponding state information.
In some embodiments, the data is a first task name, the first task name refers to a task received by the distributed cluster, and the shared state information of the first task name includes the task received by the distributed cluster;
the first updating unit includes:
an adding subunit, configured to, in a case where a first task is received, call a processing interface provided by the master device, and add the first task to the shared state information of the first task name;
the master device is configured to send, to the plurality of slave devices, an update notification indicating that the first task is added, in a case where the first task is added to the shared state information in the first shared database;
each of the plurality of slave devices is configured to add the first task to the shared state information of the first task name in the second shared database of the slave device in response to the update notification.
In some embodiments, the data is a second task name, the second task name referring to a task that has been received but not completed by the distributed cluster, the shared state information of the second task name including the received but not completed task;
the first updating unit includes:
a deleting subunit, configured to, when a second task on the first device is completed, invoke a processing interface provided by the main device, and delete the second task in the shared state information of the second task name in the first shared database;
the master device is configured to send an update notification to the plurality of slave devices when the shared state information in the first shared database deletes the second task, where the update notification indicates to delete the second task;
each of the plurality of slave devices is configured to delete the second task in the shared state information of the second task name in a second shared database of the slave device in response to the update notification.
According to still another aspect of the embodiments of the present disclosure, there is provided an information processing apparatus located in any device in a distributed cluster, the information processing apparatus including:
the query unit is configured to query state information of any data on the local device in a first database and shared state information of the data in a shared database, wherein the shared state information is updated by other devices in the distributed cluster when detecting that the state of the data on the local device changes;
an updating unit configured to update the state information of the data in the first database to the shared state information if the state information of the data in the first database is different from the shared state information;
the shared database is used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information, and the first database is used for storing data belonging to any one device and corresponding state information.
In some embodiments, the query unit includes:
and the query subunit is configured to query the state information of any data on the local terminal device in the first database and the shared state information of the data in the shared database at intervals of a target duration.
According to still another aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information processing method according to the above aspect.
According to still another aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information processing method according to the above aspect.
According to yet another aspect of the embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the information processing method according to the above aspect.
In the distributed cluster, a first device is a device with a local state change of any data, a second device is a device which locally updates the state of the data based on the state change condition of the data on the first device, a shared database is used as a link between the first device and the second device, and the shared state information of the data in the shared database is updated when the first device detects that the state corresponding to the data on the first device changes, so that the state information of the data on the second device is synchronized based on the shared database, and the synchronization of the state information in the distributed cluster is realized. In addition, the synchronization mode does not need to detect the state of data on each device, so that the detection time is saved, and the synchronization efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram illustrating one implementation environment in accordance with an example embodiment.
Fig. 2 is a flow chart illustrating an information processing method according to an example embodiment.
FIG. 3 is a flow chart illustrating another method of information processing according to an example embodiment.
FIG. 4 is a flow chart illustrating another method of information processing according to an example embodiment.
Fig. 5 is a flow chart illustrating another information processing method according to an example embodiment.
FIG. 6 is a flow chart illustrating an information processing method according to an example embodiment.
Fig. 7 is a block diagram illustrating an information processing apparatus according to an example embodiment.
Fig. 8 is a block diagram illustrating another information processing apparatus according to an example embodiment.
Fig. 9 is a block diagram illustrating another information processing apparatus according to an example embodiment.
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the description of the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Fig. 1 is a schematic structural diagram of a distributed cluster provided in the present disclosure, and as shown in fig. 1, the distributed cluster includes a plurality of devices 102 and a shared database 101, where the shared database 101 is configured to store data shared to the plurality of devices 102 and corresponding state information, and the state information is used to indicate a current state of the corresponding data.
In addition, a local database 103 may be configured on each device, the database 103 is used for storing data belonging to the device and state information corresponding to the data, and each device may access the shared database 101 and update the state information in the local database 103 based on the state information in the shared database 101. Or updating the state information of certain data in the shared database 101 according to the state of the data on the local terminal device.
Then, in order to synchronize the state information of the same data in different devices, when the state of the data on any device changes, the device updates the shared state information of the data in the shared database 101 based on the changed state of the data. The devices in the distributed cluster other than the device update the state information of the data in the local database 103 based on the shared state information of the data in the shared database 101.
In some embodiments, the shared database 101 is stored on any device in a distributed cluster, or the shared database 101 comprises multiple, i.e., each shared database is stored on each device in the distributed cluster, or the shared database 101 is otherwise stored in the distributed cluster.
In some embodiments, the distributed cluster includes a master device and a plurality of slave devices, the slave devices are other devices in the distributed cluster except the master device, the master device stores a first shared database, and each slave device stores a second shared database. The master device may update the shared state information of any data in the first shared database, and the slave device may invoke a processing interface provided by the master device to update the shared state information of any data in the first shared database. In addition, the master device can also send an update notification to the slave device to control the slave device to update the shared state information of any data in the second shared database.
The distributed cluster provided by the embodiment of the disclosure can be applied to various scenes, so that the synchronization of state information is performed on different types of data.
For example, in the context of processing order tasks.
The distributed cluster includes a plurality of order servers and a shared database, and the shared database stores a plurality of orders and the current status information of each order, such as paid, shipped, received and confirmed. When a user changes the state of an order on the electronic device, for example, a seller clicks to ship the order, so that the order is changed to a shipped state, or a buyer clicks to confirm to receive the order, so that the order is changed to a confirmed received state, the order server connected to the electronic device detects that the state of the order changes, and then updates the shared state information of the order in the shared database, and at this time, other order servers in the distributed cluster can update the state information of the order in the local database based on the shared state information, thereby realizing synchronization of the state information of the same order on a plurality of order servers.
On the basis of the embodiment shown in fig. 1, an information processing method is further provided, and the method is executed by the distributed cluster shown in fig. 1. Fig. 2 is a flow chart illustrating an information processing method according to an exemplary embodiment, referring to fig. 2, the method including the steps of:
201. when detecting that the state of any data on the first device changes, the first device updates the shared state information of the data in the shared database based on the changed state of the data.
The distributed cluster includes multiple devices, where a first device and a second device are different devices in the distributed cluster, the first device is a device whose local state of any data changes, and the second device is a device that locally updates the state of the data based on the state change condition of the data on the first device.
In addition, the distributed cluster includes a shared database for storing data shared to multiple devices and corresponding state information. And under the condition that the first equipment detects that the state corresponding to any data on the first equipment is changed, updating the state information corresponding to the changed state into the shared database, namely updating the shared state information corresponding to the data in the shared database, and replacing the original state information with the changed state information.
202. The second device updates the state information of the data in the first database based on the shared state information of the data.
The second device is other devices in the distributed cluster except the first device, and a first database is configured on the second device and used for storing data belonging to the second device and corresponding state information.
After the first device updates the shared state information of the data in the shared database, the second device replaces the original state information of the data in the first database with the updated shared state information, so that the first database is also updated to ensure that the first database and the shared database are synchronous.
In addition, the second device is any one or more devices in the distributed cluster except the first device, for example, the second device is all devices in the distributed cluster except the first device.
In the distributed cluster, a first device is a device with a local state change of any data, a second device is a device which locally updates the state of the data based on the state change condition of the data on the first device, a shared database is used as a link between the first device and the second device, and the shared state information of the data in the shared database is updated when the first device detects that the state corresponding to the data on the first device changes, so that the state information of the data on the second device is synchronized based on the shared database, and the synchronization of the state information in the distributed cluster is realized. In addition, the synchronization mode does not need to detect the state of data on each device, so that the detection time is saved, and the synchronization efficiency is improved.
On the basis of the distributed cluster shown in fig. 1 and the information processing method shown in fig. 2, the device in the distributed cluster may determine whether the local database needs to be updated by querying the shared database and comparing the state information in the shared database with the state information in the local database, and the specific process is described in detail in the following embodiments.
Fig. 3 is a flow chart illustrating another information processing method according to an example embodiment, see fig. 3, performed by the distributed cluster shown in fig. 1, including the steps of:
301. and the first equipment updates the state information of the data in the second database based on the changed state of the data when detecting that the state of any data on the first equipment is changed.
In some embodiments, the plurality of devices include a first device and a second device, where the first device is a device in which a local data state of any one of the plurality of devices changes, and the second device is another device in the plurality of devices except the first device. The embodiment of the present disclosure only describes the status information synchronization process between the first device and the second device, and the status information synchronization process between other devices is similar to this, and is not described herein again.
In addition, the distributed cluster includes a shared database for storing data shared to multiple devices and corresponding state information. Moreover, each device also stores a local database, and the local database is used for storing data belonging to the local device and corresponding state information. Taking the first device and the second device as an example, the first device stores a second database, the second database is used for storing data belonging to the first device and corresponding status information, the second device stores a first database, and the first database is used for storing data belonging to the second device and corresponding status information.
It should be noted that, in the local databases of different devices, the stored data are completely the same, thereby ensuring that the local database of each device in the distributed cluster is synchronous. Alternatively, the local databases of different devices may contain the same data, or may contain different data, where the status information of the same data is synchronized.
Taking any data as an example, the state information of the data is originally stored in the second database of the first device, and the first device updates the state information of the data in the second database based on the changed state of the data when detecting that the state of the data on the first device is changed, so as to ensure that the state information stored in the second database is accurate and conforms to the current actual state of the data.
In some embodiments, updating the state information of the data in the second database based on the changed state of the data includes: and determining the state information of the changed data based on the state of the changed data, and replacing the state information corresponding to the data in the second database with the changed state information, thereby realizing the update of the second database.
In the embodiment of the present disclosure, the data stored in any database may be any type of data, and accordingly, the type of the state information corresponding to the data is matched with the type of the data. In other words, the data may also be regarded as the name of the status information, for example, the data may be regarded as a key, and the corresponding status information of the data may be regarded as a value.
302. When the first device detects that the state of any data on the first device changes, the first device updates the shared state information of the data in the shared database based on the changed state of the data.
And when detecting that the state of any data on the first device changes, the first device updates not only the second database but also the shared state information of the data in the shared database.
In some embodiments, updating the shared state information of the data in the shared database based on the changed state of the data includes: and determining the state information of the changed data based on the state of the changed data, and replacing the shared state information of the data in the shared database with the changed state information, thereby realizing the update of the shared database.
In some embodiments, the data may be a first task name, the first task name referring to a task received by the distributed cluster, the state information of the first task name including the task received by the distributed cluster. That is, the task received by each device in the distributed cluster is stored in the state information of the first task name. And the second database and the shared database both store the status information of the first task name.
In this case, the steps 301 and 302 include: and the first equipment adds the first task to the state information of the first task name in the second database and the shared database under the condition of receiving the first task, thereby realizing the updating of the second database and the shared database.
In some embodiments, the data may be a second task name, where the second task name refers to a received but uncompleted task of the distributed cluster, and the state information corresponding to the second task name includes the received but uncompleted task. Then, under the condition that any device in the distributed cluster completes the second task on the local device, the second task in the state information corresponding to the second task name is deleted. And the second database and the shared database both store the status information of the second task name.
In this case, the steps 301 and 302 include: and under the condition that the first equipment completes the second task on the first equipment, the second task in the state information of the second task name in the second database and the shared database is deleted, so that the second database and the shared database are updated.
It should be noted that, the above steps 301 and 302 may be performed simultaneously, that is, based on the changed state of the data, the state information of the data in the second database and the shared state information of the data in the shared database are updated simultaneously. The status information synchronization process is similar to the implementation process of performing step 301 and then performing step 302, and is not described herein again.
It should be noted that, the step 302 may be executed first, and then the step 301 may be executed, that is, based on the changed state of the data, the shared state information of the data in the shared database is updated first, and then the state information of the data in the second database is updated. The status information synchronization process is similar to the implementation process of performing step 301 and then performing step 302, and is not described herein again.
303. The second device queries the status information of any data on the second device in the first database and the shared status information of the data in the shared database.
From the perspective of the second device, in order to ensure that the first database is synchronized with the status information of the shared database, the second device queries the status information of any data on the second device in the first database and the shared status information of the data in the shared database, respectively.
In some embodiments, a target duration is set that indicates the time interval between two queries. And the second equipment inquires the state information of any data on the second equipment in the first database and the state information in the shared database every target time length.
It should be noted that, the embodiment of the present disclosure only takes any data as an example to describe the process of synchronizing the status information of the data, and actually, the second device may query each data in the first database so as to synchronize the status information of each data in the first database. Then the second device traverses the first database, queries the first database for the status information of each data in the first database, and queries the shared status information of the data in the shared database.
304. And in the case that the state information of any data on the second device in the first database is different from the shared state information, the second device updates the state information of the data in the first database to the shared state information.
The second device inquires the state information of any data on the second device in the first database, and compares the two state information after the data share the state information in the shared database. And if the state information of the data in the first database is the same as the shared state information of the data in the shared database, performing no other processing. And in the case that the state information of the data in the first database is different from the shared state information of the data in the shared database, the second device replaces the state information of the data in the first database with the shared state information of the data in the shared database to ensure that the state information of the data in the first database and the shared database is synchronous.
The first point to be noted is that the second device is any one or more devices in the distributed cluster except the first device, for example, the second device is all devices in the distributed cluster except the first device. Each device other than the first device updates the state information of the data in the local database to ensure that the state information of the data in each device in the distributed cluster is synchronized.
It should be noted that, the step 301 is an optional step, and in another embodiment, the step 301 may not be executed, that is, when the first device detects that the state of any data on the first device changes, the first device updates the shared state information of the data in the shared database, and does not update the state information of the data in the second database temporarily. Afterwards, the first device may also update the second database by querying the shared database, that is, performing steps similar to the above-mentioned step 303 and step 304 to update the second database.
In the distributed cluster, a first device is a device with a local state change of any data, a second device is a device which locally updates the state of the data based on the state change condition of the data on the first device, a shared database is used as a link between the first device and the second device, and the shared state information of the data in the shared database is updated when the first device detects that the state corresponding to the data on the first device changes, so that the state information of the data on the second device is synchronized based on the shared database, and the synchronization of the state information in the distributed cluster is realized. In addition, the synchronization mode does not need to detect the state of data on each device, so that the detection time is saved, and the synchronization efficiency is improved.
In addition, when any device in the distributed cluster detects that the state of any data on the local device changes, the shared database in the distributed cluster is updated, and the second database stored on the device is also updated, so that the state information synchronization between the local database belonging to the device and the shared database is ensured.
And, the data in the distributed cluster may be a name of the task received by the distributed cluster, and the corresponding state information includes the task received by the distributed cluster. The tasks received by each device in the distributed cluster can be timely added to the local database and the shared database of each device, so that each task received by the distributed cluster can be accurately reflected, and the load condition of the distributed cluster can be conveniently known.
Moreover, the data in the distributed cluster may be a task name, and the corresponding state information is a task that has been received but has not been completed by the distributed cluster, so that any device in the distributed cluster can delete the completed task in time according to the execution condition of the task when completing any task on the local device, thereby accurately reflecting each task that has been received but has not been completed by the distributed cluster, and facilitating understanding of the load condition of the distributed cluster.
And any device in the distributed cluster queries the state information of any data on the local device in the first database and the shared database stored in the local device in a query mode, so that the two state information are compared, and the state information in the first database stored in the local device can be updated in time when the queried state information is different. This approach is simple and straightforward and enables fast synchronization of state information.
Fig. 4 is a flowchart illustrating another information processing method according to an exemplary embodiment, and referring to fig. 4, a distributed cluster includes a master device and slave devices, the slave devices are other devices except the master device in the distributed cluster, and a shared database includes a first shared database in the master device and a second shared database in the slave device. The method is executed by a master device in a distributed cluster, and comprises the following steps:
401. and when the master device detects that the state of any data on the master device is changed, the master device updates the state information of the data in the second database based on the changed state of the data.
The distributed cluster also comprises a second database stored in the master device and a first database stored in the slave device, wherein the second database is used for storing data belonging to the master device and corresponding state information, and the first database is used for storing data belonging to the slave device and corresponding state information.
And under the condition that the main equipment detects that the state corresponding to any data on the main equipment is changed, the main equipment updates the state information corresponding to the changed state into the second database, namely, the state information corresponding to the data in the second database is updated, and the changed state information is adopted to replace the original state information.
402. And when detecting that the state of any data on the main device is changed, the main device updates the sharing state information of the data in the first sharing database based on the changed state of the data.
And when detecting that the state of any data on the main equipment is changed, the main equipment not only updates the second database, but also updates the shared state information of the data in the first shared database. And the master equipment updates the state information corresponding to the changed state into the first shared database, namely updates the state information corresponding to the data in the first shared database, and replaces the original state information with the changed state information.
403. The master device transmits an update notification to the slave device, the update notification indicating the shared state information of the update data, in a case where the shared state information in the first shared database changes.
The method comprises the steps that a master device sends an update notification to a slave device in a distributed cluster under the condition that shared state information in a first shared database changes, wherein the update notification carries the changed shared state information in the first shared database and data corresponding to the shared state information, so that the slave device updates the state information of the data in a second shared database based on the update notification.
404. The slave device updates the shared state information of the data in the second shared database in response to the update notification.
After receiving the update notification, the slave device updates the state information corresponding to the data in the second shared database according to the data carried in the update notification and the corresponding shared state information thereof, and replaces the original state information with the shared state information carried in the update notification.
405. The slave device inquires the state information of any data on the slave device in the first database and the shared state information of the data in the second shared database.
The process of querying the status information corresponding to the data is similar to step 303 in the embodiment shown in fig. 3, and is not described herein again.
406. In the case that the state information of any data on the slave device in the first database is different from the shared state information in the second shared database, the slave device updates the state information of the data in the first database to the shared state information in the second shared database.
The process of updating the data in the first database is similar to step 304 in the embodiment shown in fig. 3, and is not described herein again.
The first point to be noted is that a slave device is any one or more devices in the distributed cluster except the master device, for example, the slave device is all devices in the distributed cluster except the master device. Each slave device other than the master device updates the state information of the data in the local database to ensure that the state information of the data in each device in the distributed cluster is synchronized.
It should be noted that, the step 401 is an optional step, and in another embodiment, the step 401 may not be executed, that is, when the master device detects that the state of any data on the master device changes, the master device updates the shared state information of the data in the shared database, and does not update the state information of the data in the second database temporarily. Afterwards, the primary device may also update the second database by querying the shared database, that is, performing steps similar to the above-mentioned steps 403 and 404 to update the second database.
According to the method provided by the embodiment of the disclosure, when the master device detects that the state of any data on the master device changes, the first shared database stored in the master device can be updated, and the slave device is notified to update the second shared database, so that the slave device in the distributed cluster can update the shared state information of the data in the second shared database, and synchronization of the state information is realized.
Fig. 5 is a flowchart illustrating another information processing method according to an exemplary embodiment, and referring to fig. 5, a distributed cluster includes a master device and a plurality of slave devices, the slave devices are other devices in the distributed cluster except the master device, and a shared database includes a first shared database in the master device and a second shared database in the slave devices. The method is performed by any slave device in a distributed cluster, and comprises the following steps:
501. when the slave device detects that the state of any data on the slave device changes, the slave device updates the state information of the data in the first database based on the changed state of the data.
The distributed cluster also comprises a second database stored in the master device and a first database stored in the slave device, wherein the second database is used for storing data belonging to the master device and corresponding state information, and the first database is used for storing data belonging to the slave device and corresponding state information.
When the slave device detects that the state corresponding to any data on the slave device changes, the slave device updates the state information corresponding to the changed state into the first database, namely, the state information corresponding to the data in the first database is updated, and the changed state information is used for replacing the original state information.
502. And when the slave device detects that the state of any data on the slave device is changed, calling a processing interface provided by the master device based on the changed state of the data, and updating the shared state information of the data in the first shared database.
When the slave device detects that the state of any data on the slave device changes, the slave device updates not only the first database but also the shared state information of the data in the first shared database. That is, the slave device updates the state information corresponding to the changed state to the first shared database by calling the processing interface provided by the master device, that is, updates the state information corresponding to the data in the first shared database, and replaces the original state information with the changed state information.
503. In a case where the shared state information in the first shared database changes, the master device transmits an update notification indicating the shared state information of the update data to the plurality of slave devices.
The method comprises the steps that a master device sends an update notification to a slave device in a distributed cluster under the condition that shared state information in a first shared database changes, wherein the update notification carries the changed shared state information in the first shared database and data corresponding to the shared state information, so that the slave device updates the state information of the data in a second shared database based on the update notification.
504. Each slave device updates the shared state information of the data in the second shared database in response to the update notification.
The process of updating the state information of the data in the second shared database is similar to step 404 in the embodiment shown in fig. 4, and is not described herein again.
505. The main device inquires the state information of any data on the main device in the second database and the shared state information of the data in the first shared database.
The process of querying the status information corresponding to the data is similar to step 303 in the embodiment shown in fig. 3, and is not described herein again.
506. And under the condition that the state information of any data on the main equipment in the second database is different from the shared state information in the first shared database, the main equipment updates the state information of the data in the second database into the shared state information in the first shared database.
The process of updating the data in the first database is similar to step 304 in the embodiment shown in fig. 3, and is not described herein again.
507. The slave device inquires the state information of any data on the slave device in the first database and the shared state information of the data in the second shared database.
The process of querying the status information corresponding to the data is similar to step 303 in the embodiment shown in fig. 3, and is not described herein again.
508. And in the case that the state information of any data on the slave device in the first database is different from the shared state information in the second shared database, the slave device updates the state information of the data in the first database to the shared state information in the second shared database.
The process of updating the data in the first database is similar to step 304 in the embodiment shown in fig. 3, and is not described herein again.
The process of querying and updating by the master device and the process of querying and updating by the slave device are executed in parallel, and may be executed at the same time or not. The present disclosure is described only by taking the example that the master device executes first and the slave device executes later, but the execution time sequence of the master device and the slave device is not limited.
According to the method provided by the embodiment of the disclosure, when any slave device detects that state information corresponding to any data on the local device changes, a processing interface provided by the master device can be called, so that a first shared database stored in the master device is updated, and other slave devices are notified to update a second shared database, so that the slave devices in the distributed cluster can update the shared state information of the data in the second shared database, and synchronization of the state information is realized.
In an exemplary embodiment, an information processing method is further provided, where the information processing method is performed by a master device in a distributed cluster, where the distributed cluster further includes slave devices, where the slave devices are other devices in the distributed cluster except the master device, a first shared database in the master device and a second shared database in the slave devices are kept synchronized, and the first shared database and the second shared database are used to store data shared to multiple devices in the distributed cluster and corresponding state information; the information processing method comprises the following steps:
under the condition that the state of any data on the main equipment is detected to be changed, the shared state information of the data in the first shared database and the second shared database is updated based on the changed state of the data;
the slave device is used for updating the state information of the data in a first database based on the shared state information of the data in a second shared database, and the first database is used for storing the data belonging to the slave device and the corresponding state information.
In some embodiments, the information processing method further includes:
and under the condition that the state of the data on the main equipment is detected to be changed, updating the state information of the data in a second database based on the changed state of the data, wherein the second database is used for storing the data belonging to the main equipment and the corresponding state information.
In some embodiments, updating the shared state information of the data in the first shared database and the second shared database includes:
updating the sharing state information of the data in the first sharing database;
and sending an update notification to the slave device, the update notification indicating that the shared state information of the data is updated, the slave device being configured to update the shared state information of the data in the second shared database in response to the update notification.
In some embodiments, the data is a first task name, the first task name refers to a task received by the distributed cluster, and the shared state information of the first task name includes the task received by the distributed cluster;
under the condition that the state of any data on the main equipment is detected to be changed, based on the changed state of the data, the method for updating the shared state information of the data in the first shared database and the second shared database comprises the following steps:
in a case where the first task is received, the first task is added to the shared state information of the first task name in the first shared database and the second shared database.
In some embodiments, the data is a second task name, the second task name refers to a task that has been received but not completed by the distributed cluster, and the shared state information of the second task name includes the received but not completed task;
under the condition that the state of any data on the main equipment is detected to be changed, based on the changed state of the data, the method for updating the shared state information of the data in the first shared database and the second shared database comprises the following steps:
and deleting the second task in the shared state information of the second task name in the first shared database and the second shared database under the condition of finishing the second task on the main equipment.
According to the method provided by the embodiment of the disclosure, when the master device detects that the state of any data on the master device changes, the shared state information of the data in the first shared database and the second shared database can be updated, and then the slave device in the distributed cluster updates the first database according to the shared state information in the second shared database, so that the state information synchronization between the slave device and the master device is realized.
In an exemplary embodiment, an information processing method is provided, which is performed by a first device in a distributed cluster, where the distributed cluster includes a master device and a plurality of slave devices, the slave devices are other devices except the master device in the distributed cluster, and the first device is any one of the slave devices;
a first shared database in the master device and a second shared database in each slave device are kept synchronous, and the first shared database and the second shared database are used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information;
the information processing method comprises the following steps:
under the condition that the state of any data on the first equipment is detected to be changed, calling a processing interface provided by the main equipment based on the state after the data change, and updating the shared state information of the data in the first shared database;
the master device is used for sending an update notification to the plurality of slave devices under the condition that the sharing state information in the first sharing database changes, wherein the update notification indicates the sharing state information of the update data;
each slave device of the plurality of slave devices is configured to update the shared state information of the data in the second shared database of the slave device in response to the update notification.
In some embodiments, the information processing method further includes:
and under the condition that the state of the data on the first equipment is detected to be changed, updating the state information of the data in a second database based on the changed state of the data, wherein the second database is used for storing the data belonging to the first equipment and the corresponding state information.
In some embodiments, the data is a first task name, the first task name refers to a task received by the distributed cluster, and the shared state information of the first task name includes the task received by the distributed cluster;
under the condition that the state of any data on the first device is detected to be changed, based on the state after the data change, calling a processing interface provided by the main device, and updating the shared state information of the data in the first shared database, wherein the method comprises the following steps:
under the condition that the first task is received, calling a processing interface provided by the main equipment, and adding the first task to the shared state information of the first task name;
the master device is used for sending an update notification to the plurality of slave devices under the condition that the first task is added to the sharing state information in the first sharing database, wherein the update notification indicates that the first task is added;
each of the plurality of slave devices is configured to add the first task to the shared state information of the first task name in the second shared database of the slave device in response to the update notification.
In some embodiments, the data is a second task name, the second task name refers to a task that has been received but not completed by the distributed cluster, and the shared state information of the second task name includes the received but not completed task;
under the condition that the state of any data on the first device is detected to be changed, based on the state after the data change, calling a processing interface provided by the main device, and updating the shared state information of the data in the first shared database, wherein the method comprises the following steps:
under the condition of finishing a second task on the first equipment, calling a processing interface provided by the main equipment, and deleting the second task in the shared state information of the second task name in the first shared database;
the master device is used for sending an update notification to the plurality of slave devices under the condition that the shared state information in the first shared database deletes the second task, wherein the update notification indicates to delete the second task;
each of the plurality of slave devices is configured to delete the second task in the shared state information of the second task name in the second shared database of the slave device in response to the update notification.
According to the method provided by the embodiment of the present disclosure, when any slave device in the distributed cluster detects that the state of any data on the local device changes, a processing interface provided by the master device can be called, so as to update the first shared database in the master device and send an update notification, and then, the slave device in the distributed cluster updates the second shared database according to the update notification, thereby implementing state information synchronization between the slave device and the master device.
Fig. 6 is a flow chart illustrating an information processing method according to an exemplary embodiment, referring to fig. 6, performed by any one of the devices in the distributed cluster, including the steps of:
601. any device queries the state information of any data on the local device in the first database and the shared state information of the data in the shared database.
The first database is used for storing data belonging to any equipment and corresponding state information, and the shared database is used for storing data shared to a plurality of equipment in the distributed cluster and corresponding state information. The shared state information is updated by other devices in the distributed cluster when detecting that the state of the data on the local device changes.
602. And under the condition that the state information of any data on the local terminal equipment in the first database is different from the shared state information, updating the state information of the data in the first database into the shared state information by any equipment.
In some embodiments, querying the state information of any data on the local device in the first database and the shared state information of the data in the shared database includes:
and inquiring the state information of any data on the local terminal equipment in the first database and the shared state information of the data in the shared database every target time length.
According to the method provided by the embodiment of the disclosure, the state information of any data on the local terminal equipment in the first database and the shared database is queried in a query mode, so that the two state information are compared, and the state information in the first database can be updated in time when the queried state information is different. This approach is simple and straightforward and enables fast synchronization of state information.
Fig. 7 is a block diagram illustrating an information processing apparatus according to an example embodiment. Referring to fig. 7, the information processing apparatus is located in a master device in a distributed cluster, the distributed cluster further includes slave devices, the slave devices are devices other than the master device in the distributed cluster, a first shared database in the master device and a second shared database in the slave devices are synchronized, and the first shared database and the second shared database are used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information. The apparatus includes a first update unit 701.
A first updating unit 701 configured to, when it is detected that a state of any one of the data on the master device changes, update shared state information of the data in the first shared database and the second shared database based on the changed state of the data;
the slave device is used for updating the state information of the data in a first database based on the shared state information of the data in a second shared database, and the first database is used for storing the data belonging to the slave device and the corresponding state information.
According to the device provided by the embodiment of the disclosure, when the master device detects that the state of any data on the master device changes, the shared state information of the data in the first shared database and the second shared database can be updated, and then the slave device in the distributed cluster updates the first database according to the shared state information in the second shared database, so that the state information synchronization between the slave device and the master device is realized. In addition, the synchronization mode does not need to detect the state of data on each device, so that the detection time is saved, and the synchronization efficiency is improved.
In some embodiments, the information processing apparatus further includes:
and the second updating unit is configured to update the state information of the data in a second database based on the changed state of the data when the state change of the data on the main equipment is detected, wherein the second database is used for storing the data belonging to the main equipment and the corresponding state information.
In some embodiments, the first updating unit 701 includes:
an updating subunit configured to update the shared state information of the data in the first shared database;
a sending subunit configured to send an update notification to the slave device, the update notification indicating to update the shared state information of the data, the slave device being configured to update the shared state information of the data in the second shared database in response to the update notification.
In some embodiments, the data is a first task name, the first task name referring to a task received by the distributed cluster, the shared state information of the first task name including the task received by the distributed cluster;
the first updating unit 701 includes:
an adding subunit configured to, in a case where the first task is received, add the first task to the shared state information of the first task name in the first shared database and the second shared database.
In some embodiments, the data is a second task name, the second task name referring to a received but unfinished task of the distributed cluster, the shared state information of the second task name including the received but unfinished task;
the first updating unit 701 includes:
a deletion subunit configured to delete, in a case where the second task on the main device is completed, the second task in the shared state information of the second task name in the first shared database and the second shared database.
Fig. 8 is a block diagram illustrating an information processing apparatus according to an example embodiment. Referring to fig. 8, the information processing apparatus is located in a first device in a distributed cluster, where the distributed cluster includes a master device and a plurality of slave devices, the slave devices are other devices in the distributed cluster except for the master device, and the first device is any slave device; the first shared database in the master device and the second shared database in each slave device are kept synchronous, and the first shared database and the second shared database are used for storing data shared to the multiple devices in the distributed cluster and corresponding state information. The apparatus comprises a first update unit 801.
A first updating unit 801, configured to, when detecting that a state of any data on the first device changes, based on the changed state of the data, invoke a processing interface provided by a host device, and update shared state information of the data in a first shared database;
the master device is used for sending an update notification to the plurality of slave devices when the sharing state information in the first sharing database changes, wherein the update notification indicates that the sharing state information of the data is updated;
each slave device of the plurality of slave devices is configured to update the shared state information of the data in the second shared database of the slave device in response to the update notification.
In some embodiments, the information processing apparatus further includes:
and the second updating unit is configured to update the state information of the data in a second database based on the changed state of the data when the state change of the data on the first device is detected, wherein the second database is used for storing the data belonging to the first device and the corresponding state information.
In some embodiments, the data is a first task name, the first task name refers to a task received by the distributed cluster, and the shared state information of the first task name includes the task received by the distributed cluster;
the first updating unit 801 includes:
an adding subunit, configured to, in a case where the first task is received, call a processing interface provided by the main device, and add the first task to the shared state information of the first task name;
the master device is used for sending an update notification to the plurality of slave devices under the condition that the first task is added to the sharing state information in the first sharing database, wherein the update notification indicates that the first task is added;
each of the plurality of slave devices is configured to add the first task to the shared state information of the first task name in the second shared database of the slave device in response to the update notification.
In some embodiments, the data is a second task name, the second task name referring to a received but unfinished task of the distributed cluster, the shared state information of the second task name including the received but unfinished task;
the first updating unit 801 includes:
the deleting subunit is configured to, in the case that the second task on the first device is completed, invoke a processing interface provided by the main device, and delete the second task in the shared state information of the second task name in the first shared database;
the master device is used for sending an update notification to the plurality of slave devices under the condition that the shared state information in the first shared database deletes the second task, wherein the update notification indicates to delete the second task;
each of the plurality of slave devices is configured to delete the second task in the shared state information of the second task name in the second shared database of the slave device in response to the update notification.
Fig. 9 is a block diagram illustrating an information processing apparatus according to an example embodiment. Referring to fig. 9, the information processing apparatus is located in any device in a distributed cluster, and includes a querying unit 901 and an updating unit 902.
A querying unit 901, configured to query state information of any data on the local device in the first database and shared state information of the data in the shared database, where the shared state information is updated by other devices in the distributed cluster when detecting that a state of the data on the local device changes;
an updating unit 902, configured to update the state information of any data in the first database to the shared state information when the state information of the data in the first database is different from the shared state information;
the shared database is used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information, and the first database is used for storing data belonging to any one device and corresponding state information.
In some embodiments, the querying unit 901 includes:
and the inquiry subunit is configured to inquire the state information of any data on the local terminal equipment in the first database and the shared state information of the data in the shared database at intervals of a target time length.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
The master device and the slave device according to the embodiments of the present disclosure are electronic devices. Fig. 10 is a block diagram illustrating a structure of an electronic device 1000 according to an example embodiment. The electronic device 1000 may be a portable mobile electronic device such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The electronic device 1000 may also be referred to by other names as user equipment, portable electronic device, laptop electronic device, desktop electronic device, and so forth.
The electronic device 1000 includes: a processor 1001 and a memory 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1002 is used to store at least one program code for execution by the processor 1001 to implement the information processing method provided by the method embodiments in the present disclosure.
In some embodiments, the electronic device 1000 may further include: a peripheral interface 1003 and at least one peripheral. The processor 1001, memory 1002 and peripheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, display screen 1005, camera assembly 1006, audio circuitry 1007, positioning assembly 1008, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. In some embodiments, the radio frequency circuitry 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1004 may communicate with other electronic devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1004 may also include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to capture touch signals on or over the surface of the display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. At this point, the display screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 1005 may be one, disposed on the front panel of the electronic device 1000; in other embodiments, the display screens 1005 may be at least two, respectively disposed on different surfaces of the electronic device 1000 or in a folded design; in other embodiments, the display 1005 may be a flexible display, disposed on a curved surface or on a folded surface of the electronic device 1000. Even more, the display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1006 is used to capture images or video. In some embodiments, camera assembly 1006 includes a front camera and a rear camera. The front camera is arranged on the front panel of the electronic equipment, and the rear camera is arranged on the back of the electronic equipment. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the electronic device 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
The positioning component 1008 is used to locate a current geographic Location of the electronic device 1000 to implement navigation or LBS (Location Based Service). The Positioning component 1008 may be a Positioning component based on a Global Positioning System (GPS) in the united states, a beidou System in china, a greiner Positioning System in russia, or a galileo Positioning System in the european union.
The power supply 1009 is used to supply power to the respective components in the electronic device 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 10 is not limiting of the electronic device 1000 and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, there is also provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the steps of the above-described state information synchronization method. For example, the computer-readable storage medium may be a ROM (Read Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which comprises a computer program that, when executed by a processor of an electronic device, implements the steps in the above-described information processing method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A distributed cluster, comprising a plurality of devices and a shared database, wherein the shared database is configured to store data shared to the plurality of devices and corresponding state information;
the first device in the distributed cluster is used for updating the shared state information of the data in the shared database based on the changed state of the data when detecting that the state of any data on the first device is changed;
and the second device in the distributed cluster is configured to update the state information of the data in a first database based on the shared state information of the data, the first database is configured to store the data belonging to the second device and corresponding state information, and the second device is another device in the distributed cluster except the first device.
2. An information processing method is characterized in that the method is executed by a master device in a distributed cluster, the distributed cluster further comprises slave devices, the slave devices are other devices except the master device in the distributed cluster, a first shared database in the master device and a second shared database in the slave devices are kept synchronous, and the first shared database and the second shared database are used for storing data shared by a plurality of devices in the distributed cluster and corresponding state information; the information processing method comprises the following steps:
under the condition that the state of any data on the main equipment is detected to be changed, updating the shared state information of the data in the first shared database and the second shared database based on the changed state of the data;
the slave device is used for updating the state information of the data in a first database based on the shared state information of the data in the second shared database, and the first database is used for storing the data belonging to the slave device and the corresponding state information.
3. An information processing method is characterized in that the method is executed by a first device in a distributed cluster, the distributed cluster comprises a master device and a plurality of slave devices, the slave devices are other devices except the master device in the distributed cluster, and the first device is any slave device;
a first shared database in the master device and a second shared database in each slave device are kept synchronous, and the first shared database and the second shared database are used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information;
the information processing method comprises the following steps:
under the condition that the state of any data on the first equipment is detected to be changed, based on the changed state of the data, calling a processing interface provided by the main equipment, and updating the shared state information of the data in the first shared database;
the master device is configured to send an update notification to the plurality of slave devices in a case where the shared state information in the first shared database changes, the update notification indicating that the shared state information of the data is updated;
each slave device of the plurality of slave devices is configured to update the shared state information of the data in the second shared database of the slave device in response to the update notification.
4. An information processing method, performed by any device in a distributed cluster, the information processing method comprising:
querying state information of any data on the local terminal equipment in a first database and shared state information of the data in a shared database, wherein the shared state information is updated by other equipment in the distributed cluster under the condition that the state of the data on the local terminal equipment is detected to be changed;
updating the state information of the data in the first database to the shared state information if the state information of the data in the first database is different from the shared state information;
the shared database is used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information, and the first database is used for storing data belonging to any one device and corresponding state information.
5. An information processing apparatus, wherein the information processing apparatus is located in a master device in a distributed cluster, the distributed cluster further includes slave devices, the slave devices are other devices in the distributed cluster except the master device, a first shared database in the master device and a second shared database in the slave devices are kept synchronized, and the first shared database and the second shared database are used for storing data shared to multiple devices in the distributed cluster and corresponding state information; the information processing apparatus includes:
a first updating unit configured to update the shared state information of the data in the first shared database and the second shared database based on the changed state of the data when detecting that the state of any data on the main device is changed;
the slave device is used for updating the state information of the data in a first database based on the shared state information of the data in the second shared database, and the first database is used for storing the data belonging to the slave device and the corresponding state information.
6. An information processing apparatus, wherein the information processing apparatus is located in a first device in a distributed cluster, the distributed cluster includes a master device and a plurality of slave devices, the slave devices are other devices except the master device in the distributed cluster, and the first device is any slave device;
a first shared database in the master device and a second shared database in each slave device are kept synchronous, and the first shared database and the second shared database are used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information;
the information processing apparatus includes:
a first updating unit, configured to, when detecting that a state of any data on the first device changes, based on the changed state of the data, invoke a processing interface provided by the main device, and update shared state information of the data in the first shared database;
the master device is configured to send an update notification to the plurality of slave devices in a case where the shared state information in the first shared database changes, the update notification indicating that the shared state information of the data is updated;
each slave device of the plurality of slave devices is configured to update the shared state information of the data in the second shared database of the slave device in response to the update notification.
7. An information processing apparatus, wherein the information processing apparatus is located in any device in a distributed cluster, the information processing apparatus comprising:
the query unit is configured to query state information of any data on the local device in a first database and shared state information of the data in a shared database, wherein the shared state information is updated by other devices in the distributed cluster when detecting that the state of the data on the local device changes;
an updating unit configured to update the state information of the data in the first database to the shared state information if the state information of the data in the first database is different from the shared state information;
the shared database is used for storing data shared to a plurality of devices in the distributed cluster and corresponding state information, and the first database is used for storing data belonging to any one device and corresponding state information.
8. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information processing method of claim 2, or to implement the information processing method of claim 3, or to implement the information processing method of claim 4.
9. A computer-readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information processing method of claim 2, or enable the electronic device to perform the information processing method of claim 3, or enable the electronic device to perform the information processing method of claim 4.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the information processing method of claim 2 when executed by a processor, or the computer program realizes the information processing method of claim 3 when executed by a processor, or the computer program realizes the information processing method of claim 4 when executed by a processor.
CN202111182651.3A 2021-10-11 2021-10-11 Distributed cluster, information processing method and device, electronic equipment and storage medium Pending CN113946624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111182651.3A CN113946624A (en) 2021-10-11 2021-10-11 Distributed cluster, information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111182651.3A CN113946624A (en) 2021-10-11 2021-10-11 Distributed cluster, information processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113946624A true CN113946624A (en) 2022-01-18

Family

ID=79330329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111182651.3A Pending CN113946624A (en) 2021-10-11 2021-10-11 Distributed cluster, information processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113946624A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114817384A (en) * 2022-03-16 2022-07-29 上海东普信息科技有限公司 Order management method, device, equipment and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458517B1 (en) * 2010-04-30 2013-06-04 Amazon Technologies, Inc. System and method for checkpointing state in a distributed system
CN103167010A (en) * 2011-12-16 2013-06-19 伊姆西公司 Methods and devices for indicating survival of node in cluster
CN103189847A (en) * 2010-11-05 2013-07-03 国际商业机器公司 Storage management in clustered data processing systems
US20130185379A1 (en) * 2012-01-16 2013-07-18 International Business Machines Corporation Efficient state tracking for clusters
CN103595799A (en) * 2013-11-18 2014-02-19 北京中创信测科技股份有限公司 Method for achieving distributed shared data bank
CN103647834A (en) * 2013-12-16 2014-03-19 上海证券交易所 System and method used for processing multi-phase distributed task scheduling
CN105354315A (en) * 2015-11-11 2016-02-24 华为技术有限公司 Region division method in distributed database, Region node and system
CN105812488A (en) * 2016-05-06 2016-07-27 深圳前海大数点科技有限公司 Cloud computing distributed service cluster system and method of using the system
CN105825399A (en) * 2016-03-15 2016-08-03 焦点科技股份有限公司 Internet based B2B e-commerce information collecting method
CN106888245A (en) * 2016-06-07 2017-06-23 阿里巴巴集团控股有限公司 A kind of data processing method, apparatus and system
CN108920111A (en) * 2018-07-27 2018-11-30 中国联合网络通信集团有限公司 Data sharing method and Distributed data share system
CN108984639A (en) * 2018-06-22 2018-12-11 联想(北京)有限公司 The data processing method and device of server cluster
CN109284334A (en) * 2018-09-05 2019-01-29 拉扎斯网络科技(上海)有限公司 Real-time database synchronization method and device, electronic equipment and storage medium
CN111930830A (en) * 2020-06-22 2020-11-13 心有灵犀科技股份有限公司 Distributed transaction data processing method and system based on shared database
CN111949444A (en) * 2020-06-24 2020-11-17 武汉烽火众智数字技术有限责任公司 Data backup and recovery system and method based on distributed service cluster
CN111988269A (en) * 2019-05-22 2020-11-24 慧与发展有限责任合伙企业 Policy management system providing authorization information via distributed data stores
CN112463448A (en) * 2020-11-27 2021-03-09 苏州浪潮智能科技有限公司 Distributed cluster database synchronization method, device, equipment and storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8458517B1 (en) * 2010-04-30 2013-06-04 Amazon Technologies, Inc. System and method for checkpointing state in a distributed system
CN103189847A (en) * 2010-11-05 2013-07-03 国际商业机器公司 Storage management in clustered data processing systems
CN103167010A (en) * 2011-12-16 2013-06-19 伊姆西公司 Methods and devices for indicating survival of node in cluster
US20130185379A1 (en) * 2012-01-16 2013-07-18 International Business Machines Corporation Efficient state tracking for clusters
CN103595799A (en) * 2013-11-18 2014-02-19 北京中创信测科技股份有限公司 Method for achieving distributed shared data bank
CN103647834A (en) * 2013-12-16 2014-03-19 上海证券交易所 System and method used for processing multi-phase distributed task scheduling
CN105354315A (en) * 2015-11-11 2016-02-24 华为技术有限公司 Region division method in distributed database, Region node and system
CN105825399A (en) * 2016-03-15 2016-08-03 焦点科技股份有限公司 Internet based B2B e-commerce information collecting method
CN105812488A (en) * 2016-05-06 2016-07-27 深圳前海大数点科技有限公司 Cloud computing distributed service cluster system and method of using the system
CN106888245A (en) * 2016-06-07 2017-06-23 阿里巴巴集团控股有限公司 A kind of data processing method, apparatus and system
CN108984639A (en) * 2018-06-22 2018-12-11 联想(北京)有限公司 The data processing method and device of server cluster
CN108920111A (en) * 2018-07-27 2018-11-30 中国联合网络通信集团有限公司 Data sharing method and Distributed data share system
CN109284334A (en) * 2018-09-05 2019-01-29 拉扎斯网络科技(上海)有限公司 Real-time database synchronization method and device, electronic equipment and storage medium
CN111988269A (en) * 2019-05-22 2020-11-24 慧与发展有限责任合伙企业 Policy management system providing authorization information via distributed data stores
CN111930830A (en) * 2020-06-22 2020-11-13 心有灵犀科技股份有限公司 Distributed transaction data processing method and system based on shared database
CN111949444A (en) * 2020-06-24 2020-11-17 武汉烽火众智数字技术有限责任公司 Data backup and recovery system and method based on distributed service cluster
CN112463448A (en) * 2020-11-27 2021-03-09 苏州浪潮智能科技有限公司 Distributed cluster database synchronization method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114817384A (en) * 2022-03-16 2022-07-29 上海东普信息科技有限公司 Order management method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108881030B (en) Routing method and device in gray release scene
CN108717432B (en) Resource query method and device
CN108684206B (en) Searching method and device
WO2020211705A1 (en) Contact person recommendation method and electronic device
CN111241115B (en) Data synchronization method, device, equipment and storage medium
CN103631580B (en) Method and device for generating theme icon
CN111694834A (en) Method, device and equipment for putting picture data into storage and readable storage medium
WO2020088542A1 (en) Data management method, apparatus and system, and server, terminal and storage medium
CN110636144A (en) Data downloading method and device
CN110995842A (en) Method, device and equipment for downloading service data and storage medium
CN111192072A (en) User grouping method and device and storage medium
CN110471614B (en) Method for storing data, method and device for detecting terminal
CN113946624A (en) Distributed cluster, information processing method and device, electronic equipment and storage medium
CN110597801A (en) Database system and establishing method and device thereof
CN110597868B (en) Information query method, device, terminal and storage medium based on block chain
CN112181915A (en) Method, device, terminal and storage medium for executing service
CN110321332B (en) Multimedia file recovery method, device, terminal and storage medium
CN111694521B (en) Method, device and system for storing file
CN106576293A (en) Electronic device and method for controlling information exchange in electronic device
CN112597417B (en) Page updating method and device, electronic equipment and storage medium
CN115134316B (en) Topic display method, device, terminal and storage medium
CN114329292A (en) Resource information configuration method and device, electronic equipment and storage medium
CN110717110B (en) Multimedia resource filtering method and device, electronic equipment and storage medium
CN110928867B (en) Data fusion method and device
CN112698787A (en) Data writing method and device and computer storage medium

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