CN113730918B - Game resource map auditing method and device, storage medium and computer equipment - Google Patents

Game resource map auditing method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN113730918B
CN113730918B CN202111042485.7A CN202111042485A CN113730918B CN 113730918 B CN113730918 B CN 113730918B CN 202111042485 A CN202111042485 A CN 202111042485A CN 113730918 B CN113730918 B CN 113730918B
Authority
CN
China
Prior art keywords
map
information
target
game resource
comparison
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111042485.7A
Other languages
Chinese (zh)
Other versions
CN113730918A (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.)
Perfect World Beijing Software Technology Development Co Ltd
Original Assignee
Perfect World Beijing Software Technology Development 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 Perfect World Beijing Software Technology Development Co Ltd filed Critical Perfect World Beijing Software Technology Development Co Ltd
Priority to CN202111042485.7A priority Critical patent/CN113730918B/en
Publication of CN113730918A publication Critical patent/CN113730918A/en
Application granted granted Critical
Publication of CN113730918B publication Critical patent/CN113730918B/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
    • 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/24Querying
    • G06F16/245Query processing
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Abstract

The application discloses a game resource map auditing method and device, a storage medium and computer equipment, wherein the method comprises the following steps: acquiring a game resource map to be audited and a preset map auditing rule corresponding to the game resource map to be audited; acquiring a comparison map corresponding to the game resource map to be checked, and identifying target characteristic information related to the preset map checking rule in the game resource map to be checked; and auditing the game resource map to be audited based on the target characteristic information and the contrast characteristic information related to the preset map auditing rule in the contrast map. The method and the device are beneficial to improving the auditing efficiency of the game resource map and the release success rate of the related games.

Description

Game resource map auditing method and device, storage medium and computer equipment
The invention relates to a method and a device for auditing game resource maps, a storage medium and a computer device, which are filed by China patent office at 12 months and 31 days in 2020, and are divided application of China patent application with application number 202011642538.4.
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a game resource map auditing method and apparatus, a storage medium, and a computer device.
Background
With the development and popularization of games, more and more people of all ages become game players. Game characters' activities in the game world depend on game maps, wherein some game maps are built based on real world maps, and according to national related legal regulation requirements in mapping, map and the like, for example, map generation should correctly reflect geographic positions, forms, names and interrelationships of elements, content accords with the purpose of map use, and map generation should completely represent national territories, as well as map generation of world maps and national maps related to national boundaries of certain countries. The game map drawn based on the real map in the game world should also meet the relevant requirements.
In the prior art, for a game map manufactured according to the real world in the game world, manual auditing is mainly relied on when a developer audits internally, so that auditing efficiency is low and accuracy is poor.
Disclosure of Invention
In view of the above, the application provides a game resource map auditing method and device, a storage medium and a computer device.
According to one aspect of the present application, there is provided a game resource map auditing method, the method comprising: acquiring a game resource map to be audited and a preset map auditing rule corresponding to the game resource map to be audited; acquiring a comparison map corresponding to the game resource map to be checked, and identifying target characteristic information related to the preset map checking rule in the game resource map to be checked; and auditing the game resource map to be audited based on the target characteristic information and the contrast characteristic information related to the preset map auditing rule in the contrast map.
Optionally, the obtaining a comparison map corresponding to the game resource map to be checked specifically includes: acquiring attribute data corresponding to the game resource map to be checked, and inquiring a comparison map matched with the attribute data in a preset map resource library according to the attribute data, wherein the attribute data comprises an epoch corresponding to the game resource map to be checked and at least one level of administrative division; and if the attribute data corresponding to the game resource map to be checked is not obtained, identifying the map outline of the game resource map to be checked, and inquiring a comparison map matched with the map outline in the preset map resource library.
Optionally, the querying, according to the attribute data, a comparison map matched with the attribute data in a preset map resource library specifically includes: inquiring whether a preset map index table contains a comparison map index consistent with the attribute data or not; if so, acquiring the corresponding comparison map according to the comparison map index; if the comparison map index does not contain the comparison map index, determining the comparison map index in a preset index determining mode, and acquiring the corresponding comparison map according to the comparison map index, wherein the preset index determining mode comprises at least one of the following steps: modifying the attribute data of the game resource map to be checked according to a preset administrative division transition table, and inquiring a comparison map index consistent with the modified attribute data in the preset map index table; inquiring a comparison map index which is partially matched with the attribute data in the preset map index table according to a first preset matching priority corresponding to the attribute data, and inquiring a comparison map index which is matched with the map contour of the game resource map to be checked in the preset map resource library according to the first preset matching priority corresponding to the attribute data when the inquiry is not completed; and acquiring comparison map index data with the similarity with the attribute data larger than a preset similarity threshold value in the preset map index table according to a second preset matching priority corresponding to the attribute data, and acquiring the corresponding comparison map according to the corresponding comparison map index.
Optionally, the preset map auditing rule includes an auditing rule corresponding to at least one auditing item, where the auditing item includes but is not limited to a landform feature, a geographic mark, an administrative division, a special area, and a contour feature, and the target feature information includes but is not limited to any one of target landform feature information, target geographic mark information, target administrative division information, and target contour feature information, or a combination thereof; the identifying the target feature information related to the preset map auditing rule in the game resource map to be audited specifically comprises the following steps: normalizing the size of the game resource map to be checked so as to unify the sizes of the game resource map to be checked and the contrast map; when the auditing item comprises the geomorphic features, carrying out edge detection on the game resource map to be audited, marking the detected geomorphic feature coordinates, and determining the target geomorphic feature information; when the auditing item comprises the geographic mark, carrying out target detection on the game resource map to be audited, marking a detected geographic mark anchor frame, and determining target geographic mark information; when the auditing item comprises the administrative division, carrying out edge detection marking on the administrative division outline detected by the to-be-audited game resource map and/or acquiring administrative division coordinate information contained in the to-be-audited game resource map, and determining the target administrative division information; when the auditing item comprises the contour line feature, identifying the terrain height information of the game resource map to be audited, determining the altitude information of the terrain corresponding to the contour line and contour information of the contour line, and determining the target contour line feature information.
Optionally, when the audit item includes the geomorphic feature, edge detection is performed on the game resource map to be audited, and detected geomorphic feature coordinates are marked, which specifically includes: when the game resource map to be checked is a two-dimensional map, identifying landform feature coordinates corresponding to the game resource map to be checked based on RGB values corresponding to pixel points in the game resource map to be checked; when the game resource map to be checked is a three-dimensional map, gridding the game resource map to be checked according to plane pixel points corresponding to the game resource map to be checked, and identifying landform feature coordinates corresponding to the game resource map to be checked based on height information of grid points formed after gridding.
Optionally, the auditing the game resource map to be audited based on the target feature information and the contrast feature information related to the preset map auditing rule in the contrast map specifically includes: when the target feature information comprises the target landform feature information, obtaining landform feature comparison information corresponding to the comparison map, and judging whether the target landform feature information is matched with the landform feature comparison information according to a landform feature auditing rule; when the target feature information comprises the target geographic mark information, geographic mark comparison information corresponding to the comparison map is obtained, and whether the target geographic mark information is matched with the geographic mark comparison information or not is judged according to a geographic mark auditing rule; when the target characteristic information comprises the target administrative region information, acquiring administrative region comparison information corresponding to the comparison map, and judging whether the target administrative region information is matched with the administrative region comparison information according to administrative region auditing rules; when the target characteristic information comprises the target contour characteristic information, acquiring contour characteristic comparison information corresponding to the comparison map, and judging whether the target contour characteristic information is matched with the contour characteristic comparison information according to contour characteristic auditing rules; determining whether an audit item of the game resource map to be audited comprises the special area according to an administrative division corresponding to the game resource map to be audited, acquiring special area comparison information corresponding to the comparison map when the audit item comprises the special area, and identifying whether the game resource map to be audited comprises a target special area matched with the special area comparison information.
Optionally, after the auditing the game resource map to be audited, the method further includes: when the game resource map to be checked does not meet the preset map checking rule, marking a violation area which does not meet the preset map checking rule in the game resource map to be checked, wherein the violation area comprises target feature information which is not matched with the contrast feature information and/or a position area of a target special area in the contrast map corresponding to the game resource map to be checked; determining the violation reason of the violation area according to the violation area and a preset map auditing rule corresponding to the violation area, and outputting the violation area, the corresponding violation reason and a preset optimization suggestion corresponding to the violation reason, wherein the preset optimization suggestion comprises comparison characteristic information corresponding to the violation area and/or the target special area.
Optionally, after the outputting the violation area, the corresponding violation reason, and the preset optimization suggestion corresponding to the violation reason, the method further includes: and modifying the illegal region according to the preset optimization suggestion, and outputting a modified game resource map to be checked.
Optionally, the comparison map is generated by: carrying out normalization processing on the sample map; performing edge detection on the sample map, marking detected sample landform feature coordinates, and determining landform feature contrast information corresponding to the sample map; and/or performing target detection on the sample map, marking the detected sample geographic mark anchor frame, and recording the vertex corresponding to the sample geographic mark anchor frame as geographic mark contrast information corresponding to the sample map; and/or performing edge detection on the sample map, marking the detected sample administrative division outline, acquiring sample administrative division coordinate information corresponding to the sample map, and determining first administrative division comparison information corresponding to the sample map; and/or identifying terrain height information of the sample map and determining contour feature contrast information corresponding to the sample map, wherein the terrain height information comprises sample contour altitude information and sample contour outline information; and/or identifying a sample special region in the sample map or determining a sample special region in the sample map based on a special region information input instruction corresponding to the sample map, and determining special region contrast information corresponding to the sample map; and/or determining historical administrative division outline information corresponding to the sample map based on a historical information input instruction corresponding to the sample map, and determining second administrative division comparison information corresponding to the sample map; generating the comparison map according to the corresponding geomorphic feature comparison information and/or the geographic mark comparison information and/or the administrative division comparison information and/or the contour line feature comparison information and/or the special area comparison information of the sample map, wherein the administrative division comparison information comprises first administrative division comparison information and/or second administrative division comparison information.
According to another aspect of the present application, there is provided a game resource map auditing apparatus, the apparatus including: the map acquisition module is used for acquiring a game resource map to be checked and a preset map checking rule corresponding to the game resource map to be checked; the identification module is used for acquiring a comparison map corresponding to the game resource map to be checked and identifying target characteristic information related to the preset map checking rule in the game resource map to be checked; and the auditing module is used for auditing the game resource map to be audited based on the target characteristic information and the contrast characteristic information related to the preset map auditing rule in the contrast map.
According to still another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above game resource map auditing method.
According to still another aspect of the present application, there is provided a computer device including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, the processor implementing the game resource map auditing method described above when executing the program.
By means of the technical scheme, the game resource map auditing method, the game resource map auditing device, the storage medium and the computer equipment acquire the game resource map to be audited, the preset map auditing rule and the comparison map corresponding to the game resource map to be audited, and target characteristic information related to the auditing rule is identified in the map to be audited, so that the target characteristic information corresponding to the game resource map to be audited is audited by utilizing the comparison characteristic information corresponding to the comparison map, and whether the game resource map to be audited is compliant or not is judged. According to the embodiment of the application, the target characteristic information in the game resource map to be audited is identified, and the target characteristic information is compared with the contrast characteristic information of the contrast map according to the preset map audit rule corresponding to the game resource map to be audited, so that the audit of the map is realized, the fact that the audited map can be matched with the characteristic information in the corresponding contrast map is ensured, and the auditing efficiency of the game resource map and the release success rate of the related game are improved.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 shows a schematic flow chart of a game resource map auditing method according to an embodiment of the present application;
fig. 2 shows a schematic structural diagram of a game resource map auditing apparatus according to an embodiment of the present application.
Detailed Description
The present application will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other.
In this embodiment, a game resource map auditing method is provided, as shown in fig. 1, and the method includes:
step 101, acquiring a game resource map to be audited and a preset map auditing rule corresponding to the game resource map to be audited;
102, acquiring a comparison map corresponding to the game resource map to be checked, and identifying target feature information related to the preset map checking rule in the game resource map to be checked;
And step 103, auditing the game resource map to be audited based on the target characteristic information and the contrast characteristic information related to the preset map auditing rule in the contrast map.
The embodiment of the application can be applied to an auditing system, a release system and an evaluation system, and the auditing system, the release system and the evaluation system are loaded in entity computer equipment, specifically can be applied to the auditing system, the release system and the evaluation system of a game auditing scene, realize auditing of unpublished games, public release of games passing the auditing and evaluation of the games, or realize auditing and evaluation of released games, and can also be applied to the auditing system, the release system and the evaluation system of other auditing scenes, for example, realize auditing of advertisement texts, propaganda texts, novels, news and other contents, release after auditing and content evaluation. Taking an auditing system and a release system applied to the field of games as an example, in an actual application scene, before the games are released and online, at least one dimension of auditing needs to be carried out on the games, so that the content of each dimension in the games is ensured to accord with relevant regulations, and the games can be allowed to be released in a public way. For example, the auditing system and the publishing system can comprise the material auditing module for auditing the contents such as two-dimensional pictures, three-dimensional models, gif images, model animations and the like in the game; for example, the auditing system and the publishing system can also comprise a text auditing module for auditing text related content such as game names, game titles, task names, task summaries and the like in the game; for example, the auditing system and the publishing system can also audit the related content of the map in the game, and the auditing module can also audit the other aspects of the content in the game, which is not exemplified here. The embodiments of the present application are explained with an auditing method applied in a game scene, and those skilled in the art should understand that methods applied in other scenes are also within the protection scope of the present application.
In the embodiment of the present application, for games planned to be released in different regions, since the requirements of each region on map drawing are different, the auditing rules corresponding to the resource map to be audited (hereinafter referred to as the map to be audited) may also be different, and for implementing more accurate auditing of the map to be audited in combination with the application scenario of the map to be audited, in the embodiment of the present application, the auditing rules may be determined based on release information corresponding to the map to be audited, and the release information may include release places, and determine auditing criteria corresponding to the release places, for example, it is required to ensure that the administrative division outline and the real administrative division outline are unified (for example, the unified criteria may be defined as that the matching degree is greater than a predetermined threshold). In addition, the map to be checked may include, in addition to the map image information itself, description information of the map, for example, administrative division information (such as chinese-beijing) of the map to be checked, and the era (such as songzheng) of the map to be checked, and by means of the description information of the map, a comparison map corresponding to the map to be checked may be found out in a preset map resource library established in advance. In order to achieve the acquisition of the comparison map, optionally, the step 102 of acquiring the comparison map corresponding to the to-be-checked game resource map may specifically include: acquiring attribute data corresponding to the game resource map to be checked, and inquiring a comparison map matched with the attribute data in a preset map resource library according to the attribute data, wherein the attribute data comprises an epoch corresponding to the game resource map to be checked and at least one level of administrative division; and if the attribute data corresponding to the game resource map to be checked is not obtained, identifying the map outline of the game resource map to be checked, and inquiring a comparison map matched with the map outline in the preset map resource library. In an actual application scene, corresponding attribute data is firstly analyzed and extracted from a map to be inspected, under the condition that the attribute data can be acquired, a corresponding comparison map is inquired in a preset map resource library according to the attribute data, and under the condition that the attribute data cannot be acquired, the outline of the map to be inspected is identified, so that the comparison map which is the same as or similar to the outline is inquired in the preset map resource library according to the identified outline of the map to be inspected, if the comparison map is still not inquired, administrative division characteristics, geographic sign characteristics and the like of the map to be inspected can be identified, and the comparison map which is the same as or similar to the administrative division characteristics and the geographic sign characteristics of the map to be inspected is inquired in the preset map resource library.
Further, the features represented by the map to be audited can be audited by utilizing the features of the comparison map so as to judge whether the map to be audited is matched with the corresponding comparison map. In the embodiment, the verification of the map to be verified is realized by identifying target feature information related to the verification rule of the preset map in the map to be verified and comparing the target feature information with the contrast feature information corresponding to the contrast map. For example, the preset map auditing rules include three rules, namely, a landform feature auditing rule (specifically, it can be specified that the features of main landforms such as mountain rivers and traffic trunks are matched with real landform features), a geographic sign auditing rule (specifically, it can be specified that the positions of the features such as main geographic signs are corresponding to the positions of real geographic signs), and an administrative division.
By applying the technical scheme of the embodiment, the to-be-inspected game resource map, the preset map inspection rule corresponding to the to-be-inspected game resource map and the comparison map are obtained, and the target characteristic information related to the inspection rule is identified in the to-be-inspected map, so that the target characteristic information corresponding to the to-be-inspected game resource map is inspected by utilizing the comparison characteristic information corresponding to the comparison map, and whether the to-be-inspected game resource map is compliant is judged. According to the embodiment of the application, the target characteristic information in the game resource map to be audited is identified, and the target characteristic information is compared with the contrast characteristic information of the contrast map according to the preset map audit rule corresponding to the game resource map to be audited, so that the audit of the map is realized, the fact that the audited map can be matched with the characteristic information in the corresponding contrast map is ensured, and the auditing efficiency of the game resource map and the release success rate of the related game are improved.
In this embodiment, the specific step of "querying, according to the attribute data, the comparison map matched with the attribute data in the preset map repository" in step 102 may include:
102-1, inquiring whether a preset map index table contains a comparison map index consistent with the attribute data;
102-2, if so, acquiring the corresponding comparison map according to the comparison map index;
102-3, if not, determining a comparison map index in a preset index determination mode, and acquiring a corresponding comparison map according to the comparison map index, wherein the preset index determination mode comprises at least one of the following:
modifying the attribute data of the game resource map to be checked according to a preset administrative division transition table, and inquiring a comparison map index consistent with the modified attribute data in the preset map index table;
inquiring a comparison map index which is partially matched with the attribute data in the preset map index table according to a first preset matching priority corresponding to the attribute data, and inquiring a comparison map index which is matched with the map contour of the game resource map to be checked in the preset map resource library according to the first preset matching priority corresponding to the attribute data when the inquiry is not completed;
and obtaining comparison map index data with similarity larger than a preset similarity threshold value in the preset map index table according to a second preset matching priority corresponding to the attribute data.
In the above embodiment, the preset map index table records the comparison map index corresponding to each comparison map (for example, the comparison map index may be a storage path of the comparison map, and the comparison map may be read according to the path) and the attribute data corresponding to each comparison map. If the attribute data corresponding to the map to be checked is consistent with the attribute data of one contrast map in the preset map index table, the corresponding contrast map index can be directly inquired according to the attribute data corresponding to the map to be checked, so that the contrast map is obtained. If the attribute data corresponding to the map to be audited is inconsistent with the attribute data of each comparison map recorded in the preset map index table, the following manner of acquiring the comparison map is set for various reasons possibly causing the situation:
firstly, mainly aiming at the situation that the corresponding era of the map to be audited is not modern and contemporary, for example, for Chinese map, the user sets the correct era (such as Song dynasty) and inputs the wrong Nanjing place name "Jinling", then the transition situation (such as Yuan city, tong Ling, jiang Zhou, danyang, jinling, jian kang, applied day, jiang Ning, tianjing and Nanjing) of the place name can be inquired by utilizing the preset administrative division transition table, the place name of the place is determined, so that the attribute data of the map to be audited is corrected, and the index of the map to be compared is redetermined by utilizing the corrected attribute data.
Secondly, for example, under the condition that the attribute data is set to be wrong, the index of the contrast map matched with part of the attribute data can be sequentially queried according to the first preset matching priority corresponding to the attribute data, for example, the attribute data respectively comprises the time of the first grade, the first grade administrative division, the second grade administrative division and the third grade administrative division from high to low according to the first preset matching priority, when the corresponding index cannot be found in the preset map index table according to the attribute data of the complete map to be checked, the index of the contrast map containing other attribute data can be queried according to the attribute data with the lowest priority, for example, the index table is queried according to the time of the map to be checked, the first grade administrative division and the second grade administrative division, if the index table is still not queried, whether the index of the contrast map corresponding to the time of the map to be checked and the first grade administrative division is contained or not is continuously queried, and if the profile of the map to be checked according to the attribute data cannot be queried, the profile of the map to be checked is not checked, and the profile of the first grade of the map to be checked is sequentially queried, and if the profile of the map to be checked is contained in the first grade of the map to be checked, and the first grade of the administrative division is contained.
In addition, when the corresponding index cannot be found in the preset map index table according to the attribute data of the complete map to be checked, for example, the attribute data comprises a first-level administrative division, a second-level administrative division and a third-level administrative division, the comparison map index matched with the name of the second-level administrative division and the comparison map index matched with the name of the first-level administrative division can be queried in the comparison map index table, and if the comparison map index cannot be queried, whether the comparison map matched with the contour and comprising the third-level administrative division, the comparison map comprising the second-level administrative division and the comparison map comprising the first-level administrative division exist or not is queried in sequence according to the contour of the map to be checked.
Thirdly, mainly aiming at the situation that wrongly written words (such as homonyms, shape and near words and the like) appear in the attribute data, corresponding comparison map indexes can be sequentially obtained in an index table according to a second preset matching priority corresponding to the attribute data, for example, the attribute data of a map to be checked comprises an A country, a B province and a C city, the C city can be matched according to all city names corresponding to the A country and the B province recorded in the index table, if the names with the similarity larger than a preset similarity threshold value are matched, the original attribute data is corrected by utilizing the matched names, and the comparison map indexes are determined according to the corrected attribute data. If the matching is not achieved, the similarity between all provinces corresponding to the A country in the index table and the provinces of the provinces B is continuously calculated, and the comparison map index is determined in a similar manner as described above.
Through the above modes, the problems that under the condition of wrong setting of attribute data, a comparison map cannot be found and the map to be audited cannot be audited are solved.
In this embodiment of the present application, the preset map auditing rule includes an auditing rule corresponding to at least one auditing item, where the auditing item includes, but is not limited to, a landform feature, a geographic mark, an administrative division, a special area, and a contour feature, and the target feature information includes, but is not limited to, any one of target landform feature information, target geographic mark information, target administrative division information, and target contour feature information, or a combination thereof; the target feature information of multiple dimensions of the map to be audited can be obtained by carrying out feature identification of multiple modes on the map to be audited, and the identification mode of the map to be audited can be determined specifically based on audit items contained in preset map audit rules. Specifically, the identifying, in step 102, the target feature information related to the preset map review rule in the game resource map to be reviewed may specifically include:
102-4, when the auditing item comprises the geomorphic feature, performing edge detection on the map to be audited, marking the detected geomorphic feature coordinates, and determining the target geomorphic feature information;
In this embodiment, optionally, for the geomorphic feature, when the map to be checked is a two-dimensional map, identifying the geomorphic feature coordinates corresponding to the map to be checked based on RGB values corresponding to each pixel point in the map to be checked; when the map to be checked is a three-dimensional map, gridding the map to be checked according to the plane pixel points corresponding to the map to be checked, and identifying the landform feature coordinates corresponding to the map to be checked based on the height information of each grid point formed after gridding. In a specific application scene, the two-dimensional map can be identified by adopting an edge detection method to obtain contour information of the map, main rivers and lakes, traffic trunks and the like, and different RGB channels are used for identifying and recording the identified lines as target landform characteristic information, and key points (such as crossing points, inflection points and the like) in the two-dimensional map can also be recorded. The three-dimensional map also needs to detect the edge surface of the terrain by using an edge detection method, the marking method of the edge surface can be approximated by the height corresponding to the grid point after the x-axis and the y-axis are meshed (the grid sparsity is adjustable), the identified edge surface is recorded, or the key points in the edge surface, such as peaks, valleys, river inflection point intersections, traffic route inflection point intersections and the like, are additionally marked with three-dimensional coordinates and recorded as target landform characteristic information.
102-5, when the auditing item comprises the geographic mark, performing target detection on the map to be audited, marking a detected geographic mark anchor frame, and determining target geographic mark information;
in this embodiment, for a geographic marker, for example, a two-dimensional map, an anchor frame may be used to detect a target of such a landmark on the map, and the anchor frame identifying the landmark is drawn on the map by using an RGB channel different from the previous one, four coordinate points of the anchor frame are recorded, which are target geographic marker information, i.e., the geographic marker is framed with a minimum rectangle, the rectangle is drawn in the map, coordinates of each point of the rectangle are recorded, and the geographic position and the size corresponding to the geographic marker such as landmark building and natural landscape are important, and the shape is negligible. For example, a three-dimensional map, similarly, the position and the size index are important, and the shape can be ignored, so that the anchor frame can be adopted to detect the targets of the landmarks on the map, the anchor frame identifying the landmarks is drawn on the map, and eight coordinate points of the anchor frame are recorded, and the eight coordinate points are the target geographic mark information.
102-6, when the auditing project comprises the administrative division, carrying out edge detection marking on the administrative division outline detected by the to-be-audited map and/or obtaining administrative division coordinate information contained in the to-be-audited map, and determining the target administrative division information;
in this embodiment, for example, the whole map is a chinese map, and the edge detection may be used to identify the first level administrative division of the map to be checked, record the corresponding outline as the target administrative division information, and continuously record the outlines of the next level province (autonomous region/direct administration city), city and county (county city) as the outlines of the second, third and fourth level administrative divisions as the target administrative division information, or mark the key points in the outlines or mark a point at regular intervals and record the key points as the target administrative division information. In addition, the coordinate information of each level of administrative division may be recorded, for example, the coordinate information of the provincial city (the provincial city may be attached to the map to be checked, and the coordinate information of the provincial city may be determined by identifying the position of the identifier) may be recorded as the target administrative division information.
102-7, identifying the terrain height information of the map to be inspected, determining altitude information and contour information corresponding to the terrain height information, and determining the target contour feature information when the auditing item comprises the contour feature.
In the above embodiment, certain topographic data may be reserved by using a contour line mode, specifically, for a two-dimensional map, a contour line contour map and an altitude indicated by a contour line may be directly identified, and as a result, altitude information and contour line contour information may be recorded as target contour line feature information.
In addition, it should be noted that the features included in the map to be checked may not be completely matched with the checking item, for example, the checking item includes a geographic mark, but the geographic mark information is not represented in the map to be checked, and the target geographic mark information is not identified in the above manner, so that the checking item of the geographic mark can be automatically ignored when the map is checked later.
After obtaining the target feature information corresponding to the map to be checked according to the checking item, in the embodiment of the present application, optionally, step 103 may specifically include:
103-1, when the target feature information comprises the target landform feature information, obtaining landform feature comparison information corresponding to the comparison map, and judging whether the target landform feature information is matched with the landform feature comparison information according to a landform feature auditing rule;
In this embodiment, the feature auditing rule may specifically include a feature matching degree threshold, specifically may calculate a matching degree between the target feature information and feature comparison information corresponding to the comparison map, and determine that the feature of the map to be audited meets the specification when the matching degree between the target feature information and the feature comparison information is greater than the feature matching degree threshold.
103-2, when the target feature information comprises the target geographic mark information, acquiring geographic mark comparison information corresponding to the comparison map, and judging whether the target geographic mark information is matched with the geographic mark comparison information according to a geographic mark auditing rule;
in this embodiment, the geographic marking auditing rule may specifically include a geographic marking range corresponding to an administrative division of the map to be checked, and when the target geographic marking identified in the map to be checked is in the range, it is determined that the geographic marking of the map to be checked meets the specification.
103-3, when the target characteristic information comprises the target administrative division information, acquiring administrative division comparison information corresponding to the comparison map, and judging whether the target administrative division information is matched with the administrative division comparison information according to an administrative division auditing rule;
In this embodiment, the administrative division auditing rule may specifically include an administrative division matching degree threshold, specifically may calculate a matching degree between the target administrative division information and the administrative division comparison information corresponding to the comparison map, and determine that the administrative division characteristics of the map to be audited meet the regulations when the matching degree between the target administrative division information and the administrative division comparison information is greater than the administrative division matching degree threshold. In addition, in the case that the administrative division includes multiple levels, the corresponding administrative division matching degree threshold may be set step by step, for example, the second level administrative division threshold is slightly lower than the first level administrative division threshold.
103-4, when the target characteristic information comprises the target contour characteristic information, acquiring contour characteristic comparison information corresponding to the comparison map, and judging whether the target contour characteristic information is matched with the contour characteristic comparison information according to a contour characteristic auditing rule;
in this embodiment, the contour feature auditing rule may specifically include a contour profile matching degree threshold and a contour altitude matching degree threshold, the target contour feature information may include a plurality of target contour altitude information and corresponding target contour altitude information, and when the matching degree between the target contour altitude information and contour altitude contrast information corresponding to the contrast map is greater than the contour altitude matching degree threshold, and the matching degree between the corresponding target contour altitude information and the corresponding contour altitude contrast information is greater than the contour matching degree threshold, it is determined that the contour feature of the map to be audited meets the rule.
Step 103-5, determining whether an audit item of the map to be audited comprises the special area according to an administrative division corresponding to the map to be audited, acquiring special area comparison information corresponding to the comparison map when the audit item comprises the special area, and identifying whether the map to be audited comprises a target special area matched with the special area comparison information.
In this embodiment, regarding the auditing of the special area, firstly, whether the special area is included in the administrative area or the area to be displayed around the administrative area should be determined based on the administrative area corresponding to the map to be audited (the special area mainly refers to the area with smaller area, difficult labeling, easy neglect but important), secondly, the special area contrast information corresponding to the contrast map is obtained under the condition that the special area should be audited, and finally, whether the special area is included in the map to be audited is identified at the relevant position of the map to be audited according to the special area contrast information.
In the embodiment of the application, the audit report can be generated according to the audit result, so that a worker can check the audit result and quickly know whether the map to be audited is compliant, which illegal features exist, how the illegal features should be corrected, and the like. Optionally, step 103 may further include:
104, marking a violation area which does not meet the preset map auditing rule in the map to be checked when the map to be checked does not meet the preset map auditing rule, wherein the violation area comprises target feature information which is not matched with the contrast feature information and/or a position area of a target special area in the contrast map corresponding to the map to be checked;
step 105, determining a violation reason of the violation area according to the violation area and a preset map auditing rule corresponding to the violation area, and outputting the violation area, the corresponding violation reason and a preset optimization suggestion corresponding to the violation reason, wherein the preset optimization suggestion comprises contrast characteristic information corresponding to the violation area and/or the target special area;
and 106, modifying the violation area according to the preset optimization suggestion, and outputting a modified map to be checked.
In the above embodiment, the auditing result is displayed in the form of an auditing report, and when the map to be audited is judged to not meet the preset map auditing rule (not meet any auditing item), the illegal area which does not meet the auditing rule is marked, and the auditing conclusion is output. The violation area may be an area which is included in the map to be checked and corresponds to a feature which is not consistent with the contrast feature information in the contrast map, or may be a target special area which is included in the contrast map but is not present in the map to be checked or has an error in position marking. In addition, optimization suggestions can be provided, for example, the target landform characteristic information does not accord with the regulations, the landform characteristic comparison information in the comparison map can be marked in the map to be checked by using a special mark, so that a direction is provided for modifying the game resource map by a technician, the modification efficiency is improved, and in addition, the original map can be directly replaced by the modified map, and the rapid over-check and the rapid online of the game are facilitated.
In addition, the auditing method provided by the embodiment of the application is mainly used for auditing the game map constructed by relying on the real map, and the auditing is not needed for the virtual map which has no relation with the real geographic information and directly passes through. Step 101 may first determine whether the map is a virtual map after obtaining the game resource map to be audited, and execute the auditing method provided in the embodiment of the present application when determining that the map is not a virtual map. The judging whether the map to be checked is a virtual map may specifically be: obtaining corresponding attribute data of a map to be checked, determining the affiliated times and administrative regions of each level corresponding to the map to be checked, matching the attribute data in a preset map index table, if the matching degree between each administrative region of each level and the administrative region corresponding to each contrast map in the index table is smaller than a first preset value, considering the map to be checked as a virtual map, and if the matching degree between each administrative region and the administrative region corresponding to any contrast map in the index table is larger than or equal to the first preset value, further judging whether the affiliated times are matched with the affiliated times of the map (for example, whether the affiliated times differ by more than 200 years and not more than the considered matching), if the affiliated times are matched, considering the map to be a real map, otherwise, judging the map to be a virtual map.
The embodiment of the application also provides a method for generating the comparison map, which comprises the following steps:
step 201, carrying out normalization processing on a sample map;
step 202, performing edge detection on the sample map, marking detected sample landform feature coordinates, and determining landform feature contrast information corresponding to the sample map; and/or performing target detection on the sample map, marking the detected sample geographic mark anchor frame, and recording the vertex corresponding to the sample geographic mark anchor frame as geographic mark contrast information corresponding to the sample map; and/or performing edge detection on the sample map, marking the detected sample administrative division outline, acquiring sample administrative division coordinate information corresponding to the sample map, and determining first administrative division comparison information corresponding to the sample map; and/or identifying terrain height information of the sample map and determining contour feature contrast information corresponding to the sample map, wherein the terrain height information comprises sample contour altitude information and sample contour outline information; and/or identifying a sample special region in the sample map or determining a sample special region in the sample map based on a special region information input instruction corresponding to the sample map, and determining special region contrast information corresponding to the sample map; and/or determining historical administrative division outline information corresponding to the sample map based on a historical information input instruction corresponding to the sample map, and determining second administrative division comparison information corresponding to the sample map;
Step 203, generating the comparison map according to the geographic feature comparison information and/or the geographic mark comparison information and/or the administrative division comparison information and/or the contour feature comparison information and/or the special area comparison information corresponding to the sample map, wherein the administrative division comparison information comprises first administrative division comparison information and/or second administrative division comparison information.
In the above embodiment, the construction of the comparison map mainly includes normalization of the sample map size, identifying the comparison information in the sample map, and generating the comparison map based on the comparison information based on the sample map. Similar to steps 102-4 to 102-7, the geographic feature contrast information, the geographic mark contrast information, the first administrative region contrast information, and the contour feature contrast information in the contrast map may be determined in a similar manner, and in addition, for other regions which are easy to ignore but important, the regions may be matched by using a local map of the regions or manually identified by using rectangular or coordinate points, which represent places needing to be considered seriously, and the coordinate points and the contours are recorded as special region contrast information. Because the comparison map may contain some historical information, map elements which can be considered in the history need to be recorded, and the data only keeps the outline comparison function, namely, when the map is processed, the outline of the map can be kept as the comparison information of the second administrative division by using edge detection.
Further, as a specific implementation of the method of fig. 1, an embodiment of the present application provides a game resource map auditing apparatus, as shown in fig. 2, including:
the map acquisition module is used for acquiring a game resource map to be checked and a preset map checking rule corresponding to the game resource map to be checked;
the identification module is used for acquiring a comparison map corresponding to the game resource map to be checked and identifying target characteristic information related to the preset map checking rule in the game resource map to be checked;
and the auditing module is used for auditing the game resource map to be audited based on the target characteristic information and the contrast characteristic information related to the preset map auditing rule in the contrast map.
Optionally, the identification module is specifically configured to:
acquiring attribute data corresponding to the game resource map to be checked, and inquiring a comparison map matched with the attribute data in a preset map resource library according to the attribute data, wherein the attribute data comprises an epoch corresponding to the game resource map to be checked and at least one level of administrative division;
and if the attribute data corresponding to the game resource map to be checked is not obtained, identifying the map outline of the game resource map to be checked, and inquiring a comparison map matched with the map outline in the preset map resource library.
Optionally, the identification module is further configured to:
inquiring whether a preset map index table contains a comparison map index consistent with the attribute data or not;
if so, acquiring the corresponding comparison map according to the comparison map index;
if the comparison map index does not contain the comparison map index, determining the comparison map index in a preset index determining mode, and acquiring the corresponding comparison map according to the comparison map index, wherein the preset index determining mode comprises at least one of the following steps:
modifying the attribute data of the game resource map to be checked according to a preset administrative division transition table, and inquiring a comparison map index consistent with the modified attribute data in the preset map index table;
inquiring a comparison map index which is partially matched with the attribute data in the preset map index table according to a first preset matching priority corresponding to the attribute data, and inquiring a comparison map index which is matched with the map contour of the game resource map to be checked in the preset map resource library according to the first preset matching priority corresponding to the attribute data when the inquiry is not completed;
and acquiring comparison map index data with the similarity with the attribute data larger than a preset similarity threshold value in the preset map index table according to a second preset matching priority corresponding to the attribute data, and acquiring the corresponding comparison map according to the corresponding comparison map index.
Optionally, the preset map auditing rule includes an auditing rule corresponding to at least one auditing item, where the auditing item includes but is not limited to a landform feature, a geographic mark, an administrative division, a special area, and a contour feature, and the target feature information includes but is not limited to any one of target landform feature information, target geographic mark information, target administrative division information, and target contour feature information, or a combination thereof;
the identification module is further configured to:
normalizing the size of the game resource map to be checked so as to unify the sizes of the game resource map to be checked and the contrast map;
when the auditing item comprises the geomorphic features, carrying out edge detection on the game resource map to be audited, marking the detected geomorphic feature coordinates, and determining the target geomorphic feature information;
when the auditing item comprises the geographic mark, carrying out target detection on the game resource map to be audited, marking a detected geographic mark anchor frame, and determining target geographic mark information;
when the auditing item comprises the administrative division, carrying out edge detection marking on the administrative division outline detected by the to-be-audited game resource map and/or acquiring administrative division coordinate information contained in the to-be-audited game resource map, and determining the target administrative division information;
When the auditing item comprises the contour line feature, identifying the terrain height information of the game resource map to be audited, determining the altitude information of the terrain corresponding to the contour line and contour information of the contour line, and determining the target contour line feature information.
Optionally, the identification module specifically includes:
when the game resource map to be checked is a two-dimensional map, identifying landform feature coordinates corresponding to the game resource map to be checked based on RGB values corresponding to pixel points in the game resource map to be checked;
when the game resource map to be checked is a three-dimensional map, gridding the game resource map to be checked according to plane pixel points corresponding to the game resource map to be checked, and identifying landform feature coordinates corresponding to the game resource map to be checked based on height information of grid points formed after gridding.
Optionally, the auditing module specifically includes:
when the target feature information comprises the target landform feature information, obtaining landform feature comparison information corresponding to the comparison map, and judging whether the target landform feature information is matched with the landform feature comparison information according to a landform feature auditing rule;
When the target feature information comprises the target geographic mark information, geographic mark comparison information corresponding to the comparison map is obtained, and whether the target geographic mark information is matched with the geographic mark comparison information or not is judged according to a geographic mark auditing rule;
when the target characteristic information comprises the target administrative region information, acquiring administrative region comparison information corresponding to the comparison map, and judging whether the target administrative region information is matched with the administrative region comparison information according to administrative region auditing rules;
when the target characteristic information comprises the target contour characteristic information, acquiring contour characteristic comparison information corresponding to the comparison map, and judging whether the target contour characteristic information is matched with the contour characteristic comparison information according to contour characteristic auditing rules;
determining whether an audit item of the game resource map to be audited comprises the special area according to an administrative division corresponding to the game resource map to be audited, acquiring special area comparison information corresponding to the comparison map when the audit item comprises the special area, and identifying whether the game resource map to be audited comprises a target special area matched with the special area comparison information.
Optionally, the apparatus further comprises:
the violation marking module is used for marking a violation area which does not meet the preset map auditing rule in the to-be-audited game resource map when the to-be-audited game resource map does not meet the preset map auditing rule after the to-be-audited game resource map is audited, wherein the violation area comprises target feature information which is not matched with the comparison feature information and/or a position area of a target special area in the comparison map, which corresponds to the to-be-audited game resource map;
the output module is used for determining the violation reason of the violation area according to the violation area and a preset map auditing rule corresponding to the violation area, and outputting the violation area, the corresponding violation reason and a preset optimization suggestion corresponding to the violation reason, wherein the preset optimization suggestion comprises comparison characteristic information corresponding to the violation area and/or the target special area.
Optionally, the module further comprises:
and the optimization module is used for modifying the violation area according to the preset optimization suggestion after outputting the violation area, the corresponding violation reason and the preset optimization suggestion corresponding to the violation reason, and outputting a modified game resource map to be checked.
Optionally, the apparatus further comprises:
the contrast map generation module is used for generating the contrast map, wherein the contrast map is generated according to the following steps:
carrying out normalization processing on the sample map;
performing edge detection on the sample map, marking detected sample landform feature coordinates, and determining landform feature contrast information corresponding to the sample map; and/or
Performing target detection on the sample map, marking a detected sample geographic mark anchor frame, and recording the vertex corresponding to the sample geographic mark anchor frame as geographic mark contrast information corresponding to the sample map; and/or
Performing edge detection on the sample map, marking the detected sample administrative division outline, acquiring sample administrative division coordinate information corresponding to the sample map, and determining first administrative division comparison information corresponding to the sample map; and/or
Identifying terrain height information of the sample map, and determining contour feature contrast information corresponding to the sample map, wherein the terrain height information comprises sample contour altitude information and sample contour outline information; and/or
Identifying a sample special area in the sample map or determining the sample special area in the sample map based on a special area information input instruction corresponding to the sample map, and determining special area contrast information corresponding to the sample map; and/or
Determining historical administrative division outline information corresponding to the sample map based on a historical information input instruction corresponding to the sample map, and determining second administrative division comparison information corresponding to the sample map;
generating the comparison map according to the corresponding geomorphic feature comparison information and/or the geographic mark comparison information and/or the administrative division comparison information and/or the contour line feature comparison information and/or the special area comparison information of the sample map, wherein the administrative division comparison information comprises first administrative division comparison information and/or second administrative division comparison information.
It should be noted that, other corresponding descriptions of each functional unit related to the game resource map auditing apparatus provided in the embodiments of the present application may refer to corresponding descriptions in the method of fig. 1, and are not repeated herein.
Based on the method shown in fig. 1, correspondingly, the embodiment of the application also provides a storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the game resource map auditing method shown in fig. 1.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.), and includes several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to perform the methods described in various implementation scenarios of the present application.
Based on the method shown in fig. 1 and the virtual device embodiment shown in fig. 2, in order to achieve the above objective, the embodiment of the present application further provides a computer device, which may specifically be a personal computer, a server, a network device, etc., where the computer device includes a storage medium and a processor; a storage medium storing a computer program; and a processor for executing a computer program to implement the game resource map auditing method shown in fig. 1.
Optionally, the computer device may also include a user interface, a network interface, a camera, radio Frequency (RF) circuitry, sensors, audio circuitry, WI-FI modules, and the like. The user interface may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the architecture of a computer device provided in the present embodiment is not limited to the computer device, and may include more or fewer components, or may combine certain components, or may be arranged in different components.
The storage medium may also include an operating system, a network communication module. An operating system is a program that manages and saves computer device hardware and software resources, supporting the execution of information handling programs and other software and/or programs. The network communication module is used for realizing communication among all components in the storage medium and communication with other hardware and software in the entity equipment.
Through the description of the above embodiments, it can be clearly understood by those skilled in the art that the present application may be implemented by adding a necessary general hardware platform to software, or may be implemented by hardware to obtain a game resource map to be audited, a preset map auditing rule and a comparison map corresponding to the game resource map to be audited, and identify target feature information related to the auditing rule in the map to be audited, so as to audit target feature information corresponding to the game resource map to be audited by using the comparison feature information corresponding to the comparison map, so as to determine whether the game resource map to be audited is compliant. According to the embodiment of the application, the target characteristic information in the game resource map to be audited is identified, and the target characteristic information is compared with the contrast characteristic information of the contrast map according to the preset map audit rule corresponding to the game resource map to be audited, so that the audit of the map is realized, the fact that the audited map can be matched with the characteristic information in the corresponding contrast map is ensured, and the auditing efficiency of the game resource map and the release success rate of the related game are improved.
Those skilled in the art will appreciate that the drawings are merely schematic illustrations of one preferred implementation scenario, and that the modules or flows in the drawings are not necessarily required to practice the present application. Those skilled in the art will appreciate that modules in an apparatus in an implementation scenario may be distributed in an apparatus in an implementation scenario according to an implementation scenario description, or that corresponding changes may be located in one or more apparatuses different from the implementation scenario. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The foregoing application serial numbers are merely for description, and do not represent advantages or disadvantages of the implementation scenario. The foregoing disclosure is merely a few specific implementations of the present application, but the present application is not limited thereto and any variations that can be considered by a person skilled in the art shall fall within the protection scope of the present application.

Claims (10)

1. A game resource map auditing method, the method comprising:
acquiring a game resource map to be audited and preset map auditing rules corresponding to the game resource map to be audited, wherein the preset map auditing rules comprise auditing rules corresponding to at least one auditing item;
Acquiring a comparison map corresponding to the game resource map to be checked, and identifying target feature information related to the preset map checking rule in the game resource map to be checked, wherein the target feature information comprises any one or combination of target landform feature information, target geographic mark information, target administrative division information and target contour line feature information;
based on the target feature information and the contrast feature information related to the preset map auditing rule in the contrast map, auditing the game resource map to be audited;
the identifying the target feature information related to the preset map auditing rule in the game resource map to be audited specifically includes:
normalizing the size of the game resource map to be checked so as to unify the sizes of the game resource map to be checked and the contrast map;
when the auditing item comprises the landform feature, carrying out edge detection on the game resource map to be audited, marking the detected landform feature coordinates, and determining target landform feature information;
when the auditing item comprises a geographic mark, carrying out target detection on the game resource map to be audited, marking a detected geographic mark anchor frame, and determining target geographic mark information;
When the auditing item comprises an administrative division, carrying out edge detection marking on the administrative division outline detected by the to-be-audited game resource map and/or acquiring administrative division coordinate information contained in the to-be-audited game resource map, and determining target administrative division information;
and when the auditing item comprises contour line characteristics, identifying the terrain height information of the game resource map to be audited, determining contour line contour information and contour line altitude information corresponding to the terrain height information, and determining target contour line characteristic information.
2. The method according to claim 1, wherein when the audit item includes a geomorphic feature, edge detection is performed on the game resource map to be audited, and detected geomorphic feature coordinates are marked, specifically including:
when the game resource map to be checked is a two-dimensional map, identifying landform feature coordinates corresponding to the game resource map to be checked based on RGB values corresponding to pixel points in the game resource map to be checked;
when the game resource map to be checked is a three-dimensional map, gridding the game resource map to be checked according to plane pixel points corresponding to the game resource map to be checked, and identifying landform feature coordinates corresponding to the game resource map to be checked based on height information of grid points formed after gridding.
3. The method according to claim 1, wherein the auditing the game resource map to be audited based on the target feature information and the comparison feature information related to the preset map auditing rule in the comparison map specifically includes:
when the target feature information comprises the target landform feature information, obtaining landform feature comparison information corresponding to the comparison map, and judging whether the target landform feature information is matched with the landform feature comparison information according to a landform feature auditing rule;
when the target feature information comprises the target geographic mark information, geographic mark comparison information corresponding to the comparison map is obtained, and whether the target geographic mark information is matched with the geographic mark comparison information or not is judged according to a geographic mark auditing rule;
when the target characteristic information comprises the target administrative division information, acquiring administrative division comparison information corresponding to the comparison map, and judging whether the target administrative division information is matched with the administrative division comparison information according to an administrative division auditing rule;
when the target characteristic information comprises the target contour characteristic information, contour characteristic comparison information corresponding to the comparison map is obtained, and whether the target contour characteristic information is matched with the contour characteristic comparison information or not is judged according to contour characteristic auditing rules.
4. The method according to claim 1, wherein the preset map auditing rule includes an auditing rule corresponding to at least one auditing item, and the auditing the game resource map to be audited based on the target feature information and the comparison feature information related to the preset map auditing rule in the comparison map specifically includes:
determining whether an audit item of the game resource map to be audited comprises a special area according to an administrative division corresponding to the game resource map to be audited, acquiring special area comparison information corresponding to the comparison map when the audit item comprises the special area, and identifying whether the game resource map to be audited comprises a target special area matched with the special area comparison information.
5. The method of claim 1, wherein after auditing the map of game resources to be audited, the method further comprises:
when the game resource map to be checked does not meet the preset map checking rule, marking a violation area which does not meet the preset map checking rule in the game resource map to be checked, wherein the violation area comprises target feature information which is not matched with the contrast feature information and/or a position area of a target special area in the contrast map corresponding to the game resource map to be checked;
Determining the violation reason of the violation area according to the violation area and a preset map auditing rule corresponding to the violation area, and outputting the violation area, the corresponding violation reason and a preset optimization suggestion corresponding to the violation reason, wherein the preset optimization suggestion comprises comparison characteristic information corresponding to the violation area and/or the target special area.
6. The method of claim 5, wherein after the outputting the violation area, the corresponding violation reason, and the preset optimization suggestion corresponding to the violation reason, the method further comprises:
and modifying the illegal region according to the preset optimization suggestion, and outputting a modified game resource map to be checked.
7. The method of claim 1, wherein the comparison map is generated by:
carrying out normalization processing on the sample map;
performing edge detection on the sample map, marking detected sample landform feature coordinates, and determining landform feature contrast information corresponding to the sample map; and/or
Performing target detection on the sample map, marking a detected sample geographic mark anchor frame, and recording the vertex corresponding to the sample geographic mark anchor frame as geographic mark contrast information corresponding to the sample map; and/or
Performing edge detection on the sample map, marking the detected sample administrative division outline, acquiring sample administrative division coordinate information corresponding to the sample map, and determining first administrative division comparison information corresponding to the sample map; and/or
Identifying terrain height information of the sample map, and determining contour feature contrast information corresponding to the sample map, wherein the terrain height information comprises sample contour altitude information and sample contour outline information; and/or
Identifying a sample special area in the sample map or determining the sample special area in the sample map based on a special area information input instruction corresponding to the sample map, and determining special area contrast information corresponding to the sample map; and/or
Determining historical administrative division outline information corresponding to the sample map based on a historical information input instruction corresponding to the sample map, and determining second administrative division comparison information corresponding to the sample map;
generating the comparison map according to the corresponding geomorphic feature comparison information and/or the geographic mark comparison information and/or the administrative division comparison information and/or the contour line feature comparison information and/or the special area comparison information of the sample map, wherein the administrative division comparison information comprises first administrative division comparison information and/or second administrative division comparison information.
8. A map auditing apparatus, the apparatus comprising:
the map acquisition module is used for acquiring a game resource map to be checked and preset map checking rules corresponding to the game resource map to be checked, wherein the preset map checking rules comprise checking rules corresponding to at least one checking item;
the identification module is used for acquiring a comparison map corresponding to the game resource map to be checked and identifying target feature information related to the preset map checking rule in the game resource map to be checked, wherein the target feature information comprises any one or combination of target landform feature information, target geographic mark information, target administrative division information and target contour line feature information;
the auditing module is used for auditing the game resource map to be audited based on the target characteristic information and the contrast characteristic information related to the preset map auditing rule in the contrast map;
wherein, the identification module is further used for: normalizing the size of the game resource map to be checked so as to unify the sizes of the game resource map to be checked and the contrast map; when the auditing item comprises the geomorphic features, carrying out edge detection on the game resource map to be audited, marking the detected geomorphic feature coordinates, and determining the target geomorphic feature information; when the auditing item comprises the geographic mark, carrying out target detection on the game resource map to be audited, marking a detected geographic mark anchor frame, and determining target geographic mark information; when the auditing item comprises the administrative division, carrying out edge detection marking on the administrative division outline detected by the to-be-audited game resource map and/or acquiring administrative division coordinate information contained in the to-be-audited game resource map, and determining the target administrative division information; when the auditing item comprises the contour line feature, identifying the terrain height information of the game resource map to be audited, determining the altitude information of the terrain corresponding to the contour line and contour information of the contour line, and determining the target contour line feature information.
9. A storage medium having stored thereon a computer program, which when executed by a processor, implements the method of any of claims 1 to 7.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, characterized in that the processor implements the method of any one of claims 1 to 7 when executing the computer program.
CN202111042485.7A 2020-12-31 2020-12-31 Game resource map auditing method and device, storage medium and computer equipment Active CN113730918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111042485.7A CN113730918B (en) 2020-12-31 2020-12-31 Game resource map auditing method and device, storage medium and computer equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111042485.7A CN113730918B (en) 2020-12-31 2020-12-31 Game resource map auditing method and device, storage medium and computer equipment
CN202011642538.4A CN112642158B (en) 2020-12-31 2020-12-31 Game resource map auditing method and device, storage medium and computer equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202011642538.4A Division CN112642158B (en) 2020-12-31 2020-12-31 Game resource map auditing method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN113730918A CN113730918A (en) 2021-12-03
CN113730918B true CN113730918B (en) 2023-07-14

Family

ID=75367113

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111042485.7A Active CN113730918B (en) 2020-12-31 2020-12-31 Game resource map auditing method and device, storage medium and computer equipment
CN202011642538.4A Active CN112642158B (en) 2020-12-31 2020-12-31 Game resource map auditing method and device, storage medium and computer equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011642538.4A Active CN112642158B (en) 2020-12-31 2020-12-31 Game resource map auditing method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (2) CN113730918B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977191A (en) * 2019-04-01 2019-07-05 国家基础地理信息中心 Problem map detection method, device, electronic equipment and medium
CN111190171A (en) * 2018-11-15 2020-05-22 罗伯特·博世有限公司 Method for identifying map errors
WO2020215971A1 (en) * 2019-04-26 2020-10-29 腾讯科技(深圳)有限公司 Map switching method and apparatus, and storage medium and device
CN111861406A (en) * 2020-07-24 2020-10-30 江苏省基础地理信息中心 Map changing and reviewing system and method
CN112057869A (en) * 2020-09-09 2020-12-11 网易(杭州)网络有限公司 Information processing method, information processing device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10107642B2 (en) * 2014-05-23 2018-10-23 Time Warner Cable Enterprises Llc Map information management and correction of geodata
CN109540122B (en) * 2018-11-14 2022-11-04 中国银联股份有限公司 Method and device for constructing map model
CN110472480A (en) * 2019-06-28 2019-11-19 深圳数马电子技术有限公司 Item identification method, device and computer readable storage medium
CN110399570B (en) * 2019-07-24 2023-09-05 腾讯科技(深圳)有限公司 Geographic object recommendation method, device and storage medium
CN110517239A (en) * 2019-08-20 2019-11-29 东软医疗系统股份有限公司 A kind of medical image detection method and device
CN111415034A (en) * 2020-03-11 2020-07-14 北京光速斑马数据科技有限公司 Intelligent route arranging and planning method, system, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111190171A (en) * 2018-11-15 2020-05-22 罗伯特·博世有限公司 Method for identifying map errors
CN109977191A (en) * 2019-04-01 2019-07-05 国家基础地理信息中心 Problem map detection method, device, electronic equipment and medium
WO2020215971A1 (en) * 2019-04-26 2020-10-29 腾讯科技(深圳)有限公司 Map switching method and apparatus, and storage medium and device
CN111861406A (en) * 2020-07-24 2020-10-30 江苏省基础地理信息中心 Map changing and reviewing system and method
CN112057869A (en) * 2020-09-09 2020-12-11 网易(杭州)网络有限公司 Information processing method, information processing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113730918A (en) 2021-12-03
CN112642158B (en) 2021-09-28
CN112642158A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
US8799074B2 (en) Methods and apparatus for performing enhanced queries for items such as maps and geospatial data
EP2975555B1 (en) Method and apparatus for displaying a point of interest
EP3854941A1 (en) Crack analysis device, crack analysis method, and crack analysis program
US9251420B2 (en) System for mapping and identification of plants using digital image processing and route generation
CN109977191B (en) Problem map detection method, device, electronic equipment and medium
US10762660B2 (en) Methods and systems for detecting and assigning attributes to objects of interest in geospatial imagery
CN109636868B (en) High-precision image map online construction method and device based on WebGIS and deep learning
CN110136198A (en) Image processing method and its device, equipment and storage medium
CN107247791B (en) Parking lot map data generation method and device and machine-readable storage medium
CN110647886A (en) Interest point marking method and device, computer equipment and storage medium
CN109710705A (en) Map point of interest treating method and apparatus
CN114359590A (en) NFT image work infringement detection method and device and computer storage medium
CN113255578B (en) Traffic identification recognition method and device, electronic equipment and storage medium
CN113730918B (en) Game resource map auditing method and device, storage medium and computer equipment
EP2620749B1 (en) Indexing system of spatial information for combined SOI object and content
CN108734393A (en) Matching process, user equipment, storage medium and the device of information of real estate
CN111899505B (en) Detection method and device for traffic restriction removal
CN110245339A (en) Article generation method, device, equipment and storage medium
KR20230086044A (en) Urban enviromental analysis system based on urban spatial data for high resolution and large scale urban spatial analysis and analysis method thereof
CN107084728A (en) Method and apparatus for detecting numerical map
JP6244887B2 (en) Information processing apparatus, image search method, and program
CN111986332A (en) Method and device for displaying message board, electronic equipment and storage medium
Produit et al. 3D georeferencing of historical photos by volunteers
CN114691523B (en) GPS system debugging method and device
CN116541574B (en) Intelligent extraction method, device, storage medium and equipment for map sensitive information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant