CN117493594A - Query method and device for game resources, electronic equipment and storage medium - Google Patents
Query method and device for game resources, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117493594A CN117493594A CN202311267595.2A CN202311267595A CN117493594A CN 117493594 A CN117493594 A CN 117493594A CN 202311267595 A CN202311267595 A CN 202311267595A CN 117493594 A CN117493594 A CN 117493594A
- Authority
- CN
- China
- Prior art keywords
- game
- picture
- query
- content
- relation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000013507 mapping Methods 0.000 claims abstract description 104
- 230000006870 function Effects 0.000 claims description 25
- 230000015572 biosynthetic process Effects 0.000 claims description 13
- 238000010586 diagram Methods 0.000 claims description 13
- 238000003786 synthesis reaction Methods 0.000 claims description 13
- 238000004891 communication Methods 0.000 claims description 12
- 239000013598 vector Substances 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 230000011218 segmentation Effects 0.000 claims description 4
- 238000011161 development Methods 0.000 description 33
- 230000018109 developmental process Effects 0.000 description 33
- 230000008569 process Effects 0.000 description 25
- 238000012545 processing Methods 0.000 description 10
- 238000012549 training Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 6
- 230000002457 bidirectional effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000013135 deep learning Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 239000012925 reference material Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for inquiring game resources, which relate to the technical field of game resource management, wherein the method comprises the following steps: responding to a query instruction aiming at game resources, and acquiring query requirement information corresponding to the query instruction, wherein the query requirement information at least comprises at least one query object and at least one query content; obtaining a mapping relation associated with the query object, wherein the mapping relation at least comprises one mapping relation of a natural language and a programming language, the programming language and multimedia information, and the multimedia information; and outputting resource information corresponding to the query instruction according to the mapping relation and the query content.
Description
Technical Field
The present invention relates to the field of game resource management, and in particular, to a method for querying a game resource, a device for querying a game resource, an electronic device, and a computer readable storage medium.
Background
For a long-term running and continuously updated game application, with the increase of time, game resources such as game documents, underlying codes and picture resources in a game are continuously increased, and for a game application, iteration of developers is also an unavoidable problem, and based on superposition of the two, developers of a game application group are easy to have a relatively sufficient knowledge of resources used and required logic of the whole game application, so that the following problems occur in the application development process:
1. Game resource redundancy or low utilization: for example, the same picture resource, an artist may misuse a new copy of the resource to be used for different logic, resulting in redundancy of game resources; moreover, the implementation of one function may be forgotten to be used in the subsequent development process of the application because of the early development time, so that a developer develops a new similar function in the subsequent development process, and the resource utilization rate is reduced while the function redundancy is caused.
2. The game development efficiency is low: in the process of developing the game application, as a developer iterates, a new member needs to take a lead of an old member to understand the development specification, the development method, the development content and the like of the application to a certain extent, and the conventional development time of the old employee is occupied, so that the development progress of the application is slowed down, the labor cost is increased by changing the phase, and the development efficiency of the application is reduced.
3. Game codes are prone to problems such as bug and the like which are unfavorable for application running: the application time is long, familiarity of application group members to applications can decline, and therefore cognition of different personnel on a certain section of demand logic is caused to deviate, and potential development risks are increased.
Based on the above, in the development process of the game application, the problems generated by the game application developer and the game resource iteration cannot be effectively handled, so that the developer cannot effectively know the use condition of the game resource, and is difficult to manage the game resource.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a computer readable storage medium for inquiring game resources, which are used for solving or partially solving the problems that a developer cannot effectively know the game resources and is difficult to manage the game resources.
The embodiment of the invention discloses a method for inquiring game resources, which comprises the following steps:
responding to a query instruction aiming at game resources, and acquiring query requirement information corresponding to the query instruction, wherein the query requirement information at least comprises at least one query object and at least one query content;
obtaining a mapping relation associated with the query object, wherein the mapping relation at least comprises one mapping relation of a natural language and a programming language, the programming language and multimedia information, and the multimedia information;
and outputting resource information corresponding to the query instruction according to the mapping relation and the query content.
The embodiment of the invention discloses a query device for game resources, which comprises:
the query response module is used for responding to a query instruction aiming at game resources and acquiring query requirement information corresponding to the query instruction, wherein the query requirement information at least comprises at least one query object and at least one query content;
the mapping relation acquisition module is used for acquiring a mapping relation associated with the query object, wherein the mapping relation at least comprises one mapping relation of a natural language and a programming language, a programming language and multimedia information, and multimedia information;
and the resource information output module is used for outputting resource information corresponding to the query instruction according to the mapping relation and the query content.
The embodiment of the invention also discloses electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method according to the embodiment of the present invention when executing the program stored in the memory.
Embodiments of the present invention also disclose a computer-readable storage medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method according to the embodiments of the present invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, by constructing the mapping relation corresponding to the game resource, a developer obtains the query requirement information corresponding to the query instruction by responding to the query instruction aiming at the game resource in the process of developing the game application, the query requirement information at least comprises at least one query object and at least one query content, and obtains the mapping relation associated with the query object, the mapping relation at least comprises one mapping relation of natural language and programming language, programming language and multimedia information, and multimedia information, and then the resource information corresponding to the query instruction is output according to the mapping relation, so that the corresponding resource information can be obtained after the corresponding query requirement information is input by establishing the mapping relation corresponding to the game resource, the developer can know the service condition of the game resource conveniently, the limitation on the identity of a user is reduced, the developer who is newly added or the old developer can inquire the resource information in a corresponding mode, the difficulty of game resource management is reduced, the game resource based on the knowledge is improved, the effectiveness of the game application development can be ensured, and the running stability of the game application is improved.
Drawings
FIG. 1 is a flow chart of steps of a method for querying game resources provided in an embodiment of the present invention;
FIG. 2 is a block diagram of a game resource query device according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device provided in an embodiment of the invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
As an example, with iterations of game application development, it involves not only iterations of a developer, but also iterations of game resources, while with variations of personnel, and iterations of game resources, it is more difficult for a developer to want to know and manage game resources.
In the invention, based on machine learning, deep learning, large language model and the like, the related codes, pictures, documents and other contents in the development process are associated according to the actual development requirements of the game application, a corresponding resource management system is constructed, and each requirement change is recorded along with the development iteration, so that when a developer changes, any developer can quickly and accurately inquire the corresponding development content, the development efficiency of the game application is improved, and the waste of human resources is reduced. Specifically, by constructing a mapping relation corresponding to game resources, a developer obtains query requirement information corresponding to the query instruction by responding to the query instruction for the game resources in the process of developing the game application, the query requirement information at least comprises at least one query object and at least one query content, and obtains a mapping relation associated with the query object, wherein the mapping relation at least comprises one mapping relation of natural language and programming language, programming language and multimedia information, and multimedia information, and then outputs resource information corresponding to the query instruction according to the mapping relation, so that the corresponding resource information can be obtained after the corresponding query requirement information is input by establishing the mapping relation corresponding to the game resources, the developer can know the service condition of the game resources conveniently, the limitation on the identity of a user is reduced, whether the developer is a newly added developer or an old developer can inquire the resource information in a corresponding mode, the difficulty of game resource management is reduced, the effectiveness of game application development based on the knowledge of the game resources is improved, and the running stability of the game application is improved.
Referring to fig. 1, a step flowchart of a method for querying game resources provided in an embodiment of the present invention may specifically include the following steps:
step 101, responding to a query instruction aiming at game resources, and acquiring query requirement information corresponding to the query instruction, wherein the query requirement information at least comprises at least one query object and at least one query content;
for the inquiry of game resources, a corresponding resource management system (a system is described below) can be constructed, a developer inputs a corresponding inquiry instruction on the system, and the resource management system can acquire inquiry requirement information corresponding to the inquiry instruction so as to inquire the resource information according to the inquiry requirement information. Wherein, the query requirement information may include at least one query object and at least one query content, the query object may be a representation form of a game resource, such as a game picture, a code, a document, etc., the query content may be information characterizing the user query requirement, for example, a developer may input a picture on the system and add corresponding query content "where is the picture? Where are stored? What are referenced by codes? "etc.
For the resource management system, the mapping relation between game resources can be pre-constructed, so that the system can match the corresponding mapping relation based on the query requirement information input by the user to perform content query. Specifically, the resource management model suitable for the game application can be obtained by collecting the original data of the game resource related to the game application, including the data mark of the source code, the association mark of the document and the required text, the collection and use mode of the picture and the like, and performing corresponding model training through the data sets, so that a developer can quickly and accurately inquire the relevant information of the game resource through the resource management model, the use condition of the game resource known by the developer is reduced, and the game resource is convenient to manage.
The game resource may include a game picture, a source code, a requirement document, and the like, where the game picture may be a picture used by a game application, the source code is a bottom implementation of game running, and the requirement document is a document describing game content, for example, the requirement document may be used to describe a function, implementation of a function, and game performance of a game module, which is not limited in this aspect of the present invention.
In some possible implementations, the game picture may include a texture map, a map of Spine and Live 2D animation in the game application, etc., and then the game picture may be associated with a corresponding document, code, etc.
The game pictures can be de-duplicated, and the picture identifications can be changed into different names firstly; secondly, the pictures with the same content but different picture identifications are required to be modified, specifically, hash comparison can be carried out on binary files of the pictures to judge whether the picture contents are the same, and if the hash values are the same, the pictures are the same; if the hash values are different, the pictures are different. In the development of game applications, especially in the process of picture design, pictures with only slight differences may appear, for example, only a few pixels are offset, or pictures with different picture sizes are designed, although the hash values of the game pictures are different, the game pictures may be redundant resources, and the redundant resources need to be compared and found out through similarity, so that consistency and uniqueness between the game pictures are ensured, and the game pictures are convenient to manage.
In the game application, different game content modules can be divided according to the game content, each game content module provides different game content for players, and different game content corresponds to different game pictures, so that the game pictures can be associated with the corresponding game content modules according to the application of the game pictures in the game content, and a developer can inquire the game content modules to which the game pictures belong. For example, the game application may provide different game content such as game task management, role management, weapon management, knapsack management, map management, and card drawing, which respectively correspond to different game content modules, and the invention is not limited thereto.
Specifically, the game pictures can be divided according to the game content, the game pictures and the game content modules are associated in a pre-offline processing mode, the pictures of the same game content modules can be placed in the same folder, and the pictures of the sub-modules are placed in the sub-folders in the folder, so that the storage structure of the game pictures forms a certain tree structure (namely, a tree-like graph is stored). When the game application is developed, a developer can correlate the game pictures with the game content module according to the storage mode, so that the game pictures can be stored in a structured mode, and meanwhile, the storage positions of the game pictures can be stored in a structured data structure and uploaded to a server, so that the resource management system can conveniently conduct classified reasoning.
For example, for the card Chi Chouka module of the game application, a corresponding parent folder may be created for storing all the game pictures related to the card Chi Chouka module, and meanwhile, since the whole card Chi Chouka module includes a plurality of sub-modules, a plurality of sub-folders may be created in the parent folder for respectively storing the game pictures corresponding to the sub-modules, and then, based on the storage structure, a storage tree diagram composed of "game content module-parent folder-sub-folder-picture identifier" and the like is obtained, so that the system can quickly query the game content module and the storage location and the like to which the corresponding game picture belongs based on the storage tree diagram.
Further, in the bottom implementation of the game application, a reference needs to be made to the game picture in the source code so as to ensure the normal loading of the game picture, and then a picture reference relationship between the code and the game picture needs to be established. Specifically, in a loading picture interface of a game application, a picture path and a context stack code of a game picture are obtained, meanwhile, because the picture content of the game picture is determined, in order to reduce the storage space of the picture, hash operation can be performed on the game picture to obtain a hash value corresponding to each game picture, then a reference relation is constructed on the hash value, the picture path and the context stack code corresponding to the same game picture to obtain a picture reference relation of 'hash value-picture path-context stack code', a picture can be uniquely marked through the hash value, and the content of the game picture can be informed of which codes are referenced through the context stack code, so that a developer can know the reference relation between the picture and the codes conveniently.
In addition, for game pictures which cannot be divided according to the game content modules, the game pictures can be placed in a specific target folder to represent that the game pictures are universal pictures, the game pictures can be applied to any game content module, and the game pictures can be associated through the mapping relation between the codes and the pictures.
It should be noted that, for the game picture, the game picture may be divided into a first type picture and a second type picture according to a picture parameter, where the game parameter of the first type picture is smaller than that of the second type picture, the picture parameter includes one of a picture size and a picture resolution, and the second type picture is a picture synthesized by a plurality of first type pictures. Specifically, in order to accelerate the loading speed of the game pictures, the game pictures referenced in the game codes are the second type pictures, when corresponding game pictures are needed to be loaded in the running process of the game application, only the referenced second type pictures are needed to be loaded in the corresponding video memory, IO times are reduced, and because the pictures of the first type pictures are loaded in the game, the first type pictures and the second type pictures are needed to be mapped to obtain a picture synthesis relation of the first type pictures to the second type pictures, the picture synthesis relation records the mapping relation between the first type pictures and the second type pictures, and the position information of the first type pictures in the second type pictures, so that the actually loaded second type pictures can be connected in series based on the code and the picture synthesis relation in the process of loading the first type pictures, and normal display of the first type pictures is ensured. It can be understood that the first type of pictures can be "small pictures", the second type of pictures can be "large pictures", and the loading speed of the game pictures is improved by combining a plurality of "small pictures" into one "large picture".
In another possible implementation manner, different requirement documents are involved in the development process of the game application, the requirement documents can be used for describing functions and response states of a game content module (namely, a process of responding according to various conditions occurring in the game), and the like, the requirement documents are important game resources in the development process of the game application, and are also important reference materials of application development history, such as a task system common in the game, each task has a unique task type and different task parameters, as the game is developed, a plurality of systems and functions which are not used before can appear in the game, with the fact that the task types are increased continuously, some old task types can not be used any more, and when the old task types want to be online again or the new task types depend on the old task, if related personnel leave the old task types, the new personnel have to find related logic of the task types step by step through codes, and the resource management system understands the requirement documents, so that human resources can be released to a great extent.
In particular, the requirement document to be trained can be obtained, and the requirement document needs to have detailed functional description so as to know relevant information of the game application. Where the desired document is typically stored in a structured format, such as docx, xlsx, etc., it is required to be extracted as a plain text file. In the actual processing process, the number of texts of the requirement documents of the game application is not very large, and texts of other associated corpora, such as game articles of the same type, can be additionally added. Then, preprocessing the obtained text file, firstly, sentence segmentation is needed, the sentence is the object of text training in the example, then, sentence segmentation (sentence is divided into word combinations), stop words (such as stop words) are removed, vectorization (such as BERT (Bidirectional Encoder Representations from Transformers, a pre-training language model of a bidirectional encoder transducer structure based on a transducer architecture)) is adopted, and finally, a vector representing the sentence is obtained, namely, quantification of text data is completed. It should be noted that there are often many proper nouns in a game item that are not cleavable and can be identified by screening through human intervention. Then, sentence vectors can be classified, such as which game content module belongs to, so that documents are finely divided according to requirements in the development process, and are subdivided layer by layer according to different game content layers, and the category of the obtained sentence vectors is constructed according to the content contained in the required documents, so that corresponding content attribution relations are constructed, and a developer inputs corresponding game documents to obtain the sentence vectors. For example, if a certain demand document describes the content related to the spring festival activity in the game, all sentences in the document belong to the spring festival activity, and if a plurality of systems are contained in the demand document, the demand document should be split into a plurality of parts, such as achievement, task and the like, which correspond to the achievement module and the task module respectively, and the invention is not limited to this.
In another possible implementation manner, the source code related to the game application may be associated with the game picture, the requirement document, and the like, so as to finally form a resource management system corresponding to the game application, and the source code is processed correspondingly through a general natural language or a syntax tree for establishing a corresponding language.
Specifically, referring to the foregoing association procedure between the code and the game picture, in addition to the context of the code, a first file identifier of a folder to which the code file belongs and a second file identifier of a folder to which the game picture or the demand document belongs may be obtained, and then the first file identifier and the second file identifier are associated. The picture file module is similar to the code module, so that the system can judge where to use the similar pictures better. The names of the storage folders of the codes, the names of the storage folders of the pictures and the files can be related by using a contracted naming mode, and the manual force is reduced.
In addition, the logic code needs to be annotated as necessary, such as that the logic with a function is to purchase the in-game merchandise, that the annotation indicates that the function is to purchase the game merchandise, that the logic when the price is insufficient, or other purchase constraints, etc. Similarly, the underlying game attributes also require comments to indicate that there may be different ways in which the code may be expressed, for example, the character level may be stored in a "level" variable, and the later developed pet level may be stored using the spelling "chongwudengji". In this way, the code annotation is associated with the corresponding code, and the corresponding annotation mapping relation is constructed, so that the system can better understand the code logic, make more accurate analysis reasoning and output the content corresponding to the query requirement of the developer.
Accordingly, for some underlying framework code, which does not involve game service logic, a more detailed description is required. Because these codes are typically project internal frameworks, even employing language-macro-like functionality makes code development easier, but this makes model reasoning difficult, code example usage can be added to the annotations, making model training easier and more accurate.
Based on the above process, a natural language text corresponding to the code can be obtained, and the obtained natural language text can be mapped with the code according to the processing mode of the required document. Meanwhile, for the code, the code can be regarded as natural language, and the free structuring of the code can be better preprocessed, or the code can be converted into a more accurate abstract syntax tree structure to be quantized, so that a corresponding mapping relation is constructed, for example, a 'natural language text-abstract syntax tree-code annotation' and the like, so that a developer can input corresponding query content, and the corresponding code annotation and the like can be obtained.
In addition, in the same game application, different programming languages may exist at the same time, so that the processing modes can be consistent by adopting natural language processing, and codes can be simply connected with file name suffixes, so that different programming languages are distinguished. Optionally, a public code dataset can be added to increase data capacity, and meanwhile, the specific gravity of codes of game applications in model training can be increased, so that a better prediction effect can be obtained.
Based on the construction of the above-mentioned various mapping relations, the training of the prediction model can be further performed, the training can be performed by using the cleaned game pictures, code data, required documents and the like, and the training can be performed by adopting machine learning, deep learning, a large language model and the like, so as to obtain the corresponding prediction model. In one example, the game pictures and the codes can be simply and directly related, so that a picture is input in the prediction model, a code segment can be returned for project personnel to refer to, for example, which activity the picture belongs to, which window code is loaded in the code, and under which condition resource information such as loading is carried out; the mutual training of the natural language and the codes can be completed by adopting a large predictive model, and the natural language of the requirements can be converted into codes suitable for games by carrying out bidirectional association on the natural language data and the code data obtained in the process, or the corresponding explanation of the requirements can be obtained by asking the codes to the model.
In addition, the obtained model can be made into a webpage application or a client application, so that non-program personnel in the project group can use the model conveniently, and further the working efficiency is improved. If the planner mistakenly fills the wrong data, the planner directly sends an instruction to the model application without intervention of the programmer when the heat release of the external application is needed, informs the planner of the wrong data, and needs to modify the data to update the heat.
Based on the construction of the resource management system, when a developer needs to inquire corresponding resource information, a corresponding inquiry instruction can be output on the system, and the system can acquire inquiry requirement information corresponding to the inquiry instruction so as to inquire corresponding content based on the inquiry requirement information.
102, obtaining a mapping relation associated with the query object, wherein the mapping relation at least comprises one mapping relation of a natural language and a programming language, the programming language and multimedia information, and the multimedia information;
based on the foregoing embodiment, different query objects may correspond to different mapping relationships, and after resolving a query object corresponding to the query requirement information, the system may obtain the mapping relationship corresponding to the query object, so as to output corresponding resource information in combination with query content. As in the previous embodiments, the mapping relationship may include a mapping relationship between a natural language and a programming language, a mapping relationship between a programming language and multimedia information, a mapping relationship between multimedia information and multimedia information, and the like, which is not limited by the present invention.
And step 103, outputting resource information corresponding to the query instruction according to the mapping relation and the query content.
According to different query objects, the system can combine query contents and corresponding mapping relations to perform content query and output corresponding resource information, so that corresponding resource information can be obtained after corresponding query requirement information is input by establishing the mapping relation corresponding to game resources, a developer can know the service condition of the game resources conveniently, limitation on user identities is reduced, whether the developer is newly added or old, the resource information can be queried in a corresponding mode, difficulty in game resource management is reduced, knowledge based on game resources is improved, effectiveness of game application development can be guaranteed, and running stability of game applications is improved.
In some possible implementations, if the query object is a game picture, and the query content includes picture reference query information, the mapping relationship includes a code reference relationship corresponding to the game picture, the code reference relationship characterizes a reference of the game picture in the code, the system may obtain a picture identifier of the game picture, then extract an object code reference relationship including the picture identifier of the game picture, a picture path and a context stack code, and then output the picture path and the context stack code of the game picture, so that a developer inputs a game picture in the system, and a reference condition of the game picture in the code may be obtained.
The game picture associated with the code is the second picture, so that the system can acquire the first picture identification of the first picture and the second picture identification of the second picture, acquire a picture synthesis relation comprising the first picture identification and the second picture identification, and then output the picture synthesis relation, wherein the picture synthesis relation comprises the first picture identification, the second picture identification and the position information of the first picture in the second picture, thereby outputting the synthesis relation with the picture while outputting the reference condition of the picture in the code, and facilitating a developer to know the synthesis relation between the small picture and the large picture.
In addition, when a developer wants to know the relationship between the game picture and the game content module, the query content can comprise picture application query information, the mapping relationship comprises picture application relationship corresponding to the game picture, the picture application relationship is the mapping relationship between the picture identification and the game content module, the system can extract target picture application relationship containing the picture identification, and then output the target game content module corresponding to the game picture based on the target picture application relationship, so that the application condition of the game picture in the game application can be obtained by inputting one game picture, and the developer can conveniently know which game content module the game picture belongs to so as to perform corresponding processing.
In addition, if the game picture does not belong to any game content module, outputting a target folder corresponding to the game picture, so that a developer can know the type of the game picture.
In other possible embodiments, if the query object includes a game content module and the query content includes content picture query information, and the mapping relationship includes a stored tree diagram corresponding to the game content module, where the stored tree diagram includes a parent folder and a child folder, the system may locate the stored tree diagram corresponding to the game content module, and then output target game pictures in the parent folder and the child folder in the stored tree diagram, so that by inputting the corresponding game content module, the system may output all game pictures corresponding to the content module, so that a developer can conveniently learn the game pictures referenced by each game content module, so that the game pictures can be timely adjusted according to game development requirements, for example, when a game is active on a holiday, the game pictures matched with the holiday activity can be timely replaced.
In other possible embodiments, if the query object includes a game document, the query content includes document content query information, the mapping relationship includes a content attribution relationship corresponding to the game document, and the content attribution relationship is a mapping relationship between the game document and the game content module, the system may segment the document content query information to obtain a corresponding sentence vector, then extract the content attribution relationship including the sentence vector, and output the game document and the game content module in the content attribution relationship, where the game document is used to describe a function and a response state of the game content module, so that by outputting the corresponding game document, a developer can conveniently learn a development requirement of the game application.
In other possible embodiments, if the query object includes a game code, the query content includes code annotation query information, and the mapping relationship includes an annotation mapping relationship between a source code and a code annotation, the system may convert the game code into an abstract syntax tree, then extract the annotation mapping relationship including the abstract syntax tree, and output annotation information corresponding to the game code in the annotation mapping relationship, so that when a developer inputs a corresponding game code, the system may output a corresponding annotation, thereby facilitating the developer to understand the content expressed by the code, reducing the difficulty of understanding the code by the developer, and facilitating the code maintenance.
In addition, if the query content comprises code association query information, and the mapping relation comprises file association relation between the code file and the game document as well as between the code file and the game picture, the system can also acquire a first file identification of the code file and the code file which belong to the abstract syntax tree, then extract the file association relation comprising the first file identification, a second file identification of the game document and a folder identification of the game picture in the file association relation, and then output the second file identification and the folder identification, so that the corresponding file relation is output, and the developer can conveniently know the relation between the code and other files.
In one example, a developer may enter the following in the system to query for corresponding information:
the system may output "when the player's current experience value plus the experience required for parameters greater than the player's level, the player upgrades, and the current experience value clears" based on the query content described above. The player grade information table is used for carrying out grade experience query and other resource information, so that a developer can query corresponding resource information through the system, the difficulty of game resource understanding is greatly simplified, human resources are released, the developer can concentrate on application development, and the development efficiency of game application is improved.
It should be noted that the embodiments of the present invention include, but are not limited to, the foregoing examples, and it will be understood that those skilled in the art may also set the embodiments according to actual requirements under the guidance of the concepts of the embodiments of the present invention, which are not limited thereto.
In the embodiment of the invention, by constructing the mapping relation corresponding to the game resource, a developer obtains the query requirement information corresponding to the query instruction by responding to the query instruction aiming at the game resource in the process of developing the game application, the query requirement information at least comprises at least one query object and at least one query content, and obtains the mapping relation associated with the query object, the mapping relation at least comprises one mapping relation of natural language and programming language, programming language and multimedia information, and multimedia information, and then the resource information corresponding to the query instruction is output according to the mapping relation, so that the corresponding resource information can be obtained after the corresponding query requirement information is input by establishing the mapping relation corresponding to the game resource, the developer can know the service condition of the game resource conveniently, the limitation on the identity of a user is reduced, the developer who is newly added or the old developer can inquire the resource information in a corresponding mode, the difficulty of game resource management is reduced, the game resource based on the knowledge is improved, the effectiveness of the game application development can be ensured, and the running stability of the game application is improved.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 2, a block diagram of a game resource query device provided in an embodiment of the present invention is shown, which may specifically include the following modules:
a query response module 201, configured to respond to a query instruction for a game resource, and obtain query requirement information corresponding to the query instruction, where the query requirement information at least includes at least one query object and at least one query content;
a mapping relationship obtaining module 202, configured to obtain a mapping relationship associated with the query object, where the mapping relationship at least includes one mapping relationship of a natural language and a programming language, a programming language and multimedia information, and multimedia information;
And the resource information output module 203 is configured to output resource information corresponding to the query instruction according to the mapping relationship and the query content.
In some possible implementations, the query object includes a game picture, the query content includes picture reference query information, the mapping relationship includes a code reference relationship corresponding to the game picture, the code reference relationship characterizes a reference of the game picture in a code, and the resource information output module 203 is specifically configured to:
acquiring a picture identifier of the game picture;
extracting an object code reference relation containing the picture identification, wherein the object code reference relation comprises the picture identification, the picture path and the context stack code of the game picture;
and outputting the picture path of the game picture and the context stack code.
In some possible implementations, the game picture includes a first type of picture and a second type of picture, the first type of picture having a picture parameter smaller than the second type of picture, the apparatus further including:
the identification acquisition module is used for acquiring a first picture identification of the first type of picture and a second picture identification of the second type of picture;
The synthesis relation acquisition module is used for acquiring a picture synthesis relation comprising the first picture identifier and the second picture identifier;
the information output module is used for outputting the picture composition relation, wherein the picture composition relation comprises a first picture identifier, a second picture identifier and position information of the first picture in the second picture.
In some possible implementations, the query content includes a picture application query information, the mapping relationship includes a picture application relationship corresponding to the game picture, the picture application relationship is a mapping relationship between a picture identifier and a game content module, and the resource information output module 203 is specifically configured to:
extracting a target picture application relation containing the picture identification;
and outputting a target game content module corresponding to the game picture based on the target picture application relation.
In some possible embodiments, the resource information output module 203 is specifically configured to:
and if the game picture does not belong to any game content module, outputting a target folder corresponding to the game picture.
In some possible implementations, the query object includes a game content module, the query content includes content picture query information, the mapping relationship includes a storage tree corresponding to the game content module, the storage tree includes a parent folder and a child folder, and the resource information output module 203 is specifically configured to:
Positioning a stored tree diagram corresponding to the game content module;
and outputting the target game pictures in the father folder and the son folder in the storage tree diagram.
In some possible implementations, the query object includes a game document, the query content includes document content query information, the mapping relationship includes a content attribution relationship corresponding to the game document, the content attribution relationship is a mapping relationship between the game document and a game content module, and the resource information output module 203 is specifically configured to:
word segmentation is carried out on the document content query information, and corresponding sentence vectors are obtained;
extracting a content attribution relation containing the sentence vector, and outputting a game document and a game content module in the content attribution relation;
the game document is used for describing functions and response states of the game content module.
In some possible implementations, the query object includes game code, the query content includes code annotation query information, the mapping relationship includes an annotation mapping relationship between source code and code annotations, and the resource information output module 203 is specifically configured to:
Converting the game code into an abstract syntax tree;
extracting annotation mapping relation containing the abstract syntax tree, and outputting annotation information corresponding to the game codes in the annotation mapping relation.
In some possible implementations, the query content includes code association query information, the mapping relationship includes file association relationship between a code file and a game document or a game picture, and the resource information output module 203 is specifically configured to:
acquiring a code file belonging to the abstract syntax tree and a first file identification of the code file;
extracting a file association relation containing the first file identifier, wherein the file association relation contains a second file identifier of a game document and a folder identifier of a game picture;
and outputting the second file identifier and the folder identifier.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In addition, the embodiment of the invention also provides electronic equipment, which comprises: the processor, the memory, store the computer program on the memory and can run on the processor, this computer program realizes each course of the above-mentioned inquiry method embodiment of game resource when being carried out by the processor, and can reach the same technical result, in order to avoid repetition, will not be repeated here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the above-mentioned game resource query method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
Fig. 3 is a schematic hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. It will be appreciated by those skilled in the art that the structure of the electronic device according to the embodiments of the present invention is not limited to the electronic device, and the electronic device may include more or less components than those illustrated, or may combine some components, or may have different arrangements of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 310; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 302, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 300. The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive an audio or video signal. The input unit 304 may include a graphics processor (Graphics Processing Unit, GPU) 3041 and a microphone 3042, the graphics processor 3041 processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphics processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 301 in the case of a telephone call mode.
The electronic device 300 further comprises at least one sensor 305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 3061 and/or the backlight when the electronic device 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 305 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 306 is used to display information input by a user or information provided to the user. The display unit 306 may include a display panel 3061, and the display panel 3061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 3071 or thereabout the touch panel 3071 using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 3071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 310 to determine a type of touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of touch event. It will be appreciated that in one embodiment, the touch panel 3071 and the display panel 3061 are implemented as two separate components for the input and output functions of the electronic device, but in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 308 is an interface to which an external device is connected to the electronic apparatus 300. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and an external device.
Memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 309 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 310 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 309, and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The electronic device 300 may also include a power supply 311 (e.g., a battery) for powering the various components, and preferably the power supply 311 may be logically coupled to the processor 310 via a power management system that performs functions such as managing charge, discharge, and power consumption.
In addition, the electronic device 300 includes some functional modules, which are not shown, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (12)
1. A method for querying a game resource, comprising:
responding to a query instruction aiming at game resources, and acquiring query requirement information corresponding to the query instruction, wherein the query requirement information at least comprises at least one query object and at least one query content;
obtaining a mapping relation associated with the query object, wherein the mapping relation at least comprises one mapping relation of a natural language and a programming language, the programming language and multimedia information, and the multimedia information;
and outputting resource information corresponding to the query instruction according to the mapping relation and the query content.
2. The method of claim 1, wherein the query object comprises a game picture, the query content comprises picture reference query information, the mapping relation comprises code reference relation corresponding to the game picture, the code reference relation characterizes a reference of the game picture in a code, the outputting resource information corresponding to the query instruction according to the mapping relation and the query content comprises:
acquiring a picture identifier of the game picture;
extracting an object code reference relation containing the picture identification, wherein the object code reference relation comprises the picture identification, the picture path and the context stack code of the game picture;
And outputting the picture path of the game picture and the context stack code.
3. The method of claim 2, wherein the game picture comprises a first type of picture and a second type of picture, the first type of picture having a picture parameter that is smaller than the second type of picture, the method further comprising, after the outputting the picture path and the context stack code of the game picture:
acquiring a first picture identifier of the first type of picture and a second picture identifier of the second type of picture;
acquiring a picture synthesis relation comprising the first picture identifier and the second picture identifier;
and outputting the picture synthesis relation, wherein the picture synthesis relation comprises a first picture identifier, a second picture identifier and position information of the first picture in the second picture.
4. The method according to claim 2, wherein the query content includes a picture application query information, the mapping relation includes a picture application relation corresponding to the game picture, the picture application relation is a mapping relation between a picture identifier and a game content module, and outputting resource information corresponding to the query instruction according to the mapping relation and the query content includes:
Extracting a target picture application relation containing the picture identification;
and outputting a target game content module corresponding to the game picture based on the target picture application relation.
5. A method according to claim 2 or 3, wherein said outputting resource information corresponding to the query instruction according to the mapping relation and the query content includes:
and if the game picture does not belong to any game content module, outputting a target folder corresponding to the game picture.
6. The method according to claim 1, wherein the query object includes a game content module, the query content includes content picture query information, the mapping relation includes a stored tree corresponding to the game content module, the stored tree includes a parent folder and a child folder, and the outputting resource information corresponding to the query instruction according to the mapping relation and the query content includes:
positioning a stored tree diagram corresponding to the game content module;
and outputting the target game pictures in the father folder and the son folder in the storage tree diagram.
7. The method of claim 1, wherein the query object comprises a game document, the query content comprises document content query information, the mapping relationship comprises a content attribution relationship corresponding to the game document, the content attribution relationship is a mapping relationship between the game document and a game content module, and the outputting resource information corresponding to the query instruction according to the mapping relationship and the query content comprises:
Word segmentation is carried out on the document content query information, and corresponding sentence vectors are obtained;
extracting a content attribution relation containing the sentence vector, and outputting a game document and a game content module in the content attribution relation;
the game document is used for describing functions and response states of the game content module.
8. The method of claim 1, wherein the query object comprises game code, the query content comprises code annotation query information, the mapping relationship comprises annotation mapping relationship between source code and code annotation, the outputting resource information corresponding to the query instruction according to the mapping relationship and the query content comprises:
converting the game code into an abstract syntax tree;
extracting annotation mapping relation containing the abstract syntax tree, and outputting annotation information corresponding to the game codes in the annotation mapping relation.
9. The method according to claim 8, wherein the query content includes code-associated query information, the mapping relation includes file-associated relation between a code file and a game document, a game picture, and the outputting resource information corresponding to the query instruction according to the mapping relation and the query content includes:
Acquiring a code file belonging to the abstract syntax tree and a first file identification of the code file;
extracting a file association relation containing the first file identifier, wherein the file association relation contains a second file identifier of a game document and a folder identifier of a game picture;
and outputting the second file identifier and the folder identifier.
10. A game resource querying device, comprising:
the query response module is used for responding to a query instruction aiming at game resources and acquiring query requirement information corresponding to the query instruction, wherein the query requirement information at least comprises at least one query object and at least one query content;
the mapping relation acquisition module is used for acquiring a mapping relation associated with the query object, wherein the mapping relation at least comprises one mapping relation of a natural language and a programming language, a programming language and multimedia information, and multimedia information;
and the resource information output module is used for outputting resource information corresponding to the query instruction according to the mapping relation and the query content.
11. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
The memory is used for storing a computer program;
the processor being configured to implement the method of any of claims 1-9 when executing a program stored on a memory.
12. A computer-readable storage medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method of any of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311267595.2A CN117493594A (en) | 2023-09-27 | 2023-09-27 | Query method and device for game resources, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311267595.2A CN117493594A (en) | 2023-09-27 | 2023-09-27 | Query method and device for game resources, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117493594A true CN117493594A (en) | 2024-02-02 |
Family
ID=89678939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311267595.2A Pending CN117493594A (en) | 2023-09-27 | 2023-09-27 | Query method and device for game resources, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117493594A (en) |
-
2023
- 2023-09-27 CN CN202311267595.2A patent/CN117493594A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102360659B1 (en) | Machine translation method, apparatus, computer device and storage medium | |
CN109492698B (en) | Model training method, object detection method and related device | |
CN108228270B (en) | Starting resource loading method and device | |
US12026529B2 (en) | Interactive informational interface | |
CN111177180A (en) | Data query method and device and electronic equipment | |
KR102678352B1 (en) | Method and System for Providing English Learning Service Using by Mobile Telecommunication Network | |
CN111813910A (en) | Method, system, terminal device and computer storage medium for updating customer service problem | |
KR102525315B1 (en) | User recommendation method using production data and usage data and apparatus therefor | |
CN111159338A (en) | Malicious text detection method and device, electronic equipment and storage medium | |
CN111553163A (en) | Text relevance determining method and device, storage medium and electronic equipment | |
CN113761122A (en) | Event extraction method, related device, equipment and storage medium | |
CN113220848A (en) | Automatic question answering method and device for man-machine interaction and intelligent equipment | |
CN111125307A (en) | Chat record query method and electronic equipment | |
CN114357278B (en) | Topic recommendation method, device and equipment | |
CN111625737B (en) | Label display method, device, equipment and storage medium | |
CN112232066A (en) | Teaching outline generation method and device, storage medium and electronic equipment | |
CN110196833A (en) | Searching method, device, terminal and the storage medium of application program | |
CN115022098A (en) | Artificial intelligence safety target range content recommendation method, device and storage medium | |
CN112486567B (en) | Method and device for sending merging request of codes, electronic equipment and storage medium | |
CN111611369B (en) | Interaction method and related device based on artificial intelligence | |
CN117493594A (en) | Query method and device for game resources, electronic equipment and storage medium | |
US11405341B1 (en) | Audience-based content optimization in a messaging system | |
CN111859240A (en) | Picture exporting method, related device and storage medium | |
CN115310452A (en) | Universal content detection method and device and electronic equipment | |
KR20240164115A (en) | Method and system for managing text corresponding to emoticon/sticker for communication with chatbot |
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 |