CN113730918A - 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
CN113730918A
CN113730918A CN202111042485.7A CN202111042485A CN113730918A CN 113730918 A CN113730918 A CN 113730918A CN 202111042485 A CN202111042485 A CN 202111042485A CN 113730918 A CN113730918 A CN 113730918A
Authority
CN
China
Prior art keywords
map
information
comparison
audited
game resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111042485.7A
Other languages
Chinese (zh)
Other versions
CN113730918B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Remote Sensing (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

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 audit rule corresponding to the game resource map to be audited; acquiring a comparison map corresponding to the game resource map to be audited, and identifying target characteristic information related to the preset map audit rule in the game resource map to be audited; and auditing the game resource map to be audited based on the target characteristic information and the comparison characteristic information related to the preset map auditing rule in the comparison map. The method and the device are beneficial to improving the auditing efficiency of the game resource map and the issuing success rate of the related games.

Description

Game resource map auditing method and device, storage medium and computer equipment
The invention is a divisional application of Chinese patent application with application number 202011642538.4, named as 'method and device for auditing game resource map, storage medium and computer equipment', submitted by the Chinese patent office on 31/12/2020.
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for auditing a game resource map, a storage medium, and a computer device.
Background
With the development and popularization of games, more and more people in all ages become game players. The activity of game characters in the game world depends on game maps, wherein some game maps are constructed based on real world maps, according to the requirements of related laws and regulations of countries in the aspects of mapping, maps and the like, for example, a map is compiled, the geographic position, the form, the name and the mutual relation of each element are correctly reflected, the content accords with the use purpose of the map, and a world map and a national map related to the national boundaries of some countries are compiled, and the national territory is completely represented. A game map drawn based on a real map in the game world should also meet the relevant requirements.
In the prior art, for a game map which is manufactured according to the real world in the game world, the internal auditing of a developer mainly depends on manual auditing, and the auditing efficiency is low and the accuracy is poor.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for auditing a game resource map, a storage medium, and a computer device.
According to one aspect of the application, a game resource map auditing method is provided, and the method comprises the following steps: acquiring a game resource map to be audited and a preset map audit rule corresponding to the game resource map to be audited; acquiring a comparison map corresponding to the game resource map to be audited, and identifying target characteristic information related to the preset map audit rule in the game resource map to be audited; and auditing the game resource map to be audited based on the target characteristic information and the comparison characteristic information related to the preset map auditing rule in the comparison map.
Optionally, the obtaining of the comparison map corresponding to the game resource map to be audited specifically includes: acquiring attribute data corresponding to the game resource map to be audited, 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 age corresponding to the game resource map to be audited and at least one level of administrative division; if the attribute data corresponding to the game resource map to be audited is not acquired, identifying the map outline of the game resource map to be audited, 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 repository specifically includes: inquiring whether a preset map index table contains a comparison map index consistent with the attribute data or not; if yes, acquiring the corresponding comparison map according to the comparison map index; if not, determining a comparison map index by a preset index determination mode, and acquiring the corresponding comparison map according to the comparison map index, wherein the preset index determination mode comprises at least one of the following modes: correcting attribute data of the game resource map to be audited according to a preset administrative division transition table, and inquiring a comparison map index which is consistent with the corrected attribute data in the preset map index table; inquiring a contrast 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 contrast map index which is matched with the map outline of the game resource map to be audited in the preset map resource library according to the first preset matching priority corresponding to the attribute data when the inquiry is not successful; and acquiring contrast map index data with the similarity with the attribute data larger than a preset similarity threshold in the preset map index table according to a second preset matching priority corresponding to the attribute data, and acquiring the corresponding contrast map according to the corresponding contrast map index.
Optionally, the preset map audit rule includes an audit rule corresponding to at least one audit item, where the audit item includes, but is not limited to, a landform feature, a geographic marker, an administrative division, a special area, and a contour line feature, and the target feature information includes, but is not limited to, any one or a combination of target landform feature information, target geographic marker information, target administrative division information, and target contour line feature information; the identifying of the target feature information related to the preset map audit rule in the game resource map to be audited specifically includes: normalizing the size of the game resource map to be audited so as to enable the size of the game resource map to be audited to be uniform with the size of the comparison map; when the audit item comprises the landform features, performing edge detection on the game resource map to be audited, marking detected landform feature coordinates, and determining the target landform feature information; when the audit item comprises the geographic mark, performing target detection on the game resource map to be audited, marking a detected geographic mark anchor frame, and determining the target geographic mark information; when the audit item comprises the administrative division, performing an administrative division outline detected by an edge detection mark on the game resource map to be audited and/or acquiring administrative division coordinate information contained in the game resource map to be audited, and determining the target administrative division information; when the audit item comprises the contour line characteristics, identifying terrain height information of the game resource map to be audited, determining contour line altitude information and contour line contour information corresponding to the terrain height information, and determining the target contour line characteristic information.
Optionally, when the audit item includes the geomorphic feature, performing edge detection on the game resource map to be audited, and marking a detected geomorphic feature coordinate, specifically including: when the game resource map to be audited is a two-dimensional map, identifying landform feature coordinates corresponding to the game resource map to be audited based on RGB values corresponding to pixel points in the game resource map to be audited; and when the game resource map to be audited is a three-dimensional map, gridding the game resource map to be audited according to the plane pixel points corresponding to the game resource map to be audited, and identifying the landform feature coordinates corresponding to the game resource map to be audited based on the height information of each grid point formed after gridding.
Optionally, the auditing the game resource map to be audited based on the target feature information and the comparison feature information in the comparison map related to the preset map auditing rule specifically includes: when the target feature information comprises the target landform feature information, acquiring 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 characteristic information comprises the target geographic sign information, acquiring geographic sign comparison information corresponding to the comparison map, and judging whether the target geographic sign information is matched with the geographic sign comparison information according to a geographic sign auditing rule; when the target characteristic information comprises the target administrative region 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 line characteristic information, acquiring contour line characteristic comparison information corresponding to the comparison map, and judging whether the target contour line characteristic information is matched with the contour line characteristic comparison information according to a contour line characteristic checking rule; and determining whether the auditing items of the game resource map to be audited include the special area or not according to the administrative division corresponding to the game resource map to be audited, acquiring special area comparison information corresponding to the comparison map when the auditing items include the special area, and identifying whether the game resource map to be audited includes a target special area matched with the special area comparison information or not.
Optionally, after the audit is performed on the game resource map to be audited, the method further includes: when the game resource map to be audited does not meet the preset map audit rule, marking an illegal area which does not meet the preset map audit rule in the game resource map to be audited, wherein the illegal 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 game resource map to be audited; determining violation reasons of the violation areas according to the violation areas and preset map auditing rules corresponding to the violation areas, and outputting the violation areas, the corresponding violation reasons and preset optimization suggestions corresponding to the violation reasons, wherein the preset optimization suggestions comprise comparison feature information corresponding to the violation areas and/or the target special areas.
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 violation area according to the preset optimization suggestion, and outputting the modified game resource map to be audited.
Optionally, the comparison map is generated by 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 comparison information corresponding to the sample map; and/or carrying out target detection on the sample map, marking a detected sample geographical mark anchor frame, and recording a vertex corresponding to the sample geographical mark anchor frame as geographical mark comparison information corresponding to the sample map; and/or carrying out 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 comparison 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 comparison information corresponding to the sample map; and/or determining historical administrative division profile 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; and generating the comparison map according to the landform 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.
According to another aspect of the application, a game resource map auditing device is provided, the device comprises: the map acquisition module is used for acquiring a game resource map to be audited and a preset map audit rule corresponding to the game resource map to be audited; the identification module is used for acquiring a comparison map corresponding to the game resource map to be audited and identifying target characteristic information related to the preset map audit rule in the game resource map to be audited; and the auditing module is used for auditing the game resource map to be audited based on the target characteristic information and the comparison characteristic information related to the preset map auditing rule in the comparison map.
According to yet 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, where the processor implements the game resource map auditing method when executing the program.
By means of the technical scheme, the game resource map auditing method and device, the storage medium and the computer equipment, which are provided by the application, are used for acquiring the game resource map to be audited, and the preset map auditing rule and the comparison map corresponding to the game resource map to be audited, and identifying the target characteristic information related to the auditing rule in the map to be audited, so that the target characteristic information corresponding to the game resource map to be audited is audited by using the comparison characteristic information corresponding to the comparison map, and whether the game resource map to be audited is in compliance is judged. According to the method and the device for auditing the map, the target characteristic information in the game resource map to be audited is identified, the comparison characteristic information of the comparison map is compared according to the preset map audit rule corresponding to the game resource map to be audited, the map is audited, the map which can be audited is ensured to be matched with the characteristic information in the corresponding comparison map, and the method and the device for auditing the game resource map are beneficial to improving the audit efficiency of the game resource map and the release success rate of related games.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
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 embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic flow chart illustrating a method for auditing a game resource map according to an embodiment of the present disclosure;
fig. 2 shows a schematic structural diagram of a game resource map auditing device provided in an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In this embodiment, a method for auditing a game resource map is provided, as shown in fig. 1, the method includes:
step 101, acquiring a game resource map to be audited and a preset map audit rule corresponding to the game resource map to be audited;
102, acquiring a comparison map corresponding to the game resource map to be audited, and identifying target characteristic information related to the preset map audit rule in the game resource map to be audited;
and 103, auditing the game resource map to be audited based on the target characteristic information and the comparison characteristic information related to the preset map auditing rule in the comparison map.
The embodiment of the application can be applied to an auditing system, a releasing system and an evaluating system, wherein the auditing system, the releasing system and the evaluating system are carried in a physical computer device, specifically, the auditing system, the releasing system and the evaluating system are applied to a game auditing scene, and can be used for auditing undistributed games, publicly releasing games passing the auditing and evaluating the games, or auditing and evaluating the released games, or be used for auditing systems, releasing systems and evaluating systems of other auditing scenes, for example, auditing, releasing after auditing and evaluating contents such as advertisement texts, publicity texts, novels and news. Taking an auditing system and a releasing system applied to the game field as an example, in an actual application scene, before a game is released online, auditing of at least one dimension needs to be performed on the game, so that the game can be allowed to be released publicly after the content of each dimension in the game meets relevant regulations. For example, the auditing system and the issuing system may include the above-mentioned material auditing module for auditing the contents of two-dimensional pictures, three-dimensional models, gif motion pictures, model animations, etc. in the game; for example, the auditing system and the issuing system can also comprise a text auditing module for auditing the character-related contents in the game, such as the game name, the game title, the task name, the task summary and the like; for example, the auditing system and the publishing system may also be a map auditing module for auditing the related contents of the map in the game, and certainly, the auditing system may also be for auditing the contents of other aspects in the game, which is not illustrated here. The embodiments of the present application are explained by using an auditing method applied in a game scene, and those skilled in the art should understand that methods applied in other scenes also fall within the scope of the present application.
In the embodiment of the present application, for games planned to be issued in different regions, due to different requirements of each region on map drawing, audit rules corresponding to a resource map of a game to be audited (hereinafter, referred to as an audit map) may also be different, and in order to implement more accurate audit of the map to be audited in combination with an application scenario of the map to be audited, in the embodiment of the present application, the audit rules may be determined based on release information corresponding to the map to be audited, the release information may include a release place, and an audit standard corresponding to the release place is determined, for example, it is required to ensure that an administrative division outline is unified with a real administrative division outline (for example, the unified standard may be defined that a matching degree is greater than a predetermined threshold value). In addition, the map to be reviewed may include, in addition to the map image information itself, description information of the map, for example, administrative division information (such as china-beijing) of the map to be reviewed, and an age (such as song dynasty) of the map to be reviewed, and a comparison map corresponding to the map to be reviewed may be found in a preset map resource library established in advance by using the description information of the map. In order to achieve the obtaining of the comparison map, optionally, the step 102 of "obtaining the comparison map corresponding to the game resource map to be audited" may specifically include: acquiring attribute data corresponding to the game resource map to be audited, 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 age corresponding to the game resource map to be audited and at least one level of administrative division; and if the attribute data corresponding to the game resource map to be audited is not acquired, identifying the map outline of the game resource map to be audited, and inquiring a comparison map matched with the map outline in the preset map resource library. In an actual application scene, analyzing and extracting corresponding attribute data from a map to be audited, inquiring a corresponding comparison map in a preset map resource library according to the attribute data under the condition that the attribute data can be acquired, and identifying the outline of the map to be audited under the condition that the attribute data cannot be acquired, 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 audited, if the comparison map cannot be inquired, identifying administrative division features, geographic sign features and the like of the map to be audited, and inquiring the comparison map which is the same as or similar to the administrative division features and the geographic sign features of the map to be audited in the preset map resource library.
Furthermore, the features of the comparison map can be used for checking the features represented by the map to be checked so as to judge whether the map to be checked is matched with the corresponding comparison map. In the embodiment, the verification of the map to be verified is realized by identifying the target characteristic information in the resource map to be verified, which is related to the verification rule of the preset map, and comparing the target characteristic information with the comparison characteristic information corresponding to the comparison map. For example, the preset map audit rule includes three rules, which are a landform feature audit rule (specifically, it can be specified that features reflecting main landforms such as mountains, rivers, traffic trunks and the like are matched with real landform features), a geographical mark audit rule (specifically, it can be specified that positions of the features such as the main geographical marks correspond to positions of the real geographical marks), and an administrative division.
By applying the technical scheme of the embodiment, the game resource map to be audited, and the preset map audit rule and the comparison map corresponding to the game resource map to be audited are obtained, and the target characteristic information related to the audit 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 using the comparison characteristic information corresponding to the comparison map, and whether the game resource map to be audited is in compliance is judged. According to the method and the device for auditing the map, the target characteristic information in the game resource map to be audited is identified, the comparison characteristic information of the comparison map is compared according to the preset map audit rule corresponding to the game resource map to be audited, the map is audited, the map which can be audited is ensured to be matched with the characteristic information in the corresponding comparison map, and the method and the device for auditing the game resource map are beneficial to improving the audit efficiency of the game resource map and the release success rate of related games.
In this embodiment of the present application, the specific step of "querying a comparison map matching with the attribute data in a preset map repository according to the attribute data" in step 102 may include:
step 102-1, inquiring whether a preset map index table contains a comparison map index consistent with the attribute data;
102-2, if yes, acquiring the corresponding comparison map according to the comparison map index;
102-3, if not, determining a comparison map index through a preset index determination mode, and obtaining the corresponding comparison map according to the comparison map index, wherein the preset index determination mode comprises at least one of the following modes:
correcting attribute data of the game resource map to be audited according to a preset administrative division transition table, and inquiring a comparison map index which is consistent with the corrected attribute data in the preset map index table;
inquiring a contrast 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 contrast map index which is matched with the map outline of the game resource map to be audited in the preset map resource library according to the first preset matching priority corresponding to the attribute data when the inquiry is not successful;
and obtaining contrast map index data, of which the similarity with the attribute data is greater 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 a comparative map index corresponding to each comparative map (for example, the comparative map index may be a storage path of the comparative map, and the comparative map may be read according to the storage path), and attribute data corresponding to each comparative map. If the attribute data corresponding to the map to be checked is consistent with the attribute data of a comparison map in the preset map index table, the corresponding comparison map index can be directly inquired according to the attribute data corresponding to the map to be checked, so that the comparison map is obtained. If the attribute data corresponding to the map to be checked is inconsistent with the attribute data of each comparison map recorded in the preset map index table, the following ways of obtaining the comparison map are set according to various reasons which may cause the situation to occur in the embodiment of the application:
firstly, mainly aiming at the condition that the belonged era corresponding to the map to be audited is not modern and contemporary, for example, for a Chinese map, a user sets a correct era (such as Song dynasty) and inputs an incorrect Nanjing place name 'Jinling', the change condition of the place name (Toucheng, over city, Yangguang, Jiangzhou, Jianyang, Jinling, Jiankang, Yitian, Jianning, Tianjing, Nanjing) can be inquired by using a preset administrative region change table, the place name of the area is determined when the Song dynasty is determined, so that the attribute data of the map to be audited is corrected, and the comparative map index is determined again by using the corrected attribute data.
Secondly, for example, when the attribute data is set incorrectly, the map indexes matched with part of the attribute data can be sequentially inquired according to a first preset matching priority corresponding to the attribute data, for example, when the attribute data respectively comprises an age, a first-level administrative division, a second-level administrative division and a third-level administrative division from high to low according to the first preset matching priority, and when the corresponding index cannot be found in a preset map index table according to the attribute data of the complete map to be checked, the map indexes including other attribute data can be inquired by first ignoring the attribute data with the lowest priority, for example, the map indexes can be inquired according to the age, the first-level administrative division and the second-level administrative division of the map to be checked, if the map indexes are not inquired, whether the map indexes corresponding to the age and the first-level administrative division of the map to be checked are included or not is continuously inquired, in a special case, if the corresponding index cannot be queried according to one attribute data, the outline of the map to be reviewed can be identified, and the comparison map matched with the outline is sequentially queried according to a first preset matching priority, for example, the attribute data comprise the age, the first-level administrative division, the second-level administrative division and the third-level administrative division, whether a map matched with the outline information of the map to be reviewed exists in the comparison map comprising the third-level administrative division can be queried first, and if not, the outline of the map to be reviewed is continuously and sequentially matched in the comparison map comprising the second-level administrative division, the first-level administrative division and the age only.
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 audited, for example, the attribute data includes a first-level administrative division, a second-level administrative division and a third-level administrative division, a comparison map index matched with the name of the third-level administrative division can be inquired in the comparison map index table, then a comparison map index matched with the name of the second-level administrative division can be inquired, and then a comparison map index matched with the name of the first-level administrative division can be inquired, if the comparison map including the third-level administrative division, the comparison map including the second-level administrative division and the comparison map including the first-level administrative division, which are matched with the contour of the map to be audited, are inquired in sequence according to the contour of the map to be audited.
And thirdly, mainly aiming at the situation that wrongly-written or mispronounced characters (such as homophones, similar characters and the like) appear in the attribute data, corresponding comparison map indexes can be sequentially obtained in the index table according to a second preset matching priority corresponding to the attribute data, for example, the attribute data of the map to be checked comprises countries A, provinces B and cities C, the cities C can be matched according to all names of the cities corresponding to the countries A and the provinces B recorded in the index table, if the names with the similarity between the names and the cities C larger than a preset similarity threshold value are matched, the original attribute data are corrected by using the matching names, and the comparison map indexes are determined according to the corrected attribute data. If the matching is not successful, the similarity between the province names of the province B and all the province names corresponding to the country A in the index table is calculated continuously, and the map index is determined according to the similar mode.
Through the multiple modes, the problems that the comparison map cannot be found and the map to be checked cannot be checked under the condition that the attribute data is set wrongly are solved.
In an embodiment of the application, the preset map audit rule includes an audit rule corresponding to at least one audit item, where the audit item includes, but is not limited to, a landform feature, a geographic marker, an administrative division, a special area, and a contour line feature, and the target feature information includes, but is not limited to, any one or a combination of target landform feature information, target geographic marker information, target administrative division information, and target contour line feature information; by performing feature identification in multiple modes on the map to be audited, target feature information of multiple dimensions of the map to be audited can be acquired, and the identification mode of the map to be audited can be determined based on audit items contained in preset map audit rules. Specifically, the "identifying the target feature information related to the preset map audit rule in the game resource map to be audited" in step 102 may specifically include:
102-4, when the audit item comprises the landform features, performing edge detection on the map to be audited, marking detected coordinates of the landform features, and determining the target landform feature information;
in this embodiment, optionally, for the geomorphic feature, when the map to be audited is a two-dimensional map, the geomorphic feature coordinate corresponding to the map to be audited is identified based on the RGB value corresponding to each pixel point in the map to be audited; and 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 scenario, for a two-dimensional map, contour information of the map, main rivers, lakes, traffic trunks and the like can be identified by adopting an edge detection method, the identified lines are identified by using different RGB channels and recorded as target landform feature information, and key points (such as intersection points, inflection points and the like) in the target landform feature information can also be recorded. The three-dimensional map also needs to be detected by using an edge detection method to detect the edge surface of the terrain, the marking method for the edge surface can be approximated by the corresponding height of the grid point after the grid of the x axis and the y axis is carried out (the grid sparsity is adjustable), the identified edge surface is recorded, or the three-dimensional coordinates of key points in the edge surface, such as mountain peaks, valley, river inflection point intersection points, traffic route inflection point intersection points and the like, are additionally marked and recorded as target landform characteristic information.
102-5, when the audit item comprises the geographic mark, carrying out target detection on the map to be audited, marking a detected geographic mark anchor frame, and determining the target geographic mark information;
in this embodiment, for a geographic marker, for example, a two-dimensional map, an anchor frame may be used to perform target detection on such a landmark on the map, the anchor frame identifying the landmark is drawn on the map by using an RGB channel different from the RGB channel in front, and four coordinate points of the anchor frame are recorded, where the four coordinate points are target geographic marker information, that is, the landmark is framed by a minimum rectangle, the rectangle is drawn in the map, and coordinates of each point of the rectangle are recorded, and geographic positions and sizes corresponding to geographic markers such as landmark buildings and natural landscapes are important and the shapes thereof can be ignored. For example, a three-dimensional map is similar, the position and size indexes are important, and the shape can be ignored, so that an anchor frame can be used for carrying out target detection on 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, wherein the eight coordinate points are target geographic marking information.
102-6, when the audit item comprises the administrative division, performing an administrative division outline detected by an edge detection mark on the map to be audited and/or acquiring administrative division coordinate information contained in the map to be audited, and determining the target administrative division information;
in this embodiment, for example, the whole map is a single map of china, edge detection may be adopted to recognize that china is used as the first-level administrative division of the map to be checked and record the corresponding contour as target administrative division information, and the contours of the lower-level province (autonomous region/straight prefecture city), city, and county (county-level city) are continuously used as the contours of the second, third, and fourth-level administrative divisions and recorded as target administrative division information, or key points in the contour are marked or one point is marked at a certain distance and recorded as target administrative division information. In addition, coordinate information of each level of administrative divisions may also be recorded, for example, provincial meeting city coordinate information (a mark of a provincial meeting city may be attached to a map to be audited, and provincial meeting city coordinate information is determined by recognizing the mark position) is recorded as target administrative division information.
And 102-7, when the checking item comprises the contour line characteristics, identifying terrain height information of the map to be checked, determining contour line altitude information and contour line contour information corresponding to the terrain height information, and determining the target contour line characteristic information.
In the above embodiment, a contour manner may also be used to retain certain topographic data, specifically, for a two-dimensional map, the contour profile and the elevation represented by the contour may be directly identified, and the resulting contour elevation information and contour profile information may be recorded as target contour feature information, for a three-dimensional map, two-dimensional slicing may be performed first, and target contour feature information may be obtained based on the two-dimensional map obtained by slicing in the above manner.
In addition, it should be noted that the features included in the map to be reviewed may not be completely matched with the review item, for example, the review item includes a geographic mark, but the map to be reviewed does not show geographic mark information, and the target geographic mark information cannot be identified in the above manner, so that the review item of the geographic mark can be automatically ignored when the map is reviewed subsequently.
After obtaining the target feature information corresponding to the map to be reviewed according to the review item, in this embodiment of the application, optionally, step 103 may specifically include:
103-1, when the target feature information comprises the target landform feature information, acquiring 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 geomorphic feature auditing rule may specifically include a geomorphic feature matching degree threshold, specifically may calculate a matching degree between the target geomorphic feature information and geomorphic feature comparison information corresponding to the comparison map, and when the matching degree between the target geomorphic feature information and the geomorphic feature comparison information is greater than the geomorphic feature matching degree threshold, determine that the geomorphic feature of the map to be audited conforms to the specification.
103-2, when the target characteristic information comprises the target geographic sign information, acquiring geographic sign comparison information corresponding to the comparison map, and judging whether the target geographic sign information is matched with the geographic sign comparison information according to a geographic sign auditing rule;
in this embodiment, the geographic marker auditing rule may specifically include a geographic marker range corresponding to the administrative division of the map to be audited, and when the target geographic marker identified in the map to be audited is in the range, it is determined that the geographic marker of the map to be audited meets the specification.
103-3, when the target feature information includes 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, the matching degree between the target administrative division information and the administrative division comparison information corresponding to the comparison map may be calculated, and 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, it is determined that the administrative division features of the map to be audited meet the regulations. In addition, when the administrative divisions include multiple levels, the matching threshold of the corresponding administrative divisions may be set step by step, for example, the threshold of the second-level administrative division is slightly lower than the threshold of the first-level administrative division.
103-4, when the target characteristic information comprises the target contour line characteristic information, acquiring contour line characteristic comparison information corresponding to the comparison map, and judging whether the target contour line characteristic information is matched with the contour line characteristic comparison information according to a contour line characteristic auditing rule;
in this embodiment, the contour feature auditing rule may specifically include a contour 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 information, and when the matching degree between the target contour altitude information and the contour altitude contrast information corresponding to the comparison 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 contrast information is greater than the contour matching degree threshold, it is determined that the contour features of the map to be audited meet the specification.
103-5, determining whether an audit item of the map to be audited includes the special area according to the administrative division corresponding to the map to be audited, and when the audit item includes the special area, acquiring special area comparison information corresponding to the comparison map, and identifying whether the map to be audited includes a target special area matched with the special area comparison information.
In this embodiment, regarding the examination of the special area, it should be determined whether the area to be displayed in or around the administrative division includes the special area (the special area is mainly an area that is small, not easy to label, and easy to ignore but is important) based on the administrative area corresponding to the map to be examined, then the comparison information of the special area corresponding to the comparison map is obtained when the examination of the special area should be performed, and finally whether the map to be examined includes the special area is identified in the relevant position of the map to be examined according to the comparison information of the special area.
In the embodiment of the application, an audit report can be generated according to the audit result, so that a worker can check the audit result, and can quickly know whether the map to be audited is in compliance, which illegal features exist, how the illegal features should be corrected, and the like. Optionally, step 103 may be further followed by:
step 104, when the map to be audited does not meet the preset map audit rule, marking an illegal area which does not meet the preset map audit rule in the map to be audited, wherein the illegal 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 map to be audited;
step 105, determining violation causes of the violation areas according to the violation areas and preset map auditing rules corresponding to the violation areas, and outputting the violation areas, the corresponding violation causes and preset optimization suggestions corresponding to the violation causes, wherein the preset optimization suggestions comprise comparison feature information corresponding to the violation areas and/or the target special areas;
and 106, modifying the violation area according to the preset optimization suggestion, and outputting the modified map to be audited.
In the above embodiment, the audit result is displayed in the form of an audit report, and when it is determined that the map to be audited does not satisfy the preset map audit rule (does not satisfy any audit item), the illegal area that does not satisfy the audit rule is marked, and an audit conclusion is output. The violation area may be an area corresponding to a feature included in the map to be reviewed and not conforming to the comparison feature information in the comparison map, or may be a target special area included in the comparison map but not present in the map to be reviewed or having a wrong position mark. In addition, optimization suggestions can be given, for example, the target landform feature information does not meet the regulations, the landform feature comparison information in the comparison map can be marked in the map to be audited by using special marks, and therefore a direction is provided for technical personnel to modify the game resource map, modification efficiency is improved, in addition, the modified map can be directly used for replacing the original map, and rapid over-audit and 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 built by relying on the real map, and the virtual map which has no relation with the real geographic information can directly pass through the virtual map without auditing. In step 101, after a game resource map to be audited is obtained, it may be determined whether the map is a virtual map, and when it is determined that the map is not a virtual map, the auditing method provided in the embodiment of the present application is executed. The judgment as to whether the map to be checked is the virtual map may specifically be: obtaining attribute data corresponding to a map to be audited, determining the belonged era and each level of administrative divisions corresponding to the map to be audited, and matching the attribute data in a preset map index table, wherein if the matching degree between each level of administrative divisions and the administrative divisions corresponding to each contrast map in the index table is smaller than a first preset value, the map to be audited can be regarded as a virtual map, and if the matching degree between each level of administrative divisions and the administrative divisions corresponding to any contrast map in the index table is larger than or equal to the first preset value, whether the belonged era is matched with the belonged era of the map can be further judged (for example, whether the belonged era differs by more than 200 years and is not more than considered to be matched), if the belonged era is regarded as a real map, otherwise, the map is a virtual map.
The embodiment of the application further provides a method for generating a 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 comparison information corresponding to the sample map; and/or carrying out target detection on the sample map, marking a detected sample geographical mark anchor frame, and recording a vertex corresponding to the sample geographical mark anchor frame as geographical mark comparison information corresponding to the sample map; and/or carrying out 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 comparison 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 comparison information corresponding to the sample map; and/or determining historical administrative division profile 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 geomorphic feature comparison information and/or the geographic marking 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 includes first administrative division comparison information and/or second administrative division comparison information.
In the above embodiment, the construction of the comparison map mainly includes the normalization of the size of the sample map, the identification of the comparison information in the sample map, and the generation of the comparison map based on the sample map and the comparison information. Similarly to the steps 102-4 to 102-7, the geomorphic feature comparison information, the geographic sign comparison information, the first administrative region comparison information and the contour feature comparison information in the comparison map can be determined in a similar manner, and for other regions which are easy to ignore but important, the regions can be matched by local maps of the regions or manually identified by rectangles or coordinate points to represent places needing to be considered emphatically, and the coordinate points and the contours are recorded as special region comparison information. Since the comparison map may contain some history information, map elements which can be considered in the history need to be entered, and this kind of data only retains the contour comparison function, that is, when the map is processed, the contour of the edge detection retained map can be used as the second administrative division comparison information.
Further, as a specific implementation of the method in fig. 1, an embodiment of the present application provides a game resource map auditing apparatus, and as shown in fig. 2, the apparatus includes:
the map acquisition module is used for acquiring a game resource map to be audited and a preset map audit rule corresponding to the game resource map to be audited;
the identification module is used for acquiring a comparison map corresponding to the game resource map to be audited and identifying target characteristic information related to the preset map audit rule in the game resource map to be audited;
and the auditing module is used for auditing the game resource map to be audited based on the target characteristic information and the comparison characteristic information related to the preset map auditing rule in the comparison map.
Optionally, the identification module is specifically configured to:
acquiring attribute data corresponding to the game resource map to be audited, 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 age corresponding to the game resource map to be audited and at least one level of administrative division;
if the attribute data corresponding to the game resource map to be audited is not acquired, identifying the map outline of the game resource map to be audited, 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 yes, acquiring the corresponding comparison map according to the comparison map index;
if not, determining a comparison map index by a preset index determination mode, and acquiring the corresponding comparison map according to the comparison map index, wherein the preset index determination mode comprises at least one of the following modes:
correcting attribute data of the game resource map to be audited according to a preset administrative division transition table, and inquiring a comparison map index which is consistent with the corrected attribute data in the preset map index table;
inquiring a contrast 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 contrast map index which is matched with the map outline of the game resource map to be audited in the preset map resource library according to the first preset matching priority corresponding to the attribute data when the inquiry is not successful;
and acquiring contrast map index data with the similarity with the attribute data larger than a preset similarity threshold in the preset map index table according to a second preset matching priority corresponding to the attribute data, and acquiring the corresponding contrast map according to the corresponding contrast map index.
Optionally, the preset map audit rule includes an audit rule corresponding to at least one audit item, where the audit item includes, but is not limited to, a landform feature, a geographic marker, an administrative division, a special area, and a contour line feature, and the target feature information includes, but is not limited to, any one or a combination of target landform feature information, target geographic marker information, target administrative division information, and target contour line feature information;
the identification module is further configured to:
normalizing the size of the game resource map to be audited so as to enable the size of the game resource map to be audited to be uniform with the size of the comparison map;
when the audit item comprises the landform features, performing edge detection on the game resource map to be audited, marking detected landform feature coordinates, and determining the target landform feature information;
when the audit item comprises the geographic mark, performing target detection on the game resource map to be audited, marking a detected geographic mark anchor frame, and determining the target geographic mark information;
when the audit item comprises the administrative division, performing an administrative division outline detected by an edge detection mark on the game resource map to be audited and/or acquiring administrative division coordinate information contained in the game resource map to be audited, and determining the target administrative division information;
when the audit item comprises the contour line characteristics, identifying terrain height information of the game resource map to be audited, determining contour line altitude information and contour line contour information corresponding to the terrain height information, and determining the target contour line characteristic information.
Optionally, the identification module specifically includes:
when the game resource map to be audited is a two-dimensional map, identifying landform feature coordinates corresponding to the game resource map to be audited based on RGB values corresponding to pixel points in the game resource map to be audited;
and when the game resource map to be audited is a three-dimensional map, gridding the game resource map to be audited according to the plane pixel points corresponding to the game resource map to be audited, and identifying the landform feature coordinates corresponding to the game resource map to be audited based on the height information of each grid point formed after gridding.
Optionally, the auditing module specifically includes:
when the target feature information comprises the target landform feature information, acquiring 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 characteristic information comprises the target geographic sign information, acquiring geographic sign comparison information corresponding to the comparison map, and judging whether the target geographic sign information is matched with the geographic sign comparison information according to a geographic sign auditing rule;
when the target characteristic information comprises the target administrative region 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 line characteristic information, acquiring contour line characteristic comparison information corresponding to the comparison map, and judging whether the target contour line characteristic information is matched with the contour line characteristic comparison information according to a contour line characteristic checking rule;
and determining whether the auditing items of the game resource map to be audited include the special area or not according to the administrative division corresponding to the game resource map to be audited, acquiring special area comparison information corresponding to the comparison map when the auditing items include the special area, and identifying whether the game resource map to be audited includes a target special area matched with the special area comparison information or not.
Optionally, the apparatus further comprises:
the violation marking module is used for marking a violation area which does not meet the preset map audit rule in the game resource map to be audited after the audit is performed on the game resource map to be audited and when the game resource map to be audited does not meet the preset map audit rule, wherein the violation area comprises target feature information which does not match with the comparison feature information and/or a position area of a target special area in the comparison map which corresponds to the game resource map to be audited;
and the output module is used for determining violation reasons of the violation areas according to the violation areas and preset map auditing rules corresponding to the violation areas, and outputting the violation areas, the corresponding violation reasons and preset optimization suggestions corresponding to the violation reasons, wherein the preset optimization suggestions comprise comparison feature information corresponding to the violation areas 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 the violation area, the corresponding violation reason and the preset optimization suggestion corresponding to the violation reason are output, and outputting the modified game resource map to be audited.
Optionally, the apparatus further comprises:
the comparison map generation module is used for generating the comparison map, wherein the comparison 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 comparison information corresponding to the sample map; and/or
Carrying out target detection on the sample map, marking a detected sample geographical mark anchor frame, and recording a vertex corresponding to the sample geographical mark anchor frame as geographical mark comparison information corresponding to the sample map; and/or
Performing edge detection on the sample map, marking a 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 topographic height information of the sample map, and determining contour line feature comparison information corresponding to the sample map, wherein the topographic height information comprises sample contour line altitude information and sample contour line profile 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 comparison information corresponding to the sample map; and/or
Determining historical administrative division contour 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;
and generating the comparison map according to the landform 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.
It should be noted that other corresponding descriptions of the functional units related to the game resource map auditing device provided in the embodiment of the present application may refer to the corresponding description in the method in fig. 1, and are not described herein again.
Based on the method shown in fig. 1, correspondingly, the embodiment of the present application further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the 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 object, the present application further provides a computer device, which may specifically be a personal computer, a server, a network device, and the like, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; 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, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (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., a bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
Through the description of the above embodiment, those skilled in the art can clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and also can obtain, through hardware, a game resource map to be audited and a preset map audit rule and a comparison map corresponding to the game resource map to be audited, and identify target feature information related to the audit rule in the map to be audited, so as to audit the target feature information corresponding to the game resource map to be audited by using the comparison feature information corresponding to the comparison map to determine whether the game resource map to be audited is compliant. According to the method and the device for auditing the map, the target characteristic information in the game resource map to be audited is identified, the comparison characteristic information of the comparison map is compared according to the preset map audit rule corresponding to the game resource map to be audited, the map is audited, the map which can be audited is ensured to be matched with the characteristic information in the corresponding comparison map, and the method and the device for auditing the game resource map are beneficial to improving the audit efficiency of the game resource map and the release success rate of related games.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (11)

1. A game resource map auditing method is characterized by comprising the following steps:
acquiring a game resource map to be audited and a preset map audit rule corresponding to the game resource map to be audited;
acquiring a comparison map corresponding to the game resource map to be audited, and identifying target characteristic information related to the preset map audit rule in the game resource map to be audited;
and auditing the game resource map to be audited based on the target characteristic information and the comparison characteristic information related to the preset map auditing rule in the comparison map.
2. The method of claim 1, wherein the preset map audit rules include audit rules corresponding to at least one audit item,
the identifying of the target feature information related to the preset map audit rule in the game resource map to be audited specifically includes:
normalizing the size of the game resource map to be audited so as to enable the size of the game resource map to be audited to be uniform with the size of the comparison map;
when the audit item comprises the landform characteristics, performing edge detection on the game resource map to be audited, marking detected landform characteristic coordinates, and determining target landform characteristic information;
when the auditing item comprises a geographical mark, performing target detection on the game resource map to be audited, marking a detected geographical mark anchor frame, and determining target geographical mark information;
when the auditing item comprises an administrative division, carrying out an administrative division outline detected by an edge detection mark on the game resource map to be audited and/or acquiring administrative division coordinate information contained in the game resource map to be audited, and determining target administrative division information;
when the audit item comprises contour line characteristics, identifying terrain height information of the game resource map to be audited, determining contour line altitude information and contour line contour information corresponding to the terrain height information, and determining target contour line characteristic information.
3. The method according to claim 2, wherein when the audit item includes a topographic feature, performing edge detection on the game resource map to be audited, and marking detected coordinates of the topographic feature specifically includes:
when the game resource map to be audited is a two-dimensional map, identifying landform feature coordinates corresponding to the game resource map to be audited based on RGB values corresponding to pixel points in the game resource map to be audited;
and when the game resource map to be audited is a three-dimensional map, gridding the game resource map to be audited according to the plane pixel points corresponding to the game resource map to be audited, and identifying the landform feature coordinates corresponding to the game resource map to be audited based on the height information of each grid point formed after gridding.
4. The method according to claim 2, wherein the auditing the game resource map to be audited based on the target feature information and the comparison feature information in the comparison map related to the preset map auditing rule includes:
when the target feature information comprises the target landform feature information, acquiring 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 characteristic information comprises the target geographic sign information, acquiring geographic sign comparison information corresponding to the comparison map, and judging whether the target geographic sign information is matched with the geographic sign comparison information according to a geographic sign auditing rule;
when the target characteristic information comprises the target administrative region 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 line characteristic information, contour line characteristic comparison information corresponding to the comparison map is obtained, and whether the target contour line characteristic information is matched with the contour line characteristic comparison information or not is judged according to a contour line characteristic checking rule.
5. The method according to claim 1, wherein the preset map audit rule includes an audit rule corresponding to at least one audit 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 audit rule in the comparison map specifically includes:
and determining whether an audit item of the game resource map to be audited comprises a special area or not according to the 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 or not.
6. The method according to claim 1, wherein after the auditing of the game resource map to be audited, the method further comprises:
when the game resource map to be audited does not meet the preset map audit rule, marking an illegal area which does not meet the preset map audit rule in the game resource map to be audited, wherein the illegal 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 game resource map to be audited;
determining violation reasons of the violation areas according to the violation areas and preset map auditing rules corresponding to the violation areas, and outputting the violation areas, the corresponding violation reasons and preset optimization suggestions corresponding to the violation reasons, wherein the preset optimization suggestions comprise comparison feature information corresponding to the violation areas and/or the target special areas.
7. The method according to claim 6, wherein after outputting the violation area, the corresponding violation cause, and a preset optimization recommendation corresponding to the violation cause, the method further comprises:
and modifying the violation area according to the preset optimization suggestion, and outputting the modified game resource map to be audited.
8. 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 comparison information corresponding to the sample map; and/or
Carrying out target detection on the sample map, marking a detected sample geographical mark anchor frame, and recording a vertex corresponding to the sample geographical mark anchor frame as geographical mark comparison information corresponding to the sample map; and/or
Performing edge detection on the sample map, marking a 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 topographic height information of the sample map, and determining contour line feature comparison information corresponding to the sample map, wherein the topographic height information comprises sample contour line altitude information and sample contour line profile 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 comparison information corresponding to the sample map; and/or
Determining historical administrative division contour 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;
and generating the comparison map according to the landform 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.
9. A map auditing apparatus, characterized in that the apparatus comprises:
the map acquisition module is used for acquiring a game resource map to be audited and a preset map audit rule corresponding to the game resource map to be audited;
the identification module is used for acquiring a comparison map corresponding to the game resource map to be audited and identifying target characteristic information related to the preset map audit rule in the game resource map to be audited;
and the auditing module is used for auditing the game resource map to be audited based on the target characteristic information and the comparison characteristic information related to the preset map auditing rule in the comparison map.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 8.
11. 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 8 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 true CN113730918A (en) 2021-12-03
CN113730918B 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
CN113730918B (en) 2023-07-14
CN112642158A (en) 2021-04-13
CN112642158B (en) 2021-09-28

Similar Documents

Publication Publication Date Title
Lloyd Spatial data analysis: an introduction for GIS users
KR102344012B1 (en) Method and apparatus for displaying point of interest
CN107833280B (en) Outdoor mobile augmented reality method based on combination of geographic grids and image recognition
Mooney et al. Towards quality metrics for OpenStreetMap
CN109636868B (en) High-precision image map online construction method and device based on WebGIS and deep learning
CN110969592B (en) Image fusion method, automatic driving control method, device and equipment
CN113255578B (en) Traffic identification recognition method and device, electronic equipment and storage medium
CN109522434A (en) Social image geographic positioning and system based on deep learning image retrieval
Fan et al. Estimation of building types on OpenStreetMap based on urban morphology analysis
US20230394705A1 (en) Location determination in a gps-denied environment with user annotation
CN113223013A (en) Method, device, equipment and storage medium for pulmonary vessel segmentation positioning
CN114428809A (en) Method and device for obtaining accuracy of map data and computer equipment
CN110781195B (en) System, method and device for updating point of interest information
JP4570995B2 (en) MATCHING METHOD, MATCHING DEVICE, AND PROGRAM
CN112642158B (en) Game resource map auditing method and device, storage medium and computer equipment
CN103226559B (en) For the SOI object of combination and the spatial information directory system of content
CN112836146A (en) Geographic space coordinate information acquisition method and device based on network message
CN110688995A (en) Map query processing method, computer-readable storage medium and mobile terminal
CN110245339A (en) Article generation method, device, equipment and storage medium
CN116843891A (en) Graphic outline detection method, device, storage medium, equipment and program product
CN113807315A (en) Method, device, equipment and medium for constructing recognition model of object to be recognized
CN113362380A (en) Image feature point detection model training method and device and electronic equipment thereof
Niederöst Automated update of building information in maps using medium-scale imagery (1: 15000)
CN111986332A (en) Method and device for displaying message board, electronic equipment and storage medium
CN115114302A (en) Road sign data updating method and device, electronic equipment and storage medium

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