CN111068328B - Game advertisement configuration form generation method, terminal equipment and medium - Google Patents

Game advertisement configuration form generation method, terminal equipment and medium Download PDF

Info

Publication number
CN111068328B
CN111068328B CN201911145225.5A CN201911145225A CN111068328B CN 111068328 B CN111068328 B CN 111068328B CN 201911145225 A CN201911145225 A CN 201911145225A CN 111068328 B CN111068328 B CN 111068328B
Authority
CN
China
Prior art keywords
data
advertisement configuration
game advertisement
game
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911145225.5A
Other languages
Chinese (zh)
Other versions
CN111068328A (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.)
Shenzhen Gameplay Technology Co ltd
Original Assignee
Shenzhen Gameplay Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gameplay Technology Co ltd filed Critical Shenzhen Gameplay Technology Co ltd
Priority to CN201911145225.5A priority Critical patent/CN111068328B/en
Publication of CN111068328A publication Critical patent/CN111068328A/en
Application granted granted Critical
Publication of CN111068328B publication Critical patent/CN111068328B/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
    • A63F13/61Generating 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 using advertising information
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5506Details of game data or player data management using advertisements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for generating a game advertisement configuration form, terminal equipment and a computer readable storage medium, wherein the data of a file to be configured of the game advertisement configuration is obtained; extracting basic data according to the file data to be configured, and carrying out reconfiguration processing on the basic data to obtain metadata; a table of the game advertisement configuration is generated based on the metadata. According to the invention, when a game developer needs to add or update the game advertisement configuration with the same page logic aiming at a game, the game advertisement configuration basic data is directly converted into the metadata with uniform format, so that the display form is generated through the metadata, a large number of repeated codes are prevented from being written for the newly added or updated game advertisement configuration by a worker, the workload is saved, and the generation efficiency of the game advertisement configuration form is improved.

Description

Game advertisement configuration form generation method, terminal equipment and medium
Technical Field
The present invention relates to the field of game technologies, and in particular, to a method for generating a game advertisement configuration table, a terminal device, and a computer readable storage medium.
Background
Based on the requirements of game functions, commercial expansion and the like, game developers perform various rich-function and commercial business configuration aiming at games, and a large number of game configuration files are actually behind the configuration.
With the continued iteration of game versions and expansion of game functionality (including commercials), more and more complex operations are performed on in-game advertisement profiles. At present, if a corresponding display form is required to be generated based on one advertisement configuration of a game, a worker is required to gradually write an html (HyperText Mark-up Language) file and a JavaScript (JavaScript is an transliterated script Language) file corresponding to the advertisement configuration of the game, however, because the logic of most of the pages of the advertisement configuration of the game is the same, when a certain advertisement configuration is newly added or updated for the game, the worker actually needs to perform a great deal of repeated work to correspondingly generate the display form, so that the workload is large and the efficiency is low.
Disclosure of Invention
The invention mainly aims to provide a method, a device, a terminal device and a computer readable storage medium for generating a game advertisement configuration table, and aims to solve the technical problems that a large number of repeated operations are required by staff in the existing method for generating the game advertisement configuration table, and the table generation efficiency is low.
In order to achieve the above object, the present invention provides a method for generating a game advertisement configuration table, the method for generating a game advertisement configuration table comprising:
acquiring file data to be configured of the game advertisement configuration;
extracting basic data according to the file data to be configured, and carrying out reconfiguration processing on the basic data to obtain metadata;
a table of the game advertisement configuration is generated based on the metadata.
Further, the step of obtaining the data of the file to be configured of the game advertisement configuration includes:
detecting whether the game advertisement configuration exists in a game local configuration or not when an operation instruction for the game advertisement configuration is received;
and when the game advertisement configuration is detected to exist, calling a preset data loading module to load and acquire file data to be configured of the game advertisement configuration.
Further, the step of extracting the basic data according to the file data to be configured, and performing reconfiguration processing on the basic data to obtain metadata includes:
identifying the data type of the file data to be configured, and calling a target processing function corresponding to the data type;
and extracting basic data of the game advertisement configuration based on the target processing function, and combining the extracted basic data to configure metadata.
Further, before the step of extracting the basic data of the game advertisement configuration based on the target processing function, the method further comprises:
generating a unique data identifier according to configuration information carried by the data of the file to be configured;
the step of combining and configuring the extracted basic data into metadata comprises the following steps:
and combining the data type and the basic data according to the data identification to configure and generate the metadata.
Further, before the step of extracting the basic data of the game advertisement configuration based on the target processing function, the method further comprises:
judging whether the data type belongs to a preset complex data type or not;
and if yes, carrying out recursion processing on the file data to be configured so that the target processing function extracts the basic data.
Further, after the step of obtaining the data of the file to be configured of the game advertisement configuration, the method further includes:
and storing the acquired data of the file to be configured.
Further, the method for generating the game advertisement configuration table further comprises the following steps:
when the editing operation for the game advertisement configuration is detected, extracting the pre-stored file data to be configured and performing the data editing operation;
and re-storing the file data to be configured after the data editing operation, and regenerating the table of the game advertisement configuration.
Further, the method for generating the game advertisement configuration table further comprises the following steps:
when detecting the contrast operation for the game advertisement configuration, respectively extracting real-time game data and the pre-stored file data to be configured;
comparing the game data with the file data to be configured, and adding a label for the difference data obtained by comparison;
and in the regenerated table of the game advertisement configuration, the difference data are displayed in a distinguishing mode according to the label.
The invention also provides a terminal device, which comprises: the game advertisement configuration table generation method comprises the steps of a memory, a processor and a game advertisement configuration table generation program stored in the memory and capable of running on the processor, wherein the game advertisement configuration table generation program is executed by the processor to realize the game advertisement configuration table generation method.
The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program when executed by a processor implements the steps of the game advertisement configuration table generation method described above.
The invention provides a method for generating a game advertisement configuration form, terminal equipment and a computer readable storage medium, wherein the data of a file to be configured of the game advertisement configuration is obtained; extracting basic data according to the file data to be configured, and carrying out reconfiguration processing on the basic data to obtain metadata; a table of the game advertisement configuration is generated based on the metadata. When a game developer needs to generate a corresponding display form aiming at the newly added or updated game advertisement configuration, the invention acquires the data of the to-be-configured file of the game advertisement configuration, extracts the basic data of the game advertisement configuration based on the data of the to-be-configured file, and generates metadata with uniform data format based on the reconfiguration processing of the extracted basic data, and directly generates the corresponding display form of the game advertisement configuration based on the metadata.
Drawings
FIG. 1 is a schematic diagram of the hardware operation involved in an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for generating a game advertisement configuration table according to the present invention;
FIG. 3 is a detailed flowchart of step S300 in an embodiment of a method for generating a game advertisement configuration table according to the present invention;
FIG. 4 is a schematic diagram of a game advertisement configuration table generation process according to an embodiment of a game advertisement configuration table generation method of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware running environment according to an embodiment of the present invention.
It should be noted that fig. 1 may be a schematic structural diagram of a hardware operating environment of a terminal device. The terminal equipment of the embodiment of the invention can be PC, portable computer and other terminal equipment.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 1 is not limiting of the terminal device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a processing program of distributed tasks may be included in a memory 1005 as one type of computer storage medium. The operating system is a program for managing and controlling hardware and software resources of the sample terminal device, and supports the running of processing programs of distributed tasks and other software or programs.
In the terminal device shown in fig. 1, the user interface 1003 is mainly used for data communication with each terminal; the network interface 1004 is mainly used for connecting a background server and carrying out data communication with the background server; and the processor 1001 may be configured to call a game advertisement configuration table generation program stored in the memory 1005, and perform the following operations:
acquiring file data to be configured of the game advertisement configuration;
extracting basic data according to the file data to be configured, and carrying out reconfiguration processing on the basic data to obtain metadata;
a table of the game advertisement configuration is generated based on the metadata.
Further, the processor 1001 may call the generation program of the game advertisement configuration table stored in the memory 1005, and further perform the following operations:
detecting whether the game advertisement configuration exists in a game local configuration or not when an operation instruction for the game advertisement configuration is received;
and when the game advertisement configuration is detected to exist, calling a preset data loading module to load and acquire file data to be configured of the game advertisement configuration.
Further, the processor 1001 may call the generation program of the game advertisement configuration table stored in the memory 1005, and further perform the following operations:
identifying the data type of the file data to be configured, and calling a target processing function corresponding to the data type;
and extracting basic data of the game advertisement configuration based on the target processing function, and combining the extracted basic data to configure metadata.
Further, the processor 1001 may call the generation program of the game advertisement configuration table stored in the memory 1005, and further perform the following operations:
generating a unique data identifier according to configuration information carried by the data of the file to be configured;
the step of combining and configuring the extracted basic data into metadata comprises the following steps:
and combining the data type and the basic data according to the data identification to configure and generate the metadata.
Further, the processor 1001 may call a generation program of a game advertisement configuration table stored in the memory 1005, and before executing the extraction of the basic data of the game advertisement configuration based on the target processing function, execute the following operations:
judging whether the data type belongs to a preset complex data type or not;
and if yes, carrying out recursion processing on the file data to be configured so that the target processing function extracts the basic data.
Further, the processor 1001 may call a generation program of the game advertisement configuration table stored in the memory 1005, and after executing the data of the to-be-configured file for acquiring the game advertisement configuration, further execute the following operations:
and storing the acquired data of the file to be configured.
Further, the processor 1001 may call the generation program of the game advertisement configuration table stored in the memory 1005, and further perform the following operations:
when the editing operation for the game advertisement configuration is detected, extracting the pre-stored file data to be configured and performing the data editing operation;
and re-storing the file data to be configured after the data editing operation, and regenerating the table of the game advertisement configuration.
Further, the processor 1001 may call the generation program of the game advertisement configuration table stored in the memory 1005, and further perform the following operations:
when detecting the contrast operation for the game advertisement configuration, respectively extracting real-time game data and the pre-stored file data to be configured;
comparing the game data with the file data to be configured, and adding a label for the difference data obtained by comparison;
and in the regenerated table of the game advertisement configuration, the difference data are displayed in a distinguishing mode according to the label.
Based on the above-described structure, various embodiments of the game advertisement configuration table generation method of the present invention are presented.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a method for generating a game advertisement configuration table according to the present invention.
The embodiments of the present invention provide embodiments of a method of generating a game advertisement configuration table, it being noted that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
The method for generating the game advertisement configuration table according to the embodiment of the present invention is applied to the above terminal device, and the terminal device according to the embodiment of the present invention may be a terminal device such as a PC, a portable computer, etc., which is not particularly limited herein.
The generation method of the game advertisement configuration table of the embodiment comprises the following steps:
step S100, obtaining data of a file to be configured of the game advertisement configuration.
When a corresponding display form is required to be generated for the newly added or updated game advertisement configuration, the data of the file to be configured of the game advertisement configuration is acquired from the game local configuration stored in the terminal equipment.
Specifically, for example, in the flow chart of generating the game advertisement configuration table shown in fig. 4, when it is detected that the user triggers a corresponding operation instruction (such as a game advertisement configuration query, editing or comparing operation instruction) on the terminal device, it is determined that a corresponding configuration display table is required for the configuration selected by the user, namely, the game advertisement configuration, and then, based on invoking an existing arbitrary data loading tool, a file to be configured associated with the current game advertisement configuration is loaded and acquired from all game local configurations stored in the current terminal device.
Further, step S100 includes:
step S101, when an operation instruction for the game advertisement configuration is received, whether the game advertisement configuration exists in a game local configuration is detected.
In this embodiment, the operation instructions configured for the game advertisement at least include a query operation instruction, an edit operation instruction, and a contrast operation instruction.
Specifically, for example, in the flow chart of game advertisement configuration table generation shown in fig. 4, when it is detected that the user triggers a query operation instruction on the terminal device, so as to determine that the user needs to query the game configuration selected by the user, namely, the game advertisement configuration, based on the configuration name of the game advertisement configuration selected by the user (namely, the game advertisement configuration or the advertisement configuration), whether the game advertisement configuration corresponding to the configuration name exists is detected in all local configuration files of the game stored in the current terminal device.
Step S102, when the game advertisement configuration is detected to exist, a preset data loading module is called to load and acquire file data to be configured of the game advertisement configuration.
It should be noted that, in this embodiment, the preset data loading module may be specifically an operation module-VM module among node.js (JavaScript operation environment based on Chrome V8 engine).
Specifically, for example, in the flow chart of generating the game advertisement configuration table shown in fig. 4, after detecting that the game advertisement configuration corresponding to the configuration name exists in all the local configuration files of the game stored in the current terminal device, the background service end of the current game queries the configuration file identified by ". Meta" for the game advertisement configuration based on the configuration name of the game advertisement configuration selected by the user, namely, the game advertisement configuration, and thus obtains configuration information (at least including data type, data source, etc.) related to the game advertisement configuration in the configuration file, and loads the pre-existing data of the configuration file to be configured for the game advertisement configuration through the runinthiContext () method of the vm module through the obtained data source information.
It should be noted that, in this embodiment, the data of the configuration file to be configured obtained by the background server of the game at least includes a configuration file identified by ". Meta" -meta file and configuration data in json data format; the background server of the game can use a runInThiscontext () method of the vm module to acquire the data of the file to be configured through a network interface, or can also acquire the data of the file to be configured through a database, wherein the background server of the game can be specifically an advertisement cloud platform based on WEB.
And step S200, extracting basic data according to the file data to be configured, and carrying out reconfiguration processing on the basic data to obtain metadata.
And calling a corresponding data processing function to extract all basic data of the game advertisement configuration according to the configuration information of the game advertisement configuration carried by the file data to be configured of the game advertisement configuration obtained by reading identification, and carrying out reconfiguration processing such as filling and combining on all the extracted basic data and the configuration information carried by the file data with the configuration according to a unified data format so as to generate metadata with unified format.
In this embodiment, the reconfiguration process performed on the extracted basic data of the game advertisement configuration includes, but is not limited to, filling and combining the basic data, and reconfiguring the basic data and the configuration information to finally generate metadata, where the data structure represents the data relationship between the basic data.
Further, as shown in fig. 3, fig. 3 is a schematic diagram of a refinement flow of step S200, and step S200 includes:
step S201, identifying the data type of the file data to be configured, and calling a target processing function corresponding to the data type;
step S202, extracting basic data of the game advertisement configuration based on the target processing function, and combining the extracted basic data to configure metadata.
It should be noted that, in this embodiment, the data types of the data to be configured include at least: a mix type, an array type, a table type, a string type, a number type, a record type, a boolean type, wherein the data types such as the mix type, the table type, the record type, the array type are complex data types.
Specifically, for example, after the pre-existing data to be configured in the game advertisement configuration is loaded by the runinthipcontext () method of the vm module, based on identifying that the data type of the configuration data in the json data format in the data to be configured, which is the json data, is a mix type, an array type, a table type, a string type, a number type, a record type or a join type, the identified data type is determined as the data type of the current game advertisement configuration tape configuration file data, and for identifying the different types of the identified data to be configured, the target processing function corresponding to the data type in the plurality of processing functions is correspondingly called, the basic data in the json data format is acquired from the network interface or the database, and then the acquired basic data in the json data format is combined together with each configuration information (i.e., the data type contained in the configuration file identified as ". Meta", the data source contained in the configuration file) carried in the data to be configured, and the metadata is filled, so that the metadata is generated again in the unified metadata format.
Further, in another embodiment, if the obtained basic data in the game advertisement configuration json data format further has corresponding presentation data (for example, 10003 corresponds to a channel, 2002 corresponds to a server), the obtained basic data configuration information in the game advertisement configuration json data format is further needed to search and obtain the presentation data corresponding to the basic data.
Further, in another embodiment, before step S202, the method for generating a game advertisement configuration table of the present invention further includes:
step 203, generating a unique data identifier according to the configuration information carried by the data of the file to be configured.
Specifically, for example, based on the configuration information such as the data type and the data source contained in the configuration file identified by ". Meta" acquired by the reading identification, unique data id (Identity document: unique code) for identifying the entire basic data of the current game advertisement configuration is generated.
In this embodiment, the data id includes information such as the position of all basic data of the current game advertisement configuration, and is the unique id of the basic data as the current query, edit and compare operation for the game advertisement configuration, and each operation of the interface is implemented based on the id.
In step S202, the step of combining the extracted basic data to configure metadata includes:
step S2021, combining the data type and the base data to configure to generate the metadata according to the data identifier.
Specifically, for example, according to the unique data id for identifying the current game advertisement configuration all basic data, filling and combining all the obtained basic data in the game advertisement configuration json data format together with each configuration information carried in the file data to be configured, namely, the data type, the data source and the like, so as to reconfigure the basic data into metadata with uniform format.
Further, in another embodiment, before step S202, the method for generating a game advertisement configuration table of the present invention further includes:
step S204, judging whether the data type belongs to a preset complex data type;
and step S205, recursively processing the file data to be configured so that the target processing function extracts the basic data.
Specifically, for example, after generating unique data ids for identifying all basic data of the current game advertisement configuration according to configuration information such as data types and data sources contained in a configuration file identified by ". Meta" obtained by reading identification, performing basic type judgment and data verification on json data in the data of the game advertisement configuration to be configured, when the basic type of the json data in the data of the to-be-configured file is judged to belong to a predefined complex data type such as mix type, table type, record type, array type and the like, performing downward recursive processing on the json data in the data of the to-be-configured file according to json data passing through the data verification through a target processing function-get_confdata () function to convert the json data of the complex data type into a simple data type, and then obtaining the basic data of the game advertisement configuration json data format.
Step S300, generating a table of the game advertisement configuration based on the metadata.
The terminal equipment invokes the existing arbitrary data form algorithm, and performs reconfiguration processing such as filling and combining on all the extracted basic data and configuration information carried in the data with the configuration file, and generates metadata with uniform formats, thereby generating a corresponding display form of the current game advertisement configuration.
It should be noted that, in this embodiment, each grid of the finally generated table of game advertisement configurations includes information (such as data type, data id and data source) related to the corresponding data (including the data to be configured and the basic data).
In this embodiment, when a corresponding presentation form is required to be generated for a newly added or updated game advertisement configuration, file data to be configured of the game advertisement configuration is obtained from a game local configuration stored in a terminal device, all basic data of the game advertisement configuration is extracted by calling a corresponding data processing function according to each configuration information of the game advertisement configuration carried by the file data to be configured of the game advertisement configuration obtained by reading identification, reconfiguration processing such as filling and combining is performed on all extracted basic data and each configuration information carried by the file data with a uniform data format, so as to generate metadata with a uniform format, the terminal device invokes an existing arbitrary data table algorithm, and the presentation form corresponding to the current game advertisement configuration is generated according to the metadata with the uniform format obtained by generating reconfiguration processing such as filling and combining all the extracted basic data and each configuration information carried by the file data with the uniform data.
When a game developer needs to add or update the game advertisement configuration with the same page logic aiming at a game, the game advertisement configuration is directly based on the conversion of the basic data of the game advertisement configuration into metadata with uniform format, so that a display form is generated through the metadata, a large number of repeated codes are prevented from being written for the newly added or updated game advertisement configuration by a worker, the workload is saved, and the generation efficiency of the game advertisement configuration form is improved.
Further, based on the first embodiment of the method for generating a game advertisement configuration table, a second embodiment of the method for generating a game advertisement configuration table of the present invention is provided.
In a second embodiment of the method for generating a game advertisement configuration table of the present invention, after the step S100, the method for generating a game advertisement configuration table of the present invention further includes:
step S400, storing the obtained data of the file to be configured.
After the data of the to-be-configured file of the game advertisement configuration is obtained from the game local configuration stored in the terminal equipment, the obtained data of the to-be-configured file of the game advertisement configuration is stored in a local hard disk of the terminal equipment and written into an operation memory of the current game operation process of the terminal equipment.
Further, in another embodiment, the method for generating a game advertisement configuration table of the present invention further includes:
step A, when the editing operation for the game advertisement configuration is detected, extracting the pre-stored file data to be configured and performing the data editing operation;
and step B, the data of the file to be configured, which is subjected to the data editing operation, is stored again, and the table of the game advertisement configuration is regenerated.
In this embodiment, the editing operation performed on the game advertisement configuration at least includes: new add, delete, modify, and save, wherein save operations default to being automatically performed after other new add, delete, and modify operations.
Specifically, for example, when it is detected that a user clicks a new or delete button based on a terminal device to trigger an editing operation for game advertisement configuration, a corresponding background server interface is called up, then the server side firstly returns a relevant error code to the current terminal device based on whether the current user has permission to perform the new or delete operation on the current game advertisement configuration, if not, the server side judges that the current user has permission, if yes, the server side judges whether the data type and the data id of the file data to be configured uploaded by the current terminal device can be newly added or deleted through the corresponding data interface, if not, the relevant code is returned, if yes, the current game advertisement configuration is newly added or modified, the latest data result or the deleting result obtained through the new or modification is returned to the current terminal device in a code form, and the terminal device calls a corresponding existing arbitrary form generating algorithm to perform corresponding form redrawing according to the code returned by the server side.
It should be noted that, in this embodiment, after the server obtains a new game advertisement configuration through the addition or modification, the server synchronously modifies the memory data corresponding to the game advertisement configuration, so as to ensure the consistency of the data of the addition or deletion memory and the operation.
Further, in another embodiment, the method for generating a game advertisement configuration table of the present invention further includes:
step C, when the contrast operation for the game advertisement configuration is detected, respectively extracting real-time game data and the pre-stored data of the file to be configured;
step D, comparing the game data with the file data to be configured, and adding a label for the difference data obtained by comparison;
and E, in the regenerated table of the game advertisement configuration, the difference data are displayed in a distinguishing mode according to the labels.
Specifically, for example, when detecting that a user clicks a comparison button based on a terminal device to trigger a comparison operation for game advertisement configuration, the terminal device obtains a data id of target data of the game advertisement configuration selected by the user, then sends the data id to a background server through an interface, then the server firstly generates metadata with the same format based on reconfiguration processing and returns the metadata to the current terminal device, if not, a related error code is returned to the current terminal device, if the server judges that the current user has the authority, basic data of the game advertisement configuration is re-extracted from game data, memory data of the current game advertisement configuration is extracted at the same time, then the basic data of the re-extracted game advertisement configuration and the memory data of the extracted current game advertisement configuration are subjected to comparison operation, corresponding labels are added to mark a modification state of each difference data, then the background server generates metadata with the same format based on reconfiguration processing and returns the metadata to the current terminal device, the terminal device calls an existing arbitrary table generation algorithm, and performs corresponding table redrawing according to the metadata returned by the background server, and performs difference processing on the data added by the label of the background server to distinguish the difference data.
In this embodiment, after the data of the to-be-configured file of the game advertisement configuration is obtained from the game local configuration stored in the terminal device, the obtained data of the to-be-configured file of the game advertisement configuration is stored in the local hard disk of the terminal device and written into the running memory of the current game running process of the terminal device, so that when the user performs corresponding editing, comparing and other operations on the game advertisement configuration, the stored data can be extracted to carry out table redrawing, thereby reducing corresponding workload and improving the operation efficiency of editing, comparing and other operations.
In addition, the embodiment of the invention also provides a computer readable storage medium, which is applied to a computer, and can be a nonvolatile computer readable storage medium, wherein the computer readable storage medium stores a game advertisement configuration table generation program, and the game advertisement configuration table generation program realizes the steps of the game advertisement configuration table generation method when being executed by a processor.
The steps implemented when the game advertisement configuration table generating program running on the processor is executed may refer to various embodiments of the game advertisement configuration table generating method of the present invention, which are not 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 system 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 system. 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 system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
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 device (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 foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. The method for generating the game advertisement configuration form is characterized by comprising the following steps:
acquiring file data to be configured of the game advertisement configuration;
extracting basic data according to the file data to be configured, and carrying out reconfiguration processing on the basic data to obtain metadata;
generating a table of the game advertisement configuration based on the metadata;
identifying the data type of the file data to be configured, and calling a target processing function corresponding to the data type;
generating a unique data identifier according to configuration information carried by the data of the file to be configured;
combining the data type and the basic data according to the data identification to configure and generate the metadata;
and extracting basic data of the game advertisement configuration based on the target processing function, and combining the extracted basic data to configure metadata.
2. The method of generating a game advertisement configuration table according to claim 1, wherein the step of acquiring data of a file to be configured of the game advertisement configuration comprises:
detecting whether the game advertisement configuration exists in a game local configuration or not when an operation instruction for the game advertisement configuration is received;
and when the game advertisement configuration is detected to exist, calling a preset data loading module to load and acquire file data to be configured of the game advertisement configuration.
3. The method of generating a game advertisement configuration table according to claim 1, further comprising, before the step of extracting the basic data of the game advertisement configuration based on the target processing function:
judging whether the data type belongs to a preset complex data type or not;
and if yes, carrying out recursion processing on the file data to be configured so that the target processing function extracts the basic data.
4. The method of generating a game advertisement configuration table according to claim 1, further comprising, after the step of acquiring the data of the file to be configured of the game advertisement configuration:
and storing the acquired data of the file to be configured.
5. The method for generating a game advertisement configuration table according to claim 4, wherein the method for generating a game advertisement configuration table further comprises:
when the editing operation for the game advertisement configuration is detected, extracting the pre-stored file data to be configured and performing the data editing operation;
and re-storing the file data to be configured after the data editing operation, and regenerating the table of the game advertisement configuration.
6. The method for generating a game advertisement configuration table according to claim 4, wherein the method for generating a game advertisement configuration table further comprises:
when detecting the contrast operation for the game advertisement configuration, respectively extracting real-time game data and the pre-stored file data to be configured;
comparing the game data with the file data to be configured, and adding a label for the difference data obtained by comparison;
and in the regenerated table of the game advertisement configuration, the difference data are displayed in a distinguishing mode according to the label.
7. A terminal device, characterized in that the terminal device comprises: memory, a processor and a game advertisement configuration table generation program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the game advertisement configuration table generation method according to any one of claims 1 to 6.
8. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of generating a game advertisement configuration table according to any one of claims 1 to 6.
CN201911145225.5A 2019-11-19 2019-11-19 Game advertisement configuration form generation method, terminal equipment and medium Active CN111068328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911145225.5A CN111068328B (en) 2019-11-19 2019-11-19 Game advertisement configuration form generation method, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911145225.5A CN111068328B (en) 2019-11-19 2019-11-19 Game advertisement configuration form generation method, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN111068328A CN111068328A (en) 2020-04-28
CN111068328B true CN111068328B (en) 2023-05-05

Family

ID=70311435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911145225.5A Active CN111068328B (en) 2019-11-19 2019-11-19 Game advertisement configuration form generation method, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN111068328B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11270335B2 (en) 2020-06-17 2022-03-08 Coupang Corp. Systems and methods for maximizing budget utilization through management of limited resources in an online environment
CN111530084A (en) * 2020-07-13 2020-08-14 成都卓杭网络科技股份有限公司 Planning configuration system and method thereof
CN111861580A (en) * 2020-07-29 2020-10-30 成都新潮传媒集团有限公司 Advertisement material configuration method and device of advertisement scheme
CN112114866B (en) * 2020-09-01 2021-06-01 苏州紫焰网络科技有限公司 Data conversion loading method and device of JSON file and storage medium
CN112156476A (en) * 2020-09-23 2021-01-01 成都完美天智游科技有限公司 Game configuration file exporting method, device, equipment and storage medium
CN112651780A (en) * 2020-12-25 2021-04-13 上海硬通网络科技有限公司 Advertisement file generation method and device and electronic equipment
CN113377740A (en) * 2021-05-28 2021-09-10 中国铁道科学研究院集团有限公司电子计算技术研究所 Railway metadata management method, application method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943887A (en) * 2017-11-16 2018-04-20 东南大学 A kind of RFID tag sort method under conveyer belt environment
CN109670094A (en) * 2018-10-25 2019-04-23 深圳市慧动创想科技有限公司 Processing method, device, computer equipment and the storage medium of ad data

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017134665A1 (en) * 2016-02-03 2017-08-10 Cocycles System for organizing, functionality indexing and constructing of a source code search engine and method thereof
CN109145027A (en) * 2017-06-19 2019-01-04 中兴通讯股份有限公司 Data statistical approach, device, equipment and computer readable storage medium
US10691682B2 (en) * 2017-10-04 2020-06-23 EMC IP Holding Company LLC Storing and processing JSON documents in a SQL database table

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943887A (en) * 2017-11-16 2018-04-20 东南大学 A kind of RFID tag sort method under conveyer belt environment
CN109670094A (en) * 2018-10-25 2019-04-23 深圳市慧动创想科技有限公司 Processing method, device, computer equipment and the storage medium of ad data

Also Published As

Publication number Publication date
CN111068328A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111068328B (en) Game advertisement configuration form generation method, terminal equipment and medium
CN110705237B (en) Automatic document generation method, data processing device and storage medium
CN109669692B (en) Source code sharing method, server, computer readable storage medium and system
CN108197024B (en) Embedded browser debugging method, debugging terminal and computer readable storage medium
CN110941629B (en) Metadata processing method, apparatus, device and computer readable storage medium
CN111857881A (en) Repo-based manifest warehouse loading method and device and storage medium
CN116523457A (en) Workflow processing method, device, equipment and storage medium based on business process
CN115794202A (en) Data configuration method and engine, file system and computer storage medium
CN113377458B (en) Plug-in management method and device, electronic equipment and storage medium
CN112988280B (en) Configuration data processing method and device
CN112596746B (en) Application installation package generation method and device, computer equipment and storage medium
CN113821249A (en) Project development configuration method and device, electronic equipment and readable storage medium
CN115794214B (en) Application module metadata management method, device, storage medium and apparatus
CN113297081A (en) Execution method and device of continuous integration assembly line
CN112068879A (en) Method and device for constructing client application development framework based on configuration
CN111737964B (en) Form dynamic processing method, equipment and medium
CN114721681A (en) Configuration file updating method, device, equipment and storage medium
CN112416383A (en) Hot updating method and device for golang program and computer equipment
CN117348916B (en) Script generation method, device, equipment and storage medium
CN116909563B (en) Page generation method, terminal device and storage medium
CN112650509B (en) Application installation package generation method and device, computer equipment and storage medium
CN107729013B (en) Method for managing operation buttons on web page and computer-readable storage medium
CN107493316B (en) Application operation management method, server and computer readable storage medium
CN114003834A (en) Method and device for optimizing Trace _ Log of Log module in webpage rendering engine
CN117111819A (en) Component page configuration method, device, terminal equipment and computer 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