CN108932267B - Data migration method and system - Google Patents
Data migration method and system Download PDFInfo
- Publication number
- CN108932267B CN108932267B CN201710386035.7A CN201710386035A CN108932267B CN 108932267 B CN108932267 B CN 108932267B CN 201710386035 A CN201710386035 A CN 201710386035A CN 108932267 B CN108932267 B CN 108932267B
- Authority
- CN
- China
- Prior art keywords
- virtual area
- immigration
- data processing
- area identifier
- processing equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005012 migration Effects 0.000 title claims abstract description 29
- 238000013508 migration Methods 0.000 title claims abstract description 29
- 238000012545 processing Methods 0.000 claims abstract description 140
- 230000002159 abnormal effect Effects 0.000 claims abstract description 70
- 238000012423 maintenance Methods 0.000 claims abstract description 20
- 230000008859 change Effects 0.000 claims description 10
- 238000013316 zoning Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 5
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000013075 data extraction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
-
- 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/131—Protocols for games, networked simulations or virtual reality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a data migration method and a system, wherein the method comprises the following steps: after receiving a immigration registration instruction of an object in an abnormal virtual area, sending an immigration virtual area identification set; receiving a target immigration virtual area identifier and an object identifier which are determined in the immigration virtual area identifier set and used for executing immigration operation, and storing the corresponding relation between the target immigration virtual area identifier and the object identifier; during the maintenance period of the data processing equipment, extracting object data corresponding to the object identification, and transferring the object data to the data processing equipment corresponding to the target immigration virtual area identification; a merge operation is performed on the data processing device. According to the method and the system, the user can determine the data processing equipment (namely the server) with the transferred role according to the preference of the user, so that the user experience can be improved, and the user experience can be enhanced.
Description
Technical Field
The present application relates to the field of network technologies, and in particular, to a data migration method and system.
Background
At present, a network game can set a plurality of virtual areas according to geographical locations or game requirements, and each virtual area is provided with a server correspondingly. After the online game runs for one year or more, the number of online users and business benefits in some virtual areas gradually decrease. This can result in online users on the servers corresponding to these virtual areas not experiencing sufficient enjoyment of game interaction and can increase the operating costs for the operator.
Therefore, after the network game is operated for a long time, the network game operator can merge the virtual areas according to the online number of the network game, the business income and other operation indexes. This merging behavior is called a merge operation or merge region operation. The merge operation is specifically to migrate user data in a database of one virtual area to a database of another virtual area.
At present, when performing a merge operation, the prior art usually forces two or more virtual areas to be merged to perform the merge operation. Such forced region-closing operation may reduce user experience and easily cause user loss.
Disclosure of Invention
The application provides a data migration method and a data migration system, which can carry out immigration operation on user roles before the district closing operation, thereby improving the user experience.
In order to achieve the above object, the present application provides the following technical means:
a method of data migration, comprising:
after receiving a immigration registration instruction of an object in an abnormal virtual area, sending an immigration virtual area identification set; the immigration virtual area identifier set is a set of virtual area identifiers determined in a normal virtual area identifier set and used for enabling an object in the abnormal virtual area to execute immigration registration;
receiving a target immigration virtual area identifier and an object identifier which are determined in the immigration virtual area identifier set and used for executing immigration operation, and storing the corresponding relation between the target immigration virtual area identifier and the object identifier;
extracting object data corresponding to the object identification during maintenance of the data processing equipment, and transferring the object data to the data processing equipment corresponding to the target immigration virtual area identification;
a merge operation is performed on the data processing device.
Optionally, the extracting the object data corresponding to the object identifier includes:
in the data processing equipment, respectively extracting a plurality of attribute data which are in one-to-one correspondence with a plurality of first preset attributes by using the object identification;
determining a union of the plurality of attribute data as the object data;
deleting the remaining data of the object identification in the data processing device.
Optionally, the performing a merge operation on the data processing device includes:
in the data processing equipment, extracting the object data of the remaining object identifiers, and deleting the remaining data of the remaining object identifiers;
performing the area combination operation on the object data of the rest object identifiers in the data processing equipment and the data processing equipment corresponding to the area combination virtual area identifiers; and the zoning virtual area identifier is a virtual area identifier which is determined in the abnormal virtual area identifier set and is used for the data processing equipment to execute the zoning operation.
Optionally, before the data processing apparatus is in the maintenance period, the method further includes:
closing the change operation corresponding to the plurality of second preset attributes;
and after the data processing equipment is subjected to the area closing operation, starting the change operation corresponding to the plurality of second preset attributes.
A method of data migration, the method comprising:
determining a normal virtual area identifier set which does not need to execute the area-combining operation and an abnormal virtual area identifier set which needs to execute the area-combining operation in the plurality of virtual area identifiers;
determining a immigration virtual area identification set corresponding to the abnormal virtual area identification in the normal virtual area identification set;
and sending the immigration virtual area identifier set to the data processing equipment corresponding to the abnormal virtual area identifier, so that the data processing equipment performs immigration operation based on the immigration virtual area identifier set and then performs area combination operation on the data processing equipment.
Optionally, determining, in the normal virtual area identifier set, a immigration virtual area identifier set corresponding to the abnormal virtual area identifier includes:
respectively determining the area information of the abnormal virtual area identification and each normal virtual area identification;
acquiring each normal virtual area identifier which is determined by using a preset immigration rule and is matched with the abnormal virtual area identifier based on the area information;
and determining a set of normal virtual area identifications determined by using a preset immigration rule as an immigration virtual area identification set.
Optionally, the preset immigration rule includes:
opening a virtual area with a higher active object proportion to a virtual area with a lower active object proportion;
one virtual area is opened to a virtual area whose basic attribute is the same level.
Optionally, the method further includes:
determining a combined area virtual area identifier corresponding to the abnormal virtual area identifier in the abnormal virtual area identifier set;
and sending the area-closing virtual area identifier to the data processing equipment corresponding to the abnormal virtual area identifier, so that the data processing equipment performs area-closing operation based on the area-closing virtual area identifier.
A method of data migration, comprising:
sending a immigration registration instruction of an object in the abnormal virtual area to the data processing equipment;
receiving and displaying a immigration virtual area identification set sent by the data processing equipment; the immigration virtual area identifier set is a set of virtual area identifiers determined in a normal virtual area identifier set and used for enabling an object in the abnormal virtual area to execute immigration registration;
determining a target immigration virtual area identifier which is used for executing immigration operation in the immigration virtual area identifier set;
and sending the target immigration virtual area identifier and the object identifier of the object to the data processing equipment.
A data migration system, comprising:
the control equipment is used for determining a normal virtual area identifier set which does not need to execute the area combination operation in the plurality of virtual area identifiers, determining a immigration virtual area identifier set corresponding to the abnormal virtual area identifier in the normal virtual area identifier set, and sending the immigration virtual area identifier set to the data processing equipment corresponding to the abnormal virtual area identifier;
the data processing equipment is used for receiving and storing the immigration virtual area identifier set, sending the immigration virtual area identifier set to a terminal after receiving an immigration registration instruction of an object sent by the terminal, receiving a target immigration virtual area identifier sent by the terminal and used for executing immigration operation, storing the corresponding relation between the target immigration virtual area identifier and the object identifier, extracting object data corresponding to the object identifier during maintenance of the data processing equipment, and sending the object data to the data processing equipment corresponding to the target immigration virtual area identifier;
the terminal is used for sending a immigration registration instruction for performing immigration registration on an object to data processing equipment, receiving and displaying an immigration virtual area identifier set sent by the data processing equipment, and sending a target immigration virtual area identifier and an object identifier of the object to the data processing equipment after determining the target immigration virtual area identifier in the immigration virtual area identifier set.
Through the technical means, the following beneficial effects can be realized:
the application provides a data migration method, which does not perform a forced area closing operation any more, but allows a user to determine a target immigration virtual area identifier for executing immigration operation in a immigration virtual area identifier set according to own preference before the area closing operation, then immigration of a user role to data processing equipment (namely a server) corresponding to the target immigration virtual area identifier, and then, the area closing operation is executed.
In the application, the user can determine the data processing equipment (namely the server) with the transferred role according to the preference of the user, and the data processing equipment is not combined into one data processing equipment (also connected with the server) in a mandatory mode, so that the user experience can be improved, and the user experience is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1a is a schematic structural diagram of a data migration system according to an embodiment of the present disclosure;
FIG. 1b is a flowchart of a data migration method disclosed in an embodiment of the present application;
fig. 2 is a flowchart of another data migration method disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Interpretation of terms:
the user: representing a player in a network game.
Object: representing the role a player plays in the game in a network game.
Abnormal virtual area identification: identification of the virtual area where the merge operation needs to be performed.
Normal virtual area identification: the identification of the virtual area where the merge operation need not be performed.
Normal virtual area identification set: a set of identifications of virtual areas determined among the plurality of virtual area identifications that do not require a merge operation to be performed.
Immigration virtual area identification: and indicating the identification of the target virtual area for immigrating the object in the abnormal virtual area.
Maintenance date of data processing apparatus: the data processing apparatus performs data maintenance on a specified maintenance date (maintenance day).
MMORPG: english, Massive on line roll-Playing Game. At present, a formal Chinese translation name of the MMORPG does not exist, and a common translation method in China is a large-scale multiplayer online role playing game which is one of online games. In all role-playing games, a player plays a virtual role and controls many activities of the role.
The severe game is as follows: the method needs the real-time online of users, and has the advantages of complex player role attributes, strong intensity resistance and high operability requirement.
In the network game, a user (player) can log in an existing registered account through a terminal, each network game has a plurality of virtual areas, and the terminal can display the plurality of virtual areas. The user can enter one virtual area among a plurality of virtual areas according to his/her preference and create one or more objects (characters) in the virtual area, thereby playing a game using the objects.
It should be noted that each object id is unique to all servers, i.e. there is one and only one object id in each virtual area. In general, objects in one virtual area can only perform game operations within the virtual area, and objects in the respective virtual areas do not interact with each other.
According to one embodiment of the present application, a data migration system is provided. Referring to fig. 1a, the data migration system specifically includes: a terminal 100 registering an account in each virtual area, each data processing apparatus 200 serving each virtual area, and a control apparatus 300 connected to each data processing apparatus 200.
Referring to FIG. 1b, the execution of the data migration system is described:
step S101: the data processing apparatus 200 is configured to count area information of the virtual area and transmit the area information to the control apparatus 300.
The data processing device 200 is used to serve a virtual area and provide data support for user games in the virtual area. The data processing device 200 may be implemented using one or more servers when implemented.
The zone information may include an active user ratio: each data processing device 200 stores the number of existing objects in the virtual area, counts the number of active objects in the virtual area, and determines the ratio of the number of active objects to the number of existing objects as the active user ratio.
The region information may include an object level: each data processing device 200 may store the levels of the respective objects thereon and calculate an average level of the data processing device based on the levels of the respective objects. It will be appreciated that a higher level indicates a greater ability of the object in the data processing apparatus.
The region information may include the trading capabilities of the object: each data processing device 200 may store a transaction record for the respective object thereon from which the average transaction capabilities of a data processing device are determined. It will be appreciated that higher transaction capabilities indicate higher capabilities.
Each data processing apparatus 200 may continuously perform the above-described process and transmit the area information to the control apparatus 300.
Step S102: the control device 300 is configured to determine, among the plurality of virtual area identifiers, a normal virtual area identifier set that does not need to perform a merge operation and an abnormal virtual area identifier that needs to perform a merge operation.
The control device 300 stores thereon a plurality of virtual area identifications, and the control device 300 can receive and store the active user ratios transmitted by the respective data processing devices 200. The control device 300 may monitor the proportion of active users of the respective data processing device 200 over a period of time.
When the proportion of the active users sent by the data processing equipment in one virtual area is smaller than the preset proportion, the fact that the number of the active users in the virtual area is small is indicated, the fact that the virtual area needs to execute the area combination operation is indicated, and the virtual area is an abnormal virtual area. The identification of the abnormal virtual area is referred to as an abnormal virtual area identification.
On the contrary, when the proportion of the active users sent by the data processing device of one virtual area is not less than the preset proportion, it indicates that the number of the active users in the virtual area is large, and it indicates that the virtual area does not need to execute the area-closing operation, and the virtual area is a normal virtual area. The identification of the normal virtual area is referred to as a normal virtual area identification.
After the control device 300 performs the above process on all the virtual area identifiers, it may determine each normal virtual area identifier and each abnormal virtual area identifier in all the virtual area identifiers. For convenience of reference, a set of each normal virtual area identifier is referred to as a normal virtual area identifier set, and a set of each abnormal virtual area identifier is referred to as an abnormal virtual area identifier set.
Step S103: and determining a immigration virtual area identifier set corresponding to the abnormal virtual area identifier in the normal virtual area identifier set, determining a closure virtual area identifier corresponding to the abnormal virtual area identifier in the abnormal virtual area identifier set, and sending the immigration virtual area identifier set and the closure virtual area identifier to the data processing equipment 200 corresponding to the abnormal virtual area identifier.
The traditional merge operation is a mandatory merge operation, which affects user experience. Therefore, the method and the device provide the object immigration operation for the user in the abnormal virtual area. That is, the user can immigrate the object to other normal virtual areas according to his/her preference before the merge operation.
Therefore, the control device 300 sets a immigration virtual area identifier set, which is a set of a plurality of immigration virtual area identifiers, for each abnormal virtual area identifier. And each immigration virtual area mark represents a target virtual area of which the object in the abnormal virtual area is more suitable for immigration.
The control device 300 determines a immigration virtual area identifier set for each abnormal virtual area identifier in the normal virtual area identifier set.
The control device 300 processes each abnormal virtual area identifier in a consistent manner, and therefore, a process of determining a immigration virtual area identifier set is described by taking an abnormal virtual area identifier as an example:
in the first case: the control apparatus 300 may directly determine the normal virtual area identification set as the immigration virtual area identification set. In this case, the user can select the virtual area identification to be immigrated among all the normal virtual areas.
In the second case: the control device 300 may determine a immigration virtual area identification set suitable for the abnormal virtual area according to a preset immigration rule. Referring to fig. 2, the method specifically includes the following steps:
s201: and respectively determining the area information of the abnormal virtual area identifier and the normal virtual area identifier.
As can be seen from step S101, each data processing apparatus 200 transmits the area information to the control apparatus 300, and the control apparatus 300 can receive and store the area information transmitted by the data processing apparatus 200 of each virtual area.
The control device 300 obtains the area information corresponding to the abnormal virtual area identifier through the abnormal virtual area identifier, and obtains the area information corresponding to each normal virtual area identifier in the normal virtual area identifier set.
S202: and acquiring the virtual area identifier of the abnormal virtual area identifier determined by using the preset immigration rule based on the area information.
The control device 300 may have a preset immigration rule, and based on the preset immigration rule, the control device 300 matches the area information of one abnormal virtual area with the area information of a plurality of normal virtual area identifiers, so as to determine each normal virtual area identifier suitable for immigration in the abnormal virtual area, and determine each normal virtual area identifier as an immigration virtual area identifier set.
The preset immigration rules comprise: opening a virtual area with a higher active object proportion to a virtual area with a lower active object proportion; alternatively, one virtual area is opened to a virtual area whose basic attribute is the same level. Certainly, the preset immigration rules may also include other rules, and may also be adaptively set according to different application network games, which is not limited herein.
For ease of understanding, the following is exemplified:
example 1: and acquiring the transaction capacity and the grade corresponding to the abnormal virtual area identifier and the transaction capacity and the grade of each normal virtual area identifier. Then, normal virtual area identifications which are in the same level with the abnormal virtual area representations in the same transaction capacity are selected from the normal virtual area identifications, and the normal virtual area representations are determined as immigration virtual area identification sets.
For example 2, the active user proportion corresponding to the abnormal virtual area identifier and the active user proportion of each normal virtual area identifier are obtained, the virtual area identifier with the active user proportion of 55% to 80% is opened to the virtual area with the active user proportion lower than 55% as the immigration virtual area identifier set, and the virtual area identifier with the active user proportion of 80% to 100% can also be opened to the virtual area with the active user proportion of 55% to 80% as the immigration virtual area identifier set.
S203: and determining the acquired set of the normal virtual area identifications as a immigration virtual area identification set.
After determining the immigration virtual area identifier sets corresponding to the abnormal virtual area identifiers, the control device 300 may send immigration virtual area representation sets to the data processing devices 200 corresponding to the abnormal virtual area identifiers, respectively.
Step S104: the data processing device 200 is configured to receive and store the immigration virtual area identifier and the aggregation area virtual area identifier, and push immigration prompt information to the terminal 100.
The data processing apparatus 200 user receives the immigration virtual area identification set transmitted by the control apparatus 300, and then stores the immigration virtual area identification set. Since the data processing device 200 needs to perform the merge area operation, in order to improve the user experience, the immigration prompt message may be pushed to the terminal 100 before the merge area operation.
Step S105: the terminal 100 displays the object information of the user, triggers a immigration registration instruction based on the immigration prompt information, and sends the immigration registration instruction to the data processing equipment.
The user can log in the registered account through the terminal, and the terminal 100 displays the object information and immigration prompt information of the user. The user may select one or more objects for immigration. When the user clicks the immigration prompt message, an immigration registration instruction is triggered to the data processing device 200.
Step S106: after receiving the immigration registration instruction of the terminal sending object, the data processing device 200 sends the immigration virtual area identifier set to the terminal 100.
After receiving the immigration registration instruction, the data processing device 200 sends the immigration virtual area identifier set to the terminal, so that the terminal can display the immigration virtual area identifier set for a user to check.
Step S107: the terminal 100 receives and displays the immigration virtual area identifier set sent by the data processing device, and sends the object identifier and the target immigration virtual area identifier to the data processing device 200 after the immigration virtual area identifier set determines the target immigration virtual area identifier.
After the terminal 100 receives and displays the immigration virtual area identifier set, the user can select a suitable virtual area identifier as the target immigration virtual area identifier for the object according to the preference of the user. The terminal 100 transmits the object identification and the target immigration virtual area identification to the data processing apparatus 200.
Step S108: the data processing device 200 receives a target immigration virtual area identifier and an object identifier which are sent by the terminal 100 and used for executing immigration operation, and stores the corresponding relation between the target immigration virtual area identifier and the object identifier.
It is understood that steps S105-S108 may be repeatedly performed when the user also wishes to perform immigration operations on other objects.
It will be appreciated that the data processing apparatus 200 may reserve a period of time (e.g. a week) for the immigration to be made to the user, and that objects for which immigration package names have not been made after a period of time may by default not require immigration.
In general, the network game has a maintenance day, and the network game is in a maintenance state during the maintenance period, and the user object data does not change any more. Therefore, the method and the device perform immigration operation on the object when the data processing device is in the maintenance period. That is, object data is transferred from one data processing apparatus to another data processing apparatus.
Step S109: during maintenance, the data processing device 200 extracts object data corresponding to the object identifier and transmits the object data to the data processing device 200 corresponding to the target immigration virtual area identifier.
During maintenance of the data processing device 200, data extraction operations are performed in the database of the data processing device 200 using object identifications. The database stores many data tables, such as: character basic attribute table, life skill table, article table, beast table, mail table, party table, etc. Each table has an object identifier as a primary key.
It is understood that the control device 300 may extract all data of the object identification using the object identification, and determine all data as the object data.
For heavy games such as large MMORPG, the method has the characteristics of strong social contact, complex character attributes, variable playing methods and the like, so that one player character often has a large amount of object data. Because the data of one object is more in variety, and the importance of some object data is lower.
Therefore, the control device 300 may further extract attribute data corresponding to a plurality of first preset attributes using the object identifier, respectively; determining a union of the plurality of attribute data as the object data. That is, the control apparatus 300 may extract only data corresponding to the attribute of the object itself. For example, only contents of a player level, a pearl, an article, and the like, which are related to the attribute of the object itself, are extracted.
Step S110: executing the area combining operation on the data processing equipment and the data processing equipment corresponding to the area combining virtual area identifier; and the virtual area identifier of the combined area is the virtual area identifier which is determined in the abnormal virtual area identifier set and is used for the data processing equipment to execute the combined area operation.
After the immigration operation of each abnormal virtual area is completed, objects which do not execute the immigration operation in each abnormal virtual area are left and are allowed to execute the community operation by default.
And extracting object data consisting of a plurality of attribute data of first preset attributes in the data processing equipment aiming at the residual object identifiers, and transferring the object data of the residual object identifiers to a database of the data processing equipment corresponding to the virtual area identifier of the combined area.
Optionally, before the data processing apparatus is in the maintenance period in step S109, the data processing apparatus 200 may close the change operation corresponding to the plurality of second preset attributes, and after the data processing apparatus corresponding to the data processing apparatus and the zoning virtual area identifier performs the zoning operation in step S110, open the change operation corresponding to the plurality of second preset attributes.
In order to reduce the difficulty of data migration, in practical application, before the data processing device is in maintenance period, some on-line functions which are relatively large in association with data operation can be closed while the user game experience is influenced as low as possible. Such as: the change operation of attributes such as help, mail, player store, trade bank, etc. (different functions need to be closed for different games).
After the data processing equipment and the data processing equipment corresponding to the zone-closing virtual area identifier execute zone-closing operation, starting change operation corresponding to the plurality of second preset attributes, and then recovering the change operation of the second preset attributes.
The following beneficial effects of the present embodiment can be found from the above:
the application provides a data migration method, which does not perform a forced area closing operation any more, but allows a user to determine a target immigration virtual area identifier for executing immigration operation in a immigration virtual area identifier set according to own preference before the area closing operation, then immigration of a user role to data processing equipment (namely a server) corresponding to the target immigration virtual area identifier, and then, the area closing operation is executed.
In the application, the user can determine the data processing equipment (namely the server) with the transferred role according to the preference of the user, and the data processing equipment is not combined into one data processing equipment (also connected with the server) in a mandatory mode, so that the user experience can be improved, and the user experience is enhanced.
The functions described in the method of the present embodiment, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (9)
1. A data migration method, applied to each data processing device in a data migration system, where the data migration system further includes a control device connected to each data processing device, the method including:
receiving and storing a migration virtual area identifier set sent by the control equipment, and pushing migration prompt information to a terminal;
after receiving a immigration registration instruction of an object in an abnormal virtual area, sending an immigration virtual area identification set; the immigration virtual area identifier set is a set of virtual area identifiers determined in a normal virtual area identifier set and used for enabling an object in the abnormal virtual area to execute immigration registration;
receiving a target immigration virtual area identifier and an object identifier which are determined in the immigration virtual area identifier set and used for executing immigration operation, and storing the corresponding relation between the target immigration virtual area identifier and the object identifier;
extracting object data corresponding to the object identification during maintenance of the data processing equipment, and transferring the object data to the data processing equipment corresponding to the target immigration virtual area identification;
performing a merge operation on the data processing device;
wherein the performing a merge operation on the data processing device comprises:
in the data processing equipment, extracting the object data of the remaining object identifiers, and deleting the remaining data of the remaining object identifiers;
performing the area combination operation on the object data of the rest object identifiers in the data processing equipment and the data processing equipment corresponding to the area combination virtual area identifiers; and the zoning virtual area identifier is a virtual area identifier which is determined in the abnormal virtual area identifier set and is used for the data processing equipment to execute the zoning operation.
2. The method of claim 1, wherein said extracting object data corresponding to said object identification comprises:
in the data processing equipment, respectively extracting a plurality of attribute data which are in one-to-one correspondence with a plurality of first preset attributes by using the object identification;
determining a union of the plurality of attribute data as the object data;
deleting the remaining data of the object identification in the data processing device.
3. The method of claim 1, before the data processing apparatus is in a maintenance period, further comprising:
closing the change operation corresponding to the plurality of second preset attributes;
and after the data processing equipment is subjected to the area closing operation, starting the change operation corresponding to the plurality of second preset attributes.
4. A data migration method, applied to a control device in a data migration system, the data migration system further including respective data processing devices connected to the control device, the method comprising:
determining a normal virtual area identifier set which does not need to execute the area-combining operation and an abnormal virtual area identifier set which needs to execute the area-combining operation in the plurality of virtual area identifiers;
determining a immigration virtual area identification set corresponding to the abnormal virtual area identification in the normal virtual area identification set;
sending the immigration virtual area identifier set to data processing equipment corresponding to the abnormal virtual area identifier, so that the data processing equipment performs immigration operation based on the immigration virtual area identifier set and then performs area combination operation on the data processing equipment;
wherein the data processing device performing and regional operations comprises: extracting the object data of the remaining object identifications and deleting the remaining data of the remaining object identifications; performing the area combination operation on the object data of the rest object identifiers in the data processing equipment and the data processing equipment corresponding to the area combination virtual area identifiers; and the zoning virtual area identifier is a virtual area identifier which is determined in the abnormal virtual area identifier set and is used for the data processing equipment to execute the zoning operation.
5. The method of claim 4, wherein determining a immigration virtual area identifier set corresponding to an abnormal virtual area identifier in the normal virtual area identifier set comprises:
respectively determining the area information of the abnormal virtual area identification and each normal virtual area identification;
acquiring each normal virtual area identifier which is determined by using a preset immigration rule and is matched with the abnormal virtual area identifier based on the area information;
and determining a set of normal virtual area identifications determined by using a preset immigration rule as an immigration virtual area identification set.
6. The method of claim 5, wherein the pre-set immigration rules comprise:
opening a virtual area with a higher active object proportion to a virtual area with a lower active object proportion;
one virtual area is opened to a virtual area whose basic attribute is the same level.
7. The method of claim 4, further comprising:
determining a combined area virtual area identifier corresponding to the abnormal virtual area identifier in the abnormal virtual area identifier set;
and sending the area-closing virtual area identifier to the data processing equipment corresponding to the abnormal virtual area identifier, so that the data processing equipment performs area-closing operation based on the area-closing virtual area identifier.
8. A data migration method is applied to a terminal, and the method comprises the following steps:
sending a immigration registration instruction of an object in the abnormal virtual area to the data processing equipment;
receiving and displaying a immigration virtual area identification set sent by the data processing equipment; the immigration virtual area identifier set is a set of virtual area identifiers determined in a normal virtual area identifier set and used for enabling an object in the abnormal virtual area to execute immigration registration;
determining a target immigration virtual area identifier which is used for executing immigration operation in the immigration virtual area identifier set;
sending the target immigration virtual area identifier and the object identifier of the object to the data processing equipment, so that the data processing equipment stores the corresponding relation between the target immigration virtual area identifier and the object identifier, extracts object data corresponding to the object identifier during maintenance of the data processing equipment, and transfers the object data to the data processing equipment corresponding to the target immigration virtual area identifier; performing a merge operation on the data processing device; wherein the performing a merge operation on the data processing device comprises: in the data processing equipment, extracting the object data of the remaining object identifiers, and deleting the remaining data of the remaining object identifiers; performing the area combination operation on the object data of the rest object identifiers in the data processing equipment and the data processing equipment corresponding to the area combination virtual area identifiers; and the zoning virtual area identifier is a virtual area identifier which is determined in the abnormal virtual area identifier set and is used for the data processing equipment to execute the zoning operation.
9. A data migration system, comprising:
the control equipment is used for determining a normal virtual area identifier set which does not need to execute the area combination operation in the plurality of virtual area identifiers, determining a immigration virtual area identifier set corresponding to the abnormal virtual area identifier in the normal virtual area identifier set, and sending the immigration virtual area identifier set to the data processing equipment corresponding to the abnormal virtual area identifier;
the data processing equipment is used for receiving and storing the immigration virtual area identifier set, pushing immigration prompt information to a terminal, sending the immigration virtual area identifier set to the terminal after receiving an immigration registration instruction of an object sent by the terminal, receiving a target immigration virtual area identifier sent by the terminal and used for executing immigration operation, storing the corresponding relation between the target immigration virtual area identifier and the object identifier, extracting object data corresponding to the object identifier during maintenance of the data processing equipment, sending the object data to the data processing equipment corresponding to the target immigration virtual area identifier, and executing area combination operation on the data processing equipment; wherein the performing a merge operation on the data processing device comprises: extracting the object data of the remaining object identifications and deleting the remaining data of the remaining object identifications; performing the area combination operation on the object data of the rest object identifiers in the data processing equipment and the data processing equipment corresponding to the area combination virtual area identifiers; the virtual area identifier is a virtual area identifier which is determined in the abnormal virtual area identifier set and is used for the data processing equipment to execute the area combining operation;
the terminal is used for sending a immigration registration instruction for performing immigration registration on an object to data processing equipment, receiving and displaying an immigration virtual area identifier set sent by the data processing equipment, and sending a target immigration virtual area identifier and an object identifier of the object to the data processing equipment after determining the target immigration virtual area identifier in the immigration virtual area identifier set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710386035.7A CN108932267B (en) | 2017-05-26 | 2017-05-26 | Data migration method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710386035.7A CN108932267B (en) | 2017-05-26 | 2017-05-26 | Data migration method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108932267A CN108932267A (en) | 2018-12-04 |
CN108932267B true CN108932267B (en) | 2021-03-23 |
Family
ID=64451313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710386035.7A Active CN108932267B (en) | 2017-05-26 | 2017-05-26 | Data migration method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108932267B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112650730B (en) * | 2020-12-18 | 2022-01-04 | 完美世界(重庆)互动科技有限公司 | Game data migration method and device, storage medium and computer equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103390003A (en) * | 2012-05-09 | 2013-11-13 | 人人游戏网络科技发展(上海)有限公司 | Method and device for combining user data information among servers |
US20140274356A1 (en) * | 2013-03-13 | 2014-09-18 | Userjoy Technology Co., Ltd. | Expandable online casino game system |
CN104933065A (en) * | 2014-03-19 | 2015-09-23 | 北京畅游天下网络技术有限公司 | Server consolidation method and apparatus |
CN104735156B (en) * | 2015-03-31 | 2018-11-16 | 北京畅游天下网络技术有限公司 | The method of server system and distribution server |
CN106492458B (en) * | 2016-10-14 | 2020-12-01 | 腾讯科技(深圳)有限公司 | Merging method and device of game server |
-
2017
- 2017-05-26 CN CN201710386035.7A patent/CN108932267B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108932267A (en) | 2018-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11321378B2 (en) | Display system, display method in the system and display program for using social graph information of users of multiple applications | |
JP6284678B1 (en) | Game system, item presentation method, and program | |
US9031972B2 (en) | Method and device for extracting relationship circle of members in social network service (SNS) network | |
CN105641934B (en) | The method and device that player role switches in real time in a kind of same account | |
WO2017005162A1 (en) | Game data processing method, game serving end and game client | |
CN105871702B (en) | A kind of information identifying method and server | |
CN104334237A (en) | Game control device, game control method, program, recording medium, game system | |
CN107807943A (en) | Application program recommends method and device | |
TW201524566A (en) | Method and device for data process of online game | |
CN108932267B (en) | Data migration method and system | |
WO2014044148A1 (en) | Instant messaging interaction method and system, server and storage medium | |
CN110941680B (en) | Data processing method, device and storage medium | |
Erlank | Introduction to Virtual Property: Lex virtualis ipsa loquitur | |
CN107609895B (en) | Processing method and equipment for merging service areas | |
US20220122108A1 (en) | Non-transitory computer-readable medium storing game program, game processing method, and information processing apparatus | |
JP2015051078A (en) | Game server, game providing method, game program, information recording medium recording game program, and game system | |
CN113730921A (en) | Virtual organization recommendation method and device, storage medium and electronic equipment | |
KR101572502B1 (en) | Method for Providing Virtual-Real Life Hybrid Social Network Game Service | |
CN106621333B (en) | A kind of generation method and device of online game business card | |
CN108320400A (en) | Sports formula lottery system based on wechat platform | |
CN102982041B (en) | It is a kind of to be used to detect the method and apparatus that information is broken out in interaction platform | |
CN109481938B (en) | Image generation device and image generation system | |
KR20160150320A (en) | Apparatus for analizing feature of online game resource and method using the same | |
CN117180762A (en) | Data processing method, device, equipment and medium | |
JP2016042310A (en) | Game system on sns |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |