CN117251451A - Configuration data acquisition method, device, electronic equipment and storage medium - Google Patents

Configuration data acquisition method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117251451A
CN117251451A CN202311280019.1A CN202311280019A CN117251451A CN 117251451 A CN117251451 A CN 117251451A CN 202311280019 A CN202311280019 A CN 202311280019A CN 117251451 A CN117251451 A CN 117251451A
Authority
CN
China
Prior art keywords
file
data
target
configuration data
index
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
CN202311280019.1A
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.)
Zhuhai Kingsoft Digital Network Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Digital Network 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 Zhuhai Kingsoft Digital Network Technology Co Ltd filed Critical Zhuhai Kingsoft Digital Network Technology Co Ltd
Priority to CN202311280019.1A priority Critical patent/CN117251451A/en
Publication of CN117251451A publication Critical patent/CN117251451A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Landscapes

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

Abstract

The invention provides a configuration data acquisition method, a device, electronic equipment and a storage medium, wherein the configuration data acquisition method comprises the following steps: acquiring a data acquisition instruction, and loading file information of a first file into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data; and determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index. Therefore, when the configuration data is acquired, only the data index is needed to be loaded in the memory, and only the target configuration data is needed to be acquired after the target index is determined, so that the space occupation of the memory is effectively reduced, and the acquisition efficiency of the configuration data is improved.

Description

Configuration data acquisition method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and apparatus for acquiring configuration data, an electronic device, and a storage medium.
Background
With the development of internet technology, more and more configuration data of programs are usually stored in Comma Separated Values (CSV) tables. When the configuration data is acquired, the CSV table is loaded and analyzed in the memory, and then the target data is selected from the analyzed data. However, the CSV table has low reading efficiency, and when the data size is large, it takes longer time to parse all configuration data, and more memory space is occupied, so that user experience is affected.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides a configuration data acquisition method, a device, electronic equipment and a storage medium, which can improve the acquisition efficiency of configuration data, reduce the occupation of memory space and improve user experience.
In a first aspect, an embodiment of the present invention provides a configuration data acquisition method, including:
acquiring a data acquisition instruction, and loading file information of a first file into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data;
and determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index.
According to some embodiments of the invention, before the fetching of the data fetch instruction, the method further comprises:
obtaining a second file, wherein the second file comprises a plurality of configuration items, each configuration item comprises at least one piece of configuration data, and the second file is different from the first file in file format;
deserializing the second file to obtain a binary sequence of the configuration data;
And obtaining a plurality of data blocks based on serializing the binary sequence, and generating the first file based on the set of data blocks, wherein each data block corresponds to one configuration item.
According to some embodiments of the invention, after the generating the first file based on the set of data blocks, the method further comprises:
determining block description information and offset information of each data block, wherein the block description information is used for indicating the configuration item corresponding to the data block, and the offset information is used for indicating the position of the data block in the first file;
generating a block index based on the block description information and the offset information, and generating a file index based on a set of the block indexes;
generating a file header based on the set of block description information;
and determining the file index and the file header as the file information of the first file.
According to some embodiments of the invention, the number of the first files is a plurality, the determining a target index from the file information based on the data acquisition instruction, and the acquiring target configuration data from the first files based on the target index includes:
Determining a target file header from the file headers loaded in the memory based on the data acquisition instruction, and determining the first file corresponding to the target file header as a target file;
determining a target block index from the file indexes of the target file based on the data acquisition instruction;
and acquiring the target configuration data from the target file based on the target block index.
According to some embodiments of the invention, the generating the first file based on the set of data blocks includes:
compressing the data block to obtain a block compression packet;
and obtaining the first file based on the set of the block compression packets.
According to some embodiments of the invention, the obtaining target configuration data from the first file based on the target index includes:
acquiring a target block compression packet from the first file based on the target index;
decompressing the target block compression packet to obtain the target configuration data.
According to some embodiments of the invention, the method further comprises:
acquiring a call of a file generation class, and generating a first code set, a second code set and a third code set based on the file generation class;
When the input file of the file generation class is the second file, the first code set is called to deserialize the second file to obtain the binary sequence, and the second code set is called to deserialize the binary sequence to obtain the first file;
and when the input file of the file generation class is the first file, calling the third generation set to acquire the target configuration data from the first file based on the data acquisition instruction.
According to some embodiments of the invention, before the calling the file generation class, the method further comprises:
invoking a file management class based on a file to be processed, wherein the file to be processed is the first file or the second file;
and calling the file generation class based on the file to be processed through the file management class.
In a second aspect, an embodiment of the present invention provides a code generating method, applied to a man-machine interaction device, where the method includes:
acquiring a calling code of a file generation class input by a user in a code editor;
and responding to a trigger button clicked by a user in a code editor, generating a first code set, a second code set and a third code set in a code area of the file generation class, wherein the first code set is used for deserializing a second file to obtain a binary sequence, the second code set is used for serializing the binary sequence to obtain a first file, the third code set is used for acquiring configuration data from the first file based on a data acquisition instruction, the first file and the second file are sets of the configuration data, and the file formats of the first file and the second file are different.
According to some embodiments of the invention, the method further comprises:
acquiring the data acquisition instruction input by a user, and calling the third code set to load file information of a first file into a memory, wherein the file information comprises a data index of the configuration data;
and determining a target index from the file information based on the data acquisition instruction, and acquiring and displaying target configuration data from the first file based on the target index.
In a third aspect, an embodiment of the present invention provides a configuration data acquisition apparatus, including:
the loading module is configured to acquire a data acquisition instruction and load file information of a first file into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data;
and the data acquisition module is configured to determine a target index from the file information based on the data acquisition instruction and acquire target configuration data from the first file based on the target index.
According to some embodiments of the invention, the configuration data acquisition device further comprises:
a file acquisition module configured to acquire a second file, wherein the second file comprises a plurality of configuration items, each configuration item comprises at least one piece of configuration data, and the second file is different from the first file in file format;
A first deserializing module configured to deserialize the second file to obtain a binary sequence of the configuration data;
a file generation module configured to obtain a plurality of data blocks based on serializing the binary sequence, and generate the first file based on the set of data blocks, wherein each data block corresponds to one of the configuration items.
According to some embodiments of the invention, the configuration data acquisition device further comprises:
a block information acquisition module configured to determine block description information and offset information of each data block, where the block description information is used to indicate the configuration item corresponding to the data block, and the offset information is used to indicate a position of the data block in the first file;
an index generation module configured to generate a block index based on the block description information and the offset information, and to generate a file index based on a set of the block indexes;
a header generation module configured to generate a header based on the set of block description information;
and a file information generation module configured to determine the file index and the file header as the file information of the first file.
According to some embodiments of the invention, the number of the first files is a plurality, and the data acquisition module is further configured to:
the file determining module is configured to determine a target file header from the file headers loaded in the memory based on the data acquisition instruction, and determine the first file corresponding to the target file header as a target file;
a block index determination module configured to determine a target block index from the file indexes of the target file based on the data acquisition instruction;
and the target data acquisition module is configured to acquire the target configuration data from the target file based on the target block index.
According to some embodiments of the invention, the file generation module is further configured to:
a compression module configured to compress the data block to obtain a block compression packet;
and the compressed package combination module is configured to obtain the first file based on the set of the block compressed packages.
According to some embodiments of the invention, the data acquisition module is further configured to:
a compressed package acquisition module configured to acquire a target block compressed package from the first file based on the target index;
And the decompression module is configured to decompress the target block compression packet to obtain the target configuration data.
According to some embodiments of the invention, the configuration data acquisition device further comprises:
a first class calling module configured to obtain a call of a file generation class, generate a first code set, a second code set, and a third code set based on the file generation class;
the first calling module is configured to call the first code set to deserialize the second file to obtain the binary sequence when the input file of the file generation class is the second file, and call the second code set to deserialize the binary sequence to obtain the first file;
and the second calling module is configured to call the third code set to acquire the target configuration data from the first file based on the data acquisition instruction when the input file of the file generation class is the first file.
According to some embodiments of the invention, the configuration data acquisition device further comprises:
the second class calling module is configured to call a file management class based on a file to be processed, wherein the file to be processed is the first file or the second file;
And the third class calling module is configured to call the file generation class based on the file to be processed through the file management class.
In a third aspect, an embodiment of the present invention provides an electronic device including at least one control processor and a memory for communicatively coupling with the at least one control processor; the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the configuration data acquisition method as described in the first aspect above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the configuration data acquisition method according to the first aspect.
According to the method provided by the embodiment of the invention, a data acquisition instruction is acquired, and file information of a first file is loaded into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data; and determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index. Therefore, when the configuration data is acquired, only the data index is needed to be loaded in the memory, and only the target configuration data is needed to be acquired after the target index is determined, so that the space occupation of the memory is effectively reduced, and the acquisition efficiency of the configuration data is improved.
Drawings
FIG. 1 is a schematic diagram of a process of a configuration data acquisition method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a configuration data acquisition method provided by one embodiment of the present invention;
FIG. 3 is an exemplary diagram of a first file provided by one embodiment of the present invention;
FIG. 4 is a schematic diagram of a file conversion process according to one embodiment of the present invention;
FIG. 5 is a schematic diagram of a code editing interface provided by one embodiment of the present invention;
FIG. 6 is an exemplary flowchart of a configuration data acquisition method applied to a gaming field provided by one embodiment of the present invention;
FIG. 7 is a flow chart of a code generation method provided by one embodiment of the present invention;
FIG. 8 is a schematic diagram of a configuration data acquisition device according to an embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that references to orientation descriptions such as upper, lower, front, rear, left, right, etc. are based on the orientation or positional relationship shown in the drawings, are merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, a number means one or more, a number means two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and above, below, within, etc. are understood to include the present number. The description of the first and second is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present invention can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical scheme.
First, related terms in the embodiment of the invention will be explained:
lz4 compression algorithm: the Lz4 compression algorithm was designed and implemented by Yann Colet in 2011, and Lz4 belongs to the Lz77 series of compression algorithms. Lz77 is not an algorithm in the strict sense, but a coding theory, which only defines the principle and does not define how to implement.
Lazy loading: lazy Loading (Lazy Loading) is a delayed Loading technique, meaning that Loading is performed when a certain object or data is needed, rather than immediately when the system is started or loaded. Lazy loading can improve the performance and resource utilization of the system to some extent.
It should be noted that, with the development of internet technology, more and more configuration data of programs are stored in the CSV table. When the configuration data is acquired, the CSV table is loaded and analyzed in the memory, and then the target data is selected from the analyzed data. However, the CSV table has low reading efficiency, and when the data size is large, it takes longer time to parse all configuration data, and more memory space is occupied, so that user experience is affected.
Therefore, the embodiment of the invention provides a configuration data acquisition method, which is used for acquiring a data acquisition instruction and loading file information of a first file into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data; and determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index. Therefore, when the configuration data is acquired, only the data index is needed to be loaded in the memory, and only the target configuration data is needed to be acquired after the target index is determined, so that the space occupation of the memory is effectively reduced, and the acquisition efficiency of the configuration data is improved.
In the present invention, a configuration data acquisition method, apparatus, electronic device, computer-readable storage medium are provided, and detailed description is given one by one in the following embodiments.
Referring to fig. 1, fig. 1 is a schematic diagram of a processing procedure of a configuration data obtaining method according to an embodiment of the present invention, as shown in fig. 1, a user inputs a data obtaining instruction in an electronic device to obtain target configuration data, the electronic device loads file information of a first file into a memory, the file information includes data indexes corresponding to each piece of configuration data in the first file, and after determining a target index from the file information according to the data obtaining instruction, only the target configuration data is obtained from the first file based on the target index.
Referring to fig. 2, fig. 2 is a flowchart of a configuration data acquisition method according to an embodiment of the present invention, where the configuration data acquisition method includes, but is not limited to, the following steps:
step 21, acquiring a data acquisition instruction, and loading file information of a first file into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data.
Specifically, the data acquisition instruction may be requirement information for the target configuration data, that is, a matching condition of the target configuration data is described in the data acquisition instruction, and the requirement of the target configuration data can be represented by the data acquisition instruction.
In practical applications, the data acquisition instructions may be generated by inputting a requirement document, for example, by inputting the requirement document to an electronic device, recording required configuration data items in the requirement document, and determining each configuration data item by the electronic device in response to the requirement document, thereby generating the data acquisition instructions.
In practical application, the data acquisition instruction may also be automatically generated through program operation, for example, in a game scene, after the equipment of the character is replaced, the configuration data of the character needs to be updated according to the equipment attribute of the new equipment, so as to trigger the data acquisition instruction to acquire a first file corresponding to the character, acquire target configuration data related to the equipment from the first file, and then update the data.
Specifically, the first file includes file information and file data, wherein the file data is a set of configuration data, the file information records a data index corresponding to the configuration data, and a position recorded in the first file by the data index can be determined. The data index may be offset information of the serially stored data, or location description information, and the corresponding target data may be read from the first file according to the data index.
In practical application, the file data may be a set of multiple independent configuration data, where the multiple independent configuration data are stored in the first file in the form of a data sequence, and the data index may be offset information of the configuration data in the data sequence, where the storage location of the configuration data may be determined by the offset information.
In practical applications, the file data may be a set of a plurality of data blocks, each data block including a plurality of pieces of configuration data of the same type, for example, referring to fig. 3, in a game scene, a plurality of pieces of configuration data related to character information are stored through a character information data block, a plurality of pieces of configuration data related to equipment information are stored through an equipment information data block, and a plurality of pieces of configuration data related to capability values are stored through a capability value data block. In this case, the file index may be a block index of the data blocks, that is, the index records offset information of each data block, and the target data block can be obtained from the first file through the target index, so as to parse the target configuration information from the target data block.
It should be noted that, although the first file includes file information and file data, the embodiment loads the file information of the first file into the memory only after the data acquisition instruction is acquired, because the file information is a data index, but not specific data, compared with complete data, the data size is obviously reduced, so that the space occupation of the memory can be effectively reduced by loading the file information into the memory.
Step 22, determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index.
It should be noted that, according to the above description, the index of the configuration data is recorded in the file information, and the data acquisition instruction is used for characterizing the requirement of the target configuration data, that is, the data acquisition instruction may record the requirement information, so that the target index corresponding to the target configuration data can be matched from the file information according to the data acquisition instruction, only the index matching with a small data size is needed in the memory, and the data matching with a large data size is not needed, thereby effectively improving the efficiency of acquiring the data.
In practical application, referring to fig. 1, a file index is loaded in a memory to obtain a block index 1, a block index 2 and a block index 3, after determining that a target index is the block index 3 based on a data acquisition instruction, the data block 3 is acquired from a data block recorded in a first file, and target configuration data is analyzed for the data block 3.
For example, referring to fig. 3, the first file is a character file a, the index described by the file information includes "character information-offset 1", "equipment information-offset 2", and "capability value-offset 3", and the target index determined therefrom is "offset 3" when the data acquisition instruction is for acquiring the capability value, so that the target configuration data related to the capability value is read from the first file according to "offset 3".
In the configuration data acquisition method provided by the embodiment of the invention, based on an acquisition data acquisition instruction, file information of a first file is loaded into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data; and determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index. Therefore, when the configuration data is acquired, only the data index is needed to be loaded in the memory, and only the target configuration data is needed to be acquired after the target index is determined, so that the space occupation of the memory is effectively reduced, and the acquisition efficiency of the configuration data is improved.
In an implementation manner of the embodiment of the present invention, before executing step 21, the configuration data obtaining method provided by the present invention may further include the following steps:
acquiring a second file, wherein the second file comprises a plurality of configuration items, each configuration item comprises at least one piece of configuration data, and the file format of the second file is different from that of the first file; deserializing the second file to obtain a binary sequence of the configuration data; a plurality of data blocks are obtained based on the serialized binary sequence, and a first file is generated based on a set of data blocks, wherein each data block corresponds to a configuration item.
Specifically, the formats of the first file and the second file are different, the second file can be used for being converted into the first file, the second file can be a file format which is convenient for a developer to edit data, and the first file can be provided with file information and file data, so that the configuration data acquisition method of the embodiment is convenient to execute.
In practical application, the second file may be a CSV table, through which configuration data in each configuration item can be better edited, and each configuration item may include one or more pieces of configuration data. Because the reading efficiency of the CSV table is low, if the configuration data is acquired through the CSV table, the configuration data needs to be completely resolved into the memory, so that a large amount of memory space is occupied, and a large amount of configuration data needs to be traversed to determine the target configuration data. In this way, in this embodiment, the CSV table is converted into the first file with different formats, where the first file is composed of the file information and the file data, and since the file information and the file data belong to different parts, only the file information can be loaded when the data indexing is performed, and compared with the CSV table, the CSV table has a significant difference in terms of reading efficiency and memory space occupation.
It should be noted that, because the formats of the first file and the second file are different, the format of the first file may be a zband format, in order to implement conversion of the file format, the data in the file needs to be resolved first, so taking the second file as an example of a CSV table, in this embodiment, after the CSV table is obtained, the CSV table is firstly deserialized to obtain a binary sequence of configuration data therein, each element in the binary sequence is each piece of configuration data in the CSV table, and then, based on the binary sequence, a plurality of data blocks are obtained by serializing in a classification format in the first file, so as to obtain the first file.
In practical applications, configuration data belonging to the same configuration item usually has relevance, so when acquiring target configuration data, data corresponding to the whole configuration item is also required to be acquired, and the data integrity of the configuration item is ensured.
For example, referring to fig. 4, the second file includes 3 configuration items, which are character information, equipment information, and capability values, respectively, wherein the character information includes a pieces of data, the equipment information includes b pieces of data, the capability values include c pieces of data, and a, b, and c are natural numbers and may be equal or unequal. After the second file is obtained, the second file is subjected to anti-sequence to obtain 3 binary sequences, the first binary sequence comprises a piece of character information, the second binary sequence comprises b pieces of equipment information, the third binary sequence comprises c pieces of capability values, the first binary sequence is subjected to serialization to obtain character information data blocks, the second binary sequence is subjected to serialization to obtain equipment information data blocks, the third binary sequence is subjected to serialization to obtain capability value data blocks, and therefore 3 data blocks in the first file are obtained.
It is noted that, in this embodiment, when the file conversion is performed, a binary sequence is adopted, so that the configuration data in the first file can be stored in a binary form, and compared with a character string form, the binary form can further reduce the data amount, so that the obtained target configuration data occupies less memory, the data acquisition efficiency is improved, and the memory occupation is reduced.
In one implementation of an embodiment of the present invention, after generating the first file based on the set of data blocks, the method further includes, but is not limited to, the steps of:
determining block description information and offset information of each data block, wherein the block description information is used for indicating configuration items corresponding to the data blocks, and the offset information is used for indicating the positions of the data blocks in a first file; generating a block index based on the block description information and the offset information, and generating a file index based on a set of the block indexes; generating a file header based on the set of block description information; the file index and the file header are determined as file information of the first file.
Specifically, the first file of the embodiment includes a file header, a file index and block data, where the file header is used to describe content in the first file, the block data in the file can be located through the file index, the configuration data corresponding to each configuration item is stored through the block data, by adopting the ZBundle file of the embodiment, the file description, the index and the data can be divided into three different parts, and when loading is performed, one part can be independently loaded, for example, when a data acquisition instruction is acquired, the embodiment only loads the file index into a memory to perform data matching, and after the matching is successful, only the target configuration data is acquired from the first file, thereby solving the problems of low configuration data acquisition efficiency and large memory occupation.
In practical application, the block description information can directly adopt the description of the configuration item, or can be determined from standard nouns preset in the system by carrying out semantic analysis based on the configuration item, and after the file header is generated by the collection of the block description information, the file header can be ensured to describe the data type contained in the first file.
For example, referring to fig. 4, the configuration items in the second file are "character information", "equipment information", and "capability value", and the block description information may also directly employ "character information", "equipment information", and "capability value".
For another example, when the configuration items in the second file are "role grade", "helmet" and "capability value", the "role grade" can be determined as "role information" by performing semantic recognition on the "role grade", and then the block description information of the standard "role information" is adopted; the method comprises the steps of carrying out semantic recognition through a helmet to determine the helmet as one type of equipment, and further adopting block description information of the standard of equipment information; the "capability value" is block description information of a preset standard, and thus can be directly adopted.
Specifically, based on the description of the above embodiment, the second file may be a CSV table, so the binary data obtained by deserialization may be derived in a row-column order, and after the binary data is serialized to obtain a plurality of data blocks, each data block is also arranged in order, so the serialized data blocks are stored in the first file in order, and positioning can be achieved through offset information.
In practical applications, the offset information may be a description of a relative position, for example, an offset of each data block with respect to an initial storage position, or an offset based on a certain reference position, which is not limited herein.
For example, referring to fig. 4, the data blocks include a character information data block, an equipment information data block, and a capability value data block, and the number of character information is a, the number of equipment information is b, and the number of capability values is c, so that it can be determined that 1 st to a storage spaces are occupied by the character information data block, a+1st to a+1+b th storage spaces are occupied by the equipment information data block, a+b+2st to a+b+2+c th storage spaces are occupied by the capability value data block, and thus, an offset 1 may be 0, that is, a start address representing the character information data block is a start position of block data; offset 2 may be a+1, i.e. the first address characterizing the equipment information data block is the a+2th address of the block data; offset 3 may be a+b+1, i.e., the first address of the block of capability value data is the a+b+2 address of the block data. Of course, it may be characterized in other ways, and this embodiment is not limited thereto.
Specifically, the file index includes a block index of each data block, and in this embodiment, the file index needs to be loaded into the memory to locate the target configuration data, so that block description information and offset information need to be introduced into the block index, and the target data block is determined through the block description information, so that the target index can be matched based on the data acquisition instruction.
In one implementation of the embodiment of the present invention, the number of the first files is plural, and the step 22 further includes, but is not limited to, the following steps:
determining a target file header from all file headers loaded in a memory based on a data acquisition instruction, and determining a first file corresponding to the target file header as a target file; determining a target block index from file indexes of the target file based on the data acquisition instruction; and acquiring target configuration data from the target file based on the target block index.
The number of the first files in each program may be plural, for example, a game scene is taken as an example, a plurality of first files are generated for each character, character information, equipment information, and capability values of the character are recorded in one first file, and operation records, login records, and the like of the character are recorded in the other first file.
Specifically, after the data acquisition instruction is acquired, the header of each first file is loaded in the memory, and because the header records the block description information of each data block in the first file, information matching can be performed according to the header, so that the target header is determined, and the first file corresponding to the target header is determined as the target file.
Specifically, after the target file is determined, the target block index is further determined from the file index of the target file based on the data acquisition instruction, and then the target configuration data is acquired based on the target block index, so that sequential matching of the file, the index and the data is realized.
For example, taking a game scenario as an example, referring to fig. 4, the data acquisition instruction is "character information of character a", a plurality of first files of character a are stored in the database, character information, equipment information, and capability values of the character are described in the first file 1, and operation records and login records of the character are described in the first file 2. After a data acquisition instruction is acquired, file heads and file indexes of the first file 1 and the first file 2 are simultaneously loaded into a memory, the first file 1 is determined to be a target file through matching of the file heads, then 'role information-offset 1' is determined to be a target block index from the file index of the first file 1, and a role information data block is acquired from block data based on 'role information-offset 1', so that target configuration data is obtained.
In one implementation of the embodiment of the present invention, the first file is generated based on the set of data blocks, and further includes, but is not limited to, the following steps:
Compressing the data blocks to obtain block compression packets; a first file is obtained based on the set of block compression packages.
It should be noted that, through the description of the above embodiment, the configuration data is inversely sequenced into binary data, and although the data size is reduced to a certain extent, the number of data in the data block is large, and the embodiment further compresses the data block to obtain a block compression packet, and stores the data in the first file in the form of the block compression packet, so that the data amount of reading the target compression block according to the target index is reduced, and the efficiency of data acquisition is improved.
In practical application, an Lz4 compression algorithm can be adopted for compressing the data block, so that the compression efficiency can be further improved, and the reading efficiency of the compressed packet can be improved.
For example, referring to fig. 4, after the character information data block, the equipment information data block, and the capability value data block are acquired according to the above-described embodiment, lz4 compression is sequentially performed on each data block, thereby obtaining a character information compression packet, an equipment information compression packet, and a capability value compression packet, and the above-described 3 compression packets are stored as file data in a first file.
In one implementation of an embodiment of the present invention, step 22 further includes, but is not limited to, the steps of:
Acquiring a target block compression packet from a first file based on a target index; decompressing the target block compression packet to obtain target configuration data.
Specifically, according to the description of the above embodiment, each data block has obtained a block compression packet according to the Lz4 compression algorithm, and when the target index is determined, only the corresponding target block compression packet is obtained from the first file, and other compression packets are not obtained, so that the amount of data parsed from the file is reduced.
In practical application, the lazy loading mode can be adopted to load the target block compression packet, the data is not loaded before the target index is not determined, after the target index is determined, only the target block compression packet is loaded according to the target index, and the target block compression packet is decompressed to obtain target configuration data, so that the data acquisition efficiency is effectively improved, and unnecessary data analysis is reduced.
In one implementation of the embodiment of the present invention, the method further includes, but is not limited to, the following steps:
acquiring a call of a file generation class, and generating a first code set, a second code set and a third code set based on the file generation class; when the input file of the file generation class is a second file, the second file is reversely serialized by the first code set to obtain a binary sequence, and the binary sequence is serialized by the second code set to obtain the first file; and when the input file of the file generation class is the first file, calling a third code set to acquire target configuration data from the first file based on a data acquisition instruction.
Specifically, the file generation class may be a call class for the first file, and the operations of different first files are encapsulated in a generic manner, so that the designated first file can be loaded, queried and parsed each time the file generation class is called, so that the first file is more flexible and universal to use.
In practical application, the file generation class may be a Zbundle table class set for a Zbundle file, and when the Zbundle file is automatically called in an editor, a Wrap code is generated, and the Wrap code includes three code sets, so that a developer does not need to write a large number of repeated codes, and development efficiency is improved.
For example, referring to fig. 5, a first code set for deserializing a CSV table to obtain a binary sequence, a second code set for serializing the binary sequence to obtain a Zbundle file, and a third code set for deserializing the Zbundle file to obtain target configuration data are generated in an editor.
It should be noted that, the first introduction of the configuration file may be a CSV table, when the file generation class is called, it is identified that each bit of the file is the CSV table, then the first code set and the second code set are automatically called to perform serialization of data and conversion of file format, the configuration file is stored in the electronic device in Zbundle format, and the Zbundle file can be directly called when the configuration file is used next time, so that conversion and analysis of the second file are omitted, index matching is directly performed from the first file, and efficiency of data acquisition is improved.
In one implementation of an embodiment of the present invention, before invoking the file generation class, the method further includes, but is not limited to, the steps of:
calling a file management class based on a file to be processed, wherein the file to be processed is a first file or a second file; and calling a file generation class based on the file to be processed through the file management class.
It should be noted that, the file generation class can implement automatic code extension, and in this embodiment, the file management class is further configured to interact with the file generation class, for example, a file management class ZbundleTable mgr class is configured for the file generation class ZbundleTable class, so that a developer can call the ZbundleTable class through the ZbundleTable mgr class, and a file to be processed is used as a parameter of the ZbundleTable mgr class, so that the ZbundleTable class is called to perform instance generation and file processing based on the file to be processed. The specific ZbundleTable instance can be effectively decoupled through the file management class, and the code for acquiring the configuration data is effectively simplified.
For example, when the file to be processed is a first file, the first file is set as the input of the file management class, and after three code sets are generated by calling the file generation class, a third code set is automatically called to perform deserialization on the first file to obtain target configuration data.
The application of the configuration data acquisition method provided by the invention in a game scene is taken as an example, and the configuration data acquisition method is further described below with reference to fig. 6. Fig. 6 shows a flowchart of a configuration data acquisition method applied to a game scene according to an embodiment of the present invention, in this example,
the method specifically comprises the following steps:
step 61, calling ZbundleTableMgr class and importing CSV file, calling ZbundleTable to generate wrap code.
Wherein the ZbundleTable mgr class is the file management class, the ZbundleTable class is the file generation class, the CSV file is the second file, the wrap code is the first code set, the second code set and the third code set, and the CSV file records game configuration data.
Step 62, deserializing the CSV file by using the wrap code to obtain a binary sequence, serializing the binary sequence to obtain block data, performing Lz4 compression on the block data to obtain block compression packets, determining offset information of each block compression packet, generating a file header by combining the configuration items, and generating a Zbundle file based on the file header, the file index and the block data.
The Zbundle file is the first file.
Step 63, when a data acquisition instruction of the game configuration data is acquired, determining a target Zbundle file according to the data acquisition instruction and file headers of the plurality of Zbundle files, loading file indexes of the target Zbundle file into a memory, and determining target indexes from the file indexes.
Step 64, based on the lazy loading technology, acquiring a target compressed block from the target Zbundle file according to the target index, and decompressing the target compressed block to obtain target configuration data.
According to the configuration data acquisition method applied to the game scene, the CSV file can be converted into the Zbundle file, the file index of the Zbundle file is loaded into the memory based on the acquisition data acquisition instruction, the target index is determined from the file index based on the data acquisition instruction, and the target configuration data is acquired from the Zbundle piece based on the target index. Therefore, when the configuration data is acquired, only the data index is needed to be loaded in the memory, and only the target configuration data is needed to be acquired after the target index is determined, so that the space occupation of the memory is effectively reduced, and the acquisition efficiency of the configuration data is improved.
In addition, the embodiment of the invention provides a code generation method which is applied to man-machine interaction equipment, and referring to fig. 7, the method comprises the following steps:
Step 71, acquiring a calling code of a file generation class input by a user in a code editor;
and step 72, responding to a trigger button clicked by a user in a code editor, and generating a first code set, a second code set and a third code set in a code area of a file generation class, wherein the first code set is used for deserializing a second file to obtain a binary sequence, the second code set is used for serializing the binary sequence to obtain a first file, the third code set is used for acquiring configuration data from the first file based on a data acquisition instruction, the first file and the second file are sets of the configuration data, and the file formats of the first file and the second file are different.
It should be noted that, the method for generating the calling code in the code editor by the user may refer to the description of the embodiment shown in fig. 5, which is different from the method that the triggering key is clicked in the man-machine interaction interface in this embodiment, and the description is not repeated here.
In the code generation method provided by the embodiment of the invention, based on an acquired data acquisition instruction, file information of a first file is loaded into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data; and determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index. Therefore, when the configuration data is acquired, only the data index is needed to be loaded in the memory, and only the target configuration data is needed to be acquired after the target index is determined, so that the space occupation of the memory is effectively reduced, and the acquisition efficiency of the configuration data is improved.
In one implementation manner of the embodiment of the present invention, the method further includes:
acquiring a data acquisition instruction input by a user, and calling a third code set to load file information of a first file into a memory, wherein the file information comprises a data index of configuration data;
and determining a target index from the file information based on the data acquisition instruction, and acquiring and displaying target configuration data from the first file based on the target index.
It should be noted that, the process of acquiring the target configuration data in the man-machine interaction device may refer to the description of the embodiment shown in fig. 2, and the description is not repeated here.
Corresponding to the above method embodiment, the present invention further provides an embodiment of the configuration data acquisition device, and fig. 8 shows a schematic structural diagram of the configuration data acquisition device according to one embodiment of the present invention. As shown in fig. 8, the configuration data acquisition device includes:
the loading module 801 is configured to acquire a data acquisition instruction, and load file information of a first file into a memory, where the first file includes a set of configuration data, and the file information includes a data index of the configuration data;
the data acquisition module 802 is configured to determine a target index from the file information based on the data acquisition instruction, and acquire target configuration data from the first file based on the target index.
In one implementation manner of the embodiment of the present invention, the configuration data obtaining device further includes:
the file acquisition module is configured to acquire a second file, wherein the second file comprises a plurality of configuration items, each configuration item comprises at least one piece of configuration data, and the second file is different from the first file in file format;
the first deserializing module is configured to deserialize the second file to obtain a binary sequence of the configuration data;
and a file generation module configured to obtain a plurality of data blocks based on the serialized binary sequence, and generate a first file based on a set of data blocks, wherein each data block corresponds to one configuration item.
In one implementation manner of the embodiment of the present invention, the configuration data obtaining device further includes:
the system comprises a block information acquisition module, a first file and a second file, wherein the block information acquisition module is configured to determine block description information and offset information of each data block, the block description information is used for indicating a configuration item corresponding to the data block, and the offset information is used for indicating the position of the data block in the first file;
an index generation module configured to generate a block index based on the block description information and the offset information, and to generate a file index based on a set of the block indexes;
a header generation module configured to generate a header based on the set of block description information;
And a file information generation module configured to determine the file index and the file header as file information of the first file.
In one implementation of the embodiment of the present invention, the number of the first files is a plurality, and the data obtaining module 802 is further configured to:
the file determining module is configured to determine a target file header from all file headers loaded in the memory based on the data acquisition instruction, and determine a first file corresponding to the target file header as a target file;
a block index determination module configured to determine a target block index from file indexes of the target file based on the data acquisition instruction;
a target data acquisition module 802 configured to acquire target configuration data from a target file based on a target block index.
In one implementation of the embodiment of the present invention, the file generation module is further configured to:
the compression module is configured to compress the data blocks to obtain block compression packets;
and the compressed package combination module is configured to obtain a first file based on the set of the block compressed packages.
In one implementation of the embodiment of the present invention, the data acquisition module 802 is further configured to:
the compressed package acquisition module is configured to acquire a target block compressed package from the first file based on the target index;
And the decompression module is configured to decompress the target block compression packet to obtain target configuration data.
In one implementation manner of the embodiment of the present invention, the configuration data obtaining device further includes:
the first class calling module is configured to acquire the call of the file generation class, and generate a first code set, a second code set and a third code set based on the file generation class;
the first calling module is configured to call the first code set to deserialize the second file to obtain a binary sequence when the input file of the file generation class is the second file, and call the second code set to deserialize the binary sequence to obtain the first file;
and the second calling module is configured to call the third code set to acquire target configuration data from the first file based on the data acquisition instruction when the input file of the file generation class is the first file.
In one implementation manner of the embodiment of the present invention, the configuration data obtaining device further includes:
the second class calling module is configured to call a file management class based on a file to be processed, wherein the file to be processed is a first file or a second file;
and the third class calling module is configured to call the file to generate a class based on the file to be processed through the file management class.
In the configuration data acquisition device provided by the embodiment of the invention, a data acquisition instruction is acquired, and file information of a first file is loaded into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data; and determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index. Therefore, when the configuration data is acquired, only the data index is needed to be loaded in the memory, and only the target configuration data is needed to be acquired after the target index is determined, so that the space occupation of the memory is effectively reduced, and the acquisition efficiency of the configuration data is improved.
The above is an exemplary scheme of a configuration data acquisition device of the present embodiment. It should be noted that, the technical solution of the configuration data acquisition device and the technical solution of the configuration data acquisition method belong to the same concept, and details of the technical solution of the configuration data acquisition device, which are not described in detail, can be referred to the description of the technical solution of the configuration data acquisition method.
As shown in fig. 9, fig. 9 shows a block diagram of an electronic device 900 according to an embodiment of the invention. The components of the electronic device 900 include, but are not limited to, a memory 910 and a processor 920. Processor 920 is coupled to memory 910 via bus 930 with database 950 configured to hold data.
The electronic device 900 also includes an access device 940, the access device 940 enabling the electronic device 900 to communicate via one or more networks 960. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 940 may include one or more of any type of network interface, wired or wireless (e.g., a Network Interface Card (NIC)), such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the invention, the above-described components of the electronic device 900, as well as other components not shown in fig. 9, may also be connected to each other, for example, via a bus. It should be understood that the block diagram of the electronic device shown in fig. 9 is for exemplary purposes only and is not intended to limit the scope of the present invention. Those skilled in the art may add or replace other components as desired.
The electronic device 900 may be any type of stationary or mobile electronic device including a mobile computer or mobile electronic device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile telephone (e.g., smart phone), wearable electronic device (e.g., smart watch, smart glasses, etc.), or other type of mobile device, or a stationary electronic device such as a desktop computer or PC. The electronic device 900 may also be a mobile or stationary server.
Wherein the processor 920 is configured to execute computer-executable instructions of the object processing method.
The above is a schematic solution of an electronic device of the present embodiment. It should be noted that, the technical solution of the electronic device and the technical solution of the object processing method belong to the same concept, and details of the technical solution of the electronic device, which are not described in detail, can be referred to the description of the technical solution of the object processing method.
The embodiment of the invention also provides a storage medium, which is a computer readable storage medium, and the storage medium stores a computer program, and the computer program realizes the configuration data acquisition method when being executed by a processor.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The apparatus embodiments described above are merely illustrative, in which the elements illustrated as separate components may or may not be physically separate, implemented to reside in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and may include any information delivery media.
While the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the above embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit and scope of the present invention, and these equivalent modifications or substitutions are included in the scope of the present invention as defined in the appended claims.

Claims (13)

1. A configuration data acquisition method, comprising:
acquiring a data acquisition instruction, and loading file information of a first file into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data;
and determining a target index from the file information based on the data acquisition instruction, and acquiring target configuration data from the first file based on the target index.
2. The method of claim 1, wherein prior to the fetching of the data fetch instruction, the method further comprises:
obtaining a second file, wherein the second file comprises a plurality of configuration items, each configuration item comprises at least one piece of configuration data, and the second file is different from the first file in file format;
Deserializing the second file to obtain a binary sequence of the configuration data;
and obtaining a plurality of data blocks based on serializing the binary sequence, and generating the first file based on the set of data blocks, wherein each data block corresponds to one configuration item.
3. The method of claim 2, wherein after the generating the first file based on the set of data blocks, the method further comprises:
determining block description information and offset information of each data block, wherein the block description information is used for indicating the configuration item corresponding to the data block, and the offset information is used for indicating the position of the data block in the first file;
generating a block index based on the block description information and the offset information, and generating a file index based on a set of the block indexes;
generating a file header based on the set of block description information;
and determining the file index and the file header as the file information of the first file.
4. The method of claim 3, wherein the number of the first files is a plurality, wherein the determining a target index from the file information based on the data acquisition instruction, and the acquiring target configuration data from the first files based on the target index, comprises:
Determining a target file header from the file headers loaded in the memory based on the data acquisition instruction, and determining the first file corresponding to the target file header as a target file;
determining a target block index from the file indexes of the target file based on the data acquisition instruction;
and acquiring the target configuration data from the target file based on the target block index.
5. The method of claim 2, wherein the generating the first file based on the set of data blocks comprises:
compressing the data block to obtain a block compression packet;
and obtaining the first file based on the set of the block compression packets.
6. The method of claim 5, wherein the obtaining target configuration data from the first file based on the target index comprises:
acquiring a target block compression packet from the first file based on the target index;
decompressing the target block compression packet to obtain the target configuration data.
7. The method according to claim 2, wherein the method further comprises:
acquiring a call of a file generation class, and generating a first code set, a second code set and a third code set based on the file generation class;
When the input file of the file generation class is the second file, the first code set is called to deserialize the second file to obtain the binary sequence, and the second code set is called to deserialize the binary sequence to obtain the first file;
and when the input file of the file generation class is the first file, calling the third generation set to acquire the target configuration data from the first file based on the data acquisition instruction.
8. The method of claim 7, wherein prior to the invoking the file generation class, the method further comprises:
invoking a file management class based on a file to be processed, wherein the file to be processed is the first file or the second file;
and calling the file generation class based on the file to be processed through the file management class.
9. A code generation method, applied to a human-computer interaction device, the method comprising:
acquiring a calling code of a file generation class input by a user in a code editor;
and responding to a trigger button clicked by a user in a code editor, generating a first code set, a second code set and a third code set in a code area of the file generation class, wherein the first code set is used for deserializing a second file to obtain a binary sequence, the second code set is used for serializing the binary sequence to obtain a first file, the third code set is used for acquiring configuration data from the first file based on a data acquisition instruction, the first file and the second file are sets of the configuration data, and the file formats of the first file and the second file are different.
10. The method according to claim 9, wherein the method further comprises:
acquiring the data acquisition instruction input by a user, and calling the third code set to load file information of a first file into a memory, wherein the file information comprises a data index of the configuration data;
and determining a target index from the file information based on the data acquisition instruction, and acquiring and displaying target configuration data from the first file based on the target index.
11. A configuration data acquisition apparatus, comprising:
the loading module is configured to acquire a data acquisition instruction and load file information of a first file into a memory, wherein the first file comprises a set of configuration data, and the file information comprises a data index of the configuration data;
and the data acquisition module is configured to determine a target index from the file information based on the data acquisition instruction and acquire target configuration data from the first file based on the target index.
12. An electronic device comprising at least one control processor and a memory for communication connection with the at least one control processor; the memory stores instructions executable by the at least one control processor to enable the at least one control processor to perform the configuration data acquisition method of any one of claims 1 to 8.
13. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the configuration data acquisition method according to any one of claims 1 to 8.
CN202311280019.1A 2023-09-28 2023-09-28 Configuration data acquisition method, device, electronic equipment and storage medium Pending CN117251451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311280019.1A CN117251451A (en) 2023-09-28 2023-09-28 Configuration data acquisition method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311280019.1A CN117251451A (en) 2023-09-28 2023-09-28 Configuration data acquisition method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117251451A true CN117251451A (en) 2023-12-19

Family

ID=89136602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311280019.1A Pending CN117251451A (en) 2023-09-28 2023-09-28 Configuration data acquisition method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117251451A (en)

Similar Documents

Publication Publication Date Title
CN106570018B (en) Serialization and deserialization method, device and system and electronic equipment
CN106936441B (en) Data compression method and device
CN105846825A (en) Compression method, decompression method, compression device and decompresssion device
CN105027071A (en) Managing operations on stored data units
WO2021051532A1 (en) Data compression method, apparatus and device, and computer-readable storage medium
CN108628885A (en) A kind of method of data synchronization, device and storage device
CN110597461B (en) Data storage method, device and equipment in block chain type account book
CN102377688B (en) File transmission method and equipment
CN104133883B (en) Telephone number ownership place data compression method
US9479195B2 (en) Non-transitory computer-readable recording medium, compression method, decompression method, compression device, and decompression device
CN117251451A (en) Configuration data acquisition method, device, electronic equipment and storage medium
CN111078652A (en) Filing and compressing method and device for logistics box codes
US8463759B2 (en) Method and system for compressing data
CN105282206A (en) Method, device and system for processing website resource files
CN111414527A (en) Similar item query method and device and storage medium
CN112612830B (en) Method and system for exporting compressed data in batches and electronic equipment
WO2022021876A1 (en) Method and device for compressing finite-state transducers data
CN112579357B (en) Snapshot difference obtaining method, device, equipment and storage medium
US20130218851A1 (en) Storage system, data management device, method and program
CN113742529A (en) Multi-table front-end processing method and device
CN113641643A (en) File writing method and device
US10318483B2 (en) Control method and control device
US8346970B2 (en) Data relay device, data receiving device and communication system
US8788483B2 (en) Method and apparatus for searching in a memory-efficient manner for at least one query data element
CN102542013B (en) Realize the random access in the object in ZIP files

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