WO2018000621A1 - Communication data synchronization method and electronic device - Google Patents
Communication data synchronization method and electronic device Download PDFInfo
- Publication number
- WO2018000621A1 WO2018000621A1 PCT/CN2016/100154 CN2016100154W WO2018000621A1 WO 2018000621 A1 WO2018000621 A1 WO 2018000621A1 CN 2016100154 W CN2016100154 W CN 2016100154W WO 2018000621 A1 WO2018000621 A1 WO 2018000621A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- room
- data
- slave
- host
- user communication
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 199
- 238000000034 method Methods 0.000 title claims abstract description 76
- 238000003860 storage Methods 0.000 claims description 51
- 230000001360 synchronised effect Effects 0.000 claims description 30
- 238000009826 distribution Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 9
- 238000011022 operating instruction Methods 0.000 claims description 9
- 230000005055 memory storage Effects 0.000 claims description 4
- 238000013500 data storage Methods 0.000 claims description 2
- 238000012544 monitoring process Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 230000003993 interaction Effects 0.000 description 9
- 230000008859 change Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
Definitions
- the present invention relates to the field of information technology, and in particular, to a communication data synchronization method and an electronic device.
- the method for realizing the communication between the same area and the area in the prior art is to select one area among all the regions in the world as a data center, and store all the communication data of the user in the data center.
- the user needs to communicate or access historical data, it must be implemented through the data center, and when there is new user communication data, the data center should also be written across the area.
- the drawback of the prior art is that, except for the area where the data center is located, users in other areas have to access the data center across the area each time they communicate.
- the real-time performance of the data is not good, especially for video calls with a large amount of data transmission, the communication quality will not be guaranteed.
- the communication data of all users in the world is only stored in one data center, this will cause the entire communication service to be paralyzed, which will affect the user's communication request and cause bad communication. user experience.
- Embodiments of the present invention provide a communication data synchronization method and an electronic device for at least solving The technical problem of poor real-time performance caused by cross-regional access to data centers existing in the prior art.
- an embodiment of the present invention provides a communication data synchronization method, where the method is used for a data synchronization electronic device including a host room and a plurality of slave rooms, the method comprising:
- the first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room;
- the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave room for the update of the data center of the slave room.
- the embodiment of the present invention further provides another communication data synchronization method, where the method is used for a data synchronization electronic device including a host room and a plurality of slave rooms, the method comprising:
- the host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or
- the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the data center of the remaining slave room.
- an embodiment of the present invention further provides a communication data synchronization method, where the method includes:
- Determining that one of the plurality of equipment rooms in different areas is the main equipment room, and determining that the remaining equipment rooms in the plurality of equipment rooms are slave equipment rooms;
- the first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room;
- the host room stores the locally changed second user communication data to the data center of the host room and distributes to the data center of each of the slave rooms;
- the slave computer room stores the second user communication data sent by the host room to a data center of the slave computer room;
- the host room stores the first user communication data uploaded from the slave room to a data center of the host room.
- an embodiment of the present invention further provides a non-volatile computer storage medium storing computer-executable instructions for performing the above-described communication data synchronization method of the present invention.
- the embodiment of the present invention further provides a server, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to perform the any of the above described communication data synchronization methods of the present invention.
- the embodiment of the present invention further provides a computer program product, including at least one non-volatile computer storage medium having computer executable program code instructions stored therein,
- the computer executable program code instructions are for performing the communication data synchronization method of any of the above aspects of the present invention.
- the communication data synchronization method and the electronic device of the embodiment of the present invention upload the change of the first user communication data generated from the local office room to the host room in real time, and distribute the uploaded first user communication information to the host room through the host room.
- the other slave rooms ensure the timely update of user communication data, ensuring the consistency of data in the data centers of all computer rooms around the world; since the user communication data is synchronized in all the computer rooms around the world, even the host room occurs.
- Machine or other faults can also be re-selected from the equipment room as a new slave room to maintain normal operation. When the original host room returns to normal, it can be switched back.
- FIG. 1 is a flowchart of an embodiment of a communication data synchronization method according to the present invention
- FIG. 2 is a flowchart of another embodiment of a communication data synchronization method according to the present invention.
- FIG. 3 is a flowchart of still another embodiment of a communication data synchronization method according to the present invention.
- FIG. 4 is a flowchart of still another embodiment of a communication data synchronization method according to the present invention.
- FIG. 5 is a flowchart of another embodiment of a method for synchronizing communication data according to the present invention.
- FIG. 6 is a schematic block diagram of an embodiment of a communication data synchronization electronic device according to the present invention.
- FIG. 7 is a schematic block diagram of an embodiment of a second data acquisition storage module in a communication data synchronization electronic device of the present invention.
- FIG. 8 is a schematic block diagram of another embodiment of a communication data synchronization electronic device according to the present invention.
- FIG. 9 is a schematic block diagram of an embodiment of a second data distribution storage module in the communication data synchronization electronic device of the present invention.
- FIG. 10 is a schematic structural diagram of an embodiment of a server according to the present invention.
- FIG. 11 is a schematic structural view of an embodiment of an electronic device of the present invention.
- the invention is applicable to a wide variety of general purpose or special purpose computing system environments or configurations.
- the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
- program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
- the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
- program modules can be located in both local and remote computer storage media including storage devices.
- a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable component, a thread of execution, a program, and/or a computer.
- an application or script running on a server, or a server can be a component.
- One or more components can be executed in a process and/or thread, and the components can be localized on a single computer and/or distributed between two or more computers and can be run by various computer readable media. .
- the component may also pass signals based on data having one or more data packets, for example, from a signal interacting with another component in the local system, the distributed system, and/or interacting with other systems over the network of the Internet.
- Local and / or remote Cheng came to communicate.
- a method for synchronizing communication data is used for a data synchronization system including a host room and a plurality of slave rooms, and the method includes:
- the first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room;
- the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave room for the update of the data center of the slave room.
- the first user communication data that is changed locally from the equipment room is stored in the local data center, and is simultaneously uploaded to the data center of the host room, and the slave computer room obtains the host room from the host room from the local and/or other slave room.
- the received second user communication data is updated to update the data center of the slave computer room, thereby realizing the synchronization of the user communication data in the global computer room, and ensuring the consistency of the user communication data in all the computer rooms in the world.
- the method of the embodiment is to change the user communication data in the host room and/or from the machine room, the effect of synchronizing the user communication data in real time is achieved, and the timeliness of the data center data of all the computer rooms in different regions is ensured. And consistency. On the other hand, even if the current host room is down or faulty, you can select one of the slave rooms as a new host room at any time to maintain normal communication.
- monitoring, and obtaining, from the equipment room, the changed second user communication data received by the host room from the local and/or other slave rooms includes:
- the slave computer room downloads, according to the data synchronization command, the changed second user communication data received from the local and/or other slave computer rooms from the host room.
- the host room sends a data synchronization command to the slave room through the listening port, and after receiving the data synchronization command from the host room from the equipment room. Downloading the changed second user communication data from the host room according to the data synchronization instruction, and the changed second user communication data may be directly uploaded from the host room local user to the host room, or may be received in addition to the slave computer room. Other user communication data uploaded from the equipment room.
- the data synchronization instructions include at least feature information of the data to be synchronized and a download address of the data to be synchronized.
- Downloading, by the machine room, the changed second user communication data received from the host room and received from the host room according to the data synchronization instruction includes:
- the data synchronization instruction is parsed from the equipment room to determine the feature information of the data to be synchronized and the download address of the data to be synchronized.
- the feature information of the data to be synchronized may be the name of the user communication data, and the download address of the data to be synchronized is used for the slave room. Download the corresponding data to be synchronized from the host room.
- an embodiment of the present invention further provides a communication data synchronization method, where the method is used for a data synchronization electronic device including a host room and a plurality of slave rooms, and the method includes:
- the host room stores the locally changed first user communication data in a data center of the host room and distributes the data center to each data center of the slave room;
- the host room stores the locally changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes the data to the data center of the remaining slave room.
- the host room stores the first user communication data locally generated in the area where the host room is located to the host room for distribution to the slave room located in different areas.
- the host room is further configured to receive second user communication data that changes locally from the equipment room, and distribute the second user communication data to other slave rooms in different regions, thereby realizing synchronization of communication data of all users in different regions, thereby ensuring synchronization. Consistency of user communication data in different regions.
- the method of the embodiment is to change the user communication data in the host room and/or from the machine room, the effect of synchronizing the user communication data in real time is achieved, and the timeliness of the data center data of all the computer rooms in different regions is ensured. And consistency. On the other hand, even if the current host room is down or faulty, you can select one of the slave rooms as a new host room at any time to maintain normal communication.
- the host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes to the remaining slave room.
- the data center includes:
- the host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room.
- the host room sends a data synchronization instruction to the remaining slave room, where the remaining slave room downloads the changed second user communication data from the host room according to the data synchronization instruction.
- the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be updated.
- the host room after receiving the changed second user communication data uploaded from the equipment room, the host room sends a data synchronization instruction to the remaining slave room through the monitoring port, for real-time operation from the equipment room according to the data synchronization instruction. Synchronization of user communication data ensures the timeliness and consistency of user communication data synchronization between slave rooms in different regions.
- an embodiment of the present invention further provides a communication data synchronization method, where the method includes:
- S51 Determine that one of the multiple equipment rooms in different areas is the main equipment room, and determine that the remaining equipment rooms in the multiple equipment rooms are slave equipment rooms;
- the first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room.
- the host room stores the locally changed second user communication data to the data center of the host room and distributes the data to the data center of each of the slave rooms;
- the slave computer room stores the second user communication data sent by the host room to a data center of the slave computer room.
- the host room stores the first user communication data uploaded from the slave room to a data center of the host room.
- a related function module can be implemented by a hardware processor.
- an embodiment of the present invention further provides a communication data synchronization electronic device, including:
- a first data uploading storage module configured to store the changed first user communication data to a data center of the slave computer room and upload the data to the data center of the host room;
- the second data acquisition storage module is configured to monitor and acquire the changed second user communication data received by the host room from the local device and/or other from the equipment room for updating the data center of the slave computer room.
- the communication data synchronization electronic device may be a separate server or a server cluster, and each of the foregoing modules may be a separate server or a server cluster.
- the interaction between the modules is represented by each module.
- the interaction between the server or the server cluster, the server or server cluster corresponding to each module constitutes the communication data synchronization electronic device of the present invention.
- the communication data synchronization electronic device jointly formed by the server or the server cluster corresponding to each module includes:
- the first data uploading storage server or the server cluster is configured to store the changed first user communication data to the data center of the slave computer room and upload the data to the data center of the host room;
- a second data acquisition storage server or a server cluster configured to monitor and acquire the changed second user communication data received by the host room from the local device and/or other slave computer rooms, for use in the data center of the slave computer room Update.
- the plurality of modules described above may collectively form a server or cluster of servers.
- the first data upload storage module and the second data acquisition storage module constitute a server or a server cluster.
- the second data acquisition storage module includes:
- An instruction receiving unit configured to receive a data synchronization instruction sent from the host room
- a second data uploading storage unit configured to download, by the slave computer room, the changed second user communication data received from the local office and/or other slave computer rooms from the host room according to the data synchronization instruction.
- the second data acquisition storage module may be a server or a server cluster, where each unit may be a separate server or a server cluster.
- the interaction between the units is represented by a server corresponding to each unit.
- the data synchronization instructions include at least feature information of the data to be synchronized and a download address of the data to be synchronized.
- some embodiments of the present invention further provide a communication data synchronization electronic device, including:
- a first data distribution storage module configured to store the locally changed first user communication data to a data center of the host room and distribute the data to the data center of each slave room;
- a second data distribution storage module configured to store, by the host room, the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distribute the data to the remaining slave room center.
- the communication data synchronization electronic device may be a separate server or a server cluster, and each of the foregoing modules may be a separate server or a server cluster.
- the interaction between the modules is represented by each module.
- the interaction between the server or the server cluster, the server or server cluster corresponding to each module constitutes the communication data synchronization electronic device of the present invention.
- the communication data synchronization electronic device jointly formed by the server or the server cluster corresponding to each module includes:
- a first data distribution storage server or a server cluster configured to store the locally changed first user communication data to a data center of the host room and distribute the data to the data center of each slave room;
- a second data distribution storage server or a server cluster wherein the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the remaining slaves The data center of the computer room.
- the plurality of modules described above may collectively form a server or cluster of servers.
- the first data distribution storage module and the second data distribution storage module constitute a server or a server cluster.
- the second data distribution storage module includes:
- a second data storage unit configured to store the changed second user communication data received from at least one of the slave rooms from the machine room to a data center of the host room;
- an instruction sending unit configured to send a data synchronization instruction to the remaining slave room, for the remaining slave room to download the changed second user communication data from the host room according to the data synchronization instruction.
- the second data distribution storage module may be a server or a server cluster, where each unit may be a separate server or a server cluster.
- the interaction between the units is represented by a server corresponding to each unit.
- the data synchronization instructions include at least feature information of the data to be synchronized and a download address of the data to be updated.
- the communication data synchronization electronic device includes: a main room and a plurality of slave rooms, wherein
- the slave computer room is communicably connected to the host room through a listening port disposed in the host room;
- the slave computer room downloads update data from the host room to the local area according to the data update instruction.
- the communication data synchronization electronic device of the embodiment of the present invention can be used to perform the communication data and method of the embodiment of the present invention, and correspondingly achieve the technical effects achieved by the communication data and the method of the embodiment of the present invention, and details are not described herein again.
- an embodiment of the present invention further discloses a server.
- the server of the present invention deploys the communication data synchronization electronic device according to any of the above embodiments of the present invention, and correspondingly performs the communication described in the foregoing embodiment of the present invention. The same data as the method.
- an embodiment of the present invention further discloses a computer room.
- the computer room of the present invention includes a plurality of servers, and at least one of the plurality of servers in the embodiment is configured with any one of the foregoing embodiments of the present invention.
- the communication data synchronizes the electronic device and correspondingly executes the communication data and method described in the above embodiments of the present invention.
- the server disclosed above includes:
- a memory for storing computer operating instructions
- a processor configured to execute the computer operating instructions of the memory storage to perform:
- the first user communication data that changes locally is stored from the equipment room to the data center of the slave computer room and uploaded to the data center of the host room;
- the second user communication data of the host room received from the local and/or other slave room is monitored and acquired from the equipment room for updating the data center of the slave room.
- the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave rooms:
- the slave room downloads, from the host room, the changed second user communication data received from the local and/or other slave room according to the data synchronization instruction.
- the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be synchronized.
- the server disclosed above includes:
- a memory for storing computer operating instructions
- a processor configured to execute the computer operating instructions of the memory storage to perform:
- the host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or
- the host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes to the data center of the remaining slave room.
- the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the remaining slaves.
- the data center of the equipment room includes:
- the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room;
- the host room sends a data synchronization instruction to the remaining slave rooms for the remaining slave rooms to download the changed second user communication data from the host room according to the data synchronization instruction.
- the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be updated.
- the first user communication data that changes locally is stored from the equipment room to the data center of the slave computer room and uploaded to the data center of the host room;
- the second user communication data of the host room received from the local and/or other slave room is monitored and acquired from the equipment room for updating the data center of the slave room.
- the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave rooms:
- the slave room downloads, from the host room, the changed second user communication data received from the local and/or other slave room according to the data synchronization instruction.
- the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be synchronized.
- the host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or
- the host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes to the data center of the remaining slave room.
- the host room will receive from at least one of all slave rooms from the machine room
- the changed second user communication data is stored in the data center of the host room and distributed to the remaining data centers of the slave room including:
- the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room;
- the host room sends a data synchronization instruction to the remaining slave rooms for the remaining slave rooms to download the changed second user communication data from the host room according to the data synchronization instruction.
- the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be updated.
- FIG. 10 it is a schematic structural diagram of an embodiment of a server in the foregoing embodiment of the present invention.
- the specific embodiment of the present invention does not limit the specific implementation of the server 1000, and includes:
- a processor 1010 a communication interface 1020, a memory 1030, and a communication bus 1040. among them:
- the processor 1010, the communication interface 1020, and the memory 1030 complete communication with each other via the communication bus 1040.
- the communication interface 1020 is configured to communicate with a network element such as a third-party access terminal.
- the processor 1010 is configured to execute the program 1032. Specifically, the related steps in the foregoing method embodiments may be performed.
- program 1032 can include program code, the program code including computer operating instructions.
- the processor 1010 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
- CPU central processing unit
- ASIC Application Specific Integrated Circuit
- FIG. 11 is a schematic diagram showing the hardware structure of an electronic device for performing a communication data synchronization method according to an embodiment of the present invention. As shown in FIG. 11, the device includes:
- processors 1110 and a memory 1120 are illustrated by one processor 1110 in FIG.
- the apparatus for performing the communication data synchronization method may further include: an input device 1130 and an output device 1140.
- the processor 1110, the memory 1120, the input device 1130, and the output device 1140 may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
- the memory 1120 is a non-volatile computer readable storage medium, and is usable for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to the communication data synchronization method in the embodiment of the present invention. Instructions/modules (eg, as shown in Figures 6, 8).
- the processor 1110 executes various functional applications and data processing of the server by executing non-volatile software programs, instructions, and modules stored in the memory 1120, that is, implementing the above-described method embodiment column communication data synchronization method.
- the memory 1120 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the communication data synchronization device, and the like.
- memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- memory 1120 can optionally include memory remotely located relative to processor 1110, which can be connected to the communication data synchronization device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the input device 1130 can receive the input digital or character information and generate a key signal input related to user settings and function control of the communication data synchronization device.
- the output device 1140 may include a display device such as a display screen.
- the one or more modules are stored in the memory 1120, and when executed by the one or more processors 1110, perform a communication data synchronization method in any of the above method embodiments.
- the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
- the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
- Embodiments of the present invention also provide a computer program product comprising at least one non-volatile computer storage medium having computer executable program code instructions stored therein, the computer executable program Code instructions capable of performing the above described invention A communication data synchronization method as described in any of the embodiments.
- the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
- Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
- Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
- Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
- Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
- Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
- the server consists of a processor, a hard disk, a memory, a system bus, etc.
- the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
- embodiments of the present invention may be provided as a method, system, or Computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Disclosed is a communication data synchronization method. The method is applied to a data synchronization system comprising a master machine room and a plurality of slave machine rooms, and belongs to the technical field of information. The method comprises: a slave machine room storing locally changed first user communication data in a data centre of the slave machine room and uploading same to a data centre of a master machine room; and the slave machine room monitoring and acquiring changed second user communication data received locally and/or received from the other slave machine rooms by the master machine room, so as to update the data centre of the slave machine room. Correspondingly, also disclosed is a communication data synchronization electronic device. On the one hand, by means of the method and the electronic device of the present invention, synchronization of user communication data in global machine rooms is realized, and the consistency of the user communication data in all the global machine rooms is guaranteed. On the other hand, even though a crash or a fault occurs at a current master machine room, one of the slave machine rooms can also be selected at any time as a new master machine room so as to maintain normal communication of users.
Description
本发明要求在2016年06月27日提交中国专利局、申请号为201610481955.2、发明名称为“通信数据同步方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本发明中。The present invention claims priority to Chinese Patent Application No. 201610481955.2, entitled "Communication Data Synchronization Method and System", filed on June 27, 2016, the entire disclosure of which is incorporated herein by reference.
本发明涉及信息技术领域,特别涉及一种通信数据同步方法及电子设备。The present invention relates to the field of information technology, and in particular, to a communication data synchronization method and an electronic device.
随着互联网技术的发展,通讯类软件正在疯涨。例如,qq、微信、yy直播间、以及一些其它的视频聊天应用。这些通讯类应用都支持安装在超级手机、平板、PC、笔记本以及智能电视上,并且通讯双方已经不再限于某一固定的区域(例如,中国),而是跨区域的(例如,中国的用户和美国的用户进行通信),这就需要由强大的后台服务来实现在同一区域以及跨区域进行通讯的实时性。With the development of Internet technology, communication software is skyrocketing. For example, qq, WeChat, yy live, and some other video chat applications. These communication applications are supported on super phones, tablets, PCs, notebooks, and smart TVs, and the communication parties are no longer limited to a fixed area (for example, China), but across regions (for example, Chinese users). Communicating with users in the United States), this requires a powerful background service to achieve real-time communication in the same area and across regions.
现有技术中实现同区域以及跨区域的通信的方法在于,在全球范围内的所有地区中选择一个地区作为数据中心,将用户的所有的通信数据都存储在该数据中心。当用户需要进行通信或者访问历史数据时,都要通过本数据中心来实现,并且当有新的用户通信数据后也要跨区域的写入该数据中心。The method for realizing the communication between the same area and the area in the prior art is to select one area among all the regions in the world as a data center, and store all the communication data of the user in the data center. When the user needs to communicate or access historical data, it must be implemented through the data center, and when there is new user communication data, the data center should also be written across the area.
然而发明人在实践中发现现有技术的缺陷在于,除了数据中心所在地区以外,其它地区的用户每次通信时都要跨区域的访问数据中心。一方面数据的实时性不好,尤其对于数据传输量比较大的视频通话来说,通信质量将更加得不到保障。另一方面,由于全球所有用户的通信数据只存储在了一个数据中心,这就导致,一旦该数据中心出现宕机或者故障,就将导致整个通信服务瘫痪,影响用户的通信请求,造成不良的用户体验。However, the inventors have found in practice that the drawback of the prior art is that, except for the area where the data center is located, users in other areas have to access the data center across the area each time they communicate. On the one hand, the real-time performance of the data is not good, especially for video calls with a large amount of data transmission, the communication quality will not be guaranteed. On the other hand, since the communication data of all users in the world is only stored in one data center, this will cause the entire communication service to be paralyzed, which will affect the user's communication request and cause bad communication. user experience.
发明内容Summary of the invention
本发明的实施例提供一种通信数据同步方法及电子设备,以用于至少解
决现有技术中存在的跨区域访问数据中心造成的实时性差的技术问题。Embodiments of the present invention provide a communication data synchronization method and an electronic device for at least solving
The technical problem of poor real-time performance caused by cross-regional access to data centers existing in the prior art.
第一方面,本发明的实施例提供一种通信数据同步方法,所述方法用于包括了主机房和多个从机房的数据同步电子设备,所述方法包括:In a first aspect, an embodiment of the present invention provides a communication data synchronization method, where the method is used for a data synchronization electronic device including a host room and a plurality of slave rooms, the method comprising:
所述从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;The first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room;
所述从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。The slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave room for the update of the data center of the slave room.
第二方面,本发明的实施例还提供另一种通信数据同步方法,所述方法用于包括了主机房和多个从机房的数据同步电子设备,所述方法包括:In a second aspect, the embodiment of the present invention further provides another communication data synchronization method, where the method is used for a data synchronization electronic device including a host room and a plurality of slave rooms, the method comprising:
所述主机房将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;和/或The host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or
所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。The host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the data center of the remaining slave room.
第三方面,本发明的实施例又提供一种通信数据同步方法,所述方法包括:In a third aspect, an embodiment of the present invention further provides a communication data synchronization method, where the method includes:
确定不同地区多个机房中一个为主机房,确定所述多个机房中的剩余机房为从机房;Determining that one of the plurality of equipment rooms in different areas is the main equipment room, and determining that the remaining equipment rooms in the plurality of equipment rooms are slave equipment rooms;
所述从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;The first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room;
所述主机房将本地发生变化的第二用户通信数据存储到所述主机房的数据中心并分发至各所述从机房的数据中心;The host room stores the locally changed second user communication data to the data center of the host room and distributes to the data center of each of the slave rooms;
所述从机房将自所述主机房所下发的所述第二用户通信数据存储到所述从机房的数据中心;The slave computer room stores the second user communication data sent by the host room to a data center of the slave computer room;
所述主机房将自所述从机房上传的所述第一用户通信数据存储到所述主机房的数据中心。The host room stores the first user communication data uploaded from the slave room to a data center of the host room.
第四方面,本发明实施例还提供了一种非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行本发明上述任一项通信数据同步方法。In a fourth aspect, an embodiment of the present invention further provides a non-volatile computer storage medium storing computer-executable instructions for performing the above-described communication data synchronization method of the present invention.
第五方面,本发明实施例还提供了一种服务器,包括:至少一个处理器;以及存储器;其中,所述存储器存储有可被所述至少一个处理器执行的程序,
所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本发明上述任一项通信数据同步方法。In a fifth aspect, the embodiment of the present invention further provides a server, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor,
The instructions are executed by the at least one processor to enable the at least one processor to perform the any of the above described communication data synchronization methods of the present invention.
第六方面,本发明实施例还提供了一种计算机程序产品,包括至少一个非易失性计算机存储介质,所述非易失性计算机存储介质具有存储在其中的计算机可执行程序代码指令,所述计算机可执行程序代码指令以执行本发明上述任一项所述的通信数据同步方法。In a sixth aspect, the embodiment of the present invention further provides a computer program product, including at least one non-volatile computer storage medium having computer executable program code instructions stored therein, The computer executable program code instructions are for performing the communication data synchronization method of any of the above aspects of the present invention.
本发明的实施例的通信数据同步方法及电子设备通过实时的将从机房本处发生的第一用户通信数据的变化上传至主机房,并通过主机房将该上传的第一用户通信信息分发至其它的从机房,从而保证了用户通信数据的及时更新,保证了全球所有机房的数据中心的数据的一致性;由于将用户通信数据在全球所有的机房进行了同步,从而即使是主机房发生宕机或者其它故障也可以自从机房中重新选择一个从机房作为新的从机房,以维持正常的运转,当原先的主机房回复正常后再切换回即可。The communication data synchronization method and the electronic device of the embodiment of the present invention upload the change of the first user communication data generated from the local office room to the host room in real time, and distribute the uploaded first user communication information to the host room through the host room. The other slave rooms ensure the timely update of user communication data, ensuring the consistency of data in the data centers of all computer rooms around the world; since the user communication data is synchronized in all the computer rooms around the world, even the host room occurs. Machine or other faults can also be re-selected from the equipment room as a new slave room to maintain normal operation. When the original host room returns to normal, it can be switched back.
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本发明的通信数据同步方法一实施例的流程图;1 is a flowchart of an embodiment of a communication data synchronization method according to the present invention;
图2为本发明的通信数据同步方法另一实施例的流程图;2 is a flowchart of another embodiment of a communication data synchronization method according to the present invention;
图3为本发明的通信数据同步方法再一实施例的流程图;3 is a flowchart of still another embodiment of a communication data synchronization method according to the present invention;
图4为本发明的通信数据同步方法又一实施例的流程图;4 is a flowchart of still another embodiment of a communication data synchronization method according to the present invention;
图5为本发明的通信数据同步方法另一实施例的流程图;FIG. 5 is a flowchart of another embodiment of a method for synchronizing communication data according to the present invention; FIG.
图6为本发明的通信数据同步电子设备一实施例的原理框图;6 is a schematic block diagram of an embodiment of a communication data synchronization electronic device according to the present invention;
图7为本发明的通信数据同步电子设备中的第二数据获取存储模块一实施例的原理框图;7 is a schematic block diagram of an embodiment of a second data acquisition storage module in a communication data synchronization electronic device of the present invention;
图8为本发明的通信数据同步电子设备另一实施例的原理框图;8 is a schematic block diagram of another embodiment of a communication data synchronization electronic device according to the present invention;
图9为本发明的通信数据同步电子设备中的第二数据分发存储模块一实施例的原理框图;
9 is a schematic block diagram of an embodiment of a second data distribution storage module in the communication data synchronization electronic device of the present invention;
图10为本发明的服务器的一实施例的结构示意图;10 is a schematic structural diagram of an embodiment of a server according to the present invention;
图11为本发明的电子设备的一实施例的结构示意图。11 is a schematic structural view of an embodiment of an electronic device of the present invention.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that the embodiments in the present invention and the features in the embodiments may be combined with each other without conflict.
本发明可用于众多通用或专用的计算系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。The invention is applicable to a wide variety of general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor based systems, set-top boxes, programmable consumer electronics devices, network PCs, small computers, mainframe computers, including A distributed computing environment of any of the above systems or devices, and the like.
本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.
在本发明中,“组件”、“装置”、“系统”等等指应用于计算机的相关实体,如硬件、硬件和软件的组合、软件或执行中的软件等。详细地说,例如,组件可以、但不限于是运行于处理器的过程、处理器、对象、可执行组件、执行线程、程序和/或计算机。还有,运行于服务器上的应用程序或脚本程序、服务器都可以是组件。一个或多个组件可在执行的过程和/或线程中,并且组件可以在一台计算机上本地化和/或分布在两台或多台计算机之间,并可以由各种计算机可读介质运行。组件还可以根据具有一个或多个数据包的信号,例如,来自一个与本地系统、分布式系统中另一组件交互的,和/或在因特网的网络通过信号与其它系统交互的数据的信号通过本地和/或远程过
程来进行通信。In the present invention, "component", "device", "system" and the like refer to related entities applied to a computer, such as hardware, a combination of hardware and software, software or software in execution, and the like. In particular, for example, a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable component, a thread of execution, a program, and/or a computer. Also, an application or script running on a server, or a server, can be a component. One or more components can be executed in a process and/or thread, and the components can be localized on a single computer and/or distributed between two or more computers and can be run by various computer readable media. . The component may also pass signals based on data having one or more data packets, for example, from a signal interacting with another component in the local system, the distributed system, and/or interacting with other systems over the network of the Internet. Local and / or remote
Cheng came to communicate.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”,不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Moreover, the terms "comprising" and "comprising" are intended to include not only those elements, but also other elements that are not explicitly listed, or the elements that are inherent to the process, method, item, or device. An element that is defined by the phrase "comprising", without limiting the invention, does not exclude the presence of additional elements in the process, method, article, or device.
如图1所示,本发明的一实施例的通信数据同步方法,所述方法用于包括了主机房和多个从机房的数据同步系统,所述方法包括:As shown in FIG. 1 , a method for synchronizing communication data according to an embodiment of the present invention is used for a data synchronization system including a host room and a plurality of slave rooms, and the method includes:
S11、从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;S11. The first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room;
S12、从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。S12. The slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave room for the update of the data center of the slave room.
本实施例中通过将从机房本地发生变化的第一用户通信数据存储到本地数据中心,同时上传至主机房的数据中心,并且本从机房从主机房获取主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以更新本从机房的数据中心,从而实现了用户通信数据在全球机房的同步,确保了用户通信数据在全球所有机房的一致性。此外,由于本实施例的方法是在主机房和/或从机房发生用户通信数据的变化时,所以达到了实时同步用户通信数据的效果,保证了不同地区的所有机房的数据中心数据的时效性和一致性。另一方面即使当前的主机房发生宕机或者故障,也可以随时从从机房中选择一个作为新的主机房以维持用户正常的通信。In this embodiment, the first user communication data that is changed locally from the equipment room is stored in the local data center, and is simultaneously uploaded to the data center of the host room, and the slave computer room obtains the host room from the host room from the local and/or other slave room. The received second user communication data is updated to update the data center of the slave computer room, thereby realizing the synchronization of the user communication data in the global computer room, and ensuring the consistency of the user communication data in all the computer rooms in the world. In addition, since the method of the embodiment is to change the user communication data in the host room and/or from the machine room, the effect of synchronizing the user communication data in real time is achieved, and the timeliness of the data center data of all the computer rooms in different regions is ensured. And consistency. On the other hand, even if the current host room is down or faulty, you can select one of the slave rooms as a new host room at any time to maintain normal communication.
如图2所示,在一些实施例中,从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据包括:As shown in FIG. 2, in some embodiments, monitoring, and obtaining, from the equipment room, the changed second user communication data received by the host room from the local and/or other slave rooms includes:
S21、从机房接收自所述主机房发送的数据同步指令;S21. Receive, from the equipment room, a data synchronization instruction sent from the host room.
S22、从机房根据所述数据同步指令从所述主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据。S22. The slave computer room downloads, according to the data synchronization command, the changed second user communication data received from the local and/or other slave computer rooms from the host room.
本实施例中通过从机房通过设置与主机房的监听端口监听主机房处是否
有发生变化的第二用户通信数据,当主机房处有发生变化的第二用户通信数据时主机房通过监听端口向从机房发送数据同步指令,当从机房接收到来自主机房的数据同步指令后根据该数据同步指令从主机房下载发生变化的第二用户通信数据,发生变化的第二用户通信数据可以是自主机房本地用户直接上传至主机房的,也可以是接收的除了本从机房以外的其它从机房上传的用户通信数据。In this embodiment, it is monitored whether the host room is monitored from the machine room through the monitoring port of the host room.
There is a change in the second user communication data. When there is a change in the second user communication data at the host room, the host room sends a data synchronization command to the slave room through the listening port, and after receiving the data synchronization command from the host room from the equipment room. Downloading the changed second user communication data from the host room according to the data synchronization instruction, and the changed second user communication data may be directly uploaded from the host room local user to the host room, or may be received in addition to the slave computer room. Other user communication data uploaded from the equipment room.
在一些实施例中,数据同步指令至少包括待同步数据的特征信息和待同步数据的下载地址。In some embodiments, the data synchronization instructions include at least feature information of the data to be synchronized and a download address of the data to be synchronized.
从机房根据所述数据同步指令从所述主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据包括:Downloading, by the machine room, the changed second user communication data received from the host room and received from the host room according to the data synchronization instruction includes:
从机房解析数据同步指令以确定其所包括的待同步数据的特征信息和待同步数据的下载地址,待同步数据的特征信息可以是用户通信数据的名称,待同步数据的下载地址用于从机房从主机房下载相应的待同步数据。The data synchronization instruction is parsed from the equipment room to determine the feature information of the data to be synchronized and the download address of the data to be synchronized. The feature information of the data to be synchronized may be the name of the user communication data, and the download address of the data to be synchronized is used for the slave room. Download the corresponding data to be synchronized from the host room.
如图3所示,本发明的实施例还提供一种通信数据同步方法,所述方法用于包括了主机房和多个从机房的数据同步电子设备,所述方法包括:As shown in FIG. 3, an embodiment of the present invention further provides a communication data synchronization method, where the method is used for a data synchronization electronic device including a host room and a plurality of slave rooms, and the method includes:
S31、主机房将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;和/或S31. The host room stores the locally changed first user communication data in a data center of the host room and distributes the data center to each data center of the slave room; and/or
S32、主机房将自所有从机房中的至少一个从机房接收的本地发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。S32. The host room stores the locally changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes the data to the data center of the remaining slave room.
本实施例中主机房通过将主机房所在地区本地发生的第一用户通信数据存储到主机房以用于分发至位于不同地区的从机房。此外,主机房还用于接收从机房本地发生变化的第二用户通信数据,并将第二用户通信数据分配至不同地区的其它从机房,从而实现了不同地区所有用户通信数据的同步,保证了不同地区用户通信数据的一致性。此外,由于本实施例的方法是在主机房和/或从机房发生用户通信数据的变化时,所以达到了实时同步用户通信数据的效果,保证了不同地区的所有机房的数据中心数据的时效性和一致性。另一方面即使当前的主机房发生宕机或者故障,也可以随时从从机房中选择一个作为新的主机房以维持用户正常的通信。
In this embodiment, the host room stores the first user communication data locally generated in the area where the host room is located to the host room for distribution to the slave room located in different areas. In addition, the host room is further configured to receive second user communication data that changes locally from the equipment room, and distribute the second user communication data to other slave rooms in different regions, thereby realizing synchronization of communication data of all users in different regions, thereby ensuring synchronization. Consistency of user communication data in different regions. In addition, since the method of the embodiment is to change the user communication data in the host room and/or from the machine room, the effect of synchronizing the user communication data in real time is achieved, and the timeliness of the data center data of all the computer rooms in different regions is ensured. And consistency. On the other hand, even if the current host room is down or faulty, you can select one of the slave rooms as a new host room at any time to maintain normal communication.
如图4所示,在一些实施例中,主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心包括:As shown in FIG. 4, in some embodiments, the host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes to the remaining slave room. The data center includes:
S41、主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心;S41. The host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room.
S42、主机房发送数据同步指令至所述剩余的从机房,以用于所述剩余的从机房根据所述数据同步指令从所述主机房下载所述发生变化的第二用户通信数据。S42. The host room sends a data synchronization instruction to the remaining slave room, where the remaining slave room downloads the changed second user communication data from the host room according to the data synchronization instruction.
在本实施例中,数据同步指令至少包括待同步数据的特征信息和待更新数据的下载地址。In this embodiment, the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be updated.
本实施例中通过主机房一旦接受到一个从机房上传的发生变化的第二用户通信数据后就通过监听端口发送数据同步指令至剩余的从机房,以用于从机房根据数据同步指令进行实时的用户通信数据同步,保证了不同地区的从机房之间的用户通信数据同步的时效性和一致性。In this embodiment, after receiving the changed second user communication data uploaded from the equipment room, the host room sends a data synchronization instruction to the remaining slave room through the monitoring port, for real-time operation from the equipment room according to the data synchronization instruction. Synchronization of user communication data ensures the timeliness and consistency of user communication data synchronization between slave rooms in different regions.
如图5所示,本发明的实施例还提供一种通信数据同步方法,所述方法包括:As shown in FIG. 5, an embodiment of the present invention further provides a communication data synchronization method, where the method includes:
S51、确定不同地区多个机房中一个为主机房,确定所述多个机房中的剩余机房为从机房;S51. Determine that one of the multiple equipment rooms in different areas is the main equipment room, and determine that the remaining equipment rooms in the multiple equipment rooms are slave equipment rooms;
S52、从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;S52. The first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room.
S53、主机房将本地发生变化的第二用户通信数据存储到所述主机房的数据中心并分发至各所述从机房的数据中心;S53. The host room stores the locally changed second user communication data to the data center of the host room and distributes the data to the data center of each of the slave rooms;
S54、从机房将自所述主机房所下发的所述第二用户通信数据存储到所述从机房的数据中心;S54. The slave computer room stores the second user communication data sent by the host room to a data center of the slave computer room.
S55、主机房将自所述从机房上传的所述第一用户通信数据存储到所述主机房的数据中心。S55. The host room stores the first user communication data uploaded from the slave room to a data center of the host room.
本发明实施例中可以通过硬件处理器(hardware processor)来实现相关功能模块。In the embodiment of the present invention, a related function module can be implemented by a hardware processor.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表
述为一系列的动作合并,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description,
It is described as a series of combinations of actions, but it should be understood by those skilled in the art that the present invention is not limited by the described order of acts, as some steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
如图6所示,本发明的实施例还提供一种通信数据同步电子设备,包括:As shown in FIG. 6, an embodiment of the present invention further provides a communication data synchronization electronic device, including:
第一数据上传存储模块,用于将发生变化的第一用户通信数据存储到从机房的数据中心并上传至主机房的数据中心;a first data uploading storage module, configured to store the changed first user communication data to a data center of the slave computer room and upload the data to the data center of the host room;
第二数据获取存储模块,用于监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。The second data acquisition storage module is configured to monitor and acquire the changed second user communication data received by the host room from the local device and/or other from the equipment room for updating the data center of the slave computer room.
在本实施例中,所述通信数据同步电子设备可以为单独的服务器或者服务器集群,上述各模块可以为单独的服务器或者服务器集群,此时,各模块之间的交互体现为各模块所对应的服务器或者服务器集群之间的交互,各模块所对应的服务器或者服务器集群共同构成了本发明的通信数据同步电子设备。In this embodiment, the communication data synchronization electronic device may be a separate server or a server cluster, and each of the foregoing modules may be a separate server or a server cluster. In this case, the interaction between the modules is represented by each module. The interaction between the server or the server cluster, the server or server cluster corresponding to each module constitutes the communication data synchronization electronic device of the present invention.
具体地,各模块所对应的服务器或者服务器集群共同构成的通信数据同步电子设备包括:Specifically, the communication data synchronization electronic device jointly formed by the server or the server cluster corresponding to each module includes:
第一数据上传存储服务器或者服务器集群,用于将发生变化的第一用户通信数据存储到从机房的数据中心并上传至主机房的数据中心;The first data uploading storage server or the server cluster is configured to store the changed first user communication data to the data center of the slave computer room and upload the data to the data center of the host room;
第二数据获取存储服务器或者服务器集群,用于监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。a second data acquisition storage server or a server cluster, configured to monitor and acquire the changed second user communication data received by the host room from the local device and/or other slave computer rooms, for use in the data center of the slave computer room Update.
在一种替代实施例中,可以是上述多个模块中的几个模块共同组成一个服务器或者服务器集群。例如:第一数据上传存储模块和第二数据获取存储模块构成服务器或者服务器集群。In an alternate embodiment, several of the plurality of modules described above may collectively form a server or cluster of servers. For example, the first data upload storage module and the second data acquisition storage module constitute a server or a server cluster.
如图7所示,在一些实施例中,第二数据获取存储模块包括:As shown in FIG. 7, in some embodiments, the second data acquisition storage module includes:
指令接收单元,用于接收自所述主机房发送的数据同步指令;
An instruction receiving unit, configured to receive a data synchronization instruction sent from the host room;
第二数据上传存储单元,用于所述从机房根据所述数据同步指令从所述主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据。And a second data uploading storage unit, configured to download, by the slave computer room, the changed second user communication data received from the local office and/or other slave computer rooms from the host room according to the data synchronization instruction.
在本实施例中,第二数据获取存储模块可以为一个服务器或者服务器集群,其中每个单元可以是单独的服务器或者服务器集群,此时,上述单元之间的交互表现为各单元所对应的服务器或者服务器集群之间的交互,所述多个服务器或者服务器集群共同构成上述第二数据获取存储模块以用于构成本发明的通信数据同步电子设备。In this embodiment, the second data acquisition storage module may be a server or a server cluster, where each unit may be a separate server or a server cluster. In this case, the interaction between the units is represented by a server corresponding to each unit. Or the interaction between the server clusters, the plurality of servers or server clusters together forming the second data acquisition storage module for constituting the communication data synchronization electronic device of the present invention.
在一种替代实施例中,可以是上述多个单元中的几个单元共同组成一个服务器或者服务器集群。In an alternate embodiment, several of the plurality of units described above may be combined to form a server or cluster of servers.
在一些实施例中,数据同步指令至少包括待同步数据的特征信息和待同步数据的下载地址。In some embodiments, the data synchronization instructions include at least feature information of the data to be synchronized and a download address of the data to be synchronized.
如图8所示,本发明的一些实施例还提供一种通信数据同步电子设备,包括:As shown in FIG. 8, some embodiments of the present invention further provide a communication data synchronization electronic device, including:
第一数据分发存储模块,用于将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;a first data distribution storage module, configured to store the locally changed first user communication data to a data center of the host room and distribute the data to the data center of each slave room;
第二数据分发存储模块,用于所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。a second data distribution storage module, configured to store, by the host room, the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distribute the data to the remaining slave room center.
在本实施例中,所述通信数据同步电子设备可以为单独的服务器或者服务器集群,上述各模块可以为单独的服务器或者服务器集群,此时,各模块之间的交互体现为各模块所对应的服务器或者服务器集群之间的交互,各模块所对应的服务器或者服务器集群共同构成了本发明的通信数据同步电子设备。In this embodiment, the communication data synchronization electronic device may be a separate server or a server cluster, and each of the foregoing modules may be a separate server or a server cluster. In this case, the interaction between the modules is represented by each module. The interaction between the server or the server cluster, the server or server cluster corresponding to each module constitutes the communication data synchronization electronic device of the present invention.
具体地,各模块所对应的服务器或者服务器集群共同构成的通信数据同步电子设备包括:Specifically, the communication data synchronization electronic device jointly formed by the server or the server cluster corresponding to each module includes:
第一数据分发存储服务器或者服务器集群,用于将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;a first data distribution storage server or a server cluster, configured to store the locally changed first user communication data to a data center of the host room and distribute the data to the data center of each slave room;
第二数据分发存储服务器或者服务器集群,用于所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。
a second data distribution storage server or a server cluster, wherein the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the remaining slaves The data center of the computer room.
在一种替代实施例中,可以是上述多个模块中的几个模块共同组成一个服务器或者服务器集群。例如:第一数据分发存储模块和第二数据分发存储模块构成服务器或者服务器集群。In an alternate embodiment, several of the plurality of modules described above may collectively form a server or cluster of servers. For example, the first data distribution storage module and the second data distribution storage module constitute a server or a server cluster.
如图9所示,在一些实施例中,第二数据分发存储模块包括:As shown in FIG. 9, in some embodiments, the second data distribution storage module includes:
第二数据存储单元,用于将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心;a second data storage unit, configured to store the changed second user communication data received from at least one of the slave rooms from the machine room to a data center of the host room;
指令发送单元,用于发送数据同步指令至所述剩余的从机房,以用于所述剩余的从机房根据所述数据同步指令从所述主机房下载所述发生变化的第二用户通信数据。And an instruction sending unit, configured to send a data synchronization instruction to the remaining slave room, for the remaining slave room to download the changed second user communication data from the host room according to the data synchronization instruction.
在本实施例中,第二数据分发存储模块可以为一个服务器或者服务器集群,其中每个单元可以是单独的服务器或者服务器集群,此时,上述单元之间的交互表现为各单元所对应的服务器或者服务器集群之间的交互,所述多个服务器或者服务器集群共同构成上述第二数据分发存储模块以用于构成本发明的通信数据同步电子设备。In this embodiment, the second data distribution storage module may be a server or a server cluster, where each unit may be a separate server or a server cluster. In this case, the interaction between the units is represented by a server corresponding to each unit. Or an interaction between the server clusters, the plurality of servers or server clusters together forming the second data distribution storage module for constituting the communication data synchronization electronic device of the present invention.
在一种替代实施例中,可以是上述多个单元中的几个单元共同组成一个服务器或者服务器集群。In an alternate embodiment, several of the plurality of units described above may be combined to form a server or cluster of servers.
在一些实施例中,数据同步指令至少包括待同步数据的特征信息和待更新数据的下载地址。In some embodiments, the data synchronization instructions include at least feature information of the data to be synchronized and a download address of the data to be updated.
在本发明的一些实施例中,通信数据同步电子设备,包括:主机房和多个从属机房,其中,In some embodiments of the present invention, the communication data synchronization electronic device includes: a main room and a plurality of slave rooms, wherein
所述从属机房通过设置于所述主机房的监听端口与所述主机房通信连接;The slave computer room is communicably connected to the host room through a listening port disposed in the host room;
当所述主机房发生数据更新时,通过所述监听端口发送数据更新指令至所述从属机房;Sending a data update instruction to the slave computer room through the listening port when data update occurs in the host room;
所述从属机房根据所述数据更新指令从所述主机房下载更新数据至本地。The slave computer room downloads update data from the host room to the local area according to the data update instruction.
上述本发明实施例的通信数据同步电子设备可用于执行本发明实施例的通信数据同方法,并相应的达到上述本发明实施例的通信数据同方法所达到的技术效果,这里不再赘述。
The communication data synchronization electronic device of the embodiment of the present invention can be used to perform the communication data and method of the embodiment of the present invention, and correspondingly achieve the technical effects achieved by the communication data and the method of the embodiment of the present invention, and details are not described herein again.
另一方面,本发明的实施例还公开一种服务器,本发明的服务器布设了本发明上述任一实施例所述的通信数据同步电子设备,并相应的执行本发明上述实施例所述的通信数据同方法。On the other hand, an embodiment of the present invention further discloses a server. The server of the present invention deploys the communication data synchronization electronic device according to any of the above embodiments of the present invention, and correspondingly performs the communication described in the foregoing embodiment of the present invention. The same data as the method.
另一方面,本发明的实施例还公开一种机房,本发明的机房中包括了多个服务器,本实施例中的多个服务器中的至少一个布设了本发明上述任一实施例所述的通信数据同步电子设备,并相应的执行本发明上述实施例所述的通信数据同方法。On the other hand, an embodiment of the present invention further discloses a computer room. The computer room of the present invention includes a plurality of servers, and at least one of the plurality of servers in the embodiment is configured with any one of the foregoing embodiments of the present invention. The communication data synchronizes the electronic device and correspondingly executes the communication data and method described in the above embodiments of the present invention.
在一些实施例中,上述公开的服务器包括:In some embodiments, the server disclosed above includes:
存储器,用于存放计算机操作指令;a memory for storing computer operating instructions;
处理器,用于执行所述存储器存储的计算机操作指令,以执行:a processor, configured to execute the computer operating instructions of the memory storage to perform:
从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;The first user communication data that changes locally is stored from the equipment room to the data center of the slave computer room and uploaded to the data center of the host room;
从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。The second user communication data of the host room received from the local and/or other slave room is monitored and acquired from the equipment room for updating the data center of the slave room.
在一些实施例中,所述从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据包括:In some embodiments, the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave rooms:
所述从机房接收自所述主机房发送的数据同步指令;Receiving, by the slave room, a data synchronization instruction sent from the host room;
所述从机房根据所述数据同步指令从所述主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据。The slave room downloads, from the host room, the changed second user communication data received from the local and/or other slave room according to the data synchronization instruction.
在一些实施例中,所述数据同步指令至少包括待同步数据的特征信息和待同步数据的下载地址。In some embodiments, the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be synchronized.
在一些实施例中,上述公开的服务器包括:In some embodiments, the server disclosed above includes:
存储器,用于存放计算机操作指令;a memory for storing computer operating instructions;
处理器,用于执行所述存储器存储的计算机操作指令,以执行:a processor, configured to execute the computer operating instructions of the memory storage to perform:
主机房将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;和/或The host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or
主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。The host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes to the data center of the remaining slave room.
在一些实施例中,所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从
机房的数据中心包括:In some embodiments, the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the remaining slaves.
The data center of the equipment room includes:
所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心;The host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room;
所述主机房发送数据同步指令至所述剩余的从机房,以用于所述剩余的从机房根据所述数据同步指令从所述主机房下载所述发生变化的第二用户通信数据。The host room sends a data synchronization instruction to the remaining slave rooms for the remaining slave rooms to download the changed second user communication data from the host room according to the data synchronization instruction.
在一些实施例中,所述数据同步指令至少包括待同步数据的特征信息和待更新数据的下载地址。In some embodiments, the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be updated.
本发明实施例还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令能够执行:Embodiments of the present invention also provide a non-volatile computer storage medium storing computer-executable instructions capable of executing:
从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;The first user communication data that changes locally is stored from the equipment room to the data center of the slave computer room and uploaded to the data center of the host room;
从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。The second user communication data of the host room received from the local and/or other slave room is monitored and acquired from the equipment room for updating the data center of the slave room.
在一些实施例中,所述从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据包括:In some embodiments, the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave rooms:
所述从机房接收自所述主机房发送的数据同步指令;Receiving, by the slave room, a data synchronization instruction sent from the host room;
所述从机房根据所述数据同步指令从所述主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据。The slave room downloads, from the host room, the changed second user communication data received from the local and/or other slave room according to the data synchronization instruction.
在一些实施例中,所述数据同步指令至少包括待同步数据的特征信息和待同步数据的下载地址。In some embodiments, the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be synchronized.
本发明实施例还提供了一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有计算机可执行指令,该计算机可执行指令能够执行:Embodiments of the present invention also provide a non-volatile computer storage medium storing computer-executable instructions capable of executing:
主机房将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;和/或The host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or
主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。The host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes to the data center of the remaining slave room.
在一些实施例中,所述主机房将自所有从机房中的至少一个从机房接收
的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心包括:In some embodiments, the host room will receive from at least one of all slave rooms from the machine room
The changed second user communication data is stored in the data center of the host room and distributed to the remaining data centers of the slave room including:
所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心;The host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room;
所述主机房发送数据同步指令至所述剩余的从机房,以用于所述剩余的从机房根据所述数据同步指令从所述主机房下载所述发生变化的第二用户通信数据。The host room sends a data synchronization instruction to the remaining slave rooms for the remaining slave rooms to download the changed second user communication data from the host room according to the data synchronization instruction.
在一些实施例中,所述数据同步指令至少包括待同步数据的特征信息和待更新数据的下载地址。In some embodiments, the data synchronization instruction includes at least feature information of the data to be synchronized and a download address of the data to be updated.
如图10所示,为本发明上述实施例中服务器一实施例的结构示意图,本发明具体实施例并不对服务器1000的具体实现做限定,其包括:As shown in FIG. 10, it is a schematic structural diagram of an embodiment of a server in the foregoing embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the server 1000, and includes:
处理器(processor)1010、通信接口(Communications Interface)1020、存储器(memory)1030、以及通信总线1040。其中:A processor 1010, a communication interface 1020, a memory 1030, and a communication bus 1040. among them:
处理器1010、通信接口1020、以及存储器1030通过通信总线1040完成相互间的通信。The processor 1010, the communication interface 1020, and the memory 1030 complete communication with each other via the communication bus 1040.
通信接口1020,用于与比如第三方访问端等的网元通信。The communication interface 1020 is configured to communicate with a network element such as a third-party access terminal.
处理器1010,用于执行程序1032,具体可以执行上述方法实施例中的相关步骤。The processor 1010 is configured to execute the program 1032. Specifically, the related steps in the foregoing method embodiments may be performed.
具体地,程序1032可以包括程序代码,所述程序代码包括计算机操作指令。In particular, program 1032 can include program code, the program code including computer operating instructions.
处理器1010可能是一个中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1010 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
图11是本发明实施例又提供的执行通信数据同步方法的电子设备的硬件结构示意图,如图11所示,该设备包括:FIG. 11 is a schematic diagram showing the hardware structure of an electronic device for performing a communication data synchronization method according to an embodiment of the present invention. As shown in FIG. 11, the device includes:
一个或多个处理器1110以及存储器1120,图11中以一个处理器1110为例。One or more processors 1110 and a memory 1120 are illustrated by one processor 1110 in FIG.
执行通信数据同步方法的设备还可以包括:输入装置1130和输出装置1140。
The apparatus for performing the communication data synchronization method may further include: an input device 1130 and an output device 1140.
处理器1110、存储器1120、输入装置1130和输出装置1140可以通过总线或者其他方式连接,图11中以通过总线连接为例。The processor 1110, the memory 1120, the input device 1130, and the output device 1140 may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
存储器1120作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的通信数据同步方法对应的程序指令/模块(例如,附图6、8所示)。处理器1110通过运行存储在存储器1120中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例列通信数据同步方法。The memory 1120 is a non-volatile computer readable storage medium, and is usable for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to the communication data synchronization method in the embodiment of the present invention. Instructions/modules (eg, as shown in Figures 6, 8). The processor 1110 executes various functional applications and data processing of the server by executing non-volatile software programs, instructions, and modules stored in the memory 1120, that is, implementing the above-described method embodiment column communication data synchronization method.
存储器1120可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据通信数据同步装置的使用所创建的数据等。此外,存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器1120可选包括相对于处理器1110远程设置的存储器,这些远程存储器可以通过网络连接至通信数据同步装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1120 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the communication data synchronization device, and the like. Moreover, memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 1120 can optionally include memory remotely located relative to processor 1110, which can be connected to the communication data synchronization device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置1130可接收输入的数字或字符信息,以及产生与通信数据同步装置的用户设置以及功能控制有关的键信号输入。输出装置1140可包括显示屏等显示设备。The input device 1130 can receive the input digital or character information and generate a key signal input related to user settings and function control of the communication data synchronization device. The output device 1140 may include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器1120中,当被所述一个或者多个处理器1110执行时,执行上述任意方法实施例中的通信数据同步方法。The one or more modules are stored in the memory 1120, and when executed by the one or more processors 1110, perform a communication data synchronization method in any of the above method embodiments.
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。The above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present invention.
本发明实施例还提供一种计算机程序产品,包括至少一个非易失性计算机存储介质,所述非易失性计算机存储介质具有存储在其中的计算机可执行程序代码指令,所述计算机可执行程序代码指令能够执行本发明上述
任一实施例所述的通信数据同步方法。Embodiments of the present invention also provide a computer program product comprising at least one non-volatile computer storage medium having computer executable program code instructions stored therein, the computer executable program Code instructions capable of performing the above described invention
A communication data synchronization method as described in any of the embodiments.
本发明实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the invention exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
以上所描述的方法实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The method embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施例的描述,本领域的技术人员可以清楚地了解到各实施例可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或
计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as a method, system, or
Computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart. These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (26)
- 一种通信数据同步方法,所述方法用于包括了主机房和多个从机房的数据同步系统,所述方法包括:A communication data synchronization method, the method is used for a data synchronization system including a host room and a plurality of slave rooms, the method comprising:所述从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;The first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room;所述从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。The slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave room for the update of the data center of the slave room.
- 根据权利要求1所述的方法,其中,所述从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据包括:The method according to claim 1, wherein the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave rooms:所述从机房接收自所述主机房发送的数据同步指令;Receiving, by the slave room, a data synchronization instruction sent from the host room;所述从机房根据所述数据同步指令从所述主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据。The slave room downloads, from the host room, the changed second user communication data received from the local and/or other slave room according to the data synchronization instruction.
- 根据权利要求2所述的方法,其中,所述数据同步指令至少包括待同步数据的特征信息和待同步数据的下载地址。The method according to claim 2, wherein said data synchronization instruction includes at least feature information of data to be synchronized and a download address of data to be synchronized.
- 一种通信数据同步方法,所述方法用于包括了主机房和多个从机房的数据同步系统,所述方法包括:A communication data synchronization method, the method is used for a data synchronization system including a host room and a plurality of slave rooms, the method comprising:所述主机房将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;和/或The host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。The host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the data center of the remaining slave room.
- 根据权利要求4所述的方法,其中,所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心包括:The method according to claim 4, wherein the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the remaining slave room The data center includes:所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心; The host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room;所述主机房发送数据同步指令至所述剩余的从机房,以用于所述剩余的从机房根据所述数据同步指令从所述主机房下载所述发生变化的第二用户通信数据。The host room sends a data synchronization instruction to the remaining slave rooms for the remaining slave rooms to download the changed second user communication data from the host room according to the data synchronization instruction.
- 根据权利要求5所述的方法,其中,所述数据同步指令至少包括待同步数据的特征信息和待更新数据的下载地址。The method according to claim 5, wherein said data synchronization instruction includes at least feature information of data to be synchronized and a download address of data to be updated.
- 一种通信数据同步方法,所述方法包括:A communication data synchronization method, the method comprising:确定不同地区多个机房中一个为主机房,确定所述多个机房中的剩余机房为从机房;Determining that one of the plurality of equipment rooms in different areas is the main equipment room, and determining that the remaining equipment rooms in the plurality of equipment rooms are slave equipment rooms;所述从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;The first user communication data that is locally changed from the equipment room is stored in the data center of the slave computer room and uploaded to the data center of the host room;所述主机房将本地发生变化的第二用户通信数据存储到所述主机房的数据中心并分发至各所述从机房的数据中心;The host room stores the locally changed second user communication data to the data center of the host room and distributes to the data center of each of the slave rooms;所述从机房将自所述主机房所下发的所述第二用户通信数据存储到所述从机房的数据中心;The slave computer room stores the second user communication data sent by the host room to a data center of the slave computer room;所述主机房将自所述从机房上传的所述第一用户通信数据存储到所述主机房的数据中心。The host room stores the first user communication data uploaded from the slave room to a data center of the host room.
- 一种通信数据同步电子设备,包括:A communication data synchronization electronic device includes:第一数据上传存储模块,用于将发生变化的第一用户通信数据存储到从机房的数据中心并上传至主机房的数据中心;a first data uploading storage module, configured to store the changed first user communication data to a data center of the slave computer room and upload the data to the data center of the host room;第二数据获取存储模块,用于监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。The second data acquisition storage module is configured to monitor and acquire the changed second user communication data received by the host room from the local device and/or other from the equipment room for updating the data center of the slave computer room.
- 根据权利要求8所述的电子设备,其中,所述第二数据获取存储模块包括:The electronic device of claim 8, wherein the second data acquisition storage module comprises:指令接收单元,用于接收自所述主机房发送的数据同步指令;An instruction receiving unit, configured to receive a data synchronization instruction sent from the host room;第二数据上传存储单元,用于所述从机房根据所述数据同步指令从所述 主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据。a second data uploading storage unit, configured, by the slave computer room according to the data synchronization instruction The host room downloads local and/or other changed second user communication data received from the machine room.
- 根据权利要求9所述的电子设备,其中,所述数据同步指令至少包括待同步数据的特征信息和待同步数据的下载地址。The electronic device according to claim 9, wherein said data synchronization instruction includes at least feature information of data to be synchronized and a download address of data to be synchronized.
- 一种通信数据同步电子设备,包括:A communication data synchronization electronic device includes:第一数据分发存储模块,用于将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;a first data distribution storage module, configured to store the locally changed first user communication data to a data center of the host room and distribute the data to the data center of each slave room;第二数据分发存储模块,用于所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。a second data distribution storage module, configured to store, by the host room, the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distribute the data to the remaining slave room center.
- 根据权利要求11所述的电子设备,其中,所述第二数据分发存储模块包括:The electronic device of claim 11, wherein the second data distribution storage module comprises:第二数据存储单元,用于将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心;a second data storage unit, configured to store the changed second user communication data received from at least one of the slave rooms from the machine room to a data center of the host room;指令发送单元,用于发送数据同步指令至所述剩余的从机房,以用于所述剩余的从机房根据所述数据同步指令从所述主机房下载所述发生变化的第二用户通信数据。And an instruction sending unit, configured to send a data synchronization instruction to the remaining slave room, for the remaining slave room to download the changed second user communication data from the host room according to the data synchronization instruction.
- 根据权利要求12所述的电子设备,其中,所述数据同步指令至少包括待同步数据的特征信息和待更新数据的下载地址。The electronic device according to claim 12, wherein said data synchronization instruction includes at least feature information of data to be synchronized and a download address of data to be updated.
- 一种服务器包括:A server includes:存储器,用于存放计算机操作指令;a memory for storing computer operating instructions;处理器,用于执行所述存储器存储的计算机操作指令,以执行:a processor, configured to execute the computer operating instructions of the memory storage to perform:从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;The first user communication data that changes locally is stored from the equipment room to the data center of the slave computer room and uploaded to the data center of the host room;从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。 The second user communication data of the host room received from the local and/or other slave room is monitored and acquired from the equipment room for updating the data center of the slave room.
- 根据权利要求14所述的服务器,其中,所述从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据包括:The server according to claim 14, wherein the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave rooms:所述从机房接收自所述主机房发送的数据同步指令;Receiving, by the slave room, a data synchronization instruction sent from the host room;所述从机房根据所述数据同步指令从所述主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据。The slave room downloads, from the host room, the changed second user communication data received from the local and/or other slave room according to the data synchronization instruction.
- 根据权利要求15所述的服务器,其中,所述数据同步指令至少包括待同步数据的特征信息和待同步数据的下载地址。The server according to claim 15, wherein said data synchronization instruction includes at least feature information of data to be synchronized and a download address of data to be synchronized.
- 一种服务器包括:A server includes:存储器,用于存放计算机操作指令;a memory for storing computer operating instructions;处理器,用于执行所述存储器存储的计算机操作指令,以执行:a processor, configured to execute the computer operating instructions of the memory storage to perform:主机房将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;和/或The host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。The host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes to the data center of the remaining slave room.
- 根据权利要求17所述的服务器,其中,所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心包括:The server according to claim 17, wherein the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room and distributes to the remaining slave room The data center includes:所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心;The host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room;所述主机房发送数据同步指令至所述剩余的从机房,以用于所述剩余的从机房根据所述数据同步指令从所述主机房下载所述发生变化的第二用户通信数据。The host room sends a data synchronization instruction to the remaining slave rooms for the remaining slave rooms to download the changed second user communication data from the host room according to the data synchronization instruction.
- 根据权利要求18所述的服务器,其中,所述数据同步指令至少包括待同步数据的特征信息和待更新数据的下载地址。 The server according to claim 18, wherein said data synchronization instruction includes at least feature information of data to be synchronized and a download address of data to be updated.
- 一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有计算机可执行指令,该计算机可执行指令能够执行:A non-volatile computer storage medium storing computer-executable instructions executable to:从机房将本地发生变化的第一用户通信数据存储到所述从机房的数据中心并上传至所述主机房的数据中心;The first user communication data that changes locally is stored from the equipment room to the data center of the slave computer room and uploaded to the data center of the host room;从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据,以用于所述从机房的数据中心的更新。The second user communication data of the host room received from the local and/or other slave room is monitored and acquired from the equipment room for updating the data center of the slave room.
- 根据权利要求20所述的非易失性计算机存储介质,其中,所述从机房监听并获取所述主机房自本地和/或其它从机房接收到的发生变化的第二用户通信数据包括:The non-volatile computer storage medium of claim 20, wherein the slave room monitors and acquires the changed second user communication data received by the host room from the local and/or other slave rooms:所述从机房接收自所述主机房发送的数据同步指令;Receiving, by the slave room, a data synchronization instruction sent from the host room;所述从机房根据所述数据同步指令从所述主机房下载自本地和/或其它从机房接收到的发生变化的第二用户通信数据。The slave room downloads, from the host room, the changed second user communication data received from the local and/or other slave room according to the data synchronization instruction.
- 根据权利要求21所述的非易失性计算机存储介质,其中,所述数据同步指令至少包括待同步数据的特征信息和待同步数据的下载地址。The nonvolatile computer storage medium according to claim 21, wherein said data synchronization instruction includes at least feature information of data to be synchronized and a download address of data to be synchronized.
- 一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有计算机可执行指令,该计算机可执行指令能够执行:A non-volatile computer storage medium storing computer-executable instructions executable to:主机房将本地发生变化的第一用户通信数据存储到主机房的数据中心并分发至各从机房的数据中心;和/或The host room stores the locally changed first user communication data to the data center of the host room and distributes to the data center of each slave room; and/or主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心。The host room stores the changed second user communication data received from at least one of the slave rooms from the equipment room to the data center of the host room and distributes to the data center of the remaining slave room.
- 根据权利要求23所述的非易失性计算机存储介质,其中,所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心并分发至剩余的从机房的数据中心包括:The non-volatile computer storage medium of claim 23, wherein the host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to a data center of the host room and Data centers distributed to the remaining slave rooms include:所述主机房将自所有从机房中的至少一个从机房接收的发生变化的第二用户通信数据存储到主机房的数据中心;The host room stores the changed second user communication data received from at least one of the slave rooms from the machine room to the data center of the host room;所述主机房发送数据同步指令至所述剩余的从机房,以用于所述剩余的 从机房根据所述数据同步指令从所述主机房下载所述发生变化的第二用户通信数据。Sending, by the host room, a data synchronization instruction to the remaining slave room for the remaining The changed second user communication data is downloaded from the host room according to the data synchronization instruction from the machine room.
- 根据权利要求24所述的非易失性计算机存储介质,其中,所述数据同步指令至少包括待同步数据的特征信息和待更新数据的下载地址。The nonvolatile computer storage medium according to claim 24, wherein said data synchronization instruction includes at least feature information of data to be synchronized and a download address of data to be updated.
- 一种计算机程序产品,包括至少一个非易失性计算机存储介质,所述非易失性计算机存储介质具有存储在其中的计算机可执行程序代码指令,所述计算机可执行程序代码指令能够执行权利要求1-7任一项所述的通信数据同步方法。 A computer program product comprising at least one non-volatile computer storage medium having computer executable program code instructions stored therein, the computer executable program code instructions being capable of executing the claims The communication data synchronization method according to any one of 1 to 7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610481955.2A CN106254416A (en) | 2016-06-27 | 2016-06-27 | Communication data synchronous method and system |
CN201610481955.2 | 2016-06-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018000621A1 true WO2018000621A1 (en) | 2018-01-04 |
Family
ID=57613063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/100154 WO2018000621A1 (en) | 2016-06-27 | 2016-09-26 | Communication data synchronization method and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106254416A (en) |
WO (1) | WO2018000621A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111639139A (en) * | 2020-06-04 | 2020-09-08 | 中国工商银行股份有限公司 | Data synchronization method and device for data center, computing equipment and medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108243209A (en) * | 2016-12-23 | 2018-07-03 | 深圳市优朋普乐传媒发展有限公司 | A kind of method of data synchronization and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008054165A1 (en) * | 2006-11-03 | 2008-05-08 | Casuh Corporation | Wireless network protocol for converging broadcasting, communication and controlling in a short ranged pico-cell |
CN104980519A (en) * | 2015-06-29 | 2015-10-14 | 北京奇虎科技有限公司 | Multi-computer room storage system |
CN105205182A (en) * | 2015-10-28 | 2015-12-30 | 北京奇虎科技有限公司 | System deployed in multiple computer rooms and cross-computer-room business data processing method |
CN105356989A (en) * | 2014-08-18 | 2016-02-24 | 北京壹人壹本信息科技有限公司 | MTP mode-based data synchronization method, system and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369051B (en) * | 2013-07-22 | 2016-04-27 | 中安消技术有限公司 | A kind of data server cluster system and method for data synchronization |
CN103634385A (en) * | 2013-11-22 | 2014-03-12 | 乐视网信息技术(北京)股份有限公司 | System, method and server for data synchronizing |
CN104954474B (en) * | 2015-06-19 | 2019-08-02 | 北京奇虎科技有限公司 | The method and device that data update in load balancing |
-
2016
- 2016-06-27 CN CN201610481955.2A patent/CN106254416A/en active Pending
- 2016-09-26 WO PCT/CN2016/100154 patent/WO2018000621A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008054165A1 (en) * | 2006-11-03 | 2008-05-08 | Casuh Corporation | Wireless network protocol for converging broadcasting, communication and controlling in a short ranged pico-cell |
CN105356989A (en) * | 2014-08-18 | 2016-02-24 | 北京壹人壹本信息科技有限公司 | MTP mode-based data synchronization method, system and device |
CN104980519A (en) * | 2015-06-29 | 2015-10-14 | 北京奇虎科技有限公司 | Multi-computer room storage system |
CN105205182A (en) * | 2015-10-28 | 2015-12-30 | 北京奇虎科技有限公司 | System deployed in multiple computer rooms and cross-computer-room business data processing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111639139A (en) * | 2020-06-04 | 2020-09-08 | 中国工商银行股份有限公司 | Data synchronization method and device for data center, computing equipment and medium |
CN111639139B (en) * | 2020-06-04 | 2024-02-02 | 中国工商银行股份有限公司 | Data synchronization method, device, computing equipment and medium for data center |
Also Published As
Publication number | Publication date |
---|---|
CN106254416A (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10872064B2 (en) | Utilizing version vectors across server and client changes to determine device usage by type, app, and time of day | |
CN109496419B (en) | File processing method, device and system | |
US9270521B2 (en) | Provisioning and managing a cluster deployed on a cloud | |
WO2019090902A1 (en) | Screen sharing method and apparatus, electronic device, and storage medium | |
CN111090699A (en) | Service data synchronization method and device, storage medium and electronic device | |
WO2017124842A1 (en) | Method and device for taking screenshots | |
JP2021527366A (en) | Systems and methods for integrated conferencing platforms | |
CN106687923B (en) | Presentation of computing environments on multiple devices | |
US20120124124A1 (en) | Centralized Rendering Of Collaborative Content | |
MX2014012325A (en) | Enabling web clients to provide web services. | |
CN106453464A (en) | Data sharing system and method thereof | |
US9801146B2 (en) | Terminal and synchronization control method among terminals | |
AU2020408143B2 (en) | Watermark-based techniques for change-data-capture | |
CN102917012A (en) | Storage and communication de-duplication | |
US20180338015A1 (en) | Progressive hybrid web application | |
WO2023284387A1 (en) | Model training method, apparatus, and system based on federated learning, and device and medium | |
US20200112768A1 (en) | Network-based media device upgrading system | |
JP2016540289A (en) | Method for remote monitoring and system for signal acquisition and remote monitoring | |
JP2022153623A (en) | Ultra high-speed low-latency network storage | |
WO2018000621A1 (en) | Communication data synchronization method and electronic device | |
US10514959B2 (en) | Distributed virtual local operating system stored in cloud and its method | |
WO2016202202A1 (en) | Device connection method and apparatus, and smart television system | |
WO2023221495A1 (en) | Web page synchronization method and apparatus, storage medium, and electronic device | |
CN109981778B (en) | Method, device, equipment and storage medium for realizing service of content distribution network | |
WO2018000635A1 (en) | Interface configuration method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16907017 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16907017 Country of ref document: EP Kind code of ref document: A1 |