Multi-machine backup method and system
A technology for backing up and backing up files, which is applied in the computer field and can solve problems such as inability to back up data to a backup machine, data loss, and inconsistent business process status
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Such as figure 1 As shown in the block diagram of the multi-machine backup system, a multi-machine backup method provided by the embodiment of the present invention is based on the multi-machine backup system. The multi-machine backup system includes an original machine 11 and at least one backup machine 12 connected thereto. Wherein, the machines included in the multi-machine backup system are used to run different services to ensure the normal operation of the services. Specifically, the services run by the machines included in the multi-machine backup system may be such as QQ instant message service and related services, online transaction services such as Taobao, and game services such as QQ games. The business process described in this application refers to the process of online transaction services such as QQ and Taobao, and game services such as QQ games.
[0026] It should be noted that this method is applied to an original machine and a backup machine with a L...
Embodiment 2
[0081] Based on the multi-machine backup method described in Embodiment 1, the embodiment of the present invention also provides a multi-machine backup method, such as image 3 As shown, the method includes:
[0082] 301. The original machine calls the memory mapping function mmap() of the business process to map the data of the business process into the memory, and mark the mapping area in the memory where the data is mapped as shared.
[0083] 302. The original machine calls a refresh change function msync() to write the data of the service process in the mapping area into a backup file; wherein the backup file is located in a disk.
[0084] 303. The original machine sends the data in the backup file to the backup machine.
[0085] It should be noted that, for the detailed description of steps 301-303, reference may be made to the description of steps 101-103, which will not be repeated here in this embodiment of the present invention.
[0086] 304. The backup machine stor...
Embodiment 3
[0096] The embodiment of the present invention provides a multi-machine backup system, such as figure 1 Said, the system includes an original machine and at least one backup machine connected thereto. Specifically, such as Figure 4 As shown, the original machine includes a memory mapping module 41, a data refresh module 42 and a data sending module 43;
[0097] The memory mapping module 41 is used to call the memory mapping function mmap() of the service process, map the data of the service process into the memory, and mark the mapping area of the data in the memory as shared;
[0098] The data refresh module 42 is used to call the refresh change function msync(), and write the data of the business process in the mapping area into a backup file; wherein, the backup file is located in a disk;
[0099] The data sending module 43 is configured to send the data in the backup file to the backup machine.
[0100] Optionally, the data refresh module 42 is specifically configure...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com