CN112604290A - Terrain editing system, method and device - Google Patents

Terrain editing system, method and device Download PDF

Info

Publication number
CN112604290A
CN112604290A CN202011563196.7A CN202011563196A CN112604290A CN 112604290 A CN112604290 A CN 112604290A CN 202011563196 A CN202011563196 A CN 202011563196A CN 112604290 A CN112604290 A CN 112604290A
Authority
CN
China
Prior art keywords
terrain
target area
obstacle
editing
client
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.)
Granted
Application number
CN202011563196.7A
Other languages
Chinese (zh)
Other versions
CN112604290B (en
Inventor
施润丰
杨将鑫
林杨威
梁波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Kingsoft Online Game Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Online Game Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Zhuhai Kingsoft Online Game Technology Co Ltd
Priority to CN202011563196.7A priority Critical patent/CN112604290B/en
Publication of CN112604290A publication Critical patent/CN112604290A/en
Application granted granted Critical
Publication of CN112604290B publication Critical patent/CN112604290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Remote Sensing (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present specification provides a terrain editing system, method and apparatus, wherein the terrain editing method comprises: acquiring terrain editing information generated by editing the terrain of a target area by a user, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model; and sending the terrain editing information to a terrain server. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.

Description

Terrain editing system, method and device
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a terrain editing system, method, and apparatus.
Background
In many simulation and game applications, various terrains can be designed, so that the environment in the game is richer, more choices are provided for users, and the user experience is improved. However, in the game of the prior art, the terrain scene picture is basically designed by the game producer in advance, and the user can only directly enter the terrain to play the game. For the game with the uneditable terrain, the user can not cause any influence on the terrain data in the game process; for a terrain editable game, the user may cause the terrain data to change during the game. However, the changed terrain data cannot be stored and shared, and the user-defined editing and management of the terrain cannot be realized, so that the game experience of the user is poor.
Disclosure of Invention
In view of this, the present specification provides a terrain editing system. The present specification also relates to a terrain editing method, a terrain editing apparatus, a computing device, and a computer-readable storage medium, which are used to solve the technical defects in the prior art.
According to a first aspect of embodiments herein, there is provided a terrain editing system, comprising:
the system comprises a first client, a terrain server and a service server;
the first client, the terrain server and the service server are in communication connection with each other;
the first client is configured to acquire terrain editing information generated by editing the terrain of a target area by a user, and send the terrain editing information to the terrain server, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model;
the terrain server is configured to receive the terrain editing information, determine a target area according to the position information of the obstacle model, determine obstacle terrain of the target area according to the obstacle model, generate a terrain update file of the target area, update the version number of the obstacle terrain of the target area, and send the terrain update file to the first client and the service server;
the service server is configured to receive the terrain update file sent by the terrain server, synchronize obstacle terrains of the target area according to the terrain update file, and update the version number of the obstacle terrains of the target area.
Further, the service server is further configured to store the updated version number of the target area obstacle terrain into a version correspondence table of the target area obstacle terrain in the service server, where the version correspondence table is used to store the version number of the target area obstacle terrain.
Further, the system further comprises:
a second client;
further, the service server is further configured to determine an area to be updated according to the target area, and send update information of the target area to a second client corresponding to a game character of the area to be updated, where the update information includes a version number of the obstacle terrain of the target area;
further, the second client is configured to send an update request for the target area to the terrain server when determining that the local target area needs to be updated according to the received update information of the target area;
further, the terrain server is further configured to receive the update request of the target area sent by the second client, and send a terrain update file of the target area to the second client;
further, the second client is further configured to receive a terrain update file of the target area sent by the terrain server, synchronize obstacle terrain of the target area according to the terrain update file, and update a version number of the obstacle terrain of the target area.
Optionally, the second client is further configured to send the version number of the target area obstacle terrain to the service server;
further, the service server is further configured to receive the version number of the target area obstacle terrain sent by the second client, perform version verification on the received version number of the target area obstacle terrain and the version number of the target area obstacle terrain in the version correspondence table in the service server, and send the update information of the target area to the second client corresponding to the game role in the area to be updated if the version numbers are not consistent.
Further, the second client is further configured to store the updated version number of the target area obstacle terrain into the version correspondence table of the target area obstacle terrain in the second client.
Further, the first client is further configured to receive the terrain update file sent by the terrain server, update the version number of the target area obstacle terrain of the first client according to the terrain update file, and store the updated version number of the target area obstacle terrain into a local version correspondence table of the target area obstacle terrain, where the version correspondence table is used to store the version number of the target area obstacle terrain.
Further, the first client is further configured to:
receiving the target area to be edited determined by the user according to the pre-downloaded map;
and receiving an editing instruction of a user for the target area, and generating terrain editing information according to the editing instruction.
Further, the first client is further configured to:
editing the topography of the target area, including creating, replacing, and/or removing an obstacle model in the target area.
According to a second aspect of the embodiments of the present specification, there is provided a terrain editing method applied to a first client, including:
acquiring terrain editing information generated by editing the terrain of a target area by a user, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model;
and sending the terrain editing information to a terrain server.
Further, the method further comprises:
receiving a terrain update file sent by the terrain server;
updating the version number of the local obstacle terrain in the target area according to the terrain update file;
and storing the updated version number of the obstacle terrain in the target area into a local version corresponding table of the obstacle terrain in the target area, wherein the version corresponding table is used for storing the version number of the obstacle terrain in the target area.
Further, the obtaining of the terrain editing information generated by editing the terrain of the target area by the user includes:
receiving the target area to be edited determined by the user according to the pre-downloaded map;
and receiving an editing instruction of a user for the target area, and generating terrain editing information according to the editing instruction.
Further, the editing instructions include:
creating, replacing and/or removing an obstacle model in the target area.
According to a third aspect of the embodiments of the present specification, there is provided a terrain editing method applied to a terrain server, including:
receiving terrain editing information, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model;
determining a target area according to the position information of the obstacle model, and determining obstacle terrain of the target area according to the obstacle model;
generating a terrain updating file of the target area and updating the version number of obstacle terrain of the target area;
and sending the terrain updating file to the first client and the service server.
Further, the method further comprises:
receiving an update request of the target area sent by a second client;
and sending the terrain updating file of the target area to the second client.
According to a fourth aspect of the embodiments of the present specification, there is provided a terrain editing method applied to a service server, including:
receiving a terrain update file sent by a terrain server;
and synchronizing the obstacle terrain of the target area according to the terrain update file and updating the version number of the obstacle terrain of the target area.
Further, the method further comprises:
and storing the updated version number of the obstacle terrain in the target area into a local version corresponding table of the obstacle terrain in the target area, wherein the version corresponding table is used for storing the version number of the obstacle terrain in the target area.
Further, the method further comprises:
and determining a region to be updated according to the target region, and sending update information of the target region to a second client corresponding to the game role of the region to be updated, wherein the update information comprises the version number of the obstacle terrain of the target region.
Further, the determining a region to be updated according to the target region and sending the update information of the target region to a second client corresponding to the game character of the region to be updated includes:
receiving the version number of the obstacle terrain in the target area sent by the second client;
carrying out version verification on the received version number of the target area obstacle terrain and the version number of the target area obstacle terrain in the local version corresponding table;
and if the version numbers are not consistent, sending the updating information of the target area to the second client corresponding to the game role in the area to be updated.
According to a fifth aspect of the embodiments of the present specification, there is provided a terrain editing method applied to a second client, including:
under the condition that the local target area needs to be updated according to the received update information of the target area, sending an update request of the target area to a terrain server;
receiving a terrain update file of the target area sent by the terrain server;
and synchronizing the obstacle terrain of the target area according to the terrain update file and updating the version number of the obstacle terrain of the target area.
Optionally, the method includes:
and sending the version number of the obstacle terrain of the target area to a service server.
Further, the method further comprises:
and storing the updated version number of the obstacle terrain in the target area into a local version corresponding table of the obstacle terrain in the target area.
According to a sixth aspect of embodiments herein, there is provided a terrain editing apparatus, configured at a first client, the apparatus including:
the terrain editing device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is configured to acquire terrain editing information generated by editing the terrain of a target area by a user, and the terrain editing information comprises an obstacle model and position information of the obstacle model;
a transmission module configured to transmit the terrain editing information to a terrain server.
According to a seventh aspect of embodiments herein, there is provided a terrain editing apparatus, configured on a terrain server, the apparatus comprising:
a terrain edit information receiving module configured to receive terrain edit information, wherein the terrain edit information includes an obstacle model and position information of the obstacle model;
a terrain edit information processing module configured to determine a target area according to the position information of the obstacle model, and determine obstacle terrain of the target area according to the obstacle model;
a creation module configured to generate a terrain update file for the target area and update a version number of obstacle terrain of the target area;
a sending module configured to send the terrain update file to the first client and the business server.
According to an eighth aspect of the embodiments of the present specification, there is provided a terrain editing apparatus configured at a service server, the apparatus including:
the terrain update file receiving module is configured to receive a terrain update file sent by a terrain server;
and the updating module is configured to synchronize obstacle terrains of the target area according to the terrain update file and update the version number of the obstacle terrains of the target area.
According to a ninth aspect of embodiments of the present specification, there is provided a terrain editing apparatus configured at a second client, the apparatus including:
the information processing module is configured to send an update request for the target area to a terrain server under the condition that the information processing module determines that the local target area needs to be updated according to the received update information of the target area;
a receiving module configured to receive a terrain update file of the target area sent by the terrain server;
a terrain update module configured to synchronize obstacle terrain of the target area and update a version number of the obstacle terrain of the target area according to the terrain update file.
According to a tenth aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions to implement the terrain editing method of any of claims 9-21.
According to an eleventh aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions which, when executed by a processor, implement the steps of the terrain editing method of any of claims 9 to 21.
The terrain editing system, method and device, computing equipment and storage medium provided by the specification are characterized in that a first client acquires terrain editing information generated by editing the terrain of a target area by a user, and sends the terrain editing information to a terrain server, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model; the terrain server receives the terrain editing information, determines a target area according to the position information of the obstacle model, determines obstacle terrain of the target area according to the obstacle model, generates a terrain updating file of the target area, updates the version number of the obstacle terrain of the target area, and sends the terrain updating file to the first client and the service server; and the service server receives the terrain updating file sent by the terrain server, synchronizes the obstacle terrain of the target area according to the terrain updating file and updates the version number of the obstacle terrain of the target area. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Drawings
FIG. 1 is a schematic diagram illustrating a terrain editing system provided by an embodiment of the present specification;
FIG. 2 is a schematic diagram illustrating a terrain editing system provided by an embodiment of the present specification;
FIG. 3 is a flow chart illustrating a terrain editing method provided by one embodiment of the present specification;
FIG. 4 is a flow diagram illustrating a terrain editing method provided by one embodiment of the present specification;
FIG. 5 is a flow diagram illustrating a terrain editing method provided by one embodiment of the present specification;
FIG. 6 is a flow diagram illustrating a terrain editing method provided by one embodiment of the present specification;
FIG. 7 is a flow diagram illustrating a terrain editing method provided by one embodiment of the present specification;
FIG. 8 is a flow diagram illustrating a terrain editing method provided by one embodiment of the present specification;
FIG. 9 is a flow diagram illustrating a terrain editing method provided by one embodiment of the present specification;
FIG. 10 is a flow diagram illustrating a terrain editing method provided by one embodiment of the present specification;
FIG. 11 is a schematic structural diagram of a terrain editing apparatus provided in an embodiment of the present specification;
FIG. 12 is a schematic structural diagram of a terrain editing apparatus provided in an embodiment of the present specification;
fig. 13 is a schematic structural diagram illustrating a terrain editing apparatus according to an embodiment of the present specification;
FIG. 14 is a schematic structural diagram of a terrain editing apparatus provided in an embodiment of the present specification;
fig. 15 shows a block diagram of a computing device according to an embodiment of the present specification.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the present specification, a terrain editing system is provided, and the present specification relates to a terrain editing method, a terrain editing apparatus, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
Fig. 1 is a schematic structural diagram of a terrain editing system provided in an embodiment of the present specification, which specifically includes: a first client 102, a terrain server 104, and a traffic server 106.
The first client 102, the terrain server 104 and the traffic server 106 are communicatively coupled to each other.
The first client 102 is configured to obtain terrain editing information generated by editing a terrain of a target area by a user, and send the terrain editing information to the terrain server 104, where the terrain editing information includes an obstacle model and position information of the obstacle model.
The target area includes but is not limited to a certain area on the world map, and the terrain editing information of the target area includes but is not limited to factors such as terrain, latitude, height and the like according to the target area.
In particular, the first client 102 is further configured to: receiving the target area to be edited determined by the user according to the pre-downloaded map; and receiving an editing instruction of a user for the target area, and generating terrain editing information according to the editing instruction. Therefore, the editing of the terrain of the target area by the user at the first client 102 can be accelerated, and meanwhile, the terrain editing instruction can be generated quickly.
Optionally, the first client 102 is further configured to: editing the topography of the target area, including creating, replacing, and/or removing an obstacle model in the target area. When the user changes the terrain of the target area, the obstacle model on the target area can be edited according to personal preference or according to the terrain biased by the person, such as placing thorns on the target area, replacing rivers in the original terrain with cliff, and removing sand dunes in the original terrain. In practical situations, the terrain editing may include one or more of the above types of terrain editing. Not only satisfies the high management of user to the target area, has still increased the user to the independently designed variety of topography.
The first client 102 may be a terminal device used by a user or a developer, and to enable the user or the developer to send the terrain editing information to more users, that is, to implement sharing for other users, the terrain editing information generated by editing the terrain of the target area by the user, acquired by the processor of the first client 102, needs to be sent to the server, that is, the first client 102 sends the acquired terrain editing information to the terrain server 104.
The terrain server 104 is configured to receive the terrain edit information, determine a target area according to the position information of the obstacle model, determine obstacle terrain of the target area according to the obstacle model, generate a terrain update file of the target area and update a version number of the obstacle terrain of the target area, and send the terrain update file to the first client 102 and the service server 106.
After receiving the terrain editing information sent by the first client 102, the terrain server 104 processes the terrain editing information in real time: firstly, the terrain server 104 extracts an obstacle model and a geographical position of the obstacle model from terrain editing information; and then, determining a target area according to the position information of the obstacle model, and determining obstacle terrain of the target area according to the obstacle model. After the obstacle terrain in the target area is determined, the terrain server 104 updates the terrain in the target area, generates a corresponding terrain update file and updates the version number of the obstacle terrain in the target area, and feeds the terrain update file back to the first client 102 and the service server 106, so as to ensure that the version numbers of the obstacle terrain in the target area and the obstacle terrain in the target area in the first client 102 and the service server 106 are consistent.
The service server 106 is configured to receive the terrain update file sent by the terrain server 104, synchronize the obstacle terrain of the target area according to the terrain update file, and update the version number of the obstacle terrain of the target area.
It should be noted that in this system, the traffic server 106 receives the terrain update file sent by the terrain server 104 simultaneously with the first client 102 receiving the terrain update file sent by the terrain server 104.
Further, the service server 106 is further configured to store the updated version number of the target area obstacle terrain into a version corresponding table of the target area obstacle terrain in the service server, where the version corresponding table is used to store the version number of the target area obstacle terrain.
The service server 106 is provided with a version correspondence table, which is specially used for storing the version number of the target area obstacle terrain, and is beneficial to quickly searching the corresponding version number of the target area obstacle terrain during version verification.
As shown in fig. 2, the terrain editing system further comprises a second client 208.
The service server 106 is further configured to determine an area to be updated according to the target area, and send update information of the target area to the second client 208 corresponding to the game character of the area to be updated, where the update information includes a version number of the obstacle terrain of the target area.
Specifically, the area to be updated is an area within an X meter range around the target area, and the specific range may be set according to the game requirement. After the service server 106 finishes updating the target area, if it is detected that a game character exists in the area to be updated, the update information of the target area is sent to the second client 208 corresponding to the game character, so that the second client updates the target area.
In addition, the second client 208 is further configured to send the version number of the target area obstacle terrain to the service server 106; the service server 106 is further configured to receive the version number of the target area obstacle terrain sent by the second client 208, perform version verification on the received version number of the target area obstacle terrain and the version number of the target area obstacle terrain in the version correspondence table in the service server 106, and send the update information of the target area to the second client 208 corresponding to the game character of the area to be updated if the version numbers are not consistent.
When the game role corresponding to the second client 208 enters the area to be updated, the version number of the local target area obstacle terrain is automatically sent to the service server 106, so that the version is checked and updated in time. After receiving the version number of the target area obstacle terrain sent by the second client 208, the service server 106 compares the version number with the version number of the target area obstacle terrain in the service server 106, that is, performs version verification. When the two version numbers are different as a result of the verification, the service server 106 immediately sends the update information of the target area to the second client 208.
The second client 208 is configured to send an update request for the target area to the terrain server 104 when determining that the local target area needs to be updated according to the received update information of the target area.
The second client 208 receives the update information to confirm that the local target area needs to be updated, generates an update request for the local target area according to the obstacle terrain of the target area in the update information, and sends the update request to the terrain server 104 to request the terrain server 104 to send a terrain update file of the target area, so that the second client 208 updates the obstacle terrain of the target area.
The terrain server 104 is further configured to receive the update request of the target area sent by the second client 208, and send the terrain update file of the target area to the second client 208.
Specifically, the terrain server 104 determines the target area according to the received update request of the target area, searches the latest version number of the target area locally, determines a terrain update file corresponding to the version number, and immediately sends the terrain update file to the second client 208, so as to ensure that the terrains of the target area among the first client 102, the second client 208 and the service server 106 are consistent, ensure that the terrains of all players are the same, and avoid game collapse caused by inconsistent terrains.
The second client 208 is further configured to receive the terrain update file of the target area sent by the terrain server 104, synchronize the obstacle terrain of the target area according to the terrain update file, and update the version number of the obstacle terrain of the target area.
In this embodiment, after receiving the terrain update file, the second client 208 synchronizes the obstacle terrain of the local target area according to the terrain update file, and updates the version number of the obstacle terrain of the local target area according to the version number of the obstacle terrain of the target area in the terrain update file. At this time, the second client 208 completes all updates of the target area, and when the game character corresponding to the second client 208 enters the target area, the obstacle terrain set by the player corresponding to the first client 102 can be seen.
Further, the second client 208 is further configured to store the updated version number of the target area obstacle terrain into the version correspondence table of the target area obstacle terrain in the second client 208.
Like the service server 106, the second client 208 is also provided with a version correspondence table, which is specially used for storing the version number of the obstacle terrain in the target area, and is beneficial to quickly searching the corresponding version number of the obstacle terrain in the target area during version verification. When the second client 208 finishes updating, the version number of the obstacle terrain in the target area is immediately stored in the version correspondence table.
Further, the first client 102 is further configured to: receiving the terrain update file sent by the terrain server 104, updating the version number of the target area obstacle terrain of the first client 102 according to the terrain update file, and storing the updated version number of the target area obstacle terrain into a local version correspondence table of the target area obstacle terrain, wherein the version correspondence table is used for storing the version number of the target area obstacle terrain.
When the first client 102 edits the target area terrain, the obstacle terrain of the target area of the first client 102 is generated in time, but a new version number of the target area obstacle terrain is not generated, that is, the previous version number of the target area obstacle terrain is reserved. After receiving the terrain update file sent by the terrain server 104, the first client 102 extracts the version number of the obstacle terrain in the target area in the terrain update file in time, and stores the updated version number of the obstacle terrain in the target area locally, so as to ensure that the obstacle terrain of the target area edited by the first client 102 is matched with the version number of the obstacle terrain in the target area. In addition, the first client 102 is also provided with a version mapping table of the target area obstacle terrain, and is also specially used for storing the version number of the target area obstacle terrain.
Notably, any of the second clients 208 may be used as the first client 102 for editing the topography of the target area by the user; the first client 102 may also serve as the second client 208 to receive a terrain update file generated by editing the terrain by another client, which is sent by the terrain server 104.
In the terrain editing system provided by the present specification, a first client 102 acquires terrain editing information generated by editing a terrain of a target area by a user, and sends the terrain editing information to a terrain server 104, where the terrain editing information includes an obstacle model and position information of the obstacle model; the terrain server 104 is used for receiving the terrain editing information, determining a target area according to the position information of the obstacle model, determining obstacle terrain of the target area according to the obstacle model, generating a terrain update file of the target area, updating the version number of the obstacle terrain of the target area, and sending the terrain update file to the first client 102 and the service server 106; and the service server 106 receives the terrain update file sent by the terrain server 104, synchronizes the obstacle terrain of the target area according to the terrain update file, and updates the version number of the obstacle terrain of the target area. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Fig. 3 shows a processing flow chart of a terrain editing method provided in an embodiment of the present specification, which is applied to a first client, and specifically includes the following steps:
step 302, obtaining terrain editing information generated by editing the terrain of a target area by a user, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model.
In this embodiment, the target area includes, but is not limited to, a certain area on the world map, and the terrain editing information of the target area includes, but is not limited to, factors such as terrain, latitude, altitude, and the like according to the target area.
Specifically, as shown in fig. 4, in the step 302, obtaining the terrain editing information generated by editing the terrain of the target area by the user can be further divided into the following steps.
Step 402, receiving the target area to be edited determined by the user according to the pre-downloaded map.
In this embodiment, a user may determine which areas are available for terrain editing according to a pre-downloaded map, that is, determine a target area to be edited, and locally receive the target area to be edited by the user, determine a geographic location of the target area, and provide positioning for subsequently generating terrain editing information.
And step 404, receiving an editing instruction of the user for the target area, and generating terrain editing information according to the editing instruction.
Specifically, the editing instructions include creating, replacing and/or removing an obstacle model in the target area. When the user changes the terrain of the target area, the obstacle model on the target area can be edited according to personal preference or according to the terrain biased by the person, such as placing thorns on the target area, replacing rivers in the original terrain with cliff, and removing sand dunes in the original terrain. In practical situations, the terrain editing may include one or more of the above types of terrain editing. Not only satisfies the high management of user to the target area, has still increased the user to the independently designed variety of topography. Therefore, the editing of the terrain of the target area by the user can be accelerated, and meanwhile, the terrain editing instruction can be generated quickly.
And step 304, sending the terrain editing information to a terrain server.
In this embodiment, the local area may be a terminal device used by a user or a developer, and in order to enable the user or the developer to send terrain editing information to more users, that is, to implement sharing for use by other users, it is necessary to send terrain editing information, which is generated by editing the terrain of a target area by the user and acquired by a local processor, to a server, that is, to send the terrain editing information to the terrain server. The terrain editing information is processed by the terrain server for the generation of obstacle terrain.
Optionally, as shown in fig. 5, the method further comprises the following steps after step 304.
Step 502, receiving a terrain update file sent by the terrain server.
In this embodiment, when the user edits the terrain of the target area, the obstacle terrain of the local target area is generated in time, but a new version number of the obstacle terrain of the target area is not generated, that is, the previous version number of the obstacle terrain of the target area is retained. Therefore, it is necessary to receive the terrain update file sent by the terrain server to ensure the update of the version number of the local target area obstacle terrain.
And step 504, updating the version number of the local obstacle terrain of the target area according to the terrain update file.
In this embodiment, after receiving a terrain update file sent by a terrain server, it is necessary to extract a version number of the target area obstacle terrain in the terrain update file in time, and store the updated version number of the target area obstacle terrain in the local area, so as to ensure consistency between the local area and versions of the target area obstacle terrain of the terrain server and the service server.
Step 506, storing the updated version number of the obstacle terrain in the target area into a local version correspondence table of the obstacle terrain in the target area, wherein the version correspondence table is used for performing version verification with a service server.
In this embodiment, a version mapping table of the obstacle terrain in the target area is locally configured, and is specially used for storing the version number of the obstacle terrain in the target area. And storing the updated version number of the obstacle terrain of the target area into a corresponding position in the version corresponding table, so as to be convenient for version verification with the service server.
The terrain editing method provided by the specification acquires terrain editing information generated by editing the terrain of a target area by a user, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model; and sending the terrain editing information to a terrain server. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Fig. 6 is a flowchart illustrating a processing of a terrain editing method provided in an embodiment of the present specification, which is applied to a terrain server and specifically includes the following steps.
Step 602, receiving terrain editing information, wherein the terrain editing information includes an obstacle model and position information of the obstacle model.
In this embodiment, after locally receiving the terrain editing information sent by the first client, firstly, the accuracy of the terrain editing information is confirmed, and then, the processing of the terrain editing information is started: and extracting the obstacle model and the geographical position of the obstacle model from the terrain editing information.
Step 604, determining a target area according to the position information of the obstacle model, and determining obstacle terrain of the target area according to the obstacle model.
In this embodiment, the geographical location of the target area to be edited may be determined according to the location information of the obstacle model, for example, a river is placed at the east longitude 50 ° and the north latitude 40 °, the location of the river is fixed, and the area where the river is located is the target area. And determining the obstacle terrain of the target area according to the obstacle model, wherein if a mountain is placed in the target area, the obstacle terrain of the target area is a mountain.
Step 606, generating a terrain update file of the target area and updating the version number of the obstacle terrain of the target area.
In this embodiment, the local site is dedicated to generating obstacle terrain. After the obstacle terrain of the target area is determined, updating the terrain of the target area, generating a corresponding terrain update file at the same time, and updating the version number of the obstacle terrain of the target area. And the terrain updating file contains the updated version number of the obstacle terrain of the target area.
Step 608, the terrain update file is sent to the first client and the service server.
In this embodiment, to send the obstacle terrain edited by the user or the developer to more users, that is, to share the obstacle terrain for use by other users, the generated terrain update file of the target area needs to be sent to the first client and the service server.
After step 608, further comprising:
receiving an update request of the target area sent by a second client;
and sending the terrain updating file of the target area to the second client.
Specifically, the terrain server determines the target area according to the received update request of the target area, searches the latest version number of the target area locally, determines a terrain update file corresponding to the version number, and immediately sends the terrain update file to the second client, so as to ensure that the terrains of the target area among the first client 102, the second client 208 and the service server 106 are consistent, ensure that the terrains of all players are the same, and avoid game collapse caused by inconsistent terrains.
The terrain editing method provided by the specification receives terrain editing information, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model; determining a target area according to the position information of the obstacle model, and determining obstacle terrain of the target area according to the obstacle model; generating a terrain updating file of the target area and updating the version number of obstacle terrain of the target area; and sending the terrain updating file to the first client and the service server. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Fig. 7 is a processing flow chart of a terrain editing method provided in an embodiment of the present specification, which is applied to a business server and specifically includes the following steps.
Step 702, receiving a terrain update file sent by a terrain server.
The terrain updating file comprises a version number of the obstacle terrain of the target area after the obstacle terrain of the target area is updated.
Step 704, synchronizing the obstacle terrain of the target area according to the terrain update file and updating the version number of the obstacle terrain of the target area.
In this embodiment, after receiving the terrain update file, the terrain update file is locally processed: firstly, updating the terrain of a local target area according to a terrain updating file to ensure that the target terrain is consistent with a first client; and simultaneously, extracting the version number of the target area obstacle terrain after updating from the terrain updating file, and storing the version number of the target area obstacle terrain after updating into the local area, so that the later version verification is facilitated.
Further, referring to fig. 8, the method further includes:
step 802, storing the updated version number of the obstacle terrain in the target area into a local version correspondence table of the obstacle terrain in the target area, wherein the version correspondence table is used for storing the version number of the obstacle terrain in the target area.
The service server is provided with a version corresponding table which is specially used for storing the version number of the obstacle terrain in the target area, and the version number of the obstacle terrain in the target area can be quickly searched when the version is checked.
Step 804, determining a region to be updated according to the target region, and sending update information of the target region to a second client corresponding to a game character of the region to be updated, wherein the update information includes a version number of the obstacle terrain of the target region.
Specifically, the area to be updated is an area within an X meter range around the target area, and the specific range may be set according to the game requirement. After the target area of the service server is updated, if the game role exists in the area to be updated, the update information of the target area is sent to a second client corresponding to the game role, so that the second client can update the target area conveniently.
Specifically, referring to fig. 9, the determining a region to be updated according to the target region and sending the update information of the target region to the second client corresponding to the game character of the region to be updated may be further divided into the following steps.
Step 902, receiving a version number of the target area obstacle terrain sent by the second client.
In this embodiment, since the client corresponding to the second client enters the area to be updated, the version number of the obstacle terrain in the target area is automatically sent and received locally for subsequent version verification.
Step 904, performing version verification on the received version number of the target area obstacle terrain and the version number of the target area obstacle terrain in the local version correspondence table.
Step 906, if the version numbers are not consistent, sending the update information of the target area to the second client corresponding to the game role in the area to be updated.
After receiving the version number of the target area obstacle terrain sent by the second client 208, the version number is compared with the version number of the local target area obstacle terrain, that is, version verification is performed. And when the two version numbers are different in the verification result, immediately sending the update information of the target area to the second client.
The terrain editing method provided by the specification receives a terrain update file sent by a terrain server; and synchronizing the obstacle terrain of the target area according to the terrain update file and updating the version number of the obstacle terrain of the target area. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Fig. 10 shows a processing flow chart of a terrain editing method provided in an embodiment of the present specification, which is applied to a second client, and specifically includes the following steps.
Step 1002, sending an update request for the target area to a terrain server when it is determined that the local target area needs to be updated according to the received update information of the target area.
In this embodiment, the update information is received to confirm that the local target area needs to be updated, an update request for the local target area is generated according to the obstacle terrain of the target area in the update information, and the update request is sent to the terrain server to request the terrain server to send a terrain update file of the target area, so that the obstacle terrain of the target area can be updated locally
Before step 1002, further comprising:
and sending the version number of the obstacle terrain of the target area to a service server.
When the local corresponding game role enters the area to be updated, the version number of the obstacle terrain of the local target area is automatically sent to the service server so as to carry out version verification and update in time.
Step 1004, receiving the terrain update file of the target area sent by the terrain server.
Step 1006, synchronizing the obstacle terrain of the target area according to the terrain update file and updating the version number of the obstacle terrain of the target area.
In this embodiment, after receiving the terrain update file, synchronizing the obstacle terrain in the local target area according to the terrain update file, and updating the version number of the obstacle terrain in the local target area according to the version number of the obstacle terrain in the target area in the terrain update file. At this time, all the updates of the target area are locally completed, and when the local corresponding game character enters the target area, the obstacle terrain set by the player corresponding to the first client can be seen.
After step 1006, further comprising:
and storing the updated version number of the obstacle terrain in the target area into a local version corresponding table of the obstacle terrain in the target area.
The version corresponding table is also locally provided as the service server, is specially used for storing the version number of the target area obstacle terrain, and is favorable for quickly searching the corresponding version number of the target area obstacle terrain during version verification. And when the updating of the obstacle terrain of the target area is finished, immediately storing the version number of the obstacle terrain of the target area into the version corresponding table.
In a terrain editing method provided by the present specification, an update request for a target area is sent to a terrain server when it is determined that the local target area needs to be updated according to received update information of the target area; receiving a terrain update file of the target area sent by the terrain server; and synchronizing the obstacle terrain of the target area according to the terrain update file and updating the version number of the obstacle terrain of the target area. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Fig. 11 shows a schematic structural diagram of a user-defined terrain editing apparatus according to an embodiment of the present specification. As shown in fig. 11, the apparatus includes:
an obtaining module 1102 configured to obtain terrain editing information generated by editing a terrain of a target area by a user, wherein the terrain editing information includes an obstacle model and position information of the obstacle model.
A transmission module 1104 configured to transmit the terrain edit information to a terrain server.
The apparatus further comprises a synchronization module;
the obtaining module 1102 is further configured to receive a terrain update file sent by the terrain server.
The synchronization module is configured to update the version number of the local obstacle terrain of the target area according to the terrain update file.
The storage module is configured to store the updated version number of the target area obstacle terrain into a local version corresponding table of the target area obstacle terrain, wherein the version corresponding table is used for storing the version number of the target area obstacle terrain.
The obtaining module 1102 is further configured to receive the target area to be edited, which is determined by the user according to the pre-downloaded map; receiving an editing instruction of a user for the target area, and generating terrain editing information according to the editing instruction, wherein the editing instruction comprises the creation, replacement and/or removal of an obstacle model in the target area.
The terrain editing device can be installed in the first client 102 and the second client 208, and is used for quickly generating the terrain editing information of the target area and generating the terrain editing information with high precision and vivid graphs.
The terrain editing device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is configured to acquire terrain editing information generated by editing the terrain of a target area by a user, and the terrain editing information comprises an obstacle model and position information of the obstacle model; a transmission module configured to transmit the terrain editing information to a terrain server. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Fig. 12 is a schematic structural diagram illustrating a terrain editing apparatus according to an embodiment of the present specification. As shown in fig. 12, the apparatus includes:
a terrain edit information receiving module 1202 configured to receive terrain edit information, wherein the terrain edit information includes an obstacle model and position information of the obstacle model.
A terrain edit information processing module 1204 configured to determine a target area from the position information of the obstacle model, and determine obstacle terrain of the target area from the obstacle model.
A creating module 1206 configured to generate a terrain update file for the target area and update a version number of the obstacle terrain of the target area.
A sending module 1208 configured to send the terrain update file to the first client and the traffic server.
The device further comprises:
an update request receiving module configured to receive an update request of the target area sent by a second client.
The sending module is further configured to send the terrain update file of the target area to the second client.
The terrain editing apparatus may be installed in the terrain server 104, and is configured to communicate the terrain editing information with the first client 102, and generate a terrain scene map and a terrain update file that meet the requirements according to the received terrain editing information.
The terrain editing device comprises a terrain editing information receiving module, a terrain editing information processing module and a terrain editing information processing module, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model; a terrain edit information processing module configured to determine a target area according to the position information of the obstacle model, and determine obstacle terrain of the target area according to the obstacle model; a creation module configured to generate a terrain update file for the target area and update a version number of obstacle terrain of the target area; a sending module configured to send the terrain update file to the first client and the business server. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Fig. 13 is a schematic structural diagram illustrating a terrain editing apparatus according to an embodiment of the present specification. As shown in fig. 13, the apparatus includes:
a terrain update file receiving module 1302 configured to receive a terrain update file sent by a terrain server.
An updating module 1304 configured to synchronize obstacle terrain of the target area according to the terrain update file and update a version number of the obstacle terrain of the target area.
The device further comprises:
a storing module configured to store the updated version number of the target area obstacle terrain into a local version correspondence table of the target area obstacle terrain, where the version correspondence table is used to store the version number of the target area obstacle terrain.
The detection module is configured to determine an area to be updated according to the target area, and send update information of the target area to a second client corresponding to a game character of the area to be updated, wherein the update information includes a version number of the obstacle terrain of the target area.
The detection module is further configured to receive a version number of the target area obstacle terrain sent by a second client; carrying out version verification on the received version number of the target area obstacle terrain and the version number of the target area obstacle terrain in the local version corresponding table; and if the version numbers are not consistent, sending the updating information of the target area to the second client corresponding to the game role in the area to be updated.
The terrain editing apparatus may be installed in the service server 106 for performing version check with the first client 102 and implementing the transfer of the terrain update file with the second client 208.
The above is a schematic scheme of a terrain editing apparatus of the present embodiment. It should be noted that the technical solution of the terrain editing apparatus and the technical solution of the terrain editing method described above belong to the same concept, and for details that are not described in detail in the technical solution of the terrain editing apparatus, reference may be made to the description of the technical solution of the terrain editing method described above.
The terrain editing device comprises a terrain update file receiving module, a terrain update file transmitting module and a terrain update file receiving module, wherein the terrain update file receiving module is configured to receive a terrain update file transmitted by a terrain server; and the updating module is configured to synchronize obstacle terrains of the target area according to the terrain update file and update the version number of the obstacle terrains of the target area. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
Fig. 14 is a schematic structural diagram illustrating a terrain editing apparatus according to an embodiment of the present specification. As shown in fig. 14, the apparatus includes:
an information processing module 1402, configured to send an update request to a terrain server for a local target area when determining that the local target area needs to be updated according to the received update information of the target area;
a receiving module 1404 configured to receive a terrain update file of the target area transmitted by the terrain server;
a terrain update module 1406 configured to synchronize obstacle terrain of the target area and update a version number of the obstacle terrain of the target area according to the terrain update file.
The information processing module 1402 is further configured to send the version number of the target area obstacle terrain to a service server.
The device further comprises:
and the version number updating module is also configured to store the updated version number of the target area obstacle terrain into a local version corresponding table of the target area obstacle terrain and receive an updated version command sent by the service server.
The terrain editing device can be installed in the first client 102 and the second client 208, and is used for rapidly updating the obstacle terrain of the target area and generating high-precision terrain editing information with vivid graphs.
In a terrain editing apparatus provided in this specification, an information processing module is configured to send an update request for a target area to a terrain server when determining that a local target area needs to be updated according to received update information of the target area; a receiving module configured to receive a terrain update file of the target area sent by the terrain server; a terrain update module configured to synchronize obstacle terrain of the target area and update a version number of the obstacle terrain of the target area according to the terrain update file. The user can be used as an editor of the game map to edit the terrain in some areas in the game map, so that the user has higher participation in terrain management and is better excited to create the interest of the terrain; meanwhile, the obstacle terrain can be generated quickly, other clients can be synchronized, and user experience is improved.
FIG. 15 illustrates a block diagram of a computing device 1500 provided in accordance with one embodiment of the present description. The components of the computing device 1500 include, but are not limited to, a memory 1510 and a processor 1520. The processor 1520 is coupled to the memory 1510 via a bus 1530 and a database 1550 is used to store data.
The computing device 1500 also includes an access device 1540 that enables the computing device 1500 to communicate via one or more networks 1560. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The access device 1540 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 1500, as well as other components not shown in FIG. 15, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device structure shown in FIG. 15 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 1500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smartphone), wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 1500 may also be a mobile or stationary server.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above-mentioned terrain editing method belong to the same concept, and details that are not described in detail in the technical solution of the computing device can be referred to the description of the technical solution of the above-mentioned terrain editing method.
An embodiment of the present specification further provides a computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the terrain editing method as described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above-mentioned terrain editing method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned terrain editing method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present disclosure is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present disclosure. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for this description.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the specification and its practical application, to thereby enable others skilled in the art to best understand the specification and its practical application. The specification is limited only by the claims and their full scope and equivalents.

Claims (27)

1. A terrain editing system, comprising:
the system comprises a first client, a terrain server and a service server;
the first client, the terrain server and the service server are in communication connection with each other;
the first client is configured to acquire terrain editing information generated by editing the terrain of a target area by a user, and send the terrain editing information to the terrain server, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model;
the terrain server is configured to receive the terrain editing information, determine a target area according to the position information of the obstacle model, determine obstacle terrain of the target area according to the obstacle model, generate a terrain update file of the target area, update the version number of the obstacle terrain of the target area, and send the terrain update file to the first client and the service server;
the service server is configured to receive the terrain update file sent by the terrain server, synchronize obstacle terrains of the target area according to the terrain update file, and update the version number of the obstacle terrains of the target area.
2. The system of claim 1, wherein the service server is further configured to store the updated version number of the target terrain in a version correspondence table of the target terrain, wherein the version correspondence table is used to store the version number of the target terrain.
3. The system of claim 2, wherein the system further comprises:
a second client;
the business server is further configured to determine an area to be updated according to the target area, and send update information of the target area to a second client corresponding to a game role in the area to be updated, wherein the update information includes a version number of the obstacle terrain in the target area;
the second client is configured to send an update request for the target area to the terrain server under the condition that the local target area needs to be updated according to the received update information of the target area;
the terrain server is further configured to receive an update request of the target area sent by the second client, and send a terrain update file of the target area to the second client;
the second client is further configured to receive a terrain update file of the target area sent by the terrain server, synchronize obstacle terrain of the target area according to the terrain update file, and update a version number of the obstacle terrain of the target area.
4. The system of claim 3, wherein the second client is further configured to send a version number of the target area obstacle feature to the service server;
the service server is further configured to receive the version number of the target area obstacle terrain sent by the second client, perform version verification on the received version number of the target area obstacle terrain and the version number of the target area obstacle terrain in the version correspondence table in the service server, and send the update information of the target area to the second client corresponding to the game role of the area to be updated if the version numbers are not consistent.
5. The system of claim 3 or 4, wherein the second client is further configured to store the updated version number of the target terrain area obstacle in a version correspondence table of the target terrain area obstacle in the second client.
6. The system of claim 1, wherein the first client is further configured to receive the terrain update file sent by the terrain server, update a version number of the target terrain in the target area according to the terrain update file, and store the updated version number of the target terrain in a local version correspondence table of the target terrain in the target terrain, wherein the version correspondence table is used for storing the version number of the target terrain in the target terrain.
7. The system of claim 1, wherein the first client is further configured to:
receiving the target area to be edited determined by the user according to the pre-downloaded map;
and receiving an editing instruction of a user for the target area, and generating terrain editing information according to the editing instruction.
8. The system of claim 7, wherein the first client is further configured to:
editing the topography of the target area, including creating, replacing, and/or removing an obstacle model in the target area.
9. A terrain editing method applied to a first client side comprises the following steps:
acquiring terrain editing information generated by editing the terrain of a target area by a user, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model;
and sending the terrain editing information to a terrain server.
10. The method of claim 9, wherein the method further comprises:
receiving a terrain update file sent by the terrain server;
updating the version number of the local obstacle terrain in the target area according to the terrain update file;
and storing the updated version number of the obstacle terrain in the target area into a local version corresponding table of the obstacle terrain in the target area, wherein the version corresponding table is used for storing the version number of the obstacle terrain in the target area.
11. The method of claim 9, wherein the obtaining of terrain editing information generated by editing the terrain of the target area by a user comprises:
receiving the target area to be edited determined by the user according to the pre-downloaded map;
and receiving an editing instruction of a user for the target area, and generating terrain editing information according to the editing instruction.
12. The method of claim 11, wherein the editing instructions comprise:
creating, replacing and/or removing an obstacle model in the target area.
13. A terrain editing method is applied to a terrain server and comprises the following steps:
receiving terrain editing information, wherein the terrain editing information comprises an obstacle model and position information of the obstacle model;
determining a target area according to the position information of the obstacle model, and determining obstacle terrain of the target area according to the obstacle model;
generating a terrain updating file of the target area and updating the version number of obstacle terrain of the target area;
and sending the terrain updating file to the first client and the service server.
14. The method of claim 13, wherein the method further comprises:
receiving an update request of the target area sent by a second client;
and sending the terrain updating file of the target area to the second client.
15. A terrain editing method is applied to a business server and comprises the following steps:
receiving a terrain update file sent by a terrain server;
and synchronizing the obstacle terrain of the target area according to the terrain update file and updating the version number of the obstacle terrain of the target area.
16. The method of claim 15, wherein the method further comprises:
and storing the updated version number of the obstacle terrain in the target area into a local version corresponding table of the obstacle terrain in the target area, wherein the version corresponding table is used for storing the version number of the obstacle terrain in the target area.
17. The method of claim 16, wherein the method further comprises:
and determining a region to be updated according to the target region, and sending update information of the target region to a second client corresponding to the game role of the region to be updated, wherein the update information comprises the version number of the obstacle terrain of the target region.
18. The method of claim 17, wherein the determining a region to be updated according to the target region and sending the update information of the target region to a second client corresponding to a game character of the region to be updated comprises:
receiving the version number of the obstacle terrain in the target area sent by the second client;
carrying out version verification on the received version number of the target area obstacle terrain and the version number of the target area obstacle terrain in the local version corresponding table;
and if the version numbers are not consistent, sending the updating information of the target area to the second client corresponding to the game role in the area to be updated.
19. A terrain editing method applied to a second client side comprises the following steps:
under the condition that the local target area needs to be updated according to the received update information of the target area, sending an update request of the target area to a terrain server;
receiving a terrain update file of the target area sent by the terrain server;
and synchronizing the obstacle terrain of the target area according to the terrain update file and updating the version number of the obstacle terrain of the target area.
20. The method of claim 19, wherein the method further comprises:
and sending the version number of the obstacle terrain of the target area to a service server.
21. The method of claim 19 or 20, wherein the method further comprises:
and storing the updated version number of the obstacle terrain in the target area into a local version corresponding table of the obstacle terrain in the target area.
22. A terrain editing apparatus, configured at a first client, the apparatus comprising:
the terrain editing device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is configured to acquire terrain editing information generated by editing the terrain of a target area by a user, and the terrain editing information comprises an obstacle model and position information of the obstacle model;
a transmission module configured to transmit the terrain editing information to a terrain server.
23. A terrain editing apparatus, provided in a terrain server, the apparatus comprising:
a terrain edit information receiving module configured to receive terrain edit information, wherein the terrain edit information includes an obstacle model and position information of the obstacle model;
a terrain edit information processing module configured to determine a target area according to the position information of the obstacle model, and determine obstacle terrain of the target area according to the obstacle model;
a creation module configured to generate a terrain update file for the target area and update a version number of obstacle terrain of the target area;
a sending module configured to send the terrain update file to the first client and the business server.
24. A terrain editing apparatus, configured in a service server, the apparatus comprising:
the terrain update file receiving module is configured to receive a terrain update file sent by a terrain server;
and the updating module is configured to synchronize obstacle terrains of the target area according to the terrain update file and update the version number of the obstacle terrains of the target area.
25. A terrain editing apparatus, configured at a second client, the apparatus comprising:
the information processing module is configured to send an update request for the target area to a terrain server under the condition that the information processing module determines that the local target area needs to be updated according to the received update information of the target area;
a receiving module configured to receive a terrain update file of the target area sent by the terrain server;
a terrain update module configured to synchronize obstacle terrain of the target area and update a version number of the obstacle terrain of the target area according to the terrain update file.
26. A computing device, comprising:
a memory and a processor;
the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions to implement the terrain editing method of any of claims 9-21.
27. A computer readable storage medium storing computer instructions, which when executed by a processor, carry out the steps of the terrain editing method of any of claims 9-21.
CN202011563196.7A 2020-12-25 2020-12-25 Terrain editing system, method and device Active CN112604290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011563196.7A CN112604290B (en) 2020-12-25 2020-12-25 Terrain editing system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011563196.7A CN112604290B (en) 2020-12-25 2020-12-25 Terrain editing system, method and device

Publications (2)

Publication Number Publication Date
CN112604290A true CN112604290A (en) 2021-04-06
CN112604290B CN112604290B (en) 2023-05-09

Family

ID=75247856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011563196.7A Active CN112604290B (en) 2020-12-25 2020-12-25 Terrain editing system, method and device

Country Status (1)

Country Link
CN (1) CN112604290B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115177955A (en) * 2022-07-05 2022-10-14 抖音视界(北京)有限公司 Cloud game interaction method and device, readable medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567642A (en) * 2011-12-31 2012-07-11 华为技术有限公司 Game map generation method, system, server and terminal
CN105844694A (en) * 2015-08-24 2016-08-10 鲸彩在线科技(大连)有限公司 Game data generating method, game data uploading method, game data generating device, and game data uploading device
CN111375206A (en) * 2018-12-27 2020-07-07 珠海金山网络游戏科技有限公司 Scene map editing system, method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567642A (en) * 2011-12-31 2012-07-11 华为技术有限公司 Game map generation method, system, server and terminal
CN105844694A (en) * 2015-08-24 2016-08-10 鲸彩在线科技(大连)有限公司 Game data generating method, game data uploading method, game data generating device, and game data uploading device
CN111375206A (en) * 2018-12-27 2020-07-07 珠海金山网络游戏科技有限公司 Scene map editing system, method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115177955A (en) * 2022-07-05 2022-10-14 抖音视界(北京)有限公司 Cloud game interaction method and device, readable medium and electronic equipment

Also Published As

Publication number Publication date
CN112604290B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN110008293B (en) Geographic position query method and device
CN104504497A (en) BIM engineering information management system and method
CN104679879B (en) A kind of photo intelligent storage method and device
CN105005960A (en) Method, apparatus and system for obtaining watermarking picture
CN111375206B (en) Scene map editing system, method and device
CN102104830A (en) Method for fast sharing positional information
CN111383349A (en) Terrain scene editing method and device, computing equipment and storage medium
CN102307329A (en) Mobile terminal and information display method
CN104539723A (en) Virtual guide system based on scenic spot feature point positioning
CN112604290B (en) Terrain editing system, method and device
WO2013139287A1 (en) Method and system for acquiring user content
CN107071758B (en) A kind of method and server saving the reference format page
CN112642146A (en) Data processing method and device
CN111054073A (en) Method and device for moving double game roles
CN104580300A (en) Method and system for identifying graphs and real sceneries based on cloud computing
CN116996155B (en) 4G/5G hybrid network and global satellite navigation laboratory simulation synchronization method and device
CN110474972A (en) A kind of synchronous method and device of contact information
CN110796522B (en) Method for matching POI (Point of interest) by merchant, authentication method and respective devices
CN112604283A (en) Data rendering method and device
EP3149978B1 (en) System for providing location-based social networking services to users of mobile devices
CN115908636A (en) Map editing method and device
CN112604298B (en) Resource updating method, device and system
CN110856113A (en) Method, device and system for searching and identifying nearby equipment
US10348841B1 (en) System and method for event based communications between a mobile application and a server
CN111782255A (en) Virtual prop updating method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Applicant after: Zhuhai Jinshan Digital Network Technology Co.,Ltd.

Address before: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Applicant before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant