CN114221952A - Game resource packaging and releasing system and method, electronic equipment and storage medium - Google Patents

Game resource packaging and releasing system and method, electronic equipment and storage medium Download PDF

Info

Publication number
CN114221952A
CN114221952A CN202111352495.0A CN202111352495A CN114221952A CN 114221952 A CN114221952 A CN 114221952A CN 202111352495 A CN202111352495 A CN 202111352495A CN 114221952 A CN114221952 A CN 114221952A
Authority
CN
China
Prior art keywords
module
game data
secret key
key information
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.)
Granted
Application number
CN202111352495.0A
Other languages
Chinese (zh)
Other versions
CN114221952B (en
Inventor
郭贺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Electronic Soul Network Technology Co Ltd
Original Assignee
Hangzhou Electronic Soul 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 Hangzhou Electronic Soul Network Technology Co Ltd filed Critical Hangzhou Electronic Soul Network Technology Co Ltd
Priority to CN202111352495.0A priority Critical patent/CN114221952B/en
Publication of CN114221952A publication Critical patent/CN114221952A/en
Application granted granted Critical
Publication of CN114221952B publication Critical patent/CN114221952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The application relates to a game resource publishing system, wherein the system comprises: the system comprises a time checking module, an FTP module and an integrity checking module; the time checking module is used for acquiring standard time from the NTP service and calibrating the system time according to the standard time; the FTP module is used for acquiring game data from the local memory, packaging the game data and storing the game data into a packaging directory, wherein the game data comprise a service program and a configuration file, and the service program runs based on the configuration file; the integrity checking module is used for respectively carrying out information summary calculation on the game data in the FTP module and the game data in the local memory to respectively obtain first secret key information and second secret key information, judging whether the first secret key information is consistent with the second secret key information or not, and if yes, indicating the FTP module to store the game data in a publishing directory for publishing. Through the method and the device, the problems of low efficiency and poor accuracy of the game publishing method in the related technology are solved, and the publishing efficiency and the publishing safety are improved.

Description

Game resource packaging and releasing system and method, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a game resource packaging and publishing system, method, electronic device, and storage medium.
Background
In the game operation process, new game versions need to be frequently issued to the user terminal due to version change, BUG repair and the like.
In the related art, a technician is required to log in a server to manually perform copying, time verification, correctness verification, packaging verification, and the like of a new version file. The process is complicated in steps and requires the participation of multiple departments. In addition, due to the uncertainty of manual operation, errors can be generated by careless operation to cause version release errors.
At present, no effective solution is provided for the problems of low efficiency and poor accuracy of a game publishing method in the related technology.
Disclosure of Invention
The embodiment of the application provides a game resource packaging and issuing system, a game resource packaging and issuing method, a computer device and a computer readable storage medium, so as to at least solve the problems in the related art.
In a first aspect, an embodiment of the present application provides a game resource packaging and publishing system, where the system includes: the system comprises a time checking module, an FTP module and an integrity checking module;
the time checking module is used for acquiring standard time from NTP service and calibrating system time according to the standard time;
the FTP module is used for acquiring game data from a local memory, packaging the game data and storing the game data into a packaging directory, wherein the game data comprises a service program and a configuration file, and the service program runs based on the configuration file;
the integrity check module is used for respectively carrying out information summary calculation on the game data in the FTP module and the game data in the local memory to respectively obtain first secret key information and second secret key information, and,
and judging whether the first secret key information is consistent with the second secret key information or not, and if so, indicating the FTP module to store the game data to a publishing directory for publishing.
In some of these embodiments, the system further comprises a push module;
the pushing module is used for pushing the release ready information to the service server under the condition that the first secret key information is consistent with the second secret key information,
and under the condition that the first secret key information is inconsistent with the second secret key information, pushing verification failure information to the service server.
In some embodiments, the service server is configured to:
under the condition that the release ready information is received, the game data are obtained from a release directory of the FTP module;
and generating an installation address corresponding to the game data, and pushing the installation address to a service terminal.
In some of these embodiments, the system further comprises a compiling module to:
before the FTP module acquires the game data from the local storage, compiling a game source code to obtain the service program.
In some embodiments, the integrity check module performs the message digest calculation through a message digest algorithm, wherein the message digest algorithm is the MD5 algorithm.
In some of these embodiments, the integrity check module comprises: an information acquisition module, a filling module, a partitioning module, a circulation module and an output module, wherein,
the information acquisition module is used for respectively acquiring game data from the local storage and the FTP module;
the filling module is used for performing bit filling and length filling on the tail part of subdata in the game data and converting the subdata into a preset length;
the partitioning module is used for partitioning the filled subdata into a plurality of subdata groups;
the circular operation module is used for performing circular operation on the basis of the sub data set to obtain an MD5 operation result;
the output module is used for outputting the MD5 operation result, comparing the MD5 operation result of the game data in the local memory with the MD5 operation result of the game data in the FTP module, if the comparison result is consistent, the verification is successful, and if the comparison result is inconsistent, the verification is failed.
In a second aspect, an embodiment of the present application provides a method for packaging and publishing game resources, where the method includes:
acquiring standard time from NTP service through a time checking module, and calibrating system time according to the standard time;
after the system time is calibrated, obtaining game data from a local memory through an FTP module, packaging the game data and storing the game data to a packaging directory, wherein the game data comprises a service program and a configuration file, and the service program runs based on the configuration file;
respectively carrying out information abstract calculation on the game data in the FTP module and the game data in the local memory through an integrity check module to respectively obtain first secret key information and second secret key information,
and judging whether the first secret key information is consistent with the second secret key information or not, and if so, indicating the FTP module to store the game data to a release directory for release.
In some embodiments, after the FTP module stores the game data to a distribution directory for distribution, the method further comprises:
pushing release ready information to a service terminal under the condition that the first secret key information is consistent with the second secret key information,
and under the condition that the first secret key information is inconsistent with the second secret key information, pushing verification failure information to the service server.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor, when executing the computer program, implements the game resource issuing method according to the second aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the game resource distribution method according to the second aspect.
Compared with the related art, the game resource packaging and publishing method provided by the embodiment of the application obtains the standard time from the NTP service through the time verification module, and calibrates the system time according to the standard time; after system time is calibrated, game data are obtained from a local memory through an FTP module, and are packaged and stored in a packaging directory, wherein the game data comprise a service program and a configuration file, and the service program runs based on the configuration file; and respectively carrying out information summary calculation on the game data in the FTP module and the game data in the local memory through the integrity check module to respectively obtain first secret key information and second secret key information, judging whether the first secret key information is consistent with the second secret key information, and if so, indicating the FTP module to store the game data to a publishing directory for publishing. By the method and the device, the problems of low efficiency and poor accuracy of the game publishing method in the related technology are solved, and the game packaging publishing efficiency and safety are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of an application environment of a game resource publishing method according to an embodiment of the application;
FIG. 2 is a block diagram of a game distribution system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of length filling sub-data according to an embodiment of the present application;
FIG. 4 is a flow chart of a method of game package distribution according to an embodiment of the present application;
fig. 5 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The game resource packaging and issuing method provided by the application can be applied to the application environment shown in fig. 1, and fig. 1 is an application environment schematic diagram of the game resource packaging and issuing method according to the embodiment of the application. As shown in fig. 1, the terminal 10 and the server 11 communicate with each other via a network, and the server 11 may be an FTP (File Transfer Protocol) server built in each unit. Further, the server 11 may acquire game data from the terminal 10, and package and store the game data. Meanwhile, the game data on the terminal 10 and the game data on the server 11 are compared and verified through an information digest algorithm, and in the case that the verification result shows that the two are consistent, the server 11 copies the stored game data to a distribution directory for game distribution. By the method and the device, the operation steps in the game publishing process can be greatly simplified, the efficiency is improved, and the safety is improved. It should be noted that the terminal 10 in the embodiment of the present application may be a smart phone, a tablet computer, a desktop computer, a notebook computer, and the like, and the server 11 may be an FTP server built by an enterprise or a third-party cloud server.
An embodiment of the present application provides a game resource packaging and publishing system, fig. 2 is a block diagram of a structure of a game publishing system according to an embodiment of the present application, and as shown in fig. 2, the system includes: the system comprises a time checking module 20, an FTP module 21, an integrity checking module 22 and a pushing module 23;
the Time check module 20 is configured to obtain a standard Time from an NTP (Network Time Protocol) service, and calibrate the Time of the package issuing system according to the standard Time. The NTP service is a protocol for time synchronization of computers, and it can synchronize the computers with their servers, provide highly accurate time correction, and prevent malicious protocol attacks via encryption confirmation. In the embodiment of the application, NTP service provided by the national time service center of the Chinese academy of sciences is adopted, and the NTP service is maintained for a standard time. Optionally, the time check module 20 first sends a time service request to the NTP service, and then the NTP service returns the standard time to the time check module 20 after receiving the request, and further, the time check module 20 performs time calibration on the system based on the standard time.
It should be noted that, in the game release process, if the time is inaccurate, the online environment usage is abnormal, and when the problem occurs, the time of the problematic version cannot be accurately located, and meanwhile, it is also not beneficial to determine whether the online service has been updated. Therefore, in this embodiment, the standard time is acquired from the NTP service, and the system time is calibrated based on the standard time, so that the problem of an abnormal condition caused by inaccurate time can be reduced or avoided.
The FTP module 21 is configured to obtain game data from the local storage, package the game data, and store the game data in the package directory, where the game data includes a service program and a configuration file, and the service program runs based on the configuration file. It should be noted that an FTP Server (File Transfer Protocol Server) is a computer that provides File storage and access services on the internet, and provides services according to the FTP Protocol. The FTP module 21 may be deployed on a cloud storage server built by a company or an organization, or may be a public cloud storage server built by a third party, such as an ari cloud service, a hua cloud service, and the like.
In addition, it is understood that the game data is data for releasing an updated game version, and is composed of a service program and a configuration file, the service program refers to a binary file generated by compiling a source code, and the exe is a suffix, and the configuration file refers to a file which needs to be read for running the service program, such as a numerical value of a game item, contents of a task in a game, a fighting logic, and the like.
The integrity check module 22 is configured to perform information digest calculation on the game data in the FTP module 21 and the game data in the local storage, respectively obtain first secret key information and second secret key information, determine whether the first secret key information is consistent with the second secret key information, and if so, instruct the FTP module 21 to store the game data in the release directory for release.
In the embodiment, the information with any length can be processed by the information abstract algorithm and then the digital fingerprint corresponding to the information is output, and the information abstract algorithm obtains a unique output for one input; that is, if the two input information sources are the same, the output key information must be the same, whereas if the two input information sources are different, the output key information must be different. In this embodiment, if the calculation result of the local game data is inconsistent with the calculation of the game data on the FTP module 21, it means that an error occurs in the data transmission process, or the game data is changed.
Therefore, the calculation of the message digest and the further judgment of whether the result of the local calculation is consistent with the result of the FTP can be used for determining whether the game data uploaded to the FTP module 21 is consistent with the result of the local storage, and the accuracy of the game data for distribution can be ensured.
The pushing module 23 is configured to push the release ready information to the service server when the first secret key information is consistent with the second secret key information, and push the verification failure information to the service server when the first secret key information is inconsistent with the second secret key information.
In this embodiment, when the first secret key information is consistent with the second secret key information, it indicates that the game data in the FTP module 21 is the same as the game data in the local storage, that is, the game data is safe and accurate for distribution. In this case, the release ready information is pushed by the pushing module 23 to the business servers such as the testing department, the operation and maintenance department, and the public relations department. Correspondingly, when the first secret key information is inconsistent with the second secret key information, it indicates that the game data in the FTP module 21 is different from the game data in the local storage, and there may be a transmission error or a change.
Compared with the method for realizing the game packaging and releasing by manually executing the steps of copying, time checking, correctness checking, packaging checking and the like of the new version file in the related technology, the game packaging and releasing system provided by the embodiment can automatically complete the process, and simultaneously adopts a machine execution mode, so that the problems of file omission, file errors and the like caused by human negligence can be avoided, and the safety and the accuracy of the packaging process are improved. Through the system, developers do not need to participate in real time, and non-research and development personnel can also use the system to carry out the packaging process of the game data, so that the overall efficiency of enterprises or organizations can be improved.
In some embodiments, after the game data is transferred to the distribution directory and the distribution ready information is pushed, the game distribution process continues, the game data is obtained from the distribution directory of the FTP module 21 through the service server, the installation address corresponding to the game data is generated, and finally the installation address is pushed to the service terminal. The service terminal, i.e. the terminal of each game player, may be a smart phone, a tablet computer, a PC computer, or the like.
In some embodiments, the game packaging and publishing system further includes a compiling module 24, and before the FTP module 21 obtains the game data from the local storage, the compiling module 24 is further used to compile game source codes designed by developers in a high-level language (such as Python, C + +, java, and the like) to obtain the service program in the binary machine language. The compiling process may use some common compilers, such as numba, Visual C + +, Borland C + +, and the like. Through the compiling module 24 provided by this embodiment, the game source code can be compiled into an object program that can be directly run by the electronic device for distribution, and the packing efficiency of the game data can be better improved.
In some embodiments, the integrity check module 22 performs the Message Digest calculation through a Message Digest Algorithm, which is an MD5(MD5 Message-Digest Algorithm) that is a widely used cryptographic hash function that generates a 128-bit (16-byte) hash value, which can be used to ensure the integrity of the Message transmission due to the uniqueness of the MD5 Algorithm with respect to the calculation of the original data.
In some of these embodiments, the integrity check module 22 includes: an information acquisition module 220, a filling module 221, a blocking module 222, a circulation module 223 and an output module 224, wherein the information acquisition module 220 is used for acquiring game data from the local storage and the FTP module 21, respectively. The filling module 221 is configured to perform bit padding and length filling on the tail of the sub-data in the game data, and convert the sub-data into a preset length; FIG. 3 is a schematic diagram of padding sub-data to length according to an embodiment of the present application, and as shown in FIG. 3, padding original data to be an integer multiple of 512 bits; the block partitioning module 222 is configured to partition the filled sub data into a plurality of sub data groups, that is, each 512 bits is used as a sub data group. And the loop operation module is used for performing loop operation on the basis of the sub-data groups, inputting the MD5 result obtained by the previous group as the state of the next group, sequentially looping, and obtaining the MD5 operation result after the loop is finished. Further, the output module 224 is configured to output the MD5 operation result, and compare the MD5 operation result of the game data in the local memory with the MD5 operation result of the game data in the FTP module 21, where if the comparison result is consistent, the verification is successful, and if the comparison result is not consistent, the verification is failed.
An embodiment of the present application further provides a method for packaging and issuing a game, fig. 4 is a flowchart of the method for packaging and issuing a game according to the embodiment of the present application, and as shown in fig. 4, the flowchart includes the following steps:
s401, acquiring standard time from NTP service through a time checking module, and calibrating system time according to the standard time;
s402, after system time is calibrated, obtaining game data from a local memory through an FTP module, packaging the game data and storing the game data into a packaging directory, wherein the game data comprise a service program and a configuration file, and the service program runs based on the configuration file;
and S403, respectively performing information summary calculation on the game data in the FTP module and the game data in the local memory through the integrity check module to respectively obtain first secret key information and second secret key information, judging whether the first secret key information is consistent with the second secret key information, and if so, indicating the FTP module to store the game data in a release directory for release.
Through the steps S401 to S403, compared with the method for realizing the game packaging and publishing by manually executing the steps of copying, time checking, correctness checking, packaging checking and the like of the new version file in the related technology, the game packaging and publishing method provided by the application can automatically complete the process, and meanwhile, the problems of file omission, file errors and the like caused by human negligence can be avoided by adopting a machine execution mode, so that the safety and the accuracy of the packaging process are improved. By the method, developers do not need to participate in real time, and non-research and development personnel can also carry out the packaging process of the game data through the system, so that the overall efficiency of enterprises or organizations can be improved.
In some embodiments, after the TP module stores the game data to the distribution directory for distribution, the method further comprises: and under the condition that the first secret key information is consistent with the second secret key information, pushing the release ready information to the service terminal, and under the condition that the first secret key information is inconsistent with the second secret key information, pushing the verification failure information to the service server.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for packaging and distributing game resources. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, fig. 5 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, and as shown in fig. 5, an electronic device is provided, where the electronic device may be a server, and the internal structure diagram may be as shown in fig. 5. The electronic device comprises a processor, a network interface, an internal memory and a non-volatile memory connected by an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used for providing calculation and control capability, the network interface is used for communicating with an external terminal through network connection, the internal memory is used for providing an environment for an operating system and the running of a computer program, the computer program is executed by the processor to realize a game resource packaging and issuing method, and the database is used for storing data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A game resource packaging and publishing system, the system comprising: the system comprises a time checking module, an FTP module and an integrity checking module;
the time checking module is used for acquiring standard time from NTP service and calibrating system time according to the standard time;
the FTP module is used for acquiring game data from a local memory, packaging the game data and storing the game data into a packaging directory, wherein the game data comprises a service program and a configuration file, and the service program runs based on the configuration file;
the integrity check module is used for respectively carrying out information summary calculation on the game data in the FTP module and the game data in the local memory to respectively obtain first secret key information and second secret key information, and,
and judging whether the first secret key information is consistent with the second secret key information or not, and if so, indicating the FTP module to store the game data to a publishing directory for publishing.
2. The system of claim 1, further comprising a push module;
the pushing module is used for pushing the release ready information to the service server under the condition that the first secret key information is consistent with the second secret key information,
and under the condition that the first secret key information is inconsistent with the second secret key information, pushing verification failure information to the service server.
3. The system of claim 2, wherein the service server is configured to:
under the condition that the release ready information is received, the game data are obtained from a release directory of the FTP module;
and generating an installation address corresponding to the game data, and pushing the installation address to a service terminal.
4. The system of claim 1, further comprising a compiling module configured to:
before the FTP module acquires the game data from the local storage, compiling a game source code to obtain the service program.
5. The system of claim 1, wherein the integrity check module performs the message digest calculation using a message digest algorithm, wherein the message digest algorithm is the MD5 algorithm.
6. The system of claim 5, wherein the integrity check module comprises: an information acquisition module, a filling module, a partitioning module, a circulation module and an output module, wherein,
the information acquisition module is used for respectively acquiring game data from the local storage and the FTP module;
the filling module is used for performing bit filling and length filling on the tail part of subdata in the game data and converting the subdata into a preset length;
the partitioning module is used for partitioning the filled subdata into a plurality of subdata groups;
the circular operation module is used for performing circular operation on the basis of the sub data set to obtain an MD5 operation result;
the output module is used for outputting the MD5 operation result, comparing the MD5 operation result of the game data in the local memory with the MD5 operation result of the game data in the FTP module, if the comparison result is consistent, the verification is successful, and if the comparison result is inconsistent, the verification is failed.
7. A game resource packaging and publishing method is characterized by comprising the following steps:
acquiring standard time from NTP service through a time checking module, and calibrating system time according to the standard time;
after the system time is calibrated, obtaining game data from a local memory through an FTP module, packaging the game data and storing the game data to a packaging directory, wherein the game data comprises a service program and a configuration file, and the service program runs based on the configuration file;
respectively carrying out information abstract calculation on the game data in the FTP module and the game data in the local memory through an integrity check module to respectively obtain first secret key information and second secret key information,
and judging whether the first secret key information is consistent with the second secret key information or not, and if so, indicating the FTP module to store the game data to a release directory for release.
8. The method of claim 7, wherein after the FTP module stores the game data to a publication directory for publication, the method further comprises:
pushing release ready information to a service terminal under the condition that the first secret key information is consistent with the second secret key information,
and under the condition that the first secret key information is inconsistent with the second secret key information, pushing verification failure information to the service server.
9. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the game resource package issuing method according to any one of claims 7 to 8 when executing the computer program.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the game resource package issuing method according to any one of claims 7 to 8.
CN202111352495.0A 2021-11-16 2021-11-16 Game resource packaging and publishing system, method, electronic equipment and storage medium Active CN114221952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111352495.0A CN114221952B (en) 2021-11-16 2021-11-16 Game resource packaging and publishing system, method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111352495.0A CN114221952B (en) 2021-11-16 2021-11-16 Game resource packaging and publishing system, method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114221952A true CN114221952A (en) 2022-03-22
CN114221952B CN114221952B (en) 2024-10-01

Family

ID=80697233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111352495.0A Active CN114221952B (en) 2021-11-16 2021-11-16 Game resource packaging and publishing system, method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114221952B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039233A (en) * 2007-04-27 2007-09-19 成都金山互动娱乐科技有限公司 Method for updating edition of network games server software
CN108325209A (en) * 2018-04-02 2018-07-27 赖进九 A kind of game Voice Over extension system and its operating method
CN109413200A (en) * 2018-11-26 2019-03-01 Oppo(重庆)智能科技有限公司 A kind of method, client, MES and electronic equipment that resource imports
CN113094076A (en) * 2021-03-16 2021-07-09 杭州电魂网络科技股份有限公司 Version iteration method, device, equipment and medium based on version control
CN113434197A (en) * 2021-06-30 2021-09-24 完美世界征奇(上海)多媒体科技有限公司 Resource publishing method and device, computer equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039233A (en) * 2007-04-27 2007-09-19 成都金山互动娱乐科技有限公司 Method for updating edition of network games server software
CN108325209A (en) * 2018-04-02 2018-07-27 赖进九 A kind of game Voice Over extension system and its operating method
CN109413200A (en) * 2018-11-26 2019-03-01 Oppo(重庆)智能科技有限公司 A kind of method, client, MES and electronic equipment that resource imports
CN113094076A (en) * 2021-03-16 2021-07-09 杭州电魂网络科技股份有限公司 Version iteration method, device, equipment and medium based on version control
CN113434197A (en) * 2021-06-30 2021-09-24 完美世界征奇(上海)多媒体科技有限公司 Resource publishing method and device, computer equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贺鹏: "《计算机网络时间同步原理与应用》", 31 March 2021, 华中科技大学出版社, pages: 153 - 164 *

Also Published As

Publication number Publication date
CN114221952B (en) 2024-10-01

Similar Documents

Publication Publication Date Title
RU2759331C2 (en) Unsealing data with sealing enclave
RU2759302C2 (en) Cross-platform enclave identification information
CN110214324B (en) Key store enclosure
RU2762141C2 (en) Abstract enclave identification
AU2010364976B2 (en) Repairing corrupt software
CN110214323B (en) Surrounding area abstract model
CN105320535B (en) A kind of method of calibration of installation kit, client, server and system
WO2021228143A1 (en) Mini program startup method, signature method and apparatus, server and medium
CN113468535B (en) Trusted measurement method and related device
US12067122B2 (en) Detecting added functionality in open source package
WO2019085350A1 (en) Method and device for generating identifier, computer device, and storage medium
Chong et al. Code‐level model checking in the software development workflow at Amazon web services
EP3574433A1 (en) Nested enclave identity
CN114546837A (en) Interface test method, device, equipment and storage medium
US20220045866A1 (en) Method and system for authentication seal deployment in networked immutable transactions
CN114911522A (en) Software version release system, method, device and readable storage medium
CN111698227A (en) Information synchronization management method, device, computer system and readable storage medium
CN112637307B (en) File updating method, system, computer equipment and storage medium
CN112199441B (en) Data synchronous processing method, device, equipment and medium based on big data platform
CN114221952A (en) Game resource packaging and releasing system and method, electronic equipment and storage medium
CN114547653B (en) Encryption method, decryption method, device, equipment and medium for development environment
CN113590994A (en) Data processing method, data processing device, computer equipment and storage medium
CN112163224A (en) Android software integrity verification method and device
Detken et al. Software-design for internal security checks with dynamic integrity measurement (DIM)
CN108259490B (en) Client verification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant