CN111124371A - Game-based data processing method, device, equipment and storage medium - Google Patents

Game-based data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111124371A
CN111124371A CN201911357517.5A CN201911357517A CN111124371A CN 111124371 A CN111124371 A CN 111124371A CN 201911357517 A CN201911357517 A CN 201911357517A CN 111124371 A CN111124371 A CN 111124371A
Authority
CN
China
Prior art keywords
configuration file
target
memory
data
game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911357517.5A
Other languages
Chinese (zh)
Inventor
张�杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Mihoyo Tianming Technology Co Ltd
Original Assignee
Shanghai Mihoyo Tianming 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 Shanghai Mihoyo Tianming Technology Co Ltd filed Critical Shanghai Mihoyo Tianming Technology Co Ltd
Priority to CN201911357517.5A priority Critical patent/CN111124371A/en
Publication of CN111124371A publication Critical patent/CN111124371A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • 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
    • 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/69Generating 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 by enabling or updating specific game elements, e.g. unlocking hidden features, items, levels or versions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data processing method, a device, equipment and a storage medium based on games, wherein the method comprises the following steps: when the operation of triggering the change of the configuration file is detected, displaying an editing window corresponding to the triggering operation; acquiring target data information of a target area in an editing window, and calling a target configuration file corresponding to the target data information from a memory; and when detecting that the target configuration file is updated, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file. According to the technical scheme, the technical problem that time is wasted because compiling and game restarting need to be waited for a certain time when the configuration file is modified at present is solved, the configuration file in the memory is directly called and modified in the game running process, the game is run based on the modified configuration file, the efficiency and convenience for modifying the configuration file are improved, and the technical effect of saving time is achieved.

Description

Game-based data processing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of game development, in particular to a data processing method, a data processing device, data processing equipment and a storage medium based on a game.
Background
In the field of game development, it is necessary to set character attribute information corresponding to each character, and optionally, information such as a character moving speed, an attack power level, and an output damage value corresponding to each character, and therefore, it is necessary to write a character configuration file corresponding to each character, optionally, NPC _ xxx _ Data or Pet _ xxx _ Data, according to the character attribute information corresponding to each character. NPC _ xxx _ Data is a file corresponding to a non-player character, and Pet _ xxx _ Data is a file corresponding to each Pet in the game.
In the running process of the game, when determining that the attribute information of the role needs to be changed, the game needs to be stopped first, and the configuration file corresponding to the role needs to be modified. After the configuration file is modified, the modified configuration file needs to be recompiled and updated into the memory, so that the server can rerun the game according to the updated configuration file.
That is, once it is detected that the configuration files corresponding to the respective characters are modified, the modified configuration files need to be recompiled, and it is determined whether the modified parameters are available when the game is started, and if the modified parameters are not available, the game needs to be stopped again to repeat the above steps until the modified character attribute information meets the actual requirements, which causes the technical problems of time waste and high labor cost.
Disclosure of Invention
The invention provides a data processing method, a data processing device, data processing equipment and a data processing storage medium based on a game, and aims to achieve the technical effects of convenience and high efficiency in changing a configuration file.
In a first aspect, an embodiment of the present invention provides a game-based data processing method, where the method includes:
when the operation of triggering the change of the configuration file is detected, displaying an editing window corresponding to the triggering operation;
acquiring target data information of a target area in the editing window, and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to a target role;
and when detecting that the target configuration file is updated, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file.
In a second aspect, an embodiment of the present invention further provides a game-based data processing apparatus, where the apparatus includes:
the editing window calling module is used for displaying an editing window corresponding to the triggering operation when the operation of triggering the change of the configuration file is detected;
the target configuration file acquisition module is used for acquiring target data information of a target area in the editing window and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to a target role;
and the memory data updating module is used for updating the target configuration file stored in the memory when detecting that the target configuration file is updated, and running the game based on the updated target configuration file.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a game-based data processing method as in any one of the embodiments of the invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the game-based data processing method according to any one of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, when the operation of triggering the change of the configuration file is detected, the editing window corresponding to the triggering operation is displayed; acquiring target data information of a target area in an editing window, and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to the target role; when detecting that the update operation is executed on the target configuration file, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file, thereby solving the technical problems that in the prior art, once the configuration file of a certain role needs to be modified is detected, the game needs to be closed to modify the configuration file, and simultaneously the modified configuration file needs to be recompiled, whether the modified parameters are available can be determined after the game is started, namely, the compiling and restarting of the game need to be waited for a certain time once when the configuration file is modified, and the time is wasted, and realizing that the configuration file in the memory is directly called based on a preset editor in the game running process, when the content modification in the editor is detected, the configuration file in the memory can be directly updated, and the game is continuously run according to the updated configuration file, the technical effects of convenience and high efficiency of changing the character attribute information are improved.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
FIG. 1 is a flow chart of a game-based data processing method according to an embodiment of the present invention;
FIG. 2 is another flow chart of a game-based data processing method according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a game-based data processing apparatus according to a third embodiment of the present invention
Fig. 4 is a schematic structural diagram of an apparatus according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic flow chart of a game-based data processing method according to an embodiment of the present invention, where the embodiment is applicable to a case where character attribute information is directly changed during a game process, the method may be executed by a game-based data processing apparatus, and the system may be implemented in a form of software and/or hardware.
Before the technical solution of the present embodiment is described, an application scenario of the solution is briefly described, and naturally, for the purpose of clearly describing the technical solution of the present embodiment, the role attribute information may be modified as an example. After the development of the game project is completed, the attribute information of each character in the game needs to be detected, and optionally, the attack range, the damage output value, the moving speed and the like are selected, so that whether the attribute information of each character meets the requirements or not can be detected in the running process of the game. When the attribute information of the role does not meet the requirement, the configuration file corresponding to each role can be modified to change the attribute information of the role corresponding to each role. In order to rapidly retrieve the attribute information corresponding to each role, the configuration file corresponding to each role may be stored in the memory, and thus the attribute information corresponding to each role may be modified by retrieving the configuration file stored in the memory.
It should be noted that the technical solution of the present embodiment is described by taking modifying role attribute information as an example, but is not limited to modifying role attribute information. As shown in fig. 1, the method of this embodiment includes:
and S110, when the operation of changing the configuration file is detected, displaying an editing window corresponding to the trigger operation.
In the test, when it is determined that the character attribute information of a certain character in the game environment is not satisfied, the character attribute information corresponding to the certain character may be changed, and the certain character may be set as the target character. When the role attribute information is determined to be changed, the configuration file corresponding to the role can be triggered to be acquired. Accordingly, detecting an operation that triggers changing a configuration file may be understood as clicking a control to trigger retrieving the configuration file, or inputting a command to retrieve the configuration file in a control. The editing window may be understood as an editor. The editing window is composed of a plurality of controls, optionally, a file type selection control, a search control, a data display control and the like, and a user can trigger different controls to select different information. After the file type selection control is clicked, a drop-down box can be displayed, the type of the configuration file is included in the drop-down box, and the target user can select any file type in the drop-down box. The search control can be understood as a search box, and the target user can write the name of a file to be searched in the search box. The data display control can be understood as a data display frame for displaying specific data in the configuration file. Specifically, when an operation of triggering to change the configuration file is detected, that is, when the configuration file corresponding to the target role is triggered to be acquired, an editing window may pop up on the display interface, and the configuration file corresponding to the target role may be determined by triggering operations on each control in the editing window.
Optionally, when the target instruction is received, based on the editing window calling program, an editing window for editing the configuration file is called.
The configuration file may store data information corresponding to each scene, character, and the like in the game. The number of profiles may be one or more. The number of the configuration files is the same as the number of each role in the game building scene, for example, the number of the roles in the game is ten, and correspondingly, ten different configuration files exist. Each configuration file also comprises all data information corresponding to one role. The target instruction may be an instruction for triggering to change the configuration file, that is, an instruction for calling the editing window, and optionally, the target instruction may be generated after the enter key is triggered after command information for calling to change the configuration file is input in the command line. The edit window calling program may be understood as a program that calls an editor.
Specifically, when a target instruction is received, an editing window calling program may be called according to the target instruction to call the editing window, so as to edit information corresponding to a target configuration file in each control of the editing window, and to obtain the target configuration file corresponding to a target role from a memory.
And S120, acquiring target data information of a target area in the editing window, and calling a target configuration file corresponding to the target data information from the memory.
The editing window is composed of a plurality of controls, optionally, a file type selection control, a search control, a data display control and the like, and a user can trigger different controls to select different information. The search control may be a control that edits the name of the search file, and the file type selection control is a file type corresponding to the name of the file. Accordingly, the target area may be an area of the editing window corresponding to the search control, as well as the file type selection control. The target data information may be information edited in the search control, and file type information, optionally, a file name corresponding to the target role a. And taking the configuration file corresponding to the target data information as a target configuration file.
It should be noted that after determining the configuration files corresponding to the respective characters, in order to facilitate fast retrieval of the configuration files corresponding to the respective characters during game operation, the configuration files also need to be stored in a memory.
Specifically, the data information in the search control and the file type selection control in the edit window may be acquired and used as the target data information, and the target configuration file may be called from the memory according to the target data information.
It should be noted that the editing window further includes a file type selection control. The file type may be understood as the file type of the configuration file. Optionally, the file types include NPC type, pet type, and other types.
Before the configuration file is acquired from the memory according to the target data information, the type of the file can be selected in a file type selection control in the editing window. Optionally, screening out a target configuration file from all configuration files stored in the memory according to the target data information in the target area and the file type corresponding to the target data information; the file types include NPC type, pet type, and others.
It should be noted that the target user may first trigger the file type, then edit the file name in the search control, and when editing the file name in the search control, may automatically synthesize the completed file name corresponding to the target configuration file according to the file type, which is advantageous in that the configuration file whose value needs to be modified is flexibly formulated by inputting the configuration file name, thereby improving the convenience of obtaining the configuration file.
For example, the profile names associated with the characters in the game may be: NPC _ XXX _ Data or Pet _ XXX _ Data, after the target user selects the file type, may edit the content of the XXX section, automatically generating the completed file name information in the search box according to the file type.
Specifically, the target configuration file may be screened out from all configuration files stored in the memory according to the edited search information and the file type in the target region.
On the basis of the above technical solution, after the target configuration file is screened from the memory, data information corresponding to the target configuration file needs to be displayed in the editing window. The editing window also comprises a data display control. Optionally, each data in the target configuration file is displayed in the data display control according to a preset format.
Wherein the data in the configuration file may comprise one or more. The preset format may be a format based on file type for presentation.
Specifically, after the target configuration file is acquired from the memory, specific data in the target configuration file may be displayed in a data display control in the editing window, so that the target user determines a modified data value, that is, the role attribute parameter information, according to the data displayed in the data display control.
S130, when the target configuration file is detected to be updated, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file.
Specifically, when detecting that data in a target configuration file in an editing window changes, the target configuration file in the memory can be updated according to the changed target configuration file in the editing window, which is beneficial in that in the process of game operation, when character parameter information in the configuration file is changed, the parameter can be directly updated in the memory, thereby avoiding the technical problems that in the prior art, when the value in the configuration file is changed, a game needs to be closed, recompiled, and restarted, and whether the updated data value meets the preset requirement or not, and time is wasted.
Optionally, when it is detected that data in the data display control changes, the target configuration file stored in the memory is updated.
Specifically, when it is detected that data changes in a data display control, that is, a control in which target configuration file data is placed, it may be understood that the data in the configuration file is changed, the target configuration file stored in the memory may be updated at the same time, so that when the game is running, the game may run based on the changed target configuration file in the memory.
According to the technical scheme, the target configuration file stored in the memory can be changed in the game running process, the game can be continuously run based on the changed target configuration file, and the target user can browse whether the changed parameter information meets the user requirements or not in real time. Of course, S110 to S130 may be re-executed to determine character attribute information corresponding to each character if the user requirement is not satisfied.
According to the technical scheme of the embodiment of the invention, when the operation of triggering the change of the configuration file is detected, the editing window corresponding to the triggering operation is displayed; acquiring target data information of a target area in an editing window, and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to the target role; when detecting that the update operation is executed on the target configuration file, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file, thereby solving the technical problems that in the prior art, once the configuration file of a certain role needs to be modified is detected, the game needs to be closed to modify the configuration file, and simultaneously the modified configuration file needs to be recompiled, whether the modified parameters are available can be determined after the game is started, namely, the compiling and restarting of the game need to be waited for a certain time once when the configuration file is modified, and the time is wasted, and realizing that the configuration file in the memory is directly called based on a preset editor in the game running process, when the content modification in the editor is detected, the configuration file in the memory can be directly updated, and the game is continuously run according to the updated configuration file, the technical effects of convenience and high efficiency of changing the character attribute information are improved.
Example two
As a preferred embodiment of the foregoing embodiment, fig. 2 is another schematic flow chart of a game-based data processing method according to a second embodiment of the present invention. As shown in fig. 2, the method includes:
s201, an initial interface for displaying the editor is created.
Specifically, when an operation of triggering a change of a configuration file in the memory is detected, the editor calling module is called to call an initial interface, namely an editing window, corresponding to the editor. At least one control can be displayed on the initial interface, i.e. the editing window, and optionally, a file type selection control, i.e. a file type control, a search control, i.e. a control for editing the name of the configuration file, and a data display control, i.e. a control for displaying specific data in the configuration file, are mapped.
S202, determining a configuration file corresponding to the target data information according to the target data information and the file type.
Specifically, when the file type selection control is triggered, a drop-down box may be displayed, names corresponding to the respective file types may be displayed in the drop-down box, the target user may edit part of file names in the search control, and the names of the target configuration files are combined based on the part of file names and the file types to obtain the finally required target configuration file names. An instantiated data object, i.e. a target configuration file corresponding to the target file name, may be determined from the memory based on the target file name.
It should be noted that, when the file type is NPC type, the edited file name may be NPC _ xxx _ Data, and when the file type is Pet type, the edited file name may be Pet _ xxx _ Data. xxx may represent a specific name of a file.
For example, when the type of the mapping file is an NPC type, a specific name of the file, that is, a name corresponding to the xxx part, may be written in the control for editing the target data information, and the name of the target file is obtained by merging according to the type of the mapping file and the specific name and is displayed in the control for editing the target data information. According to the control, namely the data information in the target area, the target configuration file corresponding to the target file name can be automatically searched from the memory, namely the instantiated data object. Of course, if the type of the mapping file is a pet type, the pet instantiated data object in the memory can be obtained based on the above manner. If the type of the mapping file is other types, the name of the target file needs to be written in the control for editing the target data information, so that the configuration file is obtained from the memory according to the name of the target file written in the editing control, that is, the target data information.
S203, displaying the data in the target configuration file in the data display control.
Specifically, when the data type in the configuration file is static type data, the static type data is directly displayed in the display control, that is, the data display control. When the data type in the configuration file is not static type data, whether instantiated data exists or not can be searched in the memory, if yes, the instantiated data is displayed in the data display control, and if not, the instantiated data is not displayed.
S204, when detecting that the data in the control for displaying the configuration file data is updated, judging whether the updated data is reasonable, if so, executing S205; if not, go to S206.
Specifically, the target user may reconfigure the parameter information of the target role according to actual requirements, that is, modify parameters in the configuration file in the data display control, for example, configure parameters corresponding to the moving speed of the target role, and after the configuration is completed, invoke the detection module to detect whether the reconfigured parameters are available, and optionally, whether the format is correct. If the data can be used, the step S205 is executed, and if the data cannot be used, the step S206 is executed.
And S205, updating the target configuration file in the memory according to the updated target configuration file in the editing window.
That is, when it is detected that data in the target configuration file in the editing window changes and the changed data meets the preset requirement, the target configuration file in the memory can be updated according to the updated data.
And S206, not updating the target configuration file in the memory.
It can be understood that, although the user changes the data in the editing window, the changed data does not meet the preset requirement, and therefore the data in the memory cannot be updated according to the data updated by the editing window.
According to the technical scheme of the embodiment of the invention, when the operation of triggering the change of the configuration file is detected, the editing window corresponding to the triggering operation is displayed; acquiring target data information of a target area in an editing window, and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to the target role; when detecting that the update operation is executed on the target configuration file, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file, thereby solving the technical problems that in the prior art, once the configuration file of a certain role needs to be modified is detected, the game needs to be closed to modify the configuration file, and simultaneously the modified configuration file needs to be recompiled, whether the modified parameters are available can be determined after the game is started, namely, the compiling and restarting of the game need to be waited for a certain time once when the configuration file is modified, and the time is wasted, and realizing that the configuration file in the memory is directly called based on a preset editor in the game running process, when the content modification in the editor is detected, the configuration file in the memory can be directly updated, and the game is continuously run according to the updated configuration file, the technical effects of convenience and high efficiency of changing the character attribute information are improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a game-based data processing apparatus according to a third embodiment of the present invention, where the apparatus includes: an edit window calling module 310, a target configuration file obtaining module 320 and a memory data updating module 330.
The editing window calling module 310 is configured to, when an operation of triggering to change a configuration file is detected, display an editing window corresponding to the triggering operation; a target configuration file obtaining module 320, configured to obtain target data information of a target area in the editing window, and retrieve a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to a target role; the memory data updating module 330 is configured to update the target configuration file stored in the memory when it is detected that an update operation is performed on the target configuration file, and run a game based on the updated target configuration file.
According to the technical scheme of the embodiment of the invention, when the operation of triggering the change of the configuration file is detected, the editing window corresponding to the triggering operation is displayed; acquiring target data information of a target area in an editing window, and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to the target role; when detecting that the update operation is executed on the target configuration file, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file, thereby solving the technical problems that in the prior art, once the configuration file of a certain role needs to be modified is detected, the game needs to be closed to modify the configuration file, and simultaneously the modified configuration file needs to be recompiled, whether the modified parameters are available can be determined after the game is started, namely, the compiling and restarting of the game need to be waited for a certain time once when the configuration file is modified, and the time is wasted, and realizing that the configuration file in the memory is directly called based on a preset editor in the game running process, when the content modification in the editor is detected, the configuration file in the memory can be directly updated, and the game is continuously run according to the updated configuration file, the technical effects of convenience and high efficiency of changing the character attribute information are improved.
On the basis of the above technical solution, the edit window calling module is further configured to:
when the target instruction is received, an editing window for editing the configuration file is called based on the editing window calling program.
On the basis of the technical scheme, the editing window further comprises a file type selection control; the target configuration file acquisition module is used for screening out a target configuration file from all configuration files stored in a memory according to target data information in a target area and a file type corresponding to the target data information; wherein the file types include NPC type, pet type, and other types.
On the basis of the above technical solution, the target configuration file obtaining module is further configured to search static type data and instantiation type data from a memory according to the target data information and the file type, and use the searched data as the target configuration file.
On the basis of the technical scheme, the editing window further comprises a data display control; the target configuration file obtaining module is configured to, after being configured to obtain target data information of a target area in the editing window and call a target configuration file corresponding to the target data information from a memory, further: and displaying each data in the target configuration file in the data display control according to a preset format.
On the basis of the above technical solution, the memory data updating module is further configured to update the target configuration file stored in the memory when detecting that the data in the data display control changes.
On the basis of the technical scheme, the memory data updating module is further configured to, when detecting that data in the data display control changes, determine whether the changed data meets a preset format, and if so, update a target configuration file stored in a memory; and if not, not updating the target configuration file in the memory.
The game-based data processing device provided by the embodiment of the invention can execute the game-based data processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
Example four
Fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary device 40 suitable for use in implementing embodiments of the present invention. The device 40 shown in fig. 4 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 4, device 40 is embodied in a general purpose computing device. The components of device 40 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 that couples the various system components (including the system memory 402 and the processing unit 401).
Bus 403 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 40 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 40 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. Device 40 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methods of the described embodiments of the invention.
Device 40 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), with one or more devices that enable a user to interact with device 40, and/or with any devices (e.g., network card, modem, etc.) that enable device 40 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interface 411. Also, device 40 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 412. As shown, network adapter 412 communicates with the other modules of device 40 via bus 403. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 401 executes various functional applications and data processing, for example, implementing a game-based data processing method provided by an embodiment of the present invention, by running a program stored in the system memory 402.
EXAMPLE five
Embodiments of the present invention also provide a storage medium containing computer-executable instructions which, when executed by a computer processor, perform a game-based data processing method.
The method comprises the following steps:
when the operation of triggering the change of the configuration file is detected, displaying an editing window corresponding to the triggering operation;
acquiring target data information of a target area in the editing window, and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to a target role;
and when detecting that the target configuration file is updated, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A game-based data processing method, comprising:
when the operation of triggering the change of the configuration file is detected, displaying an editing window corresponding to the triggering operation;
acquiring target data information of a target area in the editing window, and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to a target role;
and when detecting that the target configuration file is updated, updating the target configuration file stored in the memory, and running the game based on the updated target configuration file.
2. The method of claim 1, wherein when the operation of triggering the change of the configuration file is detected, displaying an editing window corresponding to the triggering operation comprises:
when the target instruction is received, an editing window for editing the configuration file is called based on the editing window calling program.
3. The method of claim 1, further comprising a file type selection control in the editing window;
the acquiring target data information of a target area in the editing window and calling a target configuration file corresponding to the target data information from a memory includes:
screening a target configuration file from all configuration files stored in a memory according to target data information in a target area and a file type corresponding to the target data information;
wherein the file types include NPC type, pet type, and other types.
4. The method of claim 3, wherein the screening the target configuration file from all the configuration files stored in the memory according to the target data information in the target area and the file type corresponding to the target data information comprises:
and searching static type data from the memory according to the target data information and the file type, instantiating the type data, and taking the searched data as a target configuration file.
5. The method of claim 1, wherein the editing window further comprises a data display control;
after the obtaining of the target data information of the target area in the editing window and the calling of the target configuration file corresponding to the target data information from the memory, the method further includes:
and displaying each data in the target configuration file in the data display control according to a preset format.
6. The method of claim 5, wherein updating the target configuration file stored in the memory upon detecting an update operation performed on the target configuration file comprises:
and when detecting that the data in the data display control changes, updating the target configuration file stored in the memory.
7. The method of claim 6, wherein updating the target configuration file stored in the memory when the change of the data in the data display control is detected comprises:
when detecting that the data in the data display control changes, judging whether the changed data meet a preset format, and if so, updating a target configuration file stored in a memory;
and if not, not updating the target configuration file in the memory.
8. A game-based data processing apparatus, comprising:
the editing window calling module is used for displaying an editing window corresponding to the triggering operation when the operation of triggering the change of the configuration file is detected;
the target configuration file acquisition module is used for acquiring target data information of a target area in the editing window and calling a target configuration file corresponding to the target data information from a memory; the target configuration file comprises role attribute information corresponding to a target role;
and the memory data updating module is used for updating the target configuration file stored in the memory when detecting that the target configuration file is updated, and running the game based on the updated target configuration file.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a game based data processing method as claimed in any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the game based data processing method of any one of claims 1-7 when executed by a computer processor.
CN201911357517.5A 2019-12-25 2019-12-25 Game-based data processing method, device, equipment and storage medium Pending CN111124371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911357517.5A CN111124371A (en) 2019-12-25 2019-12-25 Game-based data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911357517.5A CN111124371A (en) 2019-12-25 2019-12-25 Game-based data processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111124371A true CN111124371A (en) 2020-05-08

Family

ID=70502291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911357517.5A Pending CN111124371A (en) 2019-12-25 2019-12-25 Game-based data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111124371A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708563A (en) * 2020-06-24 2020-09-25 北京冰封互娱科技有限公司 Method and device for updating UI control in game
CN112138380A (en) * 2020-09-30 2020-12-29 网易(杭州)网络有限公司 Method and device for editing data in game
CN112783912A (en) * 2021-02-03 2021-05-11 腾讯科技(深圳)有限公司 Data processing method and device, computer equipment and storage medium
CN112799738A (en) * 2021-01-29 2021-05-14 深圳市美科星通信技术有限公司 Configuration file importing method, device and equipment
CN113713395A (en) * 2021-08-31 2021-11-30 网易(杭州)网络有限公司 Game data reading method, device, equipment and storage medium
CN114461721A (en) * 2022-02-09 2022-05-10 深圳市洛仑兹技术有限公司 Data processing display method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920440A (en) * 2018-06-26 2018-11-30 苏州蜗牛数字科技股份有限公司 A kind of edit methods of configuration file, device and storage medium
CN109558383A (en) * 2018-12-10 2019-04-02 网易(杭州)网络有限公司 The fashionable dress output processing method and device, electronic equipment of game role
CN109614139A (en) * 2018-12-13 2019-04-12 浪潮(北京)电子信息产业有限公司 A kind of system service configuration method, device, equipment and medium
CN109710327A (en) * 2017-10-20 2019-05-03 龙芯中科技术有限公司 Browser memory allocation method, memory allocator and browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710327A (en) * 2017-10-20 2019-05-03 龙芯中科技术有限公司 Browser memory allocation method, memory allocator and browser
CN108920440A (en) * 2018-06-26 2018-11-30 苏州蜗牛数字科技股份有限公司 A kind of edit methods of configuration file, device and storage medium
CN109558383A (en) * 2018-12-10 2019-04-02 网易(杭州)网络有限公司 The fashionable dress output processing method and device, electronic equipment of game role
CN109614139A (en) * 2018-12-13 2019-04-12 浪潮(北京)电子信息产业有限公司 A kind of system service configuration method, device, equipment and medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708563A (en) * 2020-06-24 2020-09-25 北京冰封互娱科技有限公司 Method and device for updating UI control in game
CN111708563B (en) * 2020-06-24 2023-11-17 北京冰封互娱科技有限公司 Method and device for updating UI control in game
CN112138380A (en) * 2020-09-30 2020-12-29 网易(杭州)网络有限公司 Method and device for editing data in game
CN112138380B (en) * 2020-09-30 2024-02-23 网易(杭州)网络有限公司 Method and device for editing data in game
CN112799738A (en) * 2021-01-29 2021-05-14 深圳市美科星通信技术有限公司 Configuration file importing method, device and equipment
CN112799738B (en) * 2021-01-29 2023-11-24 深圳市美科星通信技术有限公司 Configuration file importing method, device and equipment
CN112783912A (en) * 2021-02-03 2021-05-11 腾讯科技(深圳)有限公司 Data processing method and device, computer equipment and storage medium
CN112783912B (en) * 2021-02-03 2023-10-13 腾讯科技(深圳)有限公司 Data processing method, device, computer equipment and storage medium
CN113713395A (en) * 2021-08-31 2021-11-30 网易(杭州)网络有限公司 Game data reading method, device, equipment and storage medium
CN114461721A (en) * 2022-02-09 2022-05-10 深圳市洛仑兹技术有限公司 Data processing display method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111124371A (en) Game-based data processing method, device, equipment and storage medium
CN110990411B (en) Data structure generation method and device, and calling method and device
CN113127050B (en) Application resource packaging process monitoring method, device, equipment and medium
CN112748923A (en) Method and device for creating visual billboard, electronic equipment and storage medium
CN114090602A (en) Configuration file updating method and device, server and storage medium
CN113760306A (en) Method and device for installing software, electronic equipment and storage medium
CN111813465A (en) Information acquisition method, device, medium and equipment
CN114721964A (en) Automatic generation method, device, equipment and medium of test case
CN114372256A (en) Application program running method, device, equipment and storage medium
CN104778087B (en) A kind of information processing method and information processing unit
CN113590225B (en) Mapping detection method and device, electronic equipment and storage medium
CN115481025A (en) Script recording method and device for automatic test, computer equipment and medium
CN115798469A (en) Voice control method and device, electronic equipment and computer readable storage medium
CN114461214A (en) Page display method and device, electronic equipment and storage medium
CN113687880A (en) Method, device, equipment and medium for calling component
CN109948251B (en) CAD-based data processing method, device, equipment and storage medium
CN114090514A (en) Log retrieval method and device for distributed system
CN111309583B (en) Interface overdrawing detection method, device, medium and computing equipment
CN111124423A (en) Multi-platform-based compiling detection method, device, server and medium
CN113221097A (en) Code execution method and device, electronic terminal and storage medium
CN112652039A (en) Animation segmentation data acquisition method, segmentation method, device, equipment and medium
CN111258970A (en) Method, device, equipment and storage medium for displaying log at client
CN113590224B (en) Method and device for detecting server, electronic equipment and storage medium
CN111013156B (en) Scene detection method, device, terminal and medium based on robot
CN113590226B (en) Method and device for starting engine editor, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508

RJ01 Rejection of invention patent application after publication