CN112395379A - Map resource multiplexing method and device, storage medium and computing equipment - Google Patents

Map resource multiplexing method and device, storage medium and computing equipment Download PDF

Info

Publication number
CN112395379A
CN112395379A CN202011224576.8A CN202011224576A CN112395379A CN 112395379 A CN112395379 A CN 112395379A CN 202011224576 A CN202011224576 A CN 202011224576A CN 112395379 A CN112395379 A CN 112395379A
Authority
CN
China
Prior art keywords
map
sub
module
target main
resources
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011224576.8A
Other languages
Chinese (zh)
Inventor
杨旭
林雨熙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Bingfeng Mutual Entertainment Technology Co ltd
Original Assignee
Beijing Bingfeng Mutual Entertainment Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Bingfeng Mutual Entertainment Technology Co ltd filed Critical Beijing Bingfeng Mutual Entertainment Technology Co ltd
Priority to CN202011224576.8A priority Critical patent/CN112395379A/en
Publication of CN112395379A publication Critical patent/CN112395379A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/005Map projections or methods associated specifically therewith

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Remote Sensing (AREA)
  • Business, Economics & Management (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Instructional Devices (AREA)

Abstract

The invention provides a map resource multiplexing method, a map resource multiplexing device, a storage medium and computing equipment, wherein the method comprises the following steps: creating a plurality of sub-map modules, and correspondingly storing the map resources used for multiplexing of the sub-map modules and the corresponding sub-map modules; selecting a sub-map module needing multiplexing from the stored sub-map modules, and loading the selected sub-map module and the corresponding map resource into the target main map; and combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map. The embodiment of the invention not only realizes the purpose of quickly and flexibly inlaying and multiplexing the resources (map resources) to the target main map, but also does not need to re-configure the map resources in the target main map, thereby reducing the work of repeatedly configuring the map resources in large quantity. Furthermore, the created sub-map modules are independent from each other, so that secondary manufacturing of the map resources of the sub-map modules is facilitated, and the multiplexed map resources can be rapidly updated in batches.

Description

Map resource multiplexing method and device, storage medium and computing equipment
Technical Field
The invention relates to the technical field of game resource processing, in particular to a map resource multiplexing method, a map resource multiplexing device, a storage medium and computing equipment.
Background
The most common existing map content multiplexing method is to directly copy map resources and resource states from a manufactured map art resource to a target position where the resources need to be multiplexed, or to manufacture a plurality of map art resources into a preset body, to multiplex the target position with the preset body as a minimum unit, and then to manufacture planning data of the target position according to the current art resources of the actual target position. However, the method of directly copying the art resources is only resource-level multiplexing, and cannot copy the contents outside the resources to the target location, and thus it is necessary to newly arrange planning data in the target location. When the structure is modified in batch, each position needs to be copied again, and quick batch modification cannot be realized. When a plurality of people develop a complex map, time is needed for developing a target map, and the working contents of the plurality of people cannot be synchronized.
In addition, the existing map content multiplexing method further comprises the steps of arranging each complete sub-map according to fixed identification bits to form a main map, then giving a fixed identification ID to the sub-map, and enabling a producer to form the main map by a plurality of sub-maps according to the identification ID to realize the multiplexing of map resources. For example, in fig. 1, a prefabricated sub-map a, a sub-map B, and a sub-map C to which fixed identification IDs are assigned are assembled into an entire main map by a matrix. However, after the multiplexed content is identified, the identification points of the identification are distributed in a fixed identification range, the assembly needs to be performed in the fixed identification range, the map which is expected to be multiplexed cannot be flexibly embedded, and the convenient and fast secondary development cannot be performed on the map of a certain identification. In addition, the current map state cannot be observed in real time by using the marked block map, and if errors occur, the map needs to be exported and imported again, so that the map making process is very complicated.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a map resource multiplexing method, apparatus, storage medium, and computing device that overcome or at least partially solve the above problems, and that enable fast and flexible mosaic multiplexing of resources to a target master map without reconfiguring map resources in the target master map, thereby reducing the effort of repeatedly reconfiguring map resources. The map resource of the sub-map module can be conveniently manufactured for the second time, and the reused map resource can be rapidly updated in batches.
According to an aspect of the embodiments of the present invention, a method for multiplexing a map resource is provided, including:
creating a plurality of sub-map modules, and correspondingly storing map resources, which are used for multiplexing, of the sub-map modules with the corresponding sub-map modules;
selecting a sub-map module needing multiplexing from the stored sub-map modules, and loading the selected sub-map module and the corresponding map resource into the target main map;
and combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map.
Optionally, the map resource includes art resources and plan data, and the map resource for multiplexing of the sub-map module is stored in correspondence with the corresponding sub-map module, including:
storing the art resources of the sub-map module and fixed plan data in the plan data in a corresponding sub-map module;
and independently storing the variable planning data in the planning data of the sub-map module, and establishing the corresponding relation between the variable planning data and the corresponding sub-map module.
Optionally, separately storing variable plan data in the plan data of the sub-map module, and establishing a corresponding relationship between the variable plan data and the corresponding sub-map module, includes:
if the planning data of the sub map module contains a plurality of items of variable planning data, distributing a unique data ID for each item of variable planning data;
and storing each item of variable planning data separately, and establishing a corresponding relation between the data ID of each item of variable planning data and the sub-map identifier of the corresponding sub-map module.
Optionally, the art resource includes a terrain resource, and after the map resource for multiplexing of the sub-map module is correspondingly stored in the corresponding sub-map module, the method further includes: analyzing whether the terrain resources contained in the sub-map module need to change the terrain of the target main map; if so, the terrain resource marks contained in the sub-map module can be marked by a superposition mark; if not, marking the terrain resource marks contained in the sub-map module as non-superposable identifications;
combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map, comprising: if the terrain resources of the sub-map module are marked with the overlappable identification, overlaying the terrain of the sub-map module with the terrain of the target main map; and if the terrain resources of the sub map module are marked with the non-superposable identifications, reserving the terrain of the target main map.
Optionally, selecting a sub-map module to be reused from the stored sub-map modules, and loading the selected sub-map module and the corresponding map resource into the target main map, including:
loading a target main map through a visual map editor;
selecting a sub-map module needing multiplexing from the stored sub-map modules;
and loading the selected sub-map module and the corresponding map resource into the target main map through a visual map editor, and visually displaying the sub-map module.
Optionally, combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map, including:
visually embedding the sub-map module loaded in the target main map into the target main map through a visual embedding function of a visual map editor;
combining the map resources of the sub-map module with the map resources of the target master map.
Optionally, after combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map, the method further includes:
modifying the sub-map module to be modified in the stored sub-map module, and recombining the modified sub-map module and the target main map; and/or
And modifying the multiplexed sub-map module on the target main map, and updating the target main map according to the modified sub-map module.
Optionally, modifying a sub-map module to be modified in the stored sub-map modules, and recombining the modified sub-map module and the target master map, including:
searching a sub map module to be modified currently multiplexed by the target main map from the stored sub map modules, and modifying the map resources corresponding to the searched sub map module to be modified;
and recombining the modified sub-map module and the corresponding map resource with the target main map.
Optionally, modifying the multiplexed sub-map module on the target main map, and updating the target main map according to the modified sub-map module, including:
a sub map module to be modified multiplexed by the target main map is obtained;
modifying the map resources corresponding to the sub map module to be modified on the target main map;
and updating the target main map according to the modified map resources of the sub-map module.
According to another aspect of the embodiments of the present invention, there is also provided a map resource multiplexing apparatus, including:
the creating module is suitable for creating a plurality of sub map modules and correspondingly storing the map resources, used for multiplexing, of the sub map modules and the corresponding sub map modules;
the loading module is suitable for selecting the sub-map module needing multiplexing from the stored sub-map modules and loading the selected sub-map module and the corresponding map resource into the target main map;
and the combination module is suitable for combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map.
According to yet another aspect of embodiments of the present invention, there is also provided a computer storage medium having stored thereon computer program code which, when run on a computing device, causes the computing device to execute the map resource multiplexing method of any of the above embodiments.
According to still another aspect of the embodiments of the present invention, there is also provided a computing device including: a processor; a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform the map resource multiplexing method of any of the above embodiments.
According to the embodiment of the invention, the plurality of sub-map modules are created, and the map resources used for multiplexing of the sub-map modules are correspondingly stored with the corresponding sub-map modules, so that the sub-map modules can be multiplexed to the target main map together with the stored map resources when being multiplexed, not only is the multiplexing resources (map resources) rapidly and flexibly multiplexed to the target main map realized, but also the map resources do not need to be configured in the target main map again, and the work of repeatedly configuring the map resources in large quantity is reduced. Furthermore, the created sub-map modules are independent from each other, so that secondary manufacturing of the map resources of the sub-map modules can be facilitated, and the multiplexed map resources can be rapidly updated in batches.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 shows a prior art assembled principal pictorial view;
FIG. 2 is a flow chart illustrating a map resource multiplexing method according to an embodiment of the invention;
FIG. 3 illustrates a partial interface diagram of a sub-map module selecting reuse in a visual map editor, according to an embodiment of the invention;
FIG. 4 illustrates a partial interface diagram of loading a sub-map module in a visual map editor, according to an embodiment of the invention;
FIG. 5 is a schematic diagram of a parameter interface of a sub-map module in an individual form placed in a target master map according to an embodiment of the invention;
fig. 6 is a schematic structural diagram of a map resource multiplexing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a map resource multiplexing apparatus according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram illustrating a map resource multiplexing apparatus according to still another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In order to solve the above technical problem, an embodiment of the present invention provides a map resource multiplexing method. The method can be applied to the reuse of map resources in game production and can also be applied to other scenes needing the reuse of the map resources, and the embodiment of the invention does not limit the method. Fig. 2 is a flowchart illustrating a map resource multiplexing method according to an embodiment of the present invention. Referring to fig. 2, the map resource multiplexing method includes steps S102 to S106.
Step S102, a plurality of sub map modules are created, and the map resources used for multiplexing of the sub map modules are correspondingly stored with the corresponding sub map modules.
The sub-map module created in the embodiment of the invention has map resources for multiplexing, and the sub-map module can be multiplexed in the multiplexing module of the target main map.
And step S104, selecting the sub-map module needing multiplexing from the stored sub-map modules, and loading the selected sub-map module and the corresponding map resource into the target main map.
And step S106, combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map.
When the sub-map module is multiplexed, the sub-map module loaded in the target main map and the corresponding map resource are combined with the target main map, and the sub-map module can be embedded into the target main map. Because the created sub-map modules are relatively independent, each sub-map module can be embedded into different target main maps, and the target main map can comprise a plurality of sub-map modules, so that the reuse rate of each sub-map module is effectively improved.
The embodiment of the invention can multiplex the multiplexing resources (map resources) to the target main map quickly and flexibly by modularizing the reusable resources of the map, does not need to re-configure the map resources in the target main map, and reduces the work of repeatedly configuring the map resources in a large quantity. Furthermore, the created sub-map modules are independent from each other, so that secondary manufacturing of the map resources of the sub-map modules can be facilitated, and the multiplexed map resources can be rapidly updated in batches.
Referring to the above step S102, the map resources of the embodiment of the present invention include art resources, plan data, and the like. The art resources comprise resources such as models, special effects and earth surfaces of games. The plan data includes monsters in the game, interactive buildings, areas, tile markers, and the like. In this embodiment, inflexible plan data that does not significantly change the game play, such as general monster coordinates, areas, plot marks, etc., are referred to as fixed plan data, where the fixed plan data are relatively fixed and may also change under certain conditions. Flexible curation data that varies with time or play, such as monster ratings, outcomes, awards, etc., is referred to as variable curation data.
In the process of creating a plurality of sub-map modules, the embodiment of the invention firstly determines the size of the sub-map for multiplexing, manufactures the sub-map modules in the form of map manufacturing, and then allocates sub-map identifiers for each sub-map module, for example, unique sub-map ID and sub-map name can be allocated, and identifiers can also be added in the form of remarks, thereby completing the manufacture of the sub-map modules. The method and the device for creating the multiple sub-map modules are used for creating the multiplexing sub-map module, and therefore the created sub-map module can be understood as the sub-map module.
In the embodiment of the invention, data such as trafficability, area attributes, plot attributes, monsters, monster positions and the like required to be configured by map resources can be simultaneously manufactured in the sub-map module manufacturing process. And after the map resources for multiplexing are manufactured, the map resources and the corresponding sub-map modules are correspondingly stored, so that the map resources such as art resources, planning data and the like can be multiplexed together when the sub-map modules are multiplexed subsequently. Therefore, the map resources do not need to be reconfigured in the target main map needing the multiplexing sub-map module, and the work of repeatedly configuring the map resources in a large quantity is reduced.
In an embodiment of the present invention, when the map resource for multiplexing is stored in correspondence with the corresponding sub-map module, since the fixed plan data and the art resource do not greatly change the game play, the art resource of the sub-map module and the fixed plan data in the plan data can be directly stored in the corresponding sub-map module. And the variable plan data can change along with the change of time or playing methods, so that the variable plan data of the sub-map module can be separately stored, and the corresponding relation between the separately stored variable plan data and the corresponding sub-map module is established.
In this embodiment, when the corresponding relationship between the variable plan data and the corresponding sub-map module is established, a unique data ID may be allocated to each item of variable plan data, and the sub-map identifier allocated to each sub-map module during creation may be acquired, so that each item of variable plan data is separately stored, and the corresponding relationship is established between the data ID of each item of variable plan data and the sub-map identifier of the corresponding sub-map module, and generally, the data IDs of a plurality of items of variable plan data may correspond to the same sub-map module. Therefore, according to the corresponding relation established between the data ID of the variable plan data and the sub-map identification, the corresponding variable plan data can be conveniently searched when the sub-map module is multiplexed, and the variable plan data can be rapidly multiplexed to the target main map together.
According to the embodiment of the invention, after the sub-map module to be multiplexed is multiplexed on the target main map, the art resources and the fixed plan data of the sub-map module are not changed. And the coordinates contained in the art resources of the sub-map module are converted into new coordinates in the target main map, the fixed planning data can also generate new coordinates in the target main map, and the original coordinates and the generated new coordinates of the fixed planning data of the sub-map module can simultaneously exist in the target main map and play different roles at different calling occasions.
In an embodiment of the present invention, the art resources include terrain resources such as height data, and for the created sub-map modules, the terrain of some sub-map modules is not expected to be covered subsequently to the target main map that needs to reuse the sub-map modules. Therefore, whether the sub-map module can cover the terrain of the target main map at the corresponding position can be distinguished by marking the terrain resources of the sub-map module.
Specifically, after step S102 is executed to correspondingly store the map resources for multiplexing of the sub-map module and the corresponding sub-map module, whether the terrain resources included in the sub-map module need to change the terrain of the target main map is analyzed. If the terrain of the target main map needs to be changed, the terrain resource marks contained in the sub map modules can be overlaid and identified. And if the terrain of the target main map does not need to be changed, the terrain resource marks contained in the sub map modules can not be marked in an overlapping mode.
Therefore, when the sub-map module loaded in the target main map and the corresponding map resource are required to be combined with the target main map subsequently, whether the terrain of the sub-map module needs to be superposed with the terrain of the target main map can be determined by analyzing the type of the mark identifier in the terrain resource of the sub-map module. And if the landform resources of the sub-map module are marked with the overlappable identification through analysis, directly overlaying the landform of the sub-map module with the landform of the target main map. If the analysis shows that the terrain resources of the sub map module are marked with the non-superposable identifications, the target main map terrain needs to be reserved.
In an embodiment of the present invention, a visual map editor may be used to multiplex map resources, and for the situation that the terrain of the sub-map module is overlapped with the terrain of the target main map, a "brush" function of the visual map editor may be used to overlap the terrain height, that is, the height of the terrain resource marked with the overlappable identifier in the sub-map module is added to the height of the central point of the target main map, so as to obtain the terrain height of the target main map after overlapping.
If the sub-map modules are multiplexed by using the visual map editor, in the embodiment of the present invention, the sub-map module to be multiplexed is selected from the stored sub-map modules in step S104, and when the selected sub-map module and the corresponding map resource are loaded into the target main map, the target main map may be loaded by using the visual map editor. And then selecting the sub-map module needing multiplexing from the stored sub-map modules. And then loading the selected sub-map module and the corresponding map resource into the target main map through the visual map editor, and visually displaying the sub-map module loaded into the target main map in the visual map editor.
Furthermore, when the sub-map module loaded into the target main map and the corresponding map resource are combined with the target main map in step S106, the sub-map module loaded into the target main map is visually embedded into the target main map through the visual embedding function of the visual map editor, and the map resource of the sub-map module is combined with the map resource of the target main map.
The embodiment of the invention adopts the visual map editor to realize the multiplexing of the sub-map module, and can observe the state of the sub-map and the effect of the combined target main map in real time, thereby finding and solving the problems in time.
In the following, the process of multiplexing the sub-map module to the target main map is introduced by taking the sub-map module multiplexing by using the visual map editor as an example.
First, a target master map is opened by a visual map editor.
Then, the sub-map ID of the sub-map module which needs to be multiplexed and is selected from the stored sub-map modules is received by the visual editor, so that the sub-map module corresponding to the selected sub-map ID and the corresponding map resource can be loaded into the target main map.
For example, referring to fig. 3, a plurality of sub-map IDs are listed in a "map ID retrieval" function box in a pull-down manner, and when a certain sub-map ID selected by a user is received, a sub-map module corresponding to the selected sub-map ID and a corresponding map resource may be loaded into the target main map. Then, the position of the mouse pointer in the view of the visual map editor will have the brush range with the same size as the selected sub-map, and the square part in the view shown in fig. 4 is the brush range, and at the same time, the brush is allowed to rotate.
Of course, if another sub-map module needs to be reloaded due to a producer error or intentionally, the corresponding sub-map ID can be reselected through the interface shown in fig. 3, and the sub-map module corresponding to the reselected sub-map ID and the corresponding map resource are reloaded into the target main map, and the size of the brush range is changed into the size of the reloaded sub-map.
Furthermore, according to actual manufacturing requirements, a manufacturer can visually embed the loaded sub-map module into the target main map through a 'brush' function.
After the sub-map modules are embedded into the target main map, although the sub-map modules become individuals fused in the target main map, each sub-map module embedded into the target main map is independent, and even if the sub-map modules are the same in the target main map, the sub-map modules are independent. Each sub-map module has its own parameters. Fig. 5 shows parameters of the sub-map module in the form of an individual multiplexed in the target main map, including parameters such as a site template ID, a site name, and a site size. In this embodiment, if the sub-map module is multiplexed with the site on the target main map, the corresponding site template can be selectively derived through the site template ID, and the sub-map information and the site information used by the site template can also be derived.
Suppose a site in the game master map has a sub-map module multiplexed in large space, and the site generates different monster levels and occupation outputs according to the game progress, and generates field data as shown in table 1. The site template has a unique site template ID. The sub-map modules multiplexed by the base points have corresponding sub-map path IDs, and the sub-map path IDs are used for representing the sub-map module IDs used by the corresponding base points. In addition, data such as a site monster level (i.e., a monster level used by the site), a site dominance yield (an actual yield of the site), and the like can be configured, and when the configured multiplexing content is identified in the target master map, the flexible data and the sub-map normal data of the corresponding site template are read for identification.
Name of field Description of field
Site template ID ID of the home site
Sub-map Path ID Sub-map ID used by the site
According to the grade of monster The monster rating used in this document
Occupation of output according to the location Actual outcome of the play point
TABLE 1
If the multiplexing content of the base points in the target main map needs to be identified, the flexible data of the base point template in the table 1 and the map data in the sub map module can be read.
In the embodiment of the invention, the saved sub-map module can be manufactured for the second time, namely, the saved sub-map module is developed for the second time. The secondary manufacturing method of the sub-map module mainly comprises the following two methods.
And modifying the sub map module to be modified in the stored sub map module, and recombining the modified sub map module and the target main map. Specifically, a sub-map module to be modified currently multiplexed by the target main map is searched from the stored sub-map modules, then the map resources corresponding to the searched sub-map module to be modified are modified, and the modified sub-map module, the corresponding map resources and the target main map are recombined.
In the embodiment of the invention, the created sub-map modules are mutually independent, so after the stored sub-map module to be modified is modified, the map resource of the modified sub-map module does not immediately take effect in the target main map multiplexed with the corresponding sub-map module, only the stored sub-map module is changed, and the modified sub-map module can be re-embedded into the target main map.
The method can be effectively applied to the condition that the sub-map modules need to be modified in batch, and after the stored sub-map modules are modified in batch, the sub-map modules after being modified in batch are re-embedded into the target main map, so that the sub-map modules in the target main map can be rapidly and pertinently updated, and the modified sub-map modules cover the originally multiplexed sub-map modules in the target main map.
And in the second mode, the multiplexed sub-map module is directly modified on the target main map, and the target main map is updated according to the modified sub-map module. Specifically, the sub-map module to be modified multiplexed by the target main map is firstly obtained, then the map resources of the sub-map module to be modified are directly modified on the target main map, and the target main map is updated according to the modified map resources of the sub-map module.
After the sub-map module is multiplexed on the target main map, the embodiment of the invention can directly change the multiplexed sub-map module on the target main map by adopting a normal map making mode. Since most map resources of the multiplexed sub-map module belong to a part of the target main map, for example, all art resources and fixed plan data of the sub-map module are stored in the target main map, the content of modifying the multiplexed sub-map module on the target main map can be stored in the target main map, and the sub-map module which is the same as the multiplexed sub-map module and is not multiplexed in the target main map is not affected.
The method can effectively carry out personalized modification on the sub-map module multiplexed in the target main map, and a map maker can carry out mobility modification on the sub-map module in the target main map according to the actual modification requirement of the current target main map.
Of course, the embodiment of the present invention may also perform secondary manufacturing on the sub-map module in a first mode and a second mode, which is not specifically limited in this respect.
The embodiment of the invention can conveniently carry out secondary production on the multiplexed content, can support the targeted secondary production on the multiplexed content, can rapidly update the multiplexed content in the target main map in batch, and can facilitate the cooperative production of the same complex map by multiple people.
Based on the same inventive concept, the embodiment of the invention also provides a map resource multiplexing device. Fig. 6 is a schematic structural diagram of a map resource multiplexing apparatus according to an embodiment of the present invention, and referring to fig. 6, the map resource multiplexing apparatus includes a creation module 610, a loading module 620, and a combination module 630.
The creating module 610 is adapted to create a plurality of sub-map modules, and store the map resources of the sub-map modules for multiplexing corresponding to the corresponding sub-map modules.
And the loading module 620 is suitable for selecting the sub-map module needing multiplexing from the stored sub-map modules and loading the selected sub-map module and the corresponding map resource into the target main map.
And the combination module 630 is suitable for combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map.
In an embodiment of the present invention, the map resources for multiplexing include art resources and plan data, and the creating module 610 is further adapted to store fixed plan data in the art resources and plan data of the sub-map modules in the corresponding sub-map modules; and independently storing the variable planning data in the planning data of the sub-map module, and establishing the corresponding relation between the variable planning data and the corresponding sub-map module.
In an embodiment of the present invention, the creating module 610 is further adapted to, if the plan data of the sub-map module includes a plurality of items of variable plan data, assign a unique data ID to each item of variable plan data; and storing each item of variable planning data separately, and establishing a corresponding relation between the data ID of each item of variable planning data and the sub-map identifier of the corresponding sub-map module.
Referring to fig. 7, in an embodiment of the present invention, the art resource includes a terrain resource, and the apparatus in the embodiment shown in fig. 6 further includes an analyzing module 640 and a marking module 650.
The analysis module 640 is adapted to, after the creation module 610 correspondingly stores the map resources for multiplexing of the sub-map modules with the corresponding sub-map modules, analyze whether the terrain resources contained in the sub-map modules need to change the terrain of the target main map; if yes, the marking module 650 marks the overlappable identifier on the terrain resource contained in the sub-map module; if not, the marking module 650 marks the non-superimposable identifier for the terrain resource contained in the sub-map module.
The combination module 630 is further adapted to, if the terrain resource of the sub-map module is marked with the stackable identification, overlay the terrain of the sub-map module with the terrain of the target main map; if the terrain resources of the sub map module are marked with the non-superposable identification, the terrain of the target main map is reserved.
In an embodiment of the present invention, the loading module 620 is further adapted to load the target master map through the visual map editor; selecting a sub-map module needing multiplexing from the stored sub-map modules; and loading the selected sub-map module and the corresponding map resource into the target main map through a visual map editor, and visually displaying the sub-map module.
In an embodiment of the present invention, the combining module 630 is further adapted to visually embed the sub-map module loaded in the target main map into the target main map through a visual embedding function of the visual map editor; the map resources of the sub-map module are combined with the map resources of the target master map.
Referring to fig. 8, in an embodiment of the present invention, the apparatus of the embodiment shown in fig. 6 above further includes an update module 660. The updating module 660 is adapted to modify the sub-map module to be modified in the stored sub-map module after the sub-map module loaded in the target main map and the corresponding map resource are combined with the target main map by the combining module 630, and recombine the modified sub-map module with the target main map; and/or modifying the multiplexed sub-map module on the target main map, and updating the target main map according to the modified sub-map module.
In an embodiment of the present invention, the updating module 660 is adapted to search a sub-map module to be modified currently multiplexed by the target main map from the stored sub-map modules, and modify the map resource corresponding to the searched sub-map module to be modified; and recombining the modified sub-map module and the corresponding map resource with the target main map.
In an embodiment of the present invention, the updating module 660 is adapted to obtain a sub-map module to be modified for reuse by the target main map; modifying map resources corresponding to the sub-map module to be modified on the target main map; and updating the target main map according to the modified map resources of the sub-map module.
Based on the same inventive concept, embodiments of the present invention further provide a computer storage medium, where computer program codes are stored, and when the computer program codes run on a computing device, the computing device is caused to execute the map resource multiplexing method of any of the above embodiments.
Based on the same inventive concept, an embodiment of the present invention further provides a computing device, including: a processor; a memory storing computer program code; the computer program code, when executed by a processor, causes a computing device to perform the map resource multiplexing method of any of the above embodiments.
It is clear to those skilled in the art that the specific working processes of the above-described systems, devices, modules and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.

Claims (12)

1. A map resource multiplexing method is characterized by comprising the following steps:
creating a plurality of sub-map modules, and correspondingly storing map resources, which are used for multiplexing, of the sub-map modules with the corresponding sub-map modules;
selecting a sub-map module needing multiplexing from the stored sub-map modules, and loading the selected sub-map module and the corresponding map resource into the target main map;
and combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map.
2. The method of claim 1, wherein the map resources comprise art resources and plan data, and storing the map resources for reuse of the sub-map modules in correspondence with the respective sub-map modules comprises:
storing the art resources of the sub-map module and fixed plan data in the plan data in a corresponding sub-map module;
and independently storing the variable planning data in the planning data of the sub-map module, and establishing the corresponding relation between the variable planning data and the corresponding sub-map module.
3. The method of claim 2, wherein storing the variable plan data separately from the plan data of the sub-map module, and establishing the corresponding relationship between the variable plan data and the corresponding sub-map module comprises:
if the planning data of the sub map module contains a plurality of items of variable planning data, distributing a unique data ID for each item of variable planning data;
and storing each item of variable planning data separately, and establishing a corresponding relation between the data ID of each item of variable planning data and the sub-map identifier of the corresponding sub-map module.
4. The method of claim 2,
the art resource comprises terrain resource, and the map resource for multiplexing of the sub map module and the corresponding sub map module are correspondingly stored, and then the method further comprises the following steps: analyzing whether the terrain resources contained in the sub-map module need to change the terrain of the target main map; if so, the terrain resource marks contained in the sub-map module can be marked by a superposition mark; if not, marking the terrain resource marks contained in the sub-map module as non-superposable identifications;
combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map, comprising: if the terrain resources of the sub-map module are marked with the overlappable identification, overlaying the terrain of the sub-map module with the terrain of the target main map; and if the terrain resources of the sub map module are marked with the non-superposable identifications, reserving the terrain of the target main map.
5. The method according to any one of claims 1 to 4, wherein the sub-map module to be reused is selected from the stored sub-map modules, and the selected sub-map module and the corresponding map resource are loaded into the target main map, including:
loading a target main map through a visual map editor;
selecting a sub-map module needing multiplexing from the stored sub-map modules;
and loading the selected sub-map module and the corresponding map resource into the target main map through a visual map editor, and visually displaying the sub-map module.
6. The method of claim 5, wherein combining the sub-map module and corresponding map resources loaded into the target master map with the target master map comprises:
visually embedding the sub-map module loaded in the target main map into the target main map through a visual embedding function of a visual map editor;
combining the map resources of the sub-map module with the map resources of the target master map.
7. The method according to any one of claims 1-4, wherein after combining the sub-map module and the corresponding map resource loaded into the target main map with the target main map, further comprising:
modifying the sub-map module to be modified in the stored sub-map module, and recombining the modified sub-map module and the target main map; and/or
And modifying the multiplexed sub-map module on the target main map, and updating the target main map according to the modified sub-map module.
8. The method of claim 7, wherein modifying the sub-map module to be modified in the stored sub-map modules, and recombining the modified sub-map module with the target master map comprises:
searching a sub map module to be modified currently multiplexed by the target main map from the stored sub map modules, and modifying the map resources corresponding to the searched sub map module to be modified;
and recombining the modified sub-map module and the corresponding map resource with the target main map.
9. The method of claim 7, wherein the modifying the multiplexed sub-map module on the target main map, and the updating the target main map according to the modified sub-map module comprises:
a sub map module to be modified multiplexed by the target main map is obtained;
modifying the map resources corresponding to the sub map module to be modified on the target main map;
and updating the target main map according to the modified map resources of the sub-map module.
10. A map resource multiplexing apparatus, comprising:
the creating module is suitable for creating a plurality of sub map modules and correspondingly storing the map resources, used for multiplexing, of the sub map modules and the corresponding sub map modules;
the loading module is suitable for selecting the sub-map module needing multiplexing from the stored sub-map modules and loading the selected sub-map module and the corresponding map resource into the target main map;
and the combination module is suitable for combining the sub-map module loaded in the target main map and the corresponding map resource with the target main map.
11. A computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform a map resource multiplexing method of any one of claims 1-9.
12. A computing device, comprising: a processor; a memory storing computer program code; the computer program code, when executed by the processor, causes the computing device to perform the map resource multiplexing method of any of claims 1-9.
CN202011224576.8A 2020-11-05 2020-11-05 Map resource multiplexing method and device, storage medium and computing equipment Pending CN112395379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011224576.8A CN112395379A (en) 2020-11-05 2020-11-05 Map resource multiplexing method and device, storage medium and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011224576.8A CN112395379A (en) 2020-11-05 2020-11-05 Map resource multiplexing method and device, storage medium and computing equipment

Publications (1)

Publication Number Publication Date
CN112395379A true CN112395379A (en) 2021-02-23

Family

ID=74598077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011224576.8A Pending CN112395379A (en) 2020-11-05 2020-11-05 Map resource multiplexing method and device, storage medium and computing equipment

Country Status (1)

Country Link
CN (1) CN112395379A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593209A (en) * 2008-12-30 2009-12-02 中国科学院地理科学与资源研究所 A kind of alternating type online statistical map generation and distributing device and method
CN106126696A (en) * 2016-06-30 2016-11-16 中国地质大学(武汉) Thematic maps manufacture method based on format correlation model and system
KR20180083298A (en) * 2018-07-13 2018-07-20 에스케이플래닛 주식회사 Real-time map data updating method
CN109189796A (en) * 2018-08-20 2019-01-11 武汉中海庭数据技术有限公司 Accurately diagram data management method and device
CN110975286A (en) * 2019-12-19 2020-04-10 福建天晴在线互动科技有限公司 Method and system for improving resource reusability based on game map
CN111589121A (en) * 2020-04-03 2020-08-28 北京冰封互娱科技有限公司 Information display method and device, storage medium and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593209A (en) * 2008-12-30 2009-12-02 中国科学院地理科学与资源研究所 A kind of alternating type online statistical map generation and distributing device and method
CN106126696A (en) * 2016-06-30 2016-11-16 中国地质大学(武汉) Thematic maps manufacture method based on format correlation model and system
KR20180083298A (en) * 2018-07-13 2018-07-20 에스케이플래닛 주식회사 Real-time map data updating method
CN109189796A (en) * 2018-08-20 2019-01-11 武汉中海庭数据技术有限公司 Accurately diagram data management method and device
CN110975286A (en) * 2019-12-19 2020-04-10 福建天晴在线互动科技有限公司 Method and system for improving resource reusability based on game map
CN111589121A (en) * 2020-04-03 2020-08-28 北京冰封互娱科技有限公司 Information display method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
US11910871B2 (en) Footwear designing tool
CN105916637A (en) A system and method for defining motions of a plurality of robots cooperatively performing a show
CN104050657A (en) Segmentation Of A Product Markup Image Based On Color And Color Differences
US10698929B2 (en) Updating single regions of a navigational database
CN113919252B (en) Component connectivity detection system based on different design data
CN111340704B (en) Map generation method and device, storage medium and electronic device
CN109799793B (en) Production plan making device and production plan making method
CN105843873A (en) System and method for managing data modeling
CN103577207A (en) Loading method and loading device for interface components in custom interface system
CN110515620B (en) Automatic resource processing method and system
CN106873966B (en) Application program development method and device
CN112190948B (en) Game map generation method and device, electronic equipment and storage medium
CN108121330A (en) A kind of dispatching method, scheduling system and map path planing method
CN111569427B (en) Resource processing method and device, storage medium and electronic device
CN112348317A (en) Project planning condition generation method and system for smart city
US20180239323A1 (en) Method for Operating an Engineering System for an Industrial Process Automation System, and Control Program
JP2017122955A (en) Production schedule planning support system and support method
CN112395379A (en) Map resource multiplexing method and device, storage medium and computing equipment
CN107729097B (en) Display page configuration method and corresponding equipment
CN105975329A (en) Creating method and device of virtual machine
CN105279181A (en) Quick updating method and system of electronic map of house
CN108090062A (en) A kind of page furbishing method and device
Michalik et al. Towards a solution for change impact analysis of software product line products
CN106471601B (en) Scheme ID management server, scheme ID management system and terminal installation
CN110782525B (en) Method, device and medium for identifying virtual object in virtual environment

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